[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 1 from proof precise-ls (conclusion) (back to tree)

⊦ precise(ls(r, x))

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof precise-ls (previous step) (back to tree)

¬ precise(ls(r, x)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-sep, name:precise, seq:⊦ precise(hP) ↔ (∀ h, h0, h1, h2. hP(h) ∧ hP(h0) ∧ h ⊥ h1 ∧ h0 ⊥ h2 ∧ h ∪ h1 = h0 ∪ h2 → h = h0), subst:[hP] → [ls(r, x)], <all paths>

Additional information

Used terms: ls(r, x)

Proof step 3 from proof precise-ls (previous step) (back to tree)

⊦ precise(hP) ↔ (∀ h, h0, h1, h2. hP(h) ∧ hP(h0) ∧ h ⊥ h1 ∧ h0 ⊥ h2 ∧ h ∪ h1 = h0 ∪ h2 → h = h0)

A spec-lemma

Proof step 4 from proof precise-ls (previous step) (back to tree)

∃ h, h0, h1, h2. ¬(ls(r, x)(h) ∧ ls(r, x)(h0) ∧ h ⊥ h1 ∧ h0 ⊥ h2 ∧ h ∪ h1 = h0 ∪ h2 → h = h0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 5 from proof precise-ls (previous step) (back to tree)

h ∪ h1 = h0 ∪ h2, h ≠ h0, ls(r, x)(h), ls(r, x)(h0), h ⊥ h1, h0 ⊥ h2 ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

indvar: x

Additional information

Used simplifier rules: ls-base: ⊦ ls(r, []) = (emp ∧ ⌜r = null⌝ ); list freely generated by [], +;; ⊦ ((hP0 ∧ hP1))(h) ↔ hP0(h) ∧ hP1(h); (s) ⊦ ⌜bv⌝ (h) ↔ bv; (s) ⊦ emp(h) ↔ h = ∅; (s) ⊦ ⌜true⌝ = true; (s) ⊦ (true ∧ hP) = hP; (s) and-ass: ⊦ ((hP0 ∧ hP1) ∧ hP2) = (hP0 ∧ hP1 ∧ hP2); from specification heap-sep and-com: ⊦ (hP0 ∧ hP1) = (hP1 ∧ hP0); from specification heap-sep ⊦ precise(emp); (s) precise(hP) ⊦ hP(h0) ∧ hP(h1) ∧ h0 ⊥ h ∧ h1 ⊥ h2 → (h0 ∪ h = h1 ∪ h2 ↔ h0 = h1 ∧ h = h2); (s)

Proof step 6 from proof precise-ls (previous step) (back to tree)

h ∪ h1 = h0 ∪ h2, h ≠ h0, ls(r, a + x0)(h0), ls(r, a + x0)(h), h0 ⊥ h2, h ⊥ h1, ∀ h, h1, h0, h2, r. ¬(h ∪ h1 = h0 ∪ h2 ∧ h ≠ h0 ∧ ls(r, x0)(h) ∧ ls(r, x0)(h0) ∧ h ⊥ h1 ∧ h0 ⊥ h2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ls-rec: ⊦ ls(r, a ' + x) = _∃(λ r0. r => a × r0 * ls(r0, x)); ⊦ (_∃ rP)(h) ↔ (∃ r. rP(r)(h)); (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a + x = a ' + x; (s)

Proof step 7 from proof precise-ls (previous step) (back to tree)

h ∪ h1 = h0 ∪ h2, h ≠ h0, ((r => a × r0 * ls(r0, x0)))(h), ((r => a × r1 * ls(r1, x0)))(h0), h ⊥ h1, h0 ⊥ h2, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-sep, name:sep, seq: ⊦ ((hP0 * hP1))(h) ↔ (∃ h0, h1. h0 ⊥ h1 ∧ h = h0 ∪ h1 ∧ hP0(h0) ∧ hP1(h1)), subst:[h, hP1, hP0] → [h, ls(r0, x0), r => a × r0], <all paths>

Additional information

Used terms: h, ls(r0, x0), r => a × r0

Proof step 8 from proof precise-ls (previous step) (back to tree)

⊦ ((hP0 * hP1))(h) ↔ (∃ h0, h1. h0 ⊥ h1 ∧ h = h0 ∪ h1 ∧ hP0(h0) ∧ hP1(h1))

A spec-lemma

Proof step 9 from proof precise-ls (previous step) (back to tree)

h ∪ h1 = h0 ∪ h2, h ≠ h0, ((r => a × r1 * ls(r1, x0)))(h0), h0 ⊥ h2, h ⊥ h1, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6, ∃ h0, h1. h0 ⊥ h1 ∧ h = h0 ∪ h1 ∧ ((r => a × r0))(h0) ∧ ls(r0, x0)(h1) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ h1 ⊥ h2 → (h1 ∪ h2 ⊥ h0 ↔ h0 ⊥ h1 ∧ h0 ⊥ h2); (ws)

Proof step 10 from proof precise-ls (previous step) (back to tree)

(h3 ∪ h4) ∪ h1 = h0 ∪ h2, h3 ∪ h4 ≠ h0, ((r => a × r1 * ls(r1, x0)))(h0), ((r => a × r0))(h3), ls(r0, x0)(h4), h0 ⊥ h2, h3 ⊥ h4, h1 ⊥ h3, h1 ⊥ h4, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-sep, name:sep, seq: ⊦ ((hP0 * hP1))(h) ↔ (∃ h0, h1. h0 ⊥ h1 ∧ h = h0 ∪ h1 ∧ hP0(h0) ∧ hP1(h1)), subst:[h, hP1, hP0] → [h0, ls(r1, x0), r => a × r1], <all paths>

Additional information

Used terms: h0, ls(r1, x0), r => a × r1

Proof step 11 from proof precise-ls (previous step) (back to tree)

⊦ ((hP0 * hP1))(h) ↔ (∃ h0, h1. h0 ⊥ h1 ∧ h = h0 ∪ h1 ∧ hP0(h0) ∧ hP1(h1))

A spec-lemma

Proof step 12 from proof precise-ls (previous step) (back to tree)

(h3 ∪ h4) ∪ h1 = h0 ∪ h2, h3 ∪ h4 ≠ h0, ((r => a × r0))(h3), ls(r0, x0)(h4), h1 ⊥ h4, h1 ⊥ h3, h3 ⊥ h4, h0 ⊥ h2, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6, ∃ h1, h2. h1 ⊥ h2 ∧ h0 = h1 ∪ h2 ∧ ((r => a × r1))(h1) ∧ ls(r1, x0)(h2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ h1 ⊥ h2 → (h1 ∪ h2 ⊥ h0 ↔ h0 ⊥ h1 ∧ h0 ⊥ h2); (ws)

Proof step 13 from proof precise-ls (previous step) (back to tree)

(h3 ∪ h4) ∪ h1 = (h ∪ h5) ∪ h2, h3 ∪ h4 ≠ h ∪ h5, ((r => a × r0))(h3), ((r => a × r1))(h), ls(r0, x0)(h4), ls(r1, x0)(h5), h3 ⊥ h4, h1 ⊥ h3, h1 ⊥ h4, h ⊥ h5, h2 ⊥ h, h2 ⊥ h5, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: h3 = h ∧ r0 = r1

Additional information

Used formulas: h3 = h ∧ r0 = r1

Proof step 14 from proof precise-ls (previous step) (back to tree)

h3 = h, r0 = r1, (h3 ∪ h4) ∪ h1 = (h ∪ h5) ∪ h2, h3 ∪ h4 ≠ h ∪ h5, ((r => a × r1))(h), ((r => a × r0))(h3), ls(r1, x0)(h5), ls(r0, x0)(h4), h2 ⊥ h5, h2 ⊥ h, h ⊥ h5, h1 ⊥ h4, h1 ⊥ h3, h3 ⊥ h4, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: precise(hP) ⊦ hP(h0) ∧ hP(h1) ∧ h0 ⊥ h ∧ h1 ⊥ h2 → (h0 ∪ h = h1 ∪ h2 ↔ h0 = h1 ∧ h = h2); (s) ⊦ precise(r => o); (s)

Proof step 15 from proof precise-ls (previous step) (back to tree)

(h ∪ h4) ∪ h1 = (h ∪ h5) ∪ h2, h4 ≠ h5, ((r => a × r1))(h), ls(r1, x0)(h4), ls(r1, x0)(h5), h ⊥ h4, h1 ⊥ h, h1 ⊥ h4, h ⊥ h5, h2 ⊥ h, h2 ⊥ h5, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap[cell-heap], name:uni-ass, seq: ⊦ h0 ⊥ h1 ∧ h1 ⊥ h ∧ h ⊥ h0 → (h0 ∪ h1) ∪ h = h0 ∪ h1 ∪ h, subst:[h, h1, h0] → [h1, h4, h], <all paths>

Additional information

Used simplifier rules: ⊦ h0 ⊥ h1 → h1 ⊥ h0; (s) Used terms: h1, h4, h

Proof step 16 from proof precise-ls (previous step) (back to tree)

⊦ h0 ⊥ h1 ∧ h1 ⊥ h ∧ h ⊥ h0 → (h0 ∪ h1) ∪ h = h0 ∪ h1 ∪ h

A spec-lemma

Proof step 17 from proof precise-ls (previous step) (back to tree)

h ∪ h4 ∪ h1 = (h ∪ h5) ∪ h2, h4 ≠ h5, ((r => a × r1))(h), ls(r1, x0)(h5), ls(r1, x0)(h4), h2 ⊥ h5, h2 ⊥ h, h ⊥ h5, h1 ⊥ h4, h ⊥ h4, h4 ⊥ h1, h1 ⊥ h, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ h0 ⊥ h1 → h1 ⊥ h0; (s)

Proof step 18 from proof precise-ls (previous step) (back to tree)

h ∪ h4 ∪ h1 = (h ∪ h5) ∪ h2, h4 ≠ h5, ((r => a × r1))(h), ls(r1, x0)(h4), ls(r1, x0)(h5), h1 ⊥ h, h ⊥ h4, h1 ⊥ h4, h ⊥ h5, h2 ⊥ h, h2 ⊥ h5, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap[cell-heap], name:uni-ass, seq: ⊦ h0 ⊥ h1 ∧ h1 ⊥ h ∧ h ⊥ h0 → (h0 ∪ h1) ∪ h = h0 ∪ h1 ∪ h, subst:[h, h1, h0] → [h2, h5, h], <all paths>

Additional information

Used simplifier rules: ⊦ h0 ⊥ h1 → h1 ⊥ h0; (s) Used terms: h2, h5, h

Proof step 19 from proof precise-ls (previous step) (back to tree)

⊦ h0 ⊥ h1 ∧ h1 ⊥ h ∧ h ⊥ h0 → (h0 ∪ h1) ∪ h = h0 ∪ h1 ∪ h

A spec-lemma

Proof step 20 from proof precise-ls (previous step) (back to tree)

h ∪ h4 ∪ h1 = h ∪ h5 ∪ h2, h4 ≠ h5, ((r => a × r1))(h), ls(r1, x0)(h5), ls(r1, x0)(h4), h2 ⊥ h5, h1 ⊥ h4, h ⊥ h4, h1 ⊥ h, h ⊥ h5, h5 ⊥ h2, h2 ⊥ h, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ h0 ⊥ h1 → h1 ⊥ h0; (s)

Proof step 21 from proof precise-ls (previous step) (back to tree)

h ∪ h4 ∪ h1 = h ∪ h5 ∪ h2, h4 ≠ h5, ((r => a × r1))(h), ls(r1, x0)(h4), ls(r1, x0)(h5), h2 ⊥ h, h ⊥ h5, h1 ⊥ h, h ⊥ h4, h1 ⊥ h4, h2 ⊥ h5, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap[cell-heap], name:uni-inj, seq: ⊦ h ⊥ h0 ∧ h ⊥ h1 → (h ∪ h0 = h ∪ h1 ↔ h0 = h1), subst:[h1, h0, h] → [h5 ∪ h2, h4 ∪ h1, h], <all paths>

Additional information

Used terms: h5 ∪ h2, h4 ∪ h1, h

Proof step 22 from proof precise-ls (previous step) (back to tree)

⊦ h ⊥ h0 ∧ h ⊥ h1 → (h ∪ h0 = h ∪ h1 ↔ h0 = h1)

A spec-lemma

Proof step 23 from proof precise-ls (previous step) (back to tree)

h ∪ h4 ∪ h1 = h ∪ h5 ∪ h2, h4 ≠ h5, ((r => a × r1))(h), ls(r1, x0)(h5), ls(r1, x0)(h4), h2 ⊥ h5, h1 ⊥ h4, h ⊥ h4, h1 ⊥ h, h ⊥ h5, h2 ⊥ h, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦ h ⊥ h4 ∪ h1 ∧ h ⊥ h5 ∪ h2

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 24 from proof precise-ls (previous step) (back to tree)

h ∪ h4 ∪ h1 = h ∪ h5 ∪ h2, h4 ≠ h5, ((r => a × r1))(h), ls(r1, x0)(h4), ls(r1, x0)(h5), h2 ⊥ h, h ⊥ h5, h1 ⊥ h, h ⊥ h4, h1 ⊥ h4, h2 ⊥ h5, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦ h ⊥ h4 ∪ h1 ∧ h ⊥ h5 ∪ h2

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap[cell-heap], name:disj-distr-uni, seq: ⊦ h1 ⊥ h → (h0 ⊥ h1 ∪ h ↔ h0 ⊥ h1 ∧ h0 ⊥ h), subst:[h, h1, h0] → [h1, h4, h], <all paths>

Additional information

Used simplifier rules: ⊦ h0 ⊥ h1 → h1 ⊥ h0; (s) Used terms: h1, h4, h

Proof step 25 from proof precise-ls (previous step) (back to tree)

⊦ h1 ⊥ h → (h0 ⊥ h1 ∪ h ↔ h0 ⊥ h1 ∧ h0 ⊥ h)

A spec-lemma

Proof step 26 from proof precise-ls (previous step) (back to tree)

h ∪ h4 ∪ h1 = h ∪ h5 ∪ h2, h4 ≠ h5, ((r => a × r1))(h), ls(r1, x0)(h5), ls(r1, x0)(h4), h2 ⊥ h5, h1 ⊥ h4, h ⊥ h4, h1 ⊥ h, h ⊥ h5, h2 ⊥ h, h4 ⊥ h1, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦ (h ⊥ h4 ∧ h ⊥ h1) ∧ h ⊥ h5 ∪ h2

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ h0 ⊥ h1 → h1 ⊥ h0; (s)

Proof step 27 from proof precise-ls (previous step) (back to tree)

h ∪ h4 ∪ h1 = h ∪ h5 ∪ h2, h4 ≠ h5, ((r => a × r1))(h), ls(r1, x0)(h4), ls(r1, x0)(h5), h2 ⊥ h, h ⊥ h5, h1 ⊥ h, h ⊥ h4, h1 ⊥ h4, h2 ⊥ h5, ¬ h ⊥ h5 ∪ h2, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap[cell-heap], name:disj-distr-uni, seq: ⊦ h1 ⊥ h → (h0 ⊥ h1 ∪ h ↔ h0 ⊥ h1 ∧ h0 ⊥ h), subst:[h, h1, h0] → [h2, h5, h], <all paths>

Additional information

Used simplifier rules: ⊦ h0 ⊥ h1 → h1 ⊥ h0; (s) Used terms: h2, h5, h

Proof step 28 from proof precise-ls (previous step) (back to tree)

⊦ h1 ⊥ h → (h0 ⊥ h1 ∪ h ↔ h0 ⊥ h1 ∧ h0 ⊥ h)

A spec-lemma

Proof step 29 from proof precise-ls (previous step) (back to tree)

h4 ∪ h1 = h5 ∪ h2, h4 ≠ h5, ((r => a × r1))(h), ls(r1, x0)(h5), ls(r1, x0)(h4), h2 ⊥ h5, h1 ⊥ h4, h ⊥ h4, h1 ⊥ h, h ⊥ h5, h2 ⊥ h, h ⊥ h4 ∪ h1, h ⊥ h5 ∪ h2, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 30 from proof precise-ls (previous step) (back to tree)

h4 ∪ h1 = h5 ∪ h2, h4 ≠ h5, ((r => a × r1))(h), ls(r1, x0)(h4), ls(r1, x0)(h5), h ⊥ h5 ∪ h2, h2 ⊥ h, h ⊥ h5, h1 ⊥ h, h ⊥ h4, h1 ⊥ h4, h2 ⊥ h5, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦

User applied rule all left

And closed the goal!

Rule argument

pos: left 13 terms: h4, h1, h5, h2, r1 abort: F discard: T computed: T

Additional information

Used simplifier rules: ⊦ h0 ⊥ h1 → h1 ⊥ h0; (ss) Used terms: h4, h1, h5, h2, r1

Proof step 31 from proof precise-ls (previous step) (back to tree)

(h3 ∪ h4) ∪ h1 = (h ∪ h5) ∪ h2, h3 ∪ h4 ≠ h ∪ h5, ((r => a × r1))(h), ((r => a × r0))(h3), ls(r1, x0)(h5), ls(r0, x0)(h4), h2 ⊥ h5, h2 ⊥ h, h ⊥ h5, h1 ⊥ h4, h1 ⊥ h3, h3 ⊥ h4, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦ h3 = h ∧ r0 = r1

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap[cell-heap], name:ext, seq: ⊦ h0 = h1 ↔ (∀ r. (r ∈ h0 ↔ r ∈ h1) ∧ (r ∈ h0 → h0[r] = h1[r])), subst:[h1, h0] → [(h ∪ h5) ∪ h2, (h3 ∪ h4) ∪ h1], <all paths>

Additional information

Used terms: (h ∪ h5) ∪ h2, (h3 ∪ h4) ∪ h1

Proof step 32 from proof precise-ls (previous step) (back to tree)

⊦ h0 = h1 ↔ (∀ r. (r ∈ h0 ↔ r ∈ h1) ∧ (r ∈ h0 → h0[r] = h1[r]))

A spec-lemma

Proof step 33 from proof precise-ls (previous step) (back to tree)

h3 ∪ h4 ≠ h ∪ h5, ((r => a × r0))(h3), ((r => a × r1))(h), ls(r0, x0)(h4), ls(r1, x0)(h5), h3 ⊥ h4, h1 ⊥ h3, h1 ⊥ h4, h ⊥ h5, h2 ⊥ h, h2 ⊥ h5, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6, ∀ r. (r ∈ (h3 ∪ h4) ∪ h1 ↔ r ∈ (h ∪ h5) ∪ h2) ∧ (r ∈ (h3 ∪ h4) ∪ h1 → ((h3 ∪ h4) ∪ h1)[r] = ((h ∪ h5) ∪ h2)[r]) ⊦ h3 = h ∧ r0 = r1

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 13 terms: r abort: F discard: F computed: F

Additional information

Used terms: r

Proof step 34 from proof precise-ls (previous step) (back to tree)

r ∈ (h3 ∪ h4) ∪ h1 ↔ r ∈ (h ∪ h5) ∪ h2, h3 ∪ h4 ≠ h ∪ h5, ((r => a × r1))(h), ((r => a × r0))(h3), ls(r1, x0)(h5), ls(r0, x0)(h4), h2 ⊥ h5, h2 ⊥ h, h ⊥ h5, h1 ⊥ h4, h1 ⊥ h3, h3 ⊥ h4, r ∈ (h3 ∪ h4) ∪ h1 → ((h3 ∪ h4) ∪ h1)[r] = ((h ∪ h5) ∪ h2)[r], ∀ r. (r ∈ (h3 ∪ h4) ∪ h1 ↔ r ∈ (h ∪ h5) ∪ h2) ∧ (r ∈ (h3 ∪ h4) ∪ h1 → ((h3 ∪ h4) ∪ h1)[r] = ((h ∪ h5) ∪ h2)[r]), ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦ h3 = h ∧ r0 = r1

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 35 from proof precise-ls (previous step) (back to tree)

r ∈ (h3 ∪ h4) ∪ h1 ↔ r ∈ (h ∪ h5) ∪ h2, h3 ∪ h4 ≠ h ∪ h5, ((r => a × r0))(h3), ((r => a × r1))(h), ls(r0, x0)(h4), ls(r1, x0)(h5), h3 ⊥ h4, h1 ⊥ h3, h1 ⊥ h4, h ⊥ h5, h2 ⊥ h, h2 ⊥ h5, r ∈ (h ∪ h5) ∪ h2 → ((h3 ∪ h4) ∪ h1)[r] = ((h ∪ h5) ∪ h2)[r], ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6, ∀ r. (r ∈ (h3 ∪ h4) ∪ h1 ↔ r ∈ (h ∪ h5) ∪ h2) ∧ (r ∈ (h3 ∪ h4) ∪ h1 → ((h3 ∪ h4) ∪ h1)[r] = ((h ∪ h5) ∪ h2)[r]) ⊦ h3 = h ∧ r0 = r1

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap[cell-heap], name:at-uni, seq:r ∈ h0 ∪ h1 ⊦ h0 ⊥ h1 → (h0 ∪ h1)[r] = (r ∈ h0 ⊃ h0[r];h1[r]), subst:[r, h1, h0] → [r, h1, h3 ∪ h4], <all paths>

Additional information

Used simplifier rules: ⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1); (s) ⊦ ((r => o))(h) → r ∈ h; (s) ⊦ h1 ⊥ h2 → (h1 ∪ h2 ⊥ h0 ↔ h0 ⊥ h1 ∧ h0 ⊥ h2); (ws) Used terms: r, h1, h3 ∪ h4

Proof step 36 from proof precise-ls (previous step) (back to tree)

r ∈ h0 ∪ h1 ⊦ h0 ⊥ h1 → (h0 ∪ h1)[r] = (r ∈ h0 ⊃ h0[r];h1[r])

A spec-lemma

Proof step 37 from proof precise-ls (previous step) (back to tree)

r ∈ (h3 ∪ h4) ∪ h1 ↔ r ∈ (h ∪ h5) ∪ h2, h3 ∪ h4 ≠ h ∪ h5, ((r => a × r1))(h), ((r => a × r0))(h3), ls(r1, x0)(h5), ls(r0, x0)(h4), r ∈ (h3 ∪ h4) ∪ h1, h2 ⊥ h5, h2 ⊥ h, h ⊥ h5, h1 ⊥ h4, h1 ⊥ h3, h3 ⊥ h4, h3 ∪ h4 ⊥ h1, r ∈ (h ∪ h5) ∪ h2 → (r ∈ h3 ∪ h4 ⊃ (h3 ∪ h4)[r];h1[r]) = ((h ∪ h5) ∪ h2)[r], ∀ r. (r ∈ (h3 ∪ h4) ∪ h1 ↔ r ∈ (h ∪ h5) ∪ h2) ∧ (r ∈ (h3 ∪ h4) ∪ h1 → ((h3 ∪ h4) ∪ h1)[r] = ((h ∪ h5) ∪ h2)[r]), ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦ h3 = h ∧ r0 = r1

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ((r => o))(h) → r ∈ h; (s) r ∈ h0 ∪ h1 ⊦ h0 ⊥ h1 → (h0 ∪ h1)[r] = (r ∈ h0 ⊃ h0[r];h1[r]); (s) ⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1); (s) ⊦ h1 ⊥ h2 → (h1 ∪ h2 ⊥ h0 ↔ h0 ⊥ h1 ∧ h0 ⊥ h2); (ws)

Proof step 38 from proof precise-ls (previous step) (back to tree)

h3[r] = ((h ∪ h5) ∪ h2)[r], h3 ∪ h4 ≠ h ∪ h5, ((r => a × r0))(h3), ((r => a × r1))(h), ls(r0, x0)(h4), ls(r1, x0)(h5), r ∈ (h3 ∪ h4) ∪ h1, r ∈ (h ∪ h5) ∪ h2, h3 ⊥ h4, h1 ⊥ h3, h1 ⊥ h4, h ⊥ h5, h2 ⊥ h, h2 ⊥ h5, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6, ∀ r. (r ∈ (h3 ∪ h4) ∪ h1 ↔ r ∈ (h ∪ h5) ∪ h2) ∧ (r ∈ (h3 ∪ h4) ∪ h1 → ((h3 ∪ h4) ∪ h1)[r] = ((h ∪ h5) ∪ h2)[r]) ⊦ h3 = h ∧ r0 = r1

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap[cell-heap], name:at-uni, seq:r ∈ h0 ∪ h1 ⊦ h0 ⊥ h1 → (h0 ∪ h1)[r] = (r ∈ h0 ⊃ h0[r];h1[r]), subst:[r, h1, h0] → [r, h2, h ∪ h5], <all paths>

Additional information

Used simplifier rules: ⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1); (s) ⊦ ((r => o))(h) → r ∈ h; (s) ⊦ h1 ⊥ h2 → (h1 ∪ h2 ⊥ h0 ↔ h0 ⊥ h1 ∧ h0 ⊥ h2); (ws) Used terms: r, h2, h ∪ h5

Proof step 39 from proof precise-ls (previous step) (back to tree)

r ∈ h0 ∪ h1 ⊦ h0 ⊥ h1 → (h0 ∪ h1)[r] = (r ∈ h0 ⊃ h0[r];h1[r])

A spec-lemma

Proof step 40 from proof precise-ls (previous step) (back to tree)

h3[r] = (r ∈ h ∪ h5 ⊃ (h ∪ h5)[r];h2[r]), h3 ∪ h4 ≠ h ∪ h5, ((r => a × r1))(h), ((r => a × r0))(h3), ls(r1, x0)(h5), ls(r0, x0)(h4), r ∈ (h3 ∪ h4) ∪ h1, r ∈ (h ∪ h5) ∪ h2, h2 ⊥ h5, h2 ⊥ h, h ⊥ h5, h1 ⊥ h4, h1 ⊥ h3, h3 ⊥ h4, h ∪ h5 ⊥ h2, ∀ r. (r ∈ (h3 ∪ h4) ∪ h1 ↔ r ∈ (h ∪ h5) ∪ h2) ∧ (r ∈ (h3 ∪ h4) ∪ h1 → ((h3 ∪ h4) ∪ h1)[r] = ((h ∪ h5) ∪ h2)[r]), ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦ h3 = h ∧ r0 = r1

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ h1 ⊥ h2 → (h1 ∪ h2 ⊥ h0 ↔ h0 ⊥ h1 ∧ h0 ⊥ h2); (ws) ⊦ ((r => o))(h) → r ∈ h; (s) r ∈ h0 ∪ h1 ⊦ h0 ⊥ h1 → (h0 ∪ h1)[r] = (r ∈ h0 ⊃ h0[r];h1[r]); (s) ⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1); (s)

Proof step 41 from proof precise-ls (previous step) (back to tree)

h3[r] = h[r], h3 ∪ h4 ≠ h ∪ h5, ((r => a × r0))(h3), ((r => a × r1))(h), ls(r0, x0)(h4), ls(r1, x0)(h5), r ∈ (h ∪ h5) ∪ h2, r ∈ (h3 ∪ h4) ∪ h1, h3 ⊥ h4, h1 ⊥ h3, h1 ⊥ h4, h ⊥ h5, h2 ⊥ h, h2 ⊥ h5, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6, ∀ r. (r ∈ (h3 ∪ h4) ∪ h1 ↔ r ∈ (h ∪ h5) ∪ h2) ∧ (r ∈ (h3 ∪ h4) ∪ h1 → ((h3 ∪ h4) ∪ h1)[r] = ((h ∪ h5) ∪ h2)[r]) ⊦ h3 = h ∧ r0 = r1

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: maplet[cell-heap], name:maplet, seq: ⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null, subst:[h, o, r] → [h, a × r1, r], <all paths>

Additional information

Used terms: h, a × r1, r

Proof step 42 from proof precise-ls (previous step) (back to tree)

⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null

A spec-lemma

Proof step 43 from proof precise-ls (previous step) (back to tree)

h3[r] = h[r], h = (∅ ++ r)[r, a × r1], r ≠ null, h3 ∪ h4 ≠ h ∪ h5, ((r => a × r0))(h3), ls(r1, x0)(h5), ls(r0, x0)(h4), r ∈ (h3 ∪ h4) ∪ h1, r ∈ (h ∪ h5) ∪ h2, h2 ⊥ h5, h2 ⊥ h, h ⊥ h5, h1 ⊥ h4, h1 ⊥ h3, h3 ⊥ h4, ∀ r. (r ∈ (h3 ∪ h4) ∪ h1 ↔ r ∈ (h ∪ h5) ∪ h2) ∧ (r ∈ (h3 ∪ h4) ∪ h1 → ((h3 ∪ h4) ∪ h1)[r] = ((h ∪ h5) ∪ h2)[r]), ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6 ⊦ h3 = h ∧ r0 = r1

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ h ⊥ ∅; (s) r ≠ null, ¬ r ∈ h1 ⊦ h0 ⊥ (h1 ++ r)[r, o] ↔ h0 ⊥ h1 ∧ ¬ r ∈ h0; (ws) ⊦ ¬ r ∈ ∅; (s) ⊦ r ∈ h → r ≠ null; (s) r ≠ null ⊦ (∅ ++ r)[r, o] ⊥ h ↔ ¬ r ∈ h; (s) r0 ≠ null, ¬ r0 ∈ h ⊦ r ∈ h ++ r0 ↔ r = r0 ∨ r ∈ h; (s) ⊦ h[r0, o][r] = (r = r0 ∧ r0 ∈ h ⊃ o;h[r]); (s)

Proof step 44 from proof precise-ls (previous step) (back to tree)

h3[r] = a × r1, h3 ∪ h4 ≠ (∅ ++ r)[r, a × r1] ∪ h5, ((r => a × r0))(h3), ls(r0, x0)(h4), ls(r1, x0)(h5), r ∈ ((∅ ++ r)[r, a × r1] ∪ h5) ∪ h2, r ∈ (h3 ∪ h4) ∪ h1, h2 ⊥ h5, h3 ⊥ h4, h1 ⊥ h3, h1 ⊥ h4, ¬ r ∈ h5, ¬ r ∈ h2, ∀ h3, h4, h5, h6, r2. h3 ∪ h4 ≠ h5 ∪ h6 ∨ h3 = h5 ∨ ¬ ls(r2, x0)(h3) ∨ ¬ ls(r2, x0)(h5) ∨ ¬ h3 ⊥ h4 ∨ ¬ h5 ⊥ h6, ∀ r0. (r0 ∈ (h3 ∪ h4) ∪ h1 ↔ r0 ∈ ((∅ ++ r)[r, a × r1] ∪ h5) ∪ h2) ∧ (r0 ∈ (h3 ∪ h4) ∪ h1 → ((h3 ∪ h4) ∪ h1)[r0] = (((∅ ++ r)[r, a × r1] ∪ h5) ∪ h2)[r0]) ⊦ h3 = (∅ ++ r)[r, a × r1] ∧ r0 = r1

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: maplet[cell-heap], name:maplet, seq: ⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null, subst:[h, o, r] → [h3, a × r0, r], <all paths>

Additional information

Used simplifier rules: ⊦ h[r0, o][r] = (r = r0 ∧ r0 ∈ h ⊃ o;h[r]); (s) r0 ≠ null, ¬ r0 ∈ h ⊦ r ∈ h ++ r0 ↔ r = r0 ∨ r ∈ h; (s) ⊦ a × r = a0 × r0 ↔ a = a0 ∧ r = r0; (ws) r ≠ null ⊦ (∅ ++ r)[r, o] ⊥ h ↔ ¬ r ∈ h; (s) ⊦ r ∈ h → r ≠ null; (s) ⊦ ¬ r ∈ ∅; (s) r ≠ null, ¬ r ∈ h1 ⊦ h0 ⊥ (h1 ++ r)[r, o] ↔ h0 ⊥ h1 ∧ ¬ r ∈ h0; (ws) ⊦ h ⊥ ∅; (s) Used terms: h3, a × r0, r

Proof step 45 from proof precise-ls (previous step) (back to tree)

⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null

A spec-lemma

Proof Tree for precise-ls (View conclusion)

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.

the proof tree