OAI/Combinatorics/ContingencyTables/Dense/DenseWalkTabulation.lean
35 declarations, 0 contain sorry, 0 declared as axioms
Canonical dense-walk tabulation from binary margins and precision
- abbrev
OAI.ContingencyTables.DensePrograms.TabulationDataline 13 - def
OAI.ContingencyTables.DensePrograms.tabulationDimensionline 15 - def
OAI.ContingencyTables.DensePrograms.tabulationStepsline 18 - def
OAI.ContingencyTables.DensePrograms.tabulationStepsRealizerline 20 - lemma
OAI.ContingencyTables.DensePrograms.polynomial_tabulationStepsline 27 - def
OAI.ContingencyTables.DensePrograms.tabulationAllowanceline 37 - def
OAI.ContingencyTables.DensePrograms.tabulationAllowanceRealizerline 39 - lemma
OAI.ContingencyTables.DensePrograms.polynomial_tabulationAllowanceline 44 - def
OAI.ContingencyTables.DensePrograms.tabulationDenominatorInputline 52 - def
OAI.ContingencyTables.DensePrograms.tabulationDenominatorInputRealizerline 55 - lemma
OAI.ContingencyTables.DensePrograms.polynomial_tabulationDenominatorInputline 58 - def
OAI.ContingencyTables.DensePrograms.tabulationDenominatorline 62 - def
OAI.ContingencyTables.DensePrograms.tabulationDenominatorRealizerline 65 - def
OAI.ContingencyTables.DensePrograms.tabulationDimensionsline 68 - def
OAI.ContingencyTables.DensePrograms.tabulationDimensionsRealizerline 71 - lemma
OAI.ContingencyTables.DensePrograms.polynomial_tabulationDimensionsline 76 - lemma
OAI.ContingencyTables.DensePrograms.tabulationDimensions_lengthline 81 - def
OAI.ContingencyTables.DensePrograms.tabulationCountInputline 85 - def
OAI.ContingencyTables.DensePrograms.tabulationCountInputRealizerline 89 - def
OAI.ContingencyTables.DensePrograms.tabulationMeasureline 95 - lemma
OAI.ContingencyTables.DensePrograms.weight_le_measureline 99 - lemma
OAI.ContingencyTables.DensePrograms.polynomial_workline 103Distinct definitions of this name: OAI/Combinatorics/ContingencyTables/Dense/DenseDrawTabulation.lean:98 (different declaration text). Qualify references as OAI.ContingencyTables.DensePrograms.polynomial_work@path.
- lemma
OAI.ContingencyTables.DensePrograms.paired_workline 107Distinct definitions of this name: OAI/Combinatorics/ContingencyTables/Dense/DenseDrawTabulation.lean:102 (different declaration text). Qualify references as OAI.ContingencyTables.DensePrograms.paired_work@path.
- lemma
OAI.ContingencyTables.DensePrograms.work_tabulationDenominatorline 113 - lemma
OAI.ContingencyTables.DensePrograms.work_tabulationCountInputline 122 - lemma
OAI.ContingencyTables.DensePrograms.tabulation_enumerationMeasureline 136 - lemma
OAI.ContingencyTables.DensePrograms.work_tabulationEnumerationline 142 - def
OAI.ContingencyTables.DensePrograms.tabulationInputline 153 - def
OAI.ContingencyTables.DensePrograms.tabulationInputRealizerline 156 - lemma
OAI.ContingencyTables.DensePrograms.work_tabulationInputline 162 - def
OAI.ContingencyTables.DensePrograms.tabulateDenseWalkline 174 - def
OAI.ContingencyTables.DensePrograms.tabulateDenseWalkRealizerline 176 - theorem
OAI.ContingencyTables.DensePrograms.work_tabulateDenseWalkline 181Source documentation
Binary matrix propagation computes all walk numerators in polynomial work in the explicit state count and the scheduled number of steps.
theorem work_tabulateDenseWalk : WorkBound tabulateDenseWalkRealizer tabulationMeasure := …
Mentions: OAI.ContingencyTables.DensePrograms.tabulateDenseWalkRealizer, OAI.ContingencyTables.DensePrograms.tabulationMeasure
- lemma
OAI.ContingencyTables.DensePrograms.tabulationDimension_codeline 184 - theorem
OAI.ContingencyTables.DensePrograms.tabulateDenseWalk_actualline 191Source documentation
The caller computes its grid, zero starting state and full iteration schedule from the margins. No state list or probability oracle is supplied.
theorem tabulateDenseWalk_actual {m n d : ℕ} (R : Option (Fin m) → ℕ) (P : Option (Fin n) → ℕ) (hq : m*n≤d) (hd : 0<d) (h : ℕ) : tabulateDenseWalk ((marginCode R,marginCode P),(d,h))= List.ofFn (fun i => IntegerPropagation.numerators (denseTransitionCount R P d finProdFinEquiv) (canonicalOrigin (m*n) d hd) (d^50*(h+1)^2) (gridEnumeration (m*n) (4*d^8) i)) := by …Mentions: OAI.ContingencyTables.DensePrograms.tabulateDenseWalk, OAI.ContingencyTables.DensePrograms.marginCode, OAI.ContingencyTables.IntegerPropagation.numerators, OAI.ContingencyTables.DensePrograms.canonicalOrigin, OAI.ContingencyTables.DensePrograms.gridEnumeration