Paper 2, attention timing, §7: the prepared readout (24). For finitely many value points P ℓ
in ℝ² with assigned scores υ ℓ, Y(v) = min_{ℓ'} {υ ℓ' + L_Y Σ_d [P ℓ' d − v_d]₊} with
L_Y = max(1, max_{υ ℓ > υ ℓ'} (υ ℓ − υ ℓ')/Σ_d [P ℓ' d − P ℓ d]₊). When every higher-scored point
has a positive deficit, Y interpolates the scores, is globally Lipschitz, nonincreasing in each
value element and constant in activity: IV's signature, nothing added.
The coordinate deficit Σ_d [P ℓ' d − v_d]₊.
Equations
- MindFormal.A1029AttentionTiming.deficit p v = ∑ d : Fin 2, max (p d - v d) 0
Instances For
noncomputable def
MindFormal.A1029AttentionTiming.readValue
{I : Type u_1}
[Fintype I]
[Nonempty I]
(P : I → Fin 2 → ℝ)
(υ : I → ℝ)
(v : Fin 2 → ℝ)
:
(24)'s readout on value pairs.
Equations
- MindFormal.A1029AttentionTiming.readValue P υ v = Finset.univ.inf' ⋯ fun (ℓ : I) => υ ℓ + MindFormal.A1029AttentionTiming.readConst P υ * MindFormal.A1029AttentionTiming.deficit (P ℓ) v
Instances For
theorem
MindFormal.A1029AttentionTiming.readValue_lower
{I : Type u_1}
[Fintype I]
[Nonempty I]
(P : I → Fin 2 → ℝ)
(υ : I → ℝ)
(hdef : ∀ (ℓ ℓ' : I), υ ℓ' < υ ℓ → 0 < deficit (P ℓ') (P ℓ))
(ℓ : I)
(v : Fin 2 → ℝ)
:
Interpolation (lower half). If every higher-scored point has a positive deficit, every term
of Y at v is at least υ ℓ − L_Y Σ_d |v_d − P ℓ d|.
The value pair read from IV's argument.
Equations
- MindFormal.A1029AttentionTiming.readPair z d = (↑z).2 d ()
Instances For
theorem
MindFormal.A1029AttentionTiming.scheduleRead_lipschitz
{I : Type u_1}
[Fintype I]
[Nonempty I]
(P : I → Fin 2 → ℝ)
(υ : I → ℝ)
:
LipschitzWith (2 * readConst P υ).toNNReal ⇑(scheduleRead P υ)