MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch02.MatchedSaving.Instrument

theorem MindFormal.MatchedSaving.binary_measure_budget {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] {yes reference retained bad : Set Ω} (hy : MeasurableSet yes) (hr : MeasurableSet reference) (ht : MeasurableSet retained) (sub : yes ⊆ retained) (coverage : symmDiff yes reference ∩ retained ∪ retainedᶜ ⊆ bad) {zeta : ℝ} (bill : μ.real bad ≤ zeta) :
1 - zeta ≤ μ.real retained ∧ |μ.real yes - μ.real reference * μ.real retained| ≤ zeta

The retained disagreement and omissions are disjoint portions of one bad-event budget. This helper's coverage premise is discharged by the native construction below, rather than supplied to a full-clause tag.

def MindFormal.MatchedSaving.ReadCertificate.yes {Ω : 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} {B : OwnBox E H} {C : PreparationComparison B} (R : ReadCertificate C) :
Set Ω
Equations
Instances For
    def MindFormal.MatchedSaving.ReadCertificate.no {Ω : 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} {B : OwnBox E H} {C : PreparationComparison B} (R : ReadCertificate C) :
    Set Ω
    Equations
    Instances For
      def MindFormal.MatchedSaving.ReadCertificate.retained {Ω : 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} {B : OwnBox E H} {C : PreparationComparison B} (R : ReadCertificate C) :
      Set Ω
      Equations
      Instances For
        def MindFormal.MatchedSaving.ReadCertificate.referenceYes {Ω : 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} {B : OwnBox E H} {C : PreparationComparison B} (R : ReadCertificate C) :
        Set Ω
        Equations
        Instances For
          def MindFormal.MatchedSaving.ReadCertificate.strip {Ω : 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} {B : OwnBox E H} {C : PreparationComparison B} (R : ReadCertificate C) :
          Set Ω
          Equations
          Instances For
            theorem MindFormal.MatchedSaving.ReadCertificate.yes_measurable {Ω : 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} {B : OwnBox E H} {C : PreparationComparison B} (R : ReadCertificate C) :
            theorem MindFormal.MatchedSaving.ReadCertificate.no_measurable {Ω : 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} {B : OwnBox E H} {C : PreparationComparison B} (R : ReadCertificate C) :
            theorem MindFormal.MatchedSaving.ReadCertificate.retained_measurable {Ω : 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} {B : OwnBox E H} {C : PreparationComparison B} (R : ReadCertificate C) :
            theorem MindFormal.MatchedSaving.ReadCertificate.population {Ω : 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} {B : OwnBox E H} {C : PreparationComparison B} (R : ReadCertificate C) (hH : H ≤ E.horizon) (targets : ∀ ω ∈ B.stream, 0 < C.target ω R.go ∧ 0 < C.target ω R.stay) (deadline : ∀ ω ∈ B.stream, R.head ω R.stay + R.error ω R.stay < C.reference ω R.stay ↑H) (referenceMeas : MeasurableSet R.referenceYes) :

            M9--M10's native all-trial and combined binary numerator bounds in the proved OwnBox subcase. Every good-event, enclosure, first response and disagreement inclusion is derived. No independence of preparation and finite-run success is needed. The general stopped-bracket adapter remains outside this untagged specialization.

            theorem MindFormal.MatchedSaving.ReadCertificate.population_reply {Ω : 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} {B : OwnBox E H} {C : PreparationComparison B} (R : ReadCertificate C) (hH : H ≤ E.horizon) (targets : ∀ ω ∈ B.stream, 0 < C.target ω R.go ∧ 0 < C.target ω R.stay) (deadline : ∀ ω ∈ B.stream, R.head ω R.stay + R.error ω R.stay < C.reference ω R.stay ↑H) (referenceMeas : MeasurableSet R.referenceYes) (margin : B.errorProbability + E.ground.μ.real R.strip < 1) :
            have zeta := B.errorProbability + E.ground.μ.real R.strip; |E.ground.μ.real R.yes / E.ground.μ.real R.retained - E.ground.μ.real R.referenceYes| ≤ zeta / (1 - zeta)

            The binary-completed denominator correction uses the combined budget already derived above, rather than treating omissions as independent.

            theorem MindFormal.MatchedSaving.ReadCertificate.native_cost_floor {Ω : 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} {B : OwnBox E H} {C : PreparationComparison B} (R : ReadCertificate C) (hH : H ≤ E.horizon) (targets : ∀ ω ∈ B.stream, 0 < C.target ω R.go ∧ 0 < C.target ω R.stay) (deadline : ∀ ω ∈ B.stream, R.head ω R.stay + R.error ω R.stay < C.reference ω R.stay ↑H) (benefit cost : Ω → ℝ) (calibration : ∀ (ω : Ω), R.head ω R.go = R.head ω R.stay + cost ω - benefit ω) (costFloor : ∀ (ω : Ω), benefit ω ≤ cost ω) (headN : ∀ (ω : Ω), 0 < R.head ω R.stay) (cutoff_lt : ∀ (ω : Ω), R.cutoff ω < 1) (margin : B.errorProbability + E.ground.μ.real R.strip < 1) :
            have zeta := B.errorProbability + E.ground.μ.real R.strip; E.ground.μ.real R.referenceYes = 0 ∧ E.ground.μ.real R.yes ≤ zeta ∧ E.ground.μ.real R.yes / E.ground.μ.real R.retained ≤ zeta / (1 - zeta)

            M6's live floor bound in the constructed OwnBox subcase. The learned calibration is additional primitive data; no value unit is inferred from III. The reference rate is zero, while the native rate retains its error bill.