MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch02.OwnNoiseToolkit.IntegratedMatchedPair

structure MindFormal.MatchedSaving.IntegratedMatchedPair {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (EL EH : StateExperiment Ω N n T Λ J) (H : NNReal) :
Type (max (max u_1 u_2) u_3)

Two original own-noise experiments of the same mind on a common preparation probability space. The held calculation is calibrated to the actual equation coefficients, complete load vectors and entire value bank. All read tests are primitive coefficient inequalities, not event premises. No independence between preparation and run success is required.

Instances For
    def MindFormal.MatchedSaving.IntegratedMatchedPair.yesL {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
    Set Ω
    Equations
    Instances For
      def MindFormal.MatchedSaving.IntegratedMatchedPair.yesH {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
      Set Ω
      Equations
      Instances For
        def MindFormal.MatchedSaving.IntegratedMatchedPair.retainedL {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
        Set Ω
        Equations
        Instances For
          def MindFormal.MatchedSaving.IntegratedMatchedPair.retainedH {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
          Set Ω
          Equations
          Instances For
            def MindFormal.MatchedSaving.IntegratedMatchedPair.pL {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
            Equations
            Instances For
              def MindFormal.MatchedSaving.IntegratedMatchedPair.pH {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
              Equations
              Instances For
                def MindFormal.MatchedSaving.IntegratedMatchedPair.pL0 {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                Equations
                Instances For
                  def MindFormal.MatchedSaving.IntegratedMatchedPair.pH0 {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                  Equations
                  Instances For
                    def MindFormal.MatchedSaving.IntegratedMatchedPair.delta0 {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                    Equations
                    Instances For
                      noncomputable def MindFormal.MatchedSaving.IntegratedMatchedPair.zetaL {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                      Equations
                      Instances For
                        noncomputable def MindFormal.MatchedSaving.IntegratedMatchedPair.zetaH {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                        Equations
                        Instances For
                          noncomputable def MindFormal.MatchedSaving.IntegratedMatchedPair.replyL {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                          Equations
                          Instances For
                            noncomputable def MindFormal.MatchedSaving.IntegratedMatchedPair.replyH {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                            Equations
                            Instances For
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.low_ratio {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (ω : Ω) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.high_ratio {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (ω : Ω) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.low_target {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (ω : Ω) (i : Fin N) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.high_target {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (ω : Ω) (i : Fin N) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.low_targets {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (ω : Ω) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.high_targets {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (ω : Ω) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.low_cutoff {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (ω : Ω) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.high_cutoff {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (ω : Ω) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.low_reference_set {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.high_reference_set {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.low_yes_set {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.high_yes_set {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.low_retained_set {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.high_retained_set {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.low_targets_pos {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (ω : Ω) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.high_targets_pos {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (ω : Ω) :
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.population {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (hL : H ≤ EL.horizon) (hH : H ≤ EH.horizon) (deadlineL : ∀ ω ∈ P.lowBox.stream, P.lowRead.head ω P.lowRead.stay + P.lowRead.error ω P.lowRead.stay < P.lowComparison.reference ω P.lowRead.stay ↑H) (deadlineH : ∀ ω ∈ P.highBox.stream, P.highRead.head ω P.highRead.stay + P.highRead.error ω P.highRead.stay < P.highComparison.reference ω P.highRead.stay ↑H) (lowMeas : MeasurableSet {ω : Ω | P.family.ratio ω < (P.family.parameters ω).RL}) (highMeas : MeasurableSet {ω : Ω | P.family.ratio ω < (P.family.parameters ω).RH}) :

                              Both errors refer to the actual first V response on the common preparation space. The two streams may be correlated with the run success.

                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.reference_gap {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (highMeas : MeasurableSet {ω : Ω | P.family.ratio ω < (P.family.parameters ω).RH}) (noHighAtom : EL.ground.μ.real {ω : Ω | P.family.ratio ω = (P.family.parameters ω).RH} = 0) :
                              P.pL0 - P.pH0 = P.delta0
                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.strict_gap {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (hL : H ≤ EL.horizon) (hH : H ≤ EH.horizon) (deadlineL : ∀ ω ∈ P.lowBox.stream, P.lowRead.head ω P.lowRead.stay + P.lowRead.error ω P.lowRead.stay < P.lowComparison.reference ω P.lowRead.stay ↑H) (deadlineH : ∀ ω ∈ P.highBox.stream, P.highRead.head ω P.highRead.stay + P.highRead.error ω P.highRead.stay < P.highComparison.reference ω P.highRead.stay ↑H) (lowMeas : MeasurableSet {ω : Ω | P.family.ratio ω < (P.family.parameters ω).RL}) (highMeas : MeasurableSet {ω : Ω | P.family.ratio ω < (P.family.parameters ω).RH}) (noHighAtom : EL.ground.μ.real {ω : Ω | P.family.ratio ω = (P.family.parameters ω).RH} = 0) (margin : 0 < P.delta0 - P.zetaL - P.zetaH) :
                              P.delta0 - P.zetaL - P.zetaH ≤ P.pL - P.pH ∧ P.pH < P.pL

                              M10's positive lower bound is derived from primitive full-source data and switchable preparation mass. No native probability gap is assumed.

                              theorem MindFormal.MatchedSaving.IntegratedMatchedPair.reply_gap {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {EL EH : StateExperiment Ω N n T Λ J} {H : NNReal} (P : IntegratedMatchedPair EL EH H) (hL : H ≤ EL.horizon) (hH : H ≤ EH.horizon) (deadlineL : ∀ ω ∈ P.lowBox.stream, P.lowRead.head ω P.lowRead.stay + P.lowRead.error ω P.lowRead.stay < P.lowComparison.reference ω P.lowRead.stay ↑H) (deadlineH : ∀ ω ∈ P.highBox.stream, P.highRead.head ω P.highRead.stay + P.highRead.error ω P.highRead.stay < P.highComparison.reference ω P.highRead.stay ↑H) (lowMeas : MeasurableSet {ω : Ω | P.family.ratio ω < (P.family.parameters ω).RL}) (highMeas : MeasurableSet {ω : Ω | P.family.ratio ω < (P.family.parameters ω).RH}) (noHighAtom : EL.ground.μ.real {ω : Ω | P.family.ratio ω = (P.family.parameters ω).RH} = 0) (zL : P.zetaL < 1) (zH : P.zetaH < 1) (margin : 0 < P.delta0 - P.zetaL / (1 - P.zetaL) - P.zetaH / (1 - P.zetaH)) :
                              |P.replyL - P.pL0| ≤ P.zetaL / (1 - P.zetaL) ∧ |P.replyH - P.pH0| ≤ P.zetaH / (1 - P.zetaH) ∧ P.delta0 - P.zetaL / (1 - P.zetaL) - P.zetaH / (1 - P.zetaH) ≤ P.replyL - P.replyH ∧ P.replyH < P.replyL

                              M10's reply correction pays for errors on retained trials and omissions together. The denominator is strictly positive in both arms.