lean2/tests/lean/tactic3.lean
Leonardo de Moura 9f08156a73 feat(frontends/lean/parser): combine Echo and Show commands into the 'print' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-05 11:03:35 -08:00

9 lines
No EOL
264 B
Text

(* import("tactic.lua") *)
Variables p q r : Bool
Theorem T1 : p => p /\ q => r => q /\ r /\ p := _.
(* Repeat(OrElse(imp_tac(), conj_tac(), conj_hyp_tac(), assumption_tac())) *)
done
-- Display proof term generated by previous tactic
print Environment 1