lean2/tests/lean/run/tactic5.lean
Leonardo de Moura 5eaf04518b refactor(*): rename Bool to Prop
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-22 09:43:18 -07:00

9 lines
No EOL
190 B
Text

import standard
using tactic (renaming id->id_tac)
definition id {A : Type} (a : A) := a
theorem tst {A B : Prop} (H1 : A) (H2 : B) : id A
:= by !(unfold @id; state); assumption
check tst