lean4-htt/tests/lean/run/tactic29.lean
2016-06-10 18:29:41 -07:00

20 lines
336 B
Text

exit
import logic
open tactic
section
set_option pp.universes true
set_option pp.implicit true
variable {A : Type}
variables {a b : A}
variable H : a = b
variables H1 H2 : b = a
check H1
check H
check H2
include H
theorem test : a = b ∧ a = a
:= by apply and.intro; apply H; apply eq.refl
end
check @test