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
|
2014-11-21 18:07:16 +00:00
|
|
|
include H
|
2014-07-14 05:27:36 +00:00
|
|
|
theorem test : a = b ∧ a = a
|
2014-10-23 01:11:09 +00:00
|
|
|
:= by apply and.intro; apply H; apply eq.refl
|
2014-07-14 05:27:36 +00:00
|
|
|
end
|
|
|
|
|
2014-09-03 23:00:38 +00:00
|
|
|
check @test
|