OAI/Combinatorics/ContingencyTables/Counting/CompanionComputedProposal.lean
8 declarations, 0 contain sorry, 0 declared as axioms
The companion proposal with computed metadata
The executable proposal receives only a binary profile and fresh bits. It computes the consecutive-pair catalog itself and scans coordinate exchanges. Its semantic law is the same ordered proposal law.
- def
OAI.ContingencyTables.CompanionComputedProposal.proposalProgramline 20 - def
OAI.ContingencyTables.CompanionComputedProposal.catalogInputRealizerline 23 - def
OAI.ContingencyTables.CompanionComputedProposal.proposalProgramRealizerline 27 - theorem
OAI.ContingencyTables.CompanionComputedProposal.polynomial_proposalProgramline 31 - def
OAI.ContingencyTables.CompanionComputedProposal.pairLabelsline 39 - lemma
OAI.ContingencyTables.CompanionComputedProposal.pair_coordinateline 42 - lemma
OAI.ContingencyTables.CompanionComputedProposal.generated_catalogline 49 - theorem
OAI.ContingencyTables.CompanionComputedProposal.proposalProgram_eqline 63Source documentation
Every proposed code is the encoding of the actual ordered proposal state, and unused binary indices give precisely the same
noneresult.theorem proposalProgram_eq (S : State A) (bits : Fin (proposalBits A) → Bool) : proposalProgram (encodeSet (coordinateOrder A) S.val,List.ofFn bits)= (orderedProposal A (coordinateOrder A) S bits).map (fun T => encodeSet (coordinateOrder A) T.val) := by …Mentions: OAI.ContingencyTables.CompanionComputedProposal.proposalProgram