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

⊦ bag0 ++ a ⊆ bag1 ↔ (∃ bag2. bag1 = bag2 ++ a ∧ bag0 ⊆ bag2)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: subset-plusplus: ⊦ bag0 ++ a ⊆ bag1 ++ a ↔ bag0 ⊆ bag1;

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

bag0 ++ a ⊆ bag1 ⊦ ∃ bag2. bag1 = bag2 ++ a ∧ bag0 ⊆ bag2

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:exin, seq: ⊦ a ∈ bag → (∃ bag0. bag = bag0 ++ a), subst:[a, bag] → [a, bag1]

Additional information

Used terms: a, bag1

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

⊦ a ∈ bag → (∃ bag0. bag = bag0 ++ a)

Lemma exin

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

bag0 ++ a ⊆ bag1, a ∈ bag1 → (∃ bag0. bag1 = bag0 ++ a) ⊦ ∃ bag2. bag1 = bag2 ++ a ∧ bag0 ⊆ bag2

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: in: ⊦ a ∈ bag ↔ count(a, bag) ≠ 0; subset-in: ⊦ bag0 ++ a ⊆ bag1 → (count(a, bag1) = 0 ↔ false); subset-plusplus: ⊦ bag0 ++ a ⊆ bag1 ++ a ↔ bag0 ⊆ bag1;

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

bag0 ⊆ bag ⊦ ∃ bag2. bag ++ a = bag2 ++ a ∧ bag0 ⊆ bag2

Heuristic quantifier closing applied rule exists right

And closed the goal!

Rule argument

pos: right 1 terms: bag

Additional information

Used terms: bag

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