[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 mod-other-hp2 (conclusion) (back to tree)

⊦ g(r) ≠ a ∧ g(r) ≠ a0 ∧ (a[hP] * a0[hP0] * hR)[rs, f, g] → (a[hP] * a0[hP0] * true)[rs, f(r; o), g]

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof mod-other-hp2 (previous step) (back to tree)

g(r) ≠ a0, g(r) ≠ a, (a[hP] * a0[hP0] * hR)[rs, f, g], ¬ (a[hP] * a0[hP0] * true)[rs, f(r; o), g] ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:sep, seq:⊦ (hR0 * hR1)[rs, f, g] ↔ (∃ rs0, rs1. rs0 ∪ rs1 = rs ∧ rs0 ∩ rs1 = ∅ ∧ hR0[rs0, f, g] ∧ hR1[rs1, f, g]), subst:[rs, hR1, g, hR0, f] → [rs, a0[hP0] * hR, g, a[hP], f], <all paths>

Additional information

Used terms: rs, a0[hP0] * hR, g, a[hP], f

Proof step 3 from proof mod-other-hp2 (previous step) (back to tree)

⊦ (hR0 * hR1)[rs, f, g] ↔ (∃ rs0, rs1. rs0 ∪ rs1 = rs ∧ rs0 ∩ rs1 = ∅ ∧ hR0[rs0, f, g] ∧ hR1[rs1, f, g])

A spec-lemma

Proof step 4 from proof mod-other-hp2 (previous step) (back to tree)

g(r) ≠ a0, g(r) ≠ a, ¬ (a[hP] * a0[hP0] * true)[rs, f(r; o), g], ∃ rs0, rs1. rs0 ∪ rs1 = rs ∧ rs0 ∩ rs1 = ∅ ∧ a[hP][rs0, f, g] ∧ (a0[hP0] * hR)[rs1, f, g] ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 5 from proof mod-other-hp2 (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a0, g(r) ≠ a, a[hP][rs0, f, g], (a0[hP0] * hR)[rs1, f, g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs1, f(r; o), g] ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:sep, seq:⊦ (hR0 * hR1)[rs, f, g] ↔ (∃ rs0, rs1. rs0 ∪ rs1 = rs ∧ rs0 ∩ rs1 = ∅ ∧ hR0[rs0, f, g] ∧ hR1[rs1, f, g]), subst:[rs, hR1, g, hR0, f] → [rs1, hR, g, a0[hP0], f], <all paths>

Additional information

Used terms: rs1, hR, g, a0[hP0], f

Proof step 6 from proof mod-other-hp2 (previous step) (back to tree)

⊦ (hR0 * hR1)[rs, f, g] ↔ (∃ rs0, rs1. rs0 ∪ rs1 = rs ∧ rs0 ∩ rs1 = ∅ ∧ hR0[rs0, f, g] ∧ hR1[rs1, f, g])

A spec-lemma

Proof step 7 from proof mod-other-hp2 (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a0, g(r) ≠ a, a[hP][rs0, f, g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs1, f(r; o), g], ∃ rs0, rs2. rs0 ∪ rs2 = rs1 ∧ rs0 ∩ rs2 = ∅ ∧ a0[hP0][rs0, f, g] ∧ hR[rs2, f, g] ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: int-c: ⊦ s ∩ s0 = s0 ∩ s; from specification set-union[refset] int-a: ⊦ (s ∩ s0) ∩ s1 = s ∩ s0 ∩ s1; from specification set-union[refset] unc: ⊦ s ∪ s0 = s0 ∪ s; from specification set-union[refset] una: ⊦ (s ∪ s0) ∪ s1 = s ∪ s0 ∪ s1; from specification set-union[refset] ⊦ s ∩ (s0 ∪ s1) = ∅ ↔ s ∩ s0 = ∅ ∧ s ∩ s1 = ∅; (ws)

Proof step 8 from proof mod-other-hp2 (previous step) (back to tree)

rs ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs0 ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a0[hP0][rs, f, g], hR[rs2, f, g], a[hP][rs0, f, g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g] ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:split-uni, seq:⊦ hR0[rs0, f, g] ∧ hR1[rs1, f, g] ∧ rs0 ∩ rs1 = ∅ → (hR0 * hR1)[rs0 ∪ rs1, f, g], subst:[rs0, hR1, g, hR0, f, rs1] → [rs0, a0[hP0] * true, g, a[hP], f(r; o), rs ∪ rs2], <all paths>

Additional information

Used terms: rs0, a0[hP0] * true, g, a[hP], f(r; o), rs ∪ rs2

Proof step 9 from proof mod-other-hp2 (previous step) (back to tree)

⊦ hR0[rs0, f, g] ∧ hR1[rs1, f, g] ∧ rs0 ∩ rs1 = ∅ → (hR0 * hR1)[rs0 ∪ rs1, f, g]

A spec-lemma

Proof step 10 from proof mod-other-hp2 (previous step) (back to tree)

rs0 ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a[hP][rs0, f, g], hR[rs2, f, g], a0[hP0][rs, f, g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g] ⊦ a[hP][rs0, f(r; o), g] ∧ (a0[hP0] * true)[rs ∪ rs2, f(r; o), g] ∧ rs0 ∩ (rs ∪ rs2) = ∅

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: int-c: ⊦ s ∩ s0 = s0 ∩ s; from specification set-union[refset] int-a: ⊦ (s ∩ s0) ∩ s1 = s ∩ s0 ∩ s1; from specification set-union[refset] unc: ⊦ s ∪ s0 = s0 ∪ s; from specification set-union[refset] una: ⊦ (s ∪ s0) ∪ s1 = s ∪ s0 ∪ s1; from specification set-union[refset] ⊦ s ∩ (s0 ∪ s1) = ∅ ↔ s ∩ s0 = ∅ ∧ s ∩ s1 = ∅; (ws)

Proof step 11 from proof mod-other-hp2 (previous step) (back to tree)

rs ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs0 ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a0[hP0][rs, f, g], hR[rs2, f, g], a[hP][rs0, f, g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g] ⊦ a[hP][rs0, f(r; o), g] ∧ (a0[hP0] * true)[rs ∪ rs2, f(r; o), g]

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 12 from proof mod-other-hp2 (previous step) (back to tree)

rs0 ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a[hP][rs0, f, g], hR[rs2, f, g], a0[hP0][rs, f, g], ¬ a[hP][rs0, f(r; o), g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g] ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:apply, seq: ⊦ hR[rs, f, g] ↔ hR(mk(rs, f, g)), subst:[g, f, rs, hR] → [g, f, rs0, a[hP]], <all paths>

Additional information

Used terms: g, f, rs0, a[hP]

Proof step 13 from proof mod-other-hp2 (previous step) (back to tree)

⊦ hR[rs, f, g] ↔ hR(mk(rs, f, g))

A spec-lemma

Proof step 14 from proof mod-other-hp2 (previous step) (back to tree)

rs ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs0 ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a0[hP0][rs, f, g], hR[rs2, f, g], a[hP](mk(rs0, f, g)), ¬ a[hP][rs0, f(r; o), g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g] ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:lift-aux, seq: ⊦ a[hP](mk(rs, f, g)) ↔ hP(mk(rs, f)) ∧ (∀ r. r ∈ rs → g(r) = a), subst:[a, hP, rs, g, f] → [a, hP, rs0, g, f], <all paths>

Additional information

Used terms: a, hP, rs0, g, f

Proof step 15 from proof mod-other-hp2 (previous step) (back to tree)

⊦ a[hP](mk(rs, f, g)) ↔ hP(mk(rs, f)) ∧ (∀ r. r ∈ rs → g(r) = a)

Lemma lift-aux

Proof step 16 from proof mod-other-hp2 (previous step) (back to tree)

rs0 ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, hR[rs2, f, g], a0[hP0][rs, f, g], hP(mk(rs0, f)), ¬ a[hP][rs0, f(r; o), g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g], ∀ r. r ∈ rs0 → g(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 17 from proof mod-other-hp2 (previous step) (back to tree)

rs ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs0 ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a0[hP0][rs, f, g], hR[rs2, f, g], hP(mk(rs0, f)), ¬ a[hP][rs0, f(r; o), g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g], ∀ r. r ∈ rs0 → g(r) = a ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:apply, seq: ⊦ hR[rs, f, g] ↔ hR(mk(rs, f, g)), subst:[g, f, rs, hR] → [g, f(r; o), rs0, a[hP]], <all paths>

Additional information

Used terms: g, f(r; o), rs0, a[hP]

Proof step 18 from proof mod-other-hp2 (previous step) (back to tree)

⊦ hR[rs, f, g] ↔ hR(mk(rs, f, g))

A spec-lemma

Proof step 19 from proof mod-other-hp2 (previous step) (back to tree)

rs0 ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, hR[rs2, f, g], a0[hP0][rs, f, g], hP(mk(rs0, f)), ¬ a[hP](mk(rs0, f(r; o), g)), ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g], ∀ r. r ∈ rs0 → g(r) = a ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:lift-aux, seq: ⊦ a[hP](mk(rs, f, g)) ↔ hP(mk(rs, f)) ∧ (∀ r. r ∈ rs → g(r) = a), subst:[a, hP, rs, g, f] → [a, hP, rs0, g, f(r; o)], <all paths>

Additional information

Used terms: a, hP, rs0, g, f(r; o)

Proof step 20 from proof mod-other-hp2 (previous step) (back to tree)

⊦ a[hP](mk(rs, f, g)) ↔ hP(mk(rs, f)) ∧ (∀ r. r ∈ rs → g(r) = a)

Lemma lift-aux

Proof step 21 from proof mod-other-hp2 (previous step) (back to tree)

rs ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs0 ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a0[hP0][rs, f, g], hR[rs2, f, g], hP(mk(rs0, f)), ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g], ∀ r. r ∈ rs0 → g(r) = a, ¬ hP(mk(rs0, f(r; o))) ∨ (∃ r. ¬(r ∈ rs0 → g(r) = a)) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 22 from proof mod-other-hp2 (previous step) (back to tree)

rs0 ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, hR[rs2, f, g], a0[hP0][rs, f, g], hP(mk(rs0, f)), ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g], ∀ r. r ∈ rs0 → g(r) = a, ¬ hP(mk(rs0, f(r; o))) ∨ ¬(r0 ∈ rs0 → g(r0) = a) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 10 terms: r abort: F discard: F computed: T

Additional information

Used terms: r

Proof step 23 from proof mod-other-hp2 (previous step) (back to tree)

rs ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs0 ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a0[hP0][rs, f, g], hR[rs2, f, g], hP(mk(rs0, f)), ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g], r ∈ rs0 → g(r) = a, ∀ r. r ∈ rs0 → g(r) = a, ¬ hP(mk(rs0, f(r; o))) ∨ ¬(r0 ∈ rs0 → g(r0) = a) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 24 from proof mod-other-hp2 (previous step) (back to tree)

rs0 ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, hR[rs2, f, g], a0[hP0][rs, f, g], hP(mk(rs0, f)), ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g], ¬ r ∈ rs0, ∀ r. r ∈ rs0 → g(r) = a, ¬ hP(mk(rs0, f(r; o))) ∨ ¬(r0 ∈ rs0 → g(r0) = a) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: mk(rs0, f(r; o)) = mk(rs0, f)

Additional information

Used formulas: mk(rs0, f(r; o)) = mk(rs0, f)

Proof step 25 from proof mod-other-hp2 (previous step) (back to tree)

mk(rs0, f(r; o)) = mk(rs0, f), rs ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs0 ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a0[hP0][rs, f, g], hR[rs2, f, g], hP(mk(rs0, f)), ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g], ¬ r ∈ rs0, ∀ r. r ∈ rs0 → g(r) = a, ¬ hP(mk(rs0, f(r; o))) ∨ ¬(r0 ∈ rs0 → g(r0) = a) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 26 from proof mod-other-hp2 (previous step) (back to tree)

mk(rs0, f(r; o)) = mk(rs0, f), rs ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs0 ∩ rs2 = ∅, g(r) ≠ a, g(r) ≠ a0, g(r0) ≠ a, a0[hP0][rs, f, g], hR[rs2, f, g], hP(mk(rs0, f)), r0 ∈ rs0, ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g], ¬ r ∈ rs0, ∀ r. r ∈ rs0 → g(r) = a ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 14 terms: r0

Additional information

Used terms: r0

Proof step 27 from proof mod-other-hp2 (previous step) (back to tree)

rs ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs0 ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, mk(rs0, f(r; o)) ≠ mk(rs0, f), a0[hP0][rs, f, g], hR[rs2, f, g], hP(mk(rs0, f)), ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g], ¬ r ∈ rs0, ∀ r. r ∈ rs0 → g(r) = a, ¬ hP(mk(rs0, f(r; o))) ∨ ¬(r0 ∈ rs0 → g(r0) = a) ⊦

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] → [mk(rs0, f), mk(rs0, f(r; o))], <all paths>

Additional information

Used simplifier rules: ⊦ r ∈ mk(rs, f) ↔ r ∈ rs; (s) ⊦ r ∈ rs → mk(rs, f)[r] = f(r); (s) Used terms: mk(rs0, f), mk(rs0, f(r; o))

Proof step 28 from proof mod-other-hp2 (previous step) (back to tree)

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

A spec-lemma

Proof step 29 from proof mod-other-hp2 (previous step) (back to tree)

rs0 ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a[hP][rs0, f, g], hR[rs2, f, g], a0[hP0][rs, f, g], ¬ (a0[hP0] * true)[rs ∪ rs2, f(r; o), g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g] ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:mod-other-hp, seq: ⊦ g(r) ≠ a ∧ (a[hP] * hR)[rs, f, g] → (a[hP] * true)[rs, f(r; o), g], subst:[hR, r, a, hP, rs, g, f, o] → [true, r, a0, hP0, rs ∪ rs2, g, f, o], <all paths>

Additional information

Used terms: true, r, a0, hP0, rs ∪ rs2, g, f, o

Proof step 30 from proof mod-other-hp2 (previous step) (back to tree)

⊦ g(r) ≠ a ∧ (a[hP] * hR)[rs, f, g] → (a[hP] * true)[rs, f(r; o), g]

Lemma mod-other-hp

Proof step 31 from proof mod-other-hp2 (previous step) (back to tree)

rs ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs0 ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a0[hP0][rs, f, g], hR[rs2, f, g], a[hP][rs0, f, g], ¬ (a0[hP0] * true)[rs ∪ rs2, f(r; o), g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g] ⊦ g(r) ≠ a0 ∧ (a0[hP0] * true)[rs ∪ rs2, f, g]

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 32 from proof mod-other-hp2 (previous step) (back to tree)

rs0 ∩ rs2 = ∅, rs0 ∩ rs = ∅, rs ∩ rs2 = ∅, g(r) ≠ a0, g(r) ≠ a, a[hP][rs0, f, g], hR[rs2, f, g], a0[hP0][rs, f, g], ¬ (a0[hP0] * true)[rs ∪ rs2, f(r; o), g], ¬ (a[hP] * a0[hP0] * true)[rs0 ∪ rs ∪ rs2, f(r; o), g], ¬ (a0[hP0] * true)[rs ∪ rs2, f, g] ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:split-uni, seq:⊦ hR0[rs0, f, g] ∧ hR1[rs1, f, g] ∧ rs0 ∩ rs1 = ∅ → (hR0 * hR1)[rs0 ∪ rs1, f, g], subst:[rs0, hR1, g, hR0, f, rs1] → [rs, true, g, a0[hP0], f, rs2], <all paths>

Additional information

Used simplifier rules: ⊦ true[rs, f, g]; (s) Used terms: rs, true, g, a0[hP0], f, rs2

Proof step 33 from proof mod-other-hp2 (previous step) (back to tree)

⊦ hR0[rs0, f, g] ∧ hR1[rs1, f, g] ∧ rs0 ∩ rs1 = ∅ → (hR0 * hR1)[rs0 ∪ rs1, f, g]

A spec-lemma

Proof Tree for mod-other-hp2 (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