2015-07-22 17:39:30 +00:00
|
|
|
|
simplification rules for iff
|
2015-11-21 01:03:17 +00:00
|
|
|
|
#1, ?M_1 ↔ ?M_1 ↦ true
|
|
|
|
|
#1, false ↔ ?M_1 ↦ ¬?M_1
|
|
|
|
|
#1, ?M_1 ↔ false ↦ ¬?M_1
|
|
|
|
|
#1, true ↔ ?M_1 ↦ ?M_1
|
|
|
|
|
#1, ?M_1 ↔ true ↦ ?M_1
|
|
|
|
|
#0, false ↔ true ↦ false
|
|
|
|
|
#0, true ↔ false ↦ false
|
|
|
|
|
#1, ?M_1 ↔ ¬?M_1 ↦ false
|
2015-07-14 01:46:09 +00:00
|
|
|
|
#2, ?M_1 - ?M_2 ≤ ?M_1 ↦ true
|
|
|
|
|
#1, 0 ≤ ?M_1 ↦ true
|
|
|
|
|
#1, succ ?M_1 ≤ ?M_1 ↦ false
|
|
|
|
|
#1, pred ?M_1 ≤ ?M_1 ↦ true
|
|
|
|
|
#1, ?M_1 ≤ succ ?M_1 ↦ true
|
2015-11-21 01:03:17 +00:00
|
|
|
|
#1, ?M_1 ∧ ?M_1 ↦ ?M_1
|
|
|
|
|
#1, false ∧ ?M_1 ↦ false
|
|
|
|
|
#1, ?M_1 ∧ false ↦ false
|
|
|
|
|
#1, true ∧ ?M_1 ↦ ?M_1
|
|
|
|
|
#1, ?M_1 ∧ true ↦ ?M_1
|
|
|
|
|
#3 perm, ?M_1 ∧ ?M_2 ∧ ?M_3 ↦ ?M_2 ∧ ?M_1 ∧ ?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, ?M_2 == ?M_2 ↦ true
|
2015-10-13 23:28:11 +00:00
|
|
|
|
#2, ?M_1 - ?M_2 < succ ?M_1 ↦ true
|
|
|
|
|
#1, ?M_1 < 0 ↦ false
|
|
|
|
|
#1, ?M_1 < succ ?M_1 ↦ true
|
|
|
|
|
#1, 0 < succ ?M_1 ↦ true
|
2015-11-21 01:03:17 +00:00
|
|
|
|
#1, ?M_1 ∨ ?M_1 ↦ ?M_1
|
|
|
|
|
#1, false ∨ ?M_1 ↦ ?M_1
|
|
|
|
|
#1, ?M_1 ∨ false ↦ ?M_1
|
|
|
|
|
#1, true ∨ ?M_1 ↦ true
|
|
|
|
|
#1, ?M_1 ∨ true ↦ true
|
|
|
|
|
#3 perm, ?M_1 ∨ ?M_2 ∨ ?M_3 ↦ ?M_2 ∨ ?M_1 ∨ ?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, ?M_2 = ?M_2 ↦ true
|
|
|
|
|
#0, ¬false ↦ true
|
|
|
|
|
#0, ¬true ↦ false
|
2015-07-22 17:39:30 +00:00
|
|
|
|
simplification rules for eq
|
2015-06-02 01:07:31 +00:00
|
|
|
|
#1, g ?M_1 ↦ f ?M_1 + 1
|
2015-11-07 23:41:06 +00:00
|
|
|
|
#2, g ?M_3 ↦ 1
|
2015-06-02 01:07:31 +00:00
|
|
|
|
#2, f ?M_1 ↦ 0
|
2015-11-21 01:03:17 +00:00
|
|
|
|
#3, ite false ?M_2 ?M_3 ↦ ?M_3
|
|
|
|
|
#3, ite true ?M_2 ?M_3 ↦ ?M_2
|
2015-10-13 23:28:11 +00:00
|
|
|
|
#4, ite ?M_1 ?M_4 ?M_4 ↦ ?M_4
|
2015-07-14 01:46:09 +00:00
|
|
|
|
#1, 0 - ?M_1 ↦ 0
|
|
|
|
|
#2, succ ?M_1 - succ ?M_2 ↦ ?M_1 - ?M_2
|