NLA-lib Explorer

NLAlib.ShiftedQR.measurableSet_iterationOutcomeBy

Library · theorem

The outcomes of an iteration by the recorded unitary form a measurable set: as NLAlib.ShiftedQR.measurableSet_iterationOutcome, with the witness the unitary of the log read after (NLAlib.slottedLogRead) beyond its first j0 slots.

NLAlib.ShiftedQR.measurableSet_iterationOutcomeBy {n : ℕ} (u : ℝ) (k : ℕ) (c tv ε : ℝ)
  (a lg : ℕ × ℕ) (ns w j0 : ℕ) (F : Ops.Fp) :
  MeasurableSet
    {x |
      Ops.Store.EqOff F x.1.store x.2.store ∧
        (∀ j < 2 * ((n + 1) * (n + 1)), (x.2.store.get a.1 (a.2 + j)).isSome = true) ∧
          IsPerturbedUnitarySimilarBy
              (givensLog (n + 1) (slotEntries w (List.drop j0 (slottedLogRead lg ns w x.2.store))))
              (storedMatrix a (n + 1) (n + 1) x.1.store) (storedMatrix a (n + 1) (n + 1) x.2.store)
              ε ∧
            IsUpperHessenberg (storedMatrix a (n + 1) (n + 1) x.2.store) ∧
              ((∃ i,
                  n ≤ ↑i + k ∧
                    (1 - u) ^ 2 * ‖storedMatrix a (n + 1) (n + 1) x.2.store i.succ i.castSucc‖ ^ 2 ≤
                      tv) ∨
                hessenbergPotential k (storedMatrix a (n + 1) (n + 1) x.2.store) ≤
                  c * hessenbergPotential k (storedMatrix a (n + 1) (n + 1) x.1.store))}

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedIteration.