2014-08-25 02:58:48 +00:00
|
|
|
import logic
|
2014-09-03 23:00:38 +00:00
|
|
|
open tactic
|
2014-07-14 05:27:36 +00:00
|
|
|
|
|
|
|
section
|
|
|
|
set_option pp.universes true
|
|
|
|
set_option pp.implicit true
|
2014-10-09 14:13:06 +00:00
|
|
|
variable {A : Type}
|
|
|
|
variables {a b : A}
|
|
|
|
variable H : a = b
|
|
|
|
variables H1 H2 : b = a
|
2014-07-14 05:27:36 +00:00
|
|
|
check H1
|
|
|
|
check H
|
|
|
|
check H2
|
|
|
|
theorem test : a = b ∧ a = a
|
2014-10-15 00:12:57 +00:00
|
|
|
:= by apply and.intro; apply eq.refl; apply H
|
2014-07-14 05:27:36 +00:00
|
|
|
end
|
|
|
|
|
2014-09-03 23:00:38 +00:00
|
|
|
check @test
|