OAI/Combinatorics/ContingencyTables/Sampling/SmallComplementProgram.lean
7 declarations, 0 contain sorry, 0 declared as axioms
Binary execution of the complemented small column view
- def
OAI.ContingencyTables.ProfilePrograms.complementValuesline 11 - def
OAI.ContingencyTables.ProfilePrograms.complementValuesRealizerline 13 - theorem
OAI.ContingencyTables.ProfilePrograms.polynomial_complementValuesline 15 - lemma
OAI.ContingencyTables.ProfilePrograms.complementValues_ofFnline 18 - theorem
OAI.ContingencyTables.SmallGraphProfiles.lookupComplement_eqline 34Source documentation
The arithmetic complement needs no underflow assumption: it agrees with the natural subtraction already present in the physical view.
theorem lookupComplement_eq (B : Fin m → Fin n → ℕ) (z : SmallProfile small) (U : ℕ) (hU : ∀ a : Cells small,B a.val.1 a.val.2=U) (i : Fin m) (j : Fin n) : lookupView ((cellCatalog small e,complementValues (U,viewList small e z true)),(i.val,j.val))= smallQ small B z i j := by …Mentions: OAI.ContingencyTables.SmallGraphProfiles.cellCatalog, OAI.ContingencyTables.SmallGraphProfiles.viewList
- theorem
OAI.ContingencyTables.SmallGraphProfiles.complementedColumnSum_eqline 47 - theorem
OAI.ContingencyTables.SmallGraphProfiles.storedRowSum_eqline 65