def
definition
zAtStep
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.Foundation.ArrowOfTime on GitHub at line 38.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
formal source
35 berry_at_step : Fin n_steps → ℝ
36
37/-- Z-complexity at step k: sum of absolute Berry phases up to k. -/
38def zAtStep (seq : TemporalSequence) (k : Fin seq.n_steps) : ℝ :=
39 (Finset.univ.filter (fun i : Fin seq.n_steps => i.val ≤ k.val)).sum
40 (fun i => |seq.berry_at_step i|)
41
42/-- Z is non-negative at every step. -/
43theorem z_nonneg (seq : TemporalSequence) (k : Fin seq.n_steps) :
44 0 ≤ zAtStep seq k := by
45 unfold zAtStep
46 apply Finset.sum_nonneg
47 intro i _; exact abs_nonneg _
48
49/-- Forward direction: adding a step with nonzero Berry phase increases Z. -/
50theorem forward_accumulates (phases : List ℝ) (new_phase : ℝ) (hn : new_phase ≠ 0) :
51 let z_before := (phases.map fun p => |p|).foldl (· + ·) 0
52 let z_after := ((phases ++ [new_phase]).map fun p => |p|).foldl (· + ·) 0
53 z_before < z_after := by
54 simp only
55 rw [List.map_append, List.foldl_append]
56 simp only [List.map_cons, List.map_nil, List.foldl_cons, List.foldl_nil]
57 linarith [abs_pos.mpr hn]
58
59/-- Reversing a loop subtracts phase (opposite sign). -/
60theorem reverse_subtracts (phase : ℝ) :
61 let forward_phase := phase
62 let reverse_phase := -phase
63 forward_phase + reverse_phase = 0 := by
64 simp only
65 ring
66
67/-- Z-complexity uses absolute values, so reversal adds to Z, not subtracts. -/
68theorem z_absolute_immune_to_reversal (phase : ℝ) (hp : phase ≠ 0) :
papers checked against this theorem (showing 4 of 4)
-
Binary spiking LM matches performance at 5 percent compute
"Rate-MSE loss aligns time-averaged spike rates over T steps (Eq. 9, 13)"
-
Decoupled streams model timing mismatches in agent actions
"EP … inherits the decision-theoretic structure of POMDPs while making time explicit … 8-tick micro-structure implied by period-8 neutrality"
-
Object tracking cuts hallucinations in video AI models
"STEMO-Track ... chunk-wise state extraction and temporal aggregation ... 15-second chunks"
-
Entangled clocks scale precision as 1 over total number of clocks
"We now present a precision-enhanced EQC protocol incorporating a quantum phase estimation algorithm... N=2^n ... inverse QFT ... uncertainty proportional to (1/N)"