OAI/Combinatorics/ContingencyTables/Sampling/ExactMatrixLookup.lean
2 declarations, 0 contain sorry, 0 declared as axioms
Feasibility of every decoded candidate in the exact branch
- lemma
OAI.ContingencyTables.ExactMatrixTrial.lookup_indexline 15 - lemma
OAI.ContingencyTables.ExactMatrixTrial.lookup_feasibleline 24Source documentation
Even a malformed index returns the fixed feasible fallback.
lemma lookup_feasible (fallback : Table r c) (i : ℕ) : ∃ X : Table r c, lookup ((originalCandidates (List.ofFn r,List.ofFn c),matrixCode fallback.val),i)= matrixCode X.val := by …Mentions: OAI.ContingencyTables.Table, OAI.ContingencyTables.ExactMatrixTrial.lookup