NRR.Geometry.ConvexBody — the planar Cauchy perimeter #
This module defines the planar perimeter of a convex body via Cauchy's width formula,
using the deterministic angle parameterization of the unit circle from PlanarCircle.lean.
Directions are parameterized over [0, 2π] by θ ↦ (cos θ, sin θ) (circleVec), and the
perimeter is the (normalized) interval integral of the width function along that parameterization:
perimeter K = (1 / 2) * ∫ θ in 0..2π, w_K(circleVec θ).
The normalization factor 1 / 2 accounts for the fact that the width function is even
(each direction and its antipode are counted, so the integral over [0, 2π] double-counts the
projected extent), giving the classical Cauchy perimeter.
Design notes #
- We reuse
circleVecandcontinuous_circleVecfrom the project (PlanarCircle.lean), and the width-function API (widthFunction,widthFunction_nonneg,continuous_widthFunction,supportFunction_congr) from preceding modules. - Integrability of the integrand is inherited from continuity on the compact interval
[0, 2π](Continuous.intervalIntegrable); this is exactlyintervalIntegrable_width_circleVecfrom the project, restated here as part of this module's API. - Nonnegativity follows because the factor
1 / 2is nonnegative and the integrand is pointwise nonnegative (widthFunction_nonneg), sointervalIntegral.integral_nonnegapplies (the endpoints satisfy0 ≤ 2π). - Congruence (equal underlying sets ⇒ equal perimeter) follows from
supportFunction_congr, which makes the whole integrand pointwise equal.
Import policy #
Only PlanarCircle.lean is imported; it transitively provides all of Mathlib together with the
circleVec and width-function APIs. No extra imports are required.
The planar perimeter of a convex body K, defined by Cauchy's width formula as the
normalized interval integral of the width function along the angle parameterization
circleVec over [0, 2π].
Equations
- NRR.Geometry.planarPerimeter K = 1 / 2 * ∫ (θ : ℝ) in 0..2 * Real.pi, K.widthFunction (NRR.Geometry.circleVec θ)
Instances For
Definitional unfolding of planarPerimeter.
The Cauchy perimeter integrand θ ↦ w_K(circleVec θ) is continuous.
The Cauchy perimeter integrand is interval-integrable on [0, 2π].
The planar perimeter is nonnegative.
Congruence. The planar perimeter depends only on the underlying set of the convex body.