[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 map-del-sharing (conclusion) (back to tree)

⊦ (r => o ⊗ hP)(h) ↔ (hP(h -- r) ∨ hP(h)) ∧ r ∈ h ∧ h(r) = o

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof map-del-sharing (previous step) (back to tree)

¬((r => o ⊗ hP)(h) ↔ (hP(h -- r) ∨ hP(h)) ∧ r ∈ h ∧ h(r) = o) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-sep, name:sharing, seq:⊦ (hP0 ⊗ hP1)(h) ↔ (∃ h0, h1, h2. h0 ⊥ h2 ∧ h0 ⊥ h1 ∧ h1 ⊥ h2 ∧ h = h0 ∪ h1 ∪ h2 ∧ hP0(h0 ∪ h2) ∧ hP1(h1 ∪ h2)), subst:[h, hP0, hP1] → [h, r => o, hP]; [A] → [A], lhs:(r => o ⊗ hP)(h), <all paths>

Additional information

Used simplifier rules: sharing-ass: ⊦ hP0 ⊗ hP1 ⊗ hP2 = (hP0 ⊗ hP1) ⊗ hP2; from specification heap-sep sharing-com: ⊦ hP0 ⊗ hP1 = hP1 ⊗ hP0; from specification heap-sep Used terms: h, r => o, hP

Proof step 3 from proof map-del-sharing (previous step) (back to tree)

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

A spec-lemma

Proof step 4 from proof map-del-sharing (previous step) (back to tree)

⊦ (∃ h0, h1, h2. h0 ⊥ h2 ∧ h0 ⊥ h1 ∧ h1 ⊥ h2 ∧ h = h0 ∪ h1 ∪ h2 ∧ (r => o)(h0 ∪ h2) ∧ hP(h1 ∪ h2)) ↔ (hP(h -- r) ∨ hP(h)) ∧ r ∈ h ∧ h(r) = o

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: maplet: ⊦ (r => o)(h) ↔ h = (∅ ++ r)(r := o) ∧ r ≠ null;

Proof step 5 from proof map-del-sharing (previous step) (back to tree)

⊦ (∃ h0, h1, h2. h0 ⊥ h2 ∧ h0 ⊥ h1 ∧ h1 ⊥ h2 ∧ h = h0 ∪ h1 ∪ h2 ∧ h0 ∪ h2 = (∅ ++ r)(r := o) ∧ r ≠ null ∧ hP(h1 ∪ h2)) ↔ (hP(h -- r) ∨ hP(h)) ∧ r ∈ h ∧ h(r) = o

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 6 from proof map-del-sharing (previous step) (back to tree)

∃ h0, h1, h2. h0 ⊥ h2 ∧ h0 ⊥ h1 ∧ h1 ⊥ h2 ∧ h = h0 ∪ h1 ∪ h2 ∧ h0 ∪ h2 = (∅ ++ r)(r := o) ∧ r ≠ null ∧ hP(h1 ∪ h2) ⊦ (hP(h -- r) ∨ hP(h)) ∧ r ∈ h ∧ h(r) = o

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 7 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ h2 = (∅ ++ r)(r := o), r ≠ null, h0 ⊥ h2, h0 ⊥ h1, h1 ⊥ h2, hP(h1 ∪ h2) ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: r ∈ h2

Additional information

Used formulas: r ∈ h2

Proof step 8 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ h2 = (∅ ++ r)(r := o), r ≠ null, h0 ⊥ h1, h0 ⊥ h2, h1 ⊥ h2, hP(h1 ∪ h2), r ∈ h2 ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ r ∈ h → r ≠ null; (s)

Proof step 9 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ h2 = (∅ ++ r)(r := o), h0 ⊥ h2, h0 ⊥ h1, h1 ⊥ h2, hP(h1 ∪ h2), r ∈ h2 ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: h2 = (∅ ++ r)(r := o)

Additional information

Used formulas: h2 = (∅ ++ r)(r := o)

Proof step 10 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ h2 = (∅ ++ r)(r := o), h2 = (∅ ++ r)(r := o), h0 ⊥ h1, h0 ⊥ h2, h1 ⊥ h2, hP(h1 ∪ h2), r ∈ h2 ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

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; (s) ⊦ ¬ r ∈ ∅; (s) ⊦ r ∈ h → r ≠ null; (s) ⊦ r ∈ h(r0 := o) ↔ r ∈ h; (s)

Proof step 11 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ (∅ ++ r)(r := o) = (∅ ++ r)(r := o), h0 ⊥ h1, hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, ¬ r ∈ h1, ¬ r ∈ h0 ⊦ (hP((h0 ∪ h1 ∪ (∅ ++ r)(r := o)) -- r) ∨ hP(h0 ∪ h1 ∪ (∅ ++ r)(r := o))) ∧ r ∈ h0 ∪ h1 ∪ (∅ ++ r)(r := o) ∧ (h0 ∪ h1 ∪ (∅ ++ r)(r := o))(r) = o

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: h0 = ∅

Additional information

Used formulas: h0 = ∅

Proof step 12 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ (∅ ++ r)(r := o) = (∅ ++ r)(r := o), h0 = ∅, h0 ⊥ h1, hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, ¬ r ∈ h1, ¬ r ∈ h0 ⊦ (hP((h0 ∪ h1 ∪ (∅ ++ r)(r := o)) -- r) ∨ hP(h0 ∪ h1 ∪ (∅ ++ r)(r := o))) ∧ r ∈ h0 ∪ h1 ∪ (∅ ++ r)(r := o) ∧ (h0 ∪ h1 ∪ (∅ ++ r)(r := o))(r) = o

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ∅ ∪ h = h; (s) ⊦ ¬ r ∈ ∅; (s) ⊦ ∅ ⊥ h; (s) ⊦ r ∈ h → (h(r := d) = h(r := d1) ↔ d = d1); (s)

Proof step 13 from proof map-del-sharing (previous step) (back to tree)

hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, ¬ r ∈ h1 ⊦ r ∈ h1 ∪ (∅ ++ r)(r := o) ∧ (h1 ∪ (∅ ++ r)(r := o))(r) = o

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heapfuns, name:in-uni, seq: ⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1), subst:[r, h0, h1] → [r, h1, (∅ ++ r)(r := o)]; [A] → [A], lhs:r ∈ h1 ∪ (∅ ++ r)(r := o), <all paths>

Additional information

Used simplifier rules: ⊦ r ∈ h → r ≠ null; (s) ⊦ ¬ r ∈ ∅; (s) r ≠ null, ¬ r ∈ h1 ⊦ h0 ⊥ (h1 ++ r)(r := o) ↔ h0 ⊥ h1 ∧ ¬ r ∈ h0; (s) ⊦ h ⊥ ∅; (s) Used terms: r, h1, (∅ ++ r)(r := o)

Proof step 14 from proof map-del-sharing (previous step) (back to tree)

⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1)

A spec-lemma

Proof step 15 from proof map-del-sharing (previous step) (back to tree)

h1 ⊥ (∅ ++ r)(r := o), hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, ¬ r ∈ h1 ⊦ (r ∈ h1 ∨ r ∈ (∅ ++ r)(r := o)) ∧ (h1 ∪ (∅ ++ r)(r := o))(r) = o

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 16 from proof map-del-sharing (previous step) (back to tree)

(h1 ∪ (∅ ++ r)(r := o))(r) ≠ o, hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, ¬ r ∈ h1 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heapfuns, name:at-uni, seq:r ∈ h0 ∪ h1 ⊦ h0 ⊥ h1 → (h0 ∪ h1)(r) = (r ∈ h0 ⊃ h0(r);h1(r)), subst:[h0, h1, r] → [h1, (∅ ++ r)(r := o), r]; [A] → [A], lhs:(h1 ∪ (∅ ++ r)(r := o))(r), <all paths>

Additional information

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

Proof step 17 from proof map-del-sharing (previous step) (back to tree)

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

A spec-lemma

Proof step 18 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ (∅ ++ r)(r := o) = (∅ ++ r)(r := o), h0 ≠ ∅, h0 ⊥ h1, hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, ¬ r ∈ h1, ¬ r ∈ h0 ⊦ (hP((h0 ∪ h1 ∪ (∅ ++ r)(r := o)) -- r) ∨ hP(h0 ∪ h1 ∪ (∅ ++ r)(r := o))) ∧ r ∈ h0 ∪ h1 ∪ (∅ ++ r)(r := o) ∧ (h0 ∪ h1 ∪ (∅ ++ r)(r := o))(r) = o

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap, name:ext, seq: ⊦ h0 = h1 ↔ (∀ r. (r ∈ h0 ↔ r ∈ h1) ∧ (r ∈ h0 → h0(r) = h1(r))), subst:[h0, h1] → [h0 ∪ (∅ ++ r)(r := o), (∅ ++ r)(r := o)]; [A] → [A], lhs:h0 ∪ (∅ ++ r)(r := o) = (∅ ++ r)(r := o), <all paths>

Additional information

Used terms: h0 ∪ (∅ ++ r)(r := o), (∅ ++ r)(r := o)

Proof step 19 from proof map-del-sharing (previous step) (back to tree)

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

A spec-lemma

Proof step 20 from proof map-del-sharing (previous step) (back to tree)

h0 ≠ ∅, h0 ⊥ h1, hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, ¬ r ∈ h1, ¬ r ∈ h0, ∀ r0. (r0 ∈ h0 ∪ (∅ ++ r)(r := o) ↔ r0 ∈ (∅ ++ r)(r := o)) ∧ (r0 ∈ h0 ∪ (∅ ++ r)(r := o) → (h0 ∪ (∅ ++ r)(r := o))(r0) = (∅ ++ r)(r := o)(r0)) ⊦ (hP((h0 ∪ h1 ∪ (∅ ++ r)(r := o)) -- r) ∨ hP(h0 ∪ h1 ∪ (∅ ++ r)(r := o))) ∧ r ∈ h0 ∪ h1 ∪ (∅ ++ r)(r := o) ∧ (h0 ∪ h1 ∪ (∅ ++ r)(r := o))(r) = o

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 21 from proof map-del-sharing (previous step) (back to tree)

h0 ≠ ∅, h0 ⊥ h1, hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, ¬ r ∈ h1, ¬ r ∈ h0, ∀ r0. (r0 ∈ h0 ∪ (∅ ++ r)(r := o) ↔ r0 = r) ∧ (r0 ∈ h0 ∪ (∅ ++ r)(r := o) → (h0 ∪ (∅ ++ r)(r := o))(r0) = (r0 = r ⊃ o;(∅ ++ r)(r0))) ⊦ (hP((h0 ∪ h1 ∪ (∅ ++ r)(r := o)) -- r) ∨ hP(h0 ∪ h1 ∪ (∅ ++ r)(r := o))) ∧ r ∈ h0 ∪ h1 ∪ (∅ ++ r)(r := o) ∧ (h0 ∪ h1 ∪ (∅ ++ r)(r := o))(r) = o

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap, name:ext, seq: ⊦ h0 = h1 ↔ (∀ r. (r ∈ h0 ↔ r ∈ h1) ∧ (r ∈ h0 → h0(r) = h1(r))), subst:[h1, h0] → [h0, ∅]; [A] → [A], lhs:h0 = ∅, <all paths>

Additional information

Used terms: h0, ∅

Proof step 22 from proof map-del-sharing (previous step) (back to tree)

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

A spec-lemma

Proof step 23 from proof map-del-sharing (previous step) (back to tree)

h0 ⊥ h1, hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, ¬ r ∈ h1, ¬ r ∈ h0, ∃ r. ¬((r ∈ ∅ ↔ r ∈ h0) ∧ (r ∈ ∅ → ∅(r) = h0(r))), ∀ r0. (r0 ∈ h0 ∪ (∅ ++ r)(r := o) ↔ r0 = r) ∧ (r0 ∈ h0 ∪ (∅ ++ r)(r := o) → (h0 ∪ (∅ ++ r)(r := o))(r0) = (r0 = r ⊃ o;(∅ ++ r)(r0))) ⊦ (hP((h0 ∪ h1 ∪ (∅ ++ r)(r := o)) -- r) ∨ hP(h0 ∪ h1 ∪ (∅ ++ r)(r := o))) ∧ r ∈ h0 ∪ h1 ∪ (∅ ++ r)(r := o) ∧ (h0 ∪ h1 ∪ (∅ ++ r)(r := o))(r) = o

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ r ∈ ∅; (s)

Proof step 24 from proof map-del-sharing (previous step) (back to tree)

h0 ⊥ h1, hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, r0 ∈ h0, ¬ r ∈ h1, ¬ r ∈ h0, ∀ r0. (r0 ∈ h0 ∪ (∅ ++ r)(r := o) ↔ r0 = r) ∧ (r0 ∈ h0 ∪ (∅ ++ r)(r := o) → (h0 ∪ (∅ ++ r)(r := o))(r0) = (r0 = r ⊃ o;(∅ ++ r)(r0))) ⊦ (hP((h0 ∪ h1 ∪ (∅ ++ r)(r := o)) -- r) ∨ hP(h0 ∪ h1 ∪ (∅ ++ r)(r := o))) ∧ r ∈ h0 ∪ h1 ∪ (∅ ++ r)(r := o) ∧ (h0 ∪ h1 ∪ (∅ ++ r)(r := o))(r) = o

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 7 terms: r0 abort: F discard: F computed: F

Additional information

Used terms: r0

Proof step 25 from proof map-del-sharing (previous step) (back to tree)

r0 ∈ h0 ∪ (∅ ++ r)(r := o) ↔ r0 = r, h0 ⊥ h1, hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, r0 ∈ h0, ¬ r ∈ h1, ¬ r ∈ h0, ∀ r0. (r0 ∈ h0 ∪ (∅ ++ r)(r := o) ↔ r0 = r) ∧ (r0 ∈ h0 ∪ (∅ ++ r)(r := o) → (h0 ∪ (∅ ++ r)(r := o))(r0) = (r0 = r ⊃ o;(∅ ++ r)(r0))), r0 ∈ h0 ∪ (∅ ++ r)(r := o) → (h0 ∪ (∅ ++ r)(r := o))(r0) = (r0 = r ⊃ o;(∅ ++ r)(r0)) ⊦ (hP((h0 ∪ h1 ∪ (∅ ++ r)(r := o)) -- r) ∨ hP(h0 ∪ h1 ∪ (∅ ++ r)(r := o))) ∧ r ∈ h0 ∪ h1 ∪ (∅ ++ r)(r := o) ∧ (h0 ∪ h1 ∪ (∅ ++ r)(r := o))(r) = o

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 26 from proof map-del-sharing (previous step) (back to tree)

h0 ⊥ h1, hP(h1 ∪ (∅ ++ r)(r := o)), r ∈ ∅ ++ r, r0 ∈ h0, ¬ r ∈ h1, ¬ r ∈ h0, ¬ r0 ∈ h0 ∪ (∅ ++ r)(r := o), ∀ r0. (r0 ∈ h0 ∪ (∅ ++ r)(r := o) ↔ r0 = r) ∧ (r0 ∈ h0 ∪ (∅ ++ r)(r := o) → (h0 ∪ (∅ ++ r)(r := o))(r0) = (r0 = r ⊃ o;(∅ ++ r)(r0))) ⊦ (hP((h0 ∪ h1 ∪ (∅ ++ r)(r := o)) -- r) ∨ hP(h0 ∪ h1 ∪ (∅ ++ r)(r := o))) ∧ r ∈ h0 ∪ h1 ∪ (∅ ++ r)(r := o) ∧ (h0 ∪ h1 ∪ (∅ ++ r)(r := o))(r) = o

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heapfuns, name:in-uni, seq: ⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1), subst:[r, h0, h1] → [r0, h0, (∅ ++ r)(r := o)]; [A] → [A], lhs:r0 ∈ h0 ∪ (∅ ++ r)(r := o), <all paths>

Additional information

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

Proof step 27 from proof map-del-sharing (previous step) (back to tree)

⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1)

A spec-lemma

Proof step 28 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ h2 = (∅ ++ r)(r := o), h2 ≠ (∅ ++ r)(r := o), h0 ⊥ h1, h0 ⊥ h2, h1 ⊥ h2, hP(h1 ∪ h2), r ∈ h2 ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap, name:ext, seq: ⊦ h0 = h1 ↔ (∀ r. (r ∈ h0 ↔ r ∈ h1) ∧ (r ∈ h0 → h0(r) = h1(r))), subst:[h0, h1] → [h2, (∅ ++ r)(r := o)]; [A] → [A], lhs:h2 = (∅ ++ r)(r := o), <all paths>

Additional information

Used terms: h2, (∅ ++ r)(r := o)

Proof step 29 from proof map-del-sharing (previous step) (back to tree)

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

A spec-lemma

Proof step 30 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ h2 = (∅ ++ r)(r := o), h0 ⊥ h2, h0 ⊥ h1, h1 ⊥ h2, hP(h1 ∪ h2), r ∈ h2, ∃ r0. ¬((r0 ∈ h2 ↔ r0 ∈ (∅ ++ r)(r := o)) ∧ (r0 ∈ h2 → h2(r0) = (∅ ++ r)(r := o)(r0))) ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 31 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ h2 = (∅ ++ r)(r := o), h0 ⊥ h1, h0 ⊥ h2, h1 ⊥ h2, hP(h1 ∪ h2), r ∈ h2 ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o, (r0 ∈ h2 → r0 = r) ∧ (r0 ∈ h2 → h2(r0) = (r0 = r ⊃ o;(∅ ++ r)(r0)))

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap, name:ext, seq: ⊦ h0 = h1 ↔ (∀ r. (r ∈ h0 ↔ r ∈ h1) ∧ (r ∈ h0 → h0(r) = h1(r))), subst:[h0, h1] → [h0 ∪ h2, (∅ ++ r)(r := o)]; [A] → [A], lhs:h0 ∪ h2 = (∅ ++ r)(r := o), <all paths>

Additional information

Used terms: h0 ∪ h2, (∅ ++ r)(r := o)

Proof step 32 from proof map-del-sharing (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 map-del-sharing (previous step) (back to tree)

h0 ⊥ h2, h0 ⊥ h1, h1 ⊥ h2, hP(h1 ∪ h2), r ∈ h2, ∀ r0. (r0 ∈ h0 ∪ h2 ↔ r0 ∈ (∅ ++ r)(r := o)) ∧ (r0 ∈ h0 ∪ h2 → (h0 ∪ h2)(r0) = (∅ ++ r)(r := o)(r0)) ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o, (r0 ∈ h2 → r0 = r) ∧ (r0 ∈ h2 → h2(r0) = (r0 = r ⊃ o;(∅ ++ r)(r0)))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: r0 ≠ null, ¬ r0 ∈ h ⊦ r ∈ h ++ r0 ↔ r = r0 ∨ r ∈ h; (s) ⊦ ¬ r ∈ ∅; (s) ⊦ r ∈ h → r ≠ null; (s) ⊦ h(r0 := o)(r) = (r = r0 ∧ r0 ∈ h ⊃ o;h(r)); (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) ⊦ r ∈ h1 ∧ h0 ⊥ h1 → ¬ r ∈ h0; (as) ⊦ r ∈ h(r0 := o) ↔ r ∈ h; (s)

Proof step 34 from proof map-del-sharing (previous step) (back to tree)

h0 ⊥ h1, h0 ⊥ h2, h1 ⊥ h2, hP(h1 ∪ h2), r ∈ h2, ∀ r1. (r1 ∈ h0 ∨ r1 ∈ h2 → r1 = r) ∧ (r1 ∈ h0 ∨ r1 ∈ h2 → (r1 ∈ h0 ⊃ h0(r1);h2(r1)) = (r1 = r ⊃ o;(∅ ++ r)(r1))) ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o, (r0 ∈ h2 → r0 = r) ∧ (r0 ∈ h2 → h2(r0) = (r0 = r ⊃ o;(∅ ++ r)(r0)))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 6 terms: r0 abort: F discard: F computed: T

Additional information

Used terms: r0

Proof step 35 from proof map-del-sharing (previous step) (back to tree)

h0 ⊥ h2, h0 ⊥ h1, h1 ⊥ h2, hP(h1 ∪ h2), r ∈ h2, r0 ∈ h0 ∨ r0 ∈ h2 → r0 = r, r0 ∈ h0 ∨ r0 ∈ h2 → (r0 ∈ h0 ⊃ h0(r0);h2(r0)) = (r0 = r ⊃ o;(∅ ++ r)(r0)), ∀ r1. (r1 ∈ h0 ∨ r1 ∈ h2 → r1 = r) ∧ (r1 ∈ h0 ∨ r1 ∈ h2 → (r1 ∈ h0 ⊃ h0(r1);h2(r1)) = (r1 = r ⊃ o;(∅ ++ r)(r1))) ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o, (r0 ∈ h2 → r0 = r) ∧ (r0 ∈ h2 → h2(r0) = (r0 = r ⊃ o;(∅ ++ r)(r0)))

User applied rule cut formula

And closed the goal!

Rule argument

fma: r0 ∈ h0

Additional information

Used simplifier rules: ⊦ r ∈ h1 ∧ h0 ⊥ h1 → ¬ r ∈ h0; (as) ⊦ r ∈ h0 ∧ h0 ⊥ h1 → ¬ r ∈ h1; (as) Used formulas: r0 ∈ h0

Proof step 36 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ h2 = (∅ ++ r)(r := o), r ≠ null, h0 ⊥ h1, h0 ⊥ h2, h1 ⊥ h2, hP(h1 ∪ h2), ¬ r ∈ h2 ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: h2 = ∅

Additional information

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

Proof step 37 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ h2 = (∅ ++ r)(r := o), h2 ≠ ∅, r ≠ null, h0 ⊥ h2, h0 ⊥ h1, h1 ⊥ h2, hP(h1 ∪ h2), ¬ r ∈ h2 ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap, name:ext, seq: ⊦ h0 = h1 ↔ (∀ r. (r ∈ h0 ↔ r ∈ h1) ∧ (r ∈ h0 → h0(r) = h1(r))), subst:[h1, h0] → [h2, ∅]; [A] → [A], lhs:h2 = ∅, <all paths>

Additional information

Used terms: h2, ∅

Proof step 38 from proof map-del-sharing (previous step) (back to tree)

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

A spec-lemma

Proof step 39 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ h2 = (∅ ++ r)(r := o), r ≠ null, h0 ⊥ h1, h0 ⊥ h2, h1 ⊥ h2, hP(h1 ∪ h2), ¬ r ∈ h2, ∃ r. ¬((r ∈ ∅ ↔ r ∈ h2) ∧ (r ∈ ∅ → ∅(r) = h2(r))) ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ r ∈ ∅; (s)

Proof step 40 from proof map-del-sharing (previous step) (back to tree)

h0 ∪ h2 = (∅ ++ r)(r := o), r ≠ null, h0 ⊥ h2, h0 ⊥ h1, h1 ⊥ h2, hP(h1 ∪ h2), r0 ∈ h2, ¬ r ∈ h2 ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap, name:ext, seq: ⊦ h0 = h1 ↔ (∀ r. (r ∈ h0 ↔ r ∈ h1) ∧ (r ∈ h0 → h0(r) = h1(r))), subst:[h0, h1] → [h0 ∪ h2, (∅ ++ r)(r := o)]; [A] → [A], lhs:h0 ∪ h2 = (∅ ++ r)(r := o), <all paths>

Additional information

Used terms: h0 ∪ h2, (∅ ++ r)(r := o)

Proof step 41 from proof map-del-sharing (previous step) (back to tree)

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

A spec-lemma

Proof step 42 from proof map-del-sharing (previous step) (back to tree)

r ≠ null, h0 ⊥ h1, h0 ⊥ h2, h1 ⊥ h2, hP(h1 ∪ h2), r0 ∈ h2, ¬ r ∈ h2, ∀ r0. (r0 ∈ h0 ∪ h2 ↔ r0 ∈ (∅ ++ r)(r := o)) ∧ (r0 ∈ h0 ∪ h2 → (h0 ∪ h2)(r0) = (∅ ++ r)(r := o)(r0)) ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: r0 ≠ null, ¬ r0 ∈ h ⊦ r ∈ h ++ r0 ↔ r = r0 ∨ r ∈ h; (s) ⊦ ¬ r ∈ ∅; (s) ⊦ h(r0 := o)(r) = (r = r0 ∧ r0 ∈ h ⊃ o;h(r)); (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) ⊦ r ∈ h(r0 := o) ↔ r ∈ h; (s)

Proof step 43 from proof map-del-sharing (previous step) (back to tree)

r ≠ null, h0 ⊥ h2, h0 ⊥ h1, h1 ⊥ h2, hP(h1 ∪ h2), r0 ∈ h2, ¬ r ∈ h2, ∀ r1. (r1 ∈ h0 ∨ r1 ∈ h2 ↔ r1 = r) ∧ (r1 ∈ h0 ∨ r1 ∈ h2 → (r1 ∈ h0 ⊃ h0(r1);h2(r1)) = (r1 = r ⊃ o;(∅ ++ r)(r1))) ⊦ (hP((h0 ∪ h1 ∪ h2) -- r) ∨ hP(h0 ∪ h1 ∪ h2)) ∧ r ∈ h0 ∪ h1 ∪ h2 ∧ (h0 ∪ h1 ∪ h2)(r) = o

User applied rule all left

And closed the goal!

Rule argument

pos: left 8 terms: r0 abort: F discard: F computed: T

Additional information

Used terms: r0

Proof step 44 from proof map-del-sharing (previous step) (back to tree)

h(r) = o, r ∈ h, hP(h -- r) ∨ hP(h) ⊦ ∃ h0, h1, h2. h0 ⊥ h2 ∧ h0 ⊥ h1 ∧ h1 ⊥ h2 ∧ h = h0 ∪ h1 ∪ h2 ∧ h0 ∪ h2 = (∅ ++ r)(r := o) ∧ r ≠ null ∧ hP(h1 ∪ h2)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ r ∈ h → r ≠ null; (s)

Proof step 45 from proof map-del-sharing (previous step) (back to tree)

r ∈ h, hP(h -- r) ∨ hP(h) ⊦ ∃ h0, h1, h2. h0 ⊥ h2 ∧ h0 ⊥ h1 ∧ h1 ⊥ h2 ∧ h = h0 ∪ h1 ∪ h2 ∧ h0 ∪ h2 = (∅ ++ r)(r := (h0 ∪ h1 ∪ h2)(r)) ∧ hP(h1 ∪ h2)

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 2

Additional information

Proof step 46 from proof map-del-sharing (previous step) (back to tree)

hP(h -- r), r ∈ h ⊦ ∃ h0, h1, h2. h0 ⊥ h2 ∧ h0 ⊥ h1 ∧ h1 ⊥ h2 ∧ h = h0 ∪ h1 ∪ h2 ∧ h0 ∪ h2 = (∅ ++ r)(r := (h0 ∪ h1 ∪ h2)(r)) ∧ hP(h1 ∪ h2)

User applied rule exists right

And closed the goal!

Rule argument

pos: right 1 terms: (∅ ++ r)(r := h(r)), h -- r, ∅ abort: F discard: T computed: F

Additional information

Used simplifier rules: ⊦ ¬ r ∈ ∅; (s) r ≠ null ⊦ (∅ ++ r)(r := o) ⊥ h ↔ ¬ r ∈ h; (s) ⊦ r ∈ h -- r0 ↔ r ≠ r0 ∧ r ∈ h; (s) ⊦ h ⊥ ∅; (s) ⊦ r ∈ h → r ≠ null; (s) r ≠ null ⊦ r ∈ h → (∅ ++ r)(r := h(r)) ∪ (h -- r) = h; (s) ⊦ h0 ∪ ∅ = h0; (s) Used terms: (∅ ++ r)(r := h(r)), h -- r, ∅

Proof step 47 from proof map-del-sharing (previous step) (back to tree)

hP(h), r ∈ h ⊦ ∃ h0, h1, h2. h0 ⊥ h2 ∧ h0 ⊥ h1 ∧ h1 ⊥ h2 ∧ h = h0 ∪ h1 ∪ h2 ∧ h0 ∪ h2 = (∅ ++ r)(r := (h0 ∪ h1 ∪ h2)(r)) ∧ hP(h1 ∪ h2)

User applied rule exists right

And obtained the following new goals

Rule argument

pos: right 1 terms: ∅, h -- r, (∅ ++ r)(r := h(r)) abort: F discard: T computed: F

Additional information

Used terms: ∅, h -- r, (∅ ++ r)(r := h(r))

Proof step 48 from proof map-del-sharing (previous step) (back to tree)

hP(h), r ∈ h ⊦ ∅ ⊥ (∅ ++ r)(r := h(r)) ∧ ∅ ⊥ h -- r ∧ h -- r ⊥ (∅ ++ r)(r := h(r)) ∧ h = ∅ ∪ (h -- r) ∪ (∅ ++ r)(r := h(r)) ∧ ∅ ∪ (∅ ++ r)(r := h(r)) = (∅ ++ r)(r := (∅ ∪ (h -- r) ∪ (∅ ++ r)(r := h(r)))(r)) ∧ hP((h -- r) ∪ (∅ ++ r)(r := h(r)))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ∅ ∪ h = h; (s) ⊦ r ∈ h -- r0 ↔ r ≠ r0 ∧ r ∈ h; (s) ⊦ h ⊥ ∅; (s) r ≠ null, ¬ r ∈ h1 ⊦ h0 ⊥ (h1 ++ r)(r := o) ↔ h0 ⊥ h1 ∧ ¬ r ∈ h0; (s) ⊦ ¬ r ∈ ∅; (s) ⊦ r ∈ h → r ≠ null; (s) ⊦ ∅ ⊥ h; (s)

Proof step 49 from proof map-del-sharing (previous step) (back to tree)

hP(h), r ∈ h ⊦ h = (h -- r) ∪ (∅ ++ r)(r := h(r)) ∧ (∅ ++ r)(r := h(r)) = (∅ ++ r)(r := ((h -- r) ∪ (∅ ++ r)(r := h(r)))(r)) ∧ hP((h -- r) ∪ (∅ ++ r)(r := h(r)))

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: (h -- r) ∪ (∅ ++ r)(r := h(r)) = h

Additional information

Used formulas: (h -- r) ∪ (∅ ++ r)(r := h(r)) = h

Proof step 50 from proof map-del-sharing (previous step) (back to tree)

(h -- r) ∪ (∅ ++ r)(r := h(r)) ≠ h, hP(h), r ∈ h ⊦ h = (h -- r) ∪ (∅ ++ r)(r := h(r)) ∧ (∅ ++ r)(r := h(r)) = (∅ ++ r)(r := ((h -- r) ∪ (∅ ++ r)(r := h(r)))(r)) ∧ hP((h -- r) ∪ (∅ ++ r)(r := h(r)))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 51 from proof map-del-sharing (previous step) (back to tree)

(h -- r) ∪ (∅ ++ r)(r := h(r)) ≠ h, hP(h), r ∈ h ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap, name:ext, seq: ⊦ h0 = h1 ↔ (∀ r. (r ∈ h0 ↔ r ∈ h1) ∧ (r ∈ h0 → h0(r) = h1(r))), subst:[h1, h0] → [(h -- r) ∪ (∅ ++ r)(r := h(r)), h]; [A] → [A], lhs:(h -- r) ∪ (∅ ++ r)(r := h(r)) = h, <all paths>

Additional information

Used terms: (h -- r) ∪ (∅ ++ r)(r := h(r)), h

Proof step 52 from proof map-del-sharing (previous step) (back to tree)

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

A spec-lemma

Proof step 53 from proof map-del-sharing (previous step) (back to tree)

hP(h), r ∈ h, ∃ r0. ¬((r0 ∈ h ↔ r0 ∈ (h -- r) ∪ (∅ ++ r)(r := h(r))) ∧ (r0 ∈ h → h(r0) = ((h -- r) ∪ (∅ ++ r)(r := h(r)))(r0))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 54 from proof map-del-sharing (previous step) (back to tree)

hP(h), r ∈ h ⊦ (r0 ∈ h ↔ r0 ∈ (h -- r) ∪ (∅ ++ r)(r := h(r))) ∧ (r0 ∈ h → h(r0) = ((h -- r) ∪ (∅ ++ r)(r := h(r)))(r0))

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heapfuns, name:in-uni, seq: ⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1), subst:[r, h0, h1] → [r0, h -- r, (∅ ++ r)(r := h(r))]; [A] → [A], lhs:r0 ∈ (h -- r) ∪ (∅ ++ r)(r := h(r)), <all paths>

Additional information

Used simplifier rules: ⊦ r ∈ h → r ≠ null; (s) ⊦ ¬ r ∈ ∅; (s) r ≠ null, ¬ r ∈ h1 ⊦ h0 ⊥ (h1 ++ r)(r := o) ↔ h0 ⊥ h1 ∧ ¬ r ∈ h0; (s) ⊦ h ⊥ ∅; (s) ⊦ r ∈ h -- r0 ↔ r ≠ r0 ∧ r ∈ h; (s) Used terms: r0, h -- r, (∅ ++ r)(r := h(r))

Proof step 55 from proof map-del-sharing (previous step) (back to tree)

⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1)

A spec-lemma

Proof step 56 from proof map-del-sharing (previous step) (back to tree)

h -- r ⊥ (∅ ++ r)(r := h(r)), hP(h), r ∈ h ⊦ (r0 ∈ h ↔ r0 ∈ h -- r ∨ r0 ∈ (∅ ++ r)(r := h(r))) ∧ (r0 ∈ h → h(r0) = ((h -- r) ∪ (∅ ++ r)(r := h(r)))(r0))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 57 from proof map-del-sharing (previous step) (back to tree)

h(r0) ≠ ((h -- r) ∪ (∅ ++ r)(r := h(r)))(r0), hP(h), r ∈ h, r0 ∈ h ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heapfuns, name:at-uni, seq:r ∈ h0 ∪ h1 ⊦ h0 ⊥ h1 → (h0 ∪ h1)(r) = (r ∈ h0 ⊃ h0(r);h1(r)), subst:[h0, h1, r] → [h -- r, (∅ ++ r)(r := h(r)), r0]; [A] → [A], lhs:((h -- r) ∪ (∅ ++ r)(r := h(r)))(r0), <all paths>

Additional information

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

Proof step 58 from proof map-del-sharing (previous step) (back to tree)

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

A spec-lemma

Proof step 59 from proof map-del-sharing (previous step) (back to tree)

h(r0) ≠ (r0 ∈ h -- r ⊃ (h -- r)(r0);(∅ ++ r)(r := h(r))(r0)), h -- r ⊥ (∅ ++ r)(r := h(r)), hP(h), r ∈ h, r0 ∈ h, r0 ∈ (h -- r) ∪ (∅ ++ r)(r := h(r)) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ r ∈ h -- r0 ↔ r ≠ r0 ∧ r ∈ h; (s) ⊦ h ⊥ ∅; (s) r ≠ null, ¬ r ∈ h1 ⊦ h0 ⊥ (h1 ++ r)(r := o) ↔ h0 ⊥ h1 ∧ ¬ r ∈ h0; (s) ⊦ ¬ r ∈ ∅; (s) ⊦ r ∈ h → r ≠ null; (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) r ∈ h ⊦ r ≠ r0 → (h -- r0)(r) = h(r); (s)

Proof step 60 from proof map-del-sharing (previous step) (back to tree)

h(r0) ≠ (r0 ≠ r ⊃ h(r0);h(r)), hP(h), r ∈ h, r0 ∈ (h -- r) ∪ (∅ ++ r)(r := h(r)), r0 ∈ h ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heapfuns, name:in-uni, seq: ⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1), subst:[r, h0, h1] → [r0, h -- r, (∅ ++ r)(r := h(r))]; [A] → [A], lhs:r0 ∈ (h -- r) ∪ (∅ ++ r)(r := h(r)), <all paths>

Additional information

Used simplifier rules: ⊦ r ∈ h → r ≠ null; (s) ⊦ ¬ r ∈ ∅; (s) r ≠ null, ¬ r ∈ h1 ⊦ h0 ⊥ (h1 ++ r)(r := o) ↔ h0 ⊥ h1 ∧ ¬ r ∈ h0; (s) ⊦ h ⊥ ∅; (s) ⊦ r ∈ h -- r0 ↔ r ≠ r0 ∧ r ∈ h; (s) Used terms: r0, h -- r, (∅ ++ r)(r := h(r))

Proof step 61 from proof map-del-sharing (previous step) (back to tree)

⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1)

A spec-lemma

Proof Tree for map-del-sharing (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