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

⊦ (a0[r => o] * hR)[rs, f, g] ↔ (a1[r => o] * hR)[rs, f, g(r; a1)] ∧ g(r) = a0

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof aux-known (previous step) (back to tree)

¬((a0[r => o] * hR)[rs, f, g] ↔ (a1[r => o] * hR)[rs, f, g(r; a1)] ∧ g(r) = a0) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 3 from proof aux-known (previous step) (back to tree)

(a0[r => o] * hR)[rs, f, g] ⊦ (a1[r => o] * hR)[rs, f, g(r; a1)] ∧ g(r) = a0

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, hR, g, a0[r => o], f], <all paths>

Additional information

Used terms: rs, hR, g, a0[r => o], f

Proof step 4 from proof aux-known (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 5 from proof aux-known (previous step) (back to tree)

∃ rs0, rs1. rs0 ∪ rs1 = rs ∧ rs0 ∩ rs1 = ∅ ∧ a0[r => o][rs0, f, g] ∧ hR[rs1, f, g] ⊦ (a1[r => o] * hR)[rs, f, g(r; a1)] ∧ g(r) = a0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 6 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, a0[r => o][rs0, f, g], hR[rs1, f, g] ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0

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, hR, g(r; a1), a1[r => o], f, rs1], <all paths>

Additional information

Used terms: rs0, hR, g(r; a1), a1[r => o], f, rs1

Proof step 7 from proof aux-known (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 8 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, hR[rs1, f, g], a0[r => o][rs0, f, g] ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0, a1[r => o][rs0, f, g(r; a1)] ∧ hR[rs1, f, g(r; a1)] ∧ rs0 ∩ rs1 = ∅

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 9 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, a0[r => o][rs0, f, g], hR[rs1, f, g] ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0, a1[r => o][rs0, f, g(r; a1)] ∧ hR[rs1, f, g(r; a1)]

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, a0[r => o]], <all paths>

Additional information

Used terms: g, f, rs0, a0[r => o]

Proof step 10 from proof aux-known (previous step) (back to tree)

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

A spec-lemma

Proof step 11 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, hR[rs1, f, g], a0[r => o](mk(rs0, f, g)) ⊦ a1[r => o][rs0, f, g(r; a1)] ∧ hR[rs1, f, g(r; a1)], (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0

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

Additional information

Used terms: g(r; a1), f, rs0, a1[r => o]

Proof step 12 from proof aux-known (previous step) (back to tree)

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

A spec-lemma

Proof step 13 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, a0[r => o](mk(rs0, f, g)), hR[rs1, f, g] ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0, a1[r => o](mk(rs0, f, g(r; a1))) ∧ hR[rs1, f, g(r; a1)]

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

Additional information

Used terms: a1, r => o, rs0, g(r; a1), f

Proof step 14 from proof aux-known (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 15 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, hR[rs1, f, g], a0[r => o](mk(rs0, f, g)) ⊦ (((r => o))(mk(rs0, f)) ∧ (∀ r0. r0 ∈ rs0 → g(r; a1)(r0) = a1)) ∧ hR[rs1, f, g(r; a1)], (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 16 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, a0[r => o](mk(rs0, f, g)), hR[rs1, f, g] ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0, ((r => o))(mk(rs0, f)) ∧ (r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1) ∧ hR[rs1, f, g(r; a1)]

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] → [a0, r => o, rs0, g, f], <all paths>

Additional information

Used terms: a0, r => o, rs0, g, f

Proof step 17 from proof aux-known (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 18 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((r => o))(mk(rs0, f)), hR[rs1, f, g], ∀ r. r ∈ rs0 → g(r) = a0 ⊦ ((r => o))(mk(rs0, f)) ∧ (r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1) ∧ hR[rs1, f, g(r; a1)], (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 19 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((r => o))(mk(rs0, f)), hR[rs1, f, g], ∀ r. r ∈ rs0 → g(r) = a0 ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0, (r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1) ∧ hR[rs1, f, g(r; a1)]

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: r0

Proof step 20 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((r => o))(mk(rs0, f)), hR[rs1, f, g], r0 ∈ rs0 → g(r0) = a0, ∀ r. r ∈ rs0 → g(r) = a0 ⊦ (r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1) ∧ hR[rs1, f, g(r; a1)], (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: maplet, name:maplet, seq: ⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null, subst:[h, o, r] → [mk(rs0, f), o, r], <all paths>

Additional information

Used terms: mk(rs0, f), o, r

Proof step 21 from proof aux-known (previous step) (back to tree)

⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null

A spec-lemma

Proof step 22 from proof aux-known (previous step) (back to tree)

mk(rs0, f) = (∅ ++ r)[r, o], rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g], r0 ∈ rs0 → g(r0) = a0, ∀ r. r ∈ rs0 → g(r) = a0 ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0, (r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1) ∧ hR[rs1, f, g(r; a1)]

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 23 from proof aux-known (previous step) (back to tree)

mk(rs0, f) = (∅ ++ r)[r, o], rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g], r0 ∈ rs0 → g(r0) = a0, ∀ r. r ∈ rs0 → g(r) = a0 ⊦ (r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1) ∧ hR[rs1, f, g(r; a1)], (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0

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

Additional information

Used terms: (∅ ++ r)[r, o], mk(rs0, f)

Proof step 24 from proof aux-known (previous step) (back to tree)

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

A spec-lemma

Proof step 25 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g], r0 ∈ rs0 → g(r0) = a0, ∀ r. r ∈ rs0 → g(r) = a0, ∀ r0. (r0 ∈ mk(rs0, f) ↔ r0 ∈ (∅ ++ r)[r, o]) ∧ (r0 ∈ mk(rs0, f) → mk(rs0, f)[r0] = (∅ ++ r)[r, o][r0]) ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0, (r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1) ∧ hR[rs1, f, g(r; a1)]

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 ∈ rs → mk(rs, f)[r] = f(r); (s) ⊦ r ∈ mk(rs, f) ↔ r ∈ rs; (s) ⊦ r ∈ h[r0, o] ↔ r ∈ h; (s)

Proof step 26 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g], r0 ∈ rs0 → g(r0) = a0, ∀ r. r ∈ rs0 → g(r) = a0, ∀ r1. (r1 ∈ rs0 ↔ r1 = r) ∧ (r1 ∈ rs0 → f(r1) = (r1 = r ⊃ o;(∅ ++ r)[r1])) ⊦ (r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1) ∧ hR[rs1, f, g(r; a1)], (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0

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 27 from proof aux-known (previous step) (back to tree)

r0 ∈ rs0 ↔ r0 = r, rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g], r0 ∈ rs0 → g(r0) = a0, r0 ∈ rs0 → f(r0) = (r0 = r ⊃ o;(∅ ++ r)[r0]), ∀ r1. (r1 ∈ rs0 ↔ r1 = r) ∧ (r1 ∈ rs0 → f(r1) = (r1 = r ⊃ o;(∅ ++ r)[r1])), ∀ r. r ∈ rs0 → g(r) = a0 ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0, (r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1) ∧ hR[rs1, f, g(r; a1)]

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 28 from proof aux-known (previous step) (back to tree)

r0 ∈ rs0 ↔ r0 = r, rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g], ¬ hR[rs1, f, g(r; a1)], r0 = r → g(r) = a0, r0 = r → f(r) = o, ∀ r1. (r1 ∈ rs0 ↔ r1 = r) ∧ (r1 ∈ rs0 → f(r1) = (r1 = r ⊃ o;(∅ ++ r)[r1])), ∀ r. r ∈ rs0 → g(r) = a0 ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:switch-aux, seq: ⊦ ¬ r ∈ rs → (hR[rs, f, g(r; a)] ↔ hR[rs, f, g]), subst:[hR, r, a, rs, g, f] → [hR, r, a1, rs1, g, f], <all paths>

Additional information

Used terms: hR, r, a1, rs1, g, f

Proof step 29 from proof aux-known (previous step) (back to tree)

⊦ ¬ r ∈ rs → (hR[rs, f, g(r; a)] ↔ hR[rs, f, g])

Lemma switch-aux

Proof step 30 from proof aux-known (previous step) (back to tree)

r0 ∈ rs0 ↔ r0 = r, rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g], r ∈ rs1, ¬ hR[rs1, f, g(r; a1)], r0 = r → f(r) = o, r0 = r → g(r) = a0, ∀ r. r ∈ rs0 → g(r) = a0, ∀ r1. (r1 ∈ rs0 ↔ r1 = r) ∧ (r1 ∈ rs0 → f(r1) = (r1 = r ⊃ o;(∅ ++ r)[r1])) ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ s ∩ s0 = ∅ ∧ a ∈ s → (a ∈ s0 ↔ false); (as) int-c: ⊦ s ∩ s0 = s0 ∩ s; from specification set-union[refset] int-a: ⊦ (s ∩ s0) ∩ s1 = s ∩ s0 ∩ s1; from specification set-union[refset]

Proof step 31 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, r ≠ null, r0 ≠ r, hR[rs1, f, g], r ∈ rs1, ¬ hR[rs1, f, g(r; a1)], ¬ r0 ∈ rs0, ∀ r. r ∈ rs0 → g(r) = a0, ∀ r1. (r1 ∈ rs0 ↔ r1 = r) ∧ (r1 ∈ rs0 → f(r1) = (r1 = r ⊃ o;(∅ ++ r)[r1])) ⊦ (a1[r => o] * hR)[rs0 ∪ rs1, f, g(r; a1)] ∧ g(r) = a0

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 9 terms: r

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] ⊦ s ∩ s0 = ∅ ∧ a ∈ s → (a ∈ s0 ↔ false); (as) Used terms: r

Proof step 32 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, hR[rs1, f, g], a0[r => o][rs0, f, g], a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g(r; a1)] ⊦ true ∧ g(r) = a0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 33 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a0, hR[rs1, f, g(r; a1)], a1[r => o][rs0, f, g(r; a1)], a0[r => o][rs0, f, g], hR[rs1, 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, rs0, a0[r => o]], <all paths>

Additional information

Used terms: g, f, rs0, a0[r => o]

Proof step 34 from proof aux-known (previous step) (back to tree)

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

A spec-lemma

Proof step 35 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a0, hR[rs1, f, g], a0[r => o](mk(rs0, f, g)), a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g(r; a1)] ⊦

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] → [a0, r => o, rs0, g, f], <all paths>

Additional information

Used terms: a0, r => o, rs0, g, f

Proof step 36 from proof aux-known (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 37 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a0, ((r => o))(mk(rs0, f)), hR[rs1, f, g(r; a1)], a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g], ∀ r. r ∈ rs0 → g(r) = a0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 38 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a0, ((r => o))(mk(rs0, f)), hR[rs1, f, g], a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g(r; a1)], ∀ r. r ∈ rs0 → g(r) = a0 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: maplet, name:maplet, seq: ⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null, subst:[h, o, r] → [mk(rs0, f), o, r], <all paths>

Additional information

Used terms: mk(rs0, f), o, r

Proof step 39 from proof aux-known (previous step) (back to tree)

⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null

A spec-lemma

Proof step 40 from proof aux-known (previous step) (back to tree)

mk(rs0, f) = (∅ ++ r)[r, o], rs0 ∩ rs1 = ∅, g(r) ≠ a0, r ≠ null, hR[rs1, f, g(r; a1)], a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g], ∀ r. r ∈ rs0 → g(r) = a0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 41 from proof aux-known (previous step) (back to tree)

mk(rs0, f) = (∅ ++ r)[r, o], rs0 ∩ rs1 = ∅, g(r) ≠ a0, r ≠ null, hR[rs1, f, g], a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g(r; a1)], ∀ r. r ∈ rs0 → g(r) = a0 ⊦

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

Additional information

Used terms: (∅ ++ r)[r, o], mk(rs0, f)

Proof step 42 from proof aux-known (previous step) (back to tree)

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

A spec-lemma

Proof step 43 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a0, r ≠ null, hR[rs1, f, g(r; a1)], a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g], ∀ r. r ∈ rs0 → g(r) = a0, ∀ r0. (r0 ∈ mk(rs0, f) ↔ r0 ∈ (∅ ++ r)[r, o]) ∧ (r0 ∈ mk(rs0, f) → mk(rs0, f)[r0] = (∅ ++ r)[r, o][r0]) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: map-in0: ⊦ a[r => o][rs, f, g] → r ∈ rs; 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 ∈ rs → mk(rs, f)[r] = f(r); (s) ⊦ r ∈ mk(rs, f) ↔ r ∈ rs; (s) ⊦ r ∈ h[r0, o] ↔ r ∈ h; (s)

Proof step 44 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a0, r ≠ null, hR[rs1, f, g], a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g(r; a1)], ∀ r. r ∈ rs0 → g(r) = a0, ∀ r0. (r0 ∈ rs0 → r0 = r) ∧ (r0 ∈ rs0 → f(r0) = (r0 = r ⊃ o;(∅ ++ r)[r0])) ⊦

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 45 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a0, r ≠ null, hR[rs1, f, g(r; a1)], a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g], r ∈ rs0 → r = r, r ∈ rs0 → f(r) = (r = r ⊃ o;(∅ ++ r)[r]), ∀ r0. (r0 ∈ rs0 → r0 = r) ∧ (r0 ∈ rs0 → f(r0) = (r0 = r ⊃ o;(∅ ++ r)[r0])), ∀ r. r ∈ rs0 → g(r) = a0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: map-in0: ⊦ a[r => o][rs, f, g] → r ∈ rs;

Proof step 46 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r) ≠ a0, r ≠ null, hR[rs1, f, g(r; a1)], a1[r => f(r)][rs0, f, g(r; a1)], hR[rs1, f, g], ∀ r0. (r0 ∈ rs0 → r0 = r) ∧ (r0 ∈ rs0 → f(r0) = (r0 = r ⊃ f(r);(∅ ++ r)[r0])), ∀ r. r ∈ rs0 → g(r) = a0 ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 8 terms: r

Additional information

Used simplifier rules: map-in0: ⊦ a[r => o][rs, f, g] → r ∈ rs; Used terms: r

Proof step 47 from proof aux-known (previous step) (back to tree)

g(r) = a0, (a1[r => o] * hR)[rs, f, g(r; a1)], ¬ (a0[r => o] * hR)[rs, f, g] ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 48 from proof aux-known (previous step) (back to tree)

(a1[r => o] * hR)[rs, f, g(r; a1)], ¬ (g(r)[r => o] * hR)[rs, f, 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, hR, g(r; a1), a1[r => o], f], <all paths>

Additional information

Used terms: rs, hR, g(r; a1), a1[r => o], f

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

¬ (g(r)[r => o] * hR)[rs, f, g], ∃ rs0, rs1. rs0 ∪ rs1 = rs ∧ rs0 ∩ rs1 = ∅ ∧ a1[r => o][rs0, f, g(r; a1)] ∧ hR[rs1, f, g(r; a1)] ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 51 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g(r; a1)], ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, 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] → [rs0, hR, g, g(r)[r => o], f, rs1], <all paths>

Additional information

Used terms: rs0, hR, g, g(r)[r => o], f, rs1

Proof step 52 from proof aux-known (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 53 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, hR[rs1, f, g(r; a1)], a1[r => o][rs0, f, g(r; a1)], ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g] ⊦ g(r)[r => o][rs0, f, g] ∧ hR[rs1, f, g] ∧ rs0 ∩ rs1 = ∅

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 54 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g(r; a1)], ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g] ⊦ g(r)[r => o][rs0, f, g] ∧ hR[rs1, f, g]

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:switch-aux, seq: ⊦ ¬ r ∈ rs → (hR[rs, f, g(r; a)] ↔ hR[rs, f, g]), subst:[hR, r, a, rs, g, f] → [hR, r, a1, rs1, g, f], <all paths>

Additional information

Used terms: hR, r, a1, rs1, g, f

Proof step 55 from proof aux-known (previous step) (back to tree)

⊦ ¬ r ∈ rs → (hR[rs, f, g(r; a)] ↔ hR[rs, f, g])

Lemma switch-aux

Proof step 56 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, hR[rs1, f, g(r; a1)], a1[r => o][rs0, f, g(r; a1)], r ∈ rs1, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g] ⊦ g(r)[r => o][rs0, f, g] ∧ hR[rs1, f, g]

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 57 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g(r; a1)], r ∈ rs1, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g] ⊦ g(r)[r => o][rs0, f, g] ∧ hR[rs1, 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(r; a1), f, rs0, a1[r => o]], <all paths>

Additional information

Used terms: g(r; a1), f, rs0, a1[r => o]

Proof step 58 from proof aux-known (previous step) (back to tree)

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

A spec-lemma

Proof step 59 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, hR[rs1, f, g(r; a1)], a1[r => o](mk(rs0, f, g(r; a1))), r ∈ rs1, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g] ⊦ g(r)[r => o][rs0, f, g] ∧ hR[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] → [a1, r => o, rs0, g(r; a1), f], <all paths>

Additional information

Used terms: a1, r => o, rs0, g(r; a1), f

Proof step 60 from proof aux-known (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 aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((r => o))(mk(rs0, f)), hR[rs1, f, g(r; a1)], r ∈ rs1, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ∀ r0. r0 ∈ rs0 → g(r; a1)(r0) = a1 ⊦ g(r)[r => o][rs0, f, g] ∧ hR[rs1, f, g]

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 62 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((r => o))(mk(rs0, f)), hR[rs1, f, g(r; a1)], r ∈ rs1, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1 ⊦ g(r)[r => o][rs0, f, g] ∧ hR[rs1, f, g]

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: maplet, name:maplet, seq: ⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null, subst:[h, o, r] → [mk(rs0, f), o, r], <all paths>

Additional information

Used terms: mk(rs0, f), o, r

Proof step 63 from proof aux-known (previous step) (back to tree)

⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null

A spec-lemma

Proof step 64 from proof aux-known (previous step) (back to tree)

mk(rs0, f) = (∅ ++ r)[r, o], rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g(r; a1)], r ∈ rs1, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1 ⊦ g(r)[r => o][rs0, f, g] ∧ hR[rs1, f, g]

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 65 from proof aux-known (previous step) (back to tree)

mk(rs0, f) = (∅ ++ r)[r, o], rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g(r; a1)], r ∈ rs1, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1 ⊦ g(r)[r => o][rs0, f, g] ∧ hR[rs1, f, g]

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

Additional information

Used terms: (∅ ++ r)[r, o], mk(rs0, f)

Proof step 66 from proof aux-known (previous step) (back to tree)

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

A spec-lemma

Proof step 67 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g(r; a1)], r ∈ rs1, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1, ∀ r0. (r0 ∈ mk(rs0, f) ↔ r0 ∈ (∅ ++ r)[r, o]) ∧ (r0 ∈ mk(rs0, f) → mk(rs0, f)[r0] = (∅ ++ r)[r, o][r0]) ⊦ g(r)[r => o][rs0, f, g] ∧ hR[rs1, f, g]

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 ∈ rs → mk(rs, f)[r] = f(r); (s) ⊦ r ∈ mk(rs, f) ↔ r ∈ rs; (s) ⊦ r ∈ h[r0, o] ↔ r ∈ h; (s)

Proof step 68 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g(r; a1)], r ∈ rs1, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1, ∀ r0. (r0 ∈ rs0 ↔ r0 = r) ∧ (r0 ∈ rs0 → f(r0) = (r0 = r ⊃ o;(∅ ++ r)[r0])) ⊦ g(r)[r => o][rs0, f, g] ∧ hR[rs1, f, g]

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 7 terms: r

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] ⊦ s ∩ s0 = ∅ ∧ a ∈ s → (a ∈ s0 ↔ false); (as) Used terms: r

Proof step 69 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, hR[rs1, f, g], a1[r => o][rs0, f, g(r; a1)], ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ r ∈ rs1 ⊦ g(r)[r => o][rs0, f, g] ∧ hR[rs1, f, g]

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 70 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, a1[r => o][rs0, f, g(r; a1)], hR[rs1, f, g], ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ g(r)[r => o][rs0, f, g], ¬ r ∈ rs1 ⊦

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

Additional information

Used terms: g(r; a1), f, rs0, a1[r => o]

Proof step 71 from proof aux-known (previous step) (back to tree)

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

A spec-lemma

Proof step 72 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, hR[rs1, f, g], a1[r => o](mk(rs0, f, g(r; a1))), ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ g(r)[r => o][rs0, f, g], ¬ r ∈ rs1 ⊦

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

Additional information

Used terms: a1, r => o, rs0, g(r; a1), f

Proof step 73 from proof aux-known (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 74 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((r => o))(mk(rs0, f)), hR[rs1, f, g], ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ g(r)[r => o][rs0, f, g], ¬ r ∈ rs1, ∀ r0. r0 ∈ rs0 → g(r; a1)(r0) = a1 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 75 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, ((r => o))(mk(rs0, f)), hR[rs1, f, g], ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ g(r)[r => o][rs0, f, g], ¬ r ∈ rs1, ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1 ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: maplet, name:maplet, seq: ⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null, subst:[h, o, r] → [mk(rs0, f), o, r], <all paths>

Additional information

Used terms: mk(rs0, f), o, r

Proof step 76 from proof aux-known (previous step) (back to tree)

⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null

A spec-lemma

Proof step 77 from proof aux-known (previous step) (back to tree)

mk(rs0, f) = (∅ ++ r)[r, o], rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g], ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ g(r)[r => o][rs0, f, g], ¬ r ∈ rs1, ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 78 from proof aux-known (previous step) (back to tree)

mk(rs0, f) = (∅ ++ r)[r, o], rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g], ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ g(r)[r => o][rs0, f, g], ¬ r ∈ rs1, ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1 ⊦

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, g(r)[r => o]], <all paths>

Additional information

Used terms: g, f, rs0, g(r)[r => o]

Proof step 79 from proof aux-known (previous step) (back to tree)

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

A spec-lemma

Proof step 80 from proof aux-known (previous step) (back to tree)

mk(rs0, f) = (∅ ++ r)[r, o], rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g], ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ g(r)[r => o](mk(rs0, f, g)), ¬ r ∈ rs1, ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1 ⊦

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

Additional information

Used terms: g(r), r => o, rs0, g, f

Proof step 81 from proof aux-known (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 82 from proof aux-known (previous step) (back to tree)

mk(rs0, f) = (∅ ++ r)[r, o], rs0 ∩ rs1 = ∅, r ≠ null, hR[rs1, f, g], ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ r ∈ rs1, ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1, ¬ ((r => o))(mk(rs0, f)) ∨ (∃ r0. ¬(r0 ∈ rs0 → g(r0) = g(r))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ((r => o))(h) ↔ r ≠ null ∧ h = (∅ ++ r)[r, o]; (ss)

Proof step 83 from proof aux-known (previous step) (back to tree)

mk(rs0, f) = (∅ ++ r)[r, o], rs0 ∩ rs1 = ∅, g(r0) ≠ g(r), r ≠ null, ((r => o))((∅ ++ r)[r, o]), hR[rs1, f, g], r0 ∈ rs0, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ r ∈ rs1, ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1 ⊦

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

Additional information

Used terms: (∅ ++ r)[r, o], mk(rs0, f)

Proof step 84 from proof aux-known (previous step) (back to tree)

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

A spec-lemma

Proof step 85 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r0) ≠ g(r), r ≠ null, ((r => o))((∅ ++ r)[r, o]), hR[rs1, f, g], r0 ∈ rs0, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ r ∈ rs1, ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1, ∀ r0. (r0 ∈ mk(rs0, f) ↔ r0 ∈ (∅ ++ r)[r, o]) ∧ (r0 ∈ mk(rs0, f) → mk(rs0, f)[r0] = (∅ ++ r)[r, o][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) ⊦ h[r0, o][r] = (r = r0 ∧ r0 ∈ h ⊃ o;h[r]); (s) ⊦ r ∈ rs → mk(rs, f)[r] = f(r); (s) ⊦ r ∈ mk(rs, f) ↔ r ∈ rs; (s) ⊦ r ∈ h[r0, o] ↔ r ∈ h; (s)

Proof step 86 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r0) ≠ g(r), r ≠ null, ((r => o))((∅ ++ r)[r, o]), hR[rs1, f, g], r0 ∈ rs0, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ r ∈ rs1, ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1, ∀ r1. (r1 ∈ rs0 ↔ r1 = r) ∧ (r1 ∈ rs0 → f(r1) = (r1 = r ⊃ o;(∅ ++ r)[r1])) ⊦

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 87 from proof aux-known (previous step) (back to tree)

r ∈ rs0 ↔ r = r, rs0 ∩ rs1 = ∅, g(r0) ≠ g(r), r ≠ null, ((r => o))((∅ ++ r)[r, o]), hR[rs1, f, g], r0 ∈ rs0, ¬ (g(r)[r => o] * hR)[rs0 ∪ rs1, f, g], ¬ r ∈ rs1, r ∈ rs0 → f(r) = (r = r ⊃ o;(∅ ++ r)[r]), ∀ r1. (r1 ∈ rs0 ↔ r1 = r) ∧ (r1 ∈ rs0 → f(r1) = (r1 = r ⊃ o;(∅ ++ r)[r1])), ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 88 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r0) ≠ g(r), r ≠ null, ((r => f(r)))((∅ ++ r)[r, f(r)]), hR[rs1, f, g], r ∈ rs0, r0 ∈ rs0, ¬ (g(r)[r => f(r)] * hR)[rs0 ∪ rs1, f, g], ¬ r ∈ rs1, ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1, ∀ r1. (r1 ∈ rs0 → r1 = r) ∧ (r1 ∈ rs0 → f(r1) = (r1 = r ⊃ f(r);(∅ ++ r)[r1])) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: maplet, name:maplet, seq: ⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null, subst:[h, o, r] → [(∅ ++ r)[r, f(r)], f(r), r], <all paths>

Additional information

Used terms: (∅ ++ r)[r, f(r)], f(r), r

Proof step 89 from proof aux-known (previous step) (back to tree)

⊦ ((r => o))(h) ↔ h = (∅ ++ r)[r, o] ∧ r ≠ null

A spec-lemma

Proof step 90 from proof aux-known (previous step) (back to tree)

(∅ ++ r)[r, f(r)] = (∅ ++ r)[r, f(r)], rs0 ∩ rs1 = ∅, g(r0) ≠ g(r), r ≠ null, hR[rs1, f, g], r0 ∈ rs0, r ∈ rs0, ¬ (g(r)[r => f(r)] * hR)[rs0 ∪ rs1, f, g], ¬ r ∈ rs1, ∀ r1. (r1 ∈ rs0 → r1 = r) ∧ (r1 ∈ rs0 → f(r1) = (r1 = r ⊃ f(r);(∅ ++ r)[r1])), ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 91 from proof aux-known (previous step) (back to tree)

rs0 ∩ rs1 = ∅, g(r0) ≠ g(r), r ≠ null, hR[rs1, f, g], r ∈ rs0, r0 ∈ rs0, ¬ (g(r)[r => f(r)] * hR)[rs0 ∪ rs1, f, g], ¬ r ∈ rs1, ∀ r0. r0 ∈ rs0 → (r = r0 ⊃ a1;g(r0)) = a1, ∀ r1. (r1 ∈ rs0 → r1 = r) ∧ (r1 ∈ rs0 → f(r1) = (r1 = r ⊃ f(r);(∅ ++ r)[r1])) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 10 terms: r0

Additional information

Used terms: r0

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