OAI/Probability/CubeShuffle/RecursiveDensity.lean
52 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.CubeShuffle.assignmentCostline 11 - lemma
OAI.CubeShuffle.palindromeCost_eqline 19 - lemma
OAI.CubeShuffle.palindromeCost_stepline 29 - def
OAI.CubeShuffle.routingMomentline 39 - lemma
OAI.CubeShuffle.routingMoment_nonnegline 45 - lemma
OAI.CubeShuffle.palindrome_matches_stepline 50 - lemma
OAI.CubeShuffle.routingMoment_stepline 61 - lemma
OAI.CubeShuffle.child_moment_productline 104 - lemma
OAI.CubeShuffle.palindrome_probability_stepline 136 - lemma
OAI.CubeShuffle.child_power_product_boundline 151 - lemma
OAI.CubeShuffle.assignment_moment_boundline 180 - theorem
OAI.CubeShuffle.palindrome_pointwise_momentline 221Source documentation
The precise recursive pointwise density estimate: the surviving power is under the actual, independent fair switch law, never an auxiliary coloring law.
theorem palindrome_pointwise_moment (d : ℕ) {ι : Type*} [Fintype ι] (e f : ι ↪ Card d) (a : ℝ) (ha : 0 ≤ a) : (PairRouting.tupleProbability (palindromePerm d) e f)^(1+a) ≤ (2:ℝ)^(-(d:ℝ)*Fintype.card ι*a) * routingMoment d e f a := by …Mentions: OAI.CubeShuffle.Card, OAI.CubeShuffle.PairRouting.tupleProbability, OAI.CubeShuffle.palindromePerm, OAI.CubeShuffle.routingMoment
- lemma
OAI.CubeShuffle.routingMoment_sumline 281 - lemma
OAI.CubeShuffle.finite_row_powerline 303 - def
OAI.CubeShuffle.palindromeRowMomentline 312 - lemma
OAI.CubeShuffle.density_normalizationline 317 - theorem
OAI.CubeShuffle.palindrome_row_density_momentline 326Source documentation
Source FAC.1, for every labelled distinct tuple, with the exact falling- factorial normalization and the genuine fair-coin palindrome routing cost.
theorem palindrome_row_density_moment (d : ℕ) {ι : Type*} [Fintype ι] (e : ι ↪ Card d) (a : ℝ) (ha : 0 ≤ a) : palindromeRowMoment d e a ≤ (((2^d).descFactorial (Fintype.card ι):ℝ)/((2^d:ℕ):ℝ)^(Fintype.card ι))^a * finiteMean (fun ω : BenesCoins d => (2:ℝ)^((palindromeCost d e ω:ℝ)*a)) := by …Mentions: OAI.CubeShuffle.Card, OAI.CubeShuffle.palindromeRowMoment, OAI.CubeShuffle.finiteMean, OAI.CubeShuffle.BenesCoins, OAI.CubeShuffle.palindromeCost
- lemma
OAI.CubeShuffle.subset_biUnion_indicatorline 348 - lemma
OAI.CubeShuffle.cylinder_block_polynomialline 370Source documentation
Positive multilinear block-polynomials are dominated by product measure whenever their supports are disjoint and all joint inclusion bounds hold.
lemma cylinder_block_polynomial {α β Ω : Type*} [DecidableEq α] [Fintype β] [Fintype Ω] (τ : β → Type*) [∀ b, Fintype (τ b)] (F : Ω → Finset α) (p : α → ℝ) (hF : CylinderBound (inclusionMoment F) p) (T : ∀ b, τ b → Finset α) (c : ∀ b, τ b → ℝ) (hc : ∀ b s, 0 ≤ c b s) (hd : ∀ b b', b ≠ b' → ∀ s s', Disjoint (T b s) (T b' s')) : finiteMean (fun ω => ∏ b, ∑ s, c b s * if T b s ⊆ F ω then 1 else 0) ≤ ∏ b, ∑ s, c b s * ∏ x ∈ T b s, p x := by …Mentions: OAI.CubeShuffle.CylinderBound, OAI.CubeShuffle.inclusionMoment, OAI.CubeShuffle.finiteMean
- def
OAI.CubeShuffle.sparseCoefficientline 412 - lemma
OAI.CubeShuffle.sparseCoefficient_nonnegline 415 - lemma
OAI.CubeShuffle.sparse_block_pointwiseline 420 - lemma
OAI.CubeShuffle.geometric_sum_halfline 440 - lemma
OAI.CubeShuffle.sparse_binomial_boundline 449 - lemma
OAI.CubeShuffle.sparse_block_product_boundline 483 - def
OAI.CubeShuffle.sparseMassline 507 - theorem
OAI.CubeShuffle.sparse_block_mgfline 513Source documentation
The sparse low-block moment bound uses only actual joint inclusion, not independence or a negative-association assumption.
theorem sparse_block_mgf {α β Ω : Type*} [DecidableEq α] [Fintype β] [Fintype Ω] (D : β → Finset α) (hd : Pairwise (fun b b' => Disjoint (D b) (D b'))) (F : Ω → Finset α) (p w : ℝ) (hp : 0 ≤ p) (hw : 0 ≤ w) (hF : ∀ T, inclusionMoment F T ≤ p^T.card) (hr : ∀ b, ((D b).card:ℝ)*(p*w) ≤ 1/2) : finiteMean (fun ω => w^(sparseMass D (F ω))) ≤ Real.exp (∑ b, 2*(((D b).card:ℝ)*(p*w))^2) := by …Mentions: OAI.CubeShuffle.inclusionMoment, OAI.CubeShuffle.finiteMean, OAI.CubeShuffle.sparseMass
- theorem
OAI.CubeShuffle.inverseButterfly_sparse_mgfline 550Source documentation
In particular this holds for central marks of the genuine input butterfly.
theorem inverseButterfly_sparse_mgf (d : ℕ) {β : Type*} [Fintype β] (D : β → Finset (Card d)) (hd : Pairwise (fun b b' => Disjoint (D b) (D b'))) (A : Finset (Card d)) (w : ℝ) (hw : 0 ≤ w) (hr : ∀ b, ((D b).card:ℝ)*((A.card/(2:ℝ)^d)*w) ≤ 1/2) : finiteMean (fun ω : SwitchIndex d → Bool => w^(sparseMass D (inverseButterflyMarks d A ω))) ≤ Real.exp (∑ b, 2*(((D b).card:ℝ)*((A.card/(2:ℝ)^d)*w))^2) := by …Mentions: OAI.CubeShuffle.Card, OAI.CubeShuffle.finiteMean, OAI.CubeShuffle.SwitchIndex, OAI.CubeShuffle.sparseMass, OAI.CubeShuffle.inverseButterflyMarks
- def
OAI.CubeShuffle.crowdedMassline 565 - lemma
OAI.CubeShuffle.crowdedMass_leline 567 - lemma
OAI.CubeShuffle.crowdedMass_addline 571 - lemma
OAI.CubeShuffle.alternatingCycles_le_crowdedline 575 - lemma
OAI.CubeShuffle.palindromeCost_le_crowdedline 584 - def
OAI.CubeShuffle.palindromeLowCostline 609Source documentation
The exact sum of FAC.1 node costs through height H.
noncomputable def palindromeLowCost (H : ℕ) : (d : ℕ) → {ι : Type*} → [Fintype ι] → (ι ↪ Card d) → BenesCoins d → ℕ | 0, _, _, _, _ => 0 | d+1, _, _, e, ω => let σ := benesStepEquiv d ω …Mentions: OAI.CubeShuffle.Card, OAI.CubeShuffle.BenesCoins, OAI.CubeShuffle.benesStepEquiv
- def
OAI.CubeShuffle.cutoffMassline 623Source documentation
Colliding mass in the size-2^H central blocks, read along the actual input routes.
noncomputable def cutoffMass (H : ℕ) : (d : ℕ) → {ι : Type*} → [Fintype ι] → (ι ↪ Card d) → BenesCoins d → ℕ | 0, _, _, _, _ => 0 | d+1, ι, _, e, ω => if d+1 ≤ H then crowdedMass (Fintype.card ι) else let σ := benesStepEquiv d ω …Mentions: OAI.CubeShuffle.Card, OAI.CubeShuffle.BenesCoins, OAI.CubeShuffle.crowdedMass, OAI.CubeShuffle.benesStepEquiv
- lemma
OAI.CubeShuffle.palindromeLowCost_eqline 635 - lemma
OAI.CubeShuffle.palindromeLowCost_le_cutoffline 645 - def
OAI.CubeShuffle.centralBlockline 661 - lemma
OAI.CubeShuffle.mem_centralBlockline 664 - lemma
OAI.CubeShuffle.centralBlock_cardline 676 - lemma
OAI.CubeShuffle.centralBlock_disjointline 683 - lemma
OAI.CubeShuffle.centralBlock_zeroline 692 - lemma
OAI.CubeShuffle.centralBlock_stepline 698 - lemma
OAI.CubeShuffle.block_inter_stepline 704 - lemma
OAI.CubeShuffle.sparseMass_central_zeroline 720 - lemma
OAI.CubeShuffle.sparseMass_central_stepline 726 - lemma
OAI.CubeShuffle.inverseButterfly_coordinates_stepline 748 - lemma
OAI.CubeShuffle.inverseButterflyMarks_childline 759 - lemma
OAI.CubeShuffle.inverseButterflyMarks_cardline 799 - lemma
OAI.CubeShuffle.benes_input_coordinatesline 804 - lemma
OAI.CubeShuffle.cutoffMass_centralline 810 - theorem
OAI.CubeShuffle.palindrome_low_mgfline 844Source documentation
Actual low-height cycle mass of the Beneš routing, with fair input coins. There is no independence assumption on marked positions.
theorem palindrome_low_mgf (r H : ℕ) {ι : Type*} [Fintype ι] (e : ι ↪ Card (H+r)) (q : ℝ) (hq : 1 ≤ q) (hr : (2:ℝ)^H*((Fintype.card ι/(2:ℝ)^(H+r))*q^H) ≤ 1/2) : finiteMean (fun ω : BenesCoins (H+r) => q^(palindromeLowCost H (H+r) e ω)) ≤ Real.exp ((2:ℝ)^r * (2 * ((2:ℝ)^H*((Fintype.card ι/(2:ℝ)^(H+r))*q^H))^2)) := by …Mentions: OAI.CubeShuffle.Card, OAI.CubeShuffle.finiteMean, OAI.CubeShuffle.BenesCoins, OAI.CubeShuffle.palindromeLowCost