[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 modnotreachable-reachable (conclusion) (back to tree)

⊦ reachable(r, r0, h) ∧ ¬ reachable(r, r1, h) → (reachable(r, r0, h[r1 := ce]) ↔ true)

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof modnotreachable-reachable (previous step) (back to tree)

¬(reachable(r, r0, h[r1 := ce]) ↔ true), reachable(r, r0, h), ¬ reachable(r, r1, h) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 3 from proof modnotreachable-reachable (previous step) (back to tree)

reachable(r, r0, h), ¬ reachable(r, r1, h), ¬ reachable(r, r0, h[r1 := ce]) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:reachable-def, seq: ⊦ reachable(r, r0, h) ↔ (∃ x. path(r ' + x, h) ∧ (r ' + x).last = r0), subst:[h, r0, r] → [h, r0, r], <all paths>

Additional information

Used terms: h, r0, r

Proof step 4 from proof modnotreachable-reachable (previous step) (back to tree)

⊦ reachable(r, r0, h) ↔ (∃ x. path(r ' + x, h) ∧ (r ' + x).last = r0)

Lemma reachable-def

Proof step 5 from proof modnotreachable-reachable (previous step) (back to tree)

¬ reachable(r, r1, h), ¬ reachable(r, r0, h[r1 := ce]), ∃ x. path(r ' + x, h) ∧ (r ' + x).last = r0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 6 from proof modnotreachable-reachable (previous step) (back to tree)

path(r ' + x, h), ¬ reachable(r, r1, h), ¬ reachable(r, (r ' + x).last, h[r1 := ce]) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:reachable-def, seq: ⊦ reachable(r, r0, h) ↔ (∃ x. path(r ' + x, h) ∧ (r ' + x).last = r0), subst:[h, r0, r] → [h[r1 := ce], (r ' + x).last, r], <all paths>

Additional information

Used terms: h[r1 := ce], (r ' + x).last, r

Proof step 7 from proof modnotreachable-reachable (previous step) (back to tree)

⊦ reachable(r, r0, h) ↔ (∃ x. path(r ' + x, h) ∧ (r ' + x).last = r0)

Lemma reachable-def

Proof step 8 from proof modnotreachable-reachable (previous step) (back to tree)

path(r ' + x, h), ¬ reachable(r, r1, h), ∀ x0. ¬(path(r ' + x0, h[r1 := ce]) ∧ (r ' + x0).last = (r ' + x).last) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 3 terms: x abort: F discard: T computed: T

Additional information

Used terms: x

Proof step 9 from proof modnotreachable-reachable (previous step) (back to tree)

path(r ' + x, h), ¬ reachable(r, r1, h) ⊦ path(r ' + x, h[r1 := ce]) ∧ (r ' + x).last = (r ' + x).last

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 10 from proof modnotreachable-reachable (previous step) (back to tree)

path(r ' + x, h), ¬ path(r ' + x, h[r1 := ce]), ¬ reachable(r, r1, h) ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

indvar: x

Additional information

Used simplifier rules: path-one: ⊦ path(r ', h) ↔ r ∈ h ∧ r ≠ null; list('a) freely generated by [], +;; ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification polylist ⊦ a ∈ st[b := d] ↔ a = b ∨ a ∈ st; (ws)

Proof step 11 from proof modnotreachable-reachable (previous step) (back to tree)

path(r ' + (r0 + x0), h), ¬ path(r ' + (r0 + x0), h[r1 := ce]), ¬ reachable(r, r1, h), ∀ r, h, r1, ce. ¬(path(r ' + x0, h) ∧ ¬ path(r ' + x0, h[r1 := ce]) ∧ ¬ reachable(r, r1, h)) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: path-cons: ⊦ path(r ' + r0 ' + x, h) ↔ r ∈ h ∧ r ≠ null ∧ h[r].nxt = r0 ∧ path(r0 ' + x, h); ⊦ a ∈ st[b := d] ↔ a = b ∨ a ∈ st; (ws) a: ⊦ (x + y) + z = x + y + z; from specification polylist ⊦ a + x = a ' + x; (s)

Proof step 12 from proof modnotreachable-reachable (previous step) (back to tree)

r ≠ null, path(h[r].nxt ' + x0, h), r ∈ h, r ∈ h[r1 := ce], ¬ reachable(r, r1, h), ∀ r2, h0, r3, ce0. ¬ path(r2 ' + x0, h0) ∨ path(r2 ' + x0, h0[r3 := ce0]) ∨ reachable(r2, r3, h0) ⊦ path((h[r1 := ce])[r].nxt ' + x0, h[r1 := ce]) ∧ (h[r1 := ce])[r].nxt = h[r].nxt

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: polystore, name:At-other, seq: ⊦ a ≠ b → (st[b := d])[a] = st[a], subst:[a, d, b, st] → [r, ce, r1, h]; ['a, 'b] → [Ref, cell], <all paths>

Additional information

Used simplifier rules: self-reachable: ⊦ reachable(r, r, h) ↔ r ≠ null ∧ r ∈ h; Used terms: r, ce, r1, h

Proof step 13 from proof modnotreachable-reachable (previous step) (back to tree)

⊦ a ≠ b → (st[b := d])[a] = st[a]

A spec-lemma

Proof step 14 from proof modnotreachable-reachable (previous step) (back to tree)

r ≠ r1, r ≠ null, path(h[r].nxt ' + x0, h), r ∈ h[r1 := ce], r ∈ h, ¬ reachable(r, r1, h), ∀ r2, h0, r3, ce0. ¬ path(r2 ' + x0, h0) ∨ path(r2 ' + x0, h0[r3 := ce0]) ∨ reachable(r2, r3, h0) ⊦ path(h[r].nxt ' + x0, h[r1 := ce]) ∧ h[r].nxt = h[r].nxt

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 15 from proof modnotreachable-reachable (previous step) (back to tree)

r ≠ r1, r ≠ null, path(h[r].nxt ' + x0, h), r ∈ h, r ∈ h[r1 := ce], ¬ path(h[r].nxt ' + x0, h[r1 := ce]), ¬ reachable(r, r1, h), ∀ r2, h0, r3, ce0. ¬ path(r2 ' + x0, h0) ∨ path(r2 ' + x0, h0[r3 := ce0]) ∨ reachable(r2, r3, h0) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 8 terms: h[r].nxt, h, r1, ce

Additional information

Used simplifier rules: fromnext-reachable-rev: ⊦ reachable(h[r].nxt, r0, h) ∧ r ≠ r0 ∧ r ≠ null ∧ r ∈ h → (reachable(r, r0, h) ↔ true); ⊦ a ≠ b → (a ∈ st[b := d] ↔ a ∈ st); (s) Used terms: h[r].nxt, h, r1, ce

Proof Tree for modnotreachable-reachable (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