MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch05.ConsistentReports

theorem MindFormal.learningRun_event_band {Ω : 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 : LearningRun Ω N n T Λ J 𝒩) {m : ℕ} (P : ReportPlan C m) (band : Set Ω) (hband : MeasurableSet band) (calibration : ∀ z ∈ C.good, z ∉ band → P.MarginsAt z) (event : Ω → (Fin m → Fin N ⊕ Unit) → Prop) :
|C.data.μ.real {z : Ω | event z (P.observed z)} - C.data.μ.real {z : Ω | event z (P.label z)}| ≤ C.control.failure + C.data.μ.real band

05.23 (23.3)--(23.5): outside a measurable cutoff band the supplied reference/native margins identify the actual report. The probability error is corridor failure plus the band's preparation mass, without independence. The band is not treated as a failure of the constructed stochastic corridor.

theorem MindFormal.learningRun_original_measurable {Ω : 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 : LearningRun Ω N n T Λ J 𝒩) (P : ReportPlan C 1) (original : Fin N) :
MeasurableSet {z : Ω | P.observed z 0 = Sum.inl original}

05.23 (23.5): each observed original-detail indicator comes from an actual native slot. Measurability is proved from the constructed history, so bounded report integrability is available independently of the corridor.

noncomputable def MindFormal.nativeDetailCount {Ω : 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 : LearningRun Ω N n T Λ J 𝒩) {d : ℕ} (P : Fin d → ReportPlan C 1) (original : Fin d → Fin N) (z : Ω) :

05.23 (23.4)--(23.5): actual finite consistent-detail count, with each distinct original detail scored once at its declared native answer slot.

Equations
Instances For
    theorem MindFormal.live_05_23 {Ω : 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 : LearningRun Ω N n T Λ J 𝒩) {d : ℕ} (P : Fin d → ReportPlan C 1) (K : Fin d → Ω → ℝ) (advantage width : ℝ) (replacementReadCalibration : ∀ (j : Fin d), ∀ z ∈ C.good, ¬|K j z - advantage| ≤ width → (P j).MarginsAt z) :
    1 - C.control.failure ≤ C.data.μ.real {z : Ω | ∀ (j : Fin d), ¬|K j z - advantage| ≤ width → (P j).observed z = (P j).label z}

    05.23 (23.5) finite clause: simultaneously, every detail outside its declared replacement uncertainty band follows its reference native label, except with corridor probability epsilon. replacementReadCalibration names the missing full-II decay, competing-output difference, lower-start and all- rival native-margin derivation. Uncertain details are left uncertain here.

    theorem MindFormal.live_05_23_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} (C : LearningRun Ω N n T Λ J 𝒩) {d : ℕ} (P : Fin d → ReportPlan C 1) (original : Fin d → Fin N) (K : Fin d → Ω → ℝ) (w0 gamma delay width density BC : ℝ) (F : ℝ → ℝ) (hBC : ↑d ≤ BC) (replacementLaw : ∀ (j : Fin d), Measurable (K j) ∧ C.data.μ.real {z : Ω | K j z ≤ w0 * Real.exp (-gamma * delay)} = F (w0 * Real.exp (-gamma * delay))) (replacementDensityBandCalibration : ∀ (j : Fin d), C.data.μ.real {z : Ω | |K j z - w0 * Real.exp (-gamma * delay)| ≤ width} ≤ 2 * density * width) (replacementReadCalibration : ∀ (j : Fin d), ∀ z ∈ C.good, ¬|K j z - w0 * Real.exp (-gamma * delay)| ≤ width → (P j).MarginsAt z) (referenceCutoff : ∀ (j : Fin d) (z : Ω), (P j).label z 0 = Sum.inl (original j) ↔ K j z ≤ w0 * Real.exp (-gamma * delay)) (actualUI : ∀ (j : Fin d), MeasureTheory.Integrable ({z : Ω | (P j).observed z 0 = Sum.inl (original j)}.indicator fun (x : Ω) => 1) C.data.μ) :
    |∫ (z : Ω), nativeDetailCount C P original z ∂C.data.μ - ↑d * F (w0 * Real.exp (-gamma * delay))| ≤ 2 * ↑d * density * width + BC * C.control.failure

    05.23 (23.4)--(23.5) separate mean clause: the actual native count is within 2dLKDelta+BCepsilon of dF(w0 exp(-gamma D)). Actual indicator UI is explicit. replacementLaw supplies measurable preparation marginals; replacementDensityBandCalibration supplies the exact missing CDF-density band-mass step. replacementReadCalibration supplies full-state native margins outside each band, and referenceCutoff identifies the reference original/replacement decision. No independence across details is required.

    theorem MindFormal.live_05_23_confidence_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} (C : LearningRun Ω N n T Λ J 𝒩) (high low : ReportPlan C 2) (rating : Ω → (Fin 2 → Fin N ⊕ Unit) → ℝ) {bH bL : ℝ} (hgap : bL ≤ bH) (confidenceAllRivalsBinCalibration : high.Margins ∧ low.Margins) (referenceBinSeparation : ∀ z ∈ C.good, bH - bL ≤ high.predicted rating z - low.predicted rating z) (ratingScale : ∀ (z : Ω) (v : Fin 2 → Fin N ⊕ Unit), rating z v ∈ Set.Icc 1 7) (highUI : MeasureTheory.Integrable (high.read rating) C.data.μ) (lowUI : MeasureTheory.Integrable (low.read rating) C.data.μ) :
    (bH - bL) * (1 - C.control.failure) - 6 * C.control.failure ≤ ∫ (z : Ω), high.read rating z ∂C.data.μ - ∫ (z : Ω), low.read rating z ∂C.data.μ

    05.23 (23.8) separate confidence mean: the actual two-answer rating gap is at least (bH-bL)(1-epsilon)-6epsilon. Both rating integrals are explicit UI assumptions; the globally six-point adverse difference is the declared seven-point scale. Reference bin separation and full all-rival native calibration remain supplied intermediate steps of this row.