Gritzmann–Klee–Westwater ray-shooting query budget summation and bound
ProvedGrunbaum2003.repaired_ray_query_budget_boundcombinatoricsconvex-geometryconvex-polytopes
This lemma proves the summation identity and global query-budget inequality for the Gritzmann–Klee–Westwater ray-oracle reconstruction bound in dimensions when the facet count satisfies .
Let satisfy and . Then:
- Planar detector summation (
sum_twice_remaining_add_three): Summing the two-charge planar secant-detector cost over facet-discovery stages ( unknown facets remaining at stage ) gives
- Global query budget (
corrected_discovery_budget_fits): Accounting for vertex-verification queries, initial inner-simplex queries, and queries at stage , the total query count satisfies
Formalization Note Because for and , the linear coefficient absorbs both the -query per-call detector overhead and the initial simplex queries while preserving the leading quadratic coefficient .
Preamble
import Mathlib.Algebra.BigOperators.Group.Finset.Basic import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Data.Finset.Range import Mathlib.Tactic.Linarith import Lean.Elab.Tactic.Omega import Mathlib.Tactic.Ring set_option autoImplicit false open scoped BigOperators
Formal statement
namespace Grunbaum2003
theorem repaired_ray_query_budget_bound (d m f₀ : ℕ) (hd : 2 ≤ d) (hm : d + 1 ≤ m) :
(∑ k ∈ Finset.range m, (2 * (m - k) + 3)) = m * m + 4 * m ∧
f₀ + (d + 1) + ∑ k ∈ Finset.range m, (1 + (d - 1) * (2 * (m - k) + 3)) ≤
f₀ + (d - 1) * m ^ 2 + (5 * d - 4) * m := by sorry
end Grunbaum2003Source
Grünbaum 2003, Convex Polytopes (2nd ed., Graduate Texts in Mathematics 221), §3.6, pp. 52b–52c (citing Gritzmann–Klee–Westwater 1995)