OAI/Combinatorics/ContingencyTables/Machines/PairedFactorialProgram.lean
21 declarations, 0 contain sorry, 0 declared as axioms
The exact factorial multiplier from the encoded paired state
Every factorial argument is bounded by the supplied code length. In a valid code each cell block has length twice its capacity, so the computed denominator is exactly the manuscript's capacity factorial.
- def
OAI.ContingencyTables.PairedFactorialProgram.sideFactorline 19 - def
OAI.ContingencyTables.PairedFactorialProgram.sideFactorRealizerline 20 - lemma
OAI.ContingencyTables.PairedFactorialProgram.polynomial_sideFactorline 21 - def
OAI.ContingencyTables.PairedFactorialProgram.pairCountline 27 - def
OAI.ContingencyTables.PairedFactorialProgram.pairCountRealizerline 28 - lemma
OAI.ContingencyTables.PairedFactorialProgram.polynomial_pairCountline 30 - def
OAI.ContingencyTables.PairedFactorialProgram.denominatorline 34 - def
OAI.ContingencyTables.PairedFactorialProgram.denominatorRealizerline 35 - lemma
OAI.ContingencyTables.PairedFactorialProgram.polynomial_denominatorline 36 - def
OAI.ContingencyTables.PairedFactorialProgram.numeratorline 41 - def
OAI.ContingencyTables.PairedFactorialProgram.numeratorRealizerline 42 - lemma
OAI.ContingencyTables.PairedFactorialProgram.polynomial_numeratorline 50 - def
OAI.ContingencyTables.PairedFactorialProgram.rowRatioline 57 - def
OAI.ContingencyTables.PairedFactorialProgram.rowRatioRealizerline 59 - lemma
OAI.ContingencyTables.PairedFactorialProgram.polynomial_rowRatioline 61 - def
OAI.ContingencyTables.PairedFactorialProgram.outputline 65 - def
OAI.ContingencyTables.PairedFactorialProgram.outputRealizerline 67 - theorem
OAI.ContingencyTables.PairedFactorialProgram.polynomial_outputline 70 - lemma
OAI.ContingencyTables.PairedFactorialProgram.rowRatio_valueline 74 - theorem
OAI.ContingencyTables.PairedFactorialProgram.output_canonicalline 87 - theorem
OAI.ContingencyTables.PairedFactorialProgram.output_physicalline 110Source documentation
The multiplier used by the executed weight oracle is the literal factorial ratio, for every subset, not just transversal states.
theorem output_physical (S : Set (Labels A × Bool)) : TreeFraction.val (output (List.ofFn (CompanionComputedInitial.capacities A), encodeSet (CompanionComputedInitial.coordinateOrder A) S))= CompanionWeightOracle.factorialRatio A S := by …Mentions: OAI.ContingencyTables.PairedFactorialProgram.output, OAI.ContingencyTables.CompanionComputedInitial.capacities, OAI.ContingencyTables.CompanionComputedInitial.coordinateOrder, OAI.ContingencyTables.CompanionWeightOracle.factorialRatio