NLAlib.SmallEig.SmallEigInput.identity_writes
Library · theorem
The identity accumulator of NLAlib.SmallEig.smallEigProg: from the memory of the input (NLAlib.SmallEig.SmallEigInput), on a scalar machine with the literals 0 and 1 exact, NLAlib.SmallEig.identityLeaf writes only the output block, stores the identity there and keeps the input. Shared by the trees of NLAlib.hessenbergReduceLast, NLAlib.Schur.schurPipelineWith, NLAlib.SmallEig.identityLeaf and 6 more.
NLAlib.SmallEig.SmallEigInput.identity_writes {O Q : Type} [Ops.Has Ops.ScalarOp O]
{Mch : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} (hS : Ops.IsScalar Mch I) (h0 : Mch.lit 0 = 0)
(h1 : Mch.lit 1 = 1) {nmax n T : ℕ} {S δ φ : ℝ} {c₁ c₂ : PolyLogTail} {w q o : ℕ × ℕ}
{M : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {μ : Ops.Mem ℝ} {τ : Ops.Tape ℝ}
(hin : SmallEig.SmallEigInput nmax S δ φ c₁ c₂ w q o M μ) :
Ops.Writes Ops.Mode.total I τ SmallEig.identityLeaf
(Ops.Env.frame [n + 1, (SmallEig.smallEigParams nmax S δ φ c₁ c₂).length, T] [w, q, w, o])
(Ops.Store.inBlock o.1 o.2 (2 * ((n + 1) * (n + 1))))
(fun μ' ↦ SmallEig.SmallEigInput nmax S δ φ c₁ c₂ w q o M μ' ∧ HoldsMatrix o 1 μ'.store) μImport NLAlib.Eigensolvers.SmallEig.ProgramSchur.