Pattern
Streams defines Pattern n as the type of all binary sequences of exact length n. Modelers of periodic forcing chains or ledger cycles cite this when constructing finite windows for J-cost calculations or recognition passes. The definition is a direct type abbreviation with no proof content or additional axioms.
claimA pattern of length $n$ is any function $P : [n] → {0,1}$, where $[n] = {0,…,n-1}$ denotes the standard finite set of size $n$.
background
The Streams module treats periodic extensions and finite sums over binary windows. Pattern n is the local abbreviation for a finite binary window of length n, matching the upstream definition in Patterns.Pattern (d : Nat) := Fin d → Bool and the sibling in Blocks.Pattern. It is used together with the integer map Z from Anchor, which counts the number of true entries in such a window to produce the sector-dependent integer employed in anchor relations and mass formulas.
proof idea
One-line definition that directly sets Pattern n equal to the function type Fin n → Bool, inheriting the structure already present in the upstream Patterns and Blocks modules.
why it matters in Recognition Science
This definition supplies the finite pattern type required by downstream results such as is_recognition_loop in SimplicialLedger (which demands a surjective pass through Pattern 3) and by ionization_monotone_within_period and lambda_PBM_approx. It supports the eight-tick octave construction (T7) by providing the basic objects that extend periodically with period 8, closing the interface between raw binary windows and the forcing-chain steps that reach D = 3 and the alpha band.
scope and limits
- Does not assign concrete boolean values to any position.
- Does not encode periodicity or extension rules.
- Does not define summation, J-cost, or defect measures on the window.
- Does not link the pattern to physical units or constants.
formal statement (Lean)
14def Pattern (n : Nat) := Fin n → Bool
proof body
Definition body.
15
16/-- Integer functional `Z` counting ones in a finite window. -/
used by (40)
-
lambda_PBM_approx -
ionization_monotone_within_period -
entries_distinct -
anomaly_dissolved -
is_recognition_loop -
recognition_loop_has_surjection -
impulse_after_octaves_mono_decay -
octavePeriod_eq_eight -
octavePeriod_is_minimal_cover -
VolcanicForcingAsJCostImpulseCert -
utm_exists -
ledgerVecParity -
parityPattern -
parity -
attempt5 -
blockSumAligned8_periodic -
Cylinder -
firstBlockSum_eq_Z_on_cylinder -
observeAvg8_periodic_eq_Z -
Pattern -
subBlockSum8_periodic_eq_Z -
Z_of_window -
eight_tick_neutral_implies_exact -
isNeutralWindow -
eight_tick_minimal -
C2_scope -
C3_scope -
card_pattern -
CompleteCover -
cover_exact_pow