OAI/Combinatorics/ContingencyTables/Sampling/FirstPaperLocalNeighbors.lean
10 declarations, 0 contain sorry, 0 declared as axioms
Arithmetic enumeration of the first-paper chain's neighbors
The list is obtained from ordered coordinate and cell pairs, then filtered by arithmetic edge and feasibility tests. It never enumerates all states.
- def
OAI.ContingencyTables.SmallGraphProfiles.ArithmeticRepairline 32Source documentation
A directed repair is identified by its two defect cells.
def ArithmeticRepair (v w : SmallProfile small) : Prop := …
- def
OAI.ContingencyTables.SmallGraphProfiles.ArithmeticEdgeline 38Source documentation
All predicates are bounded integer-coordinate tests.
def ArithmeticEdge (v w : SmallProfile small) : Prop := …
- lemma
OAI.ContingencyTables.SmallGraphProfiles.arithmeticRepair_iffline 42 - theorem
OAI.ContingencyTables.SmallGraphProfiles.arithmeticEdge_iffline 65Source documentation
On actual states the arithmetic test is exactly the graph relation used in the Poincare and mixing proofs.
theorem arithmeticEdge_iff (x y : PaperStates r c) : ArithmeticEdge r c (profile x) (profile y) ↔ physicalAdjacent r c U L B (stateCapacity_small r c) x y := by …Mentions: OAI.ContingencyTables.SmallGraphProfiles.PaperStates, OAI.ContingencyTables.SmallGraphProfiles.ArithmeticEdge, OAI.ContingencyTables.SmallGraphProfiles.physicalAdjacent, OAI.ContingencyTables.SmallGraphProfiles.stateCapacity_small
- def
OAI.ContingencyTables.SmallGraphProfiles.localCandidatesline 89 - lemma
OAI.ContingencyTables.SmallGraphProfiles.localCandidates_cardline 92 - def
OAI.ContingencyTables.SmallGraphProfiles.localNeighborListline 107Source documentation
Passing candidates are decoded with the arithmetic feasibility test.
def localNeighborList (x : PaperStates r c) : List (PaperStates r c) := …
Mentions: OAI.ContingencyTables.SmallGraphProfiles.PaperStates
- lemma
OAI.ContingencyTables.SmallGraphProfiles.localNeighborList_nodupline 111 - theorem
OAI.ContingencyTables.SmallGraphProfiles.mem_localNeighborListline 120 - theorem
OAI.ContingencyTables.SmallGraphProfiles.localNeighborList_lengthline 136