lean2/tests/lean/run/tactic5.lean
Leonardo de Moura b2b76b078f feat(frontends/lean): remove build_tactic_cmds, and use expressions for representing tactics
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-01 20:43:53 -07:00

8 lines
No EOL
162 B
Text

import standard
definition id {A : Type} (a : A) := a
theorem tst {A B : Bool} (H1 : A) (H2 : B) : id A
:= by !(unfold_tac @id; state_tac); exact_tac
check tst