pith. machine review for the scientific record. sign in
def

sampleW

definition
show as:
view math explainer →
module
IndisputableMonolith.Streams.Blocks
domain
Streams
line
159 · github
papers citing
none yet

open explainer

Generate a durable explainer page for this declaration.

open lean source

IndisputableMonolith.Streams.Blocks on GitHub at line 159.

browse module

All declarations in this module, on Recognition.

explainer page

Tracked in the explainer inventory; generation is lazy so crawlers do not trigger LLM jobs.

open explainer

depends on

formal source

 156open PatternLayer MeasurementLayer
 157
 158/-- Example 8‑bit window: ones at even indices (Z=4). -/
 159def sampleW : PatternLayer.Pattern 8 := fun i => decide (i.1 % 2 = 0)
 160
 161-- Example checks (can be evaluated in an interactive session)
 162-- #eval PatternLayer.Z_of_window sampleW
 163-- #eval MeasurementLayer.observeAvg8 3 (PatternLayer.extendPeriodic8 sampleW)
 164
 165end Examples
 166
 167end IndisputableMonolith