[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 repla-infrec-skip (conclusion) (back to tree)

⊦ nounsharedextC ∧ πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^ ∧ afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α) ∧ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ∧ cstep(cs, τ, cs0) → repla(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ , ⌜as '⌝ + aσ, α) = repla(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ , ⌜as '⌝ + aσ, α)

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof repla-infrec-skip (previous step) (back to tree)

repla(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ , ⌜as '⌝ + aσ, α) ≠ repla(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ , ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^ ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:replaction-inf-def, seq:⊦ πa(⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ → repla(⌜pcsf⌝ , ⌜paf⌝ , aσ, α) = lim(⌜λ n. ⌜repla(pcsf to n + 1, paf to n, aσ, α)⌝ ⌝ ), subst:[pcsf, paf, α, aσ] → [(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f, (⌜τ '⌝ + ⌜paf⌝ ).f, α, ⌜as '⌝ + aσ]

Additional information

Used terms: (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f, (⌜τ '⌝ + ⌜paf⌝ ).f, α, ⌜as '⌝ + aσ

Proof step 3 from proof repla-infrec-skip (previous step) (back to tree)

⊦ πa(⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ → repla(⌜pcsf⌝ , ⌜paf⌝ , aσ, α) = lim(⌜λ n. ⌜repla(pcsf to n + 1, paf to n, aσ, α)⌝ ⌝ )

Lemma replaction-inf-def

Proof step 4 from proof repla-infrec-skip (previous step) (back to tree)

repla(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ , ⌜as '⌝ + aσ, α) ≠ repla(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ , ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f⌝ , ⌜(⌜τ '⌝ + ⌜paf⌝ ).f⌝ ) ^ ⊑ α ^ → repla(⌜(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f⌝ , ⌜(⌜τ '⌝ + ⌜paf⌝ ).f⌝ , ⌜as '⌝ + aσ, α) = lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream-basic[IOrefine-def-RP-traceC-IOstatestream], name: sel-embed-inf, seq: ⊦ ¬ finp(σ) → ⌜σ.f⌝ = σ, subst:[σ] → [⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ], <all paths>

Additional information

Used simplifier rules: ⊦ finp(⌜x⌝ + σ) ↔ finp(σ); (s) ⊦ ¬ finp(⌜nf⌝ ); (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] Used terms: ⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝

Proof step 5 from proof repla-infrec-skip (previous step) (back to tree)

⊦ ¬ finp(σ) → ⌜σ.f⌝ = σ

A spec-lemma

Proof step 6 from proof repla-infrec-skip (previous step) (back to tree)

repla(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ , ⌜as '⌝ + aσ, α) ≠ repla(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ , ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ finp(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜(⌜τ '⌝ + ⌜paf⌝ ).f⌝ ) ^ ⊑ α ^ → repla(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜(⌜τ '⌝ + ⌜paf⌝ ).f⌝ , ⌜as '⌝ + aσ, α) = lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream-basic[IOrefine-def-RP-actionstream], name: sel-embed-inf, seq: ⊦ ¬ finp(σ) → ⌜σ.f⌝ = σ, subst:[σ] → [⌜τ '⌝ + ⌜paf⌝ ], <all paths>

Additional information

Used simplifier rules: ⊦ finp(⌜x⌝ + σ) ↔ finp(σ); (s) ⊦ ¬ finp(⌜nf⌝ ); (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-actionstream] Used terms: ⌜τ '⌝ + ⌜paf⌝

Proof step 7 from proof repla-infrec-skip (previous step) (back to tree)

⊦ ¬ finp(σ) → ⌜σ.f⌝ = σ

A spec-lemma

Proof step 8 from proof repla-infrec-skip (previous step) (back to tree)

repla(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ , ⌜as '⌝ + aσ, α) ≠ repla(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ , ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ finp(⌜τ '⌝ + ⌜paf⌝ ), ¬ finp(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^ → repla(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ , ⌜as '⌝ + aσ, α) = lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 9

Additional information

Used simplifier rules: append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream]

Proof step 9 from proof repla-infrec-skip (previous step) (back to tree)

repla(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ , ⌜as '⌝ + aσ, α) = lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), repla(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ , ⌜as '⌝ + aσ, α) ≠ repla(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ , ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ finp(⌜τ '⌝ + ⌜paf⌝ ), ¬ finp(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 1, flags: discard

Additional information

Proof step 10 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ repla(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ , ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ finp(⌜τ '⌝ + ⌜paf⌝ ), ¬ finp(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name: replaction-inf, seq:⊦ πa(⌜pcs '⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ → repla(⌜pcs '⌝ + ⌜pcsf⌝ , ⌜paf⌝ , aσ, α) = lim(⌜λ n. ⌜repla(pcs + (pcsf to n), paf to n, aσ, α)⌝ ⌝ ), subst:[α, pcs, paf, aσ, pcsf] → [α, s ×c cs0, paf, ⌜as '⌝ + aσ, pcsf], <all paths>

Additional information

Used terms: α, pcsf, s ×c cs0, ⌜as '⌝ + aσ, paf

Proof step 11 from proof repla-infrec-skip (previous step) (back to tree)

⊦ πa(⌜pcs '⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ → repla(⌜pcs '⌝ + ⌜pcsf⌝ , ⌜paf⌝ , aσ, α) = lim(⌜λ n. ⌜repla(pcs + (pcsf to n), paf to n, aσ, α)⌝ ⌝ )

Lemma replaction-inf

Proof step 12 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ repla(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ , ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ finp(⌜τ '⌝ + ⌜paf⌝ ), ¬ finp(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ), ¬ πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:projaction-infrec-addC, seq:⊦ nounsharedextC ∧ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep))) (⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ∧ cstep(cs, a, cs0) ∧ ¬ rext(ren(a)) → πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ren(a) + ⌜paf⌝ ) = a + πa((s ×c cs0) + ⌜pcsf⌝ , ⌜paf⌝ ), subst:[cs, s, a, init, cinit, cstep, paf, cs0, step, pcsf] → [cs, s, τ, init, cinit, cstep, paf, cs0, step, pcsf]

Additional information

Used simplifier rules: ⊦ finp(⌜x⌝ + σ) ↔ finp(σ); (s) ⊦ ¬ finp(⌜nf⌝ ); (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-actionstream] ⊦ finp(⌜x⌝ + σ) ↔ finp(σ); (s) ⊦ ¬ finp(⌜nf⌝ ); (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] ⊦ ¬ rext(τ); (s) ⊦ ren(τ) = τ; (s) ⊦ a + σ = ⌜a '⌝ + σ; (s) ⊦ a + σ = ⌜a '⌝ + σ; (s) ⊦ a + σ = ⌜a '⌝ + σ; (s) ⊦ (⌜τ '⌝ + α)^ = α ^; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[actionstream] Used terms: cs, init, τ, pcsf, cstep, cs0, step, paf, cinit, s

Proof step 13 from proof repla-infrec-skip (previous step) (back to tree)

⊦ nounsharedextC ∧ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ∧ cstep(cs, a, cs0) ∧ ¬ rext(ren(a)) → πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ren(a) + ⌜paf⌝ ) = a + πa((s ×c cs0) + ⌜pcsf⌝ , ⌜paf⌝ )

Lemma projaction-infrec-addC

Proof step 14 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0) + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ finp(⌜τ '⌝ + ⌜paf⌝ ), ¬ finp(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] ⊦ ¬ finp(⌜nf⌝ ); (s) ⊦ finp(⌜x⌝ + σ) ↔ finp(σ); (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-actionstream] ⊦ ¬ finp(⌜nf⌝ ); (s) ⊦ finp(⌜x⌝ + σ) ↔ finp(σ); (s) ⊦ a + x = a ' + x; (s)

Proof step 15 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: streamseq-mon-lim[pactionstream-mon-lim-actionstream-mon-lim], name: lim-postfix, seq: ⊦ mon(⌜σf⌝ ) → lim(⌜σf⌝ ) = lim(⌜λ n. σf(n + m)⌝ ), subst:[σf, m] → [λ n. ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ , 1], <all paths>

Additional information

Used terms: λ n. ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ , 1

Proof step 16 from proof repla-infrec-skip (previous step) (back to tree)

⊦ mon(⌜σf⌝ ) → lim(⌜σf⌝ ) = lim(⌜λ n. σf(n + m)⌝ )

A spec-lemma

Proof step 17 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ mon(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: streamseq-mon-lim[pactionstream-mon-lim-actionstream-mon-lim], name: mon-def, seq: ⊦ mon(σσ) ↔ (∀ n. ⌜n⌝ + ⌜1⌝ < # σσ → σσ[n] ⊑ σσ[n + 1]), subst:[σσ] → [⌜λ n. ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ ⌝ ], <all paths>

Additional information

Used terms: ⌜λ n. ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ ⌝

Proof step 18 from proof repla-infrec-skip (previous step) (back to tree)

⊦ mon(σσ) ↔ (∀ n. ⌜n⌝ + ⌜1⌝ < # σσ → σσ[n] ⊑ σσ[n + 1])

A spec-lemma

Proof step 19 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ∃ n. ¬ ( ⌜n⌝ + ⌜1⌝ < # ⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ → ⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ [n] ⊑ ⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ [n + 1]) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic ⊦ ⌜nf⌝ [n] = nf(n); (s) add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf ⊦ ⌜n⌝ ≠ ∞; (s) ⊦ ⌜m⌝ + n∞ = ∞ ↔ n∞ = ∞; (s) ⊦ n∞ < ∞ ↔ n∞ ≠ ∞; (s) ⊦ # ⌜nf⌝ = ∞; (s)

Proof step 20 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to 2 + n, (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-traceC-IOstatestream], name: to-succ-nf, seq: ⊦ nf to n + 1 = nf(0) + ((λ n. nf(n + 1)) to n), subst:[nf, n] → [(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f, n], <all paths>

Additional information

Used terms: (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f, n

Proof step 21 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 22 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(0) + ((λ n. (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(n + 1)) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ ⊑ ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to 2 + n, (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a + x = a ' + x; (s)

Proof step 23 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(n + 1)) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ ⊑ ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to 2 + n, (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: 2 + n = n + 1 + 1

Additional information

Used simplifier rules: ⊦ m + n = m + n0 ↔ n = n0; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used formulas: 2 + n = n + 1 + 1

Proof step 24 from proof repla-infrec-skip (previous step) (back to tree)

2 + n = n + 1 + 1, lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(n + 1)) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ ⊑ ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to 2 + n, (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 1, flags: discard

Additional information

Proof step 25 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(n + 1)) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ ⊑ ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-traceC-IOstatestream], name: to-succ-nf, seq: ⊦ nf to n + 1 = nf(0) + ((λ n. nf(n + 1)) to n), subst:[nf, n] → [(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f, 1 + n], <all paths>

Additional information

Used simplifier rules: a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used terms: (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f, 1 + n

Proof step 26 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 27 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(n + 1)) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ ⊑ ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(0) + ((λ n. (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(n + 1)) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a + x = a ' + x; (s)

Proof step 28 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(n + 1)) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ ⊑ ⌜repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(n + 1)) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-traceC-IOstatestream], name: one-inf, seq: ⊦ ⌜a '⌝ + ⌜nf⌝ = ⌜λ n. (n = 0 ⊃ a;nf(n -1))⌝ , subst:[a, nf] → [s ×c cs0, pcsf], <all paths>

Additional information

Used terms: s ×c cs0, pcsf

Proof step 29 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 30 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ , ⌜paf⌝ ), πa(⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla ((⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ ).f(n + 1)) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ ⊑ ⌜repla ( (⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ ).f(n + 1)) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ n -1 = n - 1; (s)

Proof step 31 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla((⌜(s ×c cs)'⌝ + ⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ ).f to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla ((⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))⌝ ).f(n + 1)) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ ⊑ ⌜repla ( (⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))⌝ ).f(n + 1)) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

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

Additional information

Used terms: s ×c cs, λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))

Proof step 32 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 33 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla(⌜λ n. (n = 0 ⊃ s ×c cs;(n -1 = 0 ⊃ s ×c cs0;pcsf(n -1 - 1)))⌝ .f to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n. (n = 0 ⊃ s ×c cs;(n -1 = 0 ⊃ s ×c cs0;pcsf(n -1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla ( ⌜λ n. (n = 0 ⊃ s ×c cs;(n -1 = 0 ⊃ s ×c cs0;pcsf(n -1 - 1)))⌝ .f(0) ' + ((λ n. ⌜λ n. (n = 0 ⊃ s ×c cs;(n -1 = 0 ⊃ s ×c cs0;pcsf(n -1 - 1)))⌝ .f(n + 1)) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α) ⌝ ⊑ ⌜repla ( ⌜λ n. (n = 0 ⊃ s ×c cs;(n -1 = 0 ⊃ s ×c cs0;pcsf(n -1 - 1)))⌝ .f(0) ' + ((λ n. ⌜λ n. (n = 0 ⊃ s ×c cs;(n -1 = 0 ⊃ s ×c cs0;pcsf(n -1 - 1)))⌝ .f(n + 1)) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ n + 0 = n; (s) ⊦ n ≤ m → m + n0 - n = (m - n) + n0; (s) ⊦ m + 1 ≠ 0; (s) ⊦ ⌜nf⌝ .f = nf; (s) ⊦ n -1 = n - 1; (s)

Proof step 34 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs)' + ((λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs)' + ((λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-traceC-IOstatestream], name: to-succ-nf, seq: ⊦ nf to n + 1 = nf(0) + ((λ n. nf(n + 1)) to n), subst:[nf, n] → [λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1)), n], <all paths>

Additional information

Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic Used terms: λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1)), n

Proof step 35 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 36 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs)' + ((λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla ((s ×c cs)' + ((0 = 0 ⊃ s ×c cs0;pcsf(0 - 1)) + ((λ n. (n + 1 = 0 ⊃ s ×c cs0;pcsf(n + 1 - 1))) to n)), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[IOrefine-def-RP-traceC-IOstatestream] ⊦ a + x = a ' + x; (s) c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ n + 0 = n; (s) ⊦ n ≤ m → m + n0 - n = (m - n) + n0; (s) ⊦ m + 1 ≠ 0; (s)

Proof step 37 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs)' + ((λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-actionstream], name: to-succ-nf, seq: ⊦ nf to n + 1 = nf(0) + ((λ n. nf(n + 1)) to n), subst:[nf, n] → [(⌜τ '⌝ + ⌜paf⌝ ).f, n], <all paths>

Additional information

Used terms: (⌜τ '⌝ + ⌜paf⌝ ).f, n

Proof step 38 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 39 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs)' + ((λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n), (⌜τ '⌝ + ⌜paf⌝ ).f(0) + ((λ n. (⌜τ '⌝ + ⌜paf⌝ ).f(n + 1)) to n), ⌜as '⌝ + aσ, α)⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a + x = a ' + x; (s)

Proof step 40 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs)' + ((λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n), (⌜τ '⌝ + ⌜paf⌝ ).f(0) ' + ((λ n. (⌜τ '⌝ + ⌜paf⌝ ).f(n + 1)) to n), ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: n

Additional information

Used simplifier rules: repla-base: ⊦ repla((s ×c cs)', [], ⌜as '⌝ + aσ, α) = []; Nat freely generated by 0, +1;; append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[traceA-IOstatestream] ⊦ ⌜[]⌝ = []; (s) ⊦ nf to 0 = []; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[IOrefine-def-RP-traceC-IOstatestream] ⊦ nf to 0 = []; (s) ⊦ x + [] = x; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[IOrefine-def-RP-actionstream] ⊦ [] ⊑ σ; (s)

Proof step 41 from proof repla-infrec-skip (previous step) (back to tree)

n = n1 +1, lim(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs)' + ((λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))) to n), (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n), (⌜τ '⌝ + ⌜paf⌝ ).f(0) ' + ((λ n. (⌜τ '⌝ + ⌜paf⌝ ).f(n + 1)) to n), ⌜as '⌝ + aσ, α)⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ m +1 = m + 1; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[IOrefine-def-RP-traceC-IOstatestream]

Proof step 42 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs)' + ((λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))) to n1 + 1), (⌜τ '⌝ + ⌜paf⌝ ).f to n1 + 1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n1 + 1), (⌜τ '⌝ + ⌜paf⌝ ).f(0) ' + ((λ n. (⌜τ '⌝ + ⌜paf⌝ ).f(n + 1)) to n1 + 1), ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-traceC-IOstatestream], name: to-succ-nf, seq: ⊦ nf to n + 1 = nf(0) + ((λ n. nf(n + 1)) to n), subst:[nf, n] → [λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1)), n1], <all paths>

Additional information

Used terms: λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1)), n1

Proof step 43 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 44 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla ((s ×c cs)' + ((0 = 0 ⊃ s ×c cs0;pcsf(0 - 1)) + ((λ n. (n + 1 = 0 ⊃ s ×c cs0;pcsf(n + 1 - 1))) to n1)), (⌜τ '⌝ + ⌜paf⌝ ).f to n1 + 1, ⌜as '⌝ + aσ, α) ⌝ ⊑ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n1 + 1), (⌜τ '⌝ + ⌜paf⌝ ).f(0) ' + ((λ n. (⌜τ '⌝ + ⌜paf⌝ ).f(n + 1)) to n1 + 1), ⌜as '⌝ + aσ, α)⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[IOrefine-def-RP-traceC-IOstatestream] ⊦ a + x = a ' + x; (s) c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ n + 0 = n; (s) ⊦ n ≤ m → m + n0 - n = (m - n) + n0; (s) ⊦ m + 1 ≠ 0; (s)

Proof step 45 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n1), (⌜τ '⌝ + ⌜paf⌝ ).f to n1 + 1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n1 + 1), (⌜τ '⌝ + ⌜paf⌝ ).f(0) ' + ((λ n. (⌜τ '⌝ + ⌜paf⌝ ).f(n + 1)) to n1 + 1), ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-actionstream], name: to-succ-nf, seq: ⊦ nf to n + 1 = nf(0) + ((λ n. nf(n + 1)) to n), subst:[nf, n] → [(⌜τ '⌝ + ⌜paf⌝ ).f, n1], <all paths>

Additional information

Used terms: (⌜τ '⌝ + ⌜paf⌝ ).f, n1

Proof step 46 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 47 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n1), (⌜τ '⌝ + ⌜paf⌝ ).f(0) + ((λ n. (⌜τ '⌝ + ⌜paf⌝ ).f(n + 1)) to n1), ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n1 + 1), (⌜τ '⌝ + ⌜paf⌝ ).f(0) ' + ((λ n. (⌜τ '⌝ + ⌜paf⌝ ).f(n + 1)) to n1 + 1), ⌜as '⌝ + aσ, α)⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a + x = a ' + x; (s)

Proof step 48 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n1), (⌜τ '⌝ + ⌜paf⌝ ).f(0) ' + ((λ n. (⌜τ '⌝ + ⌜paf⌝ ).f(n + 1)) to n1), ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n1 + 1), (⌜τ '⌝ + ⌜paf⌝ ).f(0) ' + ((λ n. (⌜τ '⌝ + ⌜paf⌝ ).f(n + 1)) to n1 + 1), ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

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

Additional information

Used terms: τ, paf

Proof step 49 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 50 from proof repla-infrec-skip (previous step) (back to tree)

lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, ⌜λ n. (n = 0 ⊃ τ;paf(n -1))⌝ .f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n -1))⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla ((s ×c cs)' + (s ×c cs0)' + (pcsf to n1), ⌜λ n. (n = 0 ⊃ τ;paf(n -1))⌝ .f(0) ' + ((λ n. ⌜λ n. (n = 0 ⊃ τ;paf(n -1))⌝ .f(n + 1)) to n1), ⌜as '⌝ + aσ, α) ⌝ ⊑ ⌜repla ((s ×c cs)' + (s ×c cs0)' + (pcsf to n1 + 1), ⌜λ n. (n = 0 ⊃ τ;paf(n -1))⌝ .f(0) ' + ((λ n. ⌜λ n. (n = 0 ⊃ τ;paf(n -1))⌝ .f(n + 1)) to n1 + 1), ⌜as '⌝ + aσ, α) ⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: repla-rec-skip: ⊦ cstep(cs, τ, cs0) → repla((s ×c cs)' + (s ×c cs0)' + pcsl, τ ' + pal, ⌜as '⌝ + aσ, α) = repla((s ×c cs0)' + pcsl, pal, ⌜as '⌝ + aσ, α); a: ⊦ (x + y) + z = x + y + z; from specification list[IOrefine-def-RP-traceC-IOstatestream] a: ⊦ (x + y) + z = x + y + z; from specification list[IOrefine-def-RP-actionstream] append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[traceA-IOstatestream] c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ n + 0 = n; (s) ⊦ n ≤ m → m + n0 - n = (m - n) + n0; (s) ⊦ m + 1 ≠ 0; (s) ⊦ ⌜nf⌝ .f = nf; (s) ⊦ n -1 = n - 1; (s)

Proof step 51 from proof repla-infrec-skip (previous step) (back to tree)

lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n - 1))⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs0)' + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0)' + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:repla-mon, seq:⊦ nounsharedextC ∧ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep))) ((s ×c cs) + ⌜pcsf⌝ , ⌜paf⌝ ) ∧ afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α) ∧ πa((s ×c cs) + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ → ⌜repla((s ×c cs) + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs) + (pcsf to n + 1), paf to n + 1, ⌜as '⌝ + aσ, α)⌝ , subst:[cs, as, α, init, cinit, cstep, astep, pcsf, n, s, ainit, paf, aσ, step] → [cs0, as, α, init, cinit, cstep, astep, pcsf, n1, s, ainit, paf, aσ, step]

Additional information

Used terms: cs0, astep, n1, α, init, as, pcsf, ainit, cstep, aσ, step, paf, cinit, s

Proof step 52 from proof repla-infrec-skip (previous step) (back to tree)

⊦ nounsharedextC ∧ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))((s ×c cs) + ⌜pcsf⌝ , ⌜paf⌝ ) ∧ afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α) ∧ πa((s ×c cs) + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ → ⌜repla((s ×c cs) + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs) + (pcsf to n + 1), paf to n + 1, ⌜as '⌝ + aσ, α)⌝

Lemma repla-mon

Proof step 53 from proof repla-infrec-skip (previous step) (back to tree)

lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n - 1))⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs0)' + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0)' + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ , nounsharedextC ∧ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))((s ×c cs0) + ⌜pcsf⌝ , ⌜paf⌝ ) ∧ afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α) ∧ πa((s ×c cs0) + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ → ⌜repla((s ×c cs0) + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0) + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a + x = a ' + x; (s) ⊦ a + σ = ⌜a '⌝ + σ; (s)

Proof step 54 from proof repla-infrec-skip (previous step) (back to tree)

lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n - 1))⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs0)' + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0)' + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ ⊦ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ∧ πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 55 from proof repla-infrec-skip (previous step) (back to tree)

lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n - 1))⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), ¬ ⌜repla((s ×c cs0)' + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0)' + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: IOtrace[IOrefine-def-RP-traceC], name: frag, seq:⊦ pcfrag(PCIOAut(startf, stepf))(σ, β) ↔ # σ = # β + ⌜1⌝ ∧ (∀ n. ⌜n⌝ < # β → stepf(σ[n], β[n], σ[n +1])), subst:[startf, stepf, σ, β] → [pcinit(init, cinit), pcstep(step, cstep), ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ], <all paths>

Additional information

Used terms: pcinit(init, cinit), pcstep(step, cstep), ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝

Proof step 56 from proof repla-infrec-skip (previous step) (back to tree)

⊦ pcfrag(PCIOAut(startf, stepf))(σ, β) ↔ # σ = # β + ⌜1⌝ ∧ (∀ n. ⌜n⌝ < # β → stepf(σ[n], β[n], σ[n +1]))

A spec-lemma

Proof step 57 from proof repla-infrec-skip (previous step) (back to tree)

lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n - 1))⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs0)' + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0)' + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ , #(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ) ≠ # ⌜paf⌝ + ⌜1⌝ ∨ (∃ n. ¬(⌜n⌝ < # ⌜paf⌝ → pcstep(step, cstep)((⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ )[n], ⌜paf⌝ [n], (⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ )[n +1]))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ ⌜nf⌝ [n] = nf(n); (s) ⊦ (⌜a '⌝ + σ)[n + 1] = σ[n]; (s) ⊦ m +1 = m + 1; (s) ⊦ ⌜nf⌝ [n] = nf(n); (s) ⊦ ⌜m⌝ < ∞; (s) ⊦ # ⌜nf⌝ = ∞; (s) add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf ⊦ ⌜m⌝ + ∞ = ∞; (s) ⊦ # ⌜nf⌝ = ∞; (s) ⊦ # a ' = 0 +1; (s) ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s) ⊦ #(σ + σ1) = # σ + # σ1; (s)

Proof step 58 from proof repla-infrec-skip (previous step) (back to tree)

lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n - 1))⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ pcstep(step, cstep)((⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ )[n], paf(n), pcsf(n)), ¬ ⌜repla((s ×c cs0)' + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0)' + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: IOtrace[IOrefine-def-RP-traceC], name: frag, seq:⊦ pcfrag(PCIOAut(startf, stepf))(σ, β) ↔ # σ = # β + ⌜1⌝ ∧ (∀ n. ⌜n⌝ < # β → stepf(σ[n], β[n], σ[n +1])), subst:[startf, stepf, σ, β] → [pcinit(init, cinit), pcstep(step, cstep), ⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ], <all paths>

Additional information

Used terms: pcinit(init, cinit), pcstep(step, cstep), ⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝

Proof step 59 from proof repla-infrec-skip (previous step) (back to tree)

⊦ pcfrag(PCIOAut(startf, stepf))(σ, β) ↔ # σ = # β + ⌜1⌝ ∧ (∀ n. ⌜n⌝ < # β → stepf(σ[n], β[n], σ[n +1]))

A spec-lemma

Proof step 60 from proof repla-infrec-skip (previous step) (back to tree)

# ⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ = # ⌜paf⌝ + ⌜1⌝ , lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n - 1))⌝ ) ^ ⊑ α ^, ¬ pcstep(step, cstep)((⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ )[n], paf(n), pcsf(n)), ¬ ⌜repla((s ×c cs0)' + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0)' + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ , ∀ n. ⌜n⌝ < # ⌜paf⌝ → pcstep(step, cstep)(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ [n], ⌜paf⌝ [n], ⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ [n +1]) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ n + 0 = n; (s) ⊦ n ≤ m → m + n0 - n = (m - n) + n0; (s) ⊦ m + 1 ≠ 0; (s) ⊦ ⌜nf⌝ [n] = nf(n); (s) ⊦ m +1 = m + 1; (s) ⊦ ⌜nf⌝ [n] = nf(n); (s) ⊦ ⌜m⌝ < ∞; (s) ⊦ # ⌜nf⌝ = ∞; (s) add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf ⊦ ⌜m⌝ + ∞ = ∞; (s) ⊦ # ⌜nf⌝ = ∞; (s)

Proof step 61 from proof repla-infrec-skip (previous step) (back to tree)

lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n - 1))⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ pcstep(step, cstep)((⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ )[n], paf(n), pcsf(n)), ¬ ⌜repla((s ×c cs0)' + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0)' + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ , ∀ n0. pcstep(step, cstep)((n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1)), paf(n0), pcsf(n0)) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 9 terms: n abort: F discard: T computed: F

Additional information

Used terms: n

Proof step 62 from proof repla-infrec-skip (previous step) (back to tree)

lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcstep(step, cstep)((n = 0 ⊃ s ×c cs0;pcsf(n - 1)), paf(n), pcsf(n)), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n - 1))⌝ ) ^ ⊑ α ^, ¬ pcstep(step, cstep)((⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ )[n], paf(n), pcsf(n)), ¬ ⌜repla((s ×c cs0)' + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0)' + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 5

Additional information

Used simplifier rules: ⊦ (⌜a '⌝ + σ)[0] = a; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream]

Proof step 63 from proof repla-infrec-skip (previous step) (back to tree)

lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), n ≠ 0, afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcstep(step, cstep)(pcsf(n - 1), paf(n), pcsf(n)), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n - 1))⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ pcstep(step, cstep)((⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ )[n], paf(n), pcsf(n)), ¬ ⌜repla((s ×c cs0)' + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0)' + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

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, n2]

Additional information

Used simplifier rules: ⊦ m + 1 ≠ 0; (s) ⊦ (⌜a '⌝ + σ)[n + 1] = σ[n]; (s) ⊦ ⌜nf⌝ [n] = nf(n); (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] n ≠ 0 ⊦ m = n - 1 ↔ n = m + 1; (elim) Used terms: n, m

Proof step 64 from proof repla-infrec-skip (previous step) (back to tree)

lim (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n - 1))⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, ¬ ⌜repla((s ×c cs0)' + (pcsf to n1), paf to n1, ⌜as '⌝ + aσ, α)⌝ ⊑ ⌜repla((s ×c cs0)' + (pcsf to n1 + 1), paf to n1 + 1, ⌜as '⌝ + aσ, α)⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-traceC-IOstatestream], name: one-inf, seq: ⊦ ⌜a '⌝ + ⌜nf⌝ = ⌜λ n. (n = 0 ⊃ a;nf(n -1))⌝ , subst:[a, nf] → [s ×c cs0, pcsf], <all paths>

Additional information

Used simplifier rules: ⊦ n -1 = n - 1; (s) Used terms: s ×c cs0, pcsf

Proof step 65 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 66 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to (n + 1) + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic

Proof step 67 from proof repla-infrec-skip (previous step) (back to tree)

lim(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to 2 + n, (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α)⌝ ⌝ ) ≠ lim(⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^ ⊦

User applied rule reduce equation

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 68 from proof repla-infrec-skip (previous step) (back to tree)

⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to 2 + n, (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α)⌝ ⌝ ≠ ⌜λ n. ⌜repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α)⌝ ⌝ , afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜x⌝ = ⌜x0⌝ ↔ x = x0; (s) ⊦ ⌜nf⌝ = ⌜nf0⌝ ↔ nf = nf0; (s)

Proof step 69 from proof repla-infrec-skip (previous step) (back to tree)

repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to 2 + n, (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^ ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: 2 + n = n + 1 + 1

Additional information

Used simplifier rules: ⊦ m + n = m + n0 ↔ n = n0; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used formulas: 2 + n = n + 1 + 1

Proof step 70 from proof repla-infrec-skip (previous step) (back to tree)

2 + n = n + 1 + 1, repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to 2 + n, (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 1, flags: discard

Additional information

Proof step 71 from proof repla-infrec-skip (previous step) (back to tree)

repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-traceC-IOstatestream], name: to-succ-nf, seq: ⊦ nf to n + 1 = nf(0) + ((λ n. nf(n + 1)) to n), subst:[nf, n] → [(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f, 1 + n], <all paths>

Additional information

Used simplifier rules: a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used terms: (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f, 1 + n

Proof step 72 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 73 from proof repla-infrec-skip (previous step) (back to tree)

repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(0) + ((λ n. (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(n + 1)) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a + x = a ' + x; (s)

Proof step 74 from proof repla-infrec-skip (previous step) (back to tree)

repla ((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f(n + 1)) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs)'⌝ + ⌜(s ×c cs0)'⌝ + ⌜pcsf⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-traceC-IOstatestream], name: one-inf, seq: ⊦ ⌜a '⌝ + ⌜nf⌝ = ⌜λ n. (n = 0 ⊃ a;nf(n -1))⌝ , subst:[a, nf] → [s ×c cs0, pcsf], <all paths>

Additional information

Used terms: s ×c cs0, pcsf

Proof step 75 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 76 from proof repla-infrec-skip (previous step) (back to tree)

repla ((⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ ).f(n + 1)) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n. ⌜repla((⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ ).f to n + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ , ⌜paf⌝ ), πa(⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n -1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ n -1 = n - 1; (s)

Proof step 77 from proof repla-infrec-skip (previous step) (back to tree)

repla ( (⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))⌝ ).f(0) ' + ((λ n. (⌜(s ×c cs)'⌝ + ⌜λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))⌝ ).f(n + 1)) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n0. ⌜repla((⌜(s ×c cs)'⌝ + ⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ ).f to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜(s ×c cs)'⌝ + ⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

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

Additional information

Used terms: s ×c cs, λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))

Proof step 78 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 79 from proof repla-infrec-skip (previous step) (back to tree)

repla ( ⌜λ n. (n = 0 ⊃ s ×c cs;(n -1 = 0 ⊃ s ×c cs0;pcsf(n -1 - 1)))⌝ .f(0) ' + ((λ n. ⌜λ n. (n = 0 ⊃ s ×c cs;(n -1 = 0 ⊃ s ×c cs0;pcsf(n -1 - 1)))⌝ .f(n + 1)) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n0. ⌜repla(⌜λ n. (n = 0 ⊃ s ×c cs;(n -1 = 0 ⊃ s ×c cs0;pcsf(n -1 - 1)))⌝ .f to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n. (n = 0 ⊃ s ×c cs;(n -1 = 0 ⊃ s ×c cs0;pcsf(n -1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜nf⌝ .f = nf; (s) ⊦ n -1 = n - 1; (s) c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ n + 0 = n; (s) ⊦ n ≤ m → m + n0 - n = (m - n) + n0; (s) ⊦ m + 1 ≠ 0; (s)

Proof step 80 from proof repla-infrec-skip (previous step) (back to tree)

repla((s ×c cs)' + ((λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))) to 1 + n), (⌜τ '⌝ + ⌜paf⌝ ).f to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon(⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (⌜τ '⌝ + ⌜paf⌝ ).f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜τ '⌝ + ⌜paf⌝ ) ^ ⊑ α ^ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

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

Additional information

Used terms: τ, paf

Proof step 81 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 82 from proof repla-infrec-skip (previous step) (back to tree)

repla((s ×c cs)' + ((λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))) to 1 + n), ⌜λ n. (n = 0 ⊃ τ;paf(n -1))⌝ .f to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, ⌜λ n. (n = 0 ⊃ τ;paf(n -1))⌝ .f to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n. (n = 0 ⊃ τ;paf(n -1))⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 83 from proof repla-infrec-skip (previous step) (back to tree)

repla((s ×c cs)' + ((λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1))) to 1 + n), (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n0. (n0 = 0 ⊃ τ;paf(n0 - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n0. (n0 = 0 ⊃ τ;paf(n0 - 1))⌝ ) ^ ⊑ α ^ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-traceC-IOstatestream], name: to-succ-nf, seq: ⊦ nf to n + 1 = nf(0) + ((λ n. nf(n + 1)) to n), subst:[nf, n] → [λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1)), n], <all paths>

Additional information

Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic Used terms: λ n. (n = 0 ⊃ s ×c cs0;pcsf(n - 1)), n

Proof step 84 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof step 85 from proof repla-infrec-skip (previous step) (back to tree)

repla ((s ×c cs)' + ((0 = 0 ⊃ s ×c cs0;pcsf(0 - 1)) + ((λ n. (n + 1 = 0 ⊃ s ×c cs0;pcsf(n + 1 - 1))) to n)), (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n0. (n0 = 0 ⊃ τ;paf(n0 - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n0. (n0 = 0 ⊃ τ;paf(n0 - 1))⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: a: ⊦ (x + y) + z = x + y + z; from specification list[IOrefine-def-RP-traceC-IOstatestream] ⊦ a + x = a ' + x; (s) c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ n + 0 = n; (s) ⊦ n ≤ m → m + n0 - n = (m - n) + n0; (s) ⊦ m + 1 ≠ 0; (s)

Proof step 86 from proof repla-infrec-skip (previous step) (back to tree)

repla((s ×c cs)' + (s ×c cs0)' + (pcsf to n), (λ n. (n = 0 ⊃ τ;paf(n - 1))) to n + 1, ⌜as '⌝ + aσ, α) ≠ repla((s ×c cs0)' + (pcsf to n), paf to n, ⌜as '⌝ + aσ, α), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), cstep(cs, τ, cs0), mon (⌜λ n0. ⌜repla((λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))) to n0 + 1, (λ n0. (n0 = 0 ⊃ τ;paf(n0 - 1))) to n0, ⌜as '⌝ + aσ, α)⌝ ⌝ ), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ), πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs0;pcsf(n0 - 1))⌝ , ⌜paf⌝ ) ^ ⊑ α ^, πa(⌜λ n0. (n0 = 0 ⊃ s ×c cs;(n0 - 1 = 0 ⊃ s ×c cs0;pcsf(n0 - 1 - 1)))⌝ , ⌜λ n0. (n0 = 0 ⊃ τ;paf(n0 - 1))⌝ ) ^ ⊑ α ^ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream[IOrefine-def-RP-actionstream], name: to-succ-nf, seq: ⊦ nf to n + 1 = nf(0) + ((λ n. nf(n + 1)) to n), subst:[nf, n] → [λ n. (n = 0 ⊃ τ;paf(n - 1)), n], <all paths>

Additional information

Used simplifier rules: repla-rec-skip: ⊦ cstep(cs, τ, cs0) → repla((s ×c cs)' + (s ×c cs0)' + pcsl, τ ' + pal, ⌜as '⌝ + aσ, α) = repla((s ×c cs0)' + pcsl, pal, ⌜as '⌝ + aσ, α); ⊦ 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) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[traceA-IOstatestream] a: ⊦ (x + y) + z = x + y + z; from specification list[IOrefine-def-RP-actionstream] a: ⊦ (x + y) + z = x + y + z; from specification list[IOrefine-def-RP-traceC-IOstatestream] Used terms: λ n. (n = 0 ⊃ τ;paf(n - 1)), n

Proof step 87 from proof repla-infrec-skip (previous step) (back to tree)

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

A spec-lemma

Proof Tree for repla-infrec-skip (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