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

⊦ r ≠ null ∧ ce.nxt ≠ r → (reachable(r, r0, h[r := ce]) ↔ r = r0 ∨ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, r0, h[r := ce]))

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, ¬(reachable(r, r0, h[r := ce]) ↔ r = r0 ∨ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, r0, h[r := ce])), r ≠ null ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 3 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, ¬(reachable(r, r0, h[r := ce]) ↔ r = r0 ∨ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, r0, h[r := ce])), r ≠ null ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 2

Additional information

Proof step 4 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, r ≠ r0, r ≠ null, reachable(r, r0, h[r := ce]) ⊦ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, r0, h[r := ce])

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 5 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, r ≠ r0, r ≠ null, reachable(r, r0, h[r := ce]) ⊦ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, r0, h[r := 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[r := ce], r0, r], <all paths>

Additional information

Used terms: h[r := ce], r0, r

Proof step 6 from proof frommodified (previous step) (back to tree)

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

Lemma reachable-def

Proof step 7 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, r ≠ r0, r ≠ null, ∃ x. path(r ' + x, h[r := ce]) ∧ (r ' + x).last = r0 ⊦ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, r0, h[r := ce])

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 8 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, r ≠ (r ' + x).last, r ≠ null, path(r ' + x, h[r := ce]) ⊦ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, (r ' + x).last, h[r := ce])

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: x

Additional information

Used simplifier rules: list('a) freely generated by [], +;; ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification polylist ⊦ a '.last = a; (s)

Proof step 9 from proof frommodified (previous step) (back to tree)

x = r0 + x0, ce.nxt ≠ r, r ≠ (r ' + x).last, r ≠ null, path(r ' + x, h[r := ce]) ⊦ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, (r ' + x).last, h[r := ce])

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: ⊦ (x + y) + z = x + y + z; from specification polylist ⊦ (b ' + a ' + x).last = (a ' + x).last; (s) ⊦ a + x = a ' + x; (s) ⊦ (st[a := d])[a] = d; (s) ⊦ a ∈ st[a := d]; (s)

Proof step 10 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, r ≠ (ce.nxt ' + x0).last, r ≠ null, path(ce.nxt ' + x0, h[r := ce]) ⊦ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, (ce.nxt ' + x0).last, h[r := ce])

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: ce.nxt ≠ null ∧ ce.nxt ∈ h

Additional information

Used formulas: ce.nxt ≠ null ∧ ce.nxt ∈ h

Proof step 11 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ null, ce.nxt ≠ r, r ≠ (ce.nxt ' + x0).last, r ≠ null, path(ce.nxt ' + x0, h[r := ce]), ce.nxt ∈ h ⊦ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, (ce.nxt ' + x0).last, h[r := ce])

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 12 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ null, ce.nxt ≠ r, r ≠ (ce.nxt ' + x0).last, r ≠ null, path(ce.nxt ' + x0, h[r := ce]), ce.nxt ∈ h, ¬ reachable(ce.nxt, (ce.nxt ' + x0).last, h[r := 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[r := ce], (ce.nxt ' + x0).last, ce.nxt], <all paths>

Additional information

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

Proof step 13 from proof frommodified (previous step) (back to tree)

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

Lemma reachable-def

Proof step 14 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ null, ce.nxt ≠ r, r ≠ (ce.nxt ' + x0).last, r ≠ null, path(ce.nxt ' + x0, h[r := ce]), ce.nxt ∈ h, ∀ x. ¬(path(ce.nxt ' + x, h[r := ce]) ∧ (ce.nxt ' + x).last = (ce.nxt ' + x0).last) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 15 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ null, ce.nxt ≠ r, r ≠ (ce.nxt ' + x0).last, r ≠ null, path(ce.nxt ' + x0, h[r := ce]), ce.nxt ∈ h, ∀ x. ¬ path(ce.nxt ' + x, h[r := ce]) ∨ (ce.nxt ' + x).last ≠ (ce.nxt ' + x0).last ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 7 terms: x0

Additional information

Used terms: x0

Proof step 16 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, r ≠ (ce.nxt ' + x0).last, r ≠ null, path(ce.nxt ' + x0, h[r := ce]) ⊦ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, (ce.nxt ' + x0).last, h[r := ce]), ce.nxt ≠ null ∧ ce.nxt ∈ h

User applied rule constructor cut

And closed the goal!

Rule argument

var: x0

Additional information

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

Proof step 17 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, r ≠ null, ¬ reachable(r, r0, h[r := ce]), r = r0 ∨ ce.nxt ≠ null ∧ ce.nxt ∈ h ∧ reachable(ce.nxt, r0, h[r := ce]) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: self-reachable: ⊦ reachable(r, r, h) ↔ r ≠ null ∧ r ∈ h; ⊦ a ∈ st[a := d]; (s)

Proof step 18 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, ce.nxt ≠ null, r ≠ null, r ≠ r0, reachable(ce.nxt, r0, h[r := ce]), ce.nxt ∈ h, ¬ reachable(r, r0, h[r := 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[r := ce], r0, ce.nxt], <all paths>

Additional information

Used terms: h[r := ce], r0, ce.nxt

Proof step 19 from proof frommodified (previous step) (back to tree)

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

Lemma reachable-def

Proof step 20 from proof frommodified (previous step) (back to tree)

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

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 21 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, ce.nxt ≠ null, r ≠ null, r ≠ (ce.nxt ' + x).last, path(ce.nxt ' + x, h[r := ce]), ce.nxt ∈ h, ¬ reachable(r, (ce.nxt ' + x).last, h[r := ce]) ⊦

Heuristic weak cut applied rule cut formula

And obtained the following new goals

Rule argument

fma: x = []

Additional information

Used formulas: x = []

Proof step 22 from proof frommodified (previous step) (back to tree)

x = [], ce.nxt ≠ r, ce.nxt ≠ null, r ≠ null, r ≠ (ce.nxt ' + x).last, path(ce.nxt ' + x, h[r := ce]), ce.nxt ∈ h, ¬ reachable(r, (ce.nxt ' + x).last, h[r := ce]) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 23 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ null, r ≠ null, r ≠ ce.nxt, ce.nxt ∈ h, ¬ reachable(r, ce.nxt, h[r := 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[r := ce], ce.nxt, r], <all paths>

Additional information

Used terms: h[r := ce], ce.nxt, r

Proof step 24 from proof frommodified (previous step) (back to tree)

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

Lemma reachable-def

Proof step 25 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ null, r ≠ null, r ≠ ce.nxt, ce.nxt ∈ h, ∀ x. ¬(path(r ' + x, h[r := ce]) ∧ (r ' + x).last = ce.nxt) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 26 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ null, r ≠ null, r ≠ ce.nxt, ce.nxt ∈ h, ∀ x. ¬ path(r ' + x, h[r := ce]) ∨ (r ' + x).last ≠ ce.nxt ⊦

User applied rule all left

And closed the goal!

Rule argument

pos: left 5 terms: ce.nxt ' abort: F discard: T computed: F

Additional information

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

Proof step 27 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, ce.nxt ≠ null, r ≠ null, r ≠ (ce.nxt ' + x).last, x ≠ [], path(ce.nxt ' + x, h[r := ce]), ce.nxt ∈ h, ¬ reachable(r, (ce.nxt ' + x).last, h[r := ce]) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification polylist ⊦ x ≠ [] → (a ' + x).last = x.last; (s)

Proof step 28 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, ce.nxt ≠ null, r ≠ null, r ≠ x.last, x ≠ [], path(ce.nxt ' + x, h[r := ce]), ce.nxt ∈ h, ¬ reachable(r, x.last, h[r := 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[r := ce], x.last, r], <all paths>

Additional information

Used terms: h[r := ce], x.last, r

Proof step 29 from proof frommodified (previous step) (back to tree)

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

Lemma reachable-def

Proof step 30 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, ce.nxt ≠ null, r ≠ null, r ≠ x.last, x ≠ [], path(ce.nxt ' + x, h[r := ce]), ce.nxt ∈ h, ∀ x0. ¬(path(r ' + x0, h[r := ce]) ∧ (r ' + x0).last = x.last) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 31 from proof frommodified (previous step) (back to tree)

ce.nxt ≠ r, ce.nxt ≠ null, r ≠ null, r ≠ x.last, x ≠ [], path(ce.nxt ' + x, h[r := ce]), ce.nxt ∈ h, ∀ x0. ¬ path(r ' + x0, h[r := ce]) ∨ (r ' + x0).last ≠ x.last ⊦

User applied rule all left

And closed the goal!

Rule argument

pos: left 8 terms: ce.nxt + x abort: F discard: T computed: F

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[a := d]; (s) ⊦ (st[a := d])[a] = d; (s) ⊦ a + x = a ' + x; (s) ⊦ y ≠ [] → (a ' + x + y).last = y.last; (s) a: ⊦ (x + y) + z = x + y + z; from specification polylist Used terms: ce.nxt + x

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