Regular surface, parametrization, graphs and regular values
DefinitionDoCarmo_regular_surfacedo Carmo §2-2, Definitions 1 and 2.
A subset is a regular surface if every has an open neighbourhood in such that is the image of a map on an open which is (1) differentiable, i.e. ; (2) a homeomorphism of onto ; and (3) regular, meaning is injective for every . Such an is called a parametrization.
The file also introduces the graph of a function of two of the three coordinates — in the three forms , , needed for do Carmo's Proposition 3 — and the notion of a regular value of a function : a value such that is surjective, equivalently nonzero, at every point of the level set (Definition 2).
import Mathlib
namespace DoCarmoDG
/-- A parametrization (system of local coordinates) of a subset `S ⊆ ℝ³`, in the sense of the
three conditions of do Carmo's Definition 1 of §2-2: `x` is smooth on the open set `U`, is a
homeomorphism of `U` onto its image (injective with continuous inverse), takes values in `S`,
and has injective differential at every point of `U`. -/
def IsSurfaceParametrization (U : Set (ℝ × ℝ)) (x : ℝ × ℝ → EuclideanSpace ℝ (Fin 3))
(S : Set (EuclideanSpace ℝ (Fin 3))) : Prop :=
IsOpen U ∧ ContDiffOn ℝ (⊤ : ℕ∞) x U ∧ Set.InjOn x U ∧ x '' U ⊆ S ∧
(∃ g : EuclideanSpace ℝ (Fin 3) → ℝ × ℝ,
ContinuousOn g (x '' U) ∧ ∀ q ∈ U, g (x q) = q) ∧
∀ q ∈ U, Function.Injective (fderiv ℝ x q)
/-- A regular surface, do Carmo §2-2, Definition 1: a subset `S ⊆ ℝ³` such that every point of
`S` has a neighbourhood `V` in `ℝ³` for which `V ∩ S` is the image of a parametrization. -/
def IsRegularSurface (S : Set (EuclideanSpace ℝ (Fin 3))) : Prop :=
∀ p ∈ S, ∃ (V : Set (EuclideanSpace ℝ (Fin 3))) (U : Set (ℝ × ℝ))
(x : ℝ × ℝ → EuclideanSpace ℝ (Fin 3)),
IsOpen V ∧ p ∈ V ∧ IsSurfaceParametrization U x S ∧ x '' U = V ∩ S
/-- The graph of a function of two variables, as a subset of `ℝ³` (do Carmo §2-2). -/
def graphOf (U : Set (ℝ × ℝ)) (f : ℝ × ℝ → ℝ) : Set (EuclideanSpace ℝ (Fin 3)) :=
{p | ((p 0, p 1) ∈ U) ∧ p 2 = f (p 0, p 1)}
/-- The graph of a function of the variables `x, z`, as a subset of `ℝ³`. -/
def graphOfXZ (U : Set (ℝ × ℝ)) (f : ℝ × ℝ → ℝ) : Set (EuclideanSpace ℝ (Fin 3)) :=
{p | ((p 0, p 2) ∈ U) ∧ p 1 = f (p 0, p 2)}
/-- The graph of a function of the variables `y, z`, as a subset of `ℝ³`. -/
def graphOfYZ (U : Set (ℝ × ℝ)) (f : ℝ × ℝ → ℝ) : Set (EuclideanSpace ℝ (Fin 3)) :=
{p | ((p 1, p 2) ∈ U) ∧ p 0 = f (p 1, p 2)}
/-- A regular value of a real-valued function on an open set of `ℝ³`, do Carmo §2-2,
Definition 2: a value `a` such that the differential is surjective — equivalently, nonzero —
at every point of the level set. -/
def IsRegularValue (U : Set (EuclideanSpace ℝ (Fin 3))) (f : EuclideanSpace ℝ (Fin 3) → ℝ)
(a : ℝ) : Prop :=
∀ p ∈ U, f p = a → fderiv ℝ f p ≠ 0
end DoCarmoDG
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Provenance note — this read-back is NOT blind. It was written by the same agent that drafted this Lean statement, at the explicit instruction of the mission's human owner, and not by an independent auditor with fresh context. It is therefore self-testimony, not independent testimony, and a reviewer must not treat it as a second opinion; an independent read-back should be obtained before this item is relied upon.
This file introduces five notions about subsets of and of .
Parametrization. For an open set , a map (a total function of a pair of reals) and a set , the property is the conjunction of six clauses:
- is open;
- is relative to ;
- is injective on ;
- ;
- there exists a map , continuous on the image , with for every (a continuous left inverse on the image);
- for every the Fréchet derivative is an injective linear map.
Nothing requires to be connected or nonempty; for all six clauses hold.
Regular surface. states that for every there exist an open set with , an open and a map such that holds and
The empty set satisfies this vacuously.
Graphs. For an open (or arbitrary) and , three subsets of are defined, in terms of the coordinates of a point :
i.e. the graphs of regarded as a function of the first and second, first and third, or second and third coordinate respectively.
Regular value. For an open , a function and a real number , the property states that for every with the Fréchet derivative is not the zero linear functional. Points of with are unconstrained, and if no point of satisfies the property holds vacuously.