fix(tests/lean): adjust tests

This commit is contained in:
Leonardo de Moura 2015-11-22 17:15:28 -08:00
parent a0284b0e82
commit 989a2e077b
2 changed files with 5 additions and 1 deletions

View file

@ -17,7 +17,7 @@ true_ne_false|¬true = false
nat.lt_self_iff_false|∀ (n : ), n < n ↔ false nat.lt_self_iff_false|∀ (n : ), n < n ↔ false
iff_false|∀ (a : Prop), a ↔ false ↔ ¬a iff_false|∀ (a : Prop), a ↔ false ↔ ¬a
true_iff_false|true ↔ false ↔ false true_iff_false|true ↔ false ↔ false
ne_self_iff_false|∀ (a : ?A), a ≠ a ↔ false ne_self_iff_false|∀ (a : ?A), ¬a = a ↔ false
not_of_is_false|is_false ?c → ¬?c not_of_is_false|is_false ?c → ¬?c
or_false|∀ (a : Prop), a false ↔ a or_false|∀ (a : Prop), a false ↔ a
not_of_iff_false|(?a ↔ false) → ¬?a not_of_iff_false|(?a ↔ false) → ¬?a

View file

@ -6,6 +6,7 @@ simplification rules for iff
#1, ?M_1 ↔ true ↦ ?M_1 #1, ?M_1 ↔ true ↦ ?M_1
#0, false ↔ true ↦ false #0, false ↔ true ↦ false
#0, true ↔ false ↦ false #0, true ↔ false ↦ false
#1, ¬?M_1 ↔ ?M_1 ↦ false
#1, ?M_1 ↔ ¬?M_1 ↦ false #1, ?M_1 ↔ ¬?M_1 ↦ false
#2, ?M_1 - ?M_2 ≤ ?M_1 ↦ true #2, ?M_1 - ?M_2 ≤ ?M_1 ↦ true
#1, 0 ≤ ?M_1 ↦ true #1, 0 ≤ ?M_1 ↦ true
@ -13,6 +14,8 @@ simplification rules for iff
#1, pred ?M_1 ≤ ?M_1 ↦ true #1, pred ?M_1 ≤ ?M_1 ↦ true
#1, ?M_1 ≤ succ ?M_1 ↦ true #1, ?M_1 ≤ succ ?M_1 ↦ true
#1, ?M_1 ∧ ?M_1 ↦ ?M_1 #1, ?M_1 ∧ ?M_1 ↦ ?M_1
#1, ?M_1 ∧ ¬?M_1 ↦ false
#1, ¬?M_1 ∧ ?M_1 ↦ false
#1, false ∧ ?M_1 ↦ false #1, false ∧ ?M_1 ↦ false
#1, ?M_1 ∧ false ↦ false #1, ?M_1 ∧ false ↦ false
#1, true ∧ ?M_1 ↦ ?M_1 #1, true ∧ ?M_1 ↦ ?M_1
@ -34,6 +37,7 @@ simplification rules for iff
#3, (?M_1 ?M_2) ?M_3 ↦ ?M_1 ?M_2 ?M_3 #3, (?M_1 ?M_2) ?M_3 ↦ ?M_1 ?M_2 ?M_3
#2 perm, ?M_1 ?M_2 ↦ ?M_2 ?M_1 #2 perm, ?M_1 ?M_2 ↦ ?M_2 ?M_1
#2, ?M_2 = ?M_2 ↦ true #2, ?M_2 = ?M_2 ↦ true
#2, ¬?M_2 = ?M_2 ↦ false
#0, ¬false ↦ true #0, ¬false ↦ true
#0, ¬true ↦ false #0, ¬true ↦ false
simplification rules for eq simplification rules for eq