NLAlib.Deflation.wordSpecification_stores_deflate
Library · theorem
The total word specification identifies the mathematical deflation result on any ideal sample whose normal-sampler words are exactly those read by the program.
NLAlib.Deflation.wordSpecification_stores_deflate {K : Type} [Inhabited K] (F : FloatMachine K ℝ ℂ)
{domain : (Fin 2 → ℕ) → Prop} {admitted : ∃ d, domain d}
(matrixWork matrixWorkspace : Ops.MatrixOp → List ℕ → ℕ) {d : Fin 2 → ℕ}
{x : (Deflation.problem domain admitted).Input d} {tape : Ops.Tape K}
{G : Matrix (Fin (d 0)) (Fin (d 0)) ℂ}
(hSample : Deflation.sampleMatrix (d 0) 0 tape = G.map F.normal)
{count : Ops.Count (Ops.DenseOp ⊕ Ops.Bookkeeping) (Ops.CmpTst ⊕ Ops.IdxTst)} {m : Ops.Mem K}
(h :
(Deflation.wordSpecification (fun {l m n} ↦ F.mm) (fun {m n} ↦ F.qr) domain admitted matrixWork
matrixWorkspace).good
d x tape count m) :
m.store.readBlock 1 0 (2 * (d 0 * d 1)) =
some ((Ops.EntryCodec.pair K).packFinMatrix (deflate F (d 1) (Deflation.inputMatrix d x) G))Import NLAlib.Eigensolvers.Deflation.Probability.