Replay #
Least and greatest computations compatible with a log. These are defined only on the family of configurations.
def
Replay.isMinReplay
{L : Type u_1}
(F : ConfFamily L)
(R : F.Event → F.Event → Prop)
(l : Set F.Event)
(σ : Computations F)
:
A least replay of l: compatible, and contained in every compatible computation.
Equations
- Replay.isMinReplay F R l σ = (Log.compatibleWithLog F R σ l ∧ ∀ (σ' : Computations F), Log.compatibleWithLog F R σ' l → ↑(Replay.conf F σ) ⊆ ↑(Replay.conf F σ'))
Instances For
def
Replay.isMaxReplay
{L : Type u_1}
(F : ConfFamily L)
(R : F.Event → F.Event → Prop)
(l : Set F.Event)
(σ : Computations F)
:
A greatest replay of l.
Equations
- Replay.isMaxReplay F R l σ = (Log.compatibleWithLog F R σ l ∧ ∀ (σ' : Computations F), Log.compatibleWithLog F R σ' l → ↑(Replay.conf F σ') ⊆ ↑(Replay.conf F σ))
Instances For
theorem
Replay.minReplay_unique_config
{L : Type u_1}
(F : ConfFamily L)
(R : F.Event → F.Event → Prop)
{l : Set F.Event}
{σ₁ σ₂ : Computations F}
(h₁ : isMinReplay F R l σ₁)
(h₂ : isMinReplay F R l σ₂)
:
theorem
Replay.maxReplay_unique_config
{L : Type u_1}
(F : ConfFamily L)
(R : F.Event → F.Event → Prop)
{l : Set F.Event}
{σ₁ σ₂ : Computations F}
(h₁ : isMaxReplay F R l σ₁)
(h₂ : isMaxReplay F R l σ₂)
:
theorem
Replay.minReplay_unique
{L : Type u_1}
(F : ConfFamily L)
(R : F.Event → F.Event → Prop)
{l : Set F.Event}
{σ₁ σ₂ : Computations F}
(h₁ : isMinReplay F R l σ₁)
(h₂ : isMinReplay F R l σ₂)
:
theorem
Replay.maxReplay_unique
{L : Type u_1}
(F : ConfFamily L)
(R : F.Event → F.Event → Prop)
{l : Set F.Event}
{σ₁ σ₂ : Computations F}
(h₁ : isMaxReplay F R l σ₁)
(h₂ : isMaxReplay F R l σ₂)
:
Two computations are label-equivalent if their configurations have the same labels.
Equations
- Replay.LabelEquivComputation F σ₁ σ₂ = (F.label '' ↑(Replay.conf F σ₁) = F.label '' ↑(Replay.conf F σ₂))
Instances For
def
Replay.isMinLabelReplay
{L : Type u_1}
(F : ConfFamily L)
(R : F.Event → F.Event → Prop)
(l : Set F.Event)
(σ : Computations F)
:
A least replay measured by labels rather than events.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
Replay.isMinReplay_imp_isMinLabelReplay
{L : Type u_1}
(F : ConfFamily L)
(R : F.Event → F.Event → Prop)
{l : Set F.Event}
{σ : Computations F}
(h : isMinReplay F R l σ)
:
isMinLabelReplay F R l σ
A least replay is least on labels too.