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

⊦ #(σ + σ1) = # σ + # σ1

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

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

#(σ + σ1) ≠ # σ + # σ1 ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

indvar: σ

Additional information

Used simplifier rules: append-inf: ⊦ ⌜nf⌝ + σ = ⌜nf⌝ ; append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; size-inf: ⊦ # ⌜nf⌝ = ∞; stream('a) freely generated by ⌜ ⌝, ⌜ ⌝;; ⊦ n∞ + ∞ = ∞; (s) add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf

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

#(⌜x⌝ + σ1) ≠ # ⌜x⌝ + # σ1 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-fin: ⊦ # ⌜x⌝ = ⌜# x⌝ ;

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

#(⌜x⌝ + σ1) ≠ ⌜# x⌝ + # σ1 ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

indvar: σ1

Additional information

Used simplifier rules: stream('a) freely generated by ⌜ ⌝, ⌜ ⌝;;

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

#(⌜x⌝ + ⌜x0⌝ ) ≠ ⌜# x⌝ + # ⌜x0⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-fin: ⊦ # ⌜x⌝ = ⌜# x⌝ ;

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

#(⌜x⌝ + ⌜x0⌝ ) ≠ ⌜# x⌝ + ⌜# x0⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:append-finfin, seq: ⊦ ⌜x + y⌝ = ⌜x⌝ + ⌜y⌝ , subst:[y, x] → [x0, x], <rotated> <all paths>

Additional information

Used terms: x0, x

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

⊦ ⌜x + y⌝ = ⌜x⌝ + ⌜y⌝

Lemma append-finfin

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

# ⌜x + x0⌝ ≠ ⌜# x⌝ + ⌜# x0⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:size-fin, seq: ⊦ # ⌜x⌝ = ⌜# x⌝ , subst:[x] → [x + x0], <all paths>

Additional information

Used simplifier rules: ⊦ #(x + y) = # x + # y; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ ⌜m + n⌝ = ⌜m⌝ + ⌜n⌝ ; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic ⊦ ⌜n⌝ + n∞1 = ⌜n⌝ + n∞2 ↔ n∞1 = n∞2; (s) add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf Used terms: x + x0

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

⊦ # ⌜x⌝ = ⌜# x⌝

Lemma size-fin

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

#(⌜x⌝ + ⌜nf⌝ ) ≠ ⌜# x⌝ + # ⌜nf⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:append-fininf, seq: ⊦ ⌜x⌝ + ⌜nf⌝ = ⌜λ n. (n < # x ⊃ x[n];nf(n - # x))⌝ , subst:[nf, x] → [nf, x], <all paths>

Additional information

Used simplifier rules: size-inf: ⊦ # ⌜nf⌝ = ∞; ⊦ ∞ + ⌜m⌝ = ∞; (s) add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf Used terms: nf, x

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

⊦ ⌜x⌝ + ⌜nf⌝ = ⌜λ n. (n < # x ⊃ x[n];nf(n - # x))⌝

Lemma append-fininf

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