One-round lemmas for COBRA and BIPS (EPI-4) #
Membership in one COBRA or BIPS round, the recursions of cobraRun and bipsRun, and the
unfolding of the COBRA hitting event "v ∈ C_s for some s ≤ t" over the first round.
theorem
Epidemics.mem_cobraStep
{V : Type u_1}
[DecidableEq V]
{G : SimpleGraph V}
{k : ℕ}
{D : Finset V}
{r : Choices G k}
{y : V}
:
A vertex is reached by a COBRA round from D iff some vertex of D sampled it.
theorem
Epidemics.mem_bipsStep
{V : Type u_1}
[Fintype V]
[DecidableEq V]
{G : SimpleGraph V}
{k : ℕ}
{v : V}
{A : Finset V}
{r : Choices G k}
{u : V}
:
A vertex is infected after a BIPS round iff it is the source or sampled an infected vertex.
@[simp]
theorem
Epidemics.cobraRun_nil
{V : Type u_1}
[DecidableEq V]
{G : SimpleGraph V}
{k : ℕ}
(C : Finset V)
:
@[simp]
theorem
Epidemics.cobraRun_cons
{V : Type u_1}
[DecidableEq V]
{G : SimpleGraph V}
{k : ℕ}
(C : Finset V)
(r : Choices G k)
(l : List (Choices G k))
:
COBRA after the rounds r :: l is COBRA from cobraStep C r after the rounds l.
theorem
Epidemics.bipsRun_append_singleton
{V : Type u_1}
[Fintype V]
[DecidableEq V]
{G : SimpleGraph V}
{k : ℕ}
(v : V)
(A₀ : Finset V)
(l : List (Choices G k))
(r : Choices G k)
:
BIPS after the rounds l ++ [r] is one more round r after the rounds l.
theorem
Epidemics.hits_cons
{V : Type u_1}
[DecidableEq V]
{G : SimpleGraph V}
{k : ℕ}
(v : V)
(C : Finset V)
(r : Choices G k)
(l : List (Choices G k))
:
The COBRA hitting event over the rounds r :: l: either v is in the start set, or COBRA
restarted from the first round's image hits v within the rounds l.