lean2/tests/lean/run/tactic4.lean

13 lines
229 B
Text
Raw Normal View History

import standard
using tactic (renaming id->id_tac)
definition id {A : Type} (a : A) := a
definition simple {A : Bool} : tactic
:= unfold @id.{1}; exact
theorem tst {A B : Bool} (H1 : A) (H2 : B) : id A
:= by simple
check tst