MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch08.TwoTraceNative

Finite C3 signs with the complete deterministic discrepancy and the existing native corridor. The held trace calculation never clamps a run.

noncomputable def MindFormal.twoTraceWriter (a b lam eta tau t : ℝ) (v : EuclideanSpace ℝ (Fin 2)) :

The full homogeneous two-trace writer is a time-dependent linear map.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.two_trace_reference_error {a b lam eta tau H εin : ℝ} (heta : 0 ≤ eta) (htau : 0 < tau) (hH : 0 ≤ H) (v u f : ℝ → EuclideanSpace ℝ (Fin 2)) (Δ : ℝ → ℝ) (hv : AbsolutelyContinuousOnInterval v 0 H) (hu : AbsolutelyContinuousOnInterval u 0 H) (veq : ∀ᵐ (t : ℝ), t ∈ Set.Ioo 0 H → HasDerivAt v (f t) t) (ueq : ∀ᵐ (t : ℝ), t ∈ Set.Ioo 0 H → HasDerivAt u (twoTraceWriter a b lam eta tau t (u t)) t) (entrance : ‖v 0 - u 0‖ ≤ εin) (hΔ : IntervalIntegrable Δ MeasureTheory.volume 0 H) (hΔ0 : ∀ t ∈ Set.Icc 0 H, 0 ≤ Δ t) (mismatch : ∀ᵐ (t : ℝ), t ∈ Set.Ioo 0 H → ‖f t - twoTraceWriter a b lam eta tau t (v t)‖ ≤ Δ t) :
    have d := fun (t : ℝ) => eta * ‖twoTracePresence a b lam t‖ * (‖twoTraceVelocity a b lam t‖ + ‖twoTracePresence a b lam t‖ / tau); ∀ t ∈ Set.Icc 0 H, ‖v t - u t‖ ≤ (εin + ∫ (s : ℝ) in 0..H, Δ s) * Real.exp (∫ (s : ℝ) in 0..H, d s)

    The complete reference mismatch, including other presences, delivery, learning coefficients and preparation, is charged before native transfer. The mismatch is an evaluation of the two full drifts, not a supplied error bound between their solved paths.

    theorem MindFormal.native_two_trace_certificate {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (A : StateLearning Ω N n T Λ J) (hA : A.Contained) (hinput : A.control.εu = 0) (content : Fin 2 → Fin N) (bval : Fin n) (q : T) {a b lam eta tau V εin : ℝ} (ha : 0 < a) (hb : 0 ≤ b) (hlam : 0 < lam) (heta : 0 ≤ eta) (htau : 0 < tau) (hV : 0 < V) (v u f : Ω → ℝ → EuclideanSpace ℝ (Fin 2)) (Δ : Ω → ℝ → ℝ) (verified : ∀ (z : Ω) (t : ℝ) (j : Fin 2), (v z t).ofLp j = A.run.refCoordinate z (Sum.inr (Sum.inr (Sum.inl (content j, bval, q)))) t) (hv : ∀ z ∈ A.run.good, AbsolutelyContinuousOnInterval (v z) 0 ↑A.horizon) (hu : ∀ z ∈ A.run.good, AbsolutelyContinuousOnInterval (u z) 0 ↑A.horizon) (veq : ∀ z ∈ A.run.good, ∀ᵐ (t : ℝ), t ∈ Set.Ioo 0 ↑A.horizon → HasDerivAt (v z) (f z t) t) (ueq : ∀ (z : Ω), ∀ t ∈ Set.Ici 0, HasDerivAt (u z) (twoTraceWriter a b lam eta tau t (u z t)) t) (u0 : ∀ (z : Ω), u z 0 = !₂[0, V]) (entrance : ∀ z ∈ A.run.good, ‖v z 0 - u z 0‖ ≤ εin) (hΔ : ∀ z ∈ A.run.good, IntervalIntegrable (Δ z) MeasureTheory.volume 0 ↑A.horizon) (hΔ0 : ∀ z ∈ A.run.good, ∀ t ∈ Set.Icc 0 ↑A.horizon, 0 ≤ Δ z t) (mismatch : ∀ z ∈ A.run.good, ∀ᵐ (t : ℝ), t ∈ Set.Ioo 0 ↑A.horizon → ‖f z t - twoTraceWriter a b lam eta tau t (v z t)‖ ≤ Δ z t) :
    have H := ↑A.horizon; have lead := eta * a * b * V * (2 * lam * tau - 3) / (4 * lam * tau); have B := eta ^ 2 * V * Real.exp (eta * (a ^ 2 + b ^ 2)) * (a ^ 2 + b ^ 2) * a * √(a ^ 2 + b ^ 2) * (1 / 2 + 21 / (8 * (lam * tau)) + 3 / (lam * tau) ^ 2); have tail := eta * a * b * V * (1 / 2 * (1 + lam * H) ^ 2 * Real.exp (-2 * lam * H) + (lam * H + 2) * Real.exp (-lam * H) / (lam * tau)); have motion := fun (z : Ω) => A.run.control.error + (εin + ∫ (s : ℝ) in 0..H, Δ z s) * Real.exp (∫ (s : ℝ) in 0..H, eta * ‖twoTracePresence a b lam s‖ * (‖twoTraceVelocity a b lam s‖ + ‖twoTracePresence a b lam s‖ / tau)); have actual := fun (z : Ω) => A.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (content 0, bval, q)))) H; MeasurableSet A.run.good ∧ 1 - A.run.control.failure ≤ A.run.data.μ.real A.run.good ∧ (∀ᵐ (z : Ω) ∂A.run.data.μ, z ∈ A.run.good → A.experiment.OnOwnNoise z A.horizon) ∧ ∀ z ∈ A.run.good, (∃ (r : ℝ), Filter.Tendsto (fun (t : ℝ) => (u z t).ofLp 0) Filter.atTop (nhds (lead + r)) ∧ |r| ≤ B) ∧ |actual z - lead| ≤ B + tail + motion z ∧ (B + tail + motion z < lead → 0 < actual z) ∧ (lead < -(B + tail + motion z) → actual z < 0) ∧ (a = 1 / 10 → b = 1 / 10 → eta = 1 / 1000 → lam * tau = 2 → H = 20 / lam → motion z < V / 10000000 → ∃ (limit : ℝ), Filter.Tendsto (fun (t : ℝ) => (u z t).ofLp 0) Filter.atTop (nhds limit) ∧ 0 < limit ∧ 0 < actual z) ∧ (a = 1 / 10 → b = 1 / 10 → eta = 1 / 1000 → lam * tau = 1 → H = 20 / lam → motion z < V / 10000000 → ∃ (limit : ℝ), Filter.Tendsto (fun (t : ℝ) => (u z t).ofLp 0) Filter.atTop (nhds limit) ∧ limit < 0 ∧ actual z < 0)

    Full C3 and its finite native certificate. P: an arbitrary native experiment, a learned entering value and the held two-trace comparison. E: the verified continuing reference, complete drift discrepancy and corridor controls. Both numerical controls retain strictly positive noise; all preparation and coefficient-motion errors enter the computed bill.