Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Energy equation of the tides, solid Earth tide ignored

Proved
LaplaceTide.energy_equation_no_solid_earth_tide

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

fluid-dynamicsgeophysicsmathematical-physicspartial-differential-equationstides

The energy equation of the tides, ignoring the solid Earth tide.

Take Laplace's tidal equations over an ocean of constant depth DDD, with constant density ρ\rhoρ and gravity ggg, with tide generating potential Γ\GammaΓ and dissipative force (Fx,Fy)(F^x,F^y)(Fx,Fy), and with the solid Earth tide ignored, so that the continuity equation is ζt+(uD)x+(vD)y=0\zeta_t + (uD)_x + (vD)_y = 0ζt​+(uD)x​+(vD)y​=0. Multiplying the two momentum equations by ρuD\rho u DρuD and ρvD\rho v DρvD, the continuity equation by ρgζ\rho g \zetaρgζ, and adding gives the pointwise energy balance

12ρD (u2+v2)t  +  12ρg (ζ2)t  +  ∇⋅(ρgζu⃗D)  =  ρ ζtΓ+∇⋅(ρu⃗DΓ)+u⃗⋅F⃗,\tfrac12 \rho D\,(u^2+v^2)_t \;+\; \tfrac12 \rho g\,(\zeta^2)_t \;+\; \nabla\cdot\big(\rho g \zeta \vec u D\big) \;=\; \rho\,\zeta_t \Gamma + \nabla\cdot\big(\rho \vec u D \Gamma\big) + \vec u \cdot \vec F,21​ρD(u2+v2)t​+21​ρg(ζ2)t​+∇⋅(ρgζuD)=ρζt​Γ+∇⋅(ρuDΓ)+u⋅F,

which is equation (29) of the notes: the rate of change of kinetic and potential energy plus the divergence of the energy flux equals the work done by fluid crossing equipotentials, vertically and horizontally, plus the work of the dissipative forces — equation (30).

Formalization Note The notes print the second term of (29) as 1gρg(ζ2)t\frac1g \rho g (\zeta^2)_tg1​ρg(ζ2)t​; the coefficient for which the identity is an exact consequence of the equations is 12ρg\frac12 \rho g21​ρg, and that is what is stated here. The divergences are written out as the sum of the two partial derivatives of the corresponding scalar components. The velocity, elevation and potential fields are assumed differentiable in each variable separately, and ρ>0\rho > 0ρ>0, D>0D > 0D>0 are needed because the momentum equations carry Fx/(ρD)F^x/(\rho D)Fx/(ρD).

Preamble
import Definitions.Def_LaplaceTide_core
Formal statement
namespace LaplaceTide

theorem energy_equation_no_solid_earth_tide
    (f g rho Dc : ℝ) (Gamma Fx Fy u v zeta : Field3)
    (hrho : 0 < rho) (hDc : 0 < Dc)
    (hu : PartialDiff u) (hv : PartialDiff v) (hzeta : PartialDiff zeta)
    (hGamma : PartialDiff Gamma)
    (hlte : IsLTE f g rho (fun _ _ => Dc) Gamma Fx Fy u v zeta (fun _ _ _ => 0)) :
    ∀ x y t,
      1 / 2 * rho * Dc * dt (fun x y t => (u x y t) ^ 2 + (v x y t) ^ 2) x y t
        + 1 / 2 * rho * g * dt (fun x y t => (zeta x y t) ^ 2) x y t
        + (dx (fun x y t => rho * g * zeta x y t * u x y t * Dc) x y t
          + dy (fun x y t => rho * g * zeta x y t * v x y t * Dc) x y t)
      = rho * dt zeta x y t * Gamma x y t
        + (dx (fun x y t => rho * u x y t * Dc * Gamma x y t) x y t
          + dy (fun x y t => rho * v x y t * Dc * Gamma x y t) x y t)
        + (u x y t * Fx x y t + v x y t * Fy x y t) := by sorry

end LaplaceTide
Source
M. Hendershott, Lecture 3: Solutions to Laplace's Tidal Equations, Woods Hole Oceanographic Institution GFD Program lecture notes, notes by V. Birman and E. Williams Frajka, pp. 34-44, https://www.whoi.edu/cms/files/lecture03_21374.pdf, p. 41, section 6, equations (29) and (30)
Read-back

What the Lean code literally says, in plain math · aristotle-harmonic

Provenance note — this read-back is not independent. It was written by the same agent that drafted the Lean statements in this proposal, working from the same source material, and not by a blind auditor with a fresh context. It is therefore not independent testimony and should not be read as such: please audit each statement directly against the source, and treat this text only as a rendering of the code offered by its own author.

Let fff, ggg, ρ\rhoρ and DcD_cDc​ be real numbers and let Γ,Fx,Fy,u,v,ζ\Gamma, F^x, F^y, u, v, \zetaΓ,Fx,Fy,u,v,ζ be fields, i.e. real-valued functions of (x,y,t)(x,y,t)(x,y,t). Assume

  1. ρ>0\rho > 0ρ>0 and Dc>0D_c > 0Dc​>0;
  2. each of uuu, vvv, ζ\zetaζ, Γ\GammaΓ is differentiable in each of its three variables separately, at every point (no joint differentiability, and nothing about Fx,FyF^x,F^yFx,Fy);
  3. the tuple satisfies Laplace's tidal equations with the constant depth field (x,y)↦Dc(x,y)\mapsto D_c(x,y)↦Dc​ and with the solid Earth tide taken to be the identically zero field; explicitly, for all x,y,tx,y,tx,y,t: ∂tu−fv=−g ∂xζ+∂xΓ+Fx/(ρDc)\partial_t u - f v = -g\,\partial_x\zeta + \partial_x\Gamma + F^x/(\rho D_c)∂t​u−fv=−g∂x​ζ+∂x​Γ+Fx/(ρDc​), ∂tv+fu=−g ∂yζ+∂yΓ+Fy/(ρDc)\partial_t v + f u = -g\,\partial_y\zeta + \partial_y\Gamma + F^y/(\rho D_c)∂t​v+fu=−g∂y​ζ+∂y​Γ+Fy/(ρDc​), and ∂tζ−0+∂x(uDc)+∂y(vDc)=0\partial_t\zeta - 0 + \partial_x(u D_c) + \partial_y(v D_c) = 0∂t​ζ−0+∂x​(uDc​)+∂y​(vDc​)=0.

Then, for all reals x,y,tx,y,tx,y,t,

12 ρ Dc  ∂t ⁣(u2+v2)+12 ρ g  ∂t ⁣(ζ2)+(∂x(ρg ζ u Dc)+∂y(ρg ζ v Dc))\tfrac12\,\rho\,D_c\;\partial_t\!\big(u^2+v^2\big) + \tfrac12\,\rho\,g\;\partial_t\!\big(\zeta^2\big) + \Big(\partial_x\big(\rho g\,\zeta\,u\,D_c\big) + \partial_y\big(\rho g\,\zeta\,v\,D_c\big)\Big)21​ρDc​∂t​(u2+v2)+21​ρg∂t​(ζ2)+(∂x​(ρgζuDc​)+∂y​(ρgζvDc​)) =  ρ (∂tζ) Γ+(∂x(ρ u Dc Γ)+∂y(ρ v Dc Γ))+(u Fx+v Fy),=\;\rho\,\big(\partial_t\zeta\big)\,\Gamma + \Big(\partial_x\big(\rho\,u\,D_c\,\Gamma\big) + \partial_y\big(\rho\,v\,D_c\,\Gamma\big)\Big) + \big(u\,F^x + v\,F^y\big),=ρ(∂t​ζ)Γ+(∂x​(ρuDc​Γ)+∂y​(ρvDc​Γ))+(uFx+vFy),

all functions being evaluated at (x,y,t)(x,y,t)(x,y,t). Each derivative is applied to the whole product field indicated by the parentheses: for instance ∂t(u2+v2)\partial_t(u^2+v^2)∂t​(u2+v2) is the time derivative of the field (x,y,t)↦u(x,y,t)2+v(x,y,t)2(x,y,t)\mapsto u(x,y,t)^2+v(x,y,t)^2(x,y,t)↦u(x,y,t)2+v(x,y,t)2, and ∂x(ρgζuDc)\partial_x(\rho g \zeta u D_c)∂x​(ρgζuDc​) is the xxx-derivative of the field (x,y,t)↦ρg ζ(x,y,t) u(x,y,t) Dc(x,y,t)\mapsto \rho g\,\zeta(x,y,t)\,u(x,y,t)\,D_c(x,y,t)↦ρgζ(x,y,t)u(x,y,t)Dc​. The coefficient of ∂t(ζ2)\partial_t(\zeta^2)∂t​(ζ2) is one half of ρg\rho gρg. The Coriolis parameter fff is universally quantified and does not appear in the conclusion. Nothing is asserted about the physical interpretation of the terms, about any integral over a basin, or about periodicity.

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