NLA-lib Explorer

NLAlib.ShiftedQR.potential_contract_of_lt

Library · theorem

The potential test accepts only a contraction: if the rounded potentials p_T, p_\mathbf{H} of \widehat{\mathbf{H}} and \mathbf{H} are within 20\boldsymbol{u}, relatively, of \psi_T, \psi_\mathbf{H} \ge 0, the threshold \mathbf{P} is within \boldsymbol{u}, relatively, of 1.0015(1 - \gamma)p_\mathbf{H}, \gamma \le 1, 2 \cdot 10^5\boldsymbol{u} \le 1 and p_T < \mathbf{P}, then \psi_T \le 1.002(1 - \gamma)\psi_\mathbf{H}.

NLAlib.ShiftedQR.potential_contract_of_lt {u ψT ψH pT pH P γ : ℝ} (hu0 : 0 ≤ u)
  (hu : 200000 * u ≤ 1) (hγ1 : γ ≤ 1) (hψH : 0 ≤ ψH) (hpT : |pT - ψT| ≤ 20 * u * ψT)
  (hpH : |pH - ψH| ≤ 20 * u * ψH) (hP : |P - 1.0015 * (1 - γ) * pH| ≤ u * |1.0015 * (1 - γ) * pH|)
  (hlt : pT < P) : ψT ≤ 1.002 * (1 - γ) * ψH

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedShTrial.