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

⊦ σ ≠ [] → (∃ a, σ0. σ = ⌜a '⌝ + σ0)

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof expand-cons (previous step) (back to tree)

σ ≠ [] ⊦ ∃ a, σ0. σ = ⌜a '⌝ + σ0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 3 from proof expand-cons (previous step) (back to tree)

σ ≠ [] ⊦ ∃ a, σ0. σ = ⌜a '⌝ + σ0

User applied rule structural induction

And obtained the following new goals

Rule argument

indvar: σ

Additional information

Used simplifier rules: stream freely generated by ⌜ ⌝, ⌜ ⌝;;

Proof step 4 from proof expand-cons (previous step) (back to tree)

⌜x⌝ ≠ [] ⊦ ∃ a, σ0. ⌜x⌝ = ⌜a '⌝ + σ0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: fin-empty: ⊦ ⌜x⌝ = [] ↔ x = [];

Proof step 5 from proof expand-cons (previous step) (back to tree)

x ≠ [] ⊦ ∃ a, σ0. ⌜x⌝ = ⌜a '⌝ + σ0

User applied rule structural induction

And obtained the following new goals

Rule argument

indvar: x

Additional information

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

Proof step 6 from proof expand-cons (previous step) (back to tree)

a + x0 ≠ [], x0 ≠ [] → (∃ a, σ0. ⌜x0⌝ = ⌜a '⌝ + σ0) ⊦ ∃ a0, σ0. ⌜a + x0⌝ = ⌜a0 '⌝ + σ0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: append-finfin: ⊦ ⌜x + y⌝ = ⌜x⌝ + ⌜y⌝ ; a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ a + x = a ' + x; (s) ⊦ a ' + x ≠ []; (s)

Proof step 7 from proof expand-cons (previous step) (back to tree)

x0 ≠ [] → ⌜x0⌝ = ⌜a0 '⌝ + σ0 ⊦ ∃ a1, σ. ⌜a '⌝ + ⌜x0⌝ = ⌜a1 '⌝ + σ

Heuristic quantifier closing applied rule exists right

And closed the goal!

Rule argument

pos: right 1 terms: a, ⌜x0⌝

Additional information

Used terms: a, ⌜x0⌝

Proof step 8 from proof expand-cons (previous step) (back to tree)

⌜nf⌝ ≠ [] ⊦ ∃ a, σ0. ⌜nf⌝ = ⌜a '⌝ + σ0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: fun-nonempty: ⊦ [] ≠ ⌜nf⌝ ;

Proof step 9 from proof expand-cons (previous step) (back to tree)

⊦ ∃ a, σ0. ⌜nf⌝ = ⌜a '⌝ + σ0

User applied rule exists right

And obtained the following new goals

Rule argument

pos: right 1 terms: nf(0), ⌜λ n. nf(n + 1)⌝ abort: F discard: T computed: F

Additional information

Used terms: nf(0), ⌜λ n. nf(n + 1)⌝

Proof step 10 from proof expand-cons (previous step) (back to tree)

⌜nf⌝ ≠ ⌜nf(0) '⌝ + ⌜λ n. nf(n + 1)⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:one-inf, seq: ⊦ ⌜a '⌝ + ⌜nf⌝ = ⌜λ n. (n = 0 ⊃ a;nf(n -1))⌝ , subst:[nf, a] → [λ n. nf(n + 1), nf(0)], <all paths>

Additional information

Used terms: λ n. nf(n + 1), nf(0)

Proof step 11 from proof expand-cons (previous step) (back to tree)

⊦ ⌜a '⌝ + ⌜nf⌝ = ⌜λ n. (n = 0 ⊃ a;nf(n -1))⌝

Lemma one-inf

Proof step 12 from proof expand-cons (previous step) (back to tree)

⌜nf⌝ ≠ ⌜λ n. (n = 0 ⊃ nf(0);nf(n -1 + 1))⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜nf⌝ = ⌜nf0⌝ ↔ nf = nf0; (s) ⊦ n -1 = n - 1; (s)

Proof step 13 from proof expand-cons (previous step) (back to tree)

nf(n) ≠ (n = 0 ⊃ nf(0);nf((n - 1) + 1)) ⊦

Heuristic if-then-else split applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 14 from proof expand-cons (previous step) (back to tree)

n ≠ 0, nf(n) ≠ nf((n - 1) + 1) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 15 from proof expand-cons (previous step) (back to tree)

n ≠ 0, nf(n) ≠ nf((n - 1) + 1) ⊦

Heuristic elimination applied rule apply elim lemma

And closed the goal!

Rule argument

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

Additional information

Used simplifier rules: n ≠ 0 ⊦ m = n - 1 ↔ n = m + 1; (elim) Used terms: n, m

Proof Tree for expand-cons (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