[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 finfrag-init (conclusion) (back to tree)

⊦ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜pcsl⌝ , ⌜pal⌝ ) → πs(pcsl, pal)[0] = pcsl[0].cs

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof finfrag-init (previous step) (back to tree)

πs(pcsl, pal)[0] ≠ pcsl[0].cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜pcsl⌝ , ⌜pal⌝ ) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: pcstate, name:elim-timc, seq: ⊦ st = pcs.st ∧ cs = pcs.cs ↔ pcs = st ×c cs, subst:[pcs, st, cs] → [pcsl[0], s, cs]

Additional information

Used simplifier rules: ⊦ st = pcs.st ∧ cs = pcs.cs ↔ pcs = st ×c cs; (elim) Used terms: pcsl[0], st, cs

Proof step 3 from proof finfrag-init (previous step) (back to tree)

pcsl[0] = s ×c cs, πs(pcsl, pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜pcsl⌝ , ⌜pal⌝ ) ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

term: pcsl

Additional information

Used simplifier rules: Pcstatelist freely generated by [], +;; ⊦ ⌜[]⌝ = []; (s) ⊦ ¬ pcfrag(PCIOAut(startf, stepf))([], α); (s)

Proof step 4 from proof finfrag-init (previous step) (back to tree)

(pcs + pcsl0)[0] = s ×c cs, πs(pcs + pcsl0, pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜pcs + pcsl0⌝ , ⌜pal⌝ ), ∀ s, cs, pal, init, cinit, step, cstep. ¬(pcsl0[0] = s ×c cs ∧ πs(pcsl0, pal)[0] ≠ cs ∧ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜pcsl0⌝ , ⌜pal⌝ )) ⊦

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] ⊦ ⌜x + y⌝ = ⌜x⌝ + ⌜y⌝ ; (s) ⊦ a + x = a ' + x; (s) ⊦ (a ' + x)[0] = a; (s)

Proof step 5 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs)' + pcsl0, pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + ⌜pcsl0⌝ , ⌜pal⌝ ), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. pcsl0[0] ≠ s0 ×c cs0 ∨ πs(pcsl0, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜pcsl0⌝ , ⌜pal0⌝ ) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: pcsl0

Additional information

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

Proof step 6 from proof finfrag-init (previous step) (back to tree)

pcsl0 = [], πs((s ×c cs)' + pcsl0, pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + ⌜pcsl0⌝ , ⌜pal⌝ ), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. pcsl0[0] ≠ s0 ×c cs0 ∨ πs(pcsl0, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜pcsl0⌝ , ⌜pal0⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ pcfrag(PCIOAut(startf, stepf))([], α); (s) ⊦ ⌜[]⌝ = []; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] ⊦ σ + [] = σ; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[IOrefine-def-RP-traceC-IOstatestream] ⊦ x + [] = x; (s)

Proof step 7 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs)', pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ , ⌜pal⌝ ) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: pal

Additional information

Used simplifier rules: projstate-base: ⊦ πs((s ×c cs)', []) = cs '; Pactionlist freely generated by [], +;; ⊦ a '[0] = a; (s)

Proof step 8 from proof finfrag-init (previous step) (back to tree)

pal = pa + pal0, πs((s ×c cs)', pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ , ⌜pal⌝ ) ⊦

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-actionstream] ⊦ ⌜x + y⌝ = ⌜x⌝ + ⌜y⌝ ; (s) ⊦ a + x = a ' + x; (s)

Proof step 9 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs)', pa ' + pal0)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ , ⌜pa '⌝ + ⌜pal0⌝ ) ⊦

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 cs)'⌝ , ⌜pa '⌝ + ⌜pal0⌝ ], <all paths>

Additional information

Used simplifier rules: ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s) ⊦ # a ' = 0 +1; (s) ⊦ #(σ + σ1) = # σ + # σ1; (s) ⊦ # a ' = 0 +1; (s) ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-actionstream] ⊦ ⌜(* n)⌝ + ⌜(* m)⌝ = ⌜n + m⌝ ; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic ⊦ n < m → (⌜(* n)⌝ = ⌜(* m)⌝ + n∞2 ↔ false); (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: pcinit(init, cinit), pcstep(step, cstep), ⌜(s ×c cs)'⌝ , ⌜pa '⌝ + ⌜pal0⌝

Proof step 10 from proof finfrag-init (previous step) (back to tree)

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

A spec-lemma

Proof step 11 from proof finfrag-init (previous step) (back to tree)

pcsl0 = pcs + pcsl, πs((s ×c cs)' + pcsl0, pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + ⌜pcsl0⌝ , ⌜pal⌝ ), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. pcsl0[0] ≠ s0 ×c cs0 ∨ πs(pcsl0, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜pcsl0⌝ , ⌜pal0⌝ ) ⊦

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] ⊦ ⌜x + y⌝ = ⌜x⌝ + ⌜y⌝ ; (s) ⊦ a + x = a ' + x; (s) ⊦ (a ' + x)[0] = a; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream]

Proof step 12 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs)' + pcs ' + pcsl, pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + ⌜pcs '⌝ + ⌜pcsl⌝ , ⌜pal⌝ ), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. pcs ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: pcs

Additional information

Used simplifier rules: Pcstate freely generated by ×c;;

Proof step 13 from proof finfrag-init (previous step) (back to tree)

pcs = s1 ×c cs1, πs((s ×c cs)' + pcs ' + pcsl, pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + ⌜pcs '⌝ + ⌜pcsl⌝ , ⌜pal⌝ ), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. pcs ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 14 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal⌝ ), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: pal

Additional information

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

Proof step 15 from proof finfrag-init (previous step) (back to tree)

pal = [], πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal⌝ ), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜[]⌝ = []; (s)

Proof step 16 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, [])[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , []), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

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 cs)'⌝ + ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , []], <all paths>

Additional information

Used simplifier rules: ⊦ #(σ + σ1) = # σ + # σ1; (s) ⊦ # a ' = 0 +1; (s) ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] ⊦ # [] = ⌜0⌝ ; (s) ⊦ ⌜(* n)⌝ + ⌜(* m)⌝ = ⌜n + m⌝ ; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic ⊦ n < m → (⌜(* n)⌝ = ⌜(* m)⌝ + n∞2 ↔ false); (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: pcinit(init, cinit), pcstep(step, cstep), ⌜(s ×c cs)'⌝ + ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , []

Proof step 17 from proof finfrag-init (previous step) (back to tree)

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

A spec-lemma

Proof step 18 from proof finfrag-init (previous step) (back to tree)

pal = pa + pal1, πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, pal)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal⌝ ), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

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-actionstream] ⊦ ⌜x + y⌝ = ⌜x⌝ + ⌜y⌝ ; (s) ⊦ a + x = a ' + x; (s)

Proof step 19 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, pa ' + pal1)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pa '⌝ + ⌜pal1⌝ ), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: IOtrace[IOrefine-def-RP-traceC], name: frag-rec, seq:⊦ pcfrag(PCIOAut(startf, stepf))(⌜s '⌝ + σ, ⌜a '⌝ + α) ↔ stepf(s, a, hd(σ)) ∧ pcfrag(PCIOAut(startf, stepf))(σ, α), subst:[α, startf, stepf, a, σ, s] → [⌜pal1⌝ , pcinit(init, cinit), pcstep(step, cstep), pa, ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , s ×c cs], <all paths>

Additional information

Used terms: s ×c cs, ⌜pal1⌝ , pa, ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , pcinit(init, cinit), pcstep(step, cstep)

Proof step 20 from proof finfrag-init (previous step) (back to tree)

⊦ pcfrag(PCIOAut(startf, stepf))(⌜s '⌝ + σ, ⌜a '⌝ + α) ↔ stepf(s, a, hd(σ)) ∧ pcfrag(PCIOAut(startf, stepf))(σ, α)

A spec-lemma

Proof step 21 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, pa ' + pal1)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), pcstep(step, cstep)(s ×c cs, pa, hd(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ )), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

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] ⊦ hd(⌜a '⌝ + ⌜x⌝ ) = a; (s)

Proof step 22 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, pa ' + pal1)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), pcstep(step, cstep)(s ×c cs, pa, s1 ×c cs1), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: PC-IO-Automaton, name: pcstep-def, seq:⊦ pcstep(rstep, cstep)(s ×c cs, pa, s0 ×c cs0) ↔ s = s0 ∧ (∃ a. cstep(cs, a, cs0) ∧ pa = ren(a)) ∧ ¬ rext(pa) ∨ cs = cs0 ∧ (∃ ra. rstep(s, ra, s0) ∧ pa = rren(ra)) ∧ ¬ cext(pa) ∨ (∃ a, ra. rstep(s, ra, s0) ∧ pa ≠ τ ∧ pa = rren(ra) ∧ cstep(cs, a, cs0) ∧ pa = ren(a)), subst:[cs, s0, pa, cstep, cs0, rstep, s] → [cs, s1, pa, cstep, cs1, step, s], <all paths>

Additional information

Used terms: cs, s1, cstep, cs1, step, s, pa

Proof step 23 from proof finfrag-init (previous step) (back to tree)

⊦ pcstep(rstep, cstep)(s ×c cs, pa, s0 ×c cs0) ↔ s = s0 ∧ (∃ a. cstep(cs, a, cs0) ∧ pa = ren(a)) ∧ ¬ rext(pa) ∨ cs = cs0 ∧ (∃ ra. rstep(s, ra, s0) ∧ pa = rren(ra)) ∧ ¬ cext(pa) ∨ (∃ a, ra. rstep(s, ra, s0) ∧ pa ≠ τ ∧ pa = rren(ra) ∧ cstep(cs, a, cs0) ∧ pa = ren(a))

A spec-lemma

Proof step 24 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, pa ' + pal1)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ), s = s1 ∧ (∃ a. cstep(cs, a, cs1) ∧ pa = ren(a)) ∧ ¬ rext(pa) ∨ cs = cs1 ∧ (∃ ra. step(s, ra, s1) ∧ pa = rren(ra)) ∧ ¬ cext(pa) ∨ (∃ a, ra. step(s, ra, s1) ∧ pa ≠ τ ∧ pa = rren(ra) ∧ cstep(cs, a, cs1) ∧ pa = ren(a)) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ren(a) = τ ↔ a = τ; (s)

Proof step 25 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, pa ' + pal1)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ), s = s1 ∧ cstep(cs, a, cs1) ∧ pa = ren(a) ∧ ¬ rext(ren(a)) ∨ cs = cs1 ∧ step(s, ra, s1) ∧ pa = rren(ra) ∧ ¬ cext(rren(ra)) ∨ step(s, ra0, s1) ∧ a0 ≠ τ ∧ ren(a0) = rren(ra0) ∧ cstep(cs, a0, cs1) ∧ pa = ren(a0) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 4

Additional information

Proof step 26 from proof finfrag-init (previous step) (back to tree)

pa = ren(a), s = s1, πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, pa ' + pal1)[0] ≠ cs, cstep(cs, a, cs1), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), ¬ rext(ren(a)), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 27 from proof finfrag-init (previous step) (back to tree)

πs((s1 ×c cs)' + (s1 ×c cs1)' + pcsl, ren(a) ' + pal1)[0] ≠ cs, cstep(cs, a, cs1), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), ¬ rext(ren(a)), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name: projstate-rec-addC, seq:⊦ # pcsl = # pal ∧ cstep(cs, a, cs0) ∧ ¬ rext(ren(a)) → πs((s ×c cs)' + (s ×c cs0)' + pcsl, ren(a) ' + pal) = cs ' + πs((s ×c cs0) + pcsl, pal), subst:[cs, s, a, cstep, pal, cs0, pcsl] → [cs, s1, a, cstep, pal1, cs1, pcsl], <all paths>

Additional information

Used simplifier rules: ⊦ a + x = a ' + x; (s) ⊦ (a ' + x)[0] = a; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[traceC-IOstatestream] Used terms: cs, a, cstep, cs1, s1, pcsl, pal1

Proof step 28 from proof finfrag-init (previous step) (back to tree)

⊦ # pcsl = # pal ∧ cstep(cs, a, cs0) ∧ ¬ rext(ren(a)) → πs((s ×c cs)' + (s ×c cs0)' + pcsl, ren(a) ' + pal) = cs ' + πs((s ×c cs0) + pcsl, pal)

Lemma projstate-rec-addC

Proof step 29 from proof finfrag-init (previous step) (back to tree)

πs((s1 ×c cs)' + (s1 ×c cs1)' + pcsl, ren(a) ' + pal1)[0] ≠ cs, cstep(cs, a, cs1), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), ¬ rext(ren(a)), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦ # pcsl = # pal1 ∧ cstep(cs, a, cs1) ∧ ¬ rext(ren(a))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 30 from proof finfrag-init (previous step) (back to tree)

# pcsl ≠ # pal1, πs((s1 ×c cs)' + (s1 ×c cs1)' + pcsl, ren(a) ' + pal1)[0] ≠ cs, cstep(cs, a, cs1), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), ¬ rext(ren(a)), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

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), ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ], <all paths>

Additional information

Used simplifier rules: ⊦ #(σ + σ1) = # σ + # σ1; (s) ⊦ # a ' = 0 +1; (s) ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s) ⊦ m ≤ n → (⌜(* n)⌝ + n∞1 = ⌜(* m)⌝ + n∞2 ↔ ⌜n - m⌝ + n∞1 = n∞2); (s) ⊦ n∞ + ⌜0⌝ = n∞; (s) ⊦ ⌜n⌝ = ⌜n0⌝ ↔ n = n0; (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: pcinit(init, cinit), pcstep(step, cstep), ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝

Proof step 31 from proof finfrag-init (previous step) (back to tree)

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

A spec-lemma

Proof step 32 from proof finfrag-init (previous step) (back to tree)

cs = cs1, pa = rren(ra), πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, pa ' + pal1)[0] ≠ cs, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), step(s, ra, s1), ¬ cext(rren(ra)), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 33 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs1)' + (s1 ×c cs1)' + pcsl, rren(ra) ' + pal1)[0] ≠ cs1, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), step(s, ra, s1), ¬ cext(rren(ra)), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name: projstate-rec-skip, seq:⊦ # pcsl = # pal ∧ step(s, ra, s0) ∧ ¬ cext(rren(ra)) → πs((s ×c cs)' + (s0 ×c cs)' + pcsl, rren(ra) ' + pal) = πs((s0 ×c cs)' + pcsl, pal), subst:[cs, s0, s, pal, ra, step, pcsl] → [cs1, s1, s, pal1, ra, step, pcsl], <all paths>

Additional information

Used terms: ra, cs1, s1, step, s, pcsl, pal1

Proof step 34 from proof finfrag-init (previous step) (back to tree)

⊦ # pcsl = # pal ∧ step(s, ra, s0) ∧ ¬ cext(rren(ra)) → πs((s ×c cs)' + (s0 ×c cs)' + pcsl, rren(ra) ' + pal) = πs((s0 ×c cs)' + pcsl, pal)

Lemma projstate-rec-skip

Proof step 35 from proof finfrag-init (previous step) (back to tree)

πs((s ×c cs1)' + (s1 ×c cs1)' + pcsl, rren(ra) ' + pal1)[0] ≠ cs1, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), step(s, ra, s1), ¬ cext(rren(ra)), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦ # pcsl = # pal1 ∧ step(s, ra, s1) ∧ ¬ cext(rren(ra))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 36 from proof finfrag-init (previous step) (back to tree)

# pcsl ≠ # pal1, πs((s ×c cs1)' + (s1 ×c cs1)' + pcsl, rren(ra) ' + pal1)[0] ≠ cs1, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), step(s, ra, s1), ¬ cext(rren(ra)), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

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), ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ], <all paths>

Additional information

Used simplifier rules: ⊦ #(σ + σ1) = # σ + # σ1; (s) ⊦ # a ' = 0 +1; (s) ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s) ⊦ m ≤ n → (⌜(* n)⌝ + n∞1 = ⌜(* m)⌝ + n∞2 ↔ ⌜n - m⌝ + n∞1 = n∞2); (s) ⊦ n∞ + ⌜0⌝ = n∞; (s) ⊦ ⌜n⌝ = ⌜n0⌝ ↔ n = n0; (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: pcinit(init, cinit), pcstep(step, cstep), ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝

Proof step 37 from proof finfrag-init (previous step) (back to tree)

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

A spec-lemma

Proof step 38 from proof finfrag-init (previous step) (back to tree)

# pcsl = # pal1, πs((s1 ×c cs1)' + pcsl, pal1)[0] ≠ cs1, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), step(s, ra, s1), ¬ cext(rren(ra)), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 6 terms: s1, cs1, pal1, init, cinit, step, cstep

Additional information

Used terms: s1, cs1, pal1, init, cinit, step, cstep

Proof step 39 from proof finfrag-init (previous step) (back to tree)

pa = ren(a0), ren(a0) = rren(ra0), πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, pa ' + pal1)[0] ≠ cs, a0 ≠ τ, cstep(cs, a0, cs1), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), step(s, ra0, s1), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 40 from proof finfrag-init (previous step) (back to tree)

ren(a0) = rren(ra0), πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, rren(ra0) ' + pal1)[0] ≠ cs, a0 ≠ τ, cstep(cs, a0, cs1), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), step(s, ra0, s1), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name: projstate-rec-addboth, seq:pa = rren(ra), pa ≠ τ ⊦ # pcsl = # pal ∧ cstep(cs, a, cs0) ∧ rren(ra) = ren(a) ∧ step(s, ra, s0) → πs((s ×c cs)' + (s0 ×c cs0)' + pcsl, pa ' + pal) = cs ' + πs((s0 ×c cs0) + pcsl, pal), subst:[cs, s0, s, a, pa, cstep, pal, cs0, ra, step, pcsl] → [cs, s1, s, a0, rren(ra0), cstep, pal1, cs1, ra0, step, pcsl], <all paths>

Additional information

Used simplifier rules: ⊦ a + x = a ' + x; (s) ⊦ (a ' + x)[0] = a; (s) a: ⊦ (x + y) + z = x + y + z; from specification list[traceC-IOstatestream] Used terms: ra0, cs, s1, a0, cstep, cs1, step, s, rren(ra0), pcsl, pal1

Proof step 41 from proof finfrag-init (previous step) (back to tree)

pa = rren(ra), pa ≠ τ ⊦ # pcsl = # pal ∧ cstep(cs, a, cs0) ∧ rren(ra) = ren(a) ∧ step(s, ra, s0) → πs((s ×c cs)' + (s0 ×c cs0)' + pcsl, pa ' + pal) = cs ' + πs((s0 ×c cs0) + pcsl, pal)

Lemma projstate-rec-addboth

Proof step 42 from proof finfrag-init (previous step) (back to tree)

ren(a0) = rren(ra0), πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, rren(ra0) ' + pal1)[0] ≠ cs, a0 ≠ τ, cstep(cs, a0, cs1), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), step(s, ra0, s1), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦ rren(ra0) = rren(ra0) ∧ rren(ra0) ≠ τ ∧ # pcsl = # pal1 ∧ cstep(cs, a0, cs1) ∧ rren(ra0) = ren(a0) ∧ step(s, ra0, s1)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ren(a) = τ ↔ a = τ; (s) ⊦ rren(τ) = τ; (s) ⊦ rren(ra) = τ ↔ ra = τ; (s)

Proof step 43 from proof finfrag-init (previous step) (back to tree)

ren(a0) = rren(ra0), # pcsl ≠ # pal1, πs((s ×c cs)' + (s1 ×c cs1)' + pcsl, rren(ra0) ' + pal1)[0] ≠ cs, a0 ≠ τ, ra0 ≠ τ, cstep(cs, a0, cs1), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ), step(s, ra0, s1), ∀ s0, cs0, pal0, init0, cinit0, step0, cstep0. s1 ×c cs1 ≠ s0 ×c cs0 ∨ πs((s0 ×c cs0)' + pcsl, pal0)[0] = cs0 ∨ ¬ pcfrag(PCIOAut(pcinit(init0, cinit0), pcstep(step0, cstep0)))(⌜(s0 ×c cs0)'⌝ + ⌜pcsl⌝ , ⌜pal0⌝ ) ⊦

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), ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝ ], <all paths>

Additional information

Used simplifier rules: ⊦ #(σ + σ1) = # σ + # σ1; (s) ⊦ # a ' = 0 +1; (s) ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s) ⊦ m ≤ n → (⌜(* n)⌝ + n∞1 = ⌜(* m)⌝ + n∞2 ↔ ⌜n - m⌝ + n∞1 = n∞2); (s) ⊦ n∞ + ⌜0⌝ = n∞; (s) ⊦ ⌜n⌝ = ⌜n0⌝ ↔ n = n0; (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: pcinit(init, cinit), pcstep(step, cstep), ⌜(s1 ×c cs1)'⌝ + ⌜pcsl⌝ , ⌜pal1⌝

Proof step 44 from proof finfrag-init (previous step) (back to tree)

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

A spec-lemma

Proof Tree for finfrag-init (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