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

⊦ # st0 < # st → ¬ st ⊆ st0

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

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

# st0 < # st, st ⊆ st0 ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

indvar: st

Additional information

Used simplifier rules: gen: ⊦ ; subset-empty: ⊦ ∅ ⊆ st; Size-empty: ⊦ # ∅ = 0; ⊦ ¬ n < 0; (s)

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

# st0 < # st1[a := d], st1[a := d] ⊆ st0, ∀ st0. ¬(# st0 < # st1 ∧ st1 ⊆ st0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: empty: ⊦ # st = 0 ↔ st = ∅; f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic

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

st1[a := d] ≠ ∅, # st0 < # st1[a := d], st1[a := d] ⊆ st0, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

Heuristic weak cut applied rule cut formula

And obtained the following new goals

Rule argument

fma: a ∈ st1

Additional information

Used formulas: a ∈ st1

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

st1[a := d] ≠ ∅, # st0 < # st1[a := d], a ∈ st1, st1[a := d] ⊆ st0, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-in: ⊦ a ∈ st → # st[a := d] = # st; empty: ⊦ # st = 0 ↔ st = ∅; f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic

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

st1[a := d] ≠ ∅, st1 ≠ ∅, # st0 < # st1, a ∈ st1, st1[a := d] ⊆ st0, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:ins, seq: ⊦ st[a] = d ∧ a ∈ st → st[a := d] = st, subst:[d, a, st] → [d, a, st1], <all paths>

Additional information

Used terms: d, a, st1

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

⊦ st[a] = d ∧ a ∈ st → st[a := d] = st

Lemma ins

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

st1[a := d] ≠ ∅, st1 ≠ ∅, # st0 < # st1, a ∈ st1, st1[a := d] ⊆ st0, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦ st1[a] = d ∧ a ∈ st1

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

st1[a := d] ≠ ∅, st1[a] ≠ d, st1 ≠ ∅, # st0 < # st1, a ∈ st1, st1[a := d] ⊆ st0, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:subset-put-02, seq: ⊦ st[a := d] ⊆ st0 ↔ st -- a ⊆ st0 -- a ∧ a ∈ st0 ∧ st0[a] = d, subst:[st0, d, a, st] → [st0, d, a, st1], <all paths>

Additional information

Used terms: st0, d, a, st1

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

⊦ st[a := d] ⊆ st0 ↔ st -- a ⊆ st0 -- a ∧ a ∈ st0 ∧ st0[a] = d

Lemma subset-put-02

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

st0[a] = d, st1[a := d] ≠ ∅, st1[a] ≠ d, st1 ≠ ∅, # st0 < # st1, a ∈ st0, a ∈ st1, st1 -- a ⊆ st0 -- a, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

st1[a := st0[a]] ≠ ∅, st1[a] ≠ st0[a], st1 ≠ ∅, # st0 < # st1, a ∈ st1, a ∈ st0, st1 -- a ⊆ st0 -- a, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 8 terms: st0[a := st1[a]] abort: F discard: F computed: F

Additional information

Used terms: st0[a := st1[a]]

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

st1[a := st0[a]] ≠ ∅, st1[a] ≠ st0[a], st1 ≠ ∅, # st0 < # st1, a ∈ st0, a ∈ st1, st1 -- a ⊆ st0 -- a, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st, ¬ # st0[a := st1[a]] < # st1 ∨ ¬ st1 ⊆ st0[a := st1[a]] ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-in: ⊦ a ∈ st → # st[a := d] = # st;

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

st1[a := st0[a]] ≠ ∅, st1[a] ≠ st0[a], st1 ≠ ∅, # st0 < # st1, a ∈ st1, a ∈ st0, st1 -- a ⊆ st0 -- a, ¬ st1 ⊆ st0[a := st1[a]], ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:subset-put-01, seq: ⊦ st ⊆ st0[a := d] ↔ st ⊆ st0 ∧ ¬ a ∈ st ∨ a ∈ st ∧ st[a] = d ∧ st -- a ⊆ st0 -- a, subst:[d, a, st0, st] → [st1[a], a, st0, st1], <all paths>

Additional information

Used terms: st1[a], a, st0, st1

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

⊦ st ⊆ st0[a := d] ↔ st ⊆ st0 ∧ ¬ a ∈ st ∨ a ∈ st ∧ st[a] = d ∧ st -- a ⊆ st0 -- a

Lemma subset-put-01

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

st1[a] = d, st1 ≠ ∅, # st0 < # st1, a ∈ st1, st1 ⊆ st0, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

st1 ≠ ∅, # st0 < # st1, a ∈ st1, st1 ⊆ st0, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 5 terms: st0

Additional information

Used terms: st0

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

st1[a := d] ≠ ∅, # st0 < # st1[a := d], st1[a := d] ⊆ st0, ¬ a ∈ st1, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

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

st1[a := d] ≠ ∅, # st0 ≤ # st1, st1[a := d] ⊆ st0, ¬ a ∈ st1, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:subset-put-02, seq: ⊦ st[a := d] ⊆ st0 ↔ st -- a ⊆ st0 -- a ∧ a ∈ st0 ∧ st0[a] = d, subst:[st0, d, a, st] → [st0, d, a, st1], <all paths>

Additional information

Used terms: st0, d, a, st1

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

⊦ st[a := d] ⊆ st0 ↔ st -- a ⊆ st0 -- a ∧ a ∈ st0 ∧ st0[a] = d

Lemma subset-put-02

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

st0[a] = d, st1[a := d] ≠ ∅, a ∈ st0, # st0 ≤ # st1, st1 -- a ⊆ st0 -- a, ¬ a ∈ st1, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: notin-del-notin: ⊦ ¬ a ∈ st → st -- a = st;

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

st1[a := st0[a]] ≠ ∅, a ∈ st0, # st0 ≤ # st1, st1 ⊆ st0 -- a, ¬ a ∈ st1, ∀ st. ¬ # st < # st1 ∨ ¬ st1 ⊆ st ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 6 terms: st0 -- a

Additional information

Used simplifier rules: size: ⊦ a ∈ st → #(st -- a) = (# st)-1; empty: ⊦ # st = 0 ↔ st = ∅; Del-empty: ⊦ ∅ -- a = ∅; subset-empty-01: ⊦ st ⊆ ∅ ↔ st = ∅; In-empty: ⊦ ¬ a ∈ ∅; ⊦ n -1 = n - 1; (s) ⊦ m ≤ n ↔ ¬ n < m; (ss) ⊦ m < 1 ↔ m = 0; (s) n0 ≤ n ⊦ n - n0 < m ↔ n < m + n0; (s) ⊦ m < n + 1 ↔ ¬ n < m; (s) ⊦ m ≤ n → (n < m ↔ false); (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used terms: st0 -- a

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