| sort(x1 + a ' + x0) = sort(x1 + x0) + a ' ⊦ a0 = a, ins≤(a0, sort(x1 + x0) + a ') = ins≤(a0, sort(x1 + x0)) + a ', a < max((a0 ' + x1) + x0), a < max(x1 + x0) |
⊦ x ≠ [] → max(a ' + x) = (max(x) < a ⊃ a;max(x))
x1 + x0 ≠ [], sort(x1 + a ' + x0) = sort(x1 + x0) + a ' ⊦ a0 = a, ins≤(a0, sort(x1 + x0) + a ') = ins≤(a0, sort(x1 + x0)) + a ', a < (max(x1 + x0) < a0 ⊃ a0;max(x1 + x0)), a < max(x1 + x0)
Used simplifier rules: max-base: ⊦ max(a ') = a;%app-02-ant: ⊦ ¬ x + y ≠ [] ↔ x = [] ∧ y = []; from specification list%Nil: ⊦ [] + x = x; from specification list%app: ⊦ x + [] = x; from specification list%one: ⊦ sort(a ') = a '; from specification olist-sort%empty: ⊦ sort([]) = []; from specification olist-sort%c-04: ⊦ a ' = b ' ↔ a = b; from specification list%ins-e: ⊦ ins≤(a, []) = a '; from specification olist%sls: ⊦ a ≠ b → (¬ a < b ↔ b < a); from specification oelem%ins-one-02: ⊦ a < b → ins≤(a, b ') = a ' + b '; from specification olist%app-08: ⊦ a ' + x = a ' + y ↔ x = y; from specification list%a: ⊦ (x + y) + z = x + y + z; from specification list Used terms: x1 + x0, a0