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

⊦ fwsim (CIOAut(tmlInit, TMLabsstep), AIOAut(tms2Init, TMS2absstep), λ as, cs. abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf))

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof fwsim (previous step) (back to tree)

¬ fwsim (CIOAut(tmlInit, TMLabsstep), AIOAut(tms2Init, TMS2absstep), λ as, cs. abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: IOforward[TML-refines-TMS2-instance], name: proofobls-forwardsim, seq:⊦ fwsim(CIOAut(cstartf, cstepf), AIOAut(astartf, astepf), r) ↔ (∀ cs. cstartf(cs) → (∃ as. r(as, cs) ∧ astartf(as))) ∧ (∀ cs, a, cs0, as. r(as, cs) ∧ cstepf(cs, a, cs0) → (∃ as0. amove(AIOAut(astartf, astepf))(as, ⌜a '⌝ ^, as0) ∧ r(as0, cs0))), subst:[r, cstepf, astartf, cstartf, astepf] → [λ as, cs. abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf), TMLabsstep, tms2Init, tmlInit, TMS2absstep], <all paths>

Additional information

Used terms: tmlInit, λ as, cs. abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf), tms2Init, TMLabsstep, TMS2absstep

Proof step 3 from proof fwsim (previous step) (back to tree)

⊦ fwsim(CIOAut(cstartf, cstepf), AIOAut(astartf, astepf), r) ↔ (∀ cs. cstartf(cs) → (∃ as. r(as, cs) ∧ astartf(as))) ∧ (∀ cs, a, cs0, as. r(as, cs) ∧ cstepf(cs, a, cs0) → (∃ as0. amove(AIOAut(astartf, astepf))(as, ⌜a '⌝ ^, as0) ∧ r(as0, cs0)))

A spec-lemma

Proof step 4 from proof fwsim (previous step) (back to tree)

(∃ cs. ¬(tmlInit(cs) → (∃ as. (abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf)) ∧ tms2Init(as)))) ∨ (∃ cs, aa, cs0, as. ¬ ( (abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf)) ∧ TMLabsstep(cs, aa, cs0) → (∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(as, ⌜aa '⌝ ^, as0) ∧ abs(cs0, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs0.gstate, cs0.lsf, cs0.pcf)))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 5 from proof fwsim (previous step) (back to tree)

¬(tmlInit(cs) → (∃ as. abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf) ∧ tms2Init(as))) ∨ ¬ ( abs(cs0, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs0.gstate, cs0.lsf, cs0.pcf) ∧ TMLabsstep(cs0, aa, cs1) → (∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(as, ⌜aa '⌝ ^, as0) ∧ abs(cs1, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs1.gstate, cs1.lsf, cs1.pcf))) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: TMS2, name:elim-mkstate, seq: ⊦ (gstate = s.gstate ∧ lsf = s.lsf) ∧ pcf = s.pcf ↔ s = mkstate(gstate, lsf, pcf), subst:[s, gstate, lsf, pcf] → [as, ags, alsf, apcf]

Additional information

Used simplifier rules: ⊦ (gstate = s.gstate ∧ lsf = s.lsf) ∧ pcf = s.pcf ↔ s = mkstate(gstate, lsf, pcf); (elim) Used terms: as, ags, alsf, apcf

Proof step 6 from proof fwsim (previous step) (back to tree)

as = mkstate(ags, alsf, apcf), ¬(tmlInit(cs) → (∃ as. abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf) ∧ tms2Init(as))) ∨ ¬ ( abs(cs0, as) ∧ TMS2Inv(ags, alsf, apcf) ∧ TMLInv(cs0.gstate, cs0.lsf, cs0.pcf) ∧ TMLabsstep(cs0, aa, cs1) → (∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(as, ⌜aa '⌝ ^, as0) ∧ abs(cs1, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs1.gstate, cs1.lsf, cs1.pcf))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 7 from proof fwsim (previous step) (back to tree)

¬(tmlInit(cs) → (∃ as. abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf) ∧ tms2Init(as))) ∨ ¬ ( abs(cs0, mkstate(ags, alsf, apcf)) ∧ TMS2Inv(ags, alsf, apcf) ∧ TMLInv(cs0.gstate, cs0.lsf, cs0.pcf) ∧ TMLabsstep(cs0, aa, cs1) → (∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(cs1, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs1.gstate, cs1.lsf, cs1.pcf))) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: TML, name:elim-mkstate, seq: ⊦ (gstate = s.gstate ∧ lsf = s.lsf) ∧ pcf = s.pcf ↔ s = mkstate(gstate, lsf, pcf), subst:[s, gstate, lsf, pcf] → [cs0, gs, lsf, pcf]

Additional information

Used simplifier rules: ⊦ (gstate = s.gstate ∧ lsf = s.lsf) ∧ pcf = s.pcf ↔ s = mkstate(gstate, lsf, pcf); (elim) Used terms: cs0, gs, lsf, pcf

Proof step 8 from proof fwsim (previous step) (back to tree)

cs0 = mkstate(gs, lsf, pcf), ¬(tmlInit(cs) → (∃ as. abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf) ∧ tms2Init(as))) ∨ ¬ ( abs(cs0, mkstate(ags, alsf, apcf)) ∧ TMS2Inv(ags, alsf, apcf) ∧ TMLInv(gs, lsf, pcf) ∧ TMLabsstep(cs0, aa, cs1) → (∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(cs1, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs1.gstate, cs1.lsf, cs1.pcf))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ gabs(gs, lsf, pcf, ags, alsf, apcf) ↔ true; (s) ⊦ abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ gabs(gs, lsf, pcf, ags, alsf, apcf) ∧ (∀ tid. labs(gs, lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid))); (s)

Proof step 9 from proof fwsim (previous step) (back to tree)

¬(tmlInit(cs) → (∃ as. abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf) ∧ tms2Init(as))) ∨ ¬ ( (∀ tid. labs(gs, lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid))) ∧ TMS2Inv(ags, alsf, apcf) ∧ TMLInv(gs, lsf, pcf) ∧ TMLabsstep(mkstate(gs, lsf, pcf), aa, cs1) → (∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(cs1, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs1.gstate, cs1.lsf, cs1.pcf))) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 10 from proof fwsim (previous step) (back to tree)

tmlInit(cs) ⊦ ∃ as. abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf) ∧ tms2Init(as)

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: cs

Additional information

Used simplifier rules: TMLState freely generated by mkstate;;

Proof step 11 from proof fwsim (previous step) (back to tree)

cs = mkstate(gs, lsf, pcf), tmlInit(cs) ⊦ ∃ as. abs(cs, as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(cs.gstate, cs.lsf, cs.pcf) ∧ tms2Init(as)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s) ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ mkstate(gstate, lsf, pcf).gstate = gstate; (s)

Proof step 12 from proof fwsim (previous step) (back to tree)

tmlInit(mkstate(gs, lsf, pcf)) ⊦ ∃ as. abs(mkstate(gs, lsf, pcf), as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(gs, lsf, pcf) ∧ tms2Init(as)

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: TMLInv(gs, lsf, pcf)

Additional information

Used formulas: TMLInv(gs, lsf, pcf)

Proof step 13 from proof fwsim (previous step) (back to tree)

TMLInv(gs, lsf, pcf), tmlInit(mkstate(gs, lsf, pcf)) ⊦ ∃ as. abs(mkstate(gs, lsf, pcf), as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(gs, lsf, pcf) ∧ tms2Init(as)

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: TML-refines-TMS2-localPOs-FWSim, name:abs-init, seq:tmlInit(mkstate(gs, lsf, pcf)), TMLInv(gs, lsf, pcf) ⊦ ∃ ags, alsf, apcf. tms2Init(mkstate(ags, alsf, apcf)) ∧ abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), subst:[gs, lsf, pcf] → [gs, lsf, pcf]

Additional information

Used terms: gs, lsf, pcf

Proof step 14 from proof fwsim (previous step) (back to tree)

tmlInit(mkstate(gs, lsf, pcf)), TMLInv(gs, lsf, pcf) ⊦ ∃ ags, alsf, apcf. tms2Init(mkstate(ags, alsf, apcf)) ∧ abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf))

A spec-lemma

Proof step 15 from proof fwsim (previous step) (back to tree)

TMLInv(gs, lsf, pcf), tmlInit(mkstate(gs, lsf, pcf)), ∃ ags, alsf, apcf. tms2Init(mkstate(ags, alsf, apcf)) ∧ abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ⊦ ∃ as. abs(mkstate(gs, lsf, pcf), as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(gs, lsf, pcf) ∧ tms2Init(as)

User applied rule exists left

And obtained the following new goals

Rule argument

pos: left 3

Additional information

Proof step 16 from proof fwsim (previous step) (back to tree)

TMLInv(gs, lsf, pcf), abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), tmlInit(mkstate(gs, lsf, pcf)), tms2Init(mkstate(ags, alsf, apcf)) ⊦ ∃ as. abs(mkstate(gs, lsf, pcf), as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(gs, lsf, pcf) ∧ tms2Init(as)

User applied rule exists right

And obtained the following new goals

Rule argument

pos: right 1 terms: mkstate(ags, alsf, apcf) abort: F discard: T computed: T

Additional information

Used terms: mkstate(ags, alsf, apcf)

Proof step 17 from proof fwsim (previous step) (back to tree)

TMLInv(gs, lsf, pcf), abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), tmlInit(mkstate(gs, lsf, pcf)), tms2Init(mkstate(ags, alsf, apcf)) ⊦ abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ TMS2Inv(mkstate(ags, alsf, apcf).gstate, mkstate(ags, alsf, apcf).lsf, mkstate(ags, alsf, apcf).pcf) ∧ TMLInv(gs, lsf, pcf) ∧ tms2Init(mkstate(ags, alsf, apcf))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 18 from proof fwsim (previous step) (back to tree)

TMLInv(gs, lsf, pcf), abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), tmlInit(mkstate(gs, lsf, pcf)), tms2Init(mkstate(ags, alsf, apcf)), ¬ TMS2Inv(mkstate(ags, alsf, apcf).gstate, mkstate(ags, alsf, apcf).lsf, mkstate(ags, alsf, apcf).pcf) ⊦

User applied rule weakening

And obtained the following new goals

Rule argument

poslist: left 1, left 2, left 3

Additional information

Proof step 19 from proof fwsim (previous step) (back to tree)

tms2Init(mkstate(ags, alsf, apcf)), ¬ TMS2Inv(mkstate(ags, alsf, apcf).gstate, mkstate(ags, alsf, apcf).lsf, mkstate(ags, alsf, apcf).pcf) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s) ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ mkstate(gstate, lsf, pcf).gstate = gstate; (s)

Proof step 20 from proof fwsim (previous step) (back to tree)

tms2Init(mkstate(ags, alsf, apcf)), ¬ TMS2Inv(ags, alsf, apcf) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: TMS2-proofs, name:init-state-inv, seq:(gs.memories = ∅ ' ∧ pcf = (λ tid. NotStarted)) ∧ (∀ tid. tid = lsf(tid).tid) ⊦ TMS2Inv(gs, lsf, pcf), subst:[gs, pcf, lsf] → [ags, apcf, alsf]

Additional information

Used terms: ags, apcf, alsf

Proof step 21 from proof fwsim (previous step) (back to tree)

(gs.memories = ∅ ' ∧ pcf = (λ tid. NotStarted)) ∧ (∀ tid. tid = lsf(tid).tid) ⊦ TMS2Inv(gs, lsf, pcf)

A spec-lemma

Proof step 22 from proof fwsim (previous step) (back to tree)

tms2Init(mkstate(ags, alsf, apcf)), ¬ TMS2Inv(ags, alsf, apcf) ⊦ ags.memories = ∅ ' ∧ apcf = (λ tid. NotStarted) ∧ (∀ tid. tid = alsf(tid).tid)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 23 from proof fwsim (previous step) (back to tree)

tms2Init(mkstate(ags, alsf, apcf)), ¬ TMS2Inv(ags, alsf, apcf) ⊦ ags.memories = ∅ ' ∧ apcf(tid) = NotStarted ∧ tid0 = alsf(tid0).tid

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: TMS2, name:tms2Init, seq:⊦ tms2Init(mkstate(gs, lsf, pcf)) ↔ (gs.memories = ∅ ' ∧ pcf = (λ tid. NotStarted)) ∧ (∀ tid. lsf(tid).tid = tid), subst:[gs, lsf, pcf] → [ags, alsf, apcf], <all paths>

Additional information

Used terms: ags, alsf, apcf

Proof step 24 from proof fwsim (previous step) (back to tree)

⊦ tms2Init(mkstate(gs, lsf, pcf)) ↔ (gs.memories = ∅ ' ∧ pcf = (λ tid. NotStarted)) ∧ (∀ tid. lsf(tid).tid = tid)

A spec-lemma

Proof step 25 from proof fwsim (previous step) (back to tree)

ags.memories = ∅ ', apcf = (λ tid. NotStarted), ¬ TMS2Inv(ags, alsf, apcf), ∀ tid. alsf(tid).tid = tid ⊦ ags.memories = ∅ ' ∧ apcf(tid) = NotStarted ∧ tid0 = alsf(tid0).tid

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 26 from proof fwsim (previous step) (back to tree)

ags.memories = ∅ ', tid0 ≠ alsf(tid0).tid, ¬ TMS2Inv(ags, alsf, λ tid. NotStarted), ∀ tid. alsf(tid).tid = tid ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 4 terms: tid0

Additional information

Used terms: tid0

Proof step 27 from proof fwsim (previous step) (back to tree)

tmlInit(mkstate(gs, lsf, pcf)), ¬ TMLInv(gs, lsf, pcf) ⊦ ∃ as. abs(mkstate(gs, lsf, pcf), as) ∧ TMS2Inv(as.gstate, as.lsf, as.pcf) ∧ TMLInv(gs, lsf, pcf) ∧ tms2Init(as)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 28 from proof fwsim (previous step) (back to tree)

tmlInit(mkstate(gs, lsf, pcf)), ¬ TMLInv(gs, lsf, pcf) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: TML-proofs, name:init-state-inv, seq: (gs.glb = 0 ∧ (∀ l. gs.mem(l) = O) ∧ gs.w = None ∧ pcf = (λ tid. S)) ∧ (∀ tid. tid = lsf(tid).tid) ⊦ TMLInv(gs, lsf, pcf), subst:[gs, pcf, lsf] → [gs, pcf, lsf]

Additional information

Used terms: gs, pcf, lsf

Proof step 29 from proof fwsim (previous step) (back to tree)

(gs.glb = 0 ∧ (∀ l. gs.mem(l) = O) ∧ gs.w = None ∧ pcf = (λ tid. S)) ∧ (∀ tid. tid = lsf(tid).tid) ⊦ TMLInv(gs, lsf, pcf)

A spec-lemma

Proof step 30 from proof fwsim (previous step) (back to tree)

tmlInit(mkstate(gs, lsf, pcf)), ¬ TMLInv(gs, lsf, pcf) ⊦ gs.glb = 0 ∧ (∀ l. gs.mem(l) = O) ∧ gs.w = None ∧ pcf = (λ tid. S) ∧ (∀ tid. tid = lsf(tid).tid)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 31 from proof fwsim (previous step) (back to tree)

tmlInit(mkstate(gs, lsf, pcf)), ¬ TMLInv(gs, lsf, pcf) ⊦ gs.glb = 0 ∧ gs.mem(l) = O ∧ gs.w = None ∧ pcf(tid) = S ∧ tid0 = lsf(tid0).tid

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: TML, name:elim-mkTMLgs, seq: ⊦ (mem = gs.mem ∧ glb = gs.glb) ∧ w = gs.w ↔ gs = mkTMLgs(mem, glb, w), subst:[gs, mem, glb, w] → [gs, mem, glb, w]

Additional information

Used simplifier rules: ⊦ (mem = gs.mem ∧ glb = gs.glb) ∧ w = gs.w ↔ gs = mkTMLgs(mem, glb, w); (elim) Used terms: gs, mem, glb, w

Proof step 32 from proof fwsim (previous step) (back to tree)

gs = mkTMLgs(mem, glb, w), tmlInit(mkstate(gs, lsf, pcf)), ¬ TMLInv(gs, lsf, pcf) ⊦ glb = 0 ∧ mem(l) = O ∧ w = None ∧ pcf(tid) = S ∧ tid0 = lsf(tid0).tid

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 33 from proof fwsim (previous step) (back to tree)

tmlInit(mkstate(mkTMLgs(mem, glb, w), lsf, pcf)), ¬ TMLInv(mkTMLgs(mem, glb, w), lsf, pcf) ⊦ glb = 0 ∧ mem(l) = O ∧ w = None ∧ pcf(tid) = S ∧ tid0 = lsf(tid0).tid

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: TML, name:elim-mkTMLls, seq:⊦ ((tid = ls.tid ∧ loc = ls.loc) ∧ l = ls.l) ∧ v = ls.v ↔ ls = mkTMLls(tid, loc, l, v), subst:[tid, l, v, ls, loc] → [tid1, l0, v, lsf(tid0), loc]

Additional information

Used simplifier rules: ⊦ ((tid = ls.tid ∧ loc = ls.loc) ∧ l = ls.l) ∧ v = ls.v ↔ ls = mkTMLls(tid, loc, l, v); (elim) Used terms: v, l0, tid1, lsf(tid0), loc

Proof step 34 from proof fwsim (previous step) (back to tree)

lsf(tid0) = mkTMLls(tid1, loc, l0, v), tmlInit(mkstate(mkTMLgs(mem, glb, w), lsf, pcf)), ¬ TMLInv(mkTMLgs(mem, glb, w), lsf, pcf) ⊦ glb = 0 ∧ mem(l) = O ∧ w = None ∧ pcf(tid) = S ∧ tid0 = tid1

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: TML, name:tmlInit, seq:⊦ tmlInit(mkstate(gs, lsf, pcf)) ↔ (gs.glb = 0 ∧ (∀ l. gs.mem(l) = O) ∧ gs.w = None ∧ pcf = (λ tid. S)) ∧ (∀ tid. lsf(tid).tid = tid), subst:[gs, lsf, pcf] → [mkTMLgs(mem, glb, w), lsf, pcf], <all paths>

Additional information

Used terms: mkTMLgs(mem, glb, w), lsf, pcf

Proof step 35 from proof fwsim (previous step) (back to tree)

⊦ tmlInit(mkstate(gs, lsf, pcf)) ↔ (gs.glb = 0 ∧ (∀ l. gs.mem(l) = O) ∧ gs.w = None ∧ pcf = (λ tid. S)) ∧ (∀ tid. lsf(tid).tid = tid)

A spec-lemma

Proof step 36 from proof fwsim (previous step) (back to tree)

mkTMLgs(mem, glb, w).glb = 0, mkTMLgs(mem, glb, w).w = None, lsf(tid0) = mkTMLls(tid1, loc, l0, v), pcf = (λ tid. S), ¬ TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), ∀ l. mkTMLgs(mem, glb, w).mem(l) = O, ∀ tid. lsf(tid).tid = tid ⊦ glb = 0 ∧ mem(l) = O ∧ w = None ∧ pcf(tid) = S ∧ tid0 = tid1

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkTMLgs(mem, glb, w).mem = mem; (s) ⊦ mkTMLgs(mem, glb, w).glb = glb; (s) ⊦ mkTMLgs(mem, glb, w).w = w; (s)

Proof step 37 from proof fwsim (previous step) (back to tree)

lsf(tid0) = mkTMLls(tid1, loc, l0, v), ¬ TMLInv(mkTMLgs(mem, 0, None), lsf, λ tid. S), ∀ l1. mem(l1) = O, ∀ tid. lsf(tid).tid = tid ⊦ mem(l) = O ∧ tid0 = tid1

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 38 from proof fwsim (previous step) (back to tree)

lsf(tid0) = mkTMLls(tid1, loc, l0, v), mem(l) ≠ O, ¬ TMLInv(mkTMLgs(mem, 0, None), lsf, λ tid. S), ∀ tid. lsf(tid).tid = tid, ∀ l1. mem(l1) = O ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 5 terms: l

Additional information

Used terms: l

Proof step 39 from proof fwsim (previous step) (back to tree)

lsf(tid0) = mkTMLls(tid1, loc, l0, v), tid0 ≠ tid1, ¬ TMLInv(mkTMLgs(mem, 0, None), lsf, λ tid. S), ∀ tid. lsf(tid).tid = tid, ∀ l1. mem(l1) = O ⊦

User applied rule all left

And closed the goal!

Rule argument

pos: left 4 terms: tid0 abort: F discard: T computed: T

Additional information

Used simplifier rules: ⊦ mkTMLls(tid, loc, l, v).tid = tid; (s) Used terms: tid0

Proof step 40 from proof fwsim (previous step) (back to tree)

TMLInv(gs, lsf, pcf), TMLabsstep(mkstate(gs, lsf, pcf), aa, cs1), TMS2Inv(ags, alsf, apcf), ∀ tid. labs(gs, lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(cs1, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs1.gstate, cs1.lsf, cs1.pcf)

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: gs

Additional information

Used simplifier rules: TMLGState freely generated by mkTMLgs;;

Proof step 41 from proof fwsim (previous step) (back to tree)

gs = mkTMLgs(mem, glb, w), TMLInv(gs, lsf, pcf), TMLabsstep(mkstate(gs, lsf, pcf), aa, cs1), TMS2Inv(ags, alsf, apcf), ∀ tid. labs(gs, lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(cs1, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs1.gstate, cs1.lsf, cs1.pcf)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 42 from proof fwsim (previous step) (back to tree)

TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMLabsstep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), aa, cs1), TMS2Inv(ags, alsf, apcf), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(cs1, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs1.gstate, cs1.lsf, cs1.pcf)

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:TMLabsstep-def, seq: ⊦ TMLabsstep(cs, aa, cs0) ↔ (∃ ca. aa = aabs(ren(ca)) ∧ tmlStep(cs, ca, cs0)), subst:[cs, aa, cs0] → [mkstate(mkTMLgs(mem, glb, w), lsf, pcf), aa, cs1], <all paths>

Additional information

Used terms: mkstate(mkTMLgs(mem, glb, w), lsf, pcf), aa, cs1

Proof step 43 from proof fwsim (previous step) (back to tree)

⊦ TMLabsstep(cs, aa, cs0) ↔ (∃ ca. aa = aabs(ren(ca)) ∧ tmlStep(cs, ca, cs0))

Lemma TMLabsstep-def

Proof step 44 from proof fwsim (previous step) (back to tree)

TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)), ∃ ca. aa = aabs(ren(ca)) ∧ tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, cs1) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(cs1, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs1.gstate, cs1.lsf, cs1.pcf)

User applied rule exists left

And obtained the following new goals

Rule argument

pos: left 4

Additional information

Proof step 45 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, cs1), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(cs1, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs1.gstate, cs1.lsf, cs1.pcf)

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: cs1

Additional information

Used simplifier rules: TMLState freely generated by mkstate;;

Proof step 46 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), cs1 = mkstate(gs, lsf0, pcf0), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, cs1), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(cs1, as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(cs1.gstate, cs1.lsf, cs1.pcf)

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 2, flags: discard

Additional information

Proof step 47 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(mkstate(gs, lsf0, pcf0), as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(mkstate(gs, lsf0, pcf0).gstate, mkstate(gs, lsf0, pcf0).lsf, mkstate(gs, lsf0, pcf0).pcf)

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: TML-proofs, name:TMLInv-thm, seq:⊦ TMLInv(gs, lsf, pcf) ∧ tmlStep(mkstate(gs, lsf, pcf), a, mkstate(gs0, lsf0, pcf0)) → TMLInv(gs0, lsf0, pcf0), subst:[pcf0, gs, a, gs0, lsf0, pcf, lsf] → [pcf0, mkTMLgs(mem, glb, w), ca, gs, lsf0, pcf, lsf]

Additional information

Used terms: lsf, gs, mkTMLgs(mem, glb, w), pcf0, pcf, ca, lsf0

Proof step 48 from proof fwsim (previous step) (back to tree)

⊦ TMLInv(gs, lsf, pcf) ∧ tmlStep(mkstate(gs, lsf, pcf), a, mkstate(gs0, lsf0, pcf0)) → TMLInv(gs0, lsf0, pcf0)

A spec-lemma

Proof step 49 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf) ∧ tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)) → TMLInv(gs, lsf0, pcf0), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(mkstate(gs, lsf0, pcf0), as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(mkstate(gs, lsf0, pcf0).gstate, mkstate(gs, lsf0, pcf0).lsf, mkstate(gs, lsf0, pcf0).pcf)

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 5

Additional information

Proof step 50 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMLInv(gs, lsf0, pcf0), TMS2Inv(ags, alsf, apcf), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(mkstate(gs, lsf0, pcf0), as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(mkstate(gs, lsf0, pcf0).gstate, mkstate(gs, lsf0, pcf0).lsf, mkstate(gs, lsf0, pcf0).pcf)

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: TML-refines-TMS2-localPOs-FWSim, name:copied-abs-theorem, seq:TMLInv(gs, lsf, pcf), TMLInv(gs0, lsf0, pcf0), TMS2Inv(ags, alsf, apcf), tmlStep(mkstate(gs, lsf, pcf), a, mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), ren(a, ags, alsf) = aa ⊦ (aa = τ ⊃ abs(mkstate(gs0, lsf0, pcf0), mkstate(ags, alsf, apcf)) ;∃ ags0, alsf0, apcf0. tms2Step(mkstate(ags, alsf, apcf), aa, mkstate(ags0, alsf0, apcf0)) ∧ abs(mkstate(gs0, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)) ), subst:[pcf0, gs, alsf, a, ags, gs0, lsf0, aa, apcf, pcf, lsf] → [pcf0, mkTMLgs(mem, glb, w), alsf, ca, ags, gs, lsf0, ren(ca, ags, alsf), apcf, pcf, lsf]

Additional information

Used simplifier rules: ⊦ abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ gabs(gs, lsf, pcf, ags, alsf, apcf) ∧ (∀ tid. labs(gs, lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid))); (s) ⊦ gabs(gs, lsf, pcf, ags, alsf, apcf) ↔ true; (s) Used terms: lsf, ags, alsf, gs, ren(ca, ags, alsf), mkTMLgs(mem, glb, w), pcf0, apcf, pcf, ca, lsf0

Proof step 51 from proof fwsim (previous step) (back to tree)

TMLInv(gs, lsf, pcf), TMLInv(gs0, lsf0, pcf0), TMS2Inv(ags, alsf, apcf), tmlStep(mkstate(gs, lsf, pcf), a, mkstate(gs0, lsf0, pcf0)), abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), ren(a, ags, alsf) = aa ⊦ (aa = τ ⊃ abs(mkstate(gs0, lsf0, pcf0), mkstate(ags, alsf, apcf)) ;∃ ags0, alsf0, apcf0. tms2Step(mkstate(ags, alsf, apcf), aa, mkstate(ags0, alsf0, apcf0)) ∧ abs(mkstate(gs0, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)) )

A spec-lemma

Proof step 52 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), TMLInv(gs, lsf0, pcf0), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), (ren(ca, ags, alsf) = τ ⊃ abs(mkstate(gs, lsf0, pcf0), mkstate(ags, alsf, apcf)) ;∃ ags0, alsf0, apcf0. tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)) ∧ abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)) ), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(mkstate(gs, lsf0, pcf0), as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(mkstate(gs, lsf0, pcf0).gstate, mkstate(gs, lsf0, pcf0).lsf, mkstate(gs, lsf0, pcf0).pcf)

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 6

Additional information

Proof step 53 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) = τ, TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMLInv(gs, lsf0, pcf0), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags, alsf, apcf)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(mkstate(gs, lsf0, pcf0), as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(mkstate(gs, lsf0, pcf0).gstate, mkstate(gs, lsf0, pcf0).lsf, mkstate(gs, lsf0, pcf0).pcf)

User applied rule exists right

And obtained the following new goals

Rule argument

pos: right 1 terms: mkstate(ags, alsf, apcf) abort: F discard: T computed: T

Additional information

Used terms: mkstate(ags, alsf, apcf)

Proof step 54 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) = τ, TMLInv(gs, lsf0, pcf0), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags, alsf, apcf)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags, alsf, apcf)) ∧ abs(mkstate(gs, lsf0, pcf0), mkstate(ags, alsf, apcf)) ∧ TMS2Inv(mkstate(ags, alsf, apcf).gstate, mkstate(ags, alsf, apcf).lsf, mkstate(ags, alsf, apcf).pcf) ∧ TMLInv(mkstate(gs, lsf0, pcf0).gstate, mkstate(gs, lsf0, pcf0).lsf, mkstate(gs, lsf0, pcf0).pcf)

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Used simplifier rules: ⊦ abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ gabs(gs, lsf, pcf, ags, alsf, apcf) ∧ (∀ tid. labs(gs, lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid))); (s) ⊦ gabs(gs, lsf, pcf, ags, alsf, apcf) ↔ true; (s) ⊦ mkstate(gstate, lsf, pcf).gstate = gstate; (s) ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s) ⊦ mkstate(gstate, lsf, pcf).gstate = gstate; (s) ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s)

Proof step 55 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) = τ, TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMLInv(gs, lsf0, pcf0), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags, alsf, apcf)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), ¬ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags, alsf, apcf)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: aa = τ

Additional information

Used simplifier rules: ⊦ abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ gabs(gs, lsf, pcf, ags, alsf, apcf) ∧ (∀ tid. labs(gs, lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid))); (s) ⊦ gabs(gs, lsf, pcf, ags, alsf, apcf) ↔ true; (s) ⊦ ⌜τ '⌝ ^ = []; (s) ⊦ amove(AIOAut(startf, stepf))(s, [], s); (s) Used formulas: aa = τ

Proof step 56 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) = τ, aa ≠ τ, TMLInv(gs, lsf0, pcf0), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags, alsf, apcf)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), ¬ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags, alsf, apcf)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦

User applied rule constructor cut

And closed the goal!

Rule argument

var: ca

Additional information

Used simplifier rules: TMLAction freely generated by τ, doCommitReadOnly, doCommitWriter, doRead, doWrite, invTMBEGIN, invTMEND, invTMREAD, invTMWRITE, retAbort, retTMBEGIN, retTMEND, retTMREAD, retTMWRITE ;; ⊦ ren(retTMWRITE(tid), ags, alsf) = callRetTMWrite(tid); (s) ⊦ callRetTMWrite(tid) ≠ τ; (s) ⊦ ren(retTMREAD(tid, v), ags, alsf) = callRetTMRead(tid, v); (s) ⊦ callRetTMRead(tid, invInvTMWritev) ≠ τ; (s) ⊦ ren(retTMEND(tid), ags, alsf) = callRetTMEnd(tid); (s) ⊦ callRetTMEnd(tid) ≠ τ; (s) ⊦ ren(retTMBEGIN(tid), ags, alsf) = callRetTMBegin(tid); (s) ⊦ callRetTMBegin(tid) ≠ τ; (s) ⊦ ren(retAbort(tid), ags, alsf) = callRetAbort(tid); (s) ⊦ callRetAbort(tid) ≠ τ; (s) ⊦ ren(invTMWRITE(tid, l, v), ags, alsf) = callInvTMWrite(tid, l, v); (s) ⊦ callInvTMWrite(tid, invInvTMReadl, invInvTMWritev) ≠ τ; (s) ⊦ ren(invTMREAD(tid, l), ags, alsf) = callInvTMRead(tid, l); (s) ⊦ callInvTMRead(tid, invInvTMReadl) ≠ τ; (s) ⊦ ren(invTMEND(tid), ags, alsf) = callInvTMEnd(tid); (s) ⊦ callInvTMEnd(tid) ≠ τ; (s) ⊦ ren(invTMBEGIN(tid), ags, alsf) = callInvTMBegin(tid); (s) ⊦ callInvTMBegin(tid) ≠ τ; (s) ⊦ ren(doWrite(tid), ags, alsf) = callDoWrite(tid); (s) ⊦ callDoWrite(tid) ≠ τ; (s) ⊦ ren(doRead(tid), ags, alsf) = (alsf(tid).il ∈ alsf(tid).wrset ⊃ callDoReadWrSet(tid) ;callDoReadIx(tid, # ags.memories - 1) ); (s) ⊦ ren(doRead(tid)) = callDoReadWrSet(tid); (s) ⊦ aabs(callDoReadWrSet(tid)) = τ; (s) ⊦ ren(doCommitWriter(tid), ags, alsf) = callDoCommitWriter(tid); (s) ⊦ callDoCommitWriter(tid) ≠ τ; (s) ⊦ ren(doCommitReadOnly(tid), ags, alsf) = callDoCommitReadOnly(tid); (s) ⊦ callDoCommitReadOnly(tid) ≠ τ; (s) ⊦ ren(τ, ags, alsf) = τ; (s) ⊦ ren(τ) = τ; (s) ⊦ aabs(τ) = τ; (s)

Proof step 57 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) ≠ τ, TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMLInv(gs, lsf0, pcf0), TMS2Inv(ags, alsf, apcf), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)), ∃ ags0, alsf0, apcf0. tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)) ∧ abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(mkstate(gs, lsf0, pcf0), as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(mkstate(gs, lsf0, pcf0).gstate, mkstate(gs, lsf0, pcf0).lsf, mkstate(gs, lsf0, pcf0).pcf)

User applied rule exists left

And obtained the following new goals

Rule argument

pos: left 8

Additional information

Proof step 58 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) ≠ τ, TMLInv(gs, lsf0, pcf0), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ ∃ as0. amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, as0) ∧ abs(mkstate(gs, lsf0, pcf0), as0) ∧ TMS2Inv(as0.gstate, as0.lsf, as0.pcf) ∧ TMLInv(mkstate(gs, lsf0, pcf0).gstate, mkstate(gs, lsf0, pcf0).lsf, mkstate(gs, lsf0, pcf0).pcf)

User applied rule exists right

And obtained the following new goals

Rule argument

pos: right 1 terms: mkstate(ags0, alsf0, apcf0) abort: F discard: T computed: F

Additional information

Used terms: mkstate(ags0, alsf0, apcf0)

Proof step 59 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) ≠ τ, TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMLInv(gs, lsf0, pcf0), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags0, alsf0, apcf0)) ∧ abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)) ∧ TMS2Inv(mkstate(ags0, alsf0, apcf0).gstate, mkstate(ags0, alsf0, apcf0).lsf, mkstate(ags0, alsf0, apcf0).pcf) ∧ TMLInv(mkstate(gs, lsf0, pcf0).gstate, mkstate(gs, lsf0, pcf0).lsf, mkstate(gs, lsf0, pcf0).pcf)

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Used simplifier rules: ⊦ abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ gabs(gs, lsf, pcf, ags, alsf, apcf) ∧ (∀ tid. labs(gs, lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid))); (s) ⊦ gabs(gs, lsf, pcf, ags, alsf, apcf) ↔ true; (s) ⊦ mkstate(gstate, lsf, pcf).gstate = gstate; (s) ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s)

Proof step 60 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) ≠ τ, TMLInv(gs, lsf0, pcf0), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)), ¬ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags0, alsf0, apcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: IOtrace[TMS2trace-absAction], name:move-one, seq:⊦ stepf(s, a, s0) ∧ AIOAut?(AIOAut(startf, stepf)) → amove(AIOAut(startf, stepf))(s, ⌜a '⌝ ^, s0), subst:[startf, stepf, a, s, s0] → [tms2Init, TMS2absstep, aa, mkstate(ags, alsf, apcf), mkstate(ags0, alsf0, apcf0)], <all paths>

Additional information

Used terms: tms2Init, aa, mkstate(ags0, alsf0, apcf0), TMS2absstep, mkstate(ags, alsf, apcf)

Proof step 61 from proof fwsim (previous step) (back to tree)

⊦ stepf(s, a, s0) ∧ AIOAut?(AIOAut(startf, stepf)) → amove(AIOAut(startf, stepf))(s, ⌜a '⌝ ^, s0)

A spec-lemma

Proof step 62 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) ≠ τ, TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMLInv(gs, lsf0, pcf0), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)), ¬ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags0, alsf0, apcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ TMS2absstep(mkstate(ags, alsf, apcf), aa, mkstate(ags0, alsf0, apcf0)) ∧ AIOAut?(AIOAut(tms2Init, TMS2absstep))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Used simplifier rules: AIOAut-lem: ⊦ AIOAut?(AIOAut(tms2Init, TMS2absstep)); ⊦ abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ gabs(gs, lsf, pcf, ags, alsf, apcf) ∧ (∀ tid. labs(gs, lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid))); (s) ⊦ gabs(gs, lsf, pcf, ags, alsf, apcf) ↔ true; (s)

Proof step 63 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) ≠ τ, TMLInv(gs, lsf0, pcf0), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)), ¬ TMS2absstep(mkstate(ags, alsf, apcf), aa, mkstate(ags0, alsf0, apcf0)), ¬ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags0, alsf0, apcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:TMS2absstep-def, seq: ⊦ TMS2absstep(as, aa, as0) ↔ (∃ a. aa = aabs(a) ∧ tms2Step(as, a, as0)), subst:[as, aa, as0] → [mkstate(ags, alsf, apcf), aa, mkstate(ags0, alsf0, apcf0)], <all paths>

Additional information

Used terms: mkstate(ags, alsf, apcf), aa, mkstate(ags0, alsf0, apcf0)

Proof step 64 from proof fwsim (previous step) (back to tree)

⊦ TMS2absstep(as, aa, as0) ↔ (∃ a. aa = aabs(a) ∧ tms2Step(as, a, as0))

Lemma TMS2absstep-def

Proof step 65 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) ≠ τ, TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMLInv(gs, lsf0, pcf0), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)), ¬ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags0, alsf0, apcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)), ∀ a. ¬(aa = aabs(a) ∧ tms2Step(mkstate(ags, alsf, apcf), a, mkstate(ags0, alsf0, apcf0))) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 11 terms: ren(ca, ags, alsf) abort: F discard: T computed: T

Additional information

Used terms: ren(ca, ags, alsf)

Proof step 66 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) ≠ τ, TMLInv(gs, lsf0, pcf0), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)), ¬ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags0, alsf0, apcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦ aa = aabs(ren(ca, ags, alsf)) ∧ tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 67 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), aa ≠ aabs(ren(ca, ags, alsf)), ren(ca, ags, alsf) ≠ τ, TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMLInv(gs, lsf0, pcf0), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)), ¬ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags0, alsf0, apcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: ca

Additional information

Used simplifier rules: TMLAction freely generated by τ, doCommitReadOnly, doCommitWriter, doRead, doWrite, invTMBEGIN, invTMEND, invTMREAD, invTMWRITE, retAbort, retTMBEGIN, retTMEND, retTMREAD, retTMWRITE ;; ⊦ ren(retTMWRITE(tid)) = callRetTMWrite(tid); (s) ⊦ ren(retTMWRITE(tid), ags, alsf) = callRetTMWrite(tid); (s) ⊦ aabs(callRetTMWrite(tid)) = aRetTMWrite(tid); (s) ⊦ aRetTMWrite(tid) = aRetTMWrite(tid0) ↔ tid = tid0; (s) ⊦ ren(retTMREAD(tid, v)) = callRetTMRead(tid, v); (s) ⊦ ren(retTMREAD(tid, v), ags, alsf) = callRetTMRead(tid, v); (s) ⊦ aabs(callRetTMRead(tid, v)) = aRetTMRead(tid, v); (s) ⊦ aRetTMRead(tid, v) = aRetTMRead(tid0, v0) ↔ tid = tid0 ∧ v = v0; (ws) ⊦ ren(retTMEND(tid)) = callRetTMEnd(tid); (s) ⊦ ren(retTMEND(tid), ags, alsf) = callRetTMEnd(tid); (s) ⊦ aabs(callRetTMEnd(tid)) = aRetTMEnd(tid); (s) ⊦ aRetTMEnd(tid) = aRetTMEnd(tid0) ↔ tid = tid0; (s) ⊦ ren(retTMBEGIN(tid)) = callRetTMBegin(tid); (s) ⊦ ren(retTMBEGIN(tid), ags, alsf) = callRetTMBegin(tid); (s) ⊦ aabs(callRetTMBegin(tid)) = aRetTMBegin(tid); (s) ⊦ aRetTMBegin(tid) = aRetTMBegin(tid0) ↔ tid = tid0; (s) ⊦ ren(retAbort(tid)) = callRetAbort(tid); (s) ⊦ ren(retAbort(tid), ags, alsf) = callRetAbort(tid); (s) ⊦ aabs(callRetAbort(tid)) = aRetAbort(tid); (s) ⊦ aRetAbort(tid) = aRetAbort(tid0) ↔ tid = tid0; (s) ⊦ ren(invTMWRITE(tid, l, v)) = callInvTMWrite(tid, l, v); (s) ⊦ ren(invTMWRITE(tid, l, v), ags, alsf) = callInvTMWrite(tid, l, v); (s) ⊦ aabs(callInvTMWrite(tid, l, v)) = aInvTMWrite(tid, l, v); (s) ⊦ aInvTMWrite(tid, l, v) = aInvTMWrite(tid0, l0, v0) ↔ tid = tid0 ∧ l = l0 ∧ v = v0; (ws) ⊦ ren(invTMREAD(tid, l)) = callInvTMRead(tid, l); (s) ⊦ ren(invTMREAD(tid, l), ags, alsf) = callInvTMRead(tid, l); (s) ⊦ aabs(callInvTMRead(tid, l)) = aInvTMRead(tid, l); (s) ⊦ aInvTMRead(tid, l) = aInvTMRead(tid0, l0) ↔ tid = tid0 ∧ l = l0; (ws) ⊦ ren(invTMEND(tid)) = callInvTMEnd(tid); (s) ⊦ ren(invTMEND(tid), ags, alsf) = callInvTMEnd(tid); (s) ⊦ aabs(callInvTMEnd(tid)) = aInvTMEnd(tid); (s) ⊦ aInvTMEnd(tid) = aInvTMEnd(tid0) ↔ tid = tid0; (s) ⊦ ren(invTMBEGIN(tid)) = callInvTMBegin(tid); (s) ⊦ ren(invTMBEGIN(tid), ags, alsf) = callInvTMBegin(tid); (s) ⊦ aabs(callInvTMBegin(tid)) = aInvTMBegin(tid); (s) ⊦ aInvTMBegin(tid) = aInvTMBegin(tid0) ↔ tid = tid0; (s) ⊦ ren(doWrite(tid)) = callDoWrite(tid); (s) ⊦ ren(doWrite(tid), ags, alsf) = callDoWrite(tid); (s) ⊦ aabs(callDoWrite(tid)) = τ; (s) ⊦ ren(doCommitWriter(tid)) = callDoCommitWriter(tid); (s) ⊦ ren(doCommitWriter(tid), ags, alsf) = callDoCommitWriter(tid); (s) ⊦ aabs(callDoCommitWriter(tid)) = τ; (s) ⊦ ren(doCommitReadOnly(tid)) = callDoCommitReadOnly(tid); (s) ⊦ ren(doCommitReadOnly(tid), ags, alsf) = callDoCommitReadOnly(tid); (s) ⊦ aabs(callDoCommitReadOnly(tid)) = τ; (s) ⊦ ren(τ) = τ; (s) ⊦ ren(τ, ags, alsf) = τ; (s) ⊦ aabs(τ) = τ; (s)

Proof step 68 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ca = doRead(tid0), aa ≠ aabs(ren(ca, ags, alsf)), ren(ca, ags, alsf) ≠ τ, TMLInv(gs, lsf0, pcf0), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)), ¬ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags0, alsf0, apcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 2, flags: discard

Additional information

Proof step 69 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(doRead(tid0))), aa ≠ aabs(ren(doRead(tid0), ags, alsf)), ren(doRead(tid0), ags, alsf) ≠ τ, TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMLInv(gs, lsf0, pcf0), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), doRead(tid0), mkstate(gs, lsf0, pcf0)), tms2Step(mkstate(ags, alsf, apcf), ren(doRead(tid0), ags, alsf), mkstate(ags0, alsf0, apcf0)), ¬ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags0, alsf0, apcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: TML-refines-TMS2-localPOs-FWSim, name:ren-doRead, seq:⊦ ren(doRead(tid), ags, alsf) = (alsf(tid).il ∈ alsf(tid).wrset ⊃ callDoReadWrSet(tid) ;callDoReadIx(tid, # ags.memories - 1) ), subst:[tid, ags, alsf] → [tid0, ags, alsf], <all paths>

Additional information

Used terms: tid0, ags, alsf

Proof step 70 from proof fwsim (previous step) (back to tree)

⊦ ren(doRead(tid), ags, alsf) = (alsf(tid).il ∈ alsf(tid).wrset ⊃ callDoReadWrSet(tid);callDoReadIx(tid, # ags.memories - 1))

A spec-lemma

Proof step 71 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(doRead(tid0))), (alsf(tid0).il ∈ alsf(tid0).wrset ⊃ callDoReadWrSet(tid0);callDoReadIx(tid0, # ags.memories - 1)) ≠ τ, aa ≠ aabs((alsf(tid0).il ∈ alsf(tid0).wrset ⊃ callDoReadWrSet(tid0);callDoReadIx(tid0, # ags.memories - 1))), TMLInv(gs, lsf0, pcf0), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), doRead(tid0), mkstate(gs, lsf0, pcf0)), tms2Step (mkstate(ags, alsf, apcf), (alsf(tid0).il ∈ alsf(tid0).wrset ⊃ callDoReadWrSet(tid0);callDoReadIx(tid0, # ags.memories - 1)), mkstate(ags0, alsf0, apcf0)), ¬ amove(AIOAut(tms2Init, TMS2absstep))(mkstate(ags, alsf, apcf), ⌜aa '⌝ ^, mkstate(ags0, alsf0, apcf0)), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 2

Additional information

Used simplifier rules: ⊦ ren(doRead(tid)) = callDoReadWrSet(tid); (s) ⊦ aabs(callDoReadWrSet(tid)) = τ; (s) ⊦ aabs(callDoReadIx(tid, n)) = τ; (s)

Proof step 72 from proof fwsim (previous step) (back to tree)

aa = aabs(ren(ca)), ren(ca, ags, alsf) ≠ τ, TMLInv(gs, lsf0, pcf0), TMLInv(mkTMLgs(mem, glb, w), lsf, pcf), TMS2Inv(ags, alsf, apcf), abs(mkstate(gs, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)), tmlStep(mkstate(mkTMLgs(mem, glb, w), lsf, pcf), ca, mkstate(gs, lsf0, pcf0)), tms2Step(mkstate(ags, alsf, apcf), ren(ca, ags, alsf), mkstate(ags0, alsf0, apcf0)), ¬ TMS2Inv(mkstate(ags0, alsf0, apcf0).gstate, mkstate(ags0, alsf0, apcf0).lsf, mkstate(ags0, alsf0, apcf0).pcf), ∀ tid. labs(mkTMLgs(mem, glb, w), lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid)) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: TMS2-proofs, name:TMS2Inv-thm, seq:⊦ TMS2Inv(gs, lsf, pcf) ∧ tms2Step(mkstate(gs, lsf, pcf), a, mkstate(gs0, lsf0, pcf0)) → TMS2Inv(gs0, lsf0, pcf0), subst:[gs0, pcf, lsf, lsf0, a, gs, pcf0] → [ags0, apcf, alsf, alsf0, ren(ca, ags, alsf), ags, apcf0]

Additional information

Used simplifier rules: ⊦ abs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ gabs(gs, lsf, pcf, ags, alsf, apcf) ∧ (∀ tid. labs(gs, lsf(tid), pcf(tid), ags, alsf(tid), apcf(tid))); (s) ⊦ gabs(gs, lsf, pcf, ags, alsf, apcf) ↔ true; (s) ⊦ mkstate(gstate, lsf, pcf).gstate = gstate; (s) ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s) Used terms: alsf, ags, ren(ca, ags, alsf), alsf0, ags0, apcf, apcf0

Proof step 73 from proof fwsim (previous step) (back to tree)

⊦ TMS2Inv(gs, lsf, pcf) ∧ tms2Step(mkstate(gs, lsf, pcf), a, mkstate(gs0, lsf0, pcf0)) → TMS2Inv(gs0, lsf0, pcf0)

A spec-lemma

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