Z_of_window
Z_of_window counts the number of 1-bits inside a finite pattern window of length n. Measurement and stream theorists cite it when equating block sums on periodic extensions or cylinders to the window content. The declaration is a one-line re-export from the underlying PatternLayer.
claimFor a pattern $w$ of length $n$, let $Z(w)$ denote the integer equal to the number of positions at which $w$ equals 1.
background
The Measurement module re-exports eight-tick stream invariants together with a lightweight continuous-time scaffold. Pattern n is the type of finite binary windows of length n. Z_of_window is the integer functional that simply tallies the 1-bits inside such a window. Upstream structures supply the J-cost convexity, the phi-ladder tiers, and the spectral emergence that fix the discrete measurement rules used throughout the layer.
proof idea
One-line wrapper that applies PatternLayer.Z_of_window to the supplied pattern.
why it matters in Recognition Science
The definition is the common target of the measurement lemmas blockSumAligned8_periodic, firstBlockSum_eq_Z_on_cylinder, observeAvg8_periodic_eq_Z and subBlockSum8_periodic_eq_Z. It supplies the right-hand side for the DNARP equations on periodic 8-tick streams and thereby closes the measurement step inside the eight-tick octave (T7) of the forcing chain.
scope and limits
- Does not compute the numerical value for any concrete window.
- Does not restrict the length n to 8.
- Does not encode the continuous-time CQ score.
- Does not assume periodicity of the underlying stream.
formal statement (Lean)
23abbrev Z_of_window {n : Nat} (w : Pattern n) : Nat := PatternLayer.Z_of_window w
proof body
Definition body.
24
25/-- Cylinder set of streams matching a window. -/
used by (18)
-
blockSumAligned8_periodic -
firstBlockSum_eq_Z_on_cylinder -
observeAvg8_periodic_eq_Z -
subBlockSum8_periodic_eq_Z -
sumFirst8_extendPeriodic_eq_Z -
sumFirst_eq_Z_on_cylinder -
Z_of_window -
Z_of_window_nonneg -
Z_of_window_zero -
blockSumAligned8_periodic -
blockSum_equals_Z_on_cylinder_first -
firstBlockSum_eq_Z_on_cylinder -
observeAvg8_periodic_eq_Z -
sampleW -
subBlockSum8_periodic_eq_Z -
sumFirst8_extendPeriodic_eq_Z -
sumFirst_eq_Z_on_cylinder -
Z_of_window