Chapter 8The source-unfolding theorem
Let be a triangulated convex polyhedron and let the source be a point of its surface that is not a vertex of . Then there are a region of the plane and a folding map that form a net of the surface of , with the source at the origin, such that the interior of the net is the surface minus the cut locus of the source, its frontier folds onto the cut locus, and the radial segments of the net are exactly the shortest paths from the source.
The Lean statement
/-- **The source-unfolding theorem.** Every nonextreme point of a triangulated convexpolyhedron has a valid source unfolding of that polyhedron. A tagged source merelychooses a face representation of the physical point. Sources on creases and flatsubdivision vertices are included; no generic-position assumption is needed. -/theorem source_unfolding {Face Seam : Type} [Fintype Face] [Fintype Seam] (M : Mesh Face Seam) (K : Polyhedron M) (source : M.Point) (nonextreme : K.place source.1 source.2.val ∉ (convexHull ℝ (Set.range (fun p : Face × Corner => K.place p.1 (M.vertex p.1 p.2)))).extremePoints ℝ) : ∃ region : Set Plane, ∃ fold : region → Space, IsSourceUnfolding K source region fold := … by exact Unfoldings.SourceAbstractBridge.abstract_source_unfolding M.vertex M.nondegenerate M.first M.last M.distinct M.identify M.unique K.place K.joined K.embedded K.interior_nonempty K.boundary source nonextremeSource/Abstract.lean and its imports8.1 The statement
/-- **The source-unfolding theorem.** Every nonextreme point of a triangulated convexpolyhedron has a valid source unfolding of that polyhedron. A tagged source merelychooses a face representation of the physical point. Sources on creases and flatsubdivision vertices are included; no generic-position assumption is needed. -/theorem source_unfolding {Face Seam : Type} [Fintype Face] [Fintype Seam] (M : Mesh Face Seam) (K : Polyhedron M) (source : M.Point) (nonextreme : K.place source.1 source.2.val ∉ (convexHull ℝ (Set.range (fun p : Face × Corner => K.place p.1 (M.vertex p.1 p.2)))).extremePoints ℝ) : ∃ region : Set Plane, ∃ fold : region → Space, IsSourceUnfolding K source region fold := … by exact Unfoldings.SourceAbstractBridge.abstract_source_unfolding M.vertex M.nondegenerate M.first M.last M.distinct M.identify M.unique K.place K.joined K.embedded K.interior_nonempty K.boundary source nonextremeSource/Abstract.lean and its importsThe theorem takes a mesh M (Chapter 1), a polyhedron K on it (Chapter 5) and a tagged point source (Chapter 2). Its hypothesis nonextreme says that the position of the source in space is not an extreme point of the convex hull of the corners, that is, not a vertex of the polyhedron. Its conclusion is that some region and some folding map satisfy SourceAbstract.IsSourceUnfolding (Chapter 7).
The proof shown under “show proof” is one line. It hands the fields of M and K to a theorem of Source/AbstractBridge.lean, which translates them into the internal vocabulary of the library and applies the construction proved there. Lean checks that this translation is faithful: if the bridge proved something else, the line would not compile.
- The hull in the hypothesis is the hull in the definition. The expression
convexHull ℝ (Set.range fun p => K.place p.1 (M.vertex p.1 p.2))is, symbol for symbol, the one in the fieldsinterior_nonemptyandboundaryofSourceAbstract.Polyhedron. - Which sources are allowed. Every point in the interior of a face, every point in the interior of an edge of the polyhedron, and every corner of the triangulation that is not a vertex of the polyhedron. The docstring says: “Sources on creases and flat subdivision vertices are included; no generic-position assumption is needed.”
Face Seam : Type. The types of faces and seams live in the lowest universe. This is no restriction for finite types.- The conclusion is an existence statement.
∃ region fold, …. The theorem does not name the net or give a way to compute it.
8.2 Why vertices are excluded
The exclusion is not only a limitation of the proof. For a source at a vertex, the statement in this form would be false.
Property d of SourceAbstract.IsSourceUnfolding puts the source at an interior point of the net, and property h says that the folding preserves distances near every interior point. So a small disk of the plane around the origin would be isometric to a neighbourhood of the source on the surface. At a vertex of a convex polyhedron the angles of the faces add up to less than , so a circle of small radius around the vertex has length less than . No neighbourhood of a vertex is isometric to a flat disk.
For a source at a vertex one can still develop the shortest paths around the source, but the source then sits at a corner of the outline of the layout, not in its interior. Stating that case requires a different definition. The README of the library lists it as remaining work.
8.3 What the theorem does not say
- No algorithm, no complexity. Algorithms for shortest paths on polyhedra compute this structure, starting with Sharir and Schorr (1986); the Lean theorem is about existence only.
- Convex polyhedra only.
SourceAbstract.Polyhedronrequires the surface to be the boundary of a convex hull. - Dimension three only. Miller and Pak (2008) extend source unfoldings to convex polyhedra of higher dimension. Nothing of that is formalized here.
- No count of pieces. The net is a finite union of convex polygons; the theorem gives no bound on their number.
- Nothing about the star unfolding, the other general unfolding of convex polyhedra (Aronov and O'Rourke 1992). It is on the roadmap of the library; Chapter 9 describes it.
8.4 Where the result comes from
The planar layout of a convex polyhedron obtained by cutting along the ridge points of a source was introduced for computing shortest paths by Sharir and Schorr (1986). Demaine and O'Rourke (2007) present it, under the name source unfolding, together with the star unfolding. Miller and Pak (2008) give a general treatment in all dimensions.