OAI/Combinatorics/ContingencyTables/Transport/TransversalCount.lean
11 declarations, 0 contain sorry, 0 declared as axioms
Exact binomial/factorial cancellation in a transversal normalizer
Every small integer profile has a product of binomial numbers of label preimages. Its factorial lift contributes the inverse product, so the actual transversal normalizer is exactly the raw integer-profile sum.
- def
OAI.ContingencyTables.TransversalCount.Profileline 21 - def
OAI.ContingencyTables.TransversalCount.cardAtline 23 - def
OAI.ContingencyTables.TransversalCount.cardProfileline 26 - def
OAI.ContingencyTables.TransversalCount.displayline 29 - lemma
OAI.ContingencyTables.TransversalCount.local_fiberline 33 - lemma
OAI.ContingencyTables.TransversalCount.profile_fiberline 54 - theorem
OAI.ContingencyTables.TransversalCount.choices_sumline 74Source documentation
Pushforward of the actual finite labelled-choice weights is counting measure on the bounded integer profiles.
theorem choices_sum (H : Profile b → ℝ) : (∑ S : ((c : C) → Finset (Fin (b c))),H (cardProfile b S)* ∏ c,InitialLocalChoices.localWeight (b c) 0 0 (S c))=∑ x : Profile b,H x := by …Mentions: OAI.ContingencyTables.TransversalCount.Profile, OAI.ContingencyTables.TransversalCount.cardProfile, OAI.ContingencyTables.InitialLocalChoices.localWeight
- lemma
OAI.ContingencyTables.TransversalCount.count_encodeline 87 - lemma
OAI.ContingencyTables.TransversalCount.firstLift_encodeline 96 - theorem
OAI.ContingencyTables.TransversalCount.slotTotal_eq_profilesline 108Source documentation
The literal factorial lift's transversal normalizer is the original integer-profile count, for arbitrary raw h and arbitrary capacities.
theorem slotTotal_eq_profiles (h : (C×Bool → ℕ) → ℝ) : slotTotal pairs (firstLift (group (cell b)) h (InitialTransversals.denominator b)) ∅= ∑ x : Profile b,h (display b x) := by …Mentions: OAI.ContingencyTables.InitialTransversals.denominator, OAI.ContingencyTables.TransversalCount.Profile, OAI.ContingencyTables.TransversalCount.display
- theorem
OAI.ContingencyTables.CompanionTransversalCount.total_eq_raw_profilesline 136Source documentation
Exact binomial/factorial cancellation for the manuscript's literal softened completion count, including the terminal annealing parameter.
theorem total_eq_raw_profiles (A : Instance I J) (alpha : ℝ) : slotTotal pairs (f A alpha) ∅= ∑ x : TransversalCount.Profile (fun s : SmallCell A => A.b s.val.1 s.val.2), h A alpha (TransversalCount.display (fun s : SmallCell A => A.b s.val.1 s.val.2) x) := by …Mentions: OAI.ContingencyTables.TransversalCount.Profile, OAI.ContingencyTables.TransversalCount.display