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

⊦ a[hP0 * hP1] = a[hP0] * a[hP1]

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof embed-split (previous step) (back to tree)

a[hP0 * hP1] ≠ a[hP0] * a[hP1] ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:mk-ext, seq: ⊦ hR0 = hR1 ↔ (∀ rs, f, g. hR0[rs, f, g] ↔ hR1[rs, f, g]), subst:[hR1, hR0] → [a[hP0] * a[hP1], a[hP0 * hP1]], <all paths>

Additional information

Used terms: a[hP0] * a[hP1], a[hP0 * hP1]

Proof step 3 from proof embed-split (previous step) (back to tree)

⊦ hR0 = hR1 ↔ (∀ rs, f, g. hR0[rs, f, g] ↔ hR1[rs, f, g])

A spec-lemma

Proof step 4 from proof embed-split (previous step) (back to tree)

∃ rs, f, g. ¬(a[hP0 * hP1][rs, f, g] ↔ (a[hP0] * a[hP1])[rs, f, g]) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 5 from proof embed-split (previous step) (back to tree)

¬(a[hP0 * hP1][rs, f, g] ↔ (a[hP0] * a[hP1])[rs, f, 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, rs, a[hP0 * hP1]], <all paths>

Additional information

Used terms: g, f, rs, a[hP0 * hP1]

Proof step 6 from proof embed-split (previous step) (back to tree)

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

A spec-lemma

Proof step 7 from proof embed-split (previous step) (back to tree)

¬(a[hP0 * hP1](mk(rs, f, g)) ↔ (a[hP0] * a[hP1])[rs, f, 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, rs, a[hP0] * a[hP1]], <all paths>

Additional information

Used terms: g, f, rs, a[hP0] * a[hP1]

Proof step 8 from proof embed-split (previous step) (back to tree)

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

A spec-lemma

Proof step 9 from proof embed-split (previous step) (back to tree)

¬(a[hP0 * hP1](mk(rs, f, g)) ↔ ((a[hP0] * a[hP1]))(mk(rs, f, g))) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 10 from proof embed-split (previous step) (back to tree)

a[hP0 * hP1](mk(rs, f, g)), ¬ ((a[hP0] * a[hP1]))(mk(rs, f, 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, hP0 * hP1, rs, g, f], <all paths>

Additional information

Used terms: a, hP0 * hP1, rs, g, f

Proof step 11 from proof embed-split (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 12 from proof embed-split (previous step) (back to tree)

((hP0 * hP1))(mk(rs, f)), ¬ ((a[hP0] * a[hP1]))(mk(rs, f, g)), ∀ r. r ∈ rs → g(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 13 from proof embed-split (previous step) (back to tree)

((hP0 * hP1))(mk(rs, f)), ¬ ((a[hP0] * a[hP1]))(mk(rs, f, g)), ∀ r. r ∈ rs → g(r) = a ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: heap-fun, name:apply, seq: ⊦ hP[rs, f] ↔ hP(mk(rs, f)), subst:[hP, rs, f] → [hP0 * hP1, rs, f]

Additional information

Used terms: hP0 * hP1, rs, f

Proof step 14 from proof embed-split (previous step) (back to tree)

⊦ hP[rs, f] ↔ hP(mk(rs, f))

A spec-lemma

Proof step 15 from proof embed-split (previous step) (back to tree)

(hP0 * hP1)[rs, f] ↔ ((hP0 * hP1))(mk(rs, f)), ((hP0 * hP1))(mk(rs, f)), ¬ ((a[hP0] * a[hP1]))(mk(rs, f, g)), ∀ r. r ∈ rs → g(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 16 from proof embed-split (previous step) (back to tree)

((hP0 * hP1))(mk(rs, f)), (hP0 * hP1)[rs, f], ¬ ((a[hP0] * a[hP1]))(mk(rs, f, g)), ∀ r. r ∈ rs → g(r) = a ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

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

Additional information

Used terms: f, rs, hP1, hP0

Proof step 17 from proof embed-split (previous step) (back to tree)

⊦ (hP0 * hP1)[rs, f] ↔ (∃ rs0, rs1. rs0 ∪ rs1 = rs ∧ rs0 ∩ rs1 = ∅ ∧ hP0[rs0, f] ∧ hP1[rs1, f])

A spec-lemma

Proof step 18 from proof embed-split (previous step) (back to tree)

((hP0 * hP1))(mk(rs, f)), ¬ ((a[hP0] * a[hP1]))(mk(rs, f, g)), ∀ r. r ∈ rs → g(r) = a, ∃ rs0, rs1. rs0 ∪ rs1 = rs ∧ rs0 ∩ rs1 = ∅ ∧ hP0[rs0, f] ∧ hP1[rs1, f] ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 19 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP0[rs0, f], hP1[rs1, f], ¬ ((a[hP0] * a[hP1]))(mk(rs0 ∪ rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:uni, seq: ⊦ rs0 ∩ rs1 = ∅ → mk(rs0 ∪ rs1, f, g) = mk(rs0, f, g) ∪ mk(rs1, f, g), subst:[g, f, rs1, rs0] → [g, f, rs1, rs0], <all paths>

Additional information

Used terms: g, f, rs1, rs0

Proof step 20 from proof embed-split (previous step) (back to tree)

⊦ rs0 ∩ rs1 = ∅ → mk(rs0 ∪ rs1, f, g) = mk(rs0, f, g) ∪ mk(rs1, f, g)

A spec-lemma

Proof step 21 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP1[rs1, f], hP0[rs0, f], ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-sep[heap-aux-inst], name:split-union, seq: ⊦ hP0(h0) ∧ hP1(h1) ∧ h0 ⊥ h1 → ((hP0 * hP1))(h0 ∪ h1), subst:[hP0, hP1, h0, h1] → [a[hP0], a[hP1], mk(rs0, f, g), mk(rs1, f, g)], <all paths>

Additional information

Used terms: a[hP0], a[hP1], mk(rs0, f, g), mk(rs1, f, g)

Proof step 22 from proof embed-split (previous step) (back to tree)

⊦ hP0(h0) ∧ hP1(h1) ∧ h0 ⊥ h1 → ((hP0 * hP1))(h0 ∪ h1)

A spec-lemma

Proof step 23 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP0[rs0, f], hP1[rs1, f], ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦ a[hP0](mk(rs0, f, g)) ∧ a[hP1](mk(rs1, f, g)) ∧ mk(rs0, f, g) ⊥ mk(rs1, f, g)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(rs0, f, g) ⊥ mk(rs1, f0, g0) ↔ rs0 ∩ rs1 = ∅; (s)

Proof step 24 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP1[rs1, f], hP0[rs0, f], ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦ a[hP0](mk(rs0, f, g)) ∧ a[hP1](mk(rs1, f, g))

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

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

Additional information

Used terms: f, rs0, hP0

Proof step 25 from proof embed-split (previous step) (back to tree)

⊦ hP[rs, f] ↔ hP(mk(rs, f))

A spec-lemma

Proof step 26 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP1[rs1, f], hP0(mk(rs0, f)), ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦ a[hP0](mk(rs0, f, g)) ∧ a[hP1](mk(rs1, f, g))

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-fun, name:apply, seq: ⊦ hP[rs, f] ↔ hP(mk(rs, f)), subst:[f, rs, hP] → [f, rs1, hP1], <all paths>

Additional information

Used terms: f, rs1, hP1

Proof step 27 from proof embed-split (previous step) (back to tree)

⊦ hP[rs, f] ↔ hP(mk(rs, f))

A spec-lemma

Proof step 28 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP0(mk(rs0, f)), hP1(mk(rs1, f)), ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦ a[hP0](mk(rs0, f, g)) ∧ a[hP1](mk(rs1, f, 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, hP0, rs0, g, f], <all paths>

Additional information

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

Proof step 29 from proof embed-split (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 30 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP0(mk(rs0, f)), hP1(mk(rs1, f)), ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦ (hP0(mk(rs0, f)) ∧ (∀ r. r ∈ rs0 → g(r) = a)) ∧ a[hP1](mk(rs1, f, g))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 31 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP0(mk(rs0, f)), hP1(mk(rs1, f)), ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦ (r ∈ rs0 → g(r) = a) ∧ a[hP1](mk(rs1, f, 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, hP1, rs1, g, f], <all paths>

Additional information

Used terms: a, hP1, rs1, g, f

Proof step 32 from proof embed-split (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 33 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP0(mk(rs0, f)), hP1(mk(rs1, f)), ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦ (r ∈ rs0 → g(r) = a) ∧ hP1(mk(rs1, f)) ∧ (∀ r. r ∈ rs1 → g(r) = a)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 34 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP0(mk(rs0, f)), hP1(mk(rs1, f)), ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦ (r ∈ rs0 → g(r) = a) ∧ (r0 ∈ rs1 → g(r0) = a)

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 35 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP0(mk(rs0, f)), hP1(mk(rs1, f)), r ∈ rs0, ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 36 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP0(mk(rs0, f)), hP1(mk(rs1, f)), r ∈ rs0, ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 8 terms: r

Additional information

Used simplifier rules: ⊦ a ∈ s ∪ s0 ↔ ¬(¬ a ∈ s ∧ ¬ a ∈ s0); (ss) una: ⊦ (s ∪ s0) ∪ s1 = s ∪ s0 ∪ s1; from specification set-union[refset] unc: ⊦ s ∪ s0 = s0 ∪ s; from specification set-union[refset] Used terms: r

Proof step 37 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r0) ≠ a, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP0(mk(rs0, f)), hP1(mk(rs1, f)), r0 ∈ rs1, ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 38 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r0) ≠ a, ((hP0 * hP1))(mk(rs0 ∪ rs1, f)), hP0(mk(rs0, f)), hP1(mk(rs1, f)), r0 ∈ rs1, ¬ ((a[hP0] * a[hP1]))(mk(rs0, f, g) ∪ mk(rs1, f, g)), ∀ r. r ∈ rs0 ∪ rs1 → g(r) = a ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 8 terms: r0

Additional information

Used simplifier rules: ⊦ a ∈ s ∪ s0 ↔ ¬(¬ a ∈ s ∧ ¬ a ∈ s0); (ss) una: ⊦ (s ∪ s0) ∪ s1 = s ∪ s0 ∪ s1; from specification set-union[refset] unc: ⊦ s ∪ s0 = s0 ∪ s; from specification set-union[refset] Used terms: r0

Proof step 39 from proof embed-split (previous step) (back to tree)

((a[hP0] * a[hP1]))(mk(rs, f, g)), ¬ a[hP0 * hP1](mk(rs, f, g)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-sep[heap-aux-inst], name:sep, seq: ⊦ ((hP0 * hP1))(h) ↔ (∃ h0, h1. h0 ⊥ h1 ∧ h = h0 ∪ h1 ∧ hP0(h0) ∧ hP1(h1)), subst:[hP0, hP1, h] → [a[hP0], a[hP1], mk(rs, f, g)], <all paths>

Additional information

Used terms: a[hP0], a[hP1], mk(rs, f, g)

Proof step 40 from proof embed-split (previous step) (back to tree)

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

A spec-lemma

Proof step 41 from proof embed-split (previous step) (back to tree)

¬ a[hP0 * hP1](mk(rs, f, g)), ∃ h0, h1. h0 ⊥ h1 ∧ mk(rs, f, g) = h0 ∪ h1 ∧ a[hP0](h0) ∧ a[hP1](h1) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 42 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = h0 ∪ h1, a[hP0](h0), a[hP1](h1), h0 ⊥ h1, ¬ a[hP0 * hP1](mk(rs, f, g)) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:mk-exists, seq: ⊦ ∃ rs, f, g. ha = mk(rs, f, g), subst:[ha] → [h0]

Additional information

Used terms: h0

Proof step 43 from proof embed-split (previous step) (back to tree)

⊦ ∃ rs, f, g. ha = mk(rs, f, g)

A spec-lemma

Proof step 44 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = h0 ∪ h1, a[hP1](h1), a[hP0](h0), h0 ⊥ h1, ¬ a[hP0 * hP1](mk(rs, f, g)), ∃ rs, f, g. h0 = mk(rs, f, g) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 45 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ h1, a[hP0](mk(rs0, f0, g0)), a[hP1](h1), mk(rs0, f0, g0) ⊥ h1, ¬ a[hP0 * hP1](mk(rs, f, g)) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:mk-exists, seq: ⊦ ∃ rs, f, g. ha = mk(rs, f, g), subst:[ha] → [h1]

Additional information

Used terms: h1

Proof step 46 from proof embed-split (previous step) (back to tree)

⊦ ∃ rs, f, g. ha = mk(rs, f, g)

A spec-lemma

Proof step 47 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ h1, a[hP1](h1), a[hP0](mk(rs0, f0, g0)), mk(rs0, f0, g0) ⊥ h1, ¬ a[hP0 * hP1](mk(rs, f, g)), ∃ rs, f, g. h1 = mk(rs, f, g) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 48 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), a[hP0](mk(rs0, f0, g0)), a[hP1](mk(rs1, f1, g1)), mk(rs0, f0, g0) ⊥ mk(rs1, f1, g1), ¬ a[hP0 * hP1](mk(rs, f, 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, hP0 * hP1, rs, g, f], <all paths>

Additional information

Used terms: a, hP0 * hP1, rs, g, f

Proof step 49 from proof embed-split (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 50 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), a[hP1](mk(rs1, f1, g1)), a[hP0](mk(rs0, f0, g0)), mk(rs0, f0, g0) ⊥ mk(rs1, f1, g1), ¬ ((hP0 * hP1))(mk(rs, f)) ∨ (∃ r. ¬(r ∈ rs → g(r) = a)) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(rs0, f, g) ⊥ mk(rs1, f0, g0) ↔ rs0 ∩ rs1 = ∅; (s)

Proof step 51 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, a[hP0](mk(rs0, f0, g0)), a[hP1](mk(rs1, f1, g1)), ¬ ((hP0 * hP1))(mk(rs, f)) ∨ ¬(r ∈ rs → g(r) = a) ⊦

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] → [mk(rs, f), hP1, hP0], <all paths>

Additional information

Used terms: mk(rs, f), hP1, hP0

Proof step 52 from proof embed-split (previous step) (back to tree)

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

A spec-lemma

Proof step 53 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, a[hP1](mk(rs1, f1, g1)), a[hP0](mk(rs0, f0, g0)), ¬(∃ h0, h1. h0 ⊥ h1 ∧ mk(rs, f) = h0 ∪ h1 ∧ hP0(h0) ∧ hP1(h1)) ∨ ¬(r ∈ rs → g(r) = a) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 5

Additional information

Proof step 54 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, a[hP0](mk(rs0, f0, g0)), a[hP1](mk(rs1, f1, g1)) ⊦ ∃ h0, h1. h0 ⊥ h1 ∧ mk(rs, f) = h0 ∪ h1 ∧ hP0(h0) ∧ hP1(h1)

User applied rule exists right

And obtained the following new goals

Rule argument

pos: right 1 terms: mk(rs0, f0), mk(rs1, f1) abort: F discard: T computed: F

Additional information

Used terms: mk(rs0, f0), mk(rs1, f1)

Proof step 55 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, a[hP1](mk(rs1, f1, g1)), a[hP0](mk(rs0, f0, g0)) ⊦ mk(rs0, f0) ⊥ mk(rs1, f1) ∧ mk(rs, f) = mk(rs0, f0) ∪ mk(rs1, f1) ∧ hP0(mk(rs0, f0)) ∧ hP1(mk(rs1, f1))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mk(rs0, f0) ⊥ mk(rs1, f1) ↔ rs0 ∩ rs1 = ∅; (s)

Proof step 56 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, a[hP0](mk(rs0, f0, g0)), a[hP1](mk(rs1, f1, g1)) ⊦ mk(rs, f) = mk(rs0, f0) ∪ mk(rs1, f1) ∧ hP0(mk(rs0, f0)) ∧ hP1(mk(rs1, f1))

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, hP0, rs0, g0, f0], <all paths>

Additional information

Used terms: a, hP0, rs0, g0, f0

Proof step 57 from proof embed-split (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 58 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, a[hP1](mk(rs1, f1, g1)), hP0(mk(rs0, f0)), ∀ r. r ∈ rs0 → g0(r) = a ⊦ mk(rs, f) = mk(rs0, f0) ∪ mk(rs1, f1) ∧ hP0(mk(rs0, f0)) ∧ hP1(mk(rs1, f1))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 59 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, a[hP1](mk(rs1, f1, g1)), hP0(mk(rs0, f0)), ∀ r. r ∈ rs0 → g0(r) = a ⊦ mk(rs, f) = mk(rs0, f0) ∪ mk(rs1, f1) ∧ hP1(mk(rs1, f1))

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, hP1, rs1, g1, f1], <all paths>

Additional information

Used terms: a, hP1, rs1, g1, f1

Proof step 60 from proof embed-split (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 61 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), ∀ r. r ∈ rs0 → g0(r) = a, ∀ r. r ∈ rs1 → g1(r) = a ⊦ mk(rs, f) = mk(rs0, f0) ∪ mk(rs1, f1) ∧ hP1(mk(rs1, f1))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 62 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, mk(rs, f) ≠ mk(rs0, f0) ∪ mk(rs1, f1), hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), ∀ r. r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs0 → g0(r) = 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, f0) ∪ mk(rs1, f1), mk(rs, f)], <all paths>

Additional information

Used terms: mk(rs0, f0) ∪ mk(rs1, f1), mk(rs, f)

Proof step 63 from proof embed-split (previous step) (back to tree)

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

A spec-lemma

Proof step 64 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), ∀ r. r ∈ rs0 → g0(r) = a, ∀ r. r ∈ rs1 → g1(r) = a, ∃ r. ¬((r ∈ mk(rs, f) ↔ r ∈ mk(rs0, f0) ∪ mk(rs1, f1)) ∧ (r ∈ mk(rs, f) → mk(rs, f)[r] = (mk(rs0, f0) ∪ mk(rs1, f1))[r])) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 65 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), ∀ r. r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs0 → g0(r) = a ⊦ (r ∈ rs ↔ r ∈ mk(rs0, f0) ∪ mk(rs1, f1)) ∧ (r ∈ rs → f(r) = (mk(rs0, f0) ∪ mk(rs1, f1))[r])

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:ext, seq:⊦ ha0 = ha1 ↔ (∀ r. (r ∈ ha0 ↔ r ∈ ha1) ∧ (r ∈ ha0 → ha0[r]o = ha1[r]o ∧ ha0[r]a = ha1[r]a)), subst:[ha0, ha1] → [mk(rs, f, g), mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)], <all paths>

Additional information

Used terms: mk(rs, f, g), mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)

Proof step 66 from proof embed-split (previous step) (back to tree)

⊦ ha0 = ha1 ↔ (∀ r. (r ∈ ha0 ↔ r ∈ ha1) ∧ (r ∈ ha0 → ha0[r]o = ha1[r]o ∧ ha0[r]a = ha1[r]a))

A spec-lemma

Proof step 67 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), ∀ r. r ∈ rs0 → g0(r) = a, ∀ r. r ∈ rs1 → g1(r) = a, ∀ r. (r ∈ mk(rs, f, g) ↔ r ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)) ∧ (r ∈ mk(rs, f, g) → mk(rs, f, g)[r]o = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]o ∧ mk(rs, f, g)[r]a = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]a) ⊦ (r ∈ rs ↔ r ∈ mk(rs0, f0) ∪ mk(rs1, f1)) ∧ (r ∈ rs → f(r) = (mk(rs0, f0) ∪ mk(rs1, f1))[r])

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 68 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), ∀ r. r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs0 → g0(r) = a, ∀ r0. (r0 ∈ rs ↔ r0 ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)) ∧ (r0 ∈ rs → f(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]o ∧ g(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]a) ⊦ (r ∈ rs ↔ r ∈ mk(rs0, f0) ∪ mk(rs1, f1)) ∧ (r ∈ rs → f(r) = (mk(rs0, f0) ∪ mk(rs1, f1))[r])

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: r

Proof step 69 from proof embed-split (previous step) (back to tree)

r ∈ rs ↔ r ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs → f(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]o ∧ g(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]a, ∀ r0. (r0 ∈ rs ↔ r0 ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)) ∧ (r0 ∈ rs → f(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]o ∧ g(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]a), ∀ r. r ∈ rs0 → g0(r) = a, ∀ r. r ∈ rs1 → g1(r) = a ⊦ (r ∈ rs ↔ r ∈ mk(rs0, f0) ∪ mk(rs1, f1)) ∧ (r ∈ rs → f(r) = (mk(rs0, f0) ∪ mk(rs1, f1))[r])

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 70 from proof embed-split (previous step) (back to tree)

r ∈ rs ↔ r ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs → f(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]o ∧ g(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]a, ∀ r. r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs0 → g0(r) = a, ∀ r0. (r0 ∈ rs ↔ r0 ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)) ∧ (r0 ∈ rs → f(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]o ∧ g(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]a) ⊦ (r ∈ rs ↔ r ∈ mk(rs0, f0) ∪ mk(rs1, f1)) ∧ (r ∈ rs → f(r) = (mk(rs0, f0) ∪ mk(rs1, f1))[r])

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap, name:in-uni, seq: ⊦ h0 ⊥ h1 → (r ∈ h0 ∪ h1 ↔ r ∈ h0 ∨ r ∈ h1), subst:[r, h0, h1] → [r, mk(rs0, f0), mk(rs1, f1)], <all paths>

Additional information

Used simplifier rules: ⊦ mk(rs0, f0) ⊥ mk(rs1, f1) ↔ rs0 ∩ rs1 = ∅; (s) Used terms: r, mk(rs0, f0), mk(rs1, f1)

Proof step 71 from proof embed-split (previous step) (back to tree)

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

A spec-lemma

Proof step 72 from proof embed-split (previous step) (back to tree)

r ∈ rs ↔ r ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), mk(rs0, f0) ⊥ mk(rs1, f1), r ∈ rs → f(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]o ∧ g(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]a, ∀ r0. (r0 ∈ rs ↔ r0 ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)) ∧ (r0 ∈ rs → f(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]o ∧ g(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]a), ∀ r. r ∈ rs0 → g0(r) = a, ∀ r. r ∈ rs1 → g1(r) = a ⊦ (r ∈ rs ↔ r ∈ mk(rs0, f0) ∨ r ∈ mk(rs1, f1)) ∧ (r ∈ rs → f(r) = (mk(rs0, f0) ∪ mk(rs1, f1))[r])

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ r ∈ mk(rs, f) ↔ r ∈ rs; (s) ⊦ mk(rs0, f0) ⊥ mk(rs1, f1) ↔ rs0 ∩ rs1 = ∅; (s)

Proof step 73 from proof embed-split (previous step) (back to tree)

r ∈ rs ↔ r ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs → f(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]o ∧ g(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]a, ∀ r. r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs0 → g0(r) = a, ∀ r0. (r0 ∈ rs ↔ r0 ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)) ∧ (r0 ∈ rs → f(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]o ∧ g(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]a) ⊦ (r ∈ rs ↔ r ∈ rs0 ∨ r ∈ rs1) ∧ (r ∈ rs → f(r) = (mk(rs0, f0) ∪ mk(rs1, f1))[r])

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:in-uni, seq: ⊦ rs0 ∩ rs1 = ∅ → (r ∈ mk(rs0, f, g) ∪ mk(rs1, f0, g0) ↔ r ∈ rs0 ∨ r ∈ rs1), subst:[r, f0, rs0, g, f, rs1, g0] → [r, f1, rs0, g0, f0, rs1, g1], <all paths>

Additional information

Used simplifier rules: int-a: ⊦ (s ∩ s0) ∩ s1 = s ∩ s0 ∩ s1; from specification set-union[refset] int-c: ⊦ s ∩ s0 = s0 ∩ s; from specification set-union[refset] ⊦ rs0 ∩ rs1 = ∅ ∧ r ∈ rs0 → (mk(rs0, f, g) ∪ mk(rs1, f0, g0))[r]o = f(r); (s) ⊦ rs0 ∩ rs1 = ∅ ∧ r ∈ rs0 → (mk(rs0, f, g) ∪ mk(rs1, f0, g0))[r]a = g(r); (s) ⊦ rs0 ∩ rs1 = ∅ ∧ r ∈ rs0 → (mk(rs0, f0) ∪ mk(rs1, f1))[r] = f0(r); (s) ⊦ rs0 ∩ rs1 = ∅ ∧ r ∈ rs1 → (mk(rs0, f, g) ∪ mk(rs1, f0, g0))[r]o = f0(r); (s) ⊦ rs0 ∩ rs1 = ∅ ∧ r ∈ rs1 → (mk(rs0, f, g) ∪ mk(rs1, f0, g0))[r]a = g0(r); (s) ⊦ rs0 ∩ rs1 = ∅ ∧ r ∈ rs1 → (mk(rs0, f0) ∪ mk(rs1, f1))[r] = f1(r); (s) Used terms: r, f1, rs0, g0, f0, rs1, g1

Proof step 74 from proof embed-split (previous step) (back to tree)

⊦ rs0 ∩ rs1 = ∅ → (r ∈ mk(rs0, f, g) ∪ mk(rs1, f0, g0) ↔ r ∈ rs0 ∨ r ∈ rs1)

A spec-lemma

Proof step 75 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, g(r) ≠ a, a[hP0](mk(rs0, f0, g0)), a[hP1](mk(rs1, f1, g1)), r ∈ rs ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 76 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, g(r) ≠ a, a[hP1](mk(rs1, f1, g1)), a[hP0](mk(rs0, f0, g0)), r ∈ rs ⊦

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, hP1, rs1, g1, f1], <all paths>

Additional information

Used terms: a, hP1, rs1, g1, f1

Proof step 77 from proof embed-split (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 78 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, g(r) ≠ a, a[hP0](mk(rs0, f0, g0)), hP1(mk(rs1, f1)), r ∈ rs, ∀ r. r ∈ rs1 → g1(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 79 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, g(r) ≠ a, a[hP0](mk(rs0, f0, g0)), hP1(mk(rs1, f1)), r ∈ rs, ∀ r. r ∈ rs1 → g1(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, hP0, rs0, g0, f0], <all paths>

Additional information

Used terms: a, hP0, rs0, g0, f0

Proof step 80 from proof embed-split (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 81 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, g(r) ≠ a, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs, ∀ r. r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs0 → g0(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 82 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, g(r) ≠ a, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs, ∀ r. r ∈ rs0 → g0(r) = a, ∀ r. r ∈ rs1 → g1(r) = a ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: r

Proof step 83 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, g(r) ≠ a, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs, r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs0 → g0(r) = a ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: r

Proof step 84 from proof embed-split (previous step) (back to tree)

mk(rs, f, g) = mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, g(r) ≠ a, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs, r ∈ rs1 → g1(r) = a, r ∈ rs0 → g0(r) = a, ∀ r. r ∈ rs0 → g0(r) = a, ∀ r. r ∈ rs1 → g1(r) = a ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:ext, seq:⊦ ha0 = ha1 ↔ (∀ r. (r ∈ ha0 ↔ r ∈ ha1) ∧ (r ∈ ha0 → ha0[r]o = ha1[r]o ∧ ha0[r]a = ha1[r]a)), subst:[ha0, ha1] → [mk(rs, f, g), mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)], <all paths>

Additional information

Used terms: mk(rs, f, g), mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)

Proof step 85 from proof embed-split (previous step) (back to tree)

⊦ ha0 = ha1 ↔ (∀ r. (r ∈ ha0 ↔ r ∈ ha1) ∧ (r ∈ ha0 → ha0[r]o = ha1[r]o ∧ ha0[r]a = ha1[r]a))

A spec-lemma

Proof step 86 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs, r ∈ rs0 → g0(r) = a, r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs0 → g0(r) = a, ∀ r. (r ∈ mk(rs, f, g) ↔ r ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)) ∧ (r ∈ mk(rs, f, g) → mk(rs, f, g)[r]o = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]o ∧ mk(rs, f, g)[r]a = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]a) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-zero-01: ⊦ s ≠ ∅ → # s ≠ 0; (forward) from specification set-basic[refset] ne-01: ⊦ a ∈ s → s ≠ ∅; (forward) from specification set-basic[refset] ⊦ r ∈ rs → mk(rs, f, g)[r]a = g(r); (s) ⊦ r ∈ rs → mk(rs, f, g)[r]o = f(r); (s) ⊦ r ∈ mk(rs, f, g) ↔ r ∈ rs; (s)

Proof step 87 from proof embed-split (previous step) (back to tree)

rs0 ∩ rs1 = ∅, # rs ≠ 0, g(r) ≠ a, rs ≠ ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs, r ∈ rs0 → g0(r) = a, r ∈ rs1 → g1(r) = a, ∀ r0. (r0 ∈ rs ↔ r0 ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)) ∧ (r0 ∈ rs → f(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]o ∧ g(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]a), ∀ r. r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs0 → g0(r) = 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 88 from proof embed-split (previous step) (back to tree)

r ∈ rs ↔ r ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), rs0 ∩ rs1 = ∅, # rs ≠ 0, g(r) ≠ a, rs ≠ ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs, r ∈ rs1 → g1(r) = a, r ∈ rs0 → g0(r) = a, r ∈ rs → f(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]o ∧ g(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]a, ∀ r. r ∈ rs0 → g0(r) = a, ∀ r. r ∈ rs1 → g1(r) = a, ∀ r0. (r0 ∈ rs ↔ r0 ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)) ∧ (r0 ∈ rs → f(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]o ∧ g(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]a) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 89 from proof embed-split (previous step) (back to tree)

f(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]o, g(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]a, rs0 ∩ rs1 = ∅, # rs ≠ 0, g(r) ≠ a, rs ≠ ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs, r ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1), r ∈ rs0 → g0(r) = a, r ∈ rs1 → g1(r) = a, ∀ r0. (r0 ∈ rs ↔ r0 ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)) ∧ (r0 ∈ rs → f(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]o ∧ g(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]a), ∀ r. r ∈ rs1 → g1(r) = a, ∀ r. r ∈ rs0 → g0(r) = a ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: heap-aux, name:in-uni, seq: ⊦ rs0 ∩ rs1 = ∅ → (r ∈ mk(rs0, f, g) ∪ mk(rs1, f0, g0) ↔ r ∈ rs0 ∨ r ∈ rs1), subst:[r, f0, rs0, g, f, rs1, g0] → [r, f1, rs0, g0, f0, rs1, g1], <all paths>

Additional information

Used terms: r, f1, rs0, g0, f0, rs1, g1

Proof step 90 from proof embed-split (previous step) (back to tree)

⊦ rs0 ∩ rs1 = ∅ → (r ∈ mk(rs0, f, g) ∪ mk(rs1, f0, g0) ↔ r ∈ rs0 ∨ r ∈ rs1)

A spec-lemma

Proof step 91 from proof embed-split (previous step) (back to tree)

f(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]o, g(r) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r]a, rs0 ∩ rs1 = ∅, # rs ≠ 0, g(r) ≠ a, rs ≠ ∅, hP0(mk(rs0, f0)), hP1(mk(rs1, f1)), r ∈ rs, r ∈ rs1 → g1(r) = a, r ∈ rs0 → g0(r) = a, ∀ r. r ∈ rs0 → g0(r) = a, ∀ r. r ∈ rs1 → g1(r) = a, ∀ r0. (r0 ∈ rs ↔ r0 ∈ mk(rs0, f0, g0) ∪ mk(rs1, f1, g1)) ∧ (r0 ∈ rs → f(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]o ∧ g(r0) = (mk(rs0, f0, g0) ∪ mk(rs1, f1, g1))[r0]a), r ∈ rs0 ∨ r ∈ rs1 ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 15

Additional information

Used simplifier rules: int-a: ⊦ (s ∩ s0) ∩ s1 = s ∩ s0 ∩ s1; from specification set-union[refset] int-c: ⊦ s ∩ s0 = s0 ∩ s; from specification set-union[refset] ⊦ rs0 ∩ rs1 = ∅ ∧ r ∈ rs1 → (mk(rs0, f, g) ∪ mk(rs1, f0, g0))[r]a = g0(r); (s) ⊦ rs0 ∩ rs1 = ∅ ∧ r ∈ rs1 → (mk(rs0, f, g) ∪ mk(rs1, f0, g0))[r]o = f0(r); (s) ⊦ rs0 ∩ rs1 = ∅ ∧ r ∈ rs0 → (mk(rs0, f, g) ∪ mk(rs1, f0, g0))[r]a = g(r); (s) ⊦ rs0 ∩ rs1 = ∅ ∧ r ∈ rs0 → (mk(rs0, f, g) ∪ mk(rs1, f0, g0))[r]o = f(r); (s)

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