Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Divergence theorem on the lower half-disc

Proved
RoughSurfaceScattering.divergence_halfdisc

by もち · Nov 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

calculusdivergence-theoremgreen-identity

Let (P,Q)(P,Q)(P,Q) be a C1C^1C1 (complex-valued) vector field on an open set UUU containing the closed lower half-disc {∣y−(0,h)∣≤R, y2≤h}\{|y-(0,h)|\le R,\ y_2\le h\}{∣y−(0,h)∣≤R, y2​≤h}, with R>0R>0R>0. Then

∫−RRQ(t,h) dt+∫−π0(cos⁡φ P+sin⁡φ Q)(Rcos⁡φ,h+Rsin⁡φ)R dφ=∫{∣y−(0,h)∣<R, y2<h}(∂1P+∂2Q) dy.\int_{-R}^RQ(t,h)\,dt+\int_{-\pi}^0\big(\cos\varphi\,P+\sin\varphi\,Q\big)\big(R\cos\varphi,h+R\sin\varphi\big)R\,d\varphi=\int_{\{|y-(0,h)|<R,\ y_2<h\}}(\partial_1P+\partial_2Q)\,dy .∫−RR​Q(t,h)dt+∫−π0​(cosφP+sinφQ)(Rcosφ,h+Rsinφ)Rdφ=∫{∣y−(0,h)∣<R, y2​<h}​(∂1​P+∂2​Q)dy.

The boundary consists of the segment of {y2=h}\{y_2=h\}{y2​=h}, with outward normal e2e_2e2​, and the lower semicircle, with outward normal radial. Proof idea. Use polar coordinates about (0,h)(0,h)(0,h): the half-disc is the polar rectangle [0,R]×[−π,0][0,R]\times[-\pi,0][0,R]×[−π,0], and ρ divF=∂ρ(ρFρ)+∂θFθ\rho\,\mathrm{div}F=\partial_\rho(\rho F_\rho)+\partial_\theta F_\thetaρdivF=∂ρ​(ρFρ​)+∂θ​Fθ​. The rectangle Gauss–Green theorem then applies, and the two rays θ=0,−π\theta=0,-\piθ=0,−π give the segment integral.

Preamble
import Mathlib
import Definitions.Def_RoughSurfaceScattering_Basic

open MeasureTheory
Formal statement
namespace RoughSurfaceScattering

/-- the divergence theorem on the lower half-disc `{|y-(0,h)| < R, y₂ < h}` -/
theorem divergence_halfdisc (h R : ℝ) (hR : 0 < R) (U : Set R2) (hU : IsOpen U)
    (hsub : {y : R2 | ‖y - pt 0 h‖ ≤ R ∧ y 1 ≤ h} ⊆ U)
    (P Q : R2 → ℂ) (hP : ContDiffOn ℝ 1 P U) (hQ : ContDiffOn ℝ 1 Q U) :
    (∫ t in (-R)..R, Q (pt t h)) +
      (∫ φ in (-Real.pi)..0,
        (Real.cos φ • P (pt (R * Real.cos φ) (h + R * Real.sin φ)) +
          Real.sin φ • Q (pt (R * Real.cos φ) (h + R * Real.sin φ))) * R) =
      ∫ y in {y : R2 | ‖y - pt 0 h‖ < R ∧ y 1 < h},
        (fderiv ℝ P y (pt 1 0) + fderiv ℝ Q y (pt 0 1)) := by sorry

end RoughSurfaceScattering
Source
The divergence (Gauss–Green) theorem in the plane for C^1 vector fields on a half-disc and on an annulus; used for Green's representation (Colton–Kress, Thm 2.1) in Lemma 2.4 of C. Wu and J. Yang, arXiv:2406.06129v2.

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