Concrete PDL rule applications #
Helpers to construct PdlRule applications, and to describe the sequents they lead to.
These are used in Pdl/BuildTree.lean to walk through a BuildTree when proving the
existence lemmas for the model graph.
The main results are:
PdlRule.exists_freeLandPdlRule.exists_freeR: the (L-) rule is always applicable to a loaded sequent, and it does not change the set of formulas.PdlRule.loadL_atomicandPdlRule.loadR_atomic: the (L+) rule applied to an atomic diamond~⌈·a⌉⌈⌈ηs⌉⌉ψ(whereψis not a box).Sequent.modTargettogether withPdlRule.modL_targetandPdlRule.modR_target: the (M) rule applied to an atomic loaded box.Sequent.exists_atomic_modal_steps: the combination of (L+) and (M), giving thea-successor of a free basic sequent.
The (L-) rule #
The (L-) rule is applicable to any left-loaded sequent, and the resulting sequent is obtained by inserting the unloaded formula on the left.
The (L+) rule for atomic diamonds #
The (M) rule #
The sequent reached by the (M) rule from ⟨L, R, some (Sum.inl (~'⌊·A⌋ξ))⟩.
Equations
- Sequent.modTargetL A L R (AnyFormula.normal φ) = (~φ :: projection A L, projection A R, none)
- Sequent.modTargetL A L R (AnyFormula.loaded χ) = (projection A L, projection A R, some (Sum.inl (~'χ)))
Instances For
The sequent reached by the (M) rule from ⟨L, R, some (Sum.inr (~'⌊·A⌋ξ))⟩.
Equations
- Sequent.modTargetR A L R (AnyFormula.normal φ) = (projection A L, ~φ :: projection A R, none)
- Sequent.modTargetR A L R (AnyFormula.loaded χ) = (projection A L, projection A R, some (Sum.inr (~'χ)))
Instances For
The (M) rule applied to a left-loaded atomic box.
Equations
Instances For
The (M) rule applied to a right-loaded atomic box.
Equations
Instances For
The negation of the unloaded rest is in the sequent reached by (M).
The negation of the unloaded rest is in the sequent reached by (M).
Combining (L+) and (M) #
Two PDL steps, first (L+) and then (M), lead from a free basic sequent containing the
atomic diamond ~⌈·a⌉⌈⌈ηs⌉⌉ψ (with ψ not a box) to a sequent that contains ~⌈⌈ηs⌉⌉ψ
and the whole a-projection of the sequent we started from.