yarrow
sessions
. This file is best
displayed with a text editor, so you can drag commands to the shell
windows and you don't have to type them yourself.
sessions/example/exam.ys
in the
text editor and drag the first line to Yarrow. You will see
> prove silly : @P:*.P->P -------------------------------------------------- @P:*. P->P $Dragging the next line to Yarrow will result in
$ intros then assumption Goal proved! $And the last line will give
$ exit prove silly : @P:*. P->P intros then assumption exit silly := .. : @P:*. P->P >
Sometimes you will drag multiple lines to Yarrow which may result in the input and output not to be interleaved correctly. Blame your windows system for this.
When you start working on your own proofs in Yarrow, you typically work in the same way, with one window containing Yarrow and one containing a text editor with the session you are working on. Then the text is dragged in the other direction, from the Yarrow window to the editor window. This works easy because after the end of a proof, Yarrow gives a summary of all the commands that were used.