MindFormal v1.0.0One Mind

MindFormal.Example.Coholding.CH1.ActivityTransfer

CH1.14: recover the initial activity deficit using the exact complete reference's target convolution. The actual reflection is paid by CH1.11; the reference's nonnegative target makes its own floor regulator inactive.

noncomputable def MindFormal.CoholdingCH1.Transfer.actualActivity {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (_B : FullComparison E H) (b : Bool) (i : Fin N) (ω : Ω) (t : ℝ) :
Equations
Instances For
    noncomputable def MindFormal.CoholdingCH1.Transfer.referenceActivityAt {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (B : FullComparison E H) (b : Bool) (i : Fin N) (ω : Ω) (t : ℝ) :
    Equations
    Instances For
      noncomputable def MindFormal.CoholdingCH1.Transfer.actualActivityGap {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (B : FullComparison E H) (i : Fin N) (ω : Ω) (t : ℝ) :
      Equations
      Instances For
        noncomputable def MindFormal.CoholdingCH1.Transfer.referenceActivityGap {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (B : FullComparison E H) (i : Fin N) (ω : Ω) (t : ℝ) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MindFormal.CoholdingCH1.Transfer.FullComparison.activity_coordinate_error {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (B : FullComparison E H) {ω : Ω} (hout : B.Outcome ω) (b : Bool) (i : Fin N) (t : ℝ) (ht : t ∈ Set.Icc 0 ↑H) :
          theorem MindFormal.CoholdingCH1.Transfer.FullComparison.activity_gap_error {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (B : FullComparison E H) {ω : Ω} (hout : B.Outcome ω) (i : Fin N) (t : ℝ) (ht : t ∈ Set.Icc 0 ↑H) :
          theorem MindFormal.CoholdingCH1.Transfer.FullComparison.activity_difference_shift {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (B : FullComparison E H) (same_rate : (E false).mind.drift.activity.ν = (E true).mind.drift.activity.ν) (i : Fin N) (ω : Ω) {c t : ℝ} (hc : 0 ≤ c) (hct : c ≤ t) (ht : t ≤ ↑H) :

          Subtract the two exact complete reference equations at a restart. The relation/value/trace dynamics enter their targets and remain active.

          theorem MindFormal.CoholdingCH1.Transfer.FullComparison.activity_deficit_bound {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (B : FullComparison E H) (same_rate : (E false).mind.drift.activity.ν = (E true).mind.drift.activity.ν) (i : Fin N) (ω : Ω) {c t D d : ℝ} (hc : 0 ≤ c) (hct : c ≤ t) (ht : t ≤ ↑H) (hstart : referenceActivityGap B i ω c = -D) (hlower : ∀ s ∈ Set.Ioc c t, d ≤ referenceGap B i ω s) :
          d - (D + d) * Real.exp (-(E true).mind.drift.activity.ν * (t - c)) ≤ referenceActivityGap B i ω t

          Solve I's difference inequality after a reference deficit -D.

          theorem MindFormal.CoholdingCH1.Transfer.recovery_margin {ν D d error duration : ℝ} (hν : 0 < ν) (hD : 0 ≤ D) (he : 0 ≤ error) (hd : 2 * error < d) (hwait : ν⁻¹ * Real.log ((D + d) / (d - 2 * error)) < duration) :
          2 * error < d - (D + d) * Real.exp (-ν * duration)

          The printed logarithmic duration is sufficient to leave more than twice the full state error after paying the original deficit.

          def MindFormal.CoholdingCH1.Transfer.FullComparison.Recovery {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (B : FullComparison E H) (i : Fin N) (ω : Ω) :
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def MindFormal.CoholdingCH1.Transfer.FullComparison.IntegratedRecovery {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (B : FullComparison E H) (i : Fin N) (ω : Ω) :
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def MindFormal.CoholdingCH1.Transfer.FullComparison.AwarenessClearance {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (B : FullComparison E H) (i : Fin N) (ω : Ω) :
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem MindFormal.CoholdingCH1.Transfer.FullComparison.activity_event {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {E : Bool → StateExperiment Ω N n T Λ J} {H : NNReal} (B : FullComparison E H) (same_rate : (E false).mind.drift.activity.ν = (E true).mind.drift.activity.ν) (i : Fin N) :
                ∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ B.stream ∧ 1 - B.probabilityError ≤ (E false).ground.μ.real good ∧ ∀ ω ∈ good, B.Outcome ω ∧ (∀ t ∈ Set.Icc 0 ↑H, |actualActivityGap B i ω t - referenceActivityGap B i ω t| ≤ 2 * B.stateError) ∧ B.Recovery i ω ∧ B.IntegratedRecovery i ω ∧ B.AwarenessClearance i ω

                Full CH1.14, on a measurable event constructed at CH1.11's unchanged price. Both the logarithmic deficit-recovery test and the exact integrated target test apply. Awareness additionally requires its own two clearances.