| nounsharedextC, pcexec(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), aexec(AIOAut(ainit, astep))(aσ, α), πa(pcσ, pα) ^ = α ^ ⊦ paexec(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)) |
πa(pcσ, pα) ^ = α ^, aexec(AIOAut(ainit, astep))(aσ, α), nounsharedextC, pcexec(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), ¬ paexec(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)) ⊦
| πa(pcσ, pα) ^ = α ^, aexec(AIOAut(ainit, astep))(aσ, α), nounsharedextC, pcexec(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), ¬ paexec(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)) ⊦ |
πa(pcσ, pα) ^ = α ^, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]) ⊦ pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)) ∧ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0])
Used simplifier rules: ⊦ paexec(PAIOAut(startf, stepf))(σ, β) ↔ pafrag(PAIOAut(startf, stepf))(σ, β) ∧ startf(σ[0]); (s) ⊦ aexec(AIOAut(startf, stepf))(σ, β) ↔ afrag(AIOAut(startf, stepf))(σ, β) ∧ startf(σ[0]); (s) ⊦ pcexec(PCIOAut(startf, stepf))(σ, β) ↔ pcfrag(PCIOAut(startf, stepf))(σ, β) ∧ startf(σ[0]); (s)
| πa(pcσ, pα) ^ = α ^, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]) ⊦ pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)) ∧ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) |
nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), afrag(AIOAut(ainit, astep))(aσ, α), πa(pcσ, pα) ^ = α ^ ⊦ pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α))
πa(pcσ, pα) ^ = α ^, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]) ⊦ pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)) ∧ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0])
Used terms: pα, astep, α, init, pcσ, ainit, cstep, aσ, step, cinit
| nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), afrag(AIOAut(ainit, astep))(aσ, α), πa(pcσ, pα) ^ = α ^ ⊦ pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)) |
| πa(pcσ, pα) ^ = α ^, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]) ⊦ pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)) ∧ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) |
πa(pcσ, pα) ^ = α ^, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦
| πa(pcσ, pα) ^ = α ^, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ |
nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + pcσ, pα), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), πa(⌜(s ×c cs)'⌝ + pcσ, pα) ^ ⊑ α ^ ⊦ repls(⌜(s ×c cs)'⌝ + pcσ, pα, ⌜as '⌝ + aσ, α) ≠ [] ∧ hd(repls(⌜(s ×c cs)'⌝ + pcσ, pα, ⌜as '⌝ + aσ, α)) = s ×a as
πa(pcσ, pα) ^ = α ^, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα) ∧ afrag(AIOAut(ainit, astep))(⌜hd(aσ) '⌝ + tl(aσ), α) ∧ πa(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα) ^ ⊑ α ^
πa(pcσ, pα) ^ = α ^, hd(repls(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α)) = hd(pcσ).st ×a hd(aσ), repls(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α) ≠ [], afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦
Used terms: pα, hd(pcσ).cs, astep, α, init, hd(aσ), tl(pcσ), ainit, cstep, tl(aσ), step, cinit, hd(pcσ).st
| nounsharedextC, pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + pcσ, pα), afrag(AIOAut(ainit, astep))(⌜as '⌝ + aσ, α), πa(⌜(s ×c cs)'⌝ + pcσ, pα) ^ ⊑ α ^ ⊦ repls(⌜(s ×c cs)'⌝ + pcσ, pα, ⌜as '⌝ + aσ, α) ≠ [] ∧ hd(repls(⌜(s ×c cs)'⌝ + pcσ, pα, ⌜as '⌝ + aσ, α)) = s ×a as |
| πa(pcσ, pα) ^ = α ^, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα) ∧ afrag(AIOAut(ainit, astep))(⌜hd(aσ) '⌝ + tl(aσ), α) ∧ πa(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα) ^ ⊑ α ^ |
πa(pcσ, pα) ^ = α ^, hd(pcσ) = s ×c cs, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + tl(pcσ), pα) ∧ afrag(AIOAut(ainit, astep))(⌜hd(aσ) '⌝ + tl(aσ), α) ∧ πa(⌜(s ×c cs)'⌝ + tl(pcσ), pα) ^ ⊑ α ^
Used simplifier rules: ⊦ st = pcs.st ∧ cs = pcs.cs ↔ pcs = st ×c cs; (elim) Used terms: hd(pcσ), st, cs
| πa(pcσ, pα) ^ = α ^, hd(pcσ) = s ×c cs, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + tl(pcσ), pα) ∧ afrag(AIOAut(ainit, astep))(⌜hd(aσ) '⌝ + tl(aσ), α) ∧ πa(⌜(s ×c cs)'⌝ + tl(pcσ), pα) ^ ⊑ α ^ |
πa(pcσ, pα) ^ = α ^, pcs = s ×c cs, pcσ = pcs + σ0, pcσ ≠ [], afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + σ0, pα) ∧ afrag(AIOAut(ainit, astep))(⌜hd(aσ) '⌝ + tl(aσ), α) ∧ πa(⌜(s ×c cs)'⌝ + σ0, pα) ^ ⊑ α ^
Used simplifier rules: ⊦ ¬ pcfrag(PCIOAut(startf, stepf))([], α); (s) ⊦ σ ≠ [] → (a = hd(σ) ∧ σ0 = tl(σ) ↔ σ = a + σ0); (elim) Used terms: pcσ, pcs, σ0
| πa(pcσ, pα) ^ = α ^, pcs = s ×c cs, pcσ = pcs + σ0, pcσ ≠ [], afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + σ0, pα) ∧ afrag(AIOAut(ainit, astep))(⌜hd(aσ) '⌝ + tl(aσ), α) ∧ πa(⌜(s ×c cs)'⌝ + σ0, pα) ^ ⊑ α ^ |
πa(⌜(s ×c cs)'⌝ + σ0, pα) ^ = α ^, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), cinit(cs), init(s), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(⌜(s ×c cs)'⌝ + σ0, pα, aσ, α), repla(⌜(s ×c cs)'⌝ + σ0, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + σ0, pα), ¬ afrag(AIOAut(ainit, astep))(⌜hd(aσ) '⌝ + tl(aσ), α), ¬ painit(init, ainit)(repls(⌜(s ×c cs)'⌝ + σ0, pα, aσ, α)[0]) ⊦
Used simplifier rules: ⊦ σ ⊑ σ; (s) ⊦ a + σ = ⌜a '⌝ + σ; (s) ⊦ pcinit(rinit, cinit)(s ×c cs) ↔ rinit(s) ∧ cinit(cs); (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] ⊦ (⌜a '⌝ + σ)[0] = a; (s) ⊦ ⌜a '⌝ + σ ≠ []; (s)
| πa(⌜(s ×c cs)'⌝ + σ0, pα) ^ = α ^, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), cinit(cs), init(s), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(⌜(s ×c cs)'⌝ + σ0, pα, aσ, α), repla(⌜(s ×c cs)'⌝ + σ0, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + σ0, pα), ¬ afrag(AIOAut(ainit, astep))(⌜hd(aσ) '⌝ + tl(aσ), α), ¬ painit(init, ainit)(repls(⌜(s ×c cs)'⌝ + σ0, pα, aσ, α)[0]) ⊦ |
Used simplifier rules: ⊦ ⌜a '⌝ + σ ≠ []; (s) ⊦ (⌜a '⌝ + σ)[0] = a; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[traceA-IOstatestream] ⊦ a + σ = ⌜a '⌝ + σ; (s) ⊦ ¬ afrag(AIOAut(startf, stepf))([], α); (s) ⊦ σ ≠ [] → (a = hd(σ) ∧ σ0 = tl(σ) ↔ σ = a + σ0); (elim) Used terms: aσ, as, aσ0
| πa(pcσ, pα) ^ = α ^, hd(repls(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α)) = hd(pcσ).st ×a hd(aσ), repls(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α) ≠ [], afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ |
πa(pcσ, pα) ^ = α ^, pas = hd(pcσ).st ×a hd(aσ), repls(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α) = pas + σ0, repls(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α) ≠ [], afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦
Used simplifier rules: ⊦ σ ≠ [] → (a = hd(σ) ∧ σ0 = tl(σ) ↔ σ = a + σ0); (elim) Used terms: repls(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α), pas, σ0
| πa(pcσ, pα) ^ = α ^, pas = hd(pcσ).st ×a hd(aσ), repls(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α) = pas + σ0, repls(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α) ≠ [], afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ |
πa(pcσ, pα) ^ = α ^, repls(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α) = ⌜(hd(pcσ).st ×a hd(aσ))'⌝ + σ0, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦
Used simplifier rules: append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceA-IOstatestream] ⊦ ⌜a '⌝ + σ ≠ []; (s) ⊦ a + σ = ⌜a '⌝ + σ; (s)
| πa(pcσ, pα) ^ = α ^, repls(⌜(hd(pcσ).st ×c hd(pcσ).cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α) = ⌜(hd(pcσ).st ×a hd(aσ))'⌝ + σ0, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ |
πa(pcσ, pα) ^ = α ^, hd(pcσ) = s ×c cs, repls(⌜(s ×c cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α) = ⌜(s ×a hd(aσ))'⌝ + σ0, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦
Used simplifier rules: ⊦ st = pcs.st ∧ cs = pcs.cs ↔ pcs = st ×c cs; (elim) Used terms: hd(pcσ), st, cs
| πa(pcσ, pα) ^ = α ^, hd(pcσ) = s ×c cs, repls(⌜(s ×c cs)'⌝ + tl(pcσ), pα, ⌜hd(aσ) '⌝ + tl(aσ), α) = ⌜(s ×a hd(aσ))'⌝ + σ0, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ |
πa(pcσ, pα) ^ = α ^, pcs = s ×c cs, pcσ = pcs + pcσ0, repls(⌜(s ×c cs)'⌝ + pcσ0, pα, ⌜hd(aσ) '⌝ + tl(aσ), α) = ⌜(s ×a hd(aσ))'⌝ + σ0, pcσ ≠ [], afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦
Used simplifier rules: ⊦ ¬ pcfrag(PCIOAut(startf, stepf))([], α); (s) ⊦ σ ≠ [] → (a = hd(σ) ∧ σ0 = tl(σ) ↔ σ = a + σ0); (elim) Used terms: pcσ, pcs, pcσ0
| πa(pcσ, pα) ^ = α ^, pcs = s ×c cs, pcσ = pcs + pcσ0, repls(⌜(s ×c cs)'⌝ + pcσ0, pα, ⌜hd(aσ) '⌝ + tl(aσ), α) = ⌜(s ×a hd(aσ))'⌝ + σ0, pcσ ≠ [], afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(pcσ, pα, aσ, α), repla(pcσ, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(pcσ, pα), pcinit(init, cinit)(pcσ[0]), ¬ painit(init, ainit)(repls(pcσ, pα, aσ, α)[0]) ⊦ |
πa(⌜(s ×c cs)'⌝ + pcσ0, pα) ^ = α ^, repls(⌜(s ×c cs)'⌝ + pcσ0, pα, ⌜hd(aσ) '⌝ + tl(aσ), α) = ⌜(s ×a hd(aσ))'⌝ + σ0, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), cinit(cs), init(s), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(⌜(s ×c cs)'⌝ + pcσ0, pα, aσ, α), repla(⌜(s ×c cs)'⌝ + pcσ0, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + pcσ0, pα), ¬ painit(init, ainit)(repls(⌜(s ×c cs)'⌝ + pcσ0, pα, aσ, α)[0]) ⊦
Used simplifier rules: ⊦ a + σ = ⌜a '⌝ + σ; (s) ⊦ pcinit(rinit, cinit)(s ×c cs) ↔ rinit(s) ∧ cinit(cs); (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceC-IOstatestream] ⊦ (⌜a '⌝ + σ)[0] = a; (s) ⊦ ⌜a '⌝ + σ ≠ []; (s)
| πa(⌜(s ×c cs)'⌝ + pcσ0, pα) ^ = α ^, repls(⌜(s ×c cs)'⌝ + pcσ0, pα, ⌜hd(aσ) '⌝ + tl(aσ), α) = ⌜(s ×a hd(aσ))'⌝ + σ0, afrag(AIOAut(ainit, astep))(aσ, α), ainit(aσ[0]), cinit(cs), init(s), nounsharedextC, pafrag(PAIOAut(painit(init, ainit), pastep(step, astep)))(repls(⌜(s ×c cs)'⌝ + pcσ0, pα, aσ, α), repla(⌜(s ×c cs)'⌝ + pcσ0, pα, aσ, α)), pcfrag(PCIOAut(pcinit(init, cinit), pcstep(step, cstep)))(⌜(s ×c cs)'⌝ + pcσ0, pα), ¬ painit(init, ainit)(repls(⌜(s ×c cs)'⌝ + pcσ0, pα, aσ, α)[0]) ⊦ |
Used simplifier rules: ⊦ ⌜a '⌝ + σ ≠ []; (s) ⊦ (⌜a '⌝ + σ)[0] = a; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[traceA-IOstatestream] ⊦ a + σ = ⌜a '⌝ + σ; (s) ⊦ (⌜a '⌝ + σ)[0] = a; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream[IOrefine-def-RP-traceA-IOstatestream] ⊦ painit(rinit, ainit)(s ×a as) ↔ rinit(s) ∧ ainit(as); (s) ⊦ ¬ afrag(AIOAut(startf, stepf))([], α); (s) ⊦ σ ≠ [] → (a = hd(σ) ∧ σ0 = tl(σ) ↔ σ = a + σ0); (elim) Used terms: aσ, as, aσ0
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.