Mark readouts and the finite resource and accuracy bills of PG1.14e.
Successive gate offers differ even when their operand bits coincide: the C coordinate has a strictly increasing scale.
theorem
MindFormal.PageBank.marks_correct
{Ω : Type u_1}
[MeasurableSpace Ω]
{M n : ℕ}
(P : Program M n)
(s : ℝ)
(hs : 0 < s)
(G : EquationGround Ω (PageFamily.Coord 3))
(hG : CompletedEquationGround G)
(H : NNReal)
(ω : Ω)
(B : NNReal)
(hc : programCorrect P s hs G hG H ω B)
{k : ℕ}
(hk : k ≤ n)
:
copiedMarks P
(fun (j : Fin n) =>
((((experiment P s hs G hG H).supportHistory ω).native (↑B) false).search (↑j + 1)).event.elim 0 Prod.snd)
k = idealMarks P k
The marks copied from the original native record equal the ideal marks at every prefix, hence at every machine-step boundary.
theorem
MindFormal.PageBank.step_marks_correct
{Ω : Type u_1}
[MeasurableSpace Ω]
{M n : ℕ}
(P : Program M n)
(s : ℝ)
(hs : 0 < s)
(G : EquationGround Ω (PageFamily.Coord 3))
(hG : CompletedEquationGround G)
(H : NNReal)
(ω : Ω)
(B : NNReal)
(hc : programCorrect P s hs G hG H ω B)
{L N : ℕ}
(hsize : n = L * N)
(j : ℕ)
(hj : j ≤ N)
:
copiedMarks P
(fun (k : Fin n) =>
((((experiment P s hs G hG H).supportHistory ω).native (↑B) false).search (↑k + 1)).event.elim 0 Prod.snd)
(L * j) = idealMarks P (L * j)
Any grouping of the finite gate list into L gates per step inherits the same simultaneous certificate, without an additional probability bill.
theorem
MindFormal.PageBank.runtime_bound
{Ω : Type u_1}
[MeasurableSpace Ω]
{M n : ℕ}
(P : Program M n)
(s : ℝ)
(hs : 0 < s)
(G : EquationGround Ω (PageFamily.Coord 3))
(hG : CompletedEquationGround G)
(H : NNReal)
(ω : Ω)
(B : NNReal)
(hc : programCorrect P s hs G hG H ω B)
(j : Fin n)
:
On the certificate every gate returns by the stated finite runtime.
theorem
MindFormal.PageBank.accuracy
{Ω : Type u_1}
[MeasurableSpace Ω]
{M n : ℕ}
(P : Program M n)
(G : EquationGround Ω (PageFamily.Coord 3))
(hG : CompletedEquationGround G)
(H : NNReal)
{p ε : ℝ}
(hp : 0 < p)
(hp1 : p < 1)
(hε : 0 < ε)
(hsmall : p ≤ ε / (2 * (↑n + 1)))
(hH : 1 / 100 + ↑n * (1 / 5) ≤ ↑H)
:
∃ (good : Set Ω), MeasurableSet good ∧ G.μ.real goodᶜ < ε ∧ ∀ ω ∈ good, programCorrect P (noiseScale p) ⋯ G hG H ω H
Arbitrarily small finite-program error with strictly positive noise: the same event carries every bit, focus, saved prefix and step boundary.