MindFormal v1.0.0One Mind

MindFormal.Example.ReadWitnessArithmetic

def MindFormal.ReadWitness.targetQ (σ g : ℚ) (load : Fin 4 → ℚ) (i : Fin 4) :

Rational evaluation of the original target; it is not a new dynamics.

Equations
Instances For
    def MindFormal.ReadWitness.errorQ (σ : ℚ) (load err : Fin 4 → ℚ) (i : Fin 4) :

    Rational evaluation of the complete-pool support error formula.

    Equations
    Instances For
      theorem MindFormal.ReadWitness.target_cast (σ g : ℚ) (load : Fin 4 → ℚ) (i : Fin 4) :
      ↑(targetQ σ g load i) = normalizedTarget (↑σ) (↑g) (fun (j : Fin 4) => ↑(load j)) i

      The rational target is exactly the original complete-pool real target, for arbitrary primitive rational data.

      theorem MindFormal.ReadWitness.error_cast (σ : ℚ) (load err : Fin 4 → ℚ) (i : Fin 4) :
      ↑(errorQ σ load err i) = comparisonTargetError (↑σ) (fun (j : Fin 4) => ↑(load j)) (fun (j : Fin 4) => ↑(err j)) i

      The rational support-error expression is exactly the original complete-pool comparison bill.

      theorem MindFormal.ReadWitness.failure_le {σ g α : ℚ} {W : Fin 4 → Fin 4 → ℚ} {v : Fin 4 → Fin 2 → ℚ} {race : Bool} (hD : (data σ g α W v race).Admissible) {Ω : Type u_1} [MeasurableSpace Ω] (G : EquationGround Ω Unit) (hG : CompletedEquationGround G) (u : Fin 4 → ℚ) (hu : ∀ (i : Fin 4), 0 ≤ u i) (hg : 1 / 100000000 ≤ g) (hc : DriftChecked σ g α W v race u) :
      (box hD G hG u hu hg hc).errorProbability ≤ 1 / 1000000

      All 28 noisy rows share one explicit failure bound. Trace rows have zero loading; the estimate also tolerates counting all 32 coordinates.