Geometric contraction with an additive rounding error
Lax235315.ContractionRecurrence · concepts/Lax235315/ContractionRecurrence.lean · lax-235315
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
If the size after a round is at most half the preceding size plus q, then after i rounds it is at most the initial size divided by 2^i, plus 2q. This accommodates the ceiling in Algorithm 1's sample size, with q = c².
Concept map
Lean source view on GitHub
| 1 | import Mathlib.Data.Nat.Log |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Geometric contraction with an additive rounding error |
| 6 | type: lemma |
| 7 | --- |
| 8 | If the size after a round is at most half the preceding size plus q, then |
| 9 | after i rounds it is at most the initial size divided by 2^i, plus 2q. |
| 10 | This accommodates the ceiling in Algorithm 1's sample size, with q = c². |
| 11 | |
| 12 | # Formalization notes |
| 13 | |
| 14 | All divisions are natural-number divisions. This arithmetic statement is |
| 15 | separate from proving that the actual twin-partition rounds satisfy its |
| 16 | hypothesis. The later stopping proof must also use the algorithm's threshold |
| 17 | and handle input sizes zero and one. |
| 18 | -/ |
| 19 | |
| 20 | namespace Lax235315.ContractionRecurrence |
| 21 | |
| 22 | /-- Iterated halving accumulates less than twice the per-round additive error. -/ |
| 23 | axiom size_after_rounds (a : ℕ → ℕ) (q : ℕ) |
| 24 | (step : ∀ i, a (i + 1) ≤ a i / 2 + q) (i : ℕ) : |
| 25 | a i ≤ a 0 / 2 ^ i + 2 * q |
| 26 | |
| 27 | end Lax235315.ContractionRecurrence |
| 28 |
Formalization notes
All divisions are natural-number divisions. This arithmetic statement is separate from proving that the actual twin-partition rounds satisfy its hypothesis. The later stopping proof must also use the algorithm's threshold and handle input sizes zero and one.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments