OAI/Combinatorics/ContingencyTables/Counting/CompanionPhysicalTables.lean
16 declarations, 0 contain sorry, 0 declared as axioms
Feasible physical balanced profiles are exactly bounded contingency tables
- def
OAI.ContingencyTables.CompanionPhysicalTables.physicalTableline 16 - def
OAI.ContingencyTables.CompanionPhysicalTables.Feasibleline 19 - abbrev
OAI.ContingencyTables.CompanionPhysicalTables.PhysicalTablesline 24 - lemma
OAI.ContingencyTables.CompanionPhysicalTables.row_nonnegativeline 26 - lemma
OAI.ContingencyTables.CompanionPhysicalTables.column_nonnegativeline 30 - lemma
OAI.ContingencyTables.CompanionPhysicalTables.physicalTable_assignmentline 34 - lemma
OAI.ContingencyTables.CompanionPhysicalTables.assignment_physicalTableline 43 - def
OAI.ContingencyTables.CompanionPhysicalTables.toBoundedline 50 - def
OAI.ContingencyTables.CompanionPhysicalTables.fromBoundedline 70 - lemma
OAI.ContingencyTables.CompanionPhysicalTables.toBounded_integerline 92 - lemma
OAI.ContingencyTables.CompanionPhysicalTables.fromBounded_tableline 97 - lemma
OAI.ContingencyTables.CompanionPhysicalTables.physicalTable_injectiveline 103 - def
OAI.ContingencyTables.CompanionPhysicalTables.tablesEquivline 113Source documentation
The terminal feasible-profile count is the original bounded-table count, with the instance's necessarily nonnegative margins.
noncomputable def tablesEquiv (A : Instance I J) : PhysicalTables A ≃ BoundedTable (fun i => (A.r i).toNat) (fun j => (A.c j).toNat) A.b where …Mentions: OAI.ContingencyTables.CompanionPhysicalTables.PhysicalTables, OAI.ContingencyTables.BoundedTable
- theorem
OAI.ContingencyTables.CompanionPhysicalTables.cardinality_eqline 132 - theorem
OAI.ContingencyTables.CompanionPhysicalTables.feasible_weight_oneline 137 - theorem
OAI.ContingencyTables.CompanionPhysicalTables.table_count_le_massline 146Source documentation
Every original bounded table contributes exactly one unit, so the actual normalizer always dominates the table count.
theorem table_count_le_mass (A : Instance I J) (alpha : ℝ) : (Fintype.card (BoundedTable (fun i => (A.r i).toNat) (fun j => (A.c j).toNat) A.b):ℝ) ≤ CompanionPhysicalNormalizer.physicalMass A alpha := by …Mentions: OAI.ContingencyTables.BoundedTable, OAI.ContingencyTables.CompanionPhysicalNormalizer.physicalMass