lean2/tests/lean/simp16.lean.expected.out
Leonardo de Moura 180be5c4a2 feat(library/simplifier): improve contextual simplifications
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-23 13:11:58 -08:00

17 lines
761 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Set: pp::colors
Set: pp::unicode
Assumed: a
Assumed: b
Assumed: c
a = 1 ∧ (¬ b = 0 c ≠ 0)
and_congr
(refl (a = 1))
(λ C::1 : a = 1,
trans (or_congr (or_congr (refl (¬ b = 0)) (λ C::2 : ¬ ¬ b = 0, congr2 (neq c) (not_not_elim C::2)))
(λ C::2 : ¬ (¬ b = 0 c ≠ 0),
congr (congr2 Nat::gt
(congr (congr2 Nat::add (not_not_elim (and_eliml (not_or_elim C::2))))
(not_neq_elim (and_elimr (not_or_elim C::2)))))
C::1))
(or_falsel (¬ b = 0 c ≠ 0)))
a = 1 ∧ ((¬ b = 0 c ≠ b) b + c > a) ↔ a = 1 ∧ (¬ b = 0 c ≠ 0)