lean2/tests/lean/run/tactic5.lean
2015-11-20 16:46:10 -08:00

9 lines
180 B
Text

import logic
open tactic (renaming id->id_tac)
infixl `;`:15 := tactic.and_then
theorem tst {A B : Prop} (H1 : A) (H2 : B) : id A
:= by (unfold id; state); assumption
check tst