935c2a03a3
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
15 lines
583 B
Text
15 lines
583 B
Text
Set: pp::colors
|
|
Set: pp::unicode
|
|
Proved: T
|
|
theorem T (A : Type) (p : A → Bool) (f : A → A → A) : ∀ x y z : A,
|
|
p (f x x) ⇒ x = y ⇒ x = z ⇒ p (f y z) :=
|
|
forall::intro
|
|
(λ x : A,
|
|
forall::intro
|
|
(λ x::1 : A,
|
|
forall::intro
|
|
(λ x::2 : A,
|
|
discharge
|
|
(λ H : p (f x x),
|
|
discharge
|
|
(λ H::1 : x = x::1, discharge (λ H::2 : x = x::2, subst (subst H H::1) H::2))))))
|