NLA-lib Explorer

NLAlib.ShiftedQR.roundedLeafBranch_pwrites

Library · theorem

Standard rounding

The leaf branch 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, d \le n + 1, the leaf call (NLAlib.ShiftedQR.roundedLeafCall_pwrites) and the rest of the branch (NLAlib.ShiftedQR.roundedLeafRest_reached) reach the state before round j + 1, except with probability at most \varphi_L. A step in the proof of NLAlib.ShiftedQR.roundedRange_pwrites.

NLAlib.ShiftedQR.roundedLeafBranch_pwrites {O Q : Type} [Ops.Has Ops.ScalarOp O]
  {Mch : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {u : ℝ} (hS : Ops.IsScalar Mch I)
  (hM : Ops.StdModel u id Mch) (hu0 : 0 ≤ u) (hu : u ≤ 1 / 100) (hI : I.IsMeasurable)
  {win : O → List ℕ → ℕ} (hloc : ∀ (o : O), I.TapeLocal o (win o)) {law : ℕ → Measure ℝ}
  {εL β φL N₀ e : ℝ} {n k F T ns w m : ℕ} (hm2 : 2 * k * (k + 2) ≤ m) {ps : List ℝ}
  (L : Ops.Stmt O Q) (hLeaf : Schur.RandomSchurLeafContract law εL β φL (min k (n + 1)) N₀ ps T L I)
  (hεL : 0 ≤ εL) (he : β + (8 * (↑n + 1) * (↑k + 2) * u * N₀ + 2 * εL * N₀) ≤ e)
  (hroom : 2 * (↑n + 1) * (8 * (↑n + 1) * (↑k + 2) * u * N₀) ≤ N₀)
  {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).seq ShiftedQR.roundedLeafRest)
    (Ops.Env.frame [n + 1, k, ps.length, F, T, ns, w, lo, d] [a, t, p, st, uo, wk, ub, r, f])
    (ShiftedQR.schurRoundFp (n + 1) a uo f st wk ub r)
    (ShiftedQR.SchurPopped true n H U u εL e m thr ps a t p uo f st wk ub r j lo d)
    (ShiftedQR.SchurReached n H U u εL e m thr ps a t p uo f st wk ub r (j + 1)) φL

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedWorklistSchur.