OAI/Probability/GammaPassage/WitnessSelection.lean
8 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.GammaFPP.CrossingBridge.takeWitnessPacksline 10Source documentation
Preserve every chunk position while truncating the concatenated witness list.
def takeWitnessPacks {α : Type*} : ℕ → List (List α) → List (List α) | _,[] => [] | t,ws::packs => ws.take t :: takeWitnessPacks (t-ws.length) packs - lemma
OAI.GammaFPP.CrossingBridge.takeWitnessPacks_lengthline 14 - lemma
OAI.GammaFPP.CrossingBridge.takeWitnessPacks_flattenline 20 - lemma
OAI.GammaFPP.CrossingBridge.takeWitnessPacks_assignline 26 - lemma
OAI.GammaFPP.CrossingBridge.long_path_witness_countline 36Source documentation
The exact source selection threshold, with a convenient sufficient N≥4.
lemma long_path_witness_count (H a : ℝ) (ha : 0 < a) (N M : ℕ) (hN : 4 ≤ N) (hlower : ((N : ℝ)-1)*a-4*a*M ≤ H) (hcheap : H < N*a/2) : N/16 ≤ M := by … - def
OAI.GammaFPP.CrossingBridge.witnessLabelsline 47Source documentation
A list of event labels determined only by the ordered chunk indices and by the number of selected witnesses in each position.
def witnessLabels : List ℕ → List (ℤ×ℤ) → List (ℤ×ℤ) | [],_ => [] | _,[] => [] | n::ns,i::is => List.replicate n i ++ witnessLabels ns is
- lemma
OAI.GammaFPP.CrossingBridge.witnessLabels_lengthline 52 - theorem
OAI.GammaFPP.CrossingBridge.witnessPacks_strictDisjointline 61