Download data/lean/OAI/Combinatorics/BalancedRyser/Selection/SelectionKernel2.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.67 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/BalancedRyser/Selection/SelectionKernel2.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Combinatorics/BalancedRyser/Selection/SelectionKernel2.lean
-
curl -L -o SelectionKernel2.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/BalancedRyser/Selection/SelectionKernel2.lean
1.67 kB
| 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 | |