MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch20.CaptureBounds

theorem MindFormal.Capture.activity_envelope_own {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (ω : Ω) (H : NNReal) (i : Fin N) {lo hi b : ℝ} (hb : 0 ≤ b) (hT : ∀ s ∈ Set.Icc 0 ↑H, lo ≤ (E.supportHistory ω).target i s ∧ (E.supportHistory ω).target i s ≤ hi) (hN : ∀ s ≤ H, |(E.supportHistory ω).driver s (Sum.inr (Sum.inl i))| ≤ b) (t : ℝ) :
t ∈ Set.Icc 0 ↑H → lo + ((E.supportHistory ω).x 0 i - lo) * Real.exp (-E.mind.activity.ν * t) - 2 * b ≤ (E.supportHistory ω).x t i ∧ (E.supportHistory ω).x t i ≤ hi + ((E.supportHistory ω).x 0 i - hi) * Real.exp (-E.mind.activity.ν * t) + 2 * b

CA5 on every admitted own-noise run, with the sharp upper envelope. Both bounds concern the complete moving native target; the lower constant may be negative. Reflection and all other writers remain active.

theorem MindFormal.Capture.exponential_deadline {A B ν t : ℝ} (hA : 0 < A) (hB : 0 < B) (hν : 0 < ν) :
A * Real.exp (-ν * t) < B ↔ Real.log (A / B) / ν < t

The logarithmic decay test used for both CA5 deadlines.

theorem MindFormal.Capture.exponential_deadline_le {A B ν t : ℝ} (hA : 0 < A) (hB : 0 < B) (hν : 0 < ν) :
A * Real.exp (-ν * t) ≤ B ↔ Real.log (A / B) / ν ≤ t
theorem MindFormal.Capture.exclusion_deadline_own {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (ω : Ω) (H : NNReal) (i : Fin N) {lo hi b α : ℝ} (hb : 0 ≤ b) (hT : ∀ s ∈ Set.Icc 0 ↑H, lo ≤ (E.supportHistory ω).target i s ∧ (E.supportHistory ω).target i s ≤ hi) (hN : ∀ s ≤ H, |(E.supportHistory ω).driver s (Sum.inr (Sum.inl i))| ≤ b) (hstart : α < (E.supportHistory ω).x 0 i) (hgap : hi + 2 * b < α) (t : ℝ) (ht : t ∈ Set.Icc 0 ↑H) (hdeadline : Real.log (((E.supportHistory ω).x 0 i - hi) / (α - 2 * b - hi)) / E.mind.activity.ν < t) :
(E.supportHistory ω).x t i < α

CA5: beyond the exclusion deadline the actual activity is below the requested level at every remaining time in the certified interval.

theorem MindFormal.Capture.entry_deadline_own {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (ω : Ω) (H : NNReal) (i : Fin N) {lo hi b α : ℝ} (hb : 0 ≤ b) (hT : ∀ s ∈ Set.Icc 0 ↑H, lo ≤ (E.supportHistory ω).target i s ∧ (E.supportHistory ω).target i s ≤ hi) (hN : ∀ s ≤ H, |(E.supportHistory ω).driver s (Sum.inr (Sum.inl i))| ≤ b) (hstart : (E.supportHistory ω).x 0 i < α) (hgap : α < lo - 2 * b) (t : ℝ) (ht : t ∈ Set.Icc 0 ↑H) (hdeadline : Real.log ((lo - (E.supportHistory ω).x 0 i) / (lo - α - 2 * b)) / E.mind.activity.ν ≤ t) :
α ≤ (E.supportHistory ω).x t i

CA5: at or beyond the entry deadline the actual activity reaches the level, hence the calibrated threshold is attained by that endpoint.

noncomputable def MindFormal.Capture.coordinateWeight {N n : ℕ} {T : Type u_2} {Λ : Type u_3} (c : CoordinateIndex (Fin N) n T Λ) :
CoordinateIndex (Fin N) n T Λ → ℝ

A coordinate functional, used without enlarging the run interface.

Equations
Instances For
    theorem MindFormal.Capture.coordinate_weight_read {N n : ℕ} {T : Type u_2} {Λ : Type u_3} [Fintype T] [Fintype Λ] (c : CoordinateIndex (Fin N) n T Λ) (x : CoordinateIndex (Fin N) n T Λ → ℝ) :
    ∑ j : CoordinateIndex (Fin N) n T Λ, coordinateWeight c j * x j = x c
    theorem MindFormal.Capture.coordinate_noise_price {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (c : CoordinateIndex (Fin N) n T Λ) {H : NNReal} (hH : H ≤ E.horizon) {b σ : ℝ} (hb : 0 < b) :

    CA5's stopped coordinate price on the actual own loading. The variance budget is σ²H, with no cost for exactly zero loading.

    theorem MindFormal.Capture.contrast_noise_price {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (c d : CoordinateIndex (Fin N) n T Λ) {H : NNReal} (hH : H ≤ E.horizon) {b σ : ℝ} (hb : 0 < b) :

    CA1/CA5: a value contrast is charged on its combined loading, before squaring. Correlated nonzero coordinate rows can therefore cancel.

    theorem MindFormal.Capture.contrast_loading {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (c d : CoordinateIndex (Fin N) n T Λ) (ω : Ω) (s : ℝ) (j : J) :
    ∑ k : CoordinateIndex (Fin N) n T Λ, (coordinateWeight c - coordinateWeight d) k * E.ownLoading ω s k j = E.ownLoading ω s c j - E.ownLoading ω s d j
    theorem MindFormal.Capture.noise_price_cases (b σ : ℝ) (H : NNReal) :
    (σ = 0 → ItoFiltration.projectedNoisePrice b σ H = 0) ∧ (σ ≠ 0 → ItoFiltration.projectedNoisePrice b σ H = 2 * Real.exp (-b ^ 2 / (2 * (σ ^ 2 * ↑H))))
    theorem MindFormal.Capture.aligned_aim {Ω : Type u_1} {R : Type u_5} (paid control : Ω → R) (measure aim : R → ℝ) (F : ℝ → ℝ) (hF : Monotone F) (halign : ∀ (r : R), aim r = F (measure r)) (hpaid : ∀ (ω : Ω), measure (control ω) ≤ measure (paid ω)) (ω : Ω) :
    aim (control ω) ≤ aim (paid ω)

    §4: monotone alignment on whole coupled records prevents aim loss. No expectation comparison is substituted for the coupling hold.

    theorem MindFormal.Capture.identical_aim_differences {R : Type u_5} [MeasurableSpace R] (paid control : MeasureTheory.Measure R) (measure aim : R → ℝ) (h : ∀ (r : R), aim r = measure r) :
    ∫ (r : R), aim r ∂paid - ∫ (r : R), aim r ∂control = ∫ (r : R), measure r ∂paid - ∫ (r : R), measure r ∂control

    §4: identical whole-record scores have identical expectation differences under the two protocol laws.

    theorem MindFormal.Capture.two_aims_one_run {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (ω : Ω) (aim₁ aim₂ : PhysicalGlobalData N n T Λ → ℝ) :

    §4: assigning either aim to the same experiment changes only its score. Both scored pairs retain exactly the same original trajectory.