| 〈build_rec#(i + 1; x, to3)〉 (x = x2 ∧ to3 = fail), ∀ j0, i0, x, x0, to. i→n(j0 - i0) < i→n(i1) → (x = x0 ∧ x0 ≠ [] ∧ i0 ≤ j0 ∧ max(x0) ≤ j0 → 〈build_rec#(i0; x, to)〉 (to = fail → (∀ t, x1. x0 ≠ depths(t, i0) + x1))), to3 = fail, d ' + y = depths(t, i) + x1, x = depths(t, i) + x1, d ∈ depths(t, i), 0 ≤ i1, i < d, max(depths(t, i) + x1) ≤ i1 + i, ∀ t, x. d ' + y ≠ depths(t, i + 1) + x, t = Node(t0, t1) ⊦ |
〈build_rec#(i + 1; x, to3)〉 (x = x2 ∧ to3 = fail), ∀ j0, i0, x, x0, to. i→n(j0 - i0) < i→n(i1) → (x = x0 ∧ x0 ≠ [] ∧ i0 ≤ j0 ∧ max(x0) ≤ j0 → 〈build_rec#(i0; x, to)〉 (to = fail → (∀ t, x1. x0 ≠ depths(t, i0) + x1))), x = d ' + y, d ' + y = (depths(t0, i + 1) + depths(t1, i + 1)) + x1, to3 = fail, d ∈ depths(t0, i + 1), max(d ' + y) ≤ i1 + i, i < d, 0 ≤ i1, ∀ t, x. d ' + y ≠ depths(t, i + 1) + x ⊦
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ d ∈ x → d ∈ x + y], [CSIMPFORWARD : ⊦ d ' + x = y → d ∈ y], [CSIMPFORWARD : ⊦ depths(t, i) + x = d ' + y → d ∈ depths(t, i)], [CSIMPSEQ : ⊦ (x + y) + z = x + y + z], [CSIMPSEQ : ⊦ d ∈ x + y ↔ ¬ ¬ (d ∈ x ∨ d ∈ y)], [CSIMPSEQ : ⊦ depths(Node(t0, t1), i) = depths(t0, i + 1) + depths(t1, i + 1)], [CSIMPSEQ : ⊦ i + j = j + i])]]