MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch16.A695LogicPaper.GeneralSecuritySampler

theorem MindFormal.A695LogicPaper.GeneralSecurity.native_sampler_law_all {m n : ℕ} (estimate : Fin (m + 1) → Fin (n + 1) → ℚ) (Q attempts : ℕ) {Ω : Type u_1} [mΩ : MeasurableSpace Ω] (P : PrivatePaper.EnvelopeParameters (A595Paper.viewCount RandomInput.Symbol)) (σs : ℝ) (hs : P.parameters.σ ≤ σs) (E : StateExperiment Ω (A595Paper.viewCount RandomInput.Symbol + 4) 2 Unit Unit (PageFamily.Coord (A595Paper.viewCount RandomInput.Symbol + 4))) (hQ : 1 ≤ Q) (hr : 0 < attempts) (information : { info : MeasurableSpace Ω // info ≤ ↑E.ground.filtration 0 }) {B : Set Ω} (hB : MeasurableSet B) :
E.ground.μ.real (B ∩ {ω : Ω | plannedAcceptance estimate Q (SecurityProgram.bitCount Q) attempts P σs E ω = none}) = SecurityProgram.rejectionPrice Q attempts * E.ground.μ.real B ∧ ∀ x < Q, E.ground.μ.real (B ∩ {ω : Ω | plannedAcceptance estimate Q (SecurityProgram.bitCount Q) attempts P σs E ω = some x}) = (1 - SecurityProgram.rejectionPrice Q attempts) / ↑Q * E.ground.μ.real B

The same interpreter covers the pure grid as well as every mixed grid. For Q=1 its zero-width candidate is accepted without a single Draw.