NLA-lib Explorer

NLAlib.SpectralBisection.StoresLevelResults.children

Library · theorem

Reached parent paths identify the represented child results needed by assembly.

NLAlib.SpectralBisection.StoresLevelResults.children {K : Type} {F : FloatMachine K ℕ ℕ}
  {n fuel budget d lo : ℕ} {R0 beta : K} {root x : EighNode K} {a : List Bool} {ua ea : ℕ × ℕ}
  {s : Ops.Store K}
  (h : SpectralBisection.StoresLevelResults F n fuel R0 beta root budget (d + 1) ua ea s)
  (ha : a.length = d) (hx : eighLoc F n fuel R0 beta 0 0 root a = some (lo, x)) (side : Bool)
  (hb : (eighStep F n fuel R0 beta x.A x.R x.ε x.ℓ (eighTapeSample n d lo)).HasChild side) :
  have step := eighStep F n fuel R0 beta x.A x.R x.ε x.ℓ (eighTapeSample n d lo);
  have p := eighNextParams F x.R x.ε x.ℓ;
  SpectralBisection.StoresResult n (d + 1) (step.childSlot lo side) ua ea
    (SpectralBisection.eighNodeResult F n fuel R0 beta budget (d + 1) (step.childSlot lo side)
      { k := step.childSize side, A := step.childMatrix side, R := p.1, ε := p.2, ℓ := x.ℓ + 1 })
    s

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.UpMath.