2014-01-05 18:32:47 +00:00
|
|
|
(* import("tactic.lua") *)
|
2014-01-05 20:05:08 +00:00
|
|
|
theorem T (A : Type) (p : A -> Bool) (f : A -> A -> A) : forall x y z, p (f x x) => x = y => x = z => p (f y z).
|
2014-01-06 03:10:21 +00:00
|
|
|
apply forall::intro.
|
2013-12-26 23:54:53 +00:00
|
|
|
beta.
|
2014-01-06 03:10:21 +00:00
|
|
|
apply forall::intro.
|
2013-12-26 23:54:53 +00:00
|
|
|
beta.
|
2014-01-06 03:10:21 +00:00
|
|
|
apply forall::intro.
|
2013-12-26 23:54:53 +00:00
|
|
|
beta.
|
2014-01-06 03:10:21 +00:00
|
|
|
apply discharge.
|
|
|
|
apply discharge.
|
|
|
|
apply discharge.
|
|
|
|
apply (subst (subst H H::1) H::2)
|
2013-12-25 19:51:27 +00:00
|
|
|
done.
|
|
|
|
|
2014-01-05 20:05:08 +00:00
|
|
|
print environment 1.
|