OAI/Combinatorics/ContingencyTables/Sampling/ProfileExchangeCandidates.lean
11 declarations, 0 contain sorry, 0 declared as axioms
A polynomial binary program listing all coordinate exchanges
- def
OAI.ContingencyTables.ProfilePrograms.profileIndicesline 11 - lemma
OAI.ContingencyTables.ProfilePrograms.polynomial_profileIndicesline 14 - def
OAI.ContingencyTables.ProfilePrograms.exchangeRowline 19 - def
OAI.ContingencyTables.ProfilePrograms.exchangeRowRealizerline 22 - lemma
OAI.ContingencyTables.ProfilePrograms.polynomial_exchangeRowline 28 - def
OAI.ContingencyTables.ProfilePrograms.allExchangesline 37 - def
OAI.ContingencyTables.ProfilePrograms.allExchangesRealizerline 40 - theorem
OAI.ContingencyTables.ProfilePrograms.polynomial_allExchangesline 43 - lemma
OAI.ContingencyTables.ProfilePrograms.exchangeRow_lengthline 48 - theorem
OAI.ContingencyTables.ProfilePrograms.allExchanges_lengthline 51 - theorem
OAI.ContingencyTables.ProfilePrograms.mem_allExchanges_ofFnline 57Source documentation
Every generated vector is an actual ordered-coordinate update, and every such update occurs. Duplicate profiles can be removed later.
theorem mem_allExchanges_ofFn {n : ℕ} (v : Fin n → ℕ) (xs : List ℕ) : xs ∈ allExchanges (List.ofFn v) ↔ ∃ i j : Fin n,xs=List.ofFn (IntegerWeightedTransport.exchangeTarget v i j) := by …Mentions: OAI.ContingencyTables.ProfilePrograms.allExchanges, OAI.ContingencyTables.IntegerWeightedTransport.exchangeTarget