Bisimulation for modal team logics #
Two teams are related by the lifting Set.LiftRel r of a relation r on points when every
point of each team is r-related to a point of the other. Team properties P and P' are
invariant under r when teams related in this way agree on them. Every connective of
Team/Operations.lean preserves invariance, the modalities one step down a chain of relations,
so a team logic whose evaluation is a fold over these connectives is invariant under bounded
bisimulation of Kripke models.
Main definitions #
Team.Invariant r P P': teams related by the lifting ofragree onPandP'.ModalLogic.WorldBisim k M w M' w':k-bisimilarity of pointed Kripke models.ModalLogic.StateBisim k M s M' s': its lifting to teams.ModalLogic.BisimClosed M P: closure of a team property ofMunder bounded bisimulation.
Main results #
Team.invariant_flat,Team.Invariant.inter,Team.Invariant.union,Team.Invariant.tensor,Team.invariant_dep,Team.invariant_incl: the non-modal connectives and atoms preserve invariance.Team.Invariant.poss,Team.Invariant.nec,Team.Invariant.possWitness,Team.Invariant.possLax,Team.Invariant.necImage: the modalities preserve invariance one step down.Set.LiftRel.exists_finset_union_eq: the lifting transports splits of a team.
Implementation notes #
[AAY24] relativize bisimilarity to a finite set of atoms. Here it compares every atom of the atom type, which is the paper's notion when that type is the finite set.
References #
Team properties P and P' are invariant under a relation r on points when teams related
by the lifting Set.LiftRel r agree on them.
Equations
- Team.Invariant r P P' = ∀ ⦃s : Finset α⦄ ⦃s' : Finset β⦄, Set.LiftRel r ↑s ↑s' → (s ∈ P ↔ s' ∈ P')
Instances For
Non-modal connectives and atoms #
Invariant properties agree on the singleton teams of related points.
Flat modalities #
The modalities take an invariance under r to an invariance under r₁, given that
r₁-related points have successor sets related by the lifting of r. For Kripke models r₁
is bisimilarity at depth k + 1 and r at depth k
([AAY24] Lemma 3.7(i)).
Splits #
A split of a team related by the lifting of r has a related split on the other side
([AAY24] Lemma 3.7(ii)).
Image modalities of dependence and inclusion logic #
The single-witness possibility modality preserves invariance between downward-closed properties.
Bisimulation of Kripke models #
Pointed Kripke models are k-bisimilar ([AAY24] Definition 3.1) when they
agree on every atom and, at positive depth, their successor sets are related by the lifting
of bisimilarity one depth down.
Equations
- One or more equations did not get rendered due to their size.
- ModalLogic.WorldBisim 0 x✝³ x✝² x✝¹ x✝ = ∀ (p : Atom), x✝³.val p x✝² ↔ x✝¹.val p x✝
Instances For
Teams are k-bisimilar ([AAY24] Definition 3.6) when they are related by
the lifting of k-bisimilarity of their worlds.
Equations
- ModalLogic.StateBisim k M s M' s' = Set.LiftRel (fun (x1 : W) (x2 : W') => ModalLogic.WorldBisim k M x1 M' x2) ↑s ↑s'
Instances For
A team property of M is closed under bounded bisimulation when, for some depth k, it is
invariant under k-bisimilarity within M.
Equations
- ModalLogic.BisimClosed M P = ∃ (k : ℕ), Team.Invariant (fun (x1 x2 : W) => ModalLogic.WorldBisim k M x1 M x2) P P