OAI/Combinatorics/ContingencyTables/Sampling/FirstPaperInitialization.lean
4 declarations, 0 contain sorry, 0 declared as axioms
Concrete initial state and completion fallbacks
- def
OAI.ContingencyTables.GreedyFeasibleTable.reindexedline 14Source documentation
Reindex the row/column recursion without changing its arithmetic.
noncomputable def reindexed {I J : Type*} [Fintype I] [Fintype J] (r : I → ℕ) (c : J → ℕ) (h : (∑ i,r i)=∑ j,c j) : Table r c := …Mentions: OAI.ContingencyTables.Table
- def
OAI.ContingencyTables.SmallGraphProfiles.initialJointline 36Source documentation
The image of a greedily filled original table is an actual positive small state with its own successful retained completion.
def initialJoint (htotal : (∑ i,r i)=∑ j,c j) : PaperStateJoint r c := …
Mentions: OAI.ContingencyTables.SmallGraphProfiles.PaperStateJoint
- lemma
OAI.ContingencyTables.SmallGraphProfiles.initialJoint_successline 39 - def
OAI.ContingencyTables.SmallGraphProfiles.greedyFibreline 48Source documentation
A fallback is computed for the current residual margins, then moved back through the entry-preserving completion equivalence.
def greedyFibre (z : PaperStates r c) : PaperFibre r c z := …
Mentions: OAI.ContingencyTables.SmallGraphProfiles.PaperStates, OAI.ContingencyTables.SmallGraphProfiles.PaperFibre