MindFormal v1.0.0One Mind

MindFormal.Example.A617Choice.FullTrainingMarkedDrift

theorem MindFormal.A617Choice.FullTraining.Parameters.training_constants_nonneg {d : ℕ} (P : Parameters d) {U D εA εκ X K V bx : ℝ} (hU : 0 ≤ U) (hD : 0 ≤ D) (hA : 0 ≤ εA) (hX : 0 ≤ X) (hK : 0 ≤ K) (hb : 0 ≤ bx) (hsat : (↑d + 3) * K * X < U * P.ε₀) :
0 ≤ P.trainingDx U D εA X K bx ∧ 0 ≤ P.trainingLip U X ∧ 0 ≤ P.trainingGap U D εA εκ X K V (P.trainingDx U D εA X K bx)
noncomputable def MindFormal.A617Choice.FullTraining.Parameters.model {d k : ℕ} (P : Parameters d) (U : ℝ) (cue : Fin k → Fin d) (reward : Fin 2 → Fin k → ℝ) :
Equations
  • P.model U cue reward = { parameters := P.block U, cue := cue, reward := reward }
Instances For
    theorem MindFormal.A617Choice.FullTraining.Parameters.marked_affine {d k : ℕ} (P : Parameters d) (U : ℝ) (cue : Fin k → Fin d) (reward : Fin 2 → Fin k → ℝ) (world : ℝ → Fin k) (hm : Measurable world) (t : ℝ) (ht : 0 ≤ t) (v : A617Judgment.SupportLearning.Slow d → ℝ) :
    (P.model U cue reward).forcePath P.base.activity.ν (1 - P.base.activity.g) world t - ((P.model U cue reward).coefficientPath P.base.activity.ν (1 - P.base.activity.g) world t).mulVec v = P.baselineWriter U (fun (b : Fin 2) (x : Fin d) => reward b (world t)) (cue (world t)) (fun (i : Fin d) => A617Judgment.Episodes.baselineX P.base.activity.ν (1 - P.base.activity.g) (fun (s : ℝ) => cue (world s)) i t) (fun (i : Fin d) => A617Judgment.Episodes.baselineR P.base.activity.ν P.base.rate (1 - P.base.activity.g) (fun (s : ℝ) => cue (world s)) i t) v
    theorem MindFormal.A617Choice.FullTraining.Parameters.training_drift_distance {d k : ℕ} (P : Parameters d) (G : PhysicalGlobalData (d + 3) 2 Unit Unit) (hdata : G.data = P.data) (hzero : G.state 0 = 0) {T U D εA εκ X K V bx : ℝ} (hU : 0 ≤ U) (hD : 0 ≤ D) (hA : 0 ≤ εA) (hX0 : 0 ≤ X) (hK : 0 ≤ K) (hV : 0 ≤ V) (hb : 0 ≤ bx) (hX : 1 - P.base.activity.g + 2 * bx ≤ X) (hsat : (↑d + 3) * K * X < U * P.ε₀) (cue : Fin k → Fin d) (world : ℝ → Fin k) (hm : Measurable world) (reward : Fin 2 → Fin k → ℝ) (hdose : ∀ (b : Fin 2) (a : Fin k), |reward b a| ≤ D) (hin : ∀ s ∈ Set.Icc 0 T, G.input s (Fin.castAdd 3 (cue (world s))) = U ∧ (∀ (i : Fin (d + 3)), i ≠ Fin.castAdd 3 (cue (world s)) → G.input s i ≤ εA + if i ∈ TrainingFamily.primarySet d then P.dp * D else 0) ∧ ∀ (b : Fin 2), |G.input s (TrainingFamily.primaryPort d b) / P.dp - reward b (world s)| ≤ εκ) (hW : ∀ s ∈ Set.Icc 0 T, ∀ (i j : Fin (d + 3)), |mindRelation (G.state s) i j| ≤ K) (hnoise : ∀ s ∈ Set.Icc 0 T, ∀ (i : Fin (d + 3)), |G.driver s.toNNReal (Sum.inr (Sum.inl i))| ≤ bx) (t : ℝ) (ht : t ∈ Set.Icc 0 T) (yb : A617Judgment.SupportLearning.Slow d → ℝ) (hWb : ∀ (i j : A617Judgment.SupportLearning.TrainingPort d), |yb (Sum.inl (i, j))| ≤ K) (hvb : ∀ (i : A617Judgment.SupportLearning.TrainingPort d) (b : Fin 2), |yb (Sum.inr (i, b))| ≤ V) (hbranch : ∀ (i : A617Judgment.SupportLearning.TrainingPort d), 0 ≤ yb (Sum.inr (i, 0)) ∧ yb (Sum.inr (i, 0)) ≤ P.L) :
    ‖P.slowDrift (G.state t) (G.input t) (G.pulse t) - ((P.model U cue reward).forcePath P.base.activity.ν (1 - P.base.activity.g) world t - ((P.model U cue reward).coefficientPath P.base.activity.ν (1 - P.base.activity.g) world t).mulVec yb)‖ ≤ P.trainingLip U X * ‖TrainingFamily.slowState (G.state t) - yb‖ + P.trainingGap U D εA εκ X K V (P.trainingDx U D εA X K bx)

    Full native RT1.12 along a stopped interval. Its cue, primary-delivery and return bounds are primitive input bounds; the slow cap is closed later. Native focus and every signed writer continue throughout.