OAI/Combinatorics/ContingencyTables/Transport/ResidualEnumerationBounds.lean
14 declarations, 0 contain sorry, 0 declared as axioms
The completion boxes used at arbitrary enumerated profiles
- lemma
OAI.ContingencyTables.ProfilePrograms.completionEnumeration_countline 12 - lemma
OAI.ContingencyTables.ProfilePrograms.completionEnumeration_count_leline 18 - lemma
OAI.ContingencyTables.ProfilePrograms.swapZeroList_lengthline 27 - lemma
OAI.ContingencyTables.ProfilePrograms.swapZeroList_sum_leline 31 - lemma
OAI.ContingencyTables.ProfilePrograms.normalizedCompletion_count_leline 40 - lemma
OAI.ContingencyTables.ProfilePrograms.canonicalCompletion_count_leline 48 - def
OAI.ContingencyTables.ProfilePrograms.profilePaddingDataline 53 - lemma
OAI.ContingencyTables.ProfilePrograms.profilePaddedMargins_lengthline 58 - lemma
OAI.ContingencyTables.ProfilePrograms.profilePaddedMargins_sumline 63 - lemma
OAI.ContingencyTables.ProfilePrograms.profilePaddedMargins_sum_ofFnline 70 - lemma
OAI.ContingencyTables.ProfilePrograms.profileCompletion_countline 79Source documentation
This bound is independent of the values in the two proposed small views. In particular it applies before the validity test accepts them.
lemma profileCompletion_count (z : ProfileCheckData×ℕ) : gridStateCount (completionEnumerationData (profilePaddedMargins true z,profilePaddedMargins false z)) ≤ (z.1.1.2.1.length*(z.1.1.2.1.sum+z.1.1.2.2.length*z.2)+1)^ (z.1.1.2.1.length*z.1.1.2.2.length) := by …Mentions: OAI.ContingencyTables.ProfilePrograms.ProfileCheckData, OAI.ContingencyTables.ProfilePrograms.profilePaddedMargins
- lemma
OAI.ContingencyTables.SmallGraphProfiles.padded_base_boundline 98 - lemma
OAI.ContingencyTables.SmallGraphProfiles.arbitrary_profile_margin_sumline 120Source documentation
All profile proposals have a singly exponential completion box, including proposals rejected by the chain's validity test.
lemma arbitrary_profile_margin_sum {m n : ℕ} (r : Fin m → ℕ) (c : Fin n → ℕ) (v : ProfileCheckData) (hr : v.1.2.1=List.ofFn r) (hc : v.1.2.2=List.ofFn c) : let dim := dimensionAllowance (I := Fin m) (J := Fin n) … - lemma
OAI.ContingencyTables.SmallGraphProfiles.arbitrary_profile_completion_countline 143