structure
definition
LockPhasePrediction
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.RRF.Hypotheses.EightTick on GitHub at line 100.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
formal source
97 ((ticks t).get ⟨i, hi⟩).next = (ticks t).get ⟨next_i, hn⟩
98
99/-- Prediction obligation: LOCK phases should show structural change. -/
100structure LockPhasePrediction (Event : Type*) where
101 /-- Metric for structural change. -/
102 structuralChange : Event → ℝ
103 /-- LOCK phases have higher structural change. -/
104 lock_higher : ∀ (trace : TickedTrace Event) (i j : Fin trace.events.length),
105 (trace.phase i).isLock → (trace.phase j).isBalance →
106 structuralChange (trace.events[i]) ≥ structuralChange (trace.events[j])
107
108/-! ## Falsification Interface -/
109
110/-- A falsification witness: a trace where 8-tick doesn't work. -/
111structure EightTickFalsifier (Event : Type*) where
112 /-- The observed trace. -/
113 trace : List Event
114 /-- The optimal periodicity (not 8). -/
115 optimalPeriod : ℕ
116 /-- The optimal period is not 8. -/
117 not_eight : optimalPeriod ≠ 8
118 /-- Evidence that this period works better (abstract). -/
119 works_better : True -- Placeholder for a concrete metric
120
121/-- Alternative: 4-tick (half cycle) or 16-tick (double cycle) might also work. -/
122def validAlternativePeriods : List ℕ := [4, 8, 16]
123
124/-- If a falsifier exists with period outside valid alternatives, it's strong evidence. -/
125def strongFalsifier (E : Type*) (f : EightTickFalsifier E) : Prop :=
126 f.optimalPeriod ∉ validAlternativePeriods
127
128end RRF.Hypotheses
129end IndisputableMonolith