NLA-lib Explorer

NLAlib.Ops.Machine.eighStep_toFloatMachine_samples

Library · theorem

A bisection step agrees on coupled sampled shifts and normalized leading Gaussian blocks. All arithmetic and matrix routines are the actual same functions of the Ops scalar machine.

NLAlib.Ops.Machine.eighStep_toFloatMachine_samples {K Su Sg Su' Sg' : Type} [Inhabited Sg]
  [Inhabited Sg'] (M : Ops.Machine K) (dec : K → ℝ) (mm : MatMulMap (K × K)) (qr : QRMap (K × K))
  (unif : K → Su → K) (normal : Sg → K × K) (unif' : K → Su' → K) (normal' : Sg' → K × K)
  (n fuel : ℕ) (R0 beta : K) {k : ℕ} (A : Matrix (Fin k) (Fin k) (K × K)) (R eps : K) (ell : ℕ)
  (s : EighSample Su Sg n) (s' : EighSample Su' Sg' n)
  (hu : ∀ (scale : K), unif scale s.1 = unif' scale s'.1)
  (hg : ∀ (b : Bool), (leadingBlock k (s.2 b)).map normal = (leadingBlock k (s'.2 b)).map normal') :
  eighStep (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif normal) n fuel R0 beta A R
      eps ell s =
    eighStep (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif' normal') n fuel R0 beta
      A R eps ell s'

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsSampleCongr.