NLA-lib Explorer

NLAlib.CGS2.isBasisExtension_of_colsDone

Library · theorem

Exact arithmetic

The exact columns give an exact extension. The relations NLAlib.CGS2.ColsDone of the \mathbf{b} columns in exact arithmetic at the threshold 0, for basis words of k columns of length n, imply that the decoded basis, block, new block and coefficients satisfy NLAlib.IsBasisExtension.

NLAlib.CGS2.isBasisExtension_of_colsDone {K : Type} [Inhabited K] {M : Ops.Machine K} {dec : K → ℝ}
  {n k b : ℕ} {qs ws qn wd cs : List K} (hM : Ops.ExactModel dec M) (hqs : qs.length = k * n)
  (hdone :
    CGS2.ColsDone M dec 0 0 (fun x v ↦ dec v = √(∑ i ∈ Finset.range n, dec (x i) ^ 2))
      (fun a x z ↦ dec a ≠ 0 → ∀ i < n, dec (z i) = dec (x i) / dec a) 0 n k b qs ws b qn wd cs) :
  IsBasisExtension (Ops.decodeMatrix dec n k qs) (Ops.decodeMatrix dec n b ws)
    (Ops.decodeMatrix dec n b qn) (Ops.coefTop (Ops.decodeMatrix dec (k + b) b cs))
    (Ops.coefBot (Ops.decodeMatrix dec (k + b) b cs))

Full source on GitHub

Import NLAlib.Krylov.Orthogonalization.CGS2.ExtendExact.