Testing/restudy: the full practice write, the common unsaturated report route and the three alternative native continuations.
Instances For
theorem
MindFormal.RecallCrossover.signs
{trace link lam eps : ℝ}
(ht : 0 < trace)
(hl : 0 < lam)
(crossover : trace * Real.exp (-lam * delay 1) + eps < link ∧ link < trace * Real.exp (-lam * delay 0) - eps)
(support : Bool → Fin 3 → ℝ)
(remainder : ∀ (q : Fin 3), |support false q - support true q - (trace * Real.exp (-lam * delay q) - link)| ≤ eps)
:
noncomputable def
MindFormal.RecallCrossover.practiceWrite
{Ω : Type u_1}
[MeasurableSpace Ω]
{N n : ℕ}
{T : Type u_2}
{Λ : Type u_3}
{J : Type u_4}
[Fintype T]
[Fintype Λ]
[Fintype J]
{𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J}
(C : LearningRun Ω N n T Λ J 𝒩)
(z : Ω)
(i j : Fin N)
(p : ℝ)
:
The full practice increment uses both writers, actual gain/presence, prediction loss and the native reference's received inputs and focus.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MindFormal.RecallCrossover.practice_difference
{Ω : Type u_1}
[MeasurableSpace Ω]
{N n : ℕ}
{T : Type u_2}
{Λ : Type u_3}
{J : Type u_4}
[Fintype T]
[Fintype Λ]
[Fintype J]
{𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J}
(R Tst : LearningRun Ω N n T Λ J 𝒩)
(z : Ω)
(i j : Fin N)
{p : ℝ}
(hp : 0 ≤ p)
(hR : p ≤ ↑R.horizon)
(hT : p ≤ ↑Tst.horizon)
(entering : R.refCoordinate z (Sum.inl (i, j)) 0 = Tst.refCoordinate z (Sum.inl (i, j)) 0)
:
Tst.refCoordinate z (Sum.inl (i, j)) p - R.refCoordinate z (Sum.inl (i, j)) p = practiceWrite Tst z i j p - practiceWrite R z i j p
theorem
MindFormal.RecallCrossover.native
{Ω : Type u_1}
[MeasurableSpace Ω]
{N n : ℕ}
{T : Type u_2}
{Λ : Type u_3}
{J : Type u_4}
[Fintype T]
[Fintype Λ]
[Fintype J]
(C : Bool × Fin 3 → StateLearning Ω N n T Λ J)
(hC : ∀ (k : Bool × Fin 3), (C k).Contained)
(hu : ∀ (k : Bool × Fin 3), (C k).control.εu = 0)
(mu : MeasureTheory.Measure Ω)
(hmu : ∀ (k : Bool × Fin 3), (C k).run.data.μ = mu)
{K : ℕ}
(label : Bool × Fin 3 → Ω → Fin K → Fin N)
(lo hi : Bool × Fin 3 → Ω → Fin K → ℝ)
(w :
(k : Bool × Fin 3) →
(z : Ω) → z ∈ (C k).run.good → (q : Fin K) → LearningWindowMargins (C k).run z (label k z q) (lo k z q) (hi k z q))
(initial : ∀ (k : Bool × Fin 3) (z : Ω) (hz : z ∈ (C k).run.good) (h : 0 < K), (w k z hz ⟨0, h⟩).phase ≤ 0)
(next :
∀ (k : Bool × Fin 3) (z : Ω) (hz : z ∈ (C k).run.good) (q : Fin K) (h : ↑q + 1 < K),
(w k z hz ⟨↑q + 1, h⟩).phase ≤ lo k z q + (C k).run.data.pause false ∧ hi k z q + (C k).run.data.pause false ≤ hi k z ⟨↑q + 1, h⟩)
(code : Ω → (Fin K → Fin N ⊕ Unit) → ℝ)
(support : Bool → Fin 3 → Ω → ℝ)
(route : Fin 3 → Ω → ℝ → ℝ)
(unsaturated :
∀ (q : Fin 3) (z : Ω),
StrictMonoOn (route q z)
(Set.Icc (min (support false q z) (support true q z)) (max (support false q z) (support true q z))))
(read_map :
∀ (k : Bool × Fin 3) (z : Ω),
(Concepts.consecutivePlan (C k).run K (label k) (lo k) (hi k)).predicted code z = route k.2 z (support k.1 k.2 z))
(trace link : Ω → ℝ)
{lam eps : ℝ}
(positive_trace : ∀ (z : Ω), 0 < trace z)
(positive_rate : 0 < lam)
(crossover :
∀ (z : Ω), trace z * Real.exp (-lam * delay 1) + eps < link z ∧ link z < trace z * Real.exp (-lam * delay 0) - eps)
(remainder :
∀ (z : Ω) (q : Fin 3), |support false q z - support true q z - (trace z * Real.exp (-lam * delay q) - link z)| ≤ eps)
:
have good := ⋂ (k : Bool × Fin 3), (C k).run.good;
MeasurableSet good ∧ 1 - ∑ k : Bool × Fin 3, (C k).run.control.failure ≤ mu.real good ∧ (∀ᵐ (z : Ω) ∂mu, z ∈ good → ∀ (k : Bool × Fin 3), (C k).experiment.OnOwnNoise z (C k).horizon) ∧ ∀ z ∈ good,
(Concepts.consecutivePlan (C (true, 0)).run K (label (true, 0)) (lo (true, 0)) (hi (true, 0))).read code z < (Concepts.consecutivePlan (C (false, 0)).run K (label (false, 0)) (lo (false, 0)) (hi (false, 0))).read code
z ∧ (Concepts.consecutivePlan (C (false, 1)).run K (label (false, 1)) (lo (false, 1)) (hi (false, 1))).read code
z < (Concepts.consecutivePlan (C (true, 1)).run K (label (true, 1)) (lo (true, 1)) (hi (true, 1))).read code
z ∧ (Concepts.consecutivePlan (C (false, 2)).run K (label (false, 2)) (lo (false, 2)) (hi (false, 2))).read code
z < (Concepts.consecutivePlan (C (true, 2)).run K (label (true, 2)) (lo (true, 2)) (hi (true, 2))).read code z
Six alternative continuations use the original native records. Source windows and release induction derive each record; route calibration is only of the prepared comparison labels. The remainder contains the entire D4 activity convolution and all continuing training/delay/probe changes.