MindFormal v1.0.0One Mind

MindFormal.Example.A617PaperConsumers.NORReadbackProbability

theorem MindFormal.A617PaperConsumers.Moving.NOR.readback_guarantee {Ω : Type u_1} [MeasurableSpace Ω] {N M n : ℕ} (hN : 5 ≤ N) (P : PageBank.Program M n) (G : EquationGround Ω (Coord N)) (hG : CompletedEquationGround G) (H : NNReal) {p : ℝ} (hp : 0 < p) (hp1 : p < 1) (hH : 1 / 100 + (↑n + 1) * (1 / 5) ≤ ↑H) :
let s := noiseScale N p; have hs := ⋯; have E := experiment hN s hs P G hG H; have A := headerReady hN s hs P G hG H; have bad := fun (k : ℕ) => E.ownExcursion billedRow (fun (x : Billed N) => 1 / 1000) (blockClock hN s hs P G hG H k) (1 / 5); have Q := fun (k : ℕ) => A ∩ prefixEvent (fun (j : ℕ) => (bad j)ᶜ) k; (∀ k < n + 1, G.μ.real (Q k ∩ bad k) / G.μ.real (Q k) ≤ p) ∧ ∃ (good : Set Ω), MeasurableSet good ∧ G.μ.real good = G.μ.real A * ∏ j ∈ Finset.range (n + 1), G.μ.real (bad j)ᶜ ∧ (1 - billCount N * (p / billCount N) ^ 20) * (1 - p) ^ (n + 1) ≤ G.μ.real good ∧ G.μ.real goodᶜ ≤ 1 - (1 - billCount N * (p / billCount N) ^ 20) * (1 - p) ^ (n + 1) ∧ ∀ ω ∈ good, readbackCorrect hN s hs P G hG H ω H

The same original run, including the final copying aperture, charged once per release block. No independence of correctness is assumed.