MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch03.Confidence

structure MindFormal.LiveConfidenceGroup {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (winner : Fin N) :
Type u_1

03.18 FR4--FR10: a positive actual reported confidence group and its own conditional preparation/future failure budget. The prompt is its actual reconsideration onset. ratingGroupIdentification ties the group to an actual global rating label. groupLeadRetentionCalibration names the missing step from the initial-lead categories, preserved supports, attained starts, FR6--FR9 target bounds and FR10 races to these reference score windows at that prompt; it supplies no final label or probability order.

Instances For
    noncomputable def MindFormal.LiveConfidenceGroup.time {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LiveData Ω N n T Λ J 𝒩} {k : ℕ} {i : Fin N} (G : LiveConfidenceGroup C k i) (z : Ω) :

    03.18 FR11: the group's actual elapsed reconsideration time, measured from its actual prompt to the uncensored global final-answer act.

    Equations
    Instances For
      noncomputable def MindFormal.LiveConfidenceGroup.law {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LiveData Ω N n T Λ J 𝒩} {k : ℕ} {i : Fin N} (G : LiveConfidenceGroup C k i) :

      03.18 FR8: the actual reported group's normalized probability law. Its positive mass is a source premise, not assumed equal between groups.

      Equations
      Instances For
        instance MindFormal.instIsProbabilityMeasureLaw {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LiveData Ω N n T Λ J 𝒩} {k : ℕ} {i : Fin N} (G : LiveConfidenceGroup C k i) :
        theorem MindFormal.live_confidence_group {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (i : Fin N) (G : LiveConfidenceGroup C k i) :

        03.18 FR8--FR10: normalize the SOURCE joint preparation failure by the actual group mass, then derive the final label and prompt-relative window on the good event. groupLeadRetentionCalibration is supplied and unproved; the actual label and time follow through the constructed native schedule, and the conditional failure estimate is proved, not reused raw.

        theorem MindFormal.live_03_18_finite {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (CL CH : LiveData Ω N n T Λ J 𝒩) (kL kH : ℕ) (A B : Fin N) (hne : B ≠ A) (lowGroup : LiveConfidenceGroup CL kL B) (highGroup : LiveConfidenceGroup CH kH A) :
        1 - lowGroup.failure ≤ lowGroup.law.real {z : Ω | lowGroup.time z ∈ Set.Icc lowGroup.lower lowGroup.upper ∧ Option.map Prod.snd ((CL.data.toPhysicalNoiseData.globalData z).event false kL) = some B} ∧ 1 - highGroup.failure ≤ highGroup.law.real {z : Ω | highGroup.time z ∈ Set.Icc highGroup.lower highGroup.upper ∧ Option.map Prod.snd ((CH.data.toPhysicalNoiseData.globalData z).event false kH) = some A} ∧ 1 - lowGroup.failure - highGroup.failure ≤ lowGroup.law.real {z : Ω | ∃ (j : Fin N), j ≠ A ∧ Option.map Prod.snd ((CL.data.toPhysicalNoiseData.globalData z).event false kL) = some j} - highGroup.law.real {z : Ω | ∃ (j : Fin N), j ≠ A ∧ Option.map Prod.snd ((CH.data.toPhysicalNoiseData.globalData z).event false kH) = some j}

        03.18 FR10 finite-horizon clause: on a product draw from the actual positive reported groups, low changes to B and high repeats A; each finite response window has its own conditional failure budget. The displayed change-probability difference is >=1-pL-pH. A and B differ; their reference race, lead/retention and actual-rating identifications are explicit in lowGroup,highGroup. This statement makes no inference about means.

        theorem MindFormal.live_03_18_mean {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (CL CH : LiveData Ω N n T Λ J 𝒩) (kL kH : ℕ) (A B : Fin N) (lowGroup : LiveConfidenceGroup CL kL B) (highGroup : LiveConfidenceGroup CH kH A) (_completionL : ∀ᵐ (z : Ω) ∂lowGroup.law, (CL.data.toPhysicalNoiseData.globalData z).event false kL ≠ none) (_completionH : ∀ᵐ (z : Ω) ∂highGroup.law, (CH.data.toPhysicalNoiseData.globalData z).event false kH ≠ none) (lowIntegrable : MeasureTheory.Integrable lowGroup.time lowGroup.law) (highL2 : MeasureTheory.MemLp highGroup.time 2 highGroup.law) {M : ℝ} (hM : 0 ≤ M) (secondMoment : ∫ (z : Ω), highGroup.time z ^ 2 ∂highGroup.law ≤ M ^ 2) (sourceGap : 0 < lowGroup.lower - highGroup.upper) (tailMargin : M * √(lowGroup.failure + highGroup.failure) < (1 - (lowGroup.failure + highGroup.failure)) * (lowGroup.lower - highGroup.upper)) :
        ∫ (z : Ω), highGroup.time z ∂highGroup.law < ∫ (z : Ω), lowGroup.time z ∂lowGroup.law

        03.18 FR11--FR12: product coupling of the two actual conditional groups proves the unrestricted mean order. Completion of the final acts, integrability in the low group, L2 and second moment <=M^2 in the high group, Delta=LL-UH>0 and (1-p)Delta>M sqrt(p), p=pL+pH, are explicit. The proof constructs the product measure and charges its bad mass by the two CONDITIONED budgets; no independence of preparation and rating is used.