| ⊦ tr(null, t) = (emp ∧ ⌜t = leaf⌝ ) |
tr(null, t) ≠ (emp ∧ ⌜t = leaf⌝ ) ⊦
| tr(null, t) ≠ (emp ∧ ⌜t = leaf⌝ ) ⊦ |
tr(null, t) ≠ (emp ∧ ⌜t = leaf⌝ ) ⊦
| tr(null, t) ≠ (emp ∧ ⌜t = leaf⌝ ) ⊦ |
t = branch(t0, a, t1), tr(null, t) ≠ (emp ∧ ⌜t = leaf⌝ ) ⊦
Used simplifier rules: tr-base: ⊦ tr(r, leaf) = (emp ∧ ⌜r = null⌝ ); Tree[A] freely generated by leaf, branch; ⊦ ⌜true⌝ = true; (s) ⊦ (true ∧ hP) = hP; (s) and-ass: ⊦ ((hP0 ∧ hP1) ∧ hP2) = (hP0 ∧ hP1 ∧ hP2); from specification map-sep and-com: ⊦ (hP0 ∧ hP1) = (hP1 ∧ hP0); from specification map-sep
| t = branch(t0, a, t1), tr(null, t) ≠ (emp ∧ ⌜t = leaf⌝ ) ⊦ |
tr(null, branch(t0, a, t1)) ≠ false ⊦
Used simplifier rules: and-com: ⊦ (hP0 ∧ hP1) = (hP1 ∧ hP0); from specification map-sep and-ass: ⊦ ((hP0 ∧ hP1) ∧ hP2) = (hP0 ∧ hP1 ∧ hP2); from specification map-sep ⊦ (false ∧ hP) = false; (s) ⊦ ⌜false⌝ = false; (s) ⊦ leaf ≠ branch(t, val, t0); (s)
| tr(null, branch(t0, a, t1)) ≠ false ⊦ |
⊦ tr(r, branch(t0, a, t1)) = _∃(λ r0, r1. r => mknode(r0, a, r1) * tr(r0, t0) * tr(r1, t1))
_∃(λ r0, r1. null => mknode(r0, a, r1) * tr(r0, t0) * tr(r1, t1)) ≠ false ⊦
Used terms: null, t0, a, t1
| ⊦ tr(r, branch(t0, a, t1)) = _∃(λ r0, r1. r => mknode(r0, a, r1) * tr(r0, t0) * tr(r1, t1)) |
| _∃(λ r0, r1. null => mknode(r0, a, r1) * tr(r0, t0) * tr(r1, t1)) ≠ false ⊦ |
_∃(λ r0, r1. false) ≠ false ⊦
Used simplifier rules: sep-ass: ⊦ (hP0 * hP1) * hP2 = hP0 * hP1 * hP2; from specification map-sep sep-com: ⊦ hP0 * hP1 = hP1 * hP0; from specification map-sep ⊦ false * hP = false; (s) ⊦ ⌜false⌝ = false; (s) ⊦ null => o = ⌜false⌝ ; (s)
| _∃(λ r0, r1. false) ≠ false ⊦ |
Used simplifier rules: ⊦ (_∃ bcP)(h) ↔ (∃ b, c. bcP(b, c)(h)); (s) ⊦ ¬ false(h); (s)
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.