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

⊦ rws ⊆ mem ↔ (∀ l. l ∈ rws → rws[l] = mem(l))

User applied rule induction

And obtained the following new goals

Rule argument

indvar: # rws wfpred: <

Additional information

Used simplifier rules: <; (wellfounded) Used terms: # rws

Proof step 2 from proof subset-def (previous step) (back to tree)

∀ rws0, mem. # rws0 < # rws → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ rws ⊆ mem ↔ (∀ l. l ∈ rws → rws[l] = mem(l))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 3 from proof subset-def (previous step) (back to tree)

∀ rws0, mem. # rws0 < # rws → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ rws ⊆ mem ↔ (∀ l. l ∈ rws → rws[l] = mem(l))

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: rws

Additional information

Used simplifier rules: subset-base: ⊦ ∅ ⊆ mem; Rwset generated by ∅, [ := ];; ⊦ ¬ a ∈ ∅; (s)

Proof step 4 from proof subset-def (previous step) (back to tree)

rws = rws1[l0 := v], rws ≠ rws1, ∀ rws0, mem. # rws0 < # rws → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ rws ⊆ mem ↔ (∀ l. l ∈ rws → rws[l] = mem(l))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 5 from proof subset-def (previous step) (back to tree)

rws1[l0 := v] ≠ rws1, ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ rws1[l0 := v] ⊆ mem ↔ (∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l))

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name: subset-rec, seq: ⊦ ¬ l ∈ rws → (rws[l := v] ⊆ mem ↔ mem(l) = v ∧ rws ⊆ mem), subst:[mem, v, l, rws] → [mem, v, l0, rws1], <all paths>

Additional information

Used terms: mem, v, l0, rws1

Proof step 6 from proof subset-def (previous step) (back to tree)

⊦ ¬ l ∈ rws → (rws[l := v] ⊆ mem ↔ mem(l) = v ∧ rws ⊆ mem)

Lemma subset-rec

Proof step 7 from proof subset-def (previous step) (back to tree)

rws1[l0 := v] ≠ rws1, l0 ∈ rws1, ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ rws1[l0 := v] ⊆ mem ↔ (∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 8 from proof subset-def (previous step) (back to tree)

rws1[l0 := v] ≠ rws1, l0 ∈ rws1, ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ rws1[l0 := v] ⊆ mem ↔ (∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l))

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: map[readwriteset], name: exin, seq: ⊦ a ∈ st ↔ (∃ d, st0. st = st0[a := d] ∧ ¬ a ∈ st0), subst:[st, a] → [rws1, l0], <all paths>

Additional information

Used terms: rws1, l0

Proof step 9 from proof subset-def (previous step) (back to tree)

⊦ a ∈ st ↔ (∃ d, st0. st = st0[a := d] ∧ ¬ a ∈ st0)

A spec-lemma

Proof step 10 from proof subset-def (previous step) (back to tree)

rws1[l0 := v] ≠ rws1, ∃ d, rws. rws1 = rws[l0 := d] ∧ ¬ l0 ∈ rws, ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ rws1[l0 := v] ⊆ mem ↔ (∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: subset-rec: ⊦ ¬ l ∈ rws → (rws[l := v] ⊆ mem ↔ mem(l) = v ∧ rws ⊆ mem); ⊦ (st[a := d0])[a := d] = st[a := d]; (s) ⊦ st[a := d0] = st[a := d1] ↔ d0 = d1; (s)

Proof step 11 from proof subset-def (previous step) (back to tree)

v ≠ v0, ¬ l0 ∈ rws, ∀ rws0, mem. # rws0 < # (rws[l0 := v0])[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ mem(l0) = v ∧ rws ⊆ mem ↔ (∀ l. l ∈ rws[l0 := v] → (rws[l0 := v])[l] = mem(l))

User applied rule apply induction

And obtained the following new goals

Rule argument

subst: [rws0, mem] → [rws, mem]

Additional information

Used simplifier rules: ⊦ (st[a := d0])[a := d] = st[a := d]; (s) ⊦ ¬ a ∈ st → # st[a := d] = # st + 1; (s) ⊦ m < n + 1 ↔ ¬ n < m; (s) ⊦ ¬ n < n; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used terms: rws, mem

Proof step 12 from proof subset-def (previous step) (back to tree)

v ≠ v0, ¬ l0 ∈ rws, rws ⊆ mem ↔ (∀ l. l ∈ rws → rws[l] = mem(l)), ∀ rws0, mem. # rws0 < # (rws[l0 := v0])[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ mem(l0) = v ∧ rws ⊆ mem ↔ (∀ l. l ∈ rws[l0 := v] → (rws[l0 := v])[l] = mem(l))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 13 from proof subset-def (previous step) (back to tree)

mem(l0) = v, v ≠ v0, rws ⊆ mem, ¬ l0 ∈ rws, rws ⊆ mem ↔ (∀ l. l ∈ rws → rws[l] = mem(l)), ∀ rws0, mem. # rws0 < # (rws[l0 := v0])[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ ∀ l. l ∈ rws[l0 := v] → (rws[l0 := v])[l] = mem(l)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 14 from proof subset-def (previous step) (back to tree)

(rws[l0 := mem(l0)])[l] ≠ mem(l), mem(l0) ≠ v0, l ∈ rws[l0 := mem(l0)], rws ⊆ mem, ¬ l0 ∈ rws, ∀ l. l ∈ rws → rws[l] = mem(l), ∀ rws0, mem0. # rws0 < # (rws[l0 := v0])[l0 := mem(l0)] → true → (rws0 ⊆ mem0 ↔ (∀ l. l ∈ rws0 → rws0[l] = mem0(l))) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: map[readwriteset], name:At-other, seq: ⊦ a ≠ b → (st[b := d])[a] = st[a], subst:[st, b, d, a] → [rws, l0, mem(l0), l], <all paths>

Additional information

Used simplifier rules: ⊦ a = b → (st[b := d])[a] = d; (s) Used terms: rws, l0, mem(l0), l

Proof step 15 from proof subset-def (previous step) (back to tree)

⊦ a ≠ b → (st[b := d])[a] = st[a]

A spec-lemma

Proof step 16 from proof subset-def (previous step) (back to tree)

rws[l] ≠ mem(l), l ≠ l0, mem(l0) ≠ v0, l ∈ rws[l0 := mem(l0)], rws ⊆ mem, ¬ l0 ∈ rws, ∀ l. l ∈ rws → rws[l] = mem(l), ∀ rws0, mem0. # rws0 < # (rws[l0 := v0])[l0 := mem(l0)] → true → (rws0 ⊆ mem0 ↔ (∀ l. l ∈ rws0 → rws0[l] = mem0(l))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a ≠ b → (a ∈ st[b := d] ↔ a ∈ st); (s)

Proof step 17 from proof subset-def (previous step) (back to tree)

rws[l] ≠ mem(l), l ≠ l0, mem(l0) ≠ v0, l ∈ rws, rws ⊆ mem, ¬ l0 ∈ rws, ∀ l. l ∈ rws → rws[l] = mem(l), ∀ rws0, mem0. # rws0 < # (rws[l0 := v0])[l0 := mem(l0)] → true → (rws0 ⊆ mem0 ↔ (∀ l. l ∈ rws0 → rws0[l] = mem0(l))) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 7 terms: l

Additional information

Used terms: l

Proof step 18 from proof subset-def (previous step) (back to tree)

v ≠ v0, ¬ l0 ∈ rws, rws ⊆ mem ↔ (∀ l. l ∈ rws → rws[l] = mem(l)), ∀ l. l ∈ rws[l0 := v] → (rws[l0 := v])[l] = mem(l), ∀ rws0, mem. # rws0 < # (rws[l0 := v0])[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ mem(l0) = v ∧ rws ⊆ mem

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 3

Additional information

Proof step 19 from proof subset-def (previous step) (back to tree)

v ≠ v0, ¬ l0 ∈ rws, ¬ rws ⊆ mem, ∀ l. l ∈ rws[l0 := v] → (rws[l0 := v])[l] = mem(l), ∀ rws0, mem. # rws0 < # (rws[l0 := v0])[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ ∀ l. l ∈ rws → rws[l] = mem(l), mem(l0) = v ∧ rws ⊆ mem

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 20 from proof subset-def (previous step) (back to tree)

rws[l] ≠ mem(l), v ≠ v0, l ∈ rws, ¬ l0 ∈ rws, ¬ rws ⊆ mem, ∀ l. l ∈ rws[l0 := v] → (rws[l0 := v])[l] = mem(l), ∀ rws0, mem. # rws0 < # (rws[l0 := v0])[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 6 terms: l

Additional information

Used simplifier rules: ⊦ b ∈ st ∧ ¬ a ∈ st → (st[a := d])[b] = st[b]; (s) ⊦ a ∈ st[b := d] ↔ a = b ∨ a ∈ st; (ws) Used terms: l

Proof step 21 from proof subset-def (previous step) (back to tree)

v ≠ v0, rws ⊆ mem, ¬ l0 ∈ rws, ∀ l. l ∈ rws[l0 := v] → (rws[l0 := v])[l] = mem(l), ∀ l. l ∈ rws → rws[l] = mem(l), ∀ rws0, mem. # rws0 < # (rws[l0 := v0])[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ mem(l0) = v ∧ rws ⊆ mem

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 22 from proof subset-def (previous step) (back to tree)

mem(l0) ≠ v, v ≠ v0, rws ⊆ mem, ¬ l0 ∈ rws, ∀ l. l ∈ rws → rws[l] = mem(l), ∀ l. l ∈ rws[l0 := v] → (rws[l0 := v])[l] = mem(l), ∀ rws0, mem. # rws0 < # (rws[l0 := v0])[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 6 terms: l0

Additional information

Used simplifier rules: ⊦ a ∈ st[a := d]; (s) ⊦ a = b → (st[b := d])[a] = d; (s) Used terms: l0

Proof step 23 from proof subset-def (previous step) (back to tree)

rws1[l0 := v] ≠ rws1, ¬ l0 ∈ rws1, ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ mem(l0) = v ∧ rws1 ⊆ mem ↔ (∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 24 from proof subset-def (previous step) (back to tree)

rws1[l0 := v] ≠ rws1, ¬ l0 ∈ rws1, ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ mem(l0) = v ∧ rws1 ⊆ mem ↔ (∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l))

User applied rule apply induction

And obtained the following new goals

Rule argument

subst: [rws0, mem] → [rws1, mem]

Additional information

Used simplifier rules: ⊦ ¬ a ∈ st → # st[a := d] = # st + 1; (s) ⊦ m < n + 1 ↔ ¬ n < m; (s) ⊦ ¬ n < n; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used terms: rws1, mem

Proof step 25 from proof subset-def (previous step) (back to tree)

rws1[l0 := v] ≠ rws1, ¬ l0 ∈ rws1, rws1 ⊆ mem ↔ (∀ l. l ∈ rws1 → rws1[l] = mem(l)), ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ mem(l0) = v ∧ rws1 ⊆ mem ↔ (∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 26 from proof subset-def (previous step) (back to tree)

mem(l0) = v, rws1[l0 := v] ≠ rws1, rws1 ⊆ mem, ¬ l0 ∈ rws1, rws1 ⊆ mem ↔ (∀ l. l ∈ rws1 → rws1[l] = mem(l)), ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ ∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 27 from proof subset-def (previous step) (back to tree)

(rws1[l0 := mem(l0)])[l] ≠ mem(l), rws1[l0 := mem(l0)] ≠ rws1, l ∈ rws1[l0 := mem(l0)], rws1 ⊆ mem, ¬ l0 ∈ rws1, ∀ l. l ∈ rws1 → rws1[l] = mem(l), ∀ rws0, mem0. # rws0 < # rws1[l0 := mem(l0)] → true → (rws0 ⊆ mem0 ↔ (∀ l. l ∈ rws0 → rws0[l] = mem0(l))) ⊦

Heuristic weak cut applied rule cut formula

And obtained the following new goals

Rule argument

fma: l = l0

Additional information

Used simplifier rules: ⊦ a = b → (st[b := d])[a] = d; (s) Used formulas: l = l0

Proof step 28 from proof subset-def (previous step) (back to tree)

(rws1[l0 := mem(l0)])[l] ≠ mem(l), rws1[l0 := mem(l0)] ≠ rws1, l ≠ l0, l ∈ rws1[l0 := mem(l0)], rws1 ⊆ mem, ¬ l0 ∈ rws1, ∀ l. l ∈ rws1 → rws1[l] = mem(l), ∀ rws0, mem0. # rws0 < # rws1[l0 := mem(l0)] → true → (rws0 ⊆ mem0 ↔ (∀ l. l ∈ rws0 → rws0[l] = mem0(l))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a ≠ b → (a ∈ st[b := d] ↔ a ∈ st); (s) ⊦ a ≠ b → (st[b := d])[a] = st[a]; (s)

Proof step 29 from proof subset-def (previous step) (back to tree)

rws1[l0 := mem(l0)] ≠ rws1, rws1[l] ≠ mem(l), l ≠ l0, l ∈ rws1, rws1 ⊆ mem, ¬ l0 ∈ rws1, ∀ l. l ∈ rws1 → rws1[l] = mem(l), ∀ rws0, mem0. # rws0 < # rws1[l0 := mem(l0)] → true → (rws0 ⊆ mem0 ↔ (∀ l. l ∈ rws0 → rws0[l] = mem0(l))) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 7 terms: l

Additional information

Used terms: l

Proof step 30 from proof subset-def (previous step) (back to tree)

rws1[l0 := v] ≠ rws1, ¬ l0 ∈ rws1, rws1 ⊆ mem ↔ (∀ l. l ∈ rws1 → rws1[l] = mem(l)), ∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l), ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ mem(l0) = v ∧ rws1 ⊆ mem

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 3

Additional information

Proof step 31 from proof subset-def (previous step) (back to tree)

rws1[l0 := v] ≠ rws1, ¬ l0 ∈ rws1, ¬ rws1 ⊆ mem, ∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l), ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ ∀ l. l ∈ rws1 → rws1[l] = mem(l), mem(l0) = v ∧ rws1 ⊆ mem

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 32 from proof subset-def (previous step) (back to tree)

rws1[l] ≠ mem(l), rws1[l0 := v] ≠ rws1, l ∈ rws1, ¬ l0 ∈ rws1, ¬ rws1 ⊆ mem, ∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l), ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 6 terms: l

Additional information

Used simplifier rules: ⊦ b ∈ st ∧ ¬ a ∈ st → (st[a := d])[b] = st[b]; (s) ⊦ a ∈ st[b := d] ↔ a = b ∨ a ∈ st; (ws) Used terms: l

Proof step 33 from proof subset-def (previous step) (back to tree)

rws1[l0 := v] ≠ rws1, rws1 ⊆ mem, ¬ l0 ∈ rws1, ∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l), ∀ l. l ∈ rws1 → rws1[l] = mem(l), ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦ mem(l0) = v ∧ rws1 ⊆ mem

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 34 from proof subset-def (previous step) (back to tree)

rws1[l0 := v] ≠ rws1, mem(l0) ≠ v, rws1 ⊆ mem, ¬ l0 ∈ rws1, ∀ l. l ∈ rws1 → rws1[l] = mem(l), ∀ l. l ∈ rws1[l0 := v] → (rws1[l0 := v])[l] = mem(l), ∀ rws0, mem. # rws0 < # rws1[l0 := v] → true → (rws0 ⊆ mem ↔ (∀ l. l ∈ rws0 → rws0[l] = mem(l))) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 6 terms: l0

Additional information

Used simplifier rules: ⊦ a ∈ st[a := d]; (s) ⊦ a = b → (st[b := d])[a] = d; (s) Used terms: l0

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