NLA-lib Explorer

NLAlib.Ops.Machine.eigh_toFloatMachine_map_samples

Library · theorem

The complete pure algorithm uses exactly the same words under coupled seed maps.

NLAlib.Ops.Machine.eigh_toFloatMachine_map_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)
  (f : Su → Su') (g : Sg → Sg') (hu : ∀ (scale : K) (v : Su), unif scale v = unif' scale (f v))
  (hn : ∀ (z : Sg), normal z = normal' (g z)) (fuel ell : ℕ) {n : ℕ}
  (A : Matrix (Fin n) (Fin n) (K × K)) (R0 eps beta : K) (s : List Bool → EighSample Su Sg n) :
  eigh (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif normal) fuel ell A R0 eps beta
      s =
    eigh (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif' normal') fuel ell A R0 eps
      beta fun a ↦ (f (s a).1, fun side ↦ ((s a).2 side).map g)

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.OpsSampleMap.