Eqs. (2)–(6) — if k₀ + 1 ≤ k_end ≤ k₀ + 10 then 0.9·1.05^{−k_end} ≤ θ ≤ 1.65·0.9·1.05^{−k_end}
ProvedQApproxCount.Counting.eqs_2_6approximate-countinggroverp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let and let be the largest integer with (eq. (2)). If , then
So when step 1 behaves ideally, the bracket , that initialises step 2 contains .
Formalization Note " is the largest integer with " is encoded by the two hypotheses with (in the algorithm , so ).
Preamble
import Mathlib
Formal statement
namespace QApproxCount.Counting
/-- Eqs. (2)–(6), p. 5 (ideal case of step 1): let `θ > 0` and let `k₀` be the largest integer
with `θ · 1.05^{k₀} ≤ 0.9`. If `k₀ + 1 ≤ k_end ≤ k₀ + 10`, then
`0.9 · 1.05^{-k_end} ≤ θ ≤ 1.65 · (0.9 · 1.05^{-k_end})`, i.e. `θmin ≤ θ ≤ θmax` for the bracket
initialised in step 2. -/
theorem eqs_2_6 (θ : ℝ) (hθ : 0 < θ) (k₀ kend : ℕ)
(hk₀ : θ * (1.05 : ℝ) ^ k₀ ≤ 0.9) (hk₀max : 0.9 < θ * (1.05 : ℝ) ^ (k₀ + 1))
(hlo : k₀ + 1 ≤ kend) (hhi : kend ≤ k₀ + 10) :
0.9 * (1.05 : ℝ) ^ (-(kend : ℤ)) ≤ θ ∧ θ ≤ 1.65 * (0.9 * (1.05 : ℝ) ^ (-(kend : ℤ))) := by sorry
end QApproxCount.Counting
Source
Aaronson & Rall, Quantum Approximate Counting, Simplified, arXiv:1908.10846v6, p. 5, eqs. (2)–(6)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.