Finite patterns and rectangle complexity #
Section 1 and the notation in Section 1.1 of paper/nivat.tex.
patterns is the range of the restriction map over every integer translation.
The basic API proves finiteness, restriction surjectivity, monotonicity and
invariance under translations and injective relabeling. Unique extension is
the counting step used in Lemma 5.5 (lem:boundary-window).
The window Rₘ,ₙ = {0, …, m-1} × {0, …, n-1} from Section 1.
Equations
- Nivat.rectangle m n = (Finset.Ico 0 ↑m).product (Finset.Ico 0 ↑n)
Instances For
The restriction of Tᵘc to D, indexed by the sites of D (Section 1).
Equations
- Nivat.patternAt c D u z = c (↑z + u)
Instances For
The set Pat_c(D) of distinct restrictions over all lattice translations (Section 1).
Equations
- Nivat.patterns c D = Set.range (Nivat.patternAt c D)
Instances For
The pattern count P_c(D) from Section 1.
For finite-range configurations, patterns_finite ensures that natural set cardinality
counts this finite set; repeated occurrences contribute only one pattern.
Equations
- Nivat.complexity c D = (Nivat.patterns c D).ncard
Instances For
The signed discrepancy δ_c(D) = P_c(D) - |D| from Section 1.1.
Equations
- Nivat.discrepancy c D = ↑(Nivat.complexity c D) - ↑D.card
Instances For
The origin supplies an occurring pattern on every window (Section 1.1).
A finite alphabet gives finitely many patterns on a finite window (Section 1.1).
Every finite window has at least one occurring pattern (Section 1.1).
The empty window has exactly one pattern (Section 1.1).
Translations of the configuration preserve complexity (Section 1.1).
Restriction of a pattern to a smaller window (Section 1.1).
Equations
- Nivat.restrictPattern hCD p z = p ⟨↑z, ⋯⟩
Instances For
Restriction maps onto all occurring patterns on the smaller window (Section 1.1).
Pattern complexity is monotone under inclusion of windows (Section 1.1).
Injective alphabet labeling preserves every finite-window complexity (Section 1.1).
Equal pattern counts imply unique extension between the two windows.
This is the restriction-bijection step in Lemma 5.5 (lem:boundary-window).
Occurrence of every finite origin pattern implies occurrence at every translate.
This implements the finite-pattern inheritance used in Theorem 2.2 (thm:descent).
Translating the window preserves its complexity (Section 1.1).