lean2/tests/lean/run/tactic3.lean
Leonardo de Moura 6d09d82a7c feat(frontends/lean): add notation for orelse tactic, add show and now tactics
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-29 11:39:18 -07:00

6 lines
171 B
Text

import logic
theorem tst {A B : Bool} (H1 : A) (H2 : B) : A
:= by [echo "first try", show, now |
echo "second try", fail |
echo "third try", exact]