MindFormal v1.0.0One Mind

MindFormal.Example.PageReductions.TeacherBill

TR3's optional independent-teacher bill and its printed sufficient count algebra. These are separate from the native selection certificate; the deterministic teacher has zero teacher error.

theorem MindFormal.PageReductions.Role.teacher_bill {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {n : ℕ} (hn : 0 < n) (X : Fin n → Ω → ℝ) (hX : ∀ (i : Fin n), AEMeasurable (X i) μ) (hb : ∀ (i : Fin n), ∀ᵐ (ω : Ω) ∂μ, X i ω ∈ Set.Icc 0 1) (hi : ProbabilityTheory.iIndepFun X μ) {π r : ℝ} (hmean : ∀ (i : Fin n), ∫ (ω : Ω), X i ω ∂μ = π) (hr : r < π) :
μ.real {ω : Ω | ∑ i : Fin n, X i ω < ↑n * r} ≤ Real.exp (-2 * ↑n * (π - r) ^ 2)

The Bernoulli indicator case is included in these bounded indicators. Independence and the primitive one-trial mean are the teacher's specified law.

theorem MindFormal.PageReductions.Role.count_gap {σ g η ηpath late path r u0 u1 n : ℝ} (hσ : 0 < σ) (hd : 0 < r * u0 - (1 - r) * u1) (hn : 4 * σ * (g + η + ηpath + late + path) / (r * u0 - (1 - r) * u1) < n) :
n * (1 - r) * u1 / (4 * σ) + ηpath + path < n * r * u0 / (4 * σ) - g - η - late

The printed count leaves a strict native-role interval; its eventual winner still comes from the separately proved race, not this algebra.