MindFormal v1.0.0One Mind

MindFormal.Example.PageBankResult

Mark readouts and the finite resource and accuracy bills of PG1.14e.

theorem MindFormal.PageBank.sensory_scale_bound {n : ℕ} (j : Fin n) :
inputScale ↑j ≤ 100 * (1 + 5 * (103 / 100) ^ (n - 1))

The sensory scale, as distinguished from the tenfold high operand, has the entry's maximum for every gate of every nonempty finite program.

theorem MindFormal.PageBank.menu_bound {n : ℕ} (m : Mode n) :
‖menu m‖ ≤ 10 * (100 * (1 + 5 * (103 / 100) ^ (n - 1)))

Every possible menu read is bounded, including incorrect or excess action histories. The bound on a high operand is ten times the sensory scale.

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) :
∃ (t : ℝ) (i : Fin 3), ((((experiment P s hs G hG H).supportHistory ω).native (↑B) false).search (↑j + 1)).event = some (t, i) ∧ t ≤ 1 / 100 + ↑n * (1 / 5)

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.