[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 rely-owned-unchgd (conclusion) (back to tree)

⊦ rely(a, rs, f, g, rs0, f0, g0) → ((a[hP] * true)[rs, f, g] ↔ (a[hP] * true)[rs0, f0, g0])

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof rely-owned-unchgd (previous step) (back to tree)

¬((a[hP] * true)[rs, f, g] ↔ (a[hP] * true)[rs0, f0, g0]), rely(a, rs, f, g, rs0, f0, g0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: rely: ⊦ rely(a, rs0, f0, g0, rs1, f1, g1) ↔ (∀ r. (g0(r) = a ∧ r ∈ rs0 ↔ g1(r) = a ∧ r ∈ rs1) ∧ (g0(r) = a ∧ r ∈ rs0 → f0(r) = f1(r)));

Proof step 3 from proof rely-owned-unchgd (previous step) (back to tree)

¬((a[hP] * true)[rs, f, g] ↔ (a[hP] * true)[rs0, f0, g0]), ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 4 from proof rely-owned-unchgd (previous step) (back to tree)

(a[hP] * true)[rs, f, g], ¬ (a[hP] * true)[rs0, f0, g0], ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

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, true, g, a[hP], f], <all paths>

Additional information

Used terms: rs, true, g, a[hP], f

Proof step 5 from proof rely-owned-unchgd (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 6 from proof rely-owned-unchgd (previous step) (back to tree)

¬ (a[hP] * true)[rs0, f0, g0], ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∃ rs0, rs1. rs0 ∪ rs1 = rs ∧ rs0 ∩ rs1 = ∅ ∧ a[hP][rs0, f, g] ∧ true[rs1, f, g] ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 7 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f, g], ¬ (a[hP] * true)[rs0, f0, g0], ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)) ⊦

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] → [rs0, true, g0, a[hP], f0], <all paths>

Additional information

Used terms: rs0, true, g0, a[hP], f0

Proof step 8 from proof rely-owned-unchgd (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 9 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f, g], ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ∀ rs1, rs2. ¬(rs1 ∪ rs2 = rs0 ∧ rs1 ∩ rs2 = ∅ ∧ a[hP][rs1, f0, g0] ∧ true[rs2, f0, g0]) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 10 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f, g], ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ∀ rs, rs3. rs ∪ rs3 ≠ rs0 ∨ rs ∩ rs3 ≠ ∅ ∨ ¬ a[hP][rs, f0, g0] ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 4 terms: rs1, rs0 \ rs1 abort: F discard: T computed: F

Additional information

Used terms: rs1, rs0 \ rs1

Proof step 11 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f, g], ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), rs1 ∪ (rs0 \ rs1) ≠ rs0 ∨ rs1 ∩ (rs0 \ rs1) ≠ ∅ ∨ ¬ a[hP][rs1, f0, g0] ⊦

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] ⊦ (s \ s0) ∩ s0 = ∅; (s)

Proof step 12 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f, g], ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), rs1 ∪ (rs0 \ rs1) ≠ rs0 ∨ ¬ a[hP][rs1, f0, g0] ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 4

Additional information

Proof step 13 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs0 \ rs1) ≠ rs0, a[hP][rs1, f, g], ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: rs1 ⊆ rs0

Additional information

Used simplifier rules: ⊦ s ⊆ s0 → s ∪ (s0 \ s) = s0; (s) una: ⊦ (s ∪ s0) ∪ s1 = s ∪ s0 ∪ s1; from specification set-union[refset] unc: ⊦ s ∪ s0 = s0 ∪ s; from specification set-union[refset] Used formulas: rs1 ⊆ rs0

Proof step 14 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs0 \ rs1) ≠ rs0, a[hP][rs1, f, g], ¬ rs1 ⊆ rs0, ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)) ⊦

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, rs1, a[hP]], <all paths>

Additional information

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

Proof step 15 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 16 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs0 \ rs1) ≠ rs0, a[hP](mk(rs1, f, g)), ¬ rs1 ⊆ rs0, ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: embed-aux, 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, rs1, g, f], <all paths>

Additional information

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

Proof step 17 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 18 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs0 \ rs1) ≠ rs0, hP(mk(rs1, f)), ¬ rs1 ⊆ rs0, ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ∀ r. r ∈ rs1 → g(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 19 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs0 \ rs1) ≠ rs0, hP(mk(rs1, f)), ¬ rs1 ⊆ rs0, ∀ r. r ∈ rs1 → g(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: set-basic[refset], name:Subset, seq: ⊦ s1 ⊆ s2 ↔ (∀ a. a ∈ s1 → a ∈ s2), subst:[s2, s1] → [rs0, rs1], <all paths>

Additional information

Used terms: rs0, rs1

Proof step 20 from proof rely-owned-unchgd (previous step) (back to tree)

⊦ s1 ⊆ s2 ↔ (∀ a. a ∈ s1 → a ∈ s2)

A spec-lemma

Proof step 21 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs0 \ rs1) ≠ rs0, hP(mk(rs1, f)), ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ∀ r. r ∈ rs1 → g(r) = a, ∃ r. ¬(r ∈ rs1 → r ∈ rs0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 22 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs0 \ rs1) ≠ rs0, hP(mk(rs1, f)), r ∈ rs1, ¬ r ∈ rs0, ∀ r. r ∈ rs1 → g(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: r

Proof step 23 from proof rely-owned-unchgd (previous step) (back to tree)

g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0, rs1 ∩ rs2 = ∅, rs1 ∪ (rs0 \ rs1) ≠ rs0, hP(mk(rs1, f)), r ∈ rs1, ¬ r ∈ rs0, g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r), ∀ r. r ∈ rs1 → g(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 24 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, g(r) ≠ a, rs1 ∪ (rs0 \ rs1) ≠ rs0, hP(mk(rs1, f)), r ∈ rs1, r ∈ rs1 ∪ rs2, ¬ r ∈ rs0, ∀ r. r ∈ 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 terms: r

Proof step 25 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f, g], ¬ a[hP][rs1, f0, g0], ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)) ⊦

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, rs1, a[hP]], <all paths>

Additional information

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

Proof step 26 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 27 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP](mk(rs1, f, g)), ¬ a[hP][rs1, f0, g0], ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)) ⊦

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] → [g0, f0, rs1, a[hP]], <all paths>

Additional information

Used terms: g0, f0, rs1, a[hP]

Proof step 28 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 29 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP](mk(rs1, f, g)), ¬ a[hP](mk(rs1, f0, g0)), ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: embed-aux, 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, rs1, g0, f0], <all paths>

Additional information

Used terms: a, hP, rs1, g0, f0

Proof step 30 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 31 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP](mk(rs1, f, g)), ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ¬ hP(mk(rs1, f0)) ∨ (∃ r. ¬(r ∈ rs1 → g0(r) = a)) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 32 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP](mk(rs1, f, g)), ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ¬ hP(mk(rs1, f0)) ∨ ¬(r ∈ rs1 → g0(r) = a) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: embed-aux, 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, rs1, g, f], <all paths>

Additional information

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

Proof step 33 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 34 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, hP(mk(rs1, f)), ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ∀ r. r ∈ rs1 → g(r) = a, ¬ hP(mk(rs1, f0)) ∨ ¬(r ∈ rs1 → g0(r) = a) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 35 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, hP(mk(rs1, f)), ∀ r. r ∈ rs1 → g(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ¬ hP(mk(rs1, f0)) ∨ ¬(r ∈ rs1 → g0(r) = a) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 5

Additional information

Proof step 36 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, hP(mk(rs1, f)), ¬ hP(mk(rs1, f0)), ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ∀ r. r ∈ rs1 → g(r) = a ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: mk(rs1, f0) = mk(rs1, f)

Additional information

Used formulas: mk(rs1, f0) = mk(rs1, f)

Proof step 37 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, mk(rs1, f0) ≠ mk(rs1, f), hP(mk(rs1, f)), ¬ hP(mk(rs1, f0)), ∀ r. r ∈ rs1 → g(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)) ⊦

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(rs1, f), mk(rs1, f0)], <all paths>

Additional information

Used terms: mk(rs1, f), mk(rs1, f0)

Proof step 38 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 39 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, hP(mk(rs1, f)), ¬ hP(mk(rs1, f0)), ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ∀ r. r ∈ rs1 → g(r) = a, ∃ r. ¬((r ∈ mk(rs1, f0) ↔ r ∈ mk(rs1, f)) ∧ (r ∈ mk(rs1, f0) → mk(rs1, f0)[r] = mk(rs1, f)[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 40 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, f0(r) ≠ f(r), hP(mk(rs1, f)), r ∈ rs1, ¬ hP(mk(rs1, f0)), ∀ r. r ∈ rs1 → g(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: r

Proof step 41 from proof rely-owned-unchgd (previous step) (back to tree)

g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0, rs1 ∩ rs2 = ∅, f0(r) ≠ f(r), hP(mk(rs1, f)), r ∈ rs1, ¬ hP(mk(rs1, f0)), g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r), ∀ r. r ∈ rs1 → g(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 42 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, f0(r) ≠ f(r), g(r) ≠ a, hP(mk(rs1, f)), r ∈ rs1, r ∈ rs1 ∪ rs2, ¬ hP(mk(rs1, f0)), ∀ r. r ∈ rs1 → g(r) = a ⊦ g0(r) = a ∧ r ∈ rs0

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 8 terms: r

Additional information

Used terms: r

Proof step 43 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, g0(r) ≠ a, hP(mk(rs1, f)), r ∈ rs1, ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ∀ r. r ∈ rs1 → g(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 44 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, g0(r) ≠ a, hP(mk(rs1, f)), r ∈ rs1, ∀ r. r ∈ rs1 → g(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(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 45 from proof rely-owned-unchgd (previous step) (back to tree)

g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0, rs1 ∩ rs2 = ∅, g0(r) ≠ a, hP(mk(rs1, f)), r ∈ rs1, g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r), ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ∀ r. r ∈ rs1 → g(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 46 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, g(r) ≠ a, g0(r) ≠ a, hP(mk(rs1, f)), r ∈ rs1, r ∈ rs1 ∪ rs2, ∀ r. (g(r) = a ∧ r ∈ rs1 ∪ rs2 ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs1 ∪ rs2 → f(r) = f0(r)), ∀ r. r ∈ 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 terms: r

Proof step 47 from proof rely-owned-unchgd (previous step) (back to tree)

(a[hP] * true)[rs0, f0, g0], ¬ (a[hP] * true)[rs, f, g], ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

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] → [rs0, true, g0, a[hP], f0], <all paths>

Additional information

Used terms: rs0, true, g0, a[hP], f0

Proof step 48 from proof rely-owned-unchgd (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 49 from proof rely-owned-unchgd (previous step) (back to tree)

¬ (a[hP] * true)[rs, f, g], ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs0) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∃ rs1, rs2. rs1 ∪ rs2 = rs0 ∧ rs1 ∩ rs2 = ∅ ∧ a[hP][rs1, f0, g0] ∧ true[rs2, f0, g0] ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 50 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f0, g0], ¬ (a[hP] * true)[rs, f, g], ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

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, true, g, a[hP], f], <all paths>

Additional information

Used terms: rs, true, g, a[hP], f

Proof step 51 from proof rely-owned-unchgd (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 52 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f0, g0], ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ rs0, rs1. ¬(rs0 ∪ rs1 = rs ∧ rs0 ∩ rs1 = ∅ ∧ a[hP][rs0, f, g] ∧ true[rs1, f, g]) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 53 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f0, g0], ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ rs0, rs3. rs0 ∪ rs3 ≠ rs ∨ rs0 ∩ rs3 ≠ ∅ ∨ ¬ a[hP][rs0, f, g] ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 4 terms: rs1, rs \ rs1 abort: F discard: T computed: F

Additional information

Used terms: rs1, rs \ rs1

Proof step 54 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f0, g0], ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), rs1 ∪ (rs \ rs1) ≠ rs ∨ rs1 ∩ (rs \ rs1) ≠ ∅ ∨ ¬ a[hP][rs1, 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] ⊦ (s \ s0) ∩ s0 = ∅; (s)

Proof step 55 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f0, g0], ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), rs1 ∪ (rs \ rs1) ≠ rs ∨ ¬ a[hP][rs1, f, g] ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 4

Additional information

Proof step 56 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs \ rs1) ≠ rs, a[hP][rs1, f0, g0], ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: rs1 ⊆ rs

Additional information

Used simplifier rules: ⊦ s ⊆ s0 → s ∪ (s0 \ s) = s0; (s) una: ⊦ (s ∪ s0) ∪ s1 = s ∪ s0 ∪ s1; from specification set-union[refset] unc: ⊦ s ∪ s0 = s0 ∪ s; from specification set-union[refset] Used formulas: rs1 ⊆ rs

Proof step 57 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs \ rs1) ≠ rs, a[hP][rs1, f0, g0], ¬ rs1 ⊆ rs, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

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] → [g0, f0, rs1, a[hP]], <all paths>

Additional information

Used terms: g0, f0, rs1, a[hP]

Proof step 58 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 59 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs \ rs1) ≠ rs, a[hP](mk(rs1, f0, g0)), ¬ rs1 ⊆ rs, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: embed-aux, 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, rs1, g0, f0], <all paths>

Additional information

Used terms: a, hP, rs1, g0, f0

Proof step 60 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 61 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs \ rs1) ≠ rs, hP(mk(rs1, f0)), ¬ rs1 ⊆ rs, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ r. r ∈ rs1 → g0(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 62 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs \ rs1) ≠ rs, hP(mk(rs1, f0)), ¬ rs1 ⊆ rs, ∀ r. r ∈ rs1 → g0(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: set-basic[refset], name:Subset, seq: ⊦ s1 ⊆ s2 ↔ (∀ a. a ∈ s1 → a ∈ s2), subst:[s2, s1] → [rs, rs1], <all paths>

Additional information

Used terms: rs, rs1

Proof step 63 from proof rely-owned-unchgd (previous step) (back to tree)

⊦ s1 ⊆ s2 ↔ (∀ a. a ∈ s1 → a ∈ s2)

A spec-lemma

Proof step 64 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs \ rs1) ≠ rs, hP(mk(rs1, f0)), ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ r. r ∈ rs1 → g0(r) = a, ∃ r. ¬(r ∈ rs1 → r ∈ rs) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 65 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, rs1 ∪ (rs \ rs1) ≠ rs, hP(mk(rs1, f0)), r ∈ rs1, ¬ r ∈ rs, ∀ r. r ∈ rs1 → g0(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: r

Proof step 66 from proof rely-owned-unchgd (previous step) (back to tree)

g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2, rs1 ∩ rs2 = ∅, rs1 ∪ (rs \ rs1) ≠ rs, hP(mk(rs1, f0)), r ∈ rs1, ¬ r ∈ rs, g(r) = a ∧ r ∈ rs → f(r) = f0(r), ∀ r. r ∈ rs1 → g0(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 67 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, g0(r) ≠ a, rs1 ∪ (rs \ rs1) ≠ rs, hP(mk(rs1, f0)), r ∈ rs1, r ∈ rs1 ∪ rs2, ¬ r ∈ rs, ∀ r. r ∈ rs1 → g0(r) = a ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 8 terms: r

Additional information

Used terms: r

Proof step 68 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f0, g0], ¬ a[hP][rs1, f, g], ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

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, rs1, a[hP]], <all paths>

Additional information

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

Proof step 69 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 70 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP][rs1, f0, g0], ¬ a[hP](mk(rs1, f, g)), ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

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] → [g0, f0, rs1, a[hP]], <all paths>

Additional information

Used terms: g0, f0, rs1, a[hP]

Proof step 71 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 72 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, a[hP](mk(rs1, f0, g0)), ¬ a[hP](mk(rs1, f, g)), ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: embed-aux, 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, rs1, g0, f0], <all paths>

Additional information

Used terms: a, hP, rs1, g0, f0

Proof step 73 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 74 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, hP(mk(rs1, f0)), ¬ a[hP](mk(rs1, f, g)), ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ r. r ∈ rs1 → g0(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 75 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, hP(mk(rs1, f0)), ¬ a[hP](mk(rs1, f, g)), ∀ r. r ∈ rs1 → g0(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: embed-aux, 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, rs1, g, f], <all paths>

Additional information

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

Proof step 76 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 77 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, hP(mk(rs1, f0)), ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ r. r ∈ rs1 → g0(r) = a, ¬ hP(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 78 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, hP(mk(rs1, f0)), ∀ r. r ∈ rs1 → g0(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ¬ hP(mk(rs1, f)) ∨ ¬(r ∈ rs1 → g(r) = a) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 5

Additional information

Proof step 79 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, hP(mk(rs1, f0)), ¬ hP(mk(rs1, f)), ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ r. r ∈ rs1 → g0(r) = a ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: mk(rs1, f0) = mk(rs1, f)

Additional information

Used formulas: mk(rs1, f0) = mk(rs1, f)

Proof step 80 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, mk(rs1, f0) ≠ mk(rs1, f), hP(mk(rs1, f0)), ¬ hP(mk(rs1, f)), ∀ r. r ∈ rs1 → g0(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)) ⊦

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(rs1, f), mk(rs1, f0)], <all paths>

Additional information

Used terms: mk(rs1, f), mk(rs1, f0)

Proof step 81 from proof rely-owned-unchgd (previous step) (back to tree)

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

A spec-lemma

Proof step 82 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, hP(mk(rs1, f0)), ¬ hP(mk(rs1, f)), ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ r. r ∈ rs1 → g0(r) = a, ∃ r. ¬((r ∈ mk(rs1, f0) ↔ r ∈ mk(rs1, f)) ∧ (r ∈ mk(rs1, f0) → mk(rs1, f0)[r] = mk(rs1, f)[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 83 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, f0(r) ≠ f(r), hP(mk(rs1, f0)), r ∈ rs1, ¬ hP(mk(rs1, f)), ∀ r. r ∈ rs1 → g0(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(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 84 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, f0(r) ≠ f(r), hP(mk(rs1, f0)), r ∈ rs1, ¬ hP(mk(rs1, f)), r ∈ rs1 → g0(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ r. r ∈ rs1 → g0(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 85 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, f0(r) ≠ f(r), hP(mk(rs1, f0)), r ∈ rs1, ¬ hP(mk(rs1, f)), ∀ r0. (g(r0) = g0(r) ∧ r0 ∈ rs ↔ g0(r0) = g0(r) ∧ r0 ∈ rs1 ∪ rs2) ∧ (g(r0) = g0(r) ∧ r0 ∈ rs → f(r0) = f0(r0)), ∀ r0. r0 ∈ rs1 → g0(r0) = g0(r) ⊦

User applied rule all left

And closed the goal!

Rule argument

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

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 86 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, g(r) ≠ a, hP(mk(rs1, f0)), r ∈ rs1, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ r. r ∈ rs1 → g0(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 87 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, g(r) ≠ a, hP(mk(rs1, f0)), r ∈ rs1, ∀ r. r ∈ rs1 → g0(r) = a, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(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 88 from proof rely-owned-unchgd (previous step) (back to tree)

g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2, rs1 ∩ rs2 = ∅, g(r) ≠ a, hP(mk(rs1, f0)), r ∈ rs1, g(r) = a ∧ r ∈ rs → f(r) = f0(r), ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ r. r ∈ rs1 → g0(r) = a ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 89 from proof rely-owned-unchgd (previous step) (back to tree)

rs1 ∩ rs2 = ∅, g(r) ≠ a, g0(r) ≠ a, hP(mk(rs1, f0)), r ∈ rs1, r ∈ rs1 ∪ rs2, ∀ r. (g(r) = a ∧ r ∈ rs ↔ g0(r) = a ∧ r ∈ rs1 ∪ rs2) ∧ (g(r) = a ∧ r ∈ rs → f(r) = f0(r)), ∀ r. r ∈ rs1 → g0(r) = a ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 8 terms: r

Additional information

Used terms: r

Proof Tree for rely-owned-unchgd (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