File size: 1,666 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | import OAI.Combinatorics.BalancedRyser.Selection.SelectionKernel
import OAI.Combinatorics.BalancedRyser.Selection.SelectionPushforward2
namespace OAI
namespace Balanced.DeletionLaw
theorem sum_kernelOfSlotWeights {q n : β}
(w : Offset q n β Offset q n β ((Fin 2 Γ Fin n) β Fin q) β β)
(mβ mβ : Offset q n) :
β s, kernelOfSlotWeights w mβ mβ s = β t, w mβ mβ t := by
exact Fintype.sum_equiv (Equiv.curry (Fin 2) (Fin n) (Fin q)).symm
(fun s => kernelOfSlotWeights w mβ mβ s) (w mβ mβ) (fun _ => rfl)
theorem kernelOfSlotWeights_subprobability {q n : β}
(w : Offset q n β Offset q n β ((Fin 2 Γ Fin n) β Fin q) β β)
(hw : β mβ mβ t, 0 β€ w mβ mβ t)
(hmass : β mβ mβ, β t, w mβ mβ t β€ 1) :
IsSubprobabilityKernel (kernelOfSlotWeights w) := by
constructor
Β· intro mβ mβ s
exact hw mβ mβ _
Β· intro mβ mβ
rw [sum_kernelOfSlotWeights]
exact hmass mβ mβ
theorem kernelOfSlotWeights_cylinders {q n : β}
(w : Offset q n β Offset q n β ((Fin 2 Γ Fin n) β Fin q) β β) (K : β)
(hbound : β mβ mβ J t,
FinitePushforward.cylinderMass (w mβ mβ) J t β€ (K / q) ^ J.card) :
CylinderBound (kernelOfSlotWeights w) K := by
intro mβ mβ J t
calc
(β s, if β j β J, s j.1 j.2 = t j then kernelOfSlotWeights w mβ mβ s else 0) =
FinitePushforward.cylinderMass (w mβ mβ) J t := by
exact Fintype.sum_equiv (Equiv.curry (Fin 2) (Fin n) (Fin q)).symm
_ _ (fun _ => rfl)
_ β€ (K / q) ^ J.card := hbound mβ mβ J t
end Balanced.DeletionLaw
end OAI
|