9f08156a73
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
15 lines
No EOL
360 B
Text
15 lines
No EOL
360 B
Text
(* import("tactic.lua") *)
|
|
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).
|
|
apply ForallIntro.
|
|
beta.
|
|
apply ForallIntro.
|
|
beta.
|
|
apply ForallIntro.
|
|
beta.
|
|
apply Discharge.
|
|
apply Discharge.
|
|
apply Discharge.
|
|
apply (Subst (Subst H H::1) H::2)
|
|
done.
|
|
|
|
print Environment 1. |