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

⊦ cext !(πra(step, cstep, ren, cren, ⌜pcs '⌝ + ⌜pcsf⌝ , ⌜paf⌝ )) ⊑ aext !(aα) → repls(step, cstep, cren, ren, aren, cext, aext, ⌜pcs '⌝ + ⌜pcsf⌝ , ⌜paf⌝ , aσ, aα) = lim(⌜λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, pcs + pcsf.take(n), paf.take(n), aσ, aα)⌝ ⌝ )

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof replstate-inf (previous step) (back to tree)

repls(step, cstep, cren, ren, aren, cext, aext, ⌜pcs '⌝ + ⌜pcsf⌝ , ⌜paf⌝ , aσ, aα) ≠ lim(⌜λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, pcs + pcsf.take(n), paf.take(n), aσ, aα)⌝ ⌝ ), cext !(πra(step, cstep, ren, cren, ⌜pcs '⌝ + ⌜pcsf⌝ , ⌜paf⌝ )) ⊑ aext !(aα) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

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

Additional information

Used terms: pcs, pcsf

Proof step 3 from proof replstate-inf (previous step) (back to tree)

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

A spec-lemma

Proof step 4 from proof replstate-inf (previous step) (back to tree)

repls(step, cstep, cren, ren, aren, cext, aext, ⌜λ n. (n = 0 ⊃ pcs;pcsf(n -1))⌝ , ⌜paf⌝ , aσ, aα) ≠ lim(⌜λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, pcs + pcsf.take(n), paf.take(n), aσ, aα)⌝ ⌝ ), cext !(πra(step, cstep, ren, cren, ⌜λ n. (n = 0 ⊃ pcs;pcsf(n -1))⌝ , ⌜paf⌝ )) ⊑ aext !(aα) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name: replstate-inf-def, seq:⊦ cext !(πra(step, cstep, ren, cren, ⌜pcsf⌝ , ⌜paf⌝ )) ⊑ aext !(aα) → repls(step, cstep, cren, ren, aren, cext, aext, ⌜pcsf⌝ , ⌜paf⌝ , aσ, aα) = lim (⌜λ n. ⌜repls (step, cstep, cren, ren, aren, cext, aext, pcsf.take(n + 1), paf.take(n), aσ, aα) ⌝ ⌝ ), subst:[cext, aσ, ren, cstep, aren, aext, step, aα, pcsf, cren, paf] → [cext, aσ, ren, cstep, aren, aext, step, aα, λ n. (n = 0 ⊃ pcs;pcsf(n -1)), cren, paf]; ['ca, 'cs, 'a, 'aa, 'pa, 'e, 's, 'as] → ['ca, 'cs, 'a, 'aa, 'pa, 'e, 's, 'as], <all paths>

Additional information

Used terms: aren, ren, paf, step, aext, cren, cstep, aα, aσ, λ n. (n = 0 ⊃ pcs;pcsf(n -1)), cext

Proof step 5 from proof replstate-inf (previous step) (back to tree)

⊦ cext !(πra(step, cstep, ren, cren, ⌜pcsf⌝ , ⌜paf⌝ )) ⊑ aext !(aα) → repls(step, cstep, cren, ren, aren, cext, aext, ⌜pcsf⌝ , ⌜paf⌝ , aσ, aα) = lim(⌜λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, pcsf.take(n + 1), paf.take(n), aσ, aα)⌝ ⌝ )

Lemma replstate-inf-def

Proof step 6 from proof replstate-inf (previous step) (back to tree)

lim(⌜λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, (λ n. (n = 0 ⊃ pcs;pcsf(n -1))).take(n + 1), paf.take(n), aσ, aα)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, pcs + pcsf.take(n), paf.take(n), aσ, aα)⌝ ⌝ ), cext !(πra(step, cstep, ren, cren, ⌜λ n. (n = 0 ⊃ pcs;pcsf(n -1))⌝ , ⌜paf⌝ )) ⊑ aext !(aα) ⊦

User applied rule reduce equation

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 7 from proof replstate-inf (previous step) (back to tree)

⌜λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, (λ n. (n = 0 ⊃ pcs;pcsf(n -1))).take(n + 1), paf.take(n), aσ, aα)⌝ ⌝ ≠ ⌜λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, pcs + pcsf.take(n), paf.take(n), aσ, aα)⌝ ⌝ , cext !(πra(step, cstep, ren, cren, ⌜λ n. (n = 0 ⊃ pcs;pcsf(n -1))⌝ , ⌜paf⌝ )) ⊑ aext !(aα) ⊦

User applied rule reduce equation

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 8 from proof replstate-inf (previous step) (back to tree)

(λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, (λ n. (n = 0 ⊃ pcs;pcsf(n -1))).take(n + 1), paf.take(n), aσ, aα)⌝ ) ≠ (λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, pcs + pcsf.take(n), paf.take(n), aσ, aα)⌝ ), cext !(πra(step, cstep, ren, cren, ⌜λ n. (n = 0 ⊃ pcs;pcsf(n -1))⌝ , ⌜paf⌝ )) ⊑ aext !(aα) ⊦

User applied rule expand left

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 9 from proof replstate-inf (previous step) (back to tree)

(λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, (λ n. (n = 0 ⊃ pcs;pcsf(n -1))).take(n + 1), paf.take(n), aσ, aα)⌝ )(n) ≠ (λ n. ⌜repls(step, cstep, cren, ren, aren, cext, aext, pcs + pcsf.take(n), paf.take(n), aσ, aα)⌝ )(n), cext !(πra(step, cstep, ren, cren, ⌜λ n. (n = 0 ⊃ pcs;pcsf(n -1))⌝ , ⌜paf⌝ )) ⊑ aext !(aα) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ n -1 = n - 1; (s) ⊦ ⌜x⌝ = ⌜x0⌝ ↔ x = x0; (s) ⊦ a + x = a ' + x; (s)

Proof step 10 from proof replstate-inf (previous step) (back to tree)

repls(step, cstep, cren, ren, aren, cext, aext, (λ n. (n = 0 ⊃ pcs;pcsf(n - 1))).take(n + 1), paf.take(n), aσ, aα) ≠ repls(step, cstep, cren, ren, aren, cext, aext, pcs ' + pcsf.take(n), paf.take(n), aσ, aα), cext !(πra(step, cstep, ren, cren, ⌜λ n0. (n0 = 0 ⊃ pcs;pcsf(n0 - 1))⌝ , ⌜paf⌝ )) ⊑ aext !(aα) ⊦

User applied rule reduce equation

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 11 from proof replstate-inf (previous step) (back to tree)

(λ n. (n = 0 ⊃ pcs;pcsf(n - 1))).take(n + 1) ≠ pcs ' + pcsf.take(n), cext !(πra(step, cstep, ren, cren, ⌜λ n0. (n0 = 0 ⊃ pcs;pcsf(n0 - 1))⌝ , ⌜paf⌝ )) ⊑ aext !(aα) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name: to-succ-nf, seq: ⊦ nf.take(n + 1) = nf(0) + (λ n. nf(n + 1)).take(n), subst:[nf, n] → [λ n. (n = 0 ⊃ pcs;pcsf(n - 1)), n]; ['a] → [('s, 'cs)], <all paths>

Additional information

Used simplifier rules: ⊦ m + 1 ≠ 0; (s) ⊦ n ≤ m → m + n0 - n = (m - n) + n0; (s) ⊦ n + 0 = n; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic ⊦ a + x = a ' + x; (s) ⊦ # x = # z → (x + y = z + y0 ↔ x = z ∧ y = y0); (ws) a: ⊦ (x + y) + z = x + y + z; from specification list Used terms: λ n. (n = 0 ⊃ pcs;pcsf(n - 1)), n

Proof step 12 from proof replstate-inf (previous step) (back to tree)

⊦ nf.take(n + 1) = nf(0) + (λ n. nf(n + 1)).take(n)

A spec-lemma

Proof Tree for replstate-inf (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