MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch16.A695LogicPaper.SecurityBill

In One Mind, clause 3 of result 16.14: Worked out on paper and drawn in its own mind, maximin protects a payment · all its clauses in Lean
theorem MindFormal.A695LogicPaper.result_19_60_3_L696 :
(∀ {m n : ℕ} (estimate : Fin (m + 1) → Fin (n + 1) → ℚ) (Q attempts : ℕ) {Ω : Type u_1} [mΩ : MeasurableSpace Ω] (P : PrivatePaper.EnvelopeParameters (A595Paper.viewCount RandomInput.Symbol)) (σs : ℝ), P.parameters.σ ≤ σs → ∀ (E : StateExperiment Ω (A595Paper.viewCount RandomInput.Symbol + 4) 2 Unit Unit (PageFamily.Coord (A595Paper.viewCount RandomInput.Symbol + 4))), PrivatePaper.ProgramCoefficients P σs E (IntegerProgram.StrategyInput.initialTape estimate Q (SecurityProgram.bitCount Q) attempts) RandomInput.drawView RandomInput.bitGlyph (A595Paper.Command.write 1 ((IntegerProgram.StrategyInput.initialTape estimate Q (SecurityProgram.bitCount Q) attempts).view 1)) RandomInput.table → (∀ᵐ (ω : Ω) ∂E.ground.μ, PrivatePaper.generalProgramReady P σs E (IntegerProgram.StrategyInput.initialTape estimate Q (SecurityProgram.bitCount Q) attempts) RandomInput.drawView RandomInput.bitGlyph (A595Paper.Command.write 1 ((IntegerProgram.StrategyInput.initialTape estimate Q (SecurityProgram.bitCount Q) attempts).view 1)) RandomInput.table 0 ω) → ↑(IntegerProgram.StrategyInput.deadline estimate Q (SecurityProgram.bitCount Q) attempts) ≤ E.horizon → 1 ≤ Q → 0 < attempts → ∀ (information : { info : MeasurableSpace Ω // info ≤ ↑E.ground.filtration 0 }) (opponent : Ω → Fin (n + 1)), Measurable opponent → ∀ (pay : Fin (m + 1) → Fin (n + 1) → ℝ) (L U εpay : ℝ), (∀ (i : Fin (m + 1)) (b : Fin (n + 1)), L ≤ pay i b ∧ pay i b ≤ U) → (∀ (i : Fin (m + 1)) (b : Fin (n + 1)), L ≤ ↑(estimate i b) ∧ ↑(estimate i b) ≤ U) → (∀ (i : Fin (m + 1)) (b : Fin (n + 1)), |↑(estimate i b) - pay i b| ≤ εpay) → (∀ k < Q, ∀ (b : Fin (n + 1)), E.ground.μ[({ω : Ω | GeneralSecurity.plannedAcceptance estimate Q (SecurityProgram.bitCount Q) attempts P σs E ω = some k} ∩ {ω : Ω | opponent ω = b}).indicator fun (x : Ω) => 1 | ↑information] =ᵐ[E.ground.μ] fun (ω : Ω) => E.ground.μ[{ω : Ω | GeneralSecurity.plannedAcceptance estimate Q (SecurityProgram.bitCount Q) attempts P σs E ω = some k}.indicator fun (x : Ω) => 1 | ↑information] ω * E.ground.μ[{ω : Ω | opponent ω = b}.indicator fun (x : Ω) => 1 | ↑information] ω) → ∀ (actual loss : Ω → ℝ), MeasureTheory.Integrable actual E.ground.μ → MeasureTheory.Integrable loss E.ground.μ → (∀ (ω : Ω), L ≤ actual ω ∧ actual ω ≤ U) → ∀ (initBad paperBad : Set Ω), MeasurableSet initBad → MeasurableSet paperBad → ∀ (εinit εpaper Cproc : ℝ), (∀ (B : Set Ω), MeasurableSet B → E.ground.μ.real (B ∩ initBad) ≤ εinit * E.ground.μ.real B) → (∀ (B : Set Ω), MeasurableSet B → E.ground.μ.real (B ∩ paperBad) ≤ εpaper * E.ground.μ.real B) → (∀ ω ∉ initBad ∪ paperBad, actual ω = SecurityProgram.actionPayment (GeneralSecurity.nativeAction estimate Q (SecurityProgram.bitCount Q) attempts E) opponent pay L ω) → (E.ground.μ[loss | ↑information] ≤ᵐ[E.ground.μ] fun (x : Ω) => Cproc) → (fun (x : Ω) => Security.value pay - 2 * εpay - (U - L) * (↑m / ↑Q + εinit + PrivateSecurity.executionPrice estimate Q attempts P σs + εpaper + SecurityProgram.rejectionPrice Q attempts) - Cproc) ≤ᵐ[E.ground.μ] E.ground.μ[fun (ω : Ω) => actual ω - loss ω | ↑information]) ∧ (∀ {Γ : Type u_2} {Ω : Type u_3} [inst : Fintype Γ] [mΩ : MeasurableSpace Ω] (P : PrivatePaper.EnvelopeParameters (A595Paper.viewCount Γ)) (σs : ℝ) (E : StateExperiment Ω (A595Paper.viewCount Γ + 4) 2 Unit Unit (PageFamily.Coord (A595Paper.viewCount Γ + 4))) (initial : A595Paper.Tape Γ) (draw : A595Paper.View Γ) (bit : Bool → Γ) (start : A595Paper.Command Γ) (table : A595Paper.View Γ → A595Paper.Command Γ), PrivatePaper.ProgramCoefficients P σs E initial draw bit start table → P.parameters.κ = Logic.L82.Paper.paperDelivery (A595Paper.viewCount Γ) → ∀ (information : { info : MeasurableSpace Ω // info ≤ mΩ }), E.ground.μ[primaryMagnitude E ⇑P.parameters.κ | ↑information] ≤ᵐ[E.ground.μ] fun (x : Ω) => 9 * ↑E.horizon / 4) ∧ (∀ {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ), 0 < Q → (IntegerProgram.StrategyInput.compiled table Q digits attempts).code.length ≤ 10000 * (m + 1) * (n + 1) * (Q + 1) ^ (m + 1) * (IntegerProgram.StrategyInput.width table Q digits attempts + 1) ^ 2 + 10000 * (m + attempts + 2) * (IntegerProgram.StrategyInput.width table Q digits attempts + 1) ^ 2) ∧ ∀ {m n : ℕ} (estimate : Fin (m + 1) → Fin (n + 1) → ℚ) (Q attempts : ℕ) {Ω : Type u_4} [mΩ : MeasurableSpace Ω] (P : PrivatePaper.EnvelopeParameters (A595Paper.viewCount RandomInput.Symbol)) (σs : ℝ) (hs : P.parameters.σ ≤ σs) (ground : EquationGround Ω (PageFamily.Coord (A595Paper.viewCount RandomInput.Symbol + 4))) (complete : CompletedEquationGround ground) (v : Fin (A595Paper.viewCount RandomInput.Symbol + 4) → PageFamily.Values), 1 ≤ Q → 0 < attempts → ∀ (information : { info : MeasurableSpace Ω // info ≤ ↑ground.filtration 0 }) (opponent : Ω → Fin (n + 1)), Measurable opponent → ∀ (pay : Fin (m + 1) → Fin (n + 1) → ℝ) (L U εpay : ℝ), (∀ (i : Fin (m + 1)) (b : Fin (n + 1)), L ≤ pay i b ∧ pay i b ≤ U) → (∀ (i : Fin (m + 1)) (b : Fin (n + 1)), L ≤ ↑(estimate i b) ∧ ↑(estimate i b) ≤ U) → (∀ (i : Fin (m + 1)) (b : Fin (n + 1)), |↑(estimate i b) - pay i b| ≤ εpay) → (∀ k < Q, ∀ (b : Fin (n + 1)), ground.μ[({ω : Ω | PrivateSecurity.plannedAcceptance estimate Q (SecurityProgram.bitCount Q) attempts P σs hs ground complete v ω = some k} ∩ {ω : Ω | opponent ω = b}).indicator fun (x : Ω) => 1 | ↑information] =ᵐ[ground.μ] fun (ω : Ω) => ground.μ[{ω : Ω | PrivateSecurity.plannedAcceptance estimate Q (SecurityProgram.bitCount Q) attempts P σs hs ground complete v ω = some k}.indicator fun (x : Ω) => 1 | ↑information] ω * ground.μ[{ω : Ω | opponent ω = b}.indicator fun (x : Ω) => 1 | ↑information] ω) → ∀ (actual loss : Ω → ℝ), MeasureTheory.Integrable actual ground.μ → MeasureTheory.Integrable loss ground.μ → (∀ (ω : Ω), L ≤ actual ω ∧ actual ω ≤ U) → ∀ (initBad paperBad : Set Ω), MeasurableSet initBad → MeasurableSet paperBad → ∀ (εinit εpaper Cproc : ℝ), (∀ (B : Set Ω), MeasurableSet B → ground.μ.real (B ∩ initBad) ≤ εinit * ground.μ.real B) → (∀ (B : Set Ω), MeasurableSet B → ground.μ.real (B ∩ paperBad) ≤ εpaper * ground.μ.real B) → (∀ ω ∉ initBad ∪ paperBad, actual ω = SecurityProgram.actionPayment (PrivateSecurity.nativeAction estimate Q (SecurityProgram.bitCount Q) attempts P σs hs ground complete v) opponent pay L ω) → (ground.μ[loss | ↑information] ≤ᵐ[ground.μ] fun (x : Ω) => Cproc) → (fun (x : Ω) => Security.value pay - 2 * εpay - (U - L) * (↑m / ↑Q + εinit + PrivateSecurity.executionPrice estimate Q attempts P σs + εpaper + SecurityProgram.rejectionPrice Q attempts) - Cproc) ≤ᵐ[ground.μ] ground.μ[fun (ω : Ω) => actual ω - loss ω | ↑information]

19.60.3. P: any admitted original-source implementation of the fixed paper repertoire, calibrated finite table, actual initialization/mark and conditional privacy certificates. H: the printed actual scoring and cost instrument. C: CRS.7 charges grid error, initialization, every primitive, private draws, rejected words, completion and conditional processing loss. The full native primary magnitude is integrable and at most 9H/4 conditionally, including erroneous branches. The unpruned gate cap and original constructed prepared family are retained; supplied fees/acquisition/baseline costs stay explicit rather than being declared free.