| ⊦ #r mx1 = #r mx2 ∧ #c mx1 = #c mx2 → mx1 + mx2 = mx2 + mx1 |
#c mx1 = #c mx2, #r mx1 = #r mx2, mx1 + mx2 ≠ mx2 + mx1 ⊦
| #c mx1 = #c mx2, #r mx1 = #r mx2, mx1 + mx2 ≠ mx2 + mx1 ⊦ |
⊦ mx1 = mx2 ↔ #r mx1 = #r mx2 ∧ #c mx1 = #c mx2 ∧ (∀ r, c. r < #r mx1 ∧ c < #c mx1 → mx1[r, c] = mx2[r, c])
Used simplifier rules: addmx-rowno: ⊦ #r(mx1 + mx2) = #r mx1; addmx-colno: ⊦ #c(mx1 + mx2) = #c mx1; addmx-get: ⊦ r < #r mx1 ∧ c < #c mx1 → (mx1 + mx2)[r, c] = mx1[r, c] + mx2[r, c]; f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic lf-01: ⊦ m < n ∧ n = n0 → m < n0; (forward) from specification nat-basic ⊦ m < n → n ≠ 0; (s) addcom: ⊦ a + b = b + a; from specification ring Used terms: mx1 + mx2, mx2 + mx1
| ⊦ mx1 = mx2 ↔ #r mx1 = #r mx2 ∧ #c mx1 = #c mx2 ∧ (∀ r, c. r < #r mx1 ∧ c < #c mx1 → mx1[r, c] = mx2[r, c]) |
The following image shows the proof tree of sequent calculus. The proved goal is at the bottom. You can click on the nodes to view additional rules. See here for details on colors in a proof tree.