NLA-lib Explorer

Small-eigenvalue solver (BGS III): one counted run

Library · Result group

Theorem (SmallEig.smallEig_algorithm_measureReal_not_accepts_le_unconditional). The small-eigenvalue solver, on one run, unconditional. The unconditional form of NLAlib.SmallEig.smallEig_algorithm_measureReal_not_accepts_le ([BanksGarzaVargasSrivastava2025, Theorem 1.1]): the eigenvalue-gap and eigenvector-condition tails of a complex Ginibre perturbation are proved, at the records NLAlib.ginibreGapTail <!-- value ginibreGapTail --> (2048e, 11/3, 2/3, 2) and NLAlib.ginibreConditionTail <!-- value ginibreConditionTail --> (128e, 3, 2, 2).

Headline Standard rounding Random tape

Lean statement and details
NLAlib.SmallEig.smallEig_algorithm_measureReal_not_accepts_le_unconditional {Mch : Ops.Machine ℝ}
  {nmax : ℕ} {admitted : ∃ d, SmallEig.SmallEigSizes Mch nmax ginibreGapTail ginibreConditionTail 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 3 → ℕ}
  (hd : SmallEig.SmallEigSizes Mch nmax ginibreGapTail ginibreConditionTail d)
  (x : (SmallEig.smallEigProblem Mch nmax ginibreGapTail ginibreConditionTail admitted).Input d)
  {I : Ops.Interp SmallEig.SmallEigOp ShiftedQR.Tst ℝ}
  (hI :
    (SmallEig.smallEigModel
          (SmallEig.smallEigProblem Mch nmax ginibreGapTail ginibreConditionTail admitted) Mch
          sU).contracts
      d x I)
  (hIm : I.IsMeasurable) {win : SmallEig.SmallEigOp → List ℕ → ℕ}
  (hloc : ∀ (o : SmallEig.SmallEigOp), I.TapeLocal o (win o))
  (hMS : specNorm (↑x).1.matrix ≤ (↑x).1.S) (hδ : 0 < (↑x).1.δ) (hδS : (↑x).1.δ ≤ (↑x).1.S)
  (hφ : 0 < (↑x).1.φ) (hφ1 : (↑x).1.φ ≤ 1)
  (hu : u ≤ SmallEig.uSmallEig nmax (↑x).1.S (↑x).1.δ (↑x).1.φ ginibreGapTail ginibreConditionTail)
  {Ω : Type} [MeasurableSpace Ω] {P : Measure Ω} {ξ : Ω → Ops.Tape ℝ} (hξ : Ops.IsTapeLaw law P ξ) :
  P.real
      {ω |
        ¬(SmallEig.smallEigSpecification Mch nmax ginibreGapTail ginibreConditionTail admitted
                sG).Accepts
            (SmallEig.smallEigAlgorithm Mch nmax ginibreGapTail ginibreConditionTail admitted sU
                sG).program
            I SmallEig.smallEigResources (ξ ω) d x fun x_1 m ↦
            Ops.Store.EqOff
                (Ops.Store.inBlock 0 0 (2 * ((d 0 + 1) * (d 0 + 1))) ⊔
                  Ops.Store.inBlock 2 0 (2 * ((d 0 + 1) * (d 0 + 1))))
                ((SmallEig.smallEigProblem Mch nmax ginibreGapTail ginibreConditionTail
                        admitted).initial
                    d x).store
                m.store ∧
              SmallEig.SmallEigSpectrum (0, 0) (2, 0) (↑x).1.matrix (↑x).1.δ m} ≤
    (↑x).1.φ

Full source on GitHub

Copy link

Other forms

Theorem (SmallEig.smallEig_algorithm_measureReal_not_accepts_le). The small-eigenvalue solver, on one run ([BanksGarzaVargasSrivastava2025, Theorem 1.1], corrected: \Sigma an input, the base case of order 1, every loop capped, the error absolute). 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 the eigenvalue gap and the eigenvector condition of a complex Ginibre perturbation have the tails c_1, c_2 with \mathbf{b}_1, \mathbf{b}_2 > 0. Let (n, n_q, T) = d be admitted (in particular n + 1 \le n_{\max}) and let the input x hold a matrix \mathbf{M} of order n + 1 with \|\mathbf{M}\|_2 \le \Sigma, 0 < \delta \le \Sigma, 0 < \varphi \le 1 and \boldsymbol{u} \le \boldsymbol{u}_{\mathrm{SmallEig}} (NLAlib.SmallEig.uSmallEig at n_{\max}). Let I meet the model, be measurable and read the tape only in its windows. Then \mathbb{P}\bigl[\mathsf{smallEigAlgorithm}(\mathbf{M}) \text{ fails, exceeds its budget, scratch, memory, work or span, writes outside its output, or lists no } \operatorname{spec}(\mathbf{M} + \mathbf{E}),\ \|\mathbf{E}\|_2 \le \delta\bigr] \le \varphi\,, on one counted run, with the work and the span NLAlib.SmallEig.smallEigWork.

Standard rounding Random tape

Lean statement and details
NLAlib.SmallEig.smallEig_algorithm_measureReal_not_accepts_le {Mch : Ops.Machine ℝ} {nmax : ℕ}
  {c₁ c₂ : PolyLogTail} {admitted : ∃ d, SmallEig.SmallEigSizes Mch nmax c₁ c₂ 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)
  (hA : c₁.BoundsGinibreGap) (hB : c₂.BoundsGinibreCondition) (hb₁ : 0 < c₁.b) (hb₂ : 0 < c₂.b)
  {d : Fin 3 → ℕ} (hd : SmallEig.SmallEigSizes Mch nmax c₁ c₂ d)
  (x : (SmallEig.smallEigProblem Mch nmax c₁ c₂ admitted).Input d)
  {I : Ops.Interp SmallEig.SmallEigOp ShiftedQR.Tst ℝ}
  (hI :
    (SmallEig.smallEigModel (SmallEig.smallEigProblem Mch nmax c₁ c₂ admitted) Mch sU).contracts d x
      I)
  (hIm : I.IsMeasurable) {win : SmallEig.SmallEigOp → List ℕ → ℕ}
  (hloc : ∀ (o : SmallEig.SmallEigOp), I.TapeLocal o (win o))
  (hMS : specNorm (↑x).1.matrix ≤ (↑x).1.S) (hδ : 0 < (↑x).1.δ) (hδS : (↑x).1.δ ≤ (↑x).1.S)
  (hφ : 0 < (↑x).1.φ) (hφ1 : (↑x).1.φ ≤ 1)
  (hu : u ≤ SmallEig.uSmallEig nmax (↑x).1.S (↑x).1.δ (↑x).1.φ c₁ c₂) {Ω : Type} [MeasurableSpace Ω]
  {P : Measure Ω} {ξ : Ω → Ops.Tape ℝ} (hξ : Ops.IsTapeLaw law P ξ) :
  P.real
      {ω |
        ¬(SmallEig.smallEigSpecification Mch nmax c₁ c₂ admitted sG).Accepts
            (SmallEig.smallEigAlgorithm Mch nmax c₁ c₂ admitted sU sG).program I
            SmallEig.smallEigResources (ξ ω) d x fun x_1 m ↦
            Ops.Store.EqOff
                (Ops.Store.inBlock 0 0 (2 * ((d 0 + 1) * (d 0 + 1))) ⊔
                  Ops.Store.inBlock 2 0 (2 * ((d 0 + 1) * (d 0 + 1))))
                ((SmallEig.smallEigProblem Mch nmax c₁ c₂ admitted).initial d x).store m.store ∧
              SmallEig.SmallEigSpectrum (0, 0) (2, 0) (↑x).1.matrix (↑x).1.δ m} ≤
    (↑x).1.φ

Full source on GitHub

Copy link