NLAlib.Schur.verifiedSchur_writes
Library · theorem
Headline of verified-schur-every-tape Standard rounding
The verified dense Schur solver on every tape (Las Vegas, the accuracy half): on a scalar machine with the standard model at \boldsymbol{u} \le \boldsymbol{u}_0, index literals, exact natural literals up to n + 1, exact toNat and comparisons, draws that store the tape entry and an exact polar disk sampler, for 0 < \delta \le 1, any \varphi and every complex \mathbf{A} of order n + 1, from a memory holding \mathbf{A} and the words of verifiedSchurParams, on every tape the run of verifiedSchur terminates, writes only \mathbf{A}, \widehat{\mathbf{U}} and the flag, stores the flag 0 or 1, a matrix and an accumulator with \|\widehat{\mathbf{U}}^{\mathsf{H}}\widehat{\mathbf{U}} - \mathbf{I}\|_2 \le 58R\boldsymbol{u}, and if the flag is 0: \widehat{\mathbf{T}} is upper triangular and \|\mathbf{A} - \widehat{\mathbf{U}}\widehat{\mathbf{T}}\widehat{\mathbf{U}}^{\mathsf H}\|_2 \le \delta\|\mathbf{A}\|_2. \mathbf{H}ere \boldsymbol{u}_0 is NL\mathbf{A}li\mathbf{b}.Schur.uVerifiedSchur and R is NLAlib.Schur.denseSchurRotations at the internal backward error. No probability. No printed source. Result: verified-schur-every-tape
NLAlib.Schur.verifiedSchur_writes {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O]
[Ops.Has Ops.SampleOp O] [Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.CmpTst Q]
[Ops.Has Ops.IdxTst Q] {Mch : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ} {n : ℕ}
(hS : Ops.IsScalar Mch I) (hM : Ops.StdModel u id Mch) (hL : Ops.IsIndexLit Mch I)
(hNat : Ops.IsExactNatLit id Mch (n + 1)) (hQ : Ops.IsToNat id I) (hC : Ops.IsCmp id I)
(hSmp : Ops.IsSample I) {sU sG : ℕ} (hDisk : ShiftedQR.IsPolarDiskSampler sU I)
{A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {δ φ : ℝ} (hδ : 0 < δ) (hδ1 : δ ≤ 1)
(hu : u ≤ Schur.uVerifiedSchur n δ φ) {a p uo f : ℕ × ℕ} {μ : Ops.Mem ℝ}
(hin : Schur.SchurPipelineInput (Schur.verifiedSchurParams u n δ φ) a p uo f A μ)
(τ : Ops.Tape ℝ) :
Ops.Writes Ops.Mode.total I τ (Schur.verifiedSchur sG)
(Ops.Env.frame (Schur.denseSchurDims n (Schur.verifiedSchurDelta n δ) φ) [a, p, a, uo, f])
(Schur.schurFp n a uo f)
(Schur.VerifiedSchurOutput Mch a uo f A δ
(58 * ↑(Schur.denseSchurRotations n (Schur.verifiedSchurDelta n δ) φ) * u))
μImport NLAlib.Eigensolvers.Schur.VerifiedDense.