NLAlib.SpectralBisection.bisectionProgram_kernelWeight_le_of_exec
Library · theorem
The actual canonical execution has the same matrix-kernel bound, after removing only its structural instruction coordinates. Its raw buffers are supplied without preprocessing.
NLAlib.SpectralBisection.bisectionProgram_kernelWeight_le_of_exec {K : Type} [Inhabited K]
{domain : (Fin 3 → ℕ) → Prop} {admitted : ∃ d, domain d} (M : Ops.Machine K) (dec : K → ℝ)
(mm : MatMulMap (K × K)) (qr : QRMap (K × K))
{I : Ops.Interp Ops.DenseOp (Ops.CmpTst ⊕ Ops.IdxTst) K} (hS : Ops.IsScalar M I)
(hL : Ops.IsIndexLit M I) (hC : Ops.IsCmp dec I)
(hMM : Ops.IsMatrixMul (Ops.EntryCodec.pair K) (fun {l m n} ↦ mm) I)
(hQR : Ops.IsMatrixQR (Ops.EntryCodec.pair K) (fun {m n} ↦ qr) I) (hQ : Ops.IsToNat dec I)
(hSample : Ops.IsSample I) (d : Fin 3 → ℕ)
(x : (SpectralBisection.problem domain admitted).Input d)
(hLit : Ops.IsExactNatLit dec M (max (d 0) 4)) (T : ℕ → ℕ) (hT : Monotone T)
(hadd : ∀ (i j : ℕ), T i + T j ≤ T (i + j))
(R : Ops.ResourceModel Ops.DenseOp (Ops.CmpTst ⊕ Ops.IdxTst)) {τ : Ops.Tape K}
{st : Ops.St (Ops.DenseOp ⊕ Ops.Bookkeeping) (Ops.CmpTst ⊕ Ops.IdxTst) K}
(hr :
Ops.exec SpectralBisection.bisectionProgram I R
(SpectralBisection.problem domain admitted).formats τ d
((SpectralBisection.problem domain admitted).initial d x) =
some st) :
(Ops.Dense.kernelWeight T) (Ops.Count.original st.cost) ≤ (d 1 + 1) * (2 * d 2 + 11) * T (d 0)Import NLAlib.Eigensolvers.SpectralBisection.ProgramWork.