NLA-lib Explorer

NLAlib.SpectralBisection.eighStep_tapeMachine

Library · theorem

The existing mathematical indexed-sample step is exactly the actual stored-word step. A slot bound suffices, including empty or one-dimensional nodes whose step reads no samples.

NLAlib.SpectralBisection.eighStep_tapeMachine {K : Type} [Inhabited K] (M : Ops.Machine K)
  (dec : K → ℝ) (mm : MatMulMap (K × K)) (qr : QRMap (K × K)) (n base : ℕ) (τ : Ops.Tape K)
  (d lo fuel : ℕ) (R0 beta R eps : K) (ell : ℕ) {k : ℕ} (A : Matrix (Fin k) (Fin k) (K × K))
  (hslot : lo + k ≤ n) :
  eighStep (SpectralBisection.tapeMachine M dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) n base τ) n fuel
      R0 beta A R eps ell (eighTapeSample n d lo) =
    eighStep
      (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) M.mul fun z ↦ M.normalWords z.1 z.2)
      n fuel R0 beta A R eps ell
      (SpectralBisection.storedNodeSample n lo
        (Ops.vec (SpectralBisection.levelUniformWords n base τ d) lo)
        (SpectralBisection.levelGaussianMatrix n base τ d))

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.TapeMachine.