Chapter 13The nearly flat cap theorem
For every there is an angle with such that every convex cap satisfying the following two conditions has an edge unfolding without overlap whose outline is a simple polygon: every angle of every face is at most , and every face normal makes an angle at most with the vertical.
The Lean statement
/-- **The cap theorem.** For each positive acute margin there is a positive tilt bound,chosen before the mesh. Every cap whose face normals satisfy that bound unfolds alongoriginal edges into a simple polygon. No algorithmic time bound is asserted. -/theorem nearly_flat_cap {α : ℝ} (positive : 0 < α) : ∃ φ ∈ Set.Ioo (0 : ℝ) (Real.pi / 2), ∀ {Face Seam : Type} [Fintype Face] [Fintype Seam] (M : Mesh Face Seam) (K : Cap M), M.AcuteMargin α → (∀ f, Real.cos φ ≤ K.normal f 2) → HasSimpleEdgeUnfolding M := … by classical obtain ⟨φ, bounds, unfolds⟩ := Unfoldings.ConvexCap.orourke_cap_theorem.{0, 0} positive refine ⟨φ, bounds, ?_⟩ intro Face Seam _ _ M K acute tilt let C := Unfoldings.CapAbstractBridge.meshComplex M.vertex M.nondegenerate M.first M.last M.distinct M.identify M.unique let F : Unfoldings.SpatialFolding C := ⟨K.place, K.joined⟩ let cap := Unfoldings.CapAbstractBridge.capOfGeometricData F K.normal K.unit K.upward K.tangent K.supporting K.projection K.convex K.interior_nonempty (fun bank x => K.rim (bank.val.face, bank.val.edge) ((Unfoldings.CapAbstractBridge.boundary_edge_pair bank.val).mp bank.property) x) K.above obtain ⟨U⟩ := unfolds cap acute tilt exact Unfoldings.CapAbstractBridge.unfolding_output cap UCap/Abstract.lean and its imports13.1 The statement
/-- **The cap theorem.** For each positive acute margin there is a positive tilt bound,chosen before the mesh. Every cap whose face normals satisfy that bound unfolds alongoriginal edges into a simple polygon. No algorithmic time bound is asserted. -/theorem nearly_flat_cap {α : ℝ} (positive : 0 < α) : ∃ φ ∈ Set.Ioo (0 : ℝ) (Real.pi / 2), ∀ {Face Seam : Type} [Fintype Face] [Fintype Seam] (M : Mesh Face Seam) (K : Cap M), M.AcuteMargin α → (∀ f, Real.cos φ ≤ K.normal f 2) → HasSimpleEdgeUnfolding M := … by classical obtain ⟨φ, bounds, unfolds⟩ := Unfoldings.ConvexCap.orourke_cap_theorem.{0, 0} positive refine ⟨φ, bounds, ?_⟩ intro Face Seam _ _ M K acute tilt let C := Unfoldings.CapAbstractBridge.meshComplex M.vertex M.nondegenerate M.first M.last M.distinct M.identify M.unique let F : Unfoldings.SpatialFolding C := ⟨K.place, K.joined⟩ let cap := Unfoldings.CapAbstractBridge.capOfGeometricData F K.normal K.unit K.upward K.tangent K.supporting K.projection K.convex K.interior_nonempty (fun bank x => K.rim (bank.val.face, bank.val.edge) ((Unfoldings.CapAbstractBridge.boundary_edge_pair bank.val).mp bank.property) x) K.above obtain ⟨U⟩ := unfolds cap acute tilt exact Unfoldings.CapAbstractBridge.unfolding_output cap UCap/Abstract.lean and its importsGiven a positive real α, the theorem produces an angle φ in the open interval . Then, for every mesh M and every cap K on it (Chapter 11), if M has acute margin α (Chapter 10) and every normal of K has third coordinate at least , the mesh has a simple edge unfolding (Chapter 12).
- The order of the quantifiers.
∃ φ ∈ Set.Ioo 0 (π/2), ∀ {Face Seam} … (M) (K), …. The angle is chosen first, knowing onlyα. It then works for all meshes, of any size and shape. A statement with the quantifiers the other way round, where the angle could depend on the mesh, would say almost nothing: every single cap can be flattened a little. Real.cos φ ≤ K.normal f 2says that the angle between the normal and the vertical is at mostφ, because the normal is a unit vector pointing up and the cosine is decreasing on .Set.Ioois the open interval;φis strictly between and .- The conclusion is about
M, not aboutK. The cap enters only through the hypotheses. - The proof is longer than for the source theorem but has the same nature: it builds the internal objects of the library from the fields of
MandK, applies the internal theoremorourke_cap_theorem, and translates the result back. Open it with “show proof” to see that it contains no mathematics of its own.
13.2 Comparison with the paper
The abstract of O'Rourke (2018) states the result as follows: a nearly flat, acutely triangulated convex cap has an edge unfolding to a non-overlapping polygon in the plane, where nearly flat means that every outer face normal forms a sufficiently small angle with the vertical, smaller than a bound that depends on the acuteness gap .
| Paper | Lean statement | |
|---|---|---|
| Dependence of the bound | depends on only | φ is chosen from α before the mesh |
| Value of the bound | suffices | existence of some φ > 0; no value |
| Outline of the unfolding | a non-overlapping polygon | a simple polygon; non-overlap including touching |
| Algorithm | constructive, at worst | none stated |
| Closing the cap by its base | the closed polyhedron also unfolds | not stated |
So the Lean theorem is the existence part of the paper’s main result. The docstring is explicit about one of the gaps: “No algorithmic time bound is asserted.”
13.3 What the theorem does not say
- No explicit angle. The theorem gives no formula or numerical value for
φ. - Nothing for obtuse or right triangles. With the theorem does not apply.
- Nothing for caps with a non-planar rim. The library proves an extension to such surfaces, which it calls roofs, in
Roof/SimpleEdgeUnfolding.lean. That result has no abstract file and is outside this book. - Nothing about closed convex polyhedra. Whether every convex polyhedron has an edge unfolding without overlap remains open.