NRR.Geometry.ConvexBody — topological accessor API #
This module packages the topological facts about a ConvexBody (compactness, closedness,
boundedness, nonemptiness, interior membership, closure and frontier) into a stable,
namespaced accessor API. Downstream modules should obtain these facts through the wrappers
below and never unfold the ConvexBody structure to get them.
Some facts are already provided in NRR.Geometry.ConvexBody.Basic
(ConvexBody.isCompact, ConvexBody.nonempty, ConvexBody.interior_nonempty); those are
re-used here rather than duplicated.
Import policy #
Following the library-wide policy, Basic.lean already pulls in import Mathlib, so no extra
imports are required here; the topological lemmas used
(IsCompact.isClosed, IsCompact.isBounded, IsClosed.closure_eq, IsClosed.frontier_subset,
interior_subset) are all available transitively.
The interior of a convex body is contained in the body.
A point in the interior of a convex body is a point of the body.
A convex body has an element.
A convex body has an interior point.
A convex body is closed (compact in a Hausdorff space).
The closure of a convex body is the body itself, since it is closed.
The frontier of a convex body is contained in the body, since it is closed.
A convex body is bounded (compact in a metric space).