NLA-lib Explorer

NLAlib.SmallEig.smallEigDecoupler_open_writes

Library · theorem

Standard rounding

Opening the log of the decoupler: from NLAlib.SmallEig.SmallEigDecouplerAlloc, the frame of NLAlib.slottedLogOpen given by its evaluations writes only the log and reaches NLAlib.SmallEig.SmallEigDecouplerOpened. A step in the proof of NLAlib.SmallEig.smallEigDecoupler_randomDecouplingRoutineContract_of_le.

NLAlib.SmallEig.smallEigDecoupler_open_writes {O Q : Type} [Ops.Has Ops.ScalarOp O]
  {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ} (hS : Ops.IsScalar M I)
  (hM : Ops.StdModel u id M) {n : ℕ} {H : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {qs : List ℝ}
  {w q f lg : ℕ × ℕ} {ns ws L : ℕ} {ρ : Ops.Env} {ds : List Ops.IExp} {args : List Ops.Operand}
  (hd : Ops.IExp.evalList ρ.idx ds = some [ns, ws]) (ha : Ops.Operand.evalList ρ args = some [lg])
  {τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} (hμ : SmallEig.SmallEigDecouplerAlloc H qs w q f lg ns ws L μ) :
  Ops.Writes Ops.Mode.total I τ (Ops.Stmt.frame ds args slottedLogOpen) ρ
    (Ops.Store.inBlock lg.1 lg.2 (ns * (1 + 5 * ws)))
    (SmallEig.SmallEigDecouplerOpened H qs w q f lg ns ws L) μ

Full source on GitHub

Import NLAlib.Eigensolvers.SmallEig.Decoupler.