NLA-lib Explorer

NLAlib.SpectralBisection.storesRecords_of_word_steps

Library · theorem

Actual raw-word step outcomes on the stored level batches give the exact indexed-tape records. The root's pure slot-bound theorem justifies every used Gaussian component.

NLAlib.SpectralBisection.storesRecords_of_word_steps {K : Type} [Inhabited K] (M : Ops.Machine K)
  (dec : K → ℝ) (mm : MatMulMap (K × K)) (qr : QRMap (K × K)) (n base : ℕ) (τ : Ops.Tape K)
  (fuel : ℕ) (R0 eps beta : K) (ell : ℕ) (A : Matrix (Fin n) (Fin n) (K × K)) (d : ℕ)
  (ma ua qa ea sz kd kp : ℕ × ℕ) (m : Ops.Mem K)
  (h :
    ∀ (a : List Bool) (lo : ℕ) (x : EighNode K),
      a.length = d →
        eighLoc (SpectralBisection.tapeMachine M dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) n base τ) n
              fuel R0 beta 0 0 { k := n, A := A, R := R0, ε := eps, ℓ := ell } a =
            some (lo, x) →
          0 < x.k →
            SpectralBisection.StoresStep M x.R n d lo ma ua qa ea sz kd kp
              (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 x.A x.R x.ε x.ℓ
                (SpectralBisection.storedNodeSample n lo
                  (Ops.vec (SpectralBisection.levelUniformWords n base τ d) lo)
                  (SpectralBisection.levelGaussianMatrix n base τ d)))
              m) :
  SpectralBisection.StoresRecords M
    (SpectralBisection.tapeMachine M dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) n base τ) n fuel R0
    beta { k := n, A := A, R := R0, ε := eps, ℓ := ell } d ma ua qa ea sz kd kp m

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.Storage.