NLA-lib Explorer

NLAlib.ShiftedQR.roundedLeafCall_pwrites

Library · theorem

The leaf call of a round on the good tapes: from the copied state of round j < 2(n + 1) on the range (lo, d), d \le k, a Schur leaf meeting NLAlib.Schur.RandomSchurLeafContract on orders at most \min(k, n + 1) and norms at most N_0 stores, except with probability at most \varphi_L, an upper triangular block and an accumulator tracked from the block before with errors (\varepsilon_L, \beta). A step in the proof of NLAlib.ShiftedQR.roundedLeafBranch_pwrites.

NLAlib.ShiftedQR.roundedLeafCall_pwrites {O Q : Type} {I : Ops.Interp O Q ℝ} (hI : I.IsMeasurable)
  {win : O → List ℕ → ℕ} (hloc : ∀ (o : O), I.TapeLocal o (win o)) {law : ℕ → Measure ℝ}
  {εL β φL N₀ u e : ℝ} {n k F T ns w m : ℕ} {ps : List ℝ} (L : Ops.Stmt O Q)
  (hLeaf : Schur.RandomSchurLeafContract law εL β φL (min k (n + 1)) N₀ ps T L I)
  {H U : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} (he0 : 0 ≤ e)
  (hN₀ : specNorm H + 2 * (↑n + 1) * e ≤ N₀) {thr : ℝ} {a t p uo f st wk ub r : ℕ × ℕ} {j lo d : ℕ}
  (hj : j < 2 * (n + 1)) (hdk : d ≤ k) (hdn : d ≤ n + 1) :
  Ops.PWrites law I (ShiftedQR.roundedLeafCall L)
    (Ops.Env.frame [n + 1, k, ps.length, F, T, ns, w, lo, d] [a, t, p, st, uo, wk, ub, r, f])
    (Ops.Store.inBlock wk.1 wk.2 (2 * (d * d)) ⊔ Ops.Store.inBlock ub.1 ub.2 (2 * (d * d)))
    (ShiftedQR.SchurPopped true n H U u εL e m thr ps a t p uo f st wk ub r j lo d)
    (fun μ₁ ↦
      ∃ μ,
        ShiftedQR.SchurPopped true n H U u εL e m thr ps a t p uo f st wk ub r j lo d μ ∧
          Ops.Store.EqOff
              (Ops.Store.inBlock wk.1 wk.2 (2 * (d * d)) ⊔
                Ops.Store.inBlock ub.1 ub.2 (2 * (d * d)))
              μ.store μ₁.store ∧
            (∀ i < 2 * (d * d), (μ₁.store.get wk.1 (wk.2 + i)).isSome = true) ∧
              (∀ i < 2 * (d * d), (μ₁.store.get ub.1 (ub.2 + i)).isSome = true) ∧
                (storedMatrix wk d d μ₁.store).IsUpperTriangular ∧
                  IsTrackedUnitarySimilar εL β 1 (storedMatrix wk d d μ.store)
                    (storedMatrix ub d d μ₁.store) (storedMatrix wk d d μ₁.store))
    φL

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedWorklistSchur.