Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

KKK in an orthogonal parametrization

Proved
DoCarmoDG.gauss_curvature_orthogonal_parametrization

by LG · Sep 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

differential-geometrygaussian-curvaturesurfaces

do Carmo §4-3, Exercise 1 (p. 240): for an orthogonal parametrization, that is one with F≡0F \equiv 0F≡0, the Gaussian curvature is computed from the first fundamental form alone by

K=−12EG[(EvEG)v+(GuEG)u].K = -\frac{1}{2\sqrt{EG}}\left[ \left(\frac{E_v}{\sqrt{EG}}\right)_v + \left(\frac{G_u}{\sqrt{EG}}\right)_u \right].K=−2EG​1​[(EG​Ev​​)v​+(EG​Gu​​)u​].

This is the Gauss formula made explicit in the orthogonal case, and it is the form in which the intrinsic character of KKK is usually applied.

Preamble
import Definitions.Def_DoCarmo_surface_patch
Formal statement
namespace DoCarmoDG

theorem gauss_curvature_orthogonal_parametrization
    (U : Set (ℝ × ℝ)) (hU : IsOpen U) (x : ℝ → ℝ → EuclideanSpace ℝ (Fin 3))
    (hx : IsRegularPatch U x)
    (hF : ∀ p ∈ U, coeffF x p.1 p.2 = 0) :
    ∀ p ∈ U,
      gaussCurvature x p.1 p.2 =
        -(1 / (2 * Real.sqrt (coeffE x p.1 p.2 * coeffG x p.1 p.2))) *
          (deriv (fun t =>
              deriv (fun r => coeffE x p.1 r) t /
                Real.sqrt (coeffE x p.1 t * coeffG x p.1 t)) p.2 +
            deriv (fun t =>
              deriv (fun r => coeffG x r p.2) t /
                Real.sqrt (coeffE x t p.2 * coeffG x t p.2)) p.1) := by sorry

end DoCarmoDG
Source
Manfredo P. do Carmo, Differential Geometry of Curves and Surfaces, 2nd ed., Dover, 2016, Chapter 4, Section 4-3 (pp. 235-240)
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.

Throughout, UUU is a set of pairs of reals assumed open, and xxx is a patch, i.e. a total function of two real variables with values in R3\mathbb{R}^3R3, assumed regular on UUU: the uncurried map is C∞C^\inftyC∞ relative to UUU and xu∧xv≠0x_u \wedge x_v \neq 0xu​∧xv​=0 at every point of UUU, where xux_uxu​, xvx_vxv​ are the ordinary partial derivatives, xuu,xuv,xvvx_{uu}, x_{uv}, x_{vv}xuu​,xuv​,xvv​ their iterates (xuvx_{uv}xuv​ being the vvv-derivative of xux_uxu​), and ∧\wedge∧ is the componentwise cross product. The associated quantities are N=∥xu∧xv∥−1(xu∧xv)N = \lVert x_u \wedge x_v\rVert^{-1}(x_u \wedge x_v)N=∥xu​∧xv​∥−1(xu​∧xv​), E=⟨xu,xu⟩E = \langle x_u,x_u\rangleE=⟨xu​,xu​⟩, F=⟨xu,xv⟩F = \langle x_u,x_v\rangleF=⟨xu​,xv​⟩, G=⟨xv,xv⟩G = \langle x_v,x_v\rangleG=⟨xv​,xv​⟩, e=⟨N,xuu⟩e = \langle N,x_{uu}\ranglee=⟨N,xuu​⟩, f=⟨N,xuv⟩f = \langle N,x_{uv}\ranglef=⟨N,xuv​⟩, g=⟨N,xvv⟩g = \langle N,x_{vv}\rangleg=⟨N,xvv​⟩ and K=(eg−f2)/(EG−F2)K = (eg-f^2)/(EG-F^2)K=(eg−f2)/(EG−F2), all total functions of the two parameters. Nothing is asserted at parameters outside UUU, and UUU may be empty, in which case every clause is vacuous.

In addition, F=⟨xu,xv⟩F = \langle x_u,x_v\rangleF=⟨xu​,xv​⟩ is assumed to vanish at every point of UUU.

The statement asserts that at every p∈Up \in Up∈U

K  =  −12E G[∂∂v ⁣(EvE G)+∂∂u ⁣(GuE G)],K \;=\; -\frac{1}{2\sqrt{E\,G}}\left[ \frac{\partial}{\partial v}\!\left(\frac{E_v}{\sqrt{E\,G}}\right) + \frac{\partial}{\partial u}\!\left(\frac{G_u}{\sqrt{E\,G}}\right) \right],K=−2EG​1​[∂v∂​(EG​Ev​​)+∂u∂​(EG​Gu​​)],

in which: ⋅\sqrt{\cdot}⋅​ is the real square root, equal to 000 on negative arguments; the outer factor is evaluated at ppp; the first bracketed term is the derivative at p2p_2p2​ of the function t↦Ev(p1,t)/E(p1,t)G(p1,t)t \mapsto E_v(p_1,t)/\sqrt{E(p_1,t)G(p_1,t)}t↦Ev​(p1​,t)/E(p1​,t)G(p1​,t)​, where Ev(p1,t)E_v(p_1,t)Ev​(p1​,t) itself denotes the derivative at ttt of r↦E(p1,r)r \mapsto E(p_1,r)r↦E(p1​,r); and the second is the derivative at p1p_1p1​ of t↦Gu(t,p2)/E(t,p2)G(t,p2)t \mapsto G_u(t,p_2)/\sqrt{E(t,p_2)G(t,p_2)}t↦Gu​(t,p2​)/E(t,p2​)G(t,p2​)​, where Gu(t,p2)G_u(t,p_2)Gu​(t,p2​) is the derivative at ttt of r↦G(r,p2)r \mapsto G(r,p_2)r↦G(r,p2​). The left-hand side is K=(eg−f2)/(EG−F2)K = (eg-f^2)/(EG-F^2)K=(eg−f2)/(EG−F2), defined through the second fundamental form.

Human review
  • Endorsed by Shuze Chen · Sep 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me