| max(x3 + a0 ' + x) = max((a0 ' + x) + x3), ∀ x1, x2. # x1 + # x2 < #(a + x3) + #(a0 + x) → true → x1 + x2 = [] ∨ max(x1 + x2) = max(x2 + x1) ⊦ (max((a0 ' + x) + x3) < a ⊃ a;max((a0 ' + x) + x3)) = (max(x + a ' + x3) < a0 ⊃ a0;max(x + a ' + x3)) |
x + (a + x3) = [] ∨ max(x + (a + x3)) = max((a + x3) + x), max(x3 + a0 ' + x) = max((a0 ' + x) + x3), ∀ x1, x2. # x1 + # x2 < #(a + x3) + #(a0 + x) → true → x1 + x2 = [] ∨ max(x1 + x2) = max(x2 + x1) ⊦ (max((a0 ' + x) + x3) < a ⊃ a;max((a0 ' + x) + x3)) = (max(x + a ' + x3) < a0 ⊃ a0;max(x + a ' + x3))
Used simplifier rules: c: ⊦ a + x = a ' + x; from specification list%len-05: ⊦ #(a ' + x) = (# x)+1; from specification list%succ: ⊦ m +1 = m + 1; from specification nat-basic2%a: ⊦ (x + y) + z = x + y + z; from specification list%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%l: ⊦ m + n < m + n0 ↔ n < n0; from specification nat-basic2 Used terms: x, a + x3