| x0 = 1 ' + 3 ' + 3 ' + 2 ', x1 = x0 ∧ d0 = 0, h0 = head(x1) ⊦ 〈let to2 = fail, to1 = fail in { build_rec#(d0 + 1; x1, to2) ; if to2 = fail then to0 := fail else { build_rec#(d0 + 1; x1, to1) ; if to1 = fail then to0 := fail else to0 := some(Node(to2 .t, to1 .t)) } }〉 〈to1 := to0 ; if ¬ is_empty(x1) then to1 := fail〉 to1 = some(Node(Leaf, Node(Node(Leaf, Leaf), Leaf))) |
x0 = 1 ' + 3 ' + 3 ' + 2 ', x1 = x0 ∧ d0 = 0, h0 = head(x1), to = fail, to3 = fail ⊦ 〈build_rec#(d0 + 1; x1, to3)〉 〈if to3 = fail then to0 := fail else { build_rec#(d0 + 1; x1, to) ; if to = fail then to0 := fail else to0 := some(Node(to3 .t, to .t)) }〉 〈to1 := to0 ; if ¬ is_empty(x1) then to1 := fail〉 to1 = some(Node(Leaf, Node(Node(Leaf, Leaf), Leaf)))
[[CONCRETESIMPRULES : ()]]