MindFormal v1.0.0One Mind

MindFormal.Example.Coholding.CH1.TargetTransfer

CH1.12 retains the instantaneous input/focus error of BOTH arms. An integrated input budget alone is not used as a target error bound.

noncomputable def MindFormal.CoholdingCH1.Transfer.targetAt {Ω : 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) (ω : Ω) (t : ℝ) (s : MindState (Fin N) n T Λ) (i : Fin N) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def MindFormal.CoholdingCH1.Transfer.targetModeError {Ω : 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) (ω : Ω) (t : ↑(HorizonTime ↑H)) (i : Fin N) :
    Equations
    Instances For
      noncomputable def MindFormal.CoholdingCH1.Transfer.actualGap {Ω : 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.referenceGap {Ω : 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
          structure MindFormal.CoholdingCH1.Transfer.ReadControl {Ω : 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) :

          A singleton read set gives a pointwise statement; the whole horizon gives the uniform statement. The two instantaneous mode discrepancies are summed, as required by CH1.12. These are coefficient conditions on the tube.

          Instances For
            noncomputable def MindFormal.CoholdingCH1.Transfer.ReadControl.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} {i : Fin N} (C : ReadControl B i) :
            Equations
            Instances For
              noncomputable def MindFormal.CoholdingCH1.Transfer.ReadControl.armError {Ω : 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} (C : ReadControl B i) (b : Bool) (ω : Ω) (t : ↑(HorizonTime ↑H)) :
              Equations
              Instances For
                theorem MindFormal.CoholdingCH1.Transfer.ReadControl.error_nonneg {Ω : 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} (C : ReadControl B i) :
                theorem MindFormal.CoholdingCH1.Transfer.ReadControl.arm_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} {i : Fin N} (C : ReadControl B i) {ω : Ω} (hstream : ω ∈ B.stream) (hout : B.Outcome ω) (b : Bool) (t : ↑(HorizonTime ↑H)) (ht : t ∈ C.reads) :
                |((E b).supportHistory ω).target i ↑t - (B.reference b ω).target i ↑t| ≤ C.armError b ω t

                Each full native target differs from the exact reference target by its state bill and its own instantaneous mode discrepancy.

                theorem MindFormal.CoholdingCH1.Transfer.ReadControl.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} {i : Fin N} (C : ReadControl B i) {ω : Ω} (hstream : ω ∈ B.stream) (hout : B.Outcome ω) (t : ↑(HorizonTime ↑H)) (ht : t ∈ C.reads) :
                |actualGap B i ω ↑t - referenceGap B i ω ↑t| ≤ C.error

                Literal CH1.12: the two complete target errors give 2 L_T epsilon_s plus the SUM of the two instantaneous input/focus errors.

                def MindFormal.CoholdingCH1.Transfer.ReadControl.Signs {Ω : 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} (C : ReadControl B i) (ω : Ω) :
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  theorem MindFormal.CoholdingCH1.Transfer.ReadControl.signs {Ω : 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} (C : ReadControl B i) {ω : Ω} (hstream : ω ∈ B.stream) (hout : B.Outcome ω) :
                  C.Signs ω
                  theorem MindFormal.CoholdingCH1.Transfer.ReadControl.sign_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} {i : Fin N} (C : ReadControl B i) :
                  ∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ B.stream ∧ 1 - B.probabilityError ≤ (E false).ground.μ.real good ∧ ∀ ω ∈ good, B.Outcome ω ∧ C.Signs ω

                  The sign event is constructed from the original own-noise bound.

                  theorem MindFormal.CoholdingCH1.Transfer.ReadControl.sign_probability {Ω : 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} (C : ReadControl B i) (t : ↑(HorizonTime ↑H)) (ht : t ∈ C.reads) :
                  max 0 ((E false).ground.μ.real {ω : Ω | C.error < referenceGap B i ω ↑t} - B.probabilityError) ≤ (E false).ground.μ.real {ω : Ω | 0 < actualGap B i ω ↑t} ∧ (E false).ground.μ.real {ω : Ω | 0 < actualGap B i ω ↑t} ≤ min 1 ((E false).ground.μ.real {ω : Ω | -C.error < referenceGap B i ω ↑t} + B.probabilityError)

                  Random received-stream references obey both probability inequalities, clipped to [0,1]. No exact probability or mean is asserted in the thin band. The inclusions also hold for outer probabilities if a queried set is not measurable.