Documentation

EventStructures.Family.Rollback

Rollback #

A rollback is a maximal subconfiguration omitting an event. Existence and uniqueness need coherence; maximality is stated for any family.

def Rollback.isRollback {L : Type u_1} (F : ConfFamily L) (c : F.Conf) (e : F.Event) (m : F.Conf) :

A rollback of e on c is a maximal configuration m with m ⊆ c and e ∉ m.

Equations
  • Rollback.isRollback F c e m = (mc em ∀ (m' : F.Conf), m'cem'mm'm'm)
Instances For
    def Rollback.Rollbacks {L : Type u_1} (F : ConfFamily L) (c : F.Conf) (e : F.Event) :

    The set of all rollbacks of event e on configuration c.

    Equations
    Instances For
      def Rollback.RollbackCandidates {L : Type u_1} (F : ConfFamily L) (c : F.Conf) (e : F.Event) :

      Candidate configurations for rollback.

      Equations
      Instances For
        @[simp]
        theorem Rollback.rollback_subset {L : Type u_1} (F : ConfFamily L) {c : F.Conf} {e : F.Event} {m : F.Conf} (h : isRollback F c e m) :
        mc
        @[simp]
        theorem Rollback.rollback_not_mem {L : Type u_1} (F : ConfFamily L) {c : F.Conf} {e : F.Event} {m : F.Conf} (h : isRollback F c e m) :
        em
        theorem Rollback.rollback_maximal {L : Type u_1} (F : ConfFamily L) {c : F.Conf} {e : F.Event} {m : F.Conf} (h : isRollback F c e m) (m' : F.Conf) :
        m'cem'mm'm'm
        theorem Rollback.isRollback_iff_maximal {L : Type u_1} (F : ConfFamily L) {c : F.Conf} {e : F.Event} {m : F.Conf} :
        isRollback F c e m m RollbackCandidates F c e m'RollbackCandidates F c e, mm'm'm
        def Rollback.rollbackSet {L : Type u_1} (F : ConfFamily L) (c : F.Conf) (e : F.Event) :

        The union of all subconfigurations of c omitting e.

        Equations
        Instances For
          theorem Rollback.rollbackSet_subset {L : Type u_1} (F : ConfFamily L) (c : F.Conf) (e : F.Event) :
          rollbackSet F c ec
          theorem Rollback.rollbackSet_not_mem {L : Type u_1} (F : ConfFamily L) (c : F.Conf) (e : F.Event) :
          erollbackSet F c e
          theorem Rollback.subset_rollbackSet {L : Type u_1} (F : ConfFamily L) {c m : F.Conf} {e : F.Event} (hmc : mc) (hem : em) :
          mrollbackSet F c e