NLAlib.Schur.identity_writes_holdsMatrix_one_of_lit
Library · theorem
The identity program stores the identity when the literals 0 and 1 are exact. Shared by the trees of NLAlib.hessenbergReduceLast, NLAlib.Schur.schurPipelineWith, NLAlib.SmallEig.identityLeaf and 6 more.
NLAlib.Schur.identity_writes_holdsMatrix_one_of_lit {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) {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ} {N : ℕ} {b : ℕ × ℕ}
(hroom : b.2 + 2 * (N * N) ≤ m.store.len b.1) :
Ops.Writes Ops.Mode.total I τ Ops.PairMatrix.identity (Ops.Env.frame [N] [b])
(Ops.Store.inBlock b.1 b.2 (2 * (N * N))) (fun m' ↦ HoldsMatrix b 1 m'.store) mImport NLAlib.Eigensolvers.Schur.Completion.