NLA-lib Explorer

NLAlib.SpectralBisection.nodeAtSlot_spec

Library · theorem

A nonempty lookup has a path witness at exactly the requested level and slot.

NLAlib.SpectralBisection.nodeAtSlot_spec {K : Type} {F : FloatMachine K ℕ ℕ} {n fuel d lo : ℕ}
  {R0 beta : K} {root : EighNode K}
  (h : ∃ x a, a.length = d ∧ eighLoc F n fuel R0 beta 0 0 root a = some (lo, x)) :
  ∃ a,
    a.length = d ∧
      eighLoc F n fuel R0 beta 0 0 root a =
        some (lo, SpectralBisection.nodeAtSlot F n fuel R0 beta root d lo)

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.SlotNodes.