NLA-lib Explorer

End-to-end dense Schur: one counted run

Library · Result group

Theorem (Schur.denseSchur_algorithm_measureReal_not_accepts_le). The dense Schur solver, on one run. Let the machine Mch have the standard model at \boldsymbol{u}; let the tape \xi have the stream laws law, with law s_U uniform on [0, 1] and law s_G the standard real Gaussian law. Let (n, n_r, n_q, k, F, T) = d be admitted and let the input x hold a complex \mathbf{A} of order n + 1, 0 < \delta \le 1, 0 < \varphi \le 1 and \boldsymbol{u} \le \boldsymbol{u}_0. Let I meet the model, be measurable and read the tape only in its windows. Then \mathbb{P}\bigl[\mathsf{denseSchurAlgorithm}(\mathbf{A}) \text{ fails, exceeds its budget, scratch, memory, work or span, writes outside } \mathbf{A}, \widehat{\mathbf{U}} \text{ and the flag, or stores no flag } 0 \text{ and } \widehat{\mathbf{U}}, \widehat{\mathbf{T}} \text{ with } \widehat{\mathbf{T}} \text{ upper triangular},\ \|\mathbf{A} - \widehat{\mathbf{U}} \widehat{\mathbf{T}}\widehat{\mathbf{U}}^{\mathsf{H}}\|_2 \le \delta\|\mathbf{A}\|_2,\ \|\widehat{\mathbf{U}}^{\mathsf{H}}\widehat{\mathbf{U}} - \mathbf{I}\|_2 \le 58R\boldsymbol{u} \bigr] \le \varphi\,, on one counted run, with the work and the span NLAlib.Schur.denseSchurWork. Here \boldsymbol{u}_0 is NLAlib.Schur.uDenseSchur and R is NLAlib.Schur.denseSchurRotations. [BanksGarzaVargasSrivastava2022, Theorem 1.4] with [BanksGarzaVargasSrivastava2025, Theorem 1.1]; there only the eigenvalues are computed.

Headline Standard rounding Random tape

Notes

General form, any program meeting the model: NLAlib.Ops.Algorithm; the statement on the program is NLAlib.Schur.denseSchur_measureReal_not_schur_le.

Lean statement and details
NLAlib.Schur.denseSchur_algorithm_measureReal_not_accepts_le {Mch : Ops.Machine ℝ}
  {admitted : ∃ d, Schur.SchurSizes Mch Schur.denseSchurSizes d} {u : ℝ}
  (hM : Ops.StdModel u id Mch) {law : ℕ → Measure ℝ} {sU sG : ℕ}
  (hU : law sU = ℙ.restrict (Set.Icc 0 1)) (hG : law sG = gaussianReal 0 1) {d : Fin 6 → ℕ}
  (hd : Schur.SchurSizes Mch Schur.denseSchurSizes d)
  (x : (Schur.denseSchurProblem Mch admitted).Input d)
  {I : Ops.Interp SmallEig.SmallEigOp ShiftedQR.Tst ℝ}
  (hI : (SmallEig.smallEigModel (Schur.denseSchurProblem Mch admitted) Mch sU).contracts d x I)
  (hIm : I.IsMeasurable) {win : SmallEig.SmallEigOp → List ℕ → ℕ}
  (hloc : ∀ (o : SmallEig.SmallEigOp), I.TapeLocal o (win o)) (hδ : 0 < (↑x).1.δ)
  (hδ1 : (↑x).1.δ ≤ 1) (hφ : 0 < (↑x).1.φ) (hφ1 : (↑x).1.φ ≤ 1)
  (hu : u ≤ Schur.uDenseSchur (d 0) (↑x).1.δ (↑x).1.φ) {Ω : Type} [MeasurableSpace Ω]
  {P : Measure Ω} {ξ : Ω → Ops.Tape ℝ} (hξ : Ops.IsTapeLaw law P ξ) :
  P.real
      {ω |
        ¬(Schur.denseSchurSpecification Mch admitted sG).Accepts
            (Schur.denseSchurAlgorithm Mch admitted sU sG).program I SmallEig.smallEigResources
            (ξ ω) d x fun x_1 m ↦
            Ops.Store.EqOff (Schur.schurFp (d 0) (0, 0) (2, 0) (3, 0))
                ((Schur.denseSchurProblem Mch admitted).initial d x).store m.store ∧
              Schur.SchurOutput (0, 0) (2, 0) (3, 0) (↑x).1.matrix (↑x).1.δ
                (58 * ↑(Schur.denseSchurRotations (d 0) (↑x).1.δ (↑x).1.φ) * u) m} ≤
    (↑x).1.φ

Full source on GitHub

Copy link