noncomputable def
MindFormal.Replay.cueDensity
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
(G : PhysicalGlobalData N n T Λ)
(ell : T → Fin n → ℝ)
(i j o : Fin N)
(t : ℝ)
:
Equations
- MindFormal.Replay.cueDensity G ell i j o t = MindFormal.Replay.eligibility G i j t * ∑ a : T, MindFormal.Replay.cueRate G o a t * MindFormal.Replay.cueValue G ell o a t
Instances For
theorem
MindFormal.Replay.secondary_density
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
(G : PhysicalGlobalData N n T Λ)
(identity_response : ∀ (z : Fin n → ℝ), G.data.response z = z)
(ell : T → Fin n → ℝ)
(i j o : Fin N)
(t : ℝ)
:
The full identity response splits one cue from every other prediction and the original primary reward. All horizons and rates are retained.
theorem
MindFormal.Replay.secondary_credit
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
(G : PhysicalGlobalData N n T Λ)
(identity_response : ∀ (z : Fin n → ℝ), G.data.response z = z)
(ell : T → Fin n → ℝ)
(i j o : Fin N)
{H : ℝ}
(hH : 0 ≤ H)
(hcue : IntervalIntegrable (cueDensity G ell i j o) MeasureTheory.volume 0 H)
(hrest : IntervalIntegrable (restDensity G ell i j o) MeasureTheory.volume 0 H)
:
SA4 on the complete history. Integrability is the entry's finite or stopped integral condition, not an assumed credit or score conclusion.
theorem
MindFormal.Replay.maintained_credit
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
(G : PhysicalGlobalData N n T Λ)
(o i j : Fin N)
(a : T)
(ell : T → Fin n → ℝ)
{H : ℝ}
(hH : 0 < H)
(hτ : 0 < G.data.τ a)
(held : ∀ t ∈ Set.Ioo 0 H, G.dp t o = 0)
(positive : ∀ t ∈ Set.Ioo 0 H, 0 < eligibility G i j t ∧ 0 < G.p t o ∧ 0 < cueValue G ell o a t)
(hi :
IntervalIntegrable (fun (t : ℝ) => eligibility G i j t * cueRate G o a t * cueValue G ell o a t) MeasureTheory.volume
0 H)
:
A maintained positive cue has negative integrated secondary credit when eligibility and the signed cue value stay positive on a positive interval.