OAI/Combinatorics/ContingencyTables/Sampling/SmallContextEnumeration.lean
16 declarations, 0 contain sorry, 0 declared as axioms
Physical enumeration of a balanced exposure child
Every later small-cell choice occurs once, with the retained prefix fixed. The large-cell capacities remain the original capacities throughout.
- def
OAI.ContingencyTables.SmallContextEnumeration.splitChoicesline 24 - lemma
OAI.ContingencyTables.SmallContextEnumeration.splitChoices_prefixline 30 - lemma
OAI.ContingencyTables.SmallContextEnumeration.splitChoices_specialline 40 - lemma
OAI.ContingencyTables.SmallContextEnumeration.splitChoices_laterline 50 - def
OAI.ContingencyTables.SmallContextEnumeration.choiceProfileline 60 - lemma
OAI.ContingencyTables.SmallContextEnumeration.choiceProfile_balancedline 70 - def
OAI.ContingencyTables.SmallContextEnumeration.prefixChoicesline 81 - def
OAI.ContingencyTables.SmallContextEnumeration.balancedContextline 86 - lemma
OAI.ContingencyTables.SmallContextEnumeration.balanced_false_determinesline 101 - def
OAI.ContingencyTables.SmallContextEnumeration.suffixChoicesline 123 - def
OAI.ContingencyTables.SmallContextEnumeration.balancedContextEquivline 132 - def
OAI.ContingencyTables.SmallContextEnumeration.prefixRawline 163 - def
OAI.ContingencyTables.SmallContextEnumeration.reindexChoicesline 166 - lemma
OAI.ContingencyTables.SmallContextEnumeration.embedding_coordinate_applyline 174 - lemma
OAI.ContingencyTables.SmallContextEnumeration.physical_embedding_eqline 181 - theorem
OAI.ContingencyTables.SmallContextEnumeration.eliminate_context_eq_balanced_massline 234Source documentation
The recursive transport child is the literal sum over physical bounded balanced profiles, retaining every large completion multiplicity.
theorem eliminate_context_eq_balanced_mass (small : I → J → Bool) (B : I → J → ℕ) (r : I → ℕ) (c : J → ℕ) (L : ℕ) (s : I×J) (hs : small s.1 s.2=true) (σ : I×J → ℕ) (U : ℕ) (hB : ∀ i j, small i j=true → B i j=U) (hσ : ∀ a : Earlier small s, σ a.val.val ≤ U) (k : Fin (U+1)) {n : ℕ} (e : Fin n ≃ Later small s) : eliminate (widths (fun _ : Fin n => U)) (contextHard small B r c L _ (contextEquiv small s hs e U) (prefixRaw small s σ U)) (childProfile U k.val)= ∑ z : BalancedProfiles small B s σ k.val, hardMarginal small B r c L (naturalProfile z.val) := by …Mentions: OAI.ContingencyTables.SmallContextEnumeration.prefixRaw