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

∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, DQInv(gs, lsf, pcf), tids0 ⊆ tids ⊦ ∃ ass. ∀ as. bwabs(mkstate(gs, lsf, pcf), as) ∧ DurQInv(as.gstate, as.lsf, as.pcf) ∧ (∀ tid. ¬ tid ∈ tids0 → as.pcf(tid) = bwabspcf(pcf(tid)) ∧ as.lsf(tid) = bwlabsf(lsf(tid))) ↔ as ∈ ass

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof imfin-lemma (previous step) (back to tree)

DQInv(gs, lsf, pcf), tids0 ⊆ tids, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ ∃ ass. ∀ as. bwabs(mkstate(gs, lsf, pcf), as) ∧ DurQInv(as.gstate, as.lsf, as.pcf) ∧ (∀ tid. ¬ tid ∈ tids0 → as.pcf(tid) = bwabspcf(pcf(tid)) ∧ as.lsf(tid) = bwlabsf(lsf(tid))) ↔ as ∈ ass

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DQ, name:DQInv, seq:⊦ DQInv(gs, lsf, pcf) ↔ DQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid))), subst:[gs, lsf, pcf] → [gs, lsf, pcf], <all paths>

Additional information

Used terms: gs, lsf, pcf

Proof step 3 from proof imfin-lemma (previous step) (back to tree)

⊦ DQInv(gs, lsf, pcf) ↔ DQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)))

A spec-lemma

Proof step 4 from proof imfin-lemma (previous step) (back to tree)

DQGInv(gs), tids0 ⊆ tids, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)) ⊦ ∃ ass. ∀ as. bwabs(mkstate(gs, lsf, pcf), as) ∧ DurQInv(as.gstate, as.lsf, as.pcf) ∧ (∀ tid. ¬ tid ∈ tids0 → as.pcf(tid) = bwabspcf(pcf(tid)) ∧ as.lsf(tid) = bwlabsf(lsf(tid))) ↔ as ∈ ass

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ bwlabsf(ls) = mkls(ls.tid, ls.ival, ls.oval, ls.value, ls.optval); (s) ⊦ DurQLInv(gs, ls, pc) ↔ true; (s) ⊦ DurQGInv(gs) ↔ true; (s) ⊦ DurQInv(gs, lsf, pcf) ↔ DurQGInv(gs) ∧ (∀ tid. lsf(tid).tid = tid ∧ DurQLInv(gs, lsf(tid), pcf(tid))); (s)

Proof step 5 from proof imfin-lemma (previous step) (back to tree)

DQGInv(gs), tids0 ⊆ tids, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids0 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass

User applied rule structural induction

And obtained the following new goals

Rule argument

term: tids0

Additional information

Used simplifier rules: tidset generated by ∅, ++;;

Proof step 6 from proof imfin-lemma (previous step) (back to tree)

DQGInv(gs), ∅ ⊆ tids, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)) ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ ∅ → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ a ∈ ∅; (s) ⊦ ∅ ⊆ s; (s)

Proof step 7 from proof imfin-lemma (previous step) (back to tree)

DQGInv(gs), ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass

User applied rule exists right

And obtained the following new goals

Rule argument

pos: right 1 terms: ∅ ++ mkstate (mkdgs(gs.queue), λ tid. bwlabsf(lsf(tid)), λ tid. bwabspcf(pcf(tid))) abort: F discard: T computed: F

Additional information

Used terms: ∅ ++ mkstate(mkdgs(gs.queue), λ tid. bwlabsf(lsf(tid)), λ tid. bwabspcf(pcf(tid)))

Proof step 8 from proof imfin-lemma (previous step) (back to tree)

DQGInv(gs), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)) ⊦ ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ∅ ++ mkstate(mkdgs(gs.queue), λ tid. bwlabsf(lsf(tid)), λ tid. bwabspcf(pcf(tid)))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ a ∈ ∅ ++ b ↔ a = b; (s) ⊦ bwlabsf(ls) = mkls(ls.tid, ls.ival, ls.oval, ls.value, ls.optval); (s)

Proof step 9 from proof imfin-lemma (previous step) (back to tree)

DQGInv(gs), ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs = mkstate(mkdgs(gs.queue), λ tid. mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), λ tid. bwabspcf(pcf(tid)))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkgs, seq: ⊦ queue = gs.queue ↔ gs = mkgs(queue), subst:[gs, queue] → [gs, queue]

Additional information

Used simplifier rules: ⊦ queue = gs.queue ↔ gs = mkgs(queue); (elim) Used terms: gs, queue

Proof step 10 from proof imfin-lemma (previous step) (back to tree)

gs = mkgs(queue), DQGInv(gs), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)) ⊦ bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs = mkstate(mkdgs(queue), λ tid. mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), λ tid. bwabspcf(pcf(tid)))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 11 from proof imfin-lemma (previous step) (back to tree)

DQGInv(mkgs(queue)), ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs = mkstate(mkdgs(queue), λ tid. mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), λ tid. bwabspcf(pcf(tid)))

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: durqs

Additional information

Used simplifier rules: DurQState freely generated by mkstate;;

Proof step 12 from proof imfin-lemma (previous step) (back to tree)

durqs = mkstate(ags, alsf, apcf), DQGInv(mkgs(queue)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)) ⊦ bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs = mkstate(mkdgs(queue), λ tid. mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), λ tid. bwabspcf(pcf(tid)))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 13 from proof imfin-lemma (previous step) (back to tree)

DQGInv(mkgs(queue)), ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)) ∧ (∀ tid. alsf(tid).tid = tid) ∧ (∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ mkstate(ags, alsf, apcf) = mkstate(mkdgs(queue), λ tid. mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), λ tid. bwabspcf(pcf(tid)))

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DurQ[DurQ-ren], name:inj-mkstate, seq:⊦ mkstate(gstate, lsf, pcf) = mkstate(gstate0, lsf0, pcf0) ↔ gstate = gstate0 ∧ lsf = lsf0 ∧ pcf = pcf0, subst:[gstate, pcf0, lsf0, lsf, gstate0, pcf] → [ags, λ tid. bwabspcf(pcf(tid)), λ tid. mkls (lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), alsf, mkdgs(queue), apcf], <all paths>

Additional information

Used terms: ags, λ tid. bwabspcf(pcf(tid)), λ tid. mkls (lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), alsf, mkdgs(queue), apcf

Proof step 14 from proof imfin-lemma (previous step) (back to tree)

⊦ mkstate(gstate, lsf, pcf) = mkstate(gstate0, lsf0, pcf0) ↔ gstate = gstate0 ∧ lsf = lsf0 ∧ pcf = pcf0

A spec-lemma

Proof step 15 from proof imfin-lemma (previous step) (back to tree)

DQGInv(mkgs(queue)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)) ⊦ bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)) ∧ (∀ tid. alsf(tid).tid = tid) ∧ (∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ ags = mkdgs(queue) ∧ alsf = (λ tid. mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ∧ apcf = (λ tid. bwabspcf(pcf(tid)))

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: bwabs, name:bwabs-def, seq:⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ ags = mkdgs(gs.queue) ∧ (∀ tid. alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty), subst:[gs, alsf, lsf, ags, pcf, apcf] → [mkgs(queue), alsf, lsf, ags, pcf, apcf], <all paths>

Additional information

Used terms: mkgs(queue), alsf, lsf, ags, pcf, apcf

Proof step 16 from proof imfin-lemma (previous step) (back to tree)

⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ ags = mkdgs(gs.queue) ∧ (∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty)

A spec-lemma

Proof step 17 from proof imfin-lemma (previous step) (back to tree)

DQGInv(mkgs(queue)), ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ ( ags = mkdgs(mkgs(queue).queue) ∧ (∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty)) ∧ (∀ tid. alsf(tid).tid = tid) ∧ (∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ ags = mkdgs(queue) ∧ alsf = (λ tid. mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ∧ apcf = (λ tid. bwabspcf(pcf(tid)))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkgs(queue).queue = queue; (s)

Proof step 18 from proof imfin-lemma (previous step) (back to tree)

DQGInv(mkgs(queue)), ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ (∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty) ∧ (∀ tid. alsf(tid).tid = tid) ∧ (∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ alsf = (λ tid. mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ∧ apcf = (λ tid. bwabspcf(pcf(tid)))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 19 from proof imfin-lemma (previous step) (back to tree)

DQGInv(mkgs(queue)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid. alsf(tid).tid = tid, ∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ⊦ alsf = (λ tid. mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ∧ apcf = (λ tid. bwabspcf(pcf(tid)))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 20 from proof imfin-lemma (previous step) (back to tree)

DQGInv(mkgs(queue)), ∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ tid. alsf(tid).tid = tid, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val0, val, obsEmpty, lsf(tid), optval, tid1, optval0]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty, lsf(tid), oval, tid1, optval

Proof step 21 from proof imfin-lemma (previous step) (back to tree)

lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), DQGInv(mkgs(queue)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid. alsf(tid).tid = tid, ∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ⊦ alsf(tid) = mkls(tid1, val, optval, val0, optval0) ∧ apcf(tid0) = bwabspcf(pcf(tid0))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 22 from proof imfin-lemma (previous step) (back to tree)

lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), alsf(tid) ≠ mkls(tid1, val, optval, val0, optval0), DQGInv(mkgs(queue)), ∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ tid. alsf(tid).tid = tid, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 5 terms: tid abort: F discard: T computed: F

Additional information

Used terms: tid

Proof step 23 from proof imfin-lemma (previous step) (back to tree)

alsf(tid).tid = tid, lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), alsf(tid) ≠ mkls(tid1, val, optval, val0, optval0), DQGInv(mkgs(queue)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DurQ[DurQ-ren], name:elim-mkls, seq:⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval), subst:[value, ival, oval, tid, optval, ls] → [val2, val1, optval1, tid0, optval2, alsf(tid)]

Additional information

Used simplifier rules: ⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval); (elim) Used terms: value, ival, oval, tid0, optval1, alsf(tid)

Proof step 24 from proof imfin-lemma (previous step) (back to tree)

alsf(tid) = mkls(tid0, val1, optval1, val2, optval2), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), tid0 = tid, alsf(tid) ≠ mkls(tid1, val, optval, val0, optval0), DQGInv(mkgs(queue)), ∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 25 from proof imfin-lemma (previous step) (back to tree)

alsf(tid) = mkls(tid, val1, optval1, val2, optval2), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), mkls(tid, val1, optval1, val2, optval2) ≠ mkls(tid1, val, optval, val0, optval0), DQGInv(mkgs(queue)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 6 terms: tid abort: F discard: T computed: F

Additional information

Used terms: tid

Proof step 26 from proof imfin-lemma (previous step) (back to tree)

lsf(tid).tid = tid, alsf(tid) = mkls(tid, val1, optval1, val2, optval2), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), mkls(tid, val1, optval1, val2, optval2) ≠ mkls(tid1, val, optval, val0, optval0), DQGInv(mkgs(queue)), DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 27 from proof imfin-lemma (previous step) (back to tree)

alsf(tid1) = mkls(tid1, val1, optval1, val2, optval2), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), mkls(tid1, val1, optval1, val2, optval2) ≠ mkls(tid1, val, optval, val0, optval0), DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), ∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦

User applied rule all left

And closed the goal!

Rule argument

pos: left 6 terms: tid1 abort: F discard: T computed: T

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).value = ival0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).optval = oval0; (s) ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) Used terms: tid1

Proof step 28 from proof imfin-lemma (previous step) (back to tree)

lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), apcf(tid0) ≠ bwabspcf(pcf(tid0)), DQGInv(mkgs(queue)), ∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ tid. alsf(tid).tid = tid, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦

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 29 from proof imfin-lemma (previous step) (back to tree)

alsf = (λ tid. mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)), apcf = (λ tid. bwabspcf(pcf(tid))), DQGInv(mkgs(queue)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)) ⊦ (∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty) ∧ (∀ tid. alsf(tid).tid = tid) ∧ (∀ tid. apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 30 from proof imfin-lemma (previous step) (back to tree)

lsf(tid).tid ≠ tid, DQGInv(mkgs(queue)), ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val0, val, obsEmpty, lsf(tid), optval, tid0, optval0]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty, lsf(tid), oval, tid0, optval

Proof step 31 from proof imfin-lemma (previous step) (back to tree)

lsf(tid) = mkls(tid0, obsEmpty, val, optval, val0, optval0), tid0 ≠ tid, DQGInv(mkgs(queue)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)) ⊦

User applied rule all left

And closed the goal!

Rule argument

pos: left 5 terms: tid abort: F discard: T computed: T

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s) Used terms: tid

Proof step 32 from proof imfin-lemma (previous step) (back to tree)

DQGInv(gs), tids1 ++ tid ⊆ tids, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ gs, tids, lsf, pcf. DQGInv(gs) ∧ tids1 ⊆ tids ∧ (∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid))) ∧ (∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq) → (∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass) ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. ¬ tid0 ∈ tids1 ++ tid → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-zero-01: ⊦ s ≠ ∅ → # s ≠ 0; (forward) from specification set-basic[tidset] ne-01: ⊦ a ∈ s → s ≠ ∅; (forward) from specification set-basic[tidset] ⊦ a ∈ s ++ b ↔ a = b ∨ a ∈ s; (s) ⊦ s ++ a ⊆ s0 ↔ s ⊆ s0 ∧ a ∈ s0; (ws)

Proof step 33 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ gs, tids, lsf, pcf. DQGInv(gs) ∧ tids1 ⊆ tids ∧ (∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid))) ∧ (∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq) → (∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass) ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 8 terms: gs, tids, lsf, pcf abort: F discard: T computed: T

Additional information

Used terms: gs, tids, lsf, pcf

Proof step 34 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, DQGInv(gs) ∧ tids1 ⊆ tids ∧ (∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid))) ∧ (∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq) → (∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass), ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 35 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: tid ∈ tids1

Additional information

Used formulas: tid ∈ tids1

Proof step 36 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tid ∈ tids1, tids1 ⊆ tids, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-zero-01: ⊦ s ≠ ∅ → # s ≠ 0; (forward) from specification set-basic[tidset] ne-01: ⊦ a ∈ s → s ≠ ∅; (forward) from specification set-basic[tidset] sub-in: ⊦ a ∈ s ∧ s ⊆ s0 → a ∈ s0; (forward) from specification set-basic[tidset]

Proof step 37 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, # tids1 ≠ 0, tids ≠ ∅, tids1 ≠ ∅, DQGInv(gs), tid ∈ tids, tid ∈ tids1, tids1 ⊆ tids, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ ∃ ass0. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass0

User applied rule exists right

And obtained the following new goals

Rule argument

pos: right 1 terms: ass abort: F discard: T computed: T

Additional information

Used terms: ass

Proof step 38 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, # tids1 ≠ 0, tids ≠ ∅, tids1 ≠ ∅, DQGInv(gs), tid ∈ tids1, tid ∈ tids, tids1 ⊆ tids, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 39 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, # tids1 ≠ 0, tids ≠ ∅, tids1 ≠ ∅, DQGInv(gs), tid ∈ tids, tid ∈ tids1, tids1 ⊆ tids, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass

User applied rule all left

And closed the goal!

Rule argument

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

Additional information

Used terms: durqs

Proof step 40 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 41 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:imfin-lemma-aux, seq:⊦ ∃ ass0. ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)) .lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty) ;as )), subst:[ass, pcf, tid, lsf] → [ass, pcf, tid, lsf]

Additional information

Used terms: ass, pcf, tid, lsf

Proof step 42 from proof imfin-lemma (previous step) (back to tree)

⊦ ∃ ass0. ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as))

Lemma imfin-lemma-aux

Proof step 43 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∃ ass0. ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)) ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 44 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ ∃ ass. ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass

User applied rule exists right

And obtained the following new goals

Rule argument

pos: right 1 terms: ass ∪ ass0 abort: F discard: T computed: F

Additional information

Used terms: ass ∪ ass0

Proof step 45 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)) ⊦ ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass ∪ ass0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 46 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass ∪ ass0

User applied rule constructor cut

And obtained the following new goals

Rule argument

var: durqs

Additional information

Used simplifier rules: DurQState freely generated by mkstate;;

Proof step 47 from proof imfin-lemma (previous step) (back to tree)

durqs = mkstate(ags, alsf, apcf), # tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)) ⊦ bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → durqs.pcf(tid0) = bwabspcf(pcf(tid0)) ∧ durqs.lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ durqs ∈ ass ∪ ass0

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

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

Proof step 48 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ (∀ tid0. alsf(tid0).tid = tid0) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ mkstate(ags, alsf, apcf) ∈ ass ∪ ass0

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 49 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass ∪ ass0, ¬ tid ∈ tids1, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: unc: ⊦ s ∪ s0 = s0 ∪ s; from specification set-union[DQ-refines-DurQ-instance-astateset-stateset] una: ⊦ (s ∪ s0) ∪ s1 = s ∪ s0 ∪ s1; from specification set-union[DQ-refines-DurQ-instance-astateset-stateset] ⊦ a ∈ s ∪ s0 ↔ ¬(¬ a ∈ s ∧ ¬ a ∈ s0); (ss)

Proof step 50 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 15 terms: mkstate (ags, alsf(tid; alsf(tid).oval:= lsf(tid).oval), apcf(tid; invDeq)) abort: F discard: F computed: F

Additional information

Used terms: mkstate(ags, alsf(tid; alsf(tid).oval:= lsf(tid).oval), apcf(tid; invDeq))

Proof step 51 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf(tid; alsf(tid).oval:= lsf(tid).oval), apcf(tid; invDeq))) ∧ (∀ tid0. mkstate(ags, alsf(tid; alsf(tid).oval:= lsf(tid).oval), apcf(tid; invDeq)).lsf(tid0).tid = tid0) ∧ (∀ tid0. ¬ tid0 ∈ tids1 → mkstate(ags, alsf(tid; alsf(tid).oval:= lsf(tid).oval), apcf(tid; invDeq)).pcf(tid0) = bwabspcf(pcf(tid0)) ∧ mkstate(ags, alsf(tid; alsf(tid).oval:= lsf(tid).oval), apcf(tid; invDeq)).lsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ mkstate(ags, alsf(tid; alsf(tid).oval:= lsf(tid).oval), apcf(tid; invDeq)) ∈ ass, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s) ⊦ invDeq ≠ resDeq; (s) ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) → ( bwabs(mkstate(gs0, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)) ↔ ags = mkdgs(gs.queue) → ags0 = mkdgs(gs0.queue) ∧ (∀ tid. alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty → alsf0(tid) = mkls (lsf0(tid).tid, lsf0(tid).ival, lsf0(tid).oval, lsf0(tid).value, lsf0(tid).optval) ∧ apcf0(tid) = bwabspcf(pcf0(tid)) ∨ alsf0(tid) = mkls (lsf0(tid).tid, lsf0(tid).ival, Empty, lsf0(tid).value, lsf0(tid).optval) ∧ pcf0(tid) = invDeq ∧ apcf0(tid) = resDeq ∧ lsf0(tid).obsEmpty)); (s)

Proof step 52 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ( ags = mkdgs(gs.queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty)) ∧ (∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0) ∧ (∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ mkstate(ags, alsf(tid; alsf(tid).oval:= lsf(tid).oval), apcf(tid; invDeq)) ∈ ass, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkgs, seq: ⊦ queue = gs.queue ↔ gs = mkgs(queue), subst:[gs, queue] → [gs, queue]

Additional information

Used simplifier rules: ⊦ queue = gs.queue ↔ gs = mkgs(queue); (elim) Used terms: gs, queue

Proof step 53 from proof imfin-lemma (previous step) (back to tree)

gs = mkgs(queue), # tids ≠ 0, tids ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ( ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty)) ∧ (∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0) ∧ (∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ mkstate(ags, alsf(tid; alsf(tid).oval:= lsf(tid).oval), apcf(tid; invDeq)) ∈ ass, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 54 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ( ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty)) ∧ (∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0) ∧ (∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ mkstate(ags, alsf(tid; alsf(tid).oval:= lsf(tid).oval), apcf(tid; invDeq)) ∈ ass, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val0, val, obsEmpty, lsf(tid), optval, tid1, optval0]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty, lsf(tid), oval, tid0, optval

Proof step 55 from proof imfin-lemma (previous step) (back to tree)

lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ( ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty)) ∧ (∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0) ∧ (∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval)) ↔ mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 11

Additional information

Proof step 56 from proof imfin-lemma (previous step) (back to tree)

lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ ( ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty)) ∧ (∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0) ∧ (∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 57 from proof imfin-lemma (previous step) (back to tree)

lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ ( ags = mkdgs(queue) → alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty) ∧ (tid = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)).tid = tid2 ∧ ( ¬ tid3 ∈ tids1 → (tid = tid3 ⊃ invDeq;apcf(tid3)) = bwabspcf(pcf(tid3)) ∧ (tid = tid3 ⊃ alsf(tid3).oval:= lsf(tid3).oval;alsf(tid3)) = mkls(lsf(tid3).tid, lsf(tid3).ival, lsf(tid3).oval, lsf(tid3).value, lsf(tid3).optval))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DurQ[DurQ-ren], name:elim-mkls, seq:⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval), subst:[value, ival, oval, tid, optval, ls] → [val2, val1, optval1, tid4, optval2, (tid = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2))]

Additional information

Used simplifier rules: ⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval); (elim) Used terms: value, ival, oval, tid4, optval1, (tid = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2))

Proof step 58 from proof imfin-lemma (previous step) (back to tree)

(tid = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ ( ags = mkdgs(queue) → alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty) ∧ tid4 = tid2 ∧ ( ¬ tid3 ∈ tids1 → (tid = tid3 ⊃ invDeq;apcf(tid3)) = bwabspcf(pcf(tid3)) ∧ (tid = tid3 ⊃ alsf(tid3).oval:= lsf(tid3).oval;alsf(tid3)) = mkls(lsf(tid3).tid, lsf(tid3).ival, lsf(tid3).oval, lsf(tid3).value, lsf(tid3).optval))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val4, val3, obsEmpty0, lsf(tid0), optval3, tid5, optval4]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, lsf(tid0), oval, tid5, optval3

Proof step 59 from proof imfin-lemma (previous step) (back to tree)

(tid = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ ( ags = mkdgs(queue) → alsf(tid0) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid = tid0 ⊃ alsf(tid0).oval:= optval3;alsf(tid0)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid3 ∈ tids1 → (tid = tid3 ⊃ invDeq;apcf(tid3)) = bwabspcf(pcf(tid3)) ∧ (tid = tid3 ⊃ alsf(tid3).oval:= lsf(tid3).oval;alsf(tid3)) = mkls(lsf(tid3).tid, lsf(tid3).ival, lsf(tid3).oval, lsf(tid3).value, lsf(tid3).optval))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val6, val5, obsEmpty1, lsf(tid3), optval5, tid6, optval6]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty1, lsf(tid3), oval, tid6, optval5

Proof step 60 from proof imfin-lemma (previous step) (back to tree)

(tid = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid3) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ ( ags = mkdgs(queue) → alsf(tid0) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid = tid0 ⊃ alsf(tid0).oval:= optval3;alsf(tid0)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid3 ∈ tids1 → (tid = tid3 ⊃ invDeq;apcf(tid3)) = bwabspcf(pcf(tid3)) ∧ (tid = tid3 ⊃ alsf(tid3).oval:= optval5;alsf(tid3)) = mkls(tid6, val5, optval5, val6, optval6))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 19 terms: tid3 abort: F discard: F computed: F

Additional information

Used terms: tid3

Proof step 61 from proof imfin-lemma (previous step) (back to tree)

lsf(tid3).tid = tid3, (tid = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), lsf(tid3) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), lsf(tid3), pcf(tid3)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ ( ags = mkdgs(queue) → alsf(tid0) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid = tid0 ⊃ alsf(tid0).oval:= optval3;alsf(tid0)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid3 ∈ tids1 → (tid = tid3 ⊃ invDeq;apcf(tid3)) = bwabspcf(pcf(tid3)) ∧ (tid = tid3 ⊃ alsf(tid3).oval:= optval5;alsf(tid3)) = mkls(tid6, val5, optval5, val6, optval6))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 62 from proof imfin-lemma (previous step) (back to tree)

(tid = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ ( ags = mkdgs(queue) → alsf(tid0) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid = tid0 ⊃ alsf(tid0).oval:= optval3;alsf(tid0)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 17 terms: tid abort: F discard: F computed: F

Additional information

Used terms: tid

Proof step 63 from proof imfin-lemma (previous step) (back to tree)

lsf(tid).tid = tid, (tid = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), lsf(tid), pcf(tid)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ ( ags = mkdgs(queue) → alsf(tid0) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid = tid0 ⊃ alsf(tid0).oval:= optval3;alsf(tid0)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 64 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ¬ tid1 ∈ tids1, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)) ⊦ ( ags = mkdgs(queue) → alsf(tid0) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid1 = tid0 ⊃ alsf(tid0).oval:= optval3;alsf(tid0)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: bwabs, name:bwabs-def, seq:⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ ags = mkdgs(gs.queue) ∧ (∀ tid. alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty), subst:[gs, alsf, lsf, ags, pcf, apcf] → [mkgs(queue), alsf, lsf, ags, pcf, apcf], <all paths>

Additional information

Used terms: mkgs(queue), alsf, lsf, ags, pcf, apcf

Proof step 65 from proof imfin-lemma (previous step) (back to tree)

⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ ags = mkdgs(gs.queue) ∧ (∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty)

A spec-lemma

Proof step 66 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), ags = mkdgs(mkgs(queue).queue), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ¬ tid1 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ ( ags = mkdgs(queue) → alsf(tid0) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid1 = tid0 ⊃ alsf(tid0).oval:= optval3;alsf(tid0)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkdgs(queue) = mkdgs(queue0) ↔ queue = queue0; (s) ⊦ mkgs(queue).queue = queue; (s)

Proof step 67 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)) ⊦ ( alsf(tid0) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid1 = tid0 ⊃ alsf(tid0).oval:= optval3;alsf(tid0)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 17 terms: tid0 abort: F discard: F computed: F

Additional information

Used terms: tid0

Proof step 68 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0).tid = tid0, (tid1 = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ ( alsf(tid0) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid1 = tid0 ⊃ alsf(tid0).oval:= optval3;alsf(tid0)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DurQ[DurQ-ren], name:elim-mkls, seq:⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval), subst:[value, ival, oval, tid, optval, ls] → [val8, val7, optval7, tid3, optval8, alsf(tid0)]

Additional information

Used simplifier rules: ⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval); (elim) Used terms: value, ival, oval, tid, optval7, alsf(tid0)

Proof step 69 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid0) = mkls(tid3, val7, optval7, val8, optval8), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), tid3 = tid0, # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)) ⊦ ( alsf(tid0) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid1 = tid0 ⊃ alsf(tid0).oval:= optval3;alsf(tid0)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s)

Proof step 70 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid0) = mkls(tid0, val7, optval7, val8, optval8), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)) ⊦ ( mkls(tid0, val7, optval7, val8, optval8) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ mkls(tid0, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid1 = tid0 ⊃ mkls(tid0, val7, optval3, val8, optval8);mkls(tid0, val7, optval7, val8, optval8)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ mkls(tid0, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 20 terms: tid0 abort: F discard: F computed: F

Additional information

Used terms: tid0

Proof step 71 from proof imfin-lemma (previous step) (back to tree)

lsf(tid0).tid = tid0, (tid1 = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid0) = mkls(tid0, val7, optval7, val8, optval8), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid0) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), lsf(tid0), pcf(tid0)), tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ ( mkls(tid0, val7, optval7, val8, optval8) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ mkls(tid0, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ obsEmpty0 → (tid1 = tid0 ⊃ mkls(tid0, val7, optval3, val8, optval8);mkls(tid0, val7, optval7, val8, optval8)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ mkls(tid0, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 72 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ ( mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid5) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf(tid5) = resDeq ∧ obsEmpty0 → (tid1 = tid5 ⊃ mkls(tid5, val7, optval3, val8, optval8);mkls(tid5, val7, optval7, val8, optval8)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid5 ⊃ invDeq;apcf(tid5)) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ tid1 ≠ tid5 ∧ resDeq = apcf(tid5) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 24 terms: tid2 abort: F discard: F computed: F

Additional information

Used terms: tid2

Proof step 73 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), alsf(tid2) = mkls(lsf(tid2).tid, lsf(tid2).ival, lsf(tid2).oval, lsf(tid2).value, lsf(tid2).optval) ∧ apcf(tid2) = bwabspcf(pcf(tid2)) ∨ alsf(tid2) = mkls(lsf(tid2).tid, lsf(tid2).ival, Empty, lsf(tid2).value, lsf(tid2).optval) ∧ pcf(tid2) = invDeq ∧ apcf(tid2) = resDeq ∧ lsf(tid2).obsEmpty ⊦ ( mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid5) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf(tid5) = resDeq ∧ obsEmpty0 → (tid1 = tid5 ⊃ mkls(tid5, val7, optval3, val8, optval8);mkls(tid5, val7, optval7, val8, optval8)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid5 ⊃ invDeq;apcf(tid5)) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ tid1 ≠ tid5 ∧ resDeq = apcf(tid5) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val10, val9, obsEmpty2, lsf(tid2), optval9, tid3, optval10]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty2, lsf(tid2), oval, tid, optval9

Proof step 74 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid2 ⊃ alsf(tid2).oval:= optval9;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid2) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, alsf(tid2) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid2) = bwabspcf(pcf(tid2)) ∨ alsf(tid2) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid2) = invDeq ∧ apcf(tid2) = resDeq ∧ obsEmpty2 ⊦ ( mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid5) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf(tid5) = resDeq ∧ obsEmpty0 → (tid1 = tid5 ⊃ mkls(tid5, val7, optval3, val8, optval8);mkls(tid5, val7, optval7, val8, optval8)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid5 ⊃ invDeq;apcf(tid5)) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ tid1 ≠ tid5 ∧ resDeq = apcf(tid5) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 22 terms: tid2 abort: F discard: F computed: T

Additional information

Used terms: tid2

Proof step 75 from proof imfin-lemma (previous step) (back to tree)

lsf(tid2).tid = tid2, (tid1 = tid2 ⊃ alsf(tid2).oval:= optval9;alsf(tid2)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid2) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), lsf(tid2), pcf(tid2)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), alsf(tid2) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid2) = bwabspcf(pcf(tid2)) ∨ alsf(tid2) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid2) = invDeq ∧ apcf(tid2) = resDeq ∧ obsEmpty2 ⊦ ( mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid5) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf(tid5) = resDeq ∧ obsEmpty0 → (tid1 = tid5 ⊃ mkls(tid5, val7, optval3, val8, optval8);mkls(tid5, val7, optval7, val8, optval8)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid5 ⊃ invDeq;apcf(tid5)) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ tid1 ≠ tid5 ∧ resDeq = apcf(tid5) ∧ obsEmpty0) ∧ tid4 = tid2 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 76 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid3 ⊃ alsf(tid3).oval:= optval9;alsf(tid3)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦ ( mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid5) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf(tid5) = resDeq ∧ obsEmpty0 → (tid1 = tid5 ⊃ mkls(tid5, val7, optval3, val8, optval8);mkls(tid5, val7, optval7, val8, optval8)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid5 ⊃ invDeq;apcf(tid5)) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ tid1 ≠ tid5 ∧ resDeq = apcf(tid5) ∧ obsEmpty0) ∧ tid4 = tid3 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 25 terms: tid6 abort: F discard: F computed: T

Additional information

Used terms: tid6

Proof step 77 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid3 ⊃ alsf(tid3).oval:= optval9;alsf(tid3)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, tid6 ≠ tid1 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(lsf(tid6).tid, lsf(tid6).ival, lsf(tid6).oval, lsf(tid6).value, lsf(tid6).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦ ( mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid5) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf(tid5) = resDeq ∧ obsEmpty0 → (tid1 = tid5 ⊃ mkls(tid5, val7, optval3, val8, optval8);mkls(tid5, val7, optval7, val8, optval8)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid5 ⊃ invDeq;apcf(tid5)) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ tid1 ≠ tid5 ∧ resDeq = apcf(tid5) ∧ obsEmpty0) ∧ tid4 = tid3 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).optval = oval0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).value = ival0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 78 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid3 ⊃ alsf(tid3).oval:= optval9;alsf(tid3)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦ ( mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid5) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf(tid5) = resDeq ∧ obsEmpty0 → (tid1 = tid5 ⊃ mkls(tid5, val7, optval3, val8, optval8);mkls(tid5, val7, optval7, val8, optval8)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid5 ⊃ invDeq;apcf(tid5)) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ tid1 ≠ tid5 ∧ resDeq = apcf(tid5) ∧ obsEmpty0) ∧ tid4 = tid3 ∧ ( ¬ tid6 ∈ tids1 → (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 79 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid3 ⊃ alsf(tid3).oval:= optval9;alsf(tid3)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf(tid5) = bwabspcf(pcf(tid5)) ∨ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf(tid5) = resDeq ∧ obsEmpty0, alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦ (tid1 = tid5 ⊃ mkls(tid5, val7, optval3, val8, optval8);mkls(tid5, val7, optval7, val8, optval8)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid5 ⊃ invDeq;apcf(tid5)) = bwabspcf(pcf(tid5)), mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ tid1 ≠ tid5 ∧ resDeq = apcf(tid5) ∧ obsEmpty0

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 28

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) ⊦ bwabspcf(invDeq) = invDeq; (s)

Proof step 80 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid3 ⊃ alsf(tid3).oval:= optval9;alsf(tid3)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid5) = bwabspcf(pcf(tid5)), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, optval3, val4, optval4), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦ mkls(tid5, val7, optval7, val8, optval8) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ tid1 ≠ tid5 ∧ resDeq = apcf(tid5) ∧ obsEmpty0, (tid1 = tid5 ⊃ mkls(tid5, val7, optval3, val8, optval8);mkls(tid5, val7, optval7, val8, optval8)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid1 = tid5 ⊃ invDeq;apcf(tid5)) = bwabspcf(pcf(tid5))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0) = mkls(tid0, obsEmpty0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ (obsEmpty ↔ obsEmpty0) ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 81 from proof imfin-lemma (previous step) (back to tree)

(tid5 = tid3 ⊃ alsf(tid3).oval:= optval9;alsf(tid3)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val3, optval3, val4, optval4), apcf(tid5) = bwabspcf(pcf(tid5)), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), # tids ≠ 0, invDeq ≠ apcf(tid5), tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid5 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid5; mkls(tid5, val3, optval3, val4, optval4)), apcf(tid5; invDeq)) ∈ ass, ¬ tid5 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, tid6 ≠ tid5 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid5 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid5) = invDeq ∧ obsEmpty0 ⊃ (as.pcf:= as.pcf(tid5; resDeq)).lsf:= as.lsf(tid5; as.lsf(tid5).oval:= Empty);as)), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 82 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3).oval:= optval9 = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val3, optval3, val4, optval4), apcf(tid5) = bwabspcf(pcf(tid5)), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), tid5 = tid3, # tids ≠ 0, invDeq ≠ apcf(tid5), tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), tid5 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid5; mkls(tid5, val3, optval3, val4, optval4)), apcf(tid5; invDeq)) ∈ ass, ¬ tid5 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, tid6 ≠ tid5 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid5) = invDeq ∧ obsEmpty0 ⊃ (as.pcf:= as.pcf(tid5; resDeq)).lsf:= as.lsf(tid5; as.lsf(tid5).oval:= Empty);as)), ∀ tid. tid ≠ tid5 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0) = mkls(tid0, obsEmpty0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ (obsEmpty ↔ obsEmpty0) ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s)

Proof step 83 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val3, optval3, val4, optval4), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, invDeq ≠ apcf(tid3), tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty0, val3, optval3, val4, optval4), pcf(tid3)), tid3 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid3; mkls(tid3, val3, optval3, val4, optval4)), apcf(tid3; invDeq)) ∈ ass, ¬ tid3 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, tid6 ≠ tid3 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid3 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid3) = invDeq ∧ obsEmpty0 ⊃ (as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty);as)) ⊦

User applied rule all left

And closed the goal!

Rule argument

pos: left 20 terms: tid3 abort: F discard: F computed: T

Additional information

Used simplifier rules: ⊦ bwabspcf(invDeq) = invDeq; (s) Used terms: tid3

Proof step 84 from proof imfin-lemma (previous step) (back to tree)

alsf(tid5) = mkls(tid5, val3, optval3, val4, optval4), alsf(tid3) = mkls(tid4, val1, optval1, val2, optval2), apcf(tid5) = bwabspcf(pcf(tid5)), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, invDeq ≠ apcf(tid5), tid5 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), tid5 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid5; mkls(tid5, val3, optval3, val4, optval4)), apcf(tid5; invDeq)) ∈ ass, ¬ tid5 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, tid6 ≠ tid5 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid5) = invDeq ∧ obsEmpty0 ⊃ (as.pcf:= as.pcf(tid5; resDeq)).lsf:= as.lsf(tid5; as.lsf(tid5).oval:= Empty);as)), ∀ tid. tid ≠ tid5 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 85 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val3, optval3, val4, optval4), apcf(tid5) = bwabspcf(pcf(tid5)), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), # tids ≠ 0, invDeq ≠ apcf(tid5), tid5 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid5 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid5; mkls(tid5, val3, optval3, val4, optval4)), apcf(tid5; invDeq)) ∈ ass, ¬ tid5 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, tid6 ≠ tid5 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid5 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid5) = invDeq ∧ obsEmpty0 ⊃ (as.pcf:= as.pcf(tid5; resDeq)).lsf:= as.lsf(tid5; as.lsf(tid5).oval:= Empty);as)), mkls(tid4, val1, optval1, val2, optval2) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ mkls(tid4, val1, optval1, val2, optval2) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦

User applied rule all left

And closed the goal!

Rule argument

pos: left 24 terms: tid5 abort: F discard: F computed: T

Additional information

Used simplifier rules: ⊦ bwabspcf(invDeq) = invDeq; (s) Used terms: tid5

Proof step 86 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid3 ⊃ alsf(tid3).oval:= optval9;alsf(tid3)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), # tids ≠ 0, tid4 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 87 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3).oval:= optval9 = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), tid1 = tid3, # tids ≠ 0, tid4 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0) = mkls(tid0, obsEmpty0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ (obsEmpty ↔ obsEmpty0) ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 88 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3).oval:= optval = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, tid4 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty, val, optval, val0, optval0), pcf(tid3)), tid3 ∈ tids, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid3; mkls(tid4, val1, optval1, val2, optval2)), apcf(tid3; invDeq)) ∈ ass, tid6 ≠ tid3 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid3 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid3) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty);as)), alsf(tid3) = mkls(tid3, val, optval, val0, optval0) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val, Empty, val0, optval0) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 27

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s) ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 89 from proof imfin-lemma (previous step) (back to tree)

alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid4, val1, optval1, val2, optval2), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, tid1 ≠ tid3, tid4 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 90 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), # tids ≠ 0, tid1 ≠ tid3, tid4 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), mkls(tid4, val1, optval1, val2, optval2) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ mkls(tid4, val1, optval1, val2, optval2) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 30

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 91 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid3 ⊃ alsf(tid3).oval:= optval9;alsf(tid3)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 ∧ ¬ tid6 ∈ tids1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦ (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 92 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid3 ⊃ alsf(tid3).oval:= optval9;alsf(tid3)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10) ∧ apcf(tid3) = bwabspcf(pcf(tid3)) ∨ alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10) ∧ pcf(tid3) = invDeq ∧ apcf(tid3) = resDeq ∧ obsEmpty2 ⊦ (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 29

Additional information

Proof step 93 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid3 ⊃ alsf(tid3).oval:= optval9;alsf(tid3)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)) ⊦ (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s)

Proof step 94 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: tid1 = tid6

Additional information

Used formulas: tid1 = tid6

Proof step 95 from proof imfin-lemma (previous step) (back to tree)

alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), tid1 = tid6, # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)) ⊦ (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0) = mkls(tid0, obsEmpty0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ (obsEmpty ↔ obsEmpty0) ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 96 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid6 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid6; alsf(tid6).oval:= optval5), apcf(tid6; invDeq)) ∈ ass, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid6) = invDeq ∧ obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)), ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ invDeq = bwabspcf(pcf(tid6)) ∧ alsf(tid6).oval:= optval5 = mkls(tid6, val5, optval5, val6, optval6)

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 23 terms: tid6 abort: F discard: F computed: T

Additional information

Used terms: tid6

Proof step 97 from proof imfin-lemma (previous step) (back to tree)

tid6 ∈ tids ↔ pcf(tid6) = invDeq, alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid6 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid6; alsf(tid6).oval:= optval5), apcf(tid6; invDeq)) ∈ ass, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid6) = invDeq ∧ obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)) ⊦ invDeq = bwabspcf(pcf(tid6)) ∧ alsf(tid6).oval:= optval5 = mkls(tid6, val5, optval5, val6, optval6)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ bwabspcf(invDeq) = invDeq; (s)

Proof step 98 from proof imfin-lemma (previous step) (back to tree)

alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6) = invDeq, # tids ≠ 0, alsf(tid6).oval:= optval5 ≠ mkls(tid6, val5, optval5, val6, optval6), tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), invDeq), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid6 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid6; alsf(tid6).oval:= optval5), apcf(tid6; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid6 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 23 terms: tid6 abort: F discard: F computed: F

Additional information

Used terms: tid6

Proof step 99 from proof imfin-lemma (previous step) (back to tree)

alsf(tid6).tid = tid6, alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid6) = invDeq, # tids ≠ 0, alsf(tid6).oval:= optval5 ≠ mkls(tid6, val5, optval5, val6, optval6), tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid6 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid6; alsf(tid6).oval:= optval5), apcf(tid6; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid6 ∈ tids1, ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DurQ[DurQ-ren], name:elim-mkls, seq:⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval), subst:[value, ival, oval, tid, optval, ls] → [val0, val, optval, tid1, optval0, alsf(tid6)]

Additional information

Used simplifier rules: ⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval); (elim) Used terms: value, ival, oval, tid, optval, alsf(tid6)

Proof step 100 from proof imfin-lemma (previous step) (back to tree)

alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10), alsf(tid6) = mkls(tid1, val, optval, val0, optval0), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6) = invDeq, tid1 = tid6, # tids ≠ 0, alsf(tid6).oval:= optval5 ≠ mkls(tid6, val5, optval5, val6, optval6), tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), invDeq), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid6 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid6; alsf(tid6).oval:= optval5), apcf(tid6; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid6 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s)

Proof step 101 from proof imfin-lemma (previous step) (back to tree)

alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10), alsf(tid6) = mkls(tid6, val, optval, val0, optval0), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6) = invDeq, # tids ≠ 0, mkls(tid6, val, optval5, val0, optval0) ≠ mkls(tid6, val5, optval5, val6, optval6), tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), invDeq), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid6 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid6; mkls(tid6, val, optval5, val0, optval0)), apcf(tid6; invDeq)) ∈ ass, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 23 terms: tid6 abort: F discard: F computed: F

Additional information

Used terms: tid6

Proof step 102 from proof imfin-lemma (previous step) (back to tree)

alsf(tid6) = mkls(tid6, val, optval, val0, optval0), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid6) = invDeq, # tids ≠ 0, mkls(tid6, val, optval5, val0, optval0) ≠ mkls(tid6, val5, optval5, val6, optval6), tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid6 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid6; mkls(tid6, val, optval5, val0, optval0)), apcf(tid6; invDeq)) ∈ ass, ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)), alsf(tid6) = mkls(lsf(tid6).tid, lsf(tid6).ival, lsf(tid6).oval, lsf(tid6).value, lsf(tid6).optval) ∧ apcf(tid6) = bwabspcf(pcf(tid6)) ∨ alsf(tid6) = mkls(lsf(tid6).tid, lsf(tid6).ival, Empty, lsf(tid6).value, lsf(tid6).optval) ∧ pcf(tid6) = invDeq ∧ apcf(tid6) = resDeq ∧ lsf(tid6).obsEmpty ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).obsEmpty ↔ obsEmpty; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).optval = oval0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).value = ival0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s) ⊦ bwabspcf(invDeq) = invDeq; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s)

Proof step 103 from proof imfin-lemma (previous step) (back to tree)

alsf(tid6) = mkls(tid6, val, optval, val0, optval0), alsf(tid3) = mkls(tid3, val9, optval9, val10, optval10), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid3) = bwabspcf(pcf(tid3)), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid6) = invDeq, # tids ≠ 0, mkls(tid6, val, optval5, val0, optval0) ≠ mkls(tid6, val5, optval5, val6, optval6), tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid6 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid6; mkls(tid6, val, optval5, val0, optval0)), apcf(tid6; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid6 ∈ tids1, ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)), mkls(tid6, val, optval, val0, optval0) = mkls(tid6, val5, optval5, val6, optval6) ∧ apcf(tid6) = invDeq ∨ mkls(tid6, val, optval, val0, optval0) = mkls(tid6, val5, Empty, val6, optval6) ∧ apcf(tid6) = resDeq ∧ obsEmpty1 ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 29

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 104 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid3 ⊃ alsf(tid3).oval:= optval9;alsf(tid3)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10), apcf(tid3) = resDeq, lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), obsEmpty2, pcf(tid3) = invDeq, # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid3, obsEmpty2, val9, optval9, val10, optval10), pcf(tid3)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)) ⊦ (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s)

Proof step 105 from proof imfin-lemma (previous step) (back to tree)

(tid1 = tid3 ⊃ mkls(tid3, val9, optval9, val10, optval10);mkls(tid3, val9, Empty, val10, optval10)) = mkls(tid4, val1, optval1, val2, optval2), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10), apcf(tid3) = resDeq, lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, true, val9, optval9, val10, optval10), pcf(tid3) = invDeq, # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid3, true, val9, optval9, val10, optval10), invDeq), tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ¬ tid6 ∈ tids1, tid6 ≠ tid1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)) ⊦ (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 106 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid3) = resDeq, lsf(tid3) = mkls(tid3, true, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), mkls(tid3, val9, optval9, val10, optval10) = mkls(tid4, val1, optval1, val2, optval2), pcf(tid3) = invDeq, tid1 = tid3, # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val9, optval9, val10, optval10), invDeq), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ¬ tid6 ∈ tids1, tid6 ≠ tid1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0) = mkls(tid0, obsEmpty0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ (obsEmpty ↔ obsEmpty0) ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 107 from proof imfin-lemma (previous step) (back to tree)

alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val, Empty, val0, optval0), apcf(tid3) = resDeq, lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, true, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid3) = invDeq, # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid3, true, val, optval, val0, optval0), invDeq), tid3 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid3; mkls(tid3, val, optval, val0, optval0)), apcf(tid3; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid3 ∈ tids1, ¬ tid6 ∈ tids1, tid6 ≠ tid3 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid3 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))) ⊦ (tid3 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid3 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

User applied rule cut formula

And closed the goal!

Rule argument

fma: tid3 = tid6

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0) = mkls(tid0, obsEmpty0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ (obsEmpty ↔ obsEmpty0) ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) ⊦ bwabspcf(invDeq) = invDeq; (s) ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s) ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) Used formulas: tid3 = tid6

Proof step 108 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid3) = resDeq, lsf(tid3) = mkls(tid3, true, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), mkls(tid3, val9, Empty, val10, optval10) = mkls(tid4, val1, optval1, val2, optval2), pcf(tid3) = invDeq, # tids ≠ 0, tid1 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val9, optval9, val10, optval10), invDeq), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ¬ tid6 ∈ tids1, tid6 ≠ tid1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 109 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid3) = resDeq, lsf(tid3) = mkls(tid3, true, val9, optval9, val10, optval10), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid3) = invDeq, # tids ≠ 0, tid1 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val9, optval9, val10, optval10), invDeq), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)), ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: tid1 = tid6

Additional information

Used formulas: tid1 = tid6

Proof step 110 from proof imfin-lemma (previous step) (back to tree)

alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10), apcf(tid3) = resDeq, lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid1) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, true, val9, optval9, val10, optval10), pcf(tid3) = invDeq, tid1 = tid6, # tids ≠ 0, tid1 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid1, obsEmpty, val, optval, val0, optval0), pcf(tid1)), DQLInv(mkgs(queue), mkls(tid3, true, val9, optval9, val10, optval10), invDeq), tid1 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ tid1 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid1; alsf(tid1).oval:= optval), apcf(tid1; invDeq)) ∈ ass, tid6 ≠ tid1 → apcf(tid6) = bwabspcf(pcf(tid6)) ∧ alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid1 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid1) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty);as)) ⊦ (tid1 = tid6 ⊃ invDeq;apcf(tid6)) = bwabspcf(pcf(tid6)) ∧ (tid1 = tid6 ⊃ alsf(tid6).oval:= optval5;alsf(tid6)) = mkls(tid6, val5, optval5, val6, optval6)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0) = mkls(tid0, obsEmpty0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ (obsEmpty ↔ obsEmpty0) ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 111 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid3) = resDeq, lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, true, val9, optval9, val10, optval10), pcf(tid3) = invDeq, # tids ≠ 0, tid6 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val9, optval9, val10, optval10), invDeq), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid6 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid6; alsf(tid6).oval:= optval5), apcf(tid6; invDeq)) ∈ ass, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid6) = invDeq ∧ obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)), ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ invDeq = bwabspcf(pcf(tid6)) ∧ alsf(tid6).oval:= optval5 = mkls(tid6, val5, optval5, val6, optval6)

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 25 terms: tid6 abort: F discard: F computed: T

Additional information

Used terms: tid6

Proof step 112 from proof imfin-lemma (previous step) (back to tree)

tid6 ∈ tids ↔ pcf(tid6) = invDeq, alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10), apcf(tid3) = resDeq, lsf(tid3) = mkls(tid3, true, val9, optval9, val10, optval10), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid3) = invDeq, # tids ≠ 0, tid6 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6)), DQLInv(mkgs(queue), mkls(tid3, true, val9, optval9, val10, optval10), invDeq), tid6 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid6; alsf(tid6).oval:= optval5), apcf(tid6; invDeq)) ∈ ass, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid6) = invDeq ∧ obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)) ⊦ invDeq = bwabspcf(pcf(tid6)) ∧ alsf(tid6).oval:= optval5 = mkls(tid6, val5, optval5, val6, optval6)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ bwabspcf(invDeq) = invDeq; (s)

Proof step 113 from proof imfin-lemma (previous step) (back to tree)

alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10), apcf(tid3) = resDeq, lsf(tid3) = mkls(tid3, true, val9, optval9, val10, optval10), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), pcf(tid6) = invDeq, pcf(tid3) = invDeq, # tids ≠ 0, alsf(tid6).oval:= optval5 ≠ mkls(tid6, val5, optval5, val6, optval6), tid6 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), invDeq), DQLInv(mkgs(queue), mkls(tid3, true, val9, optval9, val10, optval10), invDeq), tid6 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid6; alsf(tid6).oval:= optval5), apcf(tid6; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid6 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 24 terms: tid6 abort: F discard: F computed: F

Additional information

Used terms: tid6

Proof step 114 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid3) = resDeq, lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, true, val9, optval9, val10, optval10), pcf(tid3) = invDeq, pcf(tid6) = invDeq, # tids ≠ 0, alsf(tid6).oval:= optval5 ≠ mkls(tid6, val5, optval5, val6, optval6), tid6 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val9, optval9, val10, optval10), invDeq), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid6 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf(tid6; alsf(tid6).oval:= optval5), apcf(tid6; invDeq)) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid6 ∈ tids1, ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)), alsf(tid6) = mkls(lsf(tid6).tid, lsf(tid6).ival, lsf(tid6).oval, lsf(tid6).value, lsf(tid6).optval) ∧ apcf(tid6) = bwabspcf(pcf(tid6)) ∨ alsf(tid6) = mkls(lsf(tid6).tid, lsf(tid6).ival, Empty, lsf(tid6).value, lsf(tid6).optval) ∧ pcf(tid6) = invDeq ∧ apcf(tid6) = resDeq ∧ lsf(tid6).obsEmpty ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).obsEmpty ↔ obsEmpty; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).optval = oval0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).value = ival0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s) ⊦ bwabspcf(invDeq) = invDeq; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s)

Proof step 115 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val9, Empty, val10, optval10), alsf(tid5) = mkls(tid5, val7, optval7, val8, optval8), apcf(tid3) = resDeq, lsf(tid6) = mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, true, val9, optval9, val10, optval10), pcf(tid3) = invDeq, pcf(tid6) = invDeq, # tids ≠ 0, alsf(tid6).oval:= optval5 ≠ mkls(tid6, val5, optval5, val6, optval6), tid6 ≠ tid3, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val9, optval9, val10, optval10), invDeq), DQLInv(mkgs(queue), mkls(tid6, obsEmpty1, val5, optval5, val6, optval6), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty0, val3, optval3, val4, optval4), pcf(tid5)), tid6 ∈ tids, tids1 ⊆ tids, ¬ tid6 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf(tid6; alsf(tid6).oval:= optval5), apcf(tid6; invDeq)) ∈ ass, ∀ tid. tid ≠ tid6 ∧ ¬ tid ∈ tids1 → apcf(tid) = bwabspcf(pcf(tid)) ∧ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (obsEmpty1 ⊃ (as.pcf:= as.pcf(tid6; resDeq)).lsf:= as.lsf(tid6; as.lsf(tid6).oval:= Empty);as)), alsf(tid6) = mkls(tid6, val5, optval5, val6, optval6) ∧ apcf(tid6) = invDeq ∨ alsf(tid6) = mkls(tid6, val5, Empty, val6, optval6) ∧ apcf(tid6) = resDeq ∧ obsEmpty1 ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 30

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s) ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 116 from proof imfin-lemma (previous step) (back to tree)

lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-zero-01: ⊦ s ≠ ∅ → # s ≠ 0; (forward) from specification set-basic[DQ-refines-DurQ-instance-astateset-stateset] ne-01: ⊦ a ∈ s → s ≠ ∅; (forward) from specification set-basic[DQ-refines-DurQ-instance-astateset-stateset]

Proof step 117 from proof imfin-lemma (previous step) (back to tree)

lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 20 terms: mkstate(ags, alsf, apcf) abort: F discard: F computed: T

Additional information

Used terms: mkstate(ags, alsf, apcf)

Proof step 118 from proof imfin-lemma (previous step) (back to tree)

lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)) ∧ (∀ tid. mkstate(ags, alsf, apcf).lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → mkstate(ags, alsf, apcf).pcf(tid) = bwabspcf(pcf(tid)) ∧ mkstate(ags, alsf, apcf).lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ mkstate(ags, alsf, apcf) ∈ ass, ∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s) ⊦ mkdgs(queue) = mkdgs(queue0) ↔ queue = queue0; (s) ⊦ mkgs(queue).queue = queue; (s) ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) → ( bwabs(mkstate(gs0, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)) ↔ ags = mkdgs(gs.queue) → ags0 = mkdgs(gs0.queue) ∧ (∀ tid. alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty → alsf0(tid) = mkls (lsf0(tid).tid, lsf0(tid).ival, lsf0(tid).oval, lsf0(tid).value, lsf0(tid).optval) ∧ apcf0(tid) = bwabspcf(pcf0(tid)) ∨ alsf0(tid) = mkls (lsf0(tid).tid, lsf0(tid).ival, Empty, lsf0(tid).value, lsf0(tid).optval) ∧ pcf0(tid) = invDeq ∧ apcf0(tid) = resDeq ∧ lsf0(tid).obsEmpty)); (s)

Proof step 119 from proof imfin-lemma (previous step) (back to tree)

lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ alsf(tid0).tid = tid0 ∧ ( ¬ tid2 ∈ tids1 → apcf(tid2) = bwabspcf(pcf(tid2)) ∧ alsf(tid2) = mkls(lsf(tid2).tid, lsf(tid2).ival, lsf(tid2).oval, lsf(tid2).value, lsf(tid2).optval))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DurQ[DurQ-ren], name:elim-mkls, seq:⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval), subst:[value, ival, oval, tid, optval, ls] → [val2, val1, optval1, tid3, optval2, alsf(tid0)]

Additional information

Used simplifier rules: ⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval); (elim) Used terms: value, ival, oval, tid3, optval1, alsf(tid0)

Proof step 120 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid3, val1, optval1, val2, optval2), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ tid3 = tid0 ∧ ( ¬ tid2 ∈ tids1 → apcf(tid2) = bwabspcf(pcf(tid2)) ∧ alsf(tid2) = mkls(lsf(tid2).tid, lsf(tid2).ival, lsf(tid2).oval, lsf(tid2).value, lsf(tid2).optval))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val4, val3, obsEmpty0, lsf(tid2), optval3, tid4, optval4]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty0, lsf(tid2), oval, tid4, optval3

Proof step 121 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid3, val1, optval1, val2, optval2), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid2) = mkls(tid4, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ tid3 = tid0 ∧ (¬ tid2 ∈ tids1 → apcf(tid2) = bwabspcf(pcf(tid2)) ∧ alsf(tid2) = mkls(tid4, val3, optval3, val4, optval4))

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: tid0

Proof step 122 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0).tid = tid0, alsf(tid0) = mkls(tid3, val1, optval1, val2, optval2), lsf(tid2) = mkls(tid4, obsEmpty0, val3, optval3, val4, optval4), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, tid ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ tid3 = tid0 ∧ (¬ tid2 ∈ tids1 → apcf(tid2) = bwabspcf(pcf(tid2)) ∧ alsf(tid2) = mkls(tid4, val3, optval3, val4, optval4))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 123 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), lsf(tid2) = mkls(tid4, obsEmpty0, val3, optval3, val4, optval4), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # ass ≠ 0, # tids ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ tid2 ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ apcf(tid2) = bwabspcf(pcf(tid2)) ∧ alsf(tid2) = mkls(tid4, val3, optval3, val4, optval4)

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 18 terms: tid2 abort: F discard: F computed: T

Additional information

Used terms: tid2

Proof step 124 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid2) = mkls(tid4, obsEmpty0, val3, optval3, val4, optval4), # ass ≠ 0, # tids ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ tid2 ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ¬ tid2 ∈ tids1 → (tid = tid2 ⊃ invDeq;apcf(tid2)) = bwabspcf(pcf(tid2)) ∧ (tid = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(lsf(tid2).tid, lsf(tid2).ival, lsf(tid2).oval, lsf(tid2).value, lsf(tid2).optval), ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ apcf(tid2) = bwabspcf(pcf(tid2)) ∧ alsf(tid2) = mkls(tid4, val3, optval3, val4, optval4)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).optval = oval0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).value = ival0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 125 from proof imfin-lemma (previous step) (back to tree)

(tid = tid2 ⊃ invDeq;apcf(tid2)) = bwabspcf(pcf(tid2)), (tid = tid2 ⊃ alsf(tid2).oval:= optval3;alsf(tid2)) = mkls(tid4, val3, optval3, val4, optval4), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), lsf(tid2) = mkls(tid4, obsEmpty0, val3, optval3, val4, optval4), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ tid2 ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ apcf(tid2) = (tid = tid2 ⊃ invDeq;apcf(tid2)) ∧ alsf(tid2) = mkls(tid4, val3, optval3, val4, optval4)

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 126 from proof imfin-lemma (previous step) (back to tree)

(tid = tid2 ⊃ alsf(tid2).oval:= optval3;alsf(tid2)) = mkls(tid4, val3, optval3, val4, optval4), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), invDeq = bwabspcf(pcf(tid2)), lsf(tid2) = mkls(tid4, obsEmpty0, val3, optval3, val4, optval4), lsf(tid) = mkls(tid1, obsEmpty, val, optval, val0, optval0), tid = tid2, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), mkstate(ags, alsf(tid; alsf(tid).oval:= optval), apcf(tid; invDeq)) ∈ ass, tid ∈ tids, tids1 ⊆ tids, ¬ tid2 ∈ tids1, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ∀ tid0. ¬ tid0 ∈ tids1 → (tid = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ apcf(tid2) = (tid = tid2 ⊃ invDeq;apcf(tid2)) ∧ alsf(tid2) = mkls(tid4, val3, optval3, val4, optval4)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0) = mkls(tid0, obsEmpty0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ (obsEmpty ↔ obsEmpty0) ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 127 from proof imfin-lemma (previous step) (back to tree)

alsf(tid2).oval:= optval = mkls(tid1, val, optval, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), invDeq = bwabspcf(pcf(tid2)), lsf(tid2) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags, alsf, apcf)), tid2 ∈ tids, mkstate(ags, alsf(tid2; mkls(tid1, val, optval, val0, optval0)), apcf(tid2; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid2 ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid2 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ∀ tid0. tid0 ≠ tid2 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid2) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid2; resDeq)).lsf:= as.lsf(tid2; as.lsf(tid2).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ⊦ apcf(tid2) = invDeq ∧ alsf(tid2) = mkls(tid1, val, optval, val0, optval0)

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: bwabs, name:bwabs-def, seq:⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ ags = mkdgs(gs.queue) ∧ (∀ tid. alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty), subst:[gs, alsf, lsf, ags, pcf, apcf] → [mkgs(queue), alsf, lsf, ags, pcf, apcf], <all paths>

Additional information

Used terms: mkgs(queue), alsf, lsf, ags, pcf, apcf

Proof step 128 from proof imfin-lemma (previous step) (back to tree)

⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ↔ ags = mkdgs(gs.queue) ∧ (∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty)

A spec-lemma

Proof step 129 from proof imfin-lemma (previous step) (back to tree)

alsf(tid2).oval:= optval = mkls(tid1, val, optval, val0, optval0), ags = mkdgs(mkgs(queue).queue), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), invDeq = bwabspcf(pcf(tid2)), lsf(tid2) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), mkstate(ags, alsf(tid2; mkls(tid1, val, optval, val0, optval0)), apcf(tid2; invDeq)) ∈ ass, tid2 ∈ tids, tids1 ⊆ tids, ¬ mkstate(ags, alsf, apcf) ∈ ass0, ¬ mkstate(ags, alsf, apcf) ∈ ass, ¬ tid2 ∈ tids1, ags = mkdgs(queue) → (∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid2 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty), ∀ tid0. ¬ tid0 ∈ tids1 → (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid2) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid2; resDeq)).lsf:= as.lsf(tid2; as.lsf(tid2).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid2 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ apcf(tid2) = invDeq ∧ alsf(tid2) = mkls(tid1, val, optval, val0, optval0)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkdgs(queue) = mkdgs(queue0) ↔ queue = queue0; (s) ⊦ mkgs(queue).queue = queue; (s)

Proof step 130 from proof imfin-lemma (previous step) (back to tree)

alsf(tid2).oval:= optval = mkls(tid1, val, optval, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), invDeq = bwabspcf(pcf(tid2)), lsf(tid2) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), tid2 ∈ tids, mkstate(mkdgs(queue), alsf(tid2; mkls(tid1, val, optval, val0, optval0)), apcf(tid2; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ tid2 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. tid0 ≠ tid2 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid2) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid2; resDeq)).lsf:= as.lsf(tid2; as.lsf(tid2).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid2 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty ⊦ apcf(tid2) = invDeq ∧ alsf(tid2) = mkls(tid1, val, optval, val0, optval0)

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 25 terms: tid2 abort: F discard: F computed: T

Additional information

Used terms: tid2

Proof step 131 from proof imfin-lemma (previous step) (back to tree)

alsf(tid2).oval:= optval = mkls(tid1, val, optval, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), invDeq = bwabspcf(pcf(tid2)), lsf(tid2) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), mkstate(mkdgs(queue), alsf(tid2; mkls(tid1, val, optval, val0, optval0)), apcf(tid2; invDeq)) ∈ ass, tid2 ∈ tids, tids1 ⊆ tids, ¬ tid2 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, alsf(tid2) = mkls(lsf(tid2).tid, lsf(tid2).ival, lsf(tid2).oval, lsf(tid2).value, lsf(tid2).optval) ∧ apcf(tid2) = bwabspcf(pcf(tid2)) ∨ alsf(tid2) = mkls(lsf(tid2).tid, lsf(tid2).ival, Empty, lsf(tid2).value, lsf(tid2).optval) ∧ pcf(tid2) = invDeq ∧ apcf(tid2) = resDeq ∧ lsf(tid2).obsEmpty → (tid2 = tid2 ⊃ alsf(tid2).oval:= lsf(tid2).oval;alsf(tid2)) = mkls(lsf(tid2).tid, lsf(tid2).ival, lsf(tid2).oval, lsf(tid2).value, lsf(tid2).optval) ∧ (tid2 = tid2 ⊃ invDeq;apcf(tid2)) = bwabspcf(pcf(tid2)) ∨ alsf(tid2) = mkls(lsf(tid2).tid, lsf(tid2).ival, Empty, lsf(tid2).value, lsf(tid2).optval) ∧ pcf(tid2) = invDeq ∧ tid2 ≠ tid2 ∧ resDeq = apcf(tid2) ∧ lsf(tid2).obsEmpty, ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid2 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ tid0. ¬ tid0 ∈ tids1 → (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid2) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid2; resDeq)).lsf:= as.lsf(tid2; as.lsf(tid2).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid2 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ apcf(tid2) = invDeq ∧ alsf(tid2) = mkls(tid1, val, optval, val0, optval0)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).optval = oval0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).value = ival0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).obsEmpty ↔ obsEmpty; (s)

Proof step 132 from proof imfin-lemma (previous step) (back to tree)

alsf(tid2).oval:= optval = mkls(tid1, val, optval, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), invDeq = bwabspcf(pcf(tid2)), lsf(tid2) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # ass ≠ 0, # tids ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), mkstate(mkdgs(queue), alsf(tid2; mkls(tid1, val, optval, val0, optval0)), apcf(tid2; invDeq)) ∈ ass, tid2 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ tid2 ∈ tids1, ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid2 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ tid0. ¬ tid0 ∈ tids1 → (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid2) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid2; resDeq)).lsf:= as.lsf(tid2; as.lsf(tid2).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid2 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ apcf(tid2) = invDeq ∧ alsf(tid2) = mkls(tid1, val, optval, val0, optval0)

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 25 terms: tid2 abort: F discard: F computed: T

Additional information

Used terms: tid2

Proof step 133 from proof imfin-lemma (previous step) (back to tree)

alsf(tid2).oval:= optval = mkls(tid1, val, optval, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), invDeq = bwabspcf(pcf(tid2)), lsf(tid2) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # ass ≠ 0, # tids ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), tid2 ∈ tids, mkstate(mkdgs(queue), alsf(tid2; mkls(tid1, val, optval, val0, optval0)), apcf(tid2; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ tid2 ∈ tids1, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. tid0 ≠ tid2 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid2) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid2; resDeq)).lsf:= as.lsf(tid2; as.lsf(tid2).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid2 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, alsf(tid2) = mkls(lsf(tid2).tid, lsf(tid2).ival, lsf(tid2).oval, lsf(tid2).value, lsf(tid2).optval) ∧ apcf(tid2) = bwabspcf(pcf(tid2)) ∨ alsf(tid2) = mkls(lsf(tid2).tid, lsf(tid2).ival, Empty, lsf(tid2).value, lsf(tid2).optval) ∧ pcf(tid2) = invDeq ∧ apcf(tid2) = resDeq ∧ lsf(tid2).obsEmpty ⊦ apcf(tid2) = invDeq ∧ alsf(tid2) = mkls(tid1, val, optval, val0, optval0)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).obsEmpty ↔ obsEmpty; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).optval = oval0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).value = ival0; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).ival = ival; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).oval = oval; (s)

Proof step 134 from proof imfin-lemma (previous step) (back to tree)

alsf(tid2).oval:= optval = mkls(tid1, val, optval, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), invDeq = bwabspcf(pcf(tid2)), lsf(tid2) = mkls(tid1, obsEmpty, val, optval, val0, optval0), # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), tid2 ∈ tids, mkstate(mkdgs(queue), alsf(tid2; mkls(tid1, val, optval, val0, optval0)), apcf(tid2; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ tid2 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. tid0 ≠ tid2 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid2) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid2; resDeq)).lsf:= as.lsf(tid2; as.lsf(tid2).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid2 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, alsf(tid2) = mkls(tid1, val, optval, val0, optval0) ∧ apcf(tid2) = invDeq ∨ alsf(tid2) = mkls(tid1, val, Empty, val0, optval0) ∧ pcf(tid2) = invDeq ∧ apcf(tid2) = resDeq ∧ obsEmpty ⊦ apcf(tid2) = invDeq ∧ alsf(tid2) = mkls(tid1, val, optval, val0, optval0)

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 26

Additional information

Proof step 135 from proof imfin-lemma (previous step) (back to tree)

alsf(tid2).oval:= optval = mkls(tid1, val, optval, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), alsf(tid2) = mkls(tid1, val, Empty, val0, optval0), apcf(tid2) = resDeq, invDeq = bwabspcf(pcf(tid2)), lsf(tid2) = mkls(tid1, obsEmpty, val, optval, val0, optval0), obsEmpty, pcf(tid2) = invDeq, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), mkstate(mkdgs(queue), alsf(tid2; mkls(tid1, val, optval, val0, optval0)), apcf(tid2; invDeq)) ∈ ass, tid2 ∈ tids, tids1 ⊆ tids, ¬ tid2 ∈ tids1, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid2 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ tid0. ¬ tid0 ∈ tids1 → (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid2) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid2; resDeq)).lsf:= as.lsf(tid2; as.lsf(tid2).oval:= Empty);as)), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid2 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ apcf(tid2) = invDeq ∧ alsf(tid2) = mkls(tid1, val, optval, val0, optval0)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ invDeq ≠ resDeq; (s) ⊦ bwabspcf(invDeq) = invDeq; (s) ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s)

Proof step 136 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), alsf(tid2) = mkls(tid1, val, Empty, val0, optval0), apcf(tid2) = resDeq, lsf(tid2) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid2) = invDeq, # ass ≠ 0, # tids ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), mkstate(mkdgs(queue), alsf(tid2; mkls(tid1, val, optval, val0, optval0)), apcf(tid2; invDeq)) ∈ ass, tid2 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ tid2 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid2; resDeq)).lsf:= as.lsf(tid2; as.lsf(tid2).oval:= Empty))), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid2 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ tid0. ¬ tid0 ∈ tids1 → (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid0. tid0 ≠ tid2 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 22 terms: tid2 abort: F discard: F computed: F

Additional information

Used terms: tid2

Proof step 137 from proof imfin-lemma (previous step) (back to tree)

lsf(tid2).tid = tid2, alsf(tid2) = mkls(tid1, val, Empty, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), apcf(tid2) = resDeq, lsf(tid2) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid2) = invDeq, # ass ≠ 0, # tids ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), lsf(tid2), pcf(tid2)), tid2 ∈ tids, mkstate(mkdgs(queue), alsf(tid2; mkls(tid1, val, optval, val0, optval0)), apcf(tid2; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ tid2 ∈ tids1, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. tid0 ≠ tid2 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid2 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid2 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid2 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid2; resDeq)).lsf:= as.lsf(tid2; as.lsf(tid2).oval:= Empty))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 138 from proof imfin-lemma (previous step) (back to tree)

alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), tid1 ∈ tids, mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 27 terms: mkstate(mkdgs(queue), alsf, apcf) abort: F discard: F computed: T

Additional information

Used terms: mkstate(mkdgs(queue), alsf, apcf)

Proof step 139 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, mkstate(mkdgs(queue), alsf, apcf) ∈ ass0 ↔ (∃ as. as ∈ ass ∧ mkstate(mkdgs(queue), alsf, apcf) = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 140 from proof imfin-lemma (previous step) (back to tree)

alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), tid1 ∈ tids, mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))) ⊦ ∃ as. as ∈ ass ∧ mkstate(mkdgs(queue), alsf, apcf) = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))

User applied rule exists right

And obtained the following new goals

Rule argument

pos: right 1 terms: mkstate (mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) abort: F discard: T computed: T

Additional information

Used terms: mkstate (mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq))

Proof step 141 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦ mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass ∧ mkstate(mkdgs(queue), alsf, apcf) = ( ( mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) .pcf:= mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)).pcf(tid1; resDeq)) .lsf:= mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)).lsf (tid1; mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)).lsf(tid1).oval:= Empty))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ (mkstate(gstate, lsf, pcf).lsf:= lsf0) = mkstate(gstate, lsf0, pcf); (s) ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s) ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ (mkstate(gstate, lsf, pcf).pcf:= pcf0) = mkstate(gstate, lsf, pcf0); (s) ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s)

Proof step 142 from proof imfin-lemma (previous step) (back to tree)

alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, mkstate(mkdgs(queue), alsf, apcf) ≠ mkstate (mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0))(tid1; mkls(tid1, val, Empty, val0, optval0)), apcf(tid1; invDeq)(tid1; resDeq)), tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), tid1 ∈ tids, mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: DurQ[DurQ-ren], name:inj-mkstate, seq:⊦ mkstate(gstate, lsf, pcf) = mkstate(gstate0, lsf0, pcf0) ↔ gstate = gstate0 ∧ lsf = lsf0 ∧ pcf = pcf0, subst:[gstate, pcf0, lsf0, lsf, gstate0, pcf] → [mkdgs(queue), apcf(tid1; invDeq)(tid1; resDeq), alsf(tid1; mkls(tid1, val, optval, val0, optval0)) (tid1; mkls(tid1, val, Empty, val0, optval0)), alsf, mkdgs(queue), apcf], <all paths>

Additional information

Used terms: mkdgs(queue), apcf(tid1; invDeq)(tid1; resDeq), alsf(tid1; mkls(tid1, val, optval, val0, optval0)) (tid1; mkls(tid1, val, Empty, val0, optval0)), alsf, mkdgs(queue), apcf

Proof step 143 from proof imfin-lemma (previous step) (back to tree)

⊦ mkstate(gstate, lsf, pcf) = mkstate(gstate0, lsf0, pcf0) ↔ gstate = gstate0 ∧ lsf = lsf0 ∧ pcf = pcf0

A spec-lemma

Proof step 144 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, mkdgs(queue) ≠ mkdgs(queue) ∨ alsf ≠ alsf(tid1; mkls(tid1, val, optval, val0, optval0))(tid1; mkls(tid1, val, Empty, val0, optval0)) ∨ apcf ≠ apcf(tid1; invDeq)(tid1; resDeq) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 145 from proof imfin-lemma (previous step) (back to tree)

alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), tid1 ∈ tids, mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))), alsf ≠ alsf(tid1; mkls(tid1, val, optval, val0, optval0))(tid1; mkls(tid1, val, Empty, val0, optval0)) ∨ apcf ≠ apcf(tid1; invDeq)(tid1; resDeq) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 28

Additional information

Proof step 146 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, alsf ≠ alsf(tid1; mkls(tid1, val, optval, val0, optval0))(tid1; mkls(tid1, val, Empty, val0, optval0)), ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦

User applied rule expand left

And obtained the following new goals

Rule argument

pos: left 8

Additional information

Proof step 147 from proof imfin-lemma (previous step) (back to tree)

alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, alsf(tid) ≠ alsf(tid1; mkls(tid1, val, optval, val0, optval0))(tid1; mkls(tid1, val, Empty, val0, optval0))(tid), ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), tid1 ∈ tids, mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 148 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, alsf(tid) ≠ (tid1 = tid ⊃ mkls(tid, val, Empty, val0, optval0);alsf(tid)), ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 8

Additional information

Proof step 149 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, apcf ≠ apcf(tid1; invDeq)(tid1; resDeq), ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦

User applied rule expand left

And obtained the following new goals

Rule argument

pos: left 8

Additional information

Proof step 150 from proof imfin-lemma (previous step) (back to tree)

alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, apcf(tid) ≠ apcf(tid1; invDeq)(tid1; resDeq)(tid), ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), tid1 ∈ tids, mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 151 from proof imfin-lemma (previous step) (back to tree)

alsf(tid3) = mkls(tid3, val1, optval1, val2, optval2), alsf(tid1) = mkls(tid1, val, Empty, val0, optval0), apcf(tid1) = resDeq, lsf(tid1) = mkls(tid1, true, val, optval, val0, optval0), pcf(tid1) = invDeq, # tids ≠ 0, # ass ≠ 0, apcf(tid) ≠ (tid1 = tid ⊃ resDeq;apcf(tid)), ass ≠ ∅, tids ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid1, true, val, optval, val0, optval0), invDeq), mkstate(mkdgs(queue), alsf(tid1; mkls(tid1, val, optval, val0, optval0)), apcf(tid1; invDeq)) ∈ ass, tid1 ∈ tids, tids1 ⊆ tids, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass0, ¬ mkstate(mkdgs(queue), alsf, apcf) ∈ ass, ¬ tid1 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid1; resDeq)).lsf:= as.lsf(tid1; as.lsf(tid1).oval:= Empty))), ∀ tid0. alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ apcf(tid0) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ apcf(tid0) = resDeq ∧ lsf(tid0).obsEmpty → (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval) ∧ (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∨ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, Empty, lsf(tid0).value, lsf(tid0).optval) ∧ pcf(tid0) = invDeq ∧ tid1 ≠ tid0 ∧ resDeq = apcf(tid0) ∧ lsf(tid0).obsEmpty, ∀ tid0. ¬ tid0 ∈ tids1 → (tid1 = tid0 ⊃ invDeq;apcf(tid0)) = bwabspcf(pcf(tid0)) ∧ (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ tid0. (tid1 = tid0 ⊃ alsf(tid0).oval:= lsf(tid0).oval;alsf(tid0)).tid = tid0, ∀ tid0. tid0 ≠ tid1 ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid0. alsf(tid0).tid = tid0, ∀ tid. alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 8

Additional information

Proof step 152 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, tids ≠ ∅, DQGInv(gs), tid ∈ tids, mkstate(ags, alsf, apcf) ∈ ass ∪ ass0, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)) ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ (∀ tid0. alsf(tid0).tid = tid0) ∧ (∀ tid0. tid0 ≠ tid ∧ ¬ tid0 ∈ tids1 → apcf(tid0) = bwabspcf(pcf(tid0)) ∧ alsf(tid0) = mkls(lsf(tid0).tid, lsf(tid0).ival, lsf(tid0).oval, lsf(tid0).value, lsf(tid0).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-zero-01: ⊦ s ≠ ∅ → # s ≠ 0; (forward) from specification set-basic[DQ-refines-DurQ-instance-astateset-stateset] ne-01: ⊦ a ∈ s → s ≠ ∅; (forward) from specification set-basic[DQ-refines-DurQ-instance-astateset-stateset]

Proof step 153 from proof imfin-lemma (previous step) (back to tree)

# tids ≠ 0, #(ass ∪ ass0) ≠ 0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), tid ∈ tids, mkstate(ags, alsf, apcf) ∈ ass ∪ ass0, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)) ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ alsf(tid0).tid = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DurQ[DurQ-ren], name:elim-mkls, seq:⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval), subst:[value, ival, oval, tid, optval, ls] → [val0, val, optval, tid2, optval0, alsf(tid0)]

Additional information

Used simplifier rules: ⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval); (elim) Used terms: value, ival, oval, tid2, optval, alsf(tid0)

Proof step 154 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), # tids ≠ 0, #(ass ∪ ass0) ≠ 0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), mkstate(ags, alsf, apcf) ∈ ass ∪ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: set-union[DQ-refines-DurQ-instance-astateset-stateset], name:Union, seq: ⊦ a ∈ s1 ∪ s2 ↔ a ∈ s1 ∨ a ∈ s2, subst:[a, s1, s2] → [mkstate(ags, alsf, apcf), ass, ass0], <all paths>

Additional information

Used terms: mkstate(ags, alsf, apcf), ass, ass0

Proof step 155 from proof imfin-lemma (previous step) (back to tree)

⊦ a ∈ s1 ∪ s2 ↔ a ∈ s1 ∨ a ∈ s2

A spec-lemma

Proof step 156 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), # tids ≠ 0, #(ass ∪ ass0) ≠ 0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), mkstate(ags, alsf, apcf) ∈ ass ∨ mkstate(ags, alsf, apcf) ∈ ass0 ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 14

Additional information

Proof step 157 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), # tids ≠ 0, #(ass ∪ ass0) ≠ 0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), tid ∈ tids, mkstate(ags, alsf, apcf) ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-zero-01: ⊦ s ≠ ∅ → # s ≠ 0; (forward) from specification set-basic[DQ-refines-DurQ-instance-astateset-stateset] ne-01: ⊦ a ∈ s → s ≠ ∅; (forward) from specification set-basic[DQ-refines-DurQ-instance-astateset-stateset]

Proof step 158 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), tid ∈ tids, mkstate(ags, alsf, apcf) ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 16 terms: mkstate(ags, alsf, apcf) abort: F discard: F computed: T

Additional information

Used terms: mkstate(ags, alsf, apcf)

Proof step 159 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), mkstate(ags, alsf, apcf) ∈ ass, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ (∀ tid. mkstate(ags, alsf, apcf).lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → mkstate(ags, alsf, apcf).pcf(tid) = bwabspcf(pcf(tid)) ∧ mkstate(ags, alsf, apcf).lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ mkstate(ags, alsf, apcf) ∈ ass, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)) ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) → ( bwabs(mkstate(gs0, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)) ↔ ags = mkdgs(gs.queue) → ags0 = mkdgs(gs0.queue) ∧ (∀ tid. alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty → alsf0(tid) = mkls (lsf0(tid).tid, lsf0(tid).ival, lsf0(tid).oval, lsf0(tid).value, lsf0(tid).optval) ∧ apcf0(tid) = bwabspcf(pcf0(tid)) ∨ alsf0(tid) = mkls (lsf0(tid).tid, lsf0(tid).ival, Empty, lsf0(tid).value, lsf0(tid).optval) ∧ pcf0(tid) = invDeq ∧ apcf0(tid) = resDeq ∧ lsf0(tid).obsEmpty)); (s) ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s)

Proof step 160 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, mkstate(ags, alsf, apcf) ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid3. alsf(tid3).tid = tid3, ∀ tid3. ¬ tid3 ∈ tids1 → apcf(tid3) = bwabspcf(pcf(tid3)) ∧ alsf(tid3) = mkls(lsf(tid3).tid, lsf(tid3).ival, lsf(tid3).oval, lsf(tid3).value, lsf(tid3).optval) ⊦ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 161 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tid2 ≠ tid0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), mkstate(ags, alsf, apcf) ∈ ass, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ tid3. ¬ tid3 ∈ tids1 → apcf(tid3) = bwabspcf(pcf(tid3)) ∧ alsf(tid3) = mkls(lsf(tid3).tid, lsf(tid3).ival, lsf(tid3).oval, lsf(tid3).value, lsf(tid3).optval), ∀ tid3. alsf(tid3).tid = tid3, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)) ⊦

User applied rule all left

And closed the goal!

Rule argument

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

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).tid = tid; (s) Used terms: tid0

Proof step 162 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass ≠ 0, ass ≠ ∅, tid1 ≠ tid, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), mkstate(ags, alsf, apcf) ∈ ass, tid ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ tid ∈ tids1, ∀ tid3. ¬ tid3 ∈ tids1 → apcf(tid3) = bwabspcf(pcf(tid3)) ∧ alsf(tid3) = mkls(lsf(tid3).tid, lsf(tid3).ival, lsf(tid3).oval, lsf(tid3).value, lsf(tid3).optval), ∀ tid3. alsf(tid3).tid = tid3, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)) ⊦ apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval)

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 16 terms: tid1

Additional information

Used terms: tid1

Proof step 163 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), # tids ≠ 0, #(ass ∪ ass0) ≠ 0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), tid ∈ tids, mkstate(ags, alsf, apcf) ∈ ass0, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-zero-01: ⊦ s ≠ ∅ → # s ≠ 0; (forward) from specification set-basic[DQ-refines-DurQ-instance-astateset-stateset] ne-01: ⊦ a ∈ s → s ≠ ∅; (forward) from specification set-basic[DQ-refines-DurQ-instance-astateset-stateset]

Proof step 164 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), tid ∈ tids, mkstate(ags, alsf, apcf) ∈ ass0, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 13 terms: mkstate(ags, alsf, apcf) abort: F discard: F computed: T

Additional information

Used terms: mkstate(ags, alsf, apcf)

Proof step 165 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), mkstate(ags, alsf, apcf) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, mkstate(ags, alsf, apcf) ∈ ass0 ↔ (∃ as. as ∈ ass ∧ mkstate(ags, alsf, apcf) = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)) ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: size-zero-01: ⊦ s ≠ ∅ → # s ≠ 0; (forward) from specification set-basic[DQ-refines-DurQ-instance-astateset-stateset] ne-01: ⊦ a ∈ s → s ≠ ∅; (forward) from specification set-basic[DQ-refines-DurQ-instance-astateset-stateset]

Proof step 166 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), mkstate(ags, alsf, apcf) = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (durqs.pcf:= durqs.pcf(tid; resDeq)).lsf:= durqs.lsf(tid; durqs.lsf(tid).oval:= Empty);durqs), # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), durqs ∈ ass, mkstate(ags, alsf, apcf) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ lsf(tid).obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)) ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val2, val1, obsEmpty, lsf(tid), optval1, tid3, optval2]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty, lsf(tid), oval, tid3, optval1

Proof step 167 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, obsEmpty, val1, optval1, val2, optval2), mkstate(ags, alsf, apcf) = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (durqs.pcf:= durqs.pcf(tid; resDeq)).lsf:= durqs.lsf(tid; durqs.lsf(tid).oval:= Empty);durqs), # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), tid ∈ tids, mkstate(ags, alsf, apcf) ∈ ass0, durqs ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 3

Additional information

Proof step 168 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, obsEmpty, val1, optval1, val2, optval2), mkstate(ags, alsf, apcf) = ((durqs.pcf:= durqs.pcf(tid; resDeq)).lsf:= durqs.lsf(tid; durqs.lsf(tid).oval:= Empty)), obsEmpty, pcf(tid) = invDeq, # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), durqs ∈ ass, mkstate(ags, alsf, apcf) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)) ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 169 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, true, val1, optval1, val2, optval2), mkstate(ags, alsf, apcf) = ((durqs.pcf:= durqs.pcf(tid; resDeq)).lsf:= durqs.lsf(tid; durqs.lsf(tid).oval:= Empty)), pcf(tid) = invDeq, # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), tid ∈ tids, mkstate(ags, alsf, apcf) ∈ ass0, durqs ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty))) ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DurQ[DurQ-ren], name:elim-mkstate, seq:⊦ (gstate = s.gstate ∧ lsf = s.lsf) ∧ pcf = s.pcf ↔ s = mkstate(gstate, lsf, pcf), subst:[s, gstate, lsf, pcf] → [durqs, ags0, alsf0, apcf0]

Additional information

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

Proof step 170 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), durqs = mkstate(ags0, alsf0, apcf0), lsf(tid) = mkls(tid3, true, val1, optval1, val2, optval2), mkstate(ags, alsf, apcf) = ((durqs.pcf:= apcf0(tid; resDeq)).lsf:= alsf0(tid; alsf0(tid).oval:= Empty)), pcf(tid) = invDeq, # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), durqs ∈ ass, mkstate(ags, alsf, apcf) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty))), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkstate(gstate, lsf, pcf) = mkstate(gstate0, lsf0, pcf0) ↔ gstate = gstate0 ∧ lsf = lsf0 ∧ pcf = pcf0; (ws) ⊦ (mkstate(gstate, lsf, pcf).lsf:= lsf0) = mkstate(gstate, lsf0, pcf); (s) ⊦ (mkstate(gstate, lsf, pcf).pcf:= pcf0) = mkstate(gstate, lsf, pcf0); (s)

Proof step 171 from proof imfin-lemma (previous step) (back to tree)

(tid = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), mkstate(ags0, alsf0, apcf0) ∈ ass, mkstate(ags0, alsf0(tid; alsf0(tid).oval:= Empty), apcf0(tid; resDeq)) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty))), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags0, alsf0(tid; alsf0(tid).oval:= Empty), apcf0(tid; resDeq))) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 19 terms: mkstate(ags0, alsf0, apcf0) abort: F discard: F computed: T

Additional information

Used terms: mkstate(ags0, alsf0, apcf0)

Proof step 172 from proof imfin-lemma (previous step) (back to tree)

(tid = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), tid ∈ tids, mkstate(ags0, alsf0(tid; alsf0(tid).oval:= Empty), apcf0(tid; resDeq)) ∈ ass0, mkstate(ags0, alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, bwabs(mkstate(gs, lsf, pcf), mkstate(ags0, alsf0, apcf0)) ∧ (∀ tid. mkstate(ags0, alsf0, apcf0).lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → mkstate(ags0, alsf0, apcf0).pcf(tid) = bwabspcf(pcf(tid)) ∧ mkstate(ags0, alsf0, apcf0).lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ mkstate(ags0, alsf0, apcf0) ∈ ass, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty))) ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags0, alsf0(tid; alsf0(tid).oval:= Empty), apcf0(tid; resDeq))) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) → ( bwabs(mkstate(gs0, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)) ↔ ags = mkdgs(gs.queue) → ags0 = mkdgs(gs0.queue) ∧ (∀ tid. alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty → alsf0(tid) = mkls (lsf0(tid).tid, lsf0(tid).ival, lsf0(tid).oval, lsf0(tid).value, lsf0(tid).optval) ∧ apcf0(tid) = bwabspcf(pcf0(tid)) ∨ alsf0(tid) = mkls (lsf0(tid).tid, lsf0(tid).ival, Empty, lsf0(tid).value, lsf0(tid).optval) ∧ pcf0(tid) = invDeq ∧ apcf0(tid) = resDeq ∧ lsf0(tid).obsEmpty)); (s) ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s)

Proof step 173 from proof imfin-lemma (previous step) (back to tree)

(tid = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags0, alsf0, apcf0)), mkstate(ags0, alsf0, apcf0) ∈ ass, mkstate(ags0, alsf0(tid; alsf0(tid).oval:= Empty), apcf0(tid; resDeq)) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty))), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval) ⊦ ( ags0 = mkdgs(gs.queue) → alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval) ∧ apcf0(tid4) = bwabspcf(pcf(tid4)) ∨ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, Empty, lsf(tid4).value, lsf(tid4).optval) ∧ pcf(tid4) = invDeq ∧ apcf0(tid4) = resDeq ∧ lsf(tid4).obsEmpty → (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval) ∧ (tid = tid4 ⊃ resDeq;apcf0(tid4)) = bwabspcf(pcf(tid4)) ∨ (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(lsf(tid4).tid, lsf(tid4).ival, Empty, lsf(tid4).value, lsf(tid4).optval) ∧ pcf(tid4) = invDeq ∧ (tid ≠ tid4 → resDeq = apcf0(tid4)) ∧ lsf(tid4).obsEmpty) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkgs, seq: ⊦ queue = gs.queue ↔ gs = mkgs(queue), subst:[gs, queue] → [gs, queue]

Additional information

Used simplifier rules: ⊦ queue = gs.queue ↔ gs = mkgs(queue); (elim) Used terms: gs, queue

Proof step 174 from proof imfin-lemma (previous step) (back to tree)

(tid = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), gs = mkgs(queue), lsf(tid) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags0, alsf0, apcf0)), tid ∈ tids, mkstate(ags0, alsf0(tid; alsf0(tid).oval:= Empty), apcf0(tid; resDeq)) ∈ ass0, mkstate(ags0, alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty))) ⊦ ( ags0 = mkdgs(queue) → alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval) ∧ apcf0(tid4) = bwabspcf(pcf(tid4)) ∨ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, Empty, lsf(tid4).value, lsf(tid4).optval) ∧ pcf(tid4) = invDeq ∧ apcf0(tid4) = resDeq ∧ lsf(tid4).obsEmpty → (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval) ∧ (tid = tid4 ⊃ resDeq;apcf0(tid4)) = bwabspcf(pcf(tid4)) ∨ (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(lsf(tid4).tid, lsf(tid4).ival, Empty, lsf(tid4).value, lsf(tid4).optval) ∧ pcf(tid4) = invDeq ∧ (tid ≠ tid4 → resDeq = apcf0(tid4)) ∧ lsf(tid4).obsEmpty) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 175 from proof imfin-lemma (previous step) (back to tree)

(tid = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), mkstate(ags0, alsf0, apcf0) ∈ ass, mkstate(ags0, alsf0(tid; alsf0(tid).oval:= Empty), apcf0(tid; resDeq)) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty))), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval) ⊦ ( ags0 = mkdgs(queue) → alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval) ∧ apcf0(tid4) = bwabspcf(pcf(tid4)) ∨ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, Empty, lsf(tid4).value, lsf(tid4).optval) ∧ pcf(tid4) = invDeq ∧ apcf0(tid4) = resDeq ∧ lsf(tid4).obsEmpty → (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval) ∧ (tid = tid4 ⊃ resDeq;apcf0(tid4)) = bwabspcf(pcf(tid4)) ∨ (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(lsf(tid4).tid, lsf(tid4).ival, Empty, lsf(tid4).value, lsf(tid4).optval) ∧ pcf(tid4) = invDeq ∧ (tid ≠ tid4 → resDeq = apcf0(tid4)) ∧ lsf(tid4).obsEmpty) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DQ, name:elim-mkls, seq:⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval), subst:[value, ival, obsEmpty, ls, oval, tid, optval] → [val4, val3, obsEmpty, lsf(tid4), optval3, tid5, optval4]

Additional information

Used simplifier rules: ⊦ ( ( ((tid = ls.tid ∧ (obsEmpty ↔ ls.obsEmpty)) ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, obsEmpty, ival, oval, value, optval); (elim) Used terms: value, ival, obsEmpty, lsf(tid4), oval, tid5, optval3

Proof step 176 from proof imfin-lemma (previous step) (back to tree)

(tid = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, true, val1, optval1, val2, optval2), lsf(tid4) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), tid ∈ tids, mkstate(ags0, alsf0(tid; alsf0(tid).oval:= Empty), apcf0(tid; resDeq)) ∈ ass0, mkstate(ags0, alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty))) ⊦ ( ags0 = mkdgs(queue) → alsf0(tid4) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid4) = bwabspcf(pcf(tid4)) ∨ alsf0(tid4) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ apcf0(tid4) = resDeq ∧ obsEmpty → (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid = tid4 ⊃ resDeq;apcf0(tid4)) = bwabspcf(pcf(tid4)) ∨ (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ (tid ≠ tid4 → resDeq = apcf0(tid4)) ∧ obsEmpty) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: tid0

Proof step 177 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0).tid = tid0, (tid = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid4) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), lsf(tid) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), mkstate(ags0, alsf0, apcf0) ∈ ass, mkstate(ags0, alsf0(tid; alsf0(tid).oval:= Empty), apcf0(tid; resDeq)) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty))), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval) ⊦ ( ags0 = mkdgs(queue) → alsf0(tid4) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid4) = bwabspcf(pcf(tid4)) ∨ alsf0(tid4) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ apcf0(tid4) = resDeq ∧ obsEmpty → (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid = tid4 ⊃ resDeq;apcf0(tid4)) = bwabspcf(pcf(tid4)) ∨ (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ (tid ≠ tid4 → resDeq = apcf0(tid4)) ∧ obsEmpty) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 178 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0).tid = tid0, (tid = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, true, val1, optval1, val2, optval2), lsf(tid4) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), tid ∈ tids, mkstate(ags0, alsf0(tid; alsf0(tid).oval:= Empty), apcf0(tid; resDeq)) ∈ ass0, mkstate(ags0, alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty))) ⊦ ( ags0 = mkdgs(queue) → alsf0(tid4) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid4) = bwabspcf(pcf(tid4)) ∨ alsf0(tid4) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ apcf0(tid4) = resDeq ∧ obsEmpty → (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid = tid4 ⊃ resDeq;apcf0(tid4)) = bwabspcf(pcf(tid4)) ∨ (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ (tid ≠ tid4 → resDeq = apcf0(tid4)) ∧ obsEmpty) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 24 terms: tid abort: F discard: F computed: T

Additional information

Used terms: tid

Proof step 179 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0).tid = tid0, lsf(tid).tid = tid, (tid = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid4) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), lsf(tid) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), lsf(tid), pcf(tid)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), mkstate(ags0, alsf0, apcf0) ∈ ass, mkstate(ags0, alsf0(tid; alsf0(tid).oval:= Empty), apcf0(tid; resDeq)) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty))), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval) ⊦ ( ags0 = mkdgs(queue) → alsf0(tid4) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid4) = bwabspcf(pcf(tid4)) ∨ alsf0(tid4) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ apcf0(tid4) = resDeq ∧ obsEmpty → (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid = tid4 ⊃ resDeq;apcf0(tid4)) = bwabspcf(pcf(tid4)) ∨ (tid = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ (tid ≠ tid4 → resDeq = apcf0(tid4)) ∧ obsEmpty) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 180 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0).tid = tid0, (tid3 = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid4) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid3) = invDeq, # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), mkstate(ags0, alsf0, apcf0) ∈ ass, mkstate(ags0, alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, tid3 ∈ tids, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))) ⊦ ( ags0 = mkdgs(queue) → alsf0(tid4) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid4) = bwabspcf(pcf(tid4)) ∨ alsf0(tid4) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ apcf0(tid4) = resDeq ∧ obsEmpty → (tid3 = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid3 = tid4 ⊃ resDeq;apcf0(tid4)) = bwabspcf(pcf(tid4)) ∨ (tid3 = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ (tid3 ≠ tid4 → resDeq = apcf0(tid4)) ∧ obsEmpty) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid3 ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 23 terms: tid4 abort: F discard: F computed: F

Additional information

Used terms: tid4

Proof step 181 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0).tid = tid0, lsf(tid4).tid = tid4, (tid3 = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), lsf(tid4) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid3) = invDeq, # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), DQLInv(mkgs(queue), lsf(tid4), pcf(tid4)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), tid3 ∈ tids, mkstate(ags0, alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, mkstate(ags0, alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ ( ags0 = mkdgs(queue) → alsf0(tid4) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid4) = bwabspcf(pcf(tid4)) ∨ alsf0(tid4) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ apcf0(tid4) = resDeq ∧ obsEmpty → (tid3 = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid3 = tid4 ⊃ resDeq;apcf0(tid4)) = bwabspcf(pcf(tid4)) ∨ (tid3 = tid4 ⊃ alsf0(tid4).oval:= Empty;alsf0(tid4)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid4) = invDeq ∧ (tid3 ≠ tid4 → resDeq = apcf0(tid4)) ∧ obsEmpty) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid3 ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 182 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0).tid = tid0, (tid3 = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid3) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), tid3 ∈ tids, mkstate(ags0, alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, mkstate(ags0, alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦ ( ags0 = mkdgs(queue) → alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid5) = bwabspcf(pcf(tid5)) ∨ alsf0(tid5) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf0(tid5) = resDeq ∧ obsEmpty → (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid3 = tid5 ⊃ resDeq;apcf0(tid5)) = bwabspcf(pcf(tid5)) ∨ (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid3 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid3 ∧ ¬ tid1 ∈ tids1 → apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: right 1

Additional information

Proof step 183 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0).tid = tid0, (tid3 = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), ags0 = mkdgs(queue), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid3) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), mkstate(ags0, alsf0, apcf0) ∈ ass, mkstate(ags0, alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, tid3 ∈ tids, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid5) = bwabspcf(pcf(tid5)) ∨ alsf0(tid5) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf0(tid5) = resDeq ∧ obsEmpty ⊦ (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid3 = tid5 ⊃ resDeq;apcf0(tid5)) = bwabspcf(pcf(tid5)), (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid3 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 184 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0).tid = tid0, (tid3 = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid3) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(mkdgs(queue), alsf0, apcf0)), tid3 ∈ tids, mkstate(mkdgs(queue), alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, mkstate(mkdgs(queue), alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid5) = bwabspcf(pcf(tid5)) ∨ alsf0(tid5) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf0(tid5) = resDeq ∧ obsEmpty ⊦ (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid3 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty, (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid3 = tid5 ⊃ resDeq;apcf0(tid5)) = bwabspcf(pcf(tid5))

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DurQ[DurQ-ren], name:elim-mkls, seq:⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval), subst:[value, ival, oval, tid, optval, ls] → [val6, val5, optval5, tid1, optval6, alsf0(tid0)]

Additional information

Used simplifier rules: ⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval); (elim) Used terms: value, ival, oval, tid, optval5, alsf0(tid0)

Proof step 185 from proof imfin-lemma (previous step) (back to tree)

(tid3 = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), alsf0(tid0) = mkls(tid1, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid3) = invDeq, tid1 = tid0, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(mkdgs(queue), alsf0, apcf0)), mkstate(mkdgs(queue), alsf0, apcf0) ∈ ass, mkstate(mkdgs(queue), alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, tid3 ∈ tids, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid5) = bwabspcf(pcf(tid5)) ∨ alsf0(tid5) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf0(tid5) = resDeq ∧ obsEmpty ⊦ (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid3 = tid5 ⊃ resDeq;apcf0(tid5)) = bwabspcf(pcf(tid5)), (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid3 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s)

Proof step 186 from proof imfin-lemma (previous step) (back to tree)

(tid3 = tid0 ⊃ mkls(tid0, val5, Empty, val6, optval6);mkls(tid0, val5, optval5, val6, optval6)) = mkls(tid2, val, optval, val0, optval0), alsf0(tid0) = mkls(tid0, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid3) = invDeq, # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(mkdgs(queue), alsf0, apcf0)), mkstate(mkdgs(queue), alsf0, apcf0) ∈ ass, mkstate(mkdgs(queue), alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, tid3 ∈ tids, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid5) = bwabspcf(pcf(tid5)) ∨ alsf0(tid5) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf0(tid5) = resDeq ∧ obsEmpty ⊦ (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid3 = tid5 ⊃ resDeq;apcf0(tid5)) = bwabspcf(pcf(tid5)), (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid3 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 187 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0) = mkls(tid0, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), mkls(tid0, val5, Empty, val6, optval6) = mkls(tid2, val, optval, val0, optval0), pcf(tid3) = invDeq, tid3 = tid0, # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(mkdgs(queue), alsf0, apcf0)), tid3 ∈ tids, mkstate(mkdgs(queue), alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, mkstate(mkdgs(queue), alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid5) = bwabspcf(pcf(tid5)) ∨ alsf0(tid5) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf0(tid5) = resDeq ∧ obsEmpty ⊦ (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid3 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty, (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid3 = tid5 ⊃ resDeq;apcf0(tid5)) = bwabspcf(pcf(tid5))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s) ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 188 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0) = mkls(tid0, val5, optval5, val6, optval6), lsf(tid0) = mkls(tid0, true, val1, optval1, val2, optval2), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid0) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid0, true, val1, optval1, val2, optval2), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(mkdgs(queue), alsf0, apcf0)), mkstate(mkdgs(queue), alsf0, apcf0) ∈ ass, tid0 ∈ tids, mkstate(mkdgs(queue), alsf0(tid0; mkls(tid0, val5, Empty, val6, optval6)), apcf0(tid0; resDeq)) ∈ ass0, tids1 ⊆ tids, ¬ tid0 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid0; resDeq)).lsf:= as.lsf(tid0; as.lsf(tid0).oval:= Empty))), ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid5) = bwabspcf(pcf(tid5)) ∨ alsf0(tid5) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf0(tid5) = resDeq ∧ obsEmpty ⊦ (tid0 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid0 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty, (tid0 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid0 = tid5 ⊃ resDeq;apcf0(tid5)) = bwabspcf(pcf(tid5))

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 28

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s) ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 189 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0) = mkls(tid0, val5, optval5, val6, optval6), alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4), apcf0(tid5) = bwabspcf(pcf(tid5)), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), lsf(tid0) = mkls(tid0, true, val1, optval1, val2, optval2), pcf(tid0) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid0, true, val1, optval1, val2, optval2), invDeq), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(mkdgs(queue), alsf0, apcf0)), mkstate(mkdgs(queue), alsf0(tid0; mkls(tid0, val5, Empty, val6, optval6)), apcf0(tid0; resDeq)) ∈ ass0, tid0 ∈ tids, mkstate(mkdgs(queue), alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid0 ∈ tids1, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid0; resDeq)).lsf:= as.lsf(tid0; as.lsf(tid0).oval:= Empty))) ⊦ (tid0 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid0 = tid5 ⊃ resDeq;apcf0(tid5)) = bwabspcf(pcf(tid5)), (tid0 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid0 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s)

Proof step 190 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0) = mkls(tid0, val5, optval5, val6, optval6), alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4), apcf0(tid5) = bwabspcf(pcf(tid5)), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), lsf(tid0) = mkls(tid0, true, val1, optval1, val2, optval2), pcf(tid0) = invDeq, # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid0, true, val1, optval1, val2, optval2), invDeq), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(mkdgs(queue), alsf0, apcf0)), mkstate(mkdgs(queue), alsf0(tid0; mkls(tid0, val5, Empty, val6, optval6)), apcf0(tid0; resDeq)) ∈ ass0, tid0 ∈ tids, mkstate(mkdgs(queue), alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid0 ∈ tids1, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid0; resDeq)).lsf:= as.lsf(tid0; as.lsf(tid0).oval:= Empty))) ⊦ (tid0 = tid5 ⊃ mkls(tid5, val3, Empty, val4, optval4);mkls(tid5, val3, optval3, val4, optval4)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid0 = tid5 ⊃ resDeq;apcf0(tid5)) = apcf0(tid5), (tid0 = tid5 ⊃ mkls(tid5, val3, Empty, val4, optval4);mkls(tid5, val3, optval3, val4, optval4)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid0 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty

User applied rule cut formula

And closed the goal!

Rule argument

fma: tid0 = tid5

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) ⊦ bwabspcf(invDeq) = invDeq; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0) = mkls(tid0, obsEmpty0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ (obsEmpty ↔ obsEmpty0) ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws) Used formulas: tid0 = tid5

Proof step 191 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0) = mkls(tid0, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), mkls(tid0, val5, optval5, val6, optval6) = mkls(tid2, val, optval, val0, optval0), pcf(tid3) = invDeq, # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tid3 ≠ tid0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(mkdgs(queue), alsf0, apcf0)), tid3 ∈ tids, mkstate(mkdgs(queue), alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, mkstate(mkdgs(queue), alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid5) = bwabspcf(pcf(tid5)) ∨ alsf0(tid5) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf0(tid5) = resDeq ∧ obsEmpty ⊦ (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid3 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty, (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid3 = tid5 ⊃ resDeq;apcf0(tid5)) = bwabspcf(pcf(tid5))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 192 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0) = mkls(tid0, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid3) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tid3 ≠ tid0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(mkdgs(queue), alsf0, apcf0)), tid3 ∈ tids, mkstate(mkdgs(queue), alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, mkstate(mkdgs(queue), alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid5) = bwabspcf(pcf(tid5)) ∨ alsf0(tid5) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf0(tid5) = resDeq ∧ obsEmpty ⊦ (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid3 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty, (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid3 = tid5 ⊃ resDeq;apcf0(tid5)) = bwabspcf(pcf(tid5))

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: tid3 = tid5

Additional information

Used formulas: tid3 = tid5

Proof step 193 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0) = mkls(tid0, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid3) = invDeq, tid3 = tid5, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tid3 ≠ tid0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(mkdgs(queue), alsf0, apcf0)), mkstate(mkdgs(queue), alsf0, apcf0) ∈ ass, mkstate(mkdgs(queue), alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, tid3 ∈ tids, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), alsf0(tid5) = mkls(tid5, val3, optval3, val4, optval4) ∧ apcf0(tid5) = bwabspcf(pcf(tid5)) ∨ alsf0(tid5) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ apcf0(tid5) = resDeq ∧ obsEmpty ⊦ (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, optval3, val4, optval4) ∧ (tid3 = tid5 ⊃ resDeq;apcf0(tid5)) = bwabspcf(pcf(tid5)), (tid3 = tid5 ⊃ alsf0(tid5).oval:= Empty;alsf0(tid5)) = mkls(tid5, val3, Empty, val4, optval4) ∧ pcf(tid5) = invDeq ∧ (tid3 ≠ tid5 → resDeq = apcf0(tid5)) ∧ obsEmpty

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ invDeq ≠ resDeq; (s) ⊦ bwabspcf(invDeq) = invDeq; (s) ⊦ mkls(tid, obsEmpty, ival, oval, ival0, oval0) = mkls(tid0, obsEmpty0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ (obsEmpty ↔ obsEmpty0) ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 194 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0) = mkls(tid0, val5, optval5, val6, optval6), lsf(tid5) = mkls(tid5, true, val1, optval1, val2, optval2), pcf(tid5) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, alsf0(tid5).oval:= Empty ≠ mkls(tid5, val1, Empty, val2, optval2), ass ≠ ∅, ass0 ≠ ∅, tid5 ≠ tid0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, true, val1, optval1, val2, optval2), invDeq), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(mkdgs(queue), alsf0, apcf0)), tid5 ∈ tids, mkstate(mkdgs(queue), alsf0(tid5; alsf0(tid5).oval:= Empty), apcf0(tid5; resDeq)) ∈ ass0, mkstate(mkdgs(queue), alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid5 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid5; resDeq)).lsf:= as.lsf(tid5; as.lsf(tid5).oval:= Empty))), ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, alsf0(tid5) = mkls(tid5, val1, optval1, val2, optval2) ∧ apcf0(tid5) = invDeq ∨ alsf0(tid5) = mkls(tid5, val1, Empty, val2, optval2) ∧ apcf0(tid5) = resDeq ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 28

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s) ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 195 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0).tid = tid0, (tid3 = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid3) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tid2 ≠ tid0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), mkstate(ags0, alsf0, apcf0) ∈ ass, mkstate(ags0, alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, tid3 ∈ tids, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))) ⊦

Heuristic elimination applied rule apply elim lemma

And obtained the following new goals

Rule argument

spec: DurQ[DurQ-ren], name:elim-mkls, seq:⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval), subst:[value, ival, oval, tid, optval, ls] → [val6, val5, optval5, tid1, optval6, alsf0(tid0)]

Additional information

Used simplifier rules: ⊦ (((tid = ls.tid ∧ ival = ls.ival) ∧ oval = ls.oval) ∧ value = ls.value) ∧ optval = ls.optval ↔ ls = mkls(tid, ival, oval, value, optval); (elim) Used terms: value, ival, oval, tid, optval5, alsf0(tid0)

Proof step 196 from proof imfin-lemma (previous step) (back to tree)

(tid3 = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), alsf0(tid0) = mkls(tid1, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid3) = invDeq, tid1 = tid0, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tid2 ≠ tid0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), tid3 ∈ tids, mkstate(ags0, alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, mkstate(ags0, alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).oval:= oval1 = mkls(tid, ival, oval1, ival0, oval0); (s)

Proof step 197 from proof imfin-lemma (previous step) (back to tree)

(tid3 = tid0 ⊃ mkls(tid0, val5, Empty, val6, optval6);mkls(tid0, val5, optval5, val6, optval6)) = mkls(tid2, val, optval, val0, optval0), alsf0(tid0) = mkls(tid0, val5, optval5, val6, optval6), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid3) = invDeq, # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tid2 ≠ tid0, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), tid3 ∈ tids, mkstate(ags0, alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, mkstate(ags0, alsf0, apcf0) ∈ ass, tids1 ⊆ tids, ¬ tid3 ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))), ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass ⊦

User applied rule case distinction

And closed the goal!

Rule argument

pos: left 1

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0) = mkls(tid0, ival1, oval1, ival2, oval2) ↔ tid = tid0 ∧ ival = ival1 ∧ oval = oval1 ∧ ival0 = ival2 ∧ oval0 = oval2; (ws)

Proof step 198 from proof imfin-lemma (previous step) (back to tree)

alsf0(tid0).tid = tid0, (tid3 = tid0 ⊃ alsf0(tid0).oval:= Empty;alsf0(tid0)) = mkls(tid2, val, optval, val0, optval0), lsf(tid5) = mkls(tid5, obsEmpty, val3, optval3, val4, optval4), lsf(tid3) = mkls(tid3, true, val1, optval1, val2, optval2), pcf(tid3) = invDeq, # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tid1 ≠ tid3, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(mkgs(queue)), DQLInv(mkgs(queue), mkls(tid5, obsEmpty, val3, optval3, val4, optval4), pcf(tid5)), DQLInv(mkgs(queue), mkls(tid3, true, val1, optval1, val2, optval2), invDeq), bwabs(mkstate(mkgs(queue), lsf, pcf), mkstate(ags0, alsf0, apcf0)), mkstate(ags0, alsf0, apcf0) ∈ ass, mkstate(ags0, alsf0(tid3; alsf0(tid3).oval:= Empty), apcf0(tid3; resDeq)) ∈ ass0, tid3 ∈ tids, tids1 ⊆ tids, ¬ tid1 ∈ tids1, ¬ tid3 ∈ tids1, ∀ durqs. bwabs(mkstate(mkgs(queue), lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(mkgs(queue), lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid4. alsf0(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf0(tid4) = bwabspcf(pcf(tid4)) ∧ alsf0(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = ((as.pcf:= as.pcf(tid3; resDeq)).lsf:= as.lsf(tid3; as.lsf(tid3).oval:= Empty))) ⊦ apcf0(tid1) = bwabspcf(pcf(tid1)) ∧ alsf0(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval)

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 29 terms: tid1

Additional information

Used terms: tid1

Proof step 199 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, obsEmpty, val1, optval1, val2, optval2), mkstate(ags, alsf, apcf) = durqs, # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), durqs ∈ ass, mkstate(ags, alsf, apcf) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), pcf(tid) ≠ invDeq ∨ ¬ obsEmpty ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 200 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, obsEmpty, val1, optval1, val2, optval2), # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), tid ∈ tids, mkstate(ags, alsf, apcf) ∈ ass0, mkstate(ags, alsf, apcf) ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, pcf(tid) ≠ invDeq ∨ ¬ obsEmpty ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 20 terms: mkstate(ags, alsf, apcf) abort: F discard: F computed: T

Additional information

Used terms: mkstate(ags, alsf, apcf)

Proof step 201 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, obsEmpty, val1, optval1, val2, optval2), # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), mkstate(ags, alsf, apcf) ∈ ass, mkstate(ags, alsf, apcf) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ (∀ tid. mkstate(ags, alsf, apcf).lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → mkstate(ags, alsf, apcf).pcf(tid) = bwabspcf(pcf(tid)) ∧ mkstate(ags, alsf, apcf).lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ mkstate(ags, alsf, apcf) ∈ ass, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), pcf(tid) ≠ invDeq ∨ ¬ obsEmpty ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) ∧ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)) → ( bwabs(mkstate(gs0, lsf0, pcf0), mkstate(ags0, alsf0, apcf0)) ↔ ags = mkdgs(gs.queue) → ags0 = mkdgs(gs0.queue) ∧ (∀ tid. alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval) ∧ apcf(tid) = bwabspcf(pcf(tid)) ∨ alsf(tid) = mkls (lsf(tid).tid, lsf(tid).ival, Empty, lsf(tid).value, lsf(tid).optval) ∧ pcf(tid) = invDeq ∧ apcf(tid) = resDeq ∧ lsf(tid).obsEmpty → alsf0(tid) = mkls (lsf0(tid).tid, lsf0(tid).ival, lsf0(tid).oval, lsf0(tid).value, lsf0(tid).optval) ∧ apcf0(tid) = bwabspcf(pcf0(tid)) ∨ alsf0(tid) = mkls (lsf0(tid).tid, lsf0(tid).ival, Empty, lsf0(tid).value, lsf0(tid).optval) ∧ pcf0(tid) = invDeq ∧ apcf0(tid) = resDeq ∧ lsf0(tid).obsEmpty)); (s) ⊦ mkstate(gstate, lsf, pcf).lsf = lsf; (s) ⊦ mkstate(gstate, lsf, pcf).pcf = pcf; (s)

Proof step 202 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, obsEmpty, val1, optval1, val2, optval2), # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), tid ∈ tids, mkstate(ags, alsf, apcf) ∈ ass0, mkstate(ags, alsf, apcf) ∈ ass, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid4. alsf(tid4).tid = tid4, ∀ tid4. ¬ tid4 ∈ tids1 → apcf(tid4) = bwabspcf(pcf(tid4)) ∧ alsf(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), pcf(tid) ≠ invDeq ∨ ¬ obsEmpty ⊦ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: tid0

Proof step 203 from proof imfin-lemma (previous step) (back to tree)

alsf(tid0).tid = tid0, alsf(tid0) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, obsEmpty, val1, optval1, val2, optval2), # ass0 ≠ 0, # tids ≠ 0, #(ass ∪ ass0) ≠ 0, # ass ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), mkstate(ags, alsf, apcf) ∈ ass, mkstate(ags, alsf, apcf) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ∀ tid4. ¬ tid4 ∈ tids1 → apcf(tid4) = bwabspcf(pcf(tid4)) ∧ alsf(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf(tid4).tid = tid4, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), pcf(tid) ≠ invDeq ∨ ¬ obsEmpty ⊦ tid2 = tid0 ∧ ( tid1 ≠ tid ∧ ¬ tid1 ∈ tids1 → apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval))

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ mkls(tid, ival, oval, ival0, oval0).tid = tid; (s)

Proof step 204 from proof imfin-lemma (previous step) (back to tree)

alsf(tid2) = mkls(tid2, val, optval, val0, optval0), lsf(tid) = mkls(tid3, obsEmpty, val1, optval1, val2, optval2), # ass ≠ 0, #(ass ∪ ass0) ≠ 0, # tids ≠ 0, # ass0 ≠ 0, ass ≠ ∅, ass0 ≠ ∅, tid1 ≠ tid, tids ≠ ∅, ass ∪ ass0 ≠ ∅, DQGInv(gs), bwabs(mkstate(gs, lsf, pcf), mkstate(ags, alsf, apcf)), mkstate(ags, alsf, apcf) ∈ ass, mkstate(ags, alsf, apcf) ∈ ass0, tid ∈ tids, tids1 ⊆ tids, ¬ tid ∈ tids1, ¬ tid1 ∈ tids1, ∀ tid4. ¬ tid4 ∈ tids1 → apcf(tid4) = bwabspcf(pcf(tid4)) ∧ alsf(tid4) = mkls(lsf(tid4).tid, lsf(tid4).ival, lsf(tid4).oval, lsf(tid4).value, lsf(tid4).optval), ∀ tid4. alsf(tid4).tid = tid4, ∀ durqs. bwabs(mkstate(gs, lsf, pcf), durqs) ∧ (∀ tid. durqs.lsf(tid).tid = tid) ∧ (∀ tid. ¬ tid ∈ tids1 → durqs.pcf(tid) = bwabspcf(pcf(tid)) ∧ durqs.lsf(tid) = mkls(lsf(tid).tid, lsf(tid).ival, lsf(tid).oval, lsf(tid).value, lsf(tid).optval)) ↔ durqs ∈ ass, ∀ tid. lsf(tid).tid = tid ∧ DQLInv(gs, lsf(tid), pcf(tid)), ∀ tid. tid ∈ tids ↔ pcf(tid) = invDeq, ∀ as0. as0 ∈ ass0 ↔ (∃ as. as ∈ ass ∧ as0 = (pcf(tid) = invDeq ∧ obsEmpty ⊃ (as.pcf:= as.pcf(tid; resDeq)).lsf:= as.lsf(tid; as.lsf(tid).oval:= Empty);as)), pcf(tid) ≠ invDeq ∨ ¬ obsEmpty ⊦ apcf(tid1) = bwabspcf(pcf(tid1)) ∧ alsf(tid1) = mkls(lsf(tid1).tid, lsf(tid1).ival, lsf(tid1).oval, lsf(tid1).value, lsf(tid1).optval)

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 20 terms: tid1

Additional information

Used terms: tid1

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