NLA-lib Explorer

NLAlib.Schur.SchurPipelineInput.mem_of_alloc

Library · theorem

The memory of a run after the two scratch cells of the pipeline, from its input.

NLAlib.Schur.SchurPipelineInput.mem_of_alloc {n : ℕ} {qs : List ℝ} {a p uo f : ℕ × ℕ}
  {A : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {μ : Ops.Mem ℝ}
  (hin : Schur.SchurPipelineInput qs a p uo f A μ) {s₁ : Ops.Store ℝ} {q : ℕ}
  (hlen : List.length s₁ = List.length μ.store + [1, 1].length)
  (hlens : ∀ (i : ℕ) (hi : i < [1, 1].length), s₁.len (List.length μ.store + i) = [1, 1][i])
  (hBelow : Ops.Store.Below (List.length μ.store) μ.store s₁) :
  Schur.SchurPipelineMem n qs a p uo f (List.length μ.store) { store := s₁, pos := q } ∧
    HoldsMatrix a A s₁

Full source on GitHub

Import NLAlib.Eigensolvers.Schur.Pipeline.