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

⊦ ¬ dups(x) ∧ a ∈ x → #(x \ a ') = # x - 1

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof diffone-nodupssize (previous step) (back to tree)

#(x \ a ') ≠ # x - 1, a ∈ x, ¬ dups(x) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 3 from proof diffone-nodupssize (previous step) (back to tree)

#(x \ a ') ≠ # x - 1, a ∈ x, ¬ dups(x) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: nat, name:elim-pred-c, seq:n ≠ 0 ⊦ m = n - 1 ↔ n = m + 1, subst:[n, m] → [# x, m]

Additional information

Used simplifier rules: diff-e: ⊦ [] \ y = []; ⊦ # x = 0 ↔ x = []; (s) ⊦ # [] = 0; (s) ⊦ ¬ a ∈ []; (s) n ≠ 0 ⊦ m = n - 1 ↔ n = m + 1; (elim) Used terms: # x, m

Proof step 4 from proof diffone-nodupssize (previous step) (back to tree)

# x = m + 1, # x ≠ 0, #(x \ a ') ≠ m, a ∈ x, ¬ dups(x) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ # x = 0 ↔ x = []; (s)

Proof step 5 from proof diffone-nodupssize (previous step) (back to tree)

# x = m + 1, #(x \ a ') ≠ m, x ≠ [], a ∈ x, ¬ dups(x) ⊦

Heuristic structural induction applied rule structural induction

And obtained the following new goals

Rule argument

term: x

Additional information

Used simplifier rules: list freely generated by [], +;;

Proof step 6 from proof diffone-nodupssize (previous step) (back to tree)

#(a0 + x0) = m + 1, #((a0 + x0) \ a ') ≠ m, a0 + x0 ≠ [], a ∈ a0 + x0, ¬ dups(a0 + x0), ∀ m, a. ¬(# x0 = m + 1 ∧ #(x0 \ a ') ≠ m ∧ x0 ≠ [] ∧ a ∈ x0 ∧ ¬ dups(x0)) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: diff-firstofapp: ⊦ (x + y) \ x = y \ x; diff-onenonmember: ⊦ ¬ a ∈ x → x \ a ' = x; a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ dups(a ' + x) ↔ a ∈ x ∨ dups(x); (s) ⊦ a + x = a ' + x; (s) ⊦ a ∈ b ' + x ↔ a = b ∨ a ∈ x; (s) ⊦ a ' + x ≠ []; (s) c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ m + n = m + n0 ↔ n = n0; (s) ⊦ m +1 = m + 1; (s) ⊦ #(a ' + x) = (# x)+1; (s)

Proof step 7 from proof diffone-nodupssize (previous step) (back to tree)

#((a0 ' + x0) \ a ') ≠ # x0, a ≠ a0, a ∈ x0, ¬ dups(x0), ¬ a0 ∈ x0, ∀ m0, a1. # x0 ≠ m0 + 1 ∨ #(x0 \ a1 ') = m0 ∨ x0 = [] ∨ ¬ a1 ∈ x0 ⊦

Heuristic cut applied rule cut formula

And obtained the following new goals

Rule argument

fma: a0 ∈ a '

Additional information

Used simplifier rules: diff-y: ⊦ a ∈ y → (a ' + x) \ y = x \ y; a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a ∈ b ' ↔ a = b; (s) Used formulas: a0 ∈ a '

Proof step 8 from proof diffone-nodupssize (previous step) (back to tree)

#((a0 ' + x0) \ a ') ≠ # x0, a ≠ a0, a ∈ x0, ¬ dups(x0), ¬ a0 ∈ a ', ¬ a0 ∈ x0, ∀ m0, a1. # x0 ≠ m0 + 1 ∨ #(x0 \ a1 ') = m0 ∨ x0 = [] ∨ ¬ a1 ∈ x0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: diff-n: ⊦ ¬ a ∈ y → (a ' + x) \ y = a + (x \ y); ⊦ a ∈ b ' ↔ a = b; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ m +1 = m + 1; (s) ⊦ #(a ' + x) = (# x)+1; (s) ⊦ a + x = a ' + x; (s)

Proof step 9 from proof diffone-nodupssize (previous step) (back to tree)

#(x0 \ a ') + 1 ≠ # x0, a ≠ a0, a ∈ x0, ¬ dups(x0), ¬ a0 ∈ x0, ∀ m0, a1. # x0 ≠ m0 + 1 ∨ #(x0 \ a1 ') = m0 ∨ x0 = [] ∨ ¬ a1 ∈ x0 ⊦

Heuristic cut applied rule cut formula

And obtained the following new goals

Rule argument

fma: x0 = []

Additional information

Used simplifier rules: diff-e: ⊦ [] \ y = []; a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic ⊦ # [] = 0; (s) ⊦ ¬ a ∈ []; (s) Used formulas: x0 = []

Proof step 10 from proof diffone-nodupssize (previous step) (back to tree)

#(x0 \ a ') + 1 ≠ # x0, a ≠ a0, x0 ≠ [], a ∈ x0, ¬ dups(x0), ¬ a0 ∈ x0, ∀ m0, a1. # x0 ≠ m0 + 1 ∨ #(x0 \ a1 ') = m0 ∨ x0 = [] ∨ ¬ a1 ∈ x0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 11 from proof diffone-nodupssize (previous step) (back to tree)

#(x0 \ a ') + 1 ≠ # x0, a ≠ a0, x0 ≠ [], a ∈ x0, ¬ dups(x0), ¬ a0 ∈ x0, ∀ m0, a1. # x0 ≠ m0 + 1 ∨ #(x0 \ a1 ') = m0 ∨ ¬ a1 ∈ x0 ⊦

User applied rule all left

And closed the goal!

Rule argument

pos: left 7 terms: # x0 - 1, a abort: F discard: T computed: F

Additional information

Used simplifier rules: ⊦ m ≤ n ↔ ¬ n < m; (ss) ⊦ m < 1 ↔ m = 0; (s) ⊦ # x = 0 ↔ x = []; (s) n ≤ m ⊦ (m - n) + n0 = n1 ↔ m + n0 = n + n1; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used terms: # x0 - 1, a

Proof Tree for diffone-nodupssize (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