OAI/Combinatorics/ContingencyTables/Sampling/SmallProfileCode.lean
8 declarations, 0 contain sorry, 0 declared as axioms
Literal lists encode exactly the positive physical states
- def
OAI.ContingencyTables.SmallGraphProfiles.profileCodeline 15 - def
OAI.ContingencyTables.SmallGraphProfiles.profileOfCodeline 18 - lemma
OAI.ContingencyTables.SmallGraphProfiles.profileOfCode_codeline 21 - theorem
OAI.ContingencyTables.SmallGraphProfiles.profileCode_injectiveline 30 - lemma
OAI.ContingencyTables.SmallGraphProfiles.ofFn_getDline 35 - lemma
OAI.ContingencyTables.SmallGraphProfiles.profileCode_ofCodeline 43 - def
OAI.ContingencyTables.SmallGraphProfiles.codeCheckDataline 51 - theorem
OAI.ContingencyTables.SmallGraphProfiles.profileTest_code_iffline 56Source documentation
For arbitrary input lists, the Boolean program succeeds exactly when those lists encode an actual positive-completion state.
theorem profileTest_code_iff (r : Fin m → ℕ) (c : Fin n → ℕ) (htotal : (∑ i,r i)=∑ j,c j) (e : Fin q ≃ Cells (paperSmall r c)) (v : List ℕ×List ℕ) : profileTest (codeCheckData (cellCatalog (paperSmall r c) e) (List.ofFn r) (List.ofFn c) ((dimensionAllowance (I := Fin m) (J := Fin n))^20) v)=true ↔ …Mentions: OAI.ContingencyTables.SmallGraphProfiles.codeCheckData, OAI.ContingencyTables.SmallGraphProfiles.cellCatalog