Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Discrete Geometry

156 missions · 79 completed

Missions

Open77Completed79All156
Captain: mikedeng1

Convex Polytopes V: Face-lattice recovery from ray queriesTextbook

Motivation

A polytope can be given by a list of vertices, a list of inequalities, or much less explicit access. The last case arises when geometric information is available through queries to a physical or computational object but a full description is unavailable. Grünbaum's account of a result by Gritzmann, Klee, and Westwater asks how much of a polytope can be recovered when each query shoots a ray from a known interior point and reports where it meets the boundary. The target is the complete face lattice, including incidence among faces of every dimension, and the cost is the number of oracle calls. The result appears in Convex Polytopes, §3.6, printed pp. 52b–52c (PDF pp. 74–75 of the supplied source).

Setting

Fix a positive integer ddd. A ddd-polytope PPP is a nonempty finite convex hull in real coordinate space Rd\mathbb R^dRd whose affine span is the whole space. The origin is known to lie in the interior of PPP. A ray query supplies a nonzero direction vvv; the oracle returns the intersection of the positive ray {tv:t>0}\{tv:t>0\}{tv:t>0} with the boundary of PPP. The theorem requires this boundary-point property for every nonzero direction. It does not give the reconstruction program the vertices, inequalities, face counts, or coordinates of PPP.

A face is represented by an exposed subset of PPP, ordered by inclusion. The resulting face lattice includes the empty and whole faces. For 0≤k<d0\leq k<d0≤k<d, fk(P)f_k(P)fk​(P) counts nonempty faces of affine dimension kkk; hence f0(P)f_0(P)f0​(P) is the vertex count and fd−1(P)f_{d-1}(P)fd−1​(P) is the facet count. The empty face has dimension −1-1−1 in the book's convention and is excluded from these natural-indexed counts. These conventions follow Grünbaum §§2.4 and 3.1 (printed pp. 17 and 31; PDF pp. 35 and 51).

Formalization target

The single source obligation is the unnumbered Gritzmann–Klee–Westwater theorem of Grünbaum §3.6. For each d>0d>0d>0, one finite exact-real ray-query program works for every eligible PPP and every correct ray oracle for PPP. It halts with an encoding of the entire face lattice after at most

f0(P)+(d−1)fd−1(P)2+(5d−4)fd−1(P)f_0(P)+(d-1)f_{d-1}(P)^2+(5d-4)f_{d-1}(P)f0​(P)+(d−1)fd−1​(P)2+(5d−4)fd−1​(P)

queries. The square on the facet count, both coefficients, and the continuation of “queries” across the page break are part of the printed statement. The program is selected before the unknown polytope and its oracle. The finite running time and output may depend on the instance. No common output, fixed runtime bound, or bit-complexity bound is asserted.

The Lean declaration is Grunbaum2003.ray_oracle_face_lattice_reconstruction. It asserts existence of the program, universal correctness, finite termination in a halt instruction, the displayed query inequality, and a concrete encoding of the whole face lattice. Its body is sorry: this package is a compiled statement and does not claim a machine-checked proof.

Significance

The conclusion recovers all face incidences from boundary samples on rays from one interior point. It is stronger than recovering only a vertex or facet list because the output explicitly determines the ordering of all faces. The bound measures the information requested from the oracle; the source does not constrain the number of internal arithmetic steps. A formal proof would connect the geometric reconstruction argument to a precise query machine and establish that its output matrix has exactly the claimed faces and inclusions.

Difficulty

Ray answers are geometric points, while the desired output is a global combinatorial structure. Sampling one direction per visible feature gives no direct certificate that all faces and incidences have been found. In particular, a proposed reconstruction must use only the permitted oracle answers and still know when its finite description is complete. The theorem also needs a uniform program for every polytope in a fixed dimension, with the instance dependent query count above. The present statement makes these quantifier and resource requirements explicit.

Formalization scope

The machine has a finite instruction list for rational constants, exact real arithmetic, sign branches, tape movement, oracle queries, and halt. Its tape begins at zero. A query reads a nonzero direction from the tape and writes back the oracle's boundary answer; only this instruction increments the query counter. A zero direction, invalid label, or division by zero fails instead of creating a successful execution. Thus an unrestricted oracle value at zero cannot certify the theorem. Arithmetic and sign tests are exact real operations, matching the source's query model rather than imposing a bit model.

The output is a self-delimiting Boolean inclusion matrix indexed by a finite type. A bijection connects its indices to all exposed faces of PPP, and each matrix entry is one precisely when the associated faces are ordered by inclusion. This rules out an output consisting merely of face counts, vertices, or facets. IsDPolytope, faceCount, PolytopeFace, the ray-oracle predicate, machine syntax and execution, and the output predicate are the expression dependencies of the goal. The exposed-face subtype and full-dimensional polytope predicate are shared unchanged with this book's other staged missions. Contributions needed for a proof may include geometric face finiteness and reconstruction lemmas, but those are not added as unreviewed mission items here.

Selected references

  • Branko Grünbaum, Convex Polytopes, 2nd ed., Springer, 2003, §§2.4, 3.1, 3.6, especially the unnumbered Gritzmann–Klee–Westwater theorem on printed pp. 52b–52c (supplied source.pdf, PDF pp. 74–75).
  • P. Gritzmann, V. Klee, and D. Westwater, original result cited by Grünbaum as Theorem 5.5 (1995), p. 715. This package follows Grünbaum's stated theorem; the original article was not independently inspected for this packaging step.
10 thms1 active userReviewed
Convex OptimizationOperations ResearchOptimization·Captain: Shuze Chen

Lectures on Modern Convex Optimization IX: Ellipsoids Containing a Sum of Ellipsoids Within a Factor (π/2)^{n/2}Textbook

Motivation

Ellipsoids are the simplest convex bodies that can approximate an arbitrary convex set to within a factor depending only on the dimension. They are used for exactly that in control (reachable sets of linear systems), robust optimization (uncertainty sets) and the ellipsoid method. A linear system x(t+1)=Ax(t)+Bu(t)x(t+1)=Ax(t)+Bu(t)x(t+1)=Ax(t)+Bu(t) with ∥u(t)∥2≤1\|u(t)\|_2\le1∥u(t)∥2​≤1 illustrates the need. Its reachable set grows by an arithmetic sum at every step, so an ellipsoidal description of it requires approximating a sum of ellipsoids by a single ellipsoid, recursively and cheaply.

Timeline. Fritz John (1948) proved that every convex body has a unique maximal-volume inscribed ellipsoid and a unique minimal-volume circumscribed one, each within a factor nnn (n\sqrt nn​ for symmetric bodies) of the body; the circumscribed case goes back to Löwner. Boyd, El Ghaoui, Feron and Balakrishnan (1994) gave semidefinite programs whose solutions are ellipsoids that provably contain a sum of ellipsoids. Nesterov (1998) and Ye (1999) proved a π/2\pi/2π/2 approximation bound for semidefinite relaxations of quadratic maximization with commuting constraint matrices. Ben-Tal and Nemirovski (2001), Lecture 4, §4.9, combine the last two: the semidefinite outer ellipsoid of a sum of ellipsoids has volume at most (π/2)n/2(\pi/2)^{n/2}(π/2)n/2 times that of the smallest one.

Setting

All objects live in Rn\mathbb R^nRn, with uTu=∑juj2u^Tu=\sum_ju_j^2uTu=∑j​uj2​.

  • An ellipsoid is a set E(A,c)={Au+c∣uTu≤1}E(A,c)=\{Au+c \mid u^Tu\le1\}E(A,c)={Au+c∣uTu≤1} with A∈Rn×qA\in\mathbb R^{n\times q}A∈Rn×q. It is full-dimensional if it can be written with AAA square and Det⁡A≠0\operatorname{Det}A\ne0DetA=0.
  • Volume is normalized: Vol⁡(G)\operatorname{Vol}(G)Vol(G) is the Lebesgue measure of GGG divided by that of the unit Euclidean ball. Then Vol⁡(E(A,c))=∣Det⁡A∣\operatorname{Vol}(E(A,c))=|\operatorname{Det}A|Vol(E(A,c))=∣DetA∣ and Vol⁡(W[Z])=(Det⁡Z)−1/2\operatorname{Vol}(W[Z])=(\operatorname{Det}Z)^{-1/2}Vol(W[Z])=(DetZ)−1/2, where W[Z]={x∣xTZx≤1}W[Z]=\{x \mid x^TZx\le1\}W[Z]={x∣xTZx≤1} for Z≻0Z\succ0Z≻0.
  • A solid is a closed, bounded, convex set with nonempty interior.
  • Fix positive definite B1,…,BmB_1,\dots,B_mB1​,…,Bm​ and the centred ellipsoids Wi=W[Bi]W_i=W[B_i]Wi​=W[Bi​]. Their arithmetic sum is W=W1+⋯+Wm={w1+⋯+wm∣wi∈Wi}W=W_1+\dots+W_m=\{w_1+\dots+w_m \mid w_i\in W_i\}W=W1​+⋯+Wm​={w1​+⋯+wm​∣wi​∈Wi​}.
  • Let BiB^iBi be the (mn)×(mn)(mn)\times(mn)(mn)×(mn) block-diagonal matrix whose only nonzero n×nn\times nn×n diagonal block is the iii-th, equal to BiB_iBi​. Let M[Z]M[Z]M[Z] be the (mn)×(mn)(mn)\times(mn)(mn)×(mn) matrix of m2m^2m2 blocks, all equal to ZZZ.
  • The semidefinite program
max⁡t,Z,λ{t  ∣  t≤Det⁡1/n(Z), ∑i=1mλiBi⪰M[Z], λ≥0, Z⪰0, ∑i=1mλi=1}(O~)\max_{t,Z,\lambda}\Big\{t \;\Big|\; t\le\operatorname{Det}^{1/n}(Z),\ \sum_{i=1}^m\lambda_iB^i\succeq M[Z],\ \lambda\ge0,\ Z\succeq0,\ \sum_{i=1}^m\lambda_i=1\Big\}\qquad(\tilde O)t,Z,λmax​{t​t≤Det1/n(Z), i=1∑m​λi​Bi⪰M[Z], λ≥0, Z⪰0, i=1∑m​λi​=1}(O~)

produces, from each feasible solution with t>0t>0t>0, an ellipsoid W[Z]⊇WW[Z]\supseteq WW[Z]⊇W.

Formalization targets

Goal: Proposition 4.9.5

Let (t∗,Z∗,λ∗)(t_*,Z_*,\lambda_*)(t∗​,Z∗​,λ∗​) be any optimal solution of (O~)(\tilde O)(O~). Let Z∗∗≻0Z_{**}\succ0Z∗∗​≻0 be such that W[Z∗∗]W[Z_{**}]W[Z∗∗​] is the smallest-volume full-dimensional ellipsoid containing WWW. Then

Vol⁡(W[Z∗])≤(π2)n/2Vol⁡(W[Z∗∗]).\operatorname{Vol}(W[Z_*])\le\Big(\frac\pi2\Big)^{n/2}\operatorname{Vol}(W[Z_{**}]).Vol(W[Z∗​])≤(2π​)n/2Vol(W[Z∗∗​]).

This is the book's ratio ϑ=Vol⁡(W[Z∗])/Vol⁡(W[Z∗∗])≤(π/2)n/2\vartheta=\operatorname{Vol}(W[Z_*])/\operatorname{Vol}(W[Z_{**}])\le(\pi/2)^{n/2}ϑ=Vol(W[Z∗​])/Vol(W[Z∗∗​])≤(π/2)n/2 in product form.

Milestones

  1. (D): if every X⪰0X\succeq0X⪰0 with Tr⁡(BiX)≤1\operatorname{Tr}(B^iX)\le1Tr(BiX)≤1 for all iii has Tr⁡(M[Z]X)≤1\operatorname{Tr}(M[Z]X)\le1Tr(M[Z]X)≤1, then W⊆W[Z]W\subseteq W[Z]W⊆W[Z].
  2. Proposition 4.9.4: feasible solutions of (O~)(\tilde O)(O~) with t>0t>0t>0 give Z≻0Z\succ0Z≻0, W⊆W[Z]W\subseteq W[Z]W⊆W[Z] and Vol⁡(W[Z])≤t−n/2\operatorname{Vol}(W[Z])\le t^{-n/2}Vol(W[Z])≤t−n/2. Optimal solutions give the smallest such volume.
  3. Proposition 4.10.5 (Nesterov–Ye): for commuting BiB_iBi​, strictly feasible constraints xTBix≤dix^TB_ix\le d_ixTBi​x≤di​ and A⪰0A\succeq0A⪰0, the semidefinite value satisfies F∗≤π2f∗F^*\le\frac\pi2f^*F∗≤2π​f∗, and the dual is solvable.
  4. Theorem 4.9.1 (Löwner–Fritz John) for solids, both the inscribed and the circumscribed ellipsoid, with factors nnn and n\sqrt nn​.
  5. Proposition 4.9.3: containment of E(Z,z)E(Z,z)E(Z,z) (Z∈Rn×qZ\in\mathbb R^{n\times q}Z∈Rn×q, q≥1q\ge1q≥1) in a full-dimensional ellipsoid is equivalent to a linear matrix inequality in one scalar.
  6. Lemma 4.9.1: ∣Det⁡(S+C)∣≥Det⁡S|\operatorname{Det}(S+C)|\ge\operatorname{Det}S∣Det(S+C)∣≥DetS for S≻0S\succ0S≻0 and CCC skew-symmetric.
  7. Proposition 4.9.6: the inner program (I~)(\tilde I)(I~) gives ellipsoids contained in WWW of volume at least tnt^ntn. Optimal solutions give the largest such volume.

Significance

The goal is a quantitative guarantee for a tractable surrogate. Computing the smallest ellipsoid containing a sum of ellipsoids is believed hard when mmm is part of the input. A single semidefinite program gives an ellipsoid within a factor π/2≈1.253\sqrt{\pi/2}\approx1.253π/2​≈1.253 in average linear size, uniformly in nnn and mmm. The reachable-set recursion of the motivating example therefore loses at most a fixed factor per step. Proposition 4.10.5 is also the textbook instance of a constant-factor semidefinite relaxation bound for quadratic maximization, used well beyond this chapter.

All results are proved in the book, except Theorem 4.9.1 (Exercise 4.71) and Proposition 4.10.5 (Exercise 4.58 from Exercise 4.38). Some ellipsoid results already exist as Lean statements on Prove2Me, in the Boyd–Vandenberghe convex optimization series: existence, uniqueness and 1/n1/n1/n-rounding of the Löwner–John ellipsoid of a finite point set. None of the statements here is formalized there. In particular, nothing exists for general solids, the inscribed ellipsoid, the n\sqrt nn​ symmetric factor, sums of ellipsoids, or the Nesterov–Ye bound.

Difficulty

The goal's statement is short, but its proof crosses several fields. The obvious idea, comparing W[Z∗]W[Z_*]W[Z∗​] with W[Z∗∗]W[Z_{**}]W[Z∗∗​] directly, fails: W[Z∗∗]W[Z_{**}]W[Z∗∗​] is in general not of the form produced by (O~)(\tilde O)(O~), since (O~)(\tilde O)(O~) only reaches ellipsoids certified by a semidefinite relaxation. Closing that gap requires the full Nesterov–Ye bound π/2\pi/2π/2 for a quadratic maximization over the product of the WiW_iWi​. That bound is itself a substantial theorem, which the book proves only through a chain of exercises. Mathlib has volumes, determinants and positive semidefinite matrices. It has no Löwner–John theory for convex bodies, no Schur-complement LMI calculus for block matrices over sum types, and no semidefinite duality.

The book's Proposition 4.9.6 is false as printed. Its constraint t≤(Det⁡⋅)1/nt\le(\operatorname{Det}\cdot)^{1/n}t≤(Det⋅)1/n admits every t≤0t\le0t≤0. For n=2n=2n=2, A1=IA_1=IA1​=I, X1=0X_1=0X1​=0, t=−10t=-10t=−10, the ellipsoid is {0}\{0\}{0} while tn=100t^n=100tn=100. A corrected variant adds t≥0t\ge0t≥0.

Formalization scope

Vectors are Fin n → ℝ, and matrices are Matrix (Fin n) (Fin q) ℝ. ⪰0\succeq0⪰0 and ≻0\succ0≻0 are Mathlib's PosSemidef and PosDef, which include symmetry. The unit ball is written with the dot product, because Mathlib's metric ball on Fin n → ℝ is a cube. Volume is Mathlib's volume divided by the volume of the Euclidean unit ball, valued in [0,∞][0,\infty][0,∞], so flat ellipsoids have volume 000. Det⁡1/n\operatorname{Det}^{1/n}Det1/n is Real.rpow. The (mn)×(mn)(mn)\times(mn)(mn)×(mn) block matrices are indexed by Fin m × Fin n. Optimal values appear only as explicit predicates: optimal = feasible with maximal objective, least upper bound, attained minimum.

In the goal, W[Z∗∗]W[Z_{**}]W[Z∗∗​] enters through hypotheses: Z∗∗≻0Z_{**}\succ0Z∗∗​≻0, W⊆W[Z∗∗]W\subseteq W[Z_{**}]W⊆W[Z∗∗​], and no full-dimensional ellipsoid with any centre that contains WWW has smaller volume. These hypotheses are satisfiable, by Theorem 4.9.1 and the central symmetry of WWW, so the goal is not vacuous. Volume is the measure-theoretic volume, not a formula in Det⁡\operatorname{Det}Det assumed as a definition: a formalization that defines the volume of W[Z]W[Z]W[Z] as (Det⁡Z)−1/2(\operatorname{Det}Z)^{-1/2}(DetZ)−1/2 for every ZZZ would not be the book's statement.

Two variants accompany the faithful statements. The first, [Corrected] Proposition 4.9.6, adds t≥0t\ge0t≥0, following finding F1. A Lean disproof of the printed statement on the instance above exists locally. The second, [Strengthened] Proposition 4.9.5, drops the minimality of W[Z∗∗]W[Z_{**}]W[Z∗∗​] (finding F2): the printed proof uses only Z∗∗≻0Z_{**}\succ0Z∗∗​≻0 and W⊆W[Z∗∗]W\subseteq W[Z_{**}]W⊆W[Z∗∗​]. Proofs of either variant, and disproofs of the printed Proposition 4.9.6, are welcome.

A complete development needs: Lebesgue volume of linear images (∣Det⁡∣|\operatorname{Det}|∣Det∣ scaling); Schur complements for symmetric block matrices; semidefinite weak and strong duality, at least for the strictly feasible case; simultaneous diagonalization of commuting symmetric matrices; and the π/2\pi/2π/2 relaxation bound itself. The last four are reusable across the series' Lecture 4 missions.

Selected references

  • A. Ben-Tal, A. Nemirovski, Lectures on Modern Convex Optimization: Analysis, Algorithms, and Engineering Applications, SIAM, 2001, §4.9 and §4.10.5. https://doi.org/10.1137/1.9780898718829
  • F. John, Extremum problems with inequalities as subsidiary conditions, Studies and Essays Presented to R. Courant, Interscience, 1948, 187–204. https://doi.org/10.1007/978-3-0348-0439-4_9
  • S. Boyd, L. El Ghaoui, E. Feron, V. Balakrishnan, Linear Matrix Inequalities in System and Control Theory, SIAM, 1994. https://doi.org/10.1137/1.9781611970777
  • Yu. Nesterov, Semidefinite relaxation and nonconvex quadratic optimization, Optimization Methods and Software 9 (1998), 141–160. https://doi.org/10.1080/10556789808805690
  • Y. Ye, Approximating quadratic programming with bound and quadratic constraints, Mathematical Programming 84 (1999), 219–226. https://doi.org/10.1007/s10107980012a
10 thms0 active usersReviewed
PreviousPage 4 of 4Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me