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

⊦ (ctrok(gs.ctr, gs.writers) ∧ writersOk(gs.p, gs.writers) ∧ pendingOk(gs.p)) ∧ (∃ n. isPersistFO(n, gs.p(l))) ∧ ⟨p := gs.p; PSCPERSIST_FO(l; p); gs.p := p⟩ (gs0 = gs) → (∀ t0. relyws(t0, gs.readers, gs0.readers) ∧ relyws(t0, gs.writers, gs0.writers) ∧ rely(t0, gs.p, gs0.p))

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof rely-PSCPERSIST_FO (previous step) (back to tree)

⟨p := gs.p; PSCPERSIST_FO(l; p); gs.p := p⟩ (gs0 = gs), ctrok(gs.ctr, gs.writers), pendingOk(gs.p), writersOk(gs.p, gs.writers), ∃ n. isPersistFO(n, gs.p(l)) ⊦ ∀ t0. relyws(t0, gs.readers, gs0.readers) ∧ relyws(t0, gs.writers, gs0.writers) ∧ rely(t0, gs.p, gs0.p)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 3 from proof rely-PSCPERSIST_FO (previous step) (back to tree)

⟨p := gs.p; PSCPERSIST_FO(l; p); gs.p := p⟩ (gs0 = gs), ctrok(gs.ctr, gs.writers), isPersistFO(n, gs.p(l)), pendingOk(gs.p), writersOk(gs.p, gs.writers) ⊦ relyws(t0, gs.readers, gs0.readers) ∧ relyws(t0, gs.writers, gs0.writers) ∧ rely(t0, gs.p, gs0.p)

Heuristic symbolic execution applied rule assign left

And obtained the following new goals

Rule argument

Additional information

Proof step 4 from proof rely-PSCPERSIST_FO (previous step) (back to tree)

⟨PSCPERSIST_FO(l; p); gs.p := p⟩ (gs0 = gs), p = gs.p, ctrok(gs.ctr, gs.writers), isPersistFO(n, gs.p(l)), pendingOk(gs.p), writersOk(gs.p, gs.writers) ⊦ relyws(t0, gs.readers, gs0.readers) ∧ relyws(t0, gs.writers, gs0.writers) ∧ rely(t0, gs.p, gs0.p)

Heuristic split applied rule split left

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Proof step 5 from proof rely-PSCPERSIST_FO (previous step) (back to tree)

⟨gs.p := p0⟩ (gs0 = gs), ⟨PSCPERSIST_FO(l; p)⟩ (p = p0), p = gs.p, ctrok(gs.ctr, gs.writers), isPersistFO(n, gs.p(l)), pendingOk(gs.p), writersOk(gs.p, gs.writers) ⊦ relyws(t0, gs.readers, gs0.readers) ∧ relyws(t0, gs.writers, gs0.writers) ∧ rely(t0, gs.p, gs0.p)

Heuristic symbolic execution applied rule assign left

And obtained the following new goals

Rule argument

Additional information

Proof step 6 from proof rely-PSCPERSIST_FO (previous step) (back to tree)

⟨PSCPERSIST_FO(l; p)⟩ (p = p0), gs0 = gs.p:= p0, p = gs.p, ctrok(gs.ctr, gs.writers), isPersistFO(n, gs.p(l)), pendingOk(gs.p), writersOk(gs.p, gs.writers) ⊦ relyws(t0, gs.readers, gs0.readers) ∧ relyws(t0, gs.writers, gs0.writers) ∧ rely(t0, gs.p, gs0.p)

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ (gs.p:= p).p = p; (s) ⊦ relyws(t, tsf, tsf); (s) ⊦ (gs.p:= p).writers = gs.writers; (s) ⊦ (gs.p:= p).readers = gs.readers; (s)

Proof step 7 from proof rely-PSCPERSIST_FO (previous step) (back to tree)

⟨PSCPERSIST_FO(l; p)⟩ (p = p0), p = gs.p, ctrok(gs.ctr, gs.writers), isPersistFO(n, gs.p(l)), pendingOk(gs.p), writersOk(gs.p, gs.writers), ¬ rely(t0, gs.p, p0) ⊦

Heuristic unfold applied rule call left

And obtained the following new goals

Rule argument

pos: left 1

Additional information

Used simplifier rules: decl: PSCPERSIST_FO(l; p){choose n with isPersistFO(n, p(l)) in p(l) := p(l) -p n ifnone skip};

Proof step 8 from proof rely-PSCPERSIST_FO (previous step) (back to tree)

⟨choose n with isPersistFO(n, p(l)) in p(l) := p(l) -p n ifnone skip⟩ (p = p0), p = gs.p, ctrok(gs.ctr, gs.writers), isPersistFO(n, gs.p(l)), pendingOk(gs.p), writersOk(gs.p, gs.writers), ¬ rely(t0, gs.p, p0) ⊦

Heuristic symbolic execution applied rule choose left

And obtained the following new goals

Rule argument

Additional information

Proof step 9 from proof rely-PSCPERSIST_FO (previous step) (back to tree)

⟨p(l) := p(l) -p n⟩ (p = p0), p = gs.p, ctrok(gs.ctr, gs.writers), isPersistFO(n0, gs.p(l)), isPersistFO(n, p(l)), pendingOk(gs.p), writersOk(gs.p, gs.writers), ¬ rely(t0, gs.p, p0) ⊦

Heuristic symbolic execution applied rule assign left

And closed the goal!

Rule argument

Additional information

Used simplifier rules: ⊦ isPersistFO(n, p(l)) → rely(t, p, p(l := p(l) -p n)); (ss)

Proof step 10 from proof rely-PSCPERSIST_FO (previous step) (back to tree)

⟨skip⟩ (p = p0), p = gs.p, ctrok(gs.ctr, gs.writers), isPersistFO(n, gs.p(l)), pendingOk(gs.p), writersOk(gs.p, gs.writers), ¬ rely(t0, gs.p, p0), ∀ n. ¬ isPersistFO(n, p(l)) ⊦

Heuristic symbolic execution applied rule skip left

And closed the goal!

Rule argument

Additional information

Used simplifier rules: ⊦ rely(t, p, p); (s)

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