Regular patch, fundamental forms, Gaussian curvature and Christoffel symbols
DefinitionDoCarmo_surface_patchThe local vocabulary for surfaces in do Carmo's Chapters 2-4, in the setting of a single parametrization.
A regular parametrized patch on an open set is a smooth map into with on ; its unit normal is (do Carmo §2-2, §3-2).
The first fundamental form is recorded by , , (§2-5), and the second fundamental form by , , (§3-3). The Gaussian curvature is (§3-3).
Finally, the Christoffel symbols of the patch are characterized, as in do Carmo's system (1) of §4-3, by the decomposition of the second derivatives of in the basis :
Patches are written in curried form, so that the partial derivatives are ordinary one-variable derivatives; all quantities are total functions of the parameters and the statements of the mission restrict them to the open set .
import Definitions.Def_DoCarmo_vector_product
namespace DoCarmoDG
/-- The partial derivative `x_u` of a parametrized patch `x : ℝ → ℝ → ℝ³`,
written in curried form so that partial derivatives are ordinary derivatives. -/
noncomputable def partialU (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3)) (u v : ℝ) :
EuclideanSpace ℝ (Fin 3) :=
deriv (fun t => x t v) u
/-- The partial derivative `x_v` of a parametrized patch `x : ℝ → ℝ → ℝ³`. -/
noncomputable def partialV (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3)) (u v : ℝ) :
EuclideanSpace ℝ (Fin 3) :=
deriv (fun t => x u t) v
/-- A regular parametrized patch on an open set `U ⊆ ℝ²`: `x` is smooth on `U` and
`x_u ∧ x_v ≠ 0` there, i.e. `dx` is injective (do Carmo §2-2). -/
def IsRegularPatch (U : Set (ℝ × ℝ)) (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3)) : Prop :=
ContDiffOn ℝ (⊤ : ℕ∞) (Function.uncurry x) U ∧
∀ p ∈ U, cross (partialU x p.1 p.2) (partialV x p.1 p.2) ≠ 0
/-- The unit normal `N = (x_u ∧ x_v)/|x_u ∧ x_v|` of a patch (do Carmo §2-6, §3-2). -/
noncomputable def unitNormal (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3)) (u v : ℝ) :
EuclideanSpace ℝ (Fin 3) :=
‖cross (partialU x u v) (partialV x u v)‖⁻¹ • cross (partialU x u v) (partialV x u v)
/-- The coefficient `E = ⟨x_u, x_u⟩` of the first fundamental form (do Carmo §2-5). -/
noncomputable def coeffE (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3)) (u v : ℝ) : ℝ :=
inner ℝ (partialU x u v) (partialU x u v)
/-- The coefficient `F = ⟨x_u, x_v⟩` of the first fundamental form (do Carmo §2-5). -/
noncomputable def coeffF (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3)) (u v : ℝ) : ℝ :=
inner ℝ (partialU x u v) (partialV x u v)
/-- The coefficient `G = ⟨x_v, x_v⟩` of the first fundamental form (do Carmo §2-5). -/
noncomputable def coeffG (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3)) (u v : ℝ) : ℝ :=
inner ℝ (partialV x u v) (partialV x u v)
/-- The coefficient `e = ⟨N, x_uu⟩` of the second fundamental form (do Carmo §3-3). -/
noncomputable def coeffe (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3)) (u v : ℝ) : ℝ :=
inner ℝ (unitNormal x u v) (partialU (partialU x) u v)
/-- The coefficient `f = ⟨N, x_uv⟩` of the second fundamental form (do Carmo §3-3). -/
noncomputable def coefff (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3)) (u v : ℝ) : ℝ :=
inner ℝ (unitNormal x u v) (partialV (partialU x) u v)
/-- The coefficient `g = ⟨N, x_vv⟩` of the second fundamental form (do Carmo §3-3). -/
noncomputable def coeffg (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3)) (u v : ℝ) : ℝ :=
inner ℝ (unitNormal x u v) (partialV (partialV x) u v)
/-- The Gaussian curvature `K = (eg - f²)/(EG - F²)` of a patch (do Carmo §3-3). -/
noncomputable def gaussCurvature (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3)) (u v : ℝ) : ℝ :=
(coeffe x u v * coeffg x u v - coefff x u v ^ 2) /
(coeffE x u v * coeffG x u v - coeffF x u v ^ 2)
/-- The Christoffel symbols of `x` in the parametrization, characterized by do Carmo's
equations (1) of §4-3: the second partial derivatives of `x`, decomposed in the basis
`{x_u, x_v, N}`, have tangential coefficients `Γᵏᵢⱼ` and normal coefficients `e, f, g`. -/
def IsChristoffel (U : Set (ℝ × ℝ)) (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3))
(G111 G211 G112 G212 G122 G222 : ℝ → ℝ → ℝ) : Prop :=
∀ p ∈ U,
partialU (partialU x) p.1 p.2 =
G111 p.1 p.2 • partialU x p.1 p.2 + G211 p.1 p.2 • partialV x p.1 p.2 +
coeffe x p.1 p.2 • unitNormal x p.1 p.2 ∧
partialV (partialU x) p.1 p.2 =
G112 p.1 p.2 • partialU x p.1 p.2 + G212 p.1 p.2 • partialV x p.1 p.2 +
coefff x p.1 p.2 • unitNormal x p.1 p.2 ∧
partialV (partialV x) p.1 p.2 =
G122 p.1 p.2 • partialU x p.1 p.2 + G222 p.1 p.2 • partialV x p.1 p.2 +
coeffg x p.1 p.2 • unitNormal x p.1 p.2
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 fixes the vocabulary for a parametrized piece of surface in . A patch is a function of two real variables with values in , written and given in curried form; it is a total function, defined for every pair of reals. All derivatives below are ordinary one-variable derivatives of such total functions, with the convention that the derivative of a function at a point of non-differentiability is .
Partial derivatives. is the derivative at of the one-variable function , and is the derivative at of . Iterating these two operators gives , (first , then ) and . Note that is defined as the -derivative of the function , and no equality with the -derivative of is assumed anywhere in this file.
Regularity. For a set , the property is the conjunction of: the uncurried map is relative to ; and for every the vector is nonzero, where
The set is not required to be open, connected or nonempty.
Unit normal. , evaluated at ; where this is the zero vector.
First fundamental form coefficients. , , , all real-valued functions of defined everywhere.
Second fundamental form coefficients. , , , again defined everywhere.
Gaussian curvature. , a quotient of the two previous groups; at points where the quotient is by the division convention, so carries information only where .
Christoffel symbols. For a set , a patch and six real-valued functions of two variables , the property states that at every the three equations
hold, all terms evaluated at . This is a property of the six functions, not a definition of them: it constrains their values only at points of , and it asserts in particular that the normal components of the second derivatives are exactly , , . Nothing here asserts that such functions exist or are unique.