OAI/Combinatorics/ContingencyTables/Sampling/SmallGraphProfiles.lean
8 declarations, 0 contain sorry, 0 declared as axioms
The physical small graph and contextual unit exchanges
- def
OAI.ContingencyTables.SmallGraphProfiles.Balancedline 19 - def
OAI.ContingencyTables.SmallGraphProfiles.SingleDefectline 22 - def
OAI.ContingencyTables.SmallGraphProfiles.Patternline 26 - abbrev
OAI.ContingencyTables.SmallGraphProfiles.Profilesline 29 - lemma
OAI.ContingencyTables.SmallGraphProfiles.balanced_not_defectline 32 - lemma
OAI.ContingencyTables.SmallGraphProfiles.assemble_injectiveline 39 - lemma
OAI.ContingencyTables.SmallGraphProfiles.assemble_removeOneline 48Source documentation
Fixing a prefix and reindexing preserves every actual unit removal.
lemma assemble_removeOne (small : I → J → Bool) (s : I×J) (hs : small s.1 s.2=true) (σ : I×J → ℕ) (U : ℕ) {n : ℕ} (e : Fin n ≃ Later small s) (v : Coordinates Bool (widths (fun _ : Fin n => U)) → ℕ) (i : Coordinates Bool (widths (fun _ : Fin n => U))) : assemble small s hs σ U e (removeOne v i)= removeOne (assemble small s hs σ U e v) (contextEquiv small s hs e U (.inr i)) := by … - theorem
OAI.ContingencyTables.SmallGraphProfiles.assemble_exchange_adjacentline 66Source documentation
Every contextual transport edge is an actual doubled-small-coordinate unit exchange, with no move involving the retained prefix.
theorem assemble_exchange_adjacent (small : I → J → Bool) (s : I×J) (hs : small s.1 s.2=true) (σ : I×J → ℕ) (U : ℕ) {n : ℕ} (e : Fin n ≃ Later small s) (X Y : Coordinates Bool (widths (fun _ : Fin n => U)) → ℕ) (hxy : IntegerExchangeAdjacent X Y) : IntegerExchangeAdjacent (assemble small s hs σ U e X) (assemble small s hs σ U e Y) := by …