NLA-lib Explorer

NLAlib.SpectralBisection.readsOnly_storesRecords

Library · theorem

Stored outcomes read only their exact result blocks. A single enclosing footprint can therefore protect all still-needed outcomes of a shallower level.

NLAlib.SpectralBisection.readsOnly_storesRecords {K : Type} (M : Ops.Machine K)
  (F : FloatMachine K ℕ ℕ) (n fuel : ℕ) (R0 beta : K) (root : EighNode K) (d : ℕ)
  (ma ua qa ea sz kd kp : ℕ × ℕ) (pos : ℕ) (G : Ops.Fp)
  (hBlocks :
    ∀ (a : List Bool) (lo : ℕ) (x : EighNode K),
      a.length = d →
        eighLoc F n fuel R0 beta 0 0 root a = some (lo, x) →
          0 < x.k →
            Ops.Fp.blocks
                (SpectralBisection.stepOutputs n d lo ma ua qa ea sz kd kp
                  (eighStep F n fuel R0 beta x.A x.R x.ε x.ℓ (eighTapeSample n d lo)))
                (SpectralBisection.stepOutputLengths
                  (eighStep F n fuel R0 beta x.A x.R x.ε x.ℓ (eighTapeSample n d lo))) ≤
              G) :
  Ops.Store.ReadsOnly G fun s ↦
    SpectralBisection.StoresRecords M F n fuel R0 beta root d ma ua qa ea sz kd kp
      { store := s, pos := pos }

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.LevelRead.