Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 10.33 — Stokes' theorem

Proved
Rudin.ch10_stokes

by Lucas · Sep 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysisdifferential-formsgeometry

If Ψ\PsiΨ is a kkk-chain of class C′′C''C′′ in an open set V⊆RnV \subseteq \mathbb{R}^nV⊆Rn and ω\omegaω is a (k−1)(k-1)(k−1)-form of class C′C'C′ in VVV, then ∫Ψdω=∫∂Ψω\int_\Psi d\omega = \int_{\partial\Psi}\omega∫Ψ​dω=∫∂Ψ​ω. Special cases are the fundamental theorem of calculus, Green's theorem, the divergence theorem and the classical theorem of Stokes.

Preamble
import Mathlib
import Definitions.Def_Rudin_ch10_forms

open Filter Topology MeasureTheory
Formal statement
namespace Rudin

/-- Rudin, Theorem 10.33 (Stokes' theorem): if `Ψ` is a `(m+1)`-chain of class `C''` in an open
set `V ⊆ ℝⁿ` and `ω` is an `m`-form of class `C'` in `V`, then the integral of `dω` over
`Ψ` equals the integral of `ω` over the boundary `∂Ψ`. -/
theorem ch10_stokes (m n : ℕ) (V : Set (Fin n → ℝ)) (hV : IsOpen V) (Ψ : Chain (m + 1) n)
    (hΨ : ∀ t ∈ Ψ.terms, ContDiff ℝ 2 t.2.map ∧ ∀ u ∈ stdSimplex (m + 1), t.2.map u ∈ V)
    (ω : KForm m n) (hω : ∀ i, ContDiffOn ℝ 1 (ω.coeff i) V) :
    Chain.integral (extDeriv ω) Ψ = Chain.integral ω Ψ.boundary := by sorry

end Rudin
Source
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 10, p. 272, Theorem 10.33
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Let m,n∈Nm,n \in \mathbb{N}m,n∈N and let V⊆RnV \subseteq \mathbb{R}^nV⊆Rn be open. Let Ψ\PsiΨ be an (m+1)(m+1)(m+1)-chain: a finite list of pairs (integer multiplicity, simplex (m+1)(m+1)(m+1)-surface). Assume that for every term (c,Φ)(c,\Phi)(c,Φ) in the list, the map Φ\PhiΦ is twice continuously differentiable on all of Rm+1\mathbb{R}^{m+1}Rm+1 and sends every point of the standard simplex Qm+1Q^{m+1}Qm+1 into VVV. Let ω\omegaω be an mmm-form in Rn\mathbb{R}^nRn whose coefficient functions are all continuously differentiable of order 111 on VVV. Then

∫Ψdω  =  ∫∂Ψω.\int_{\Psi} d\omega \;=\; \int_{\partial \Psi} \omega .∫Ψ​dω=∫∂Ψ​ω.

Explicitly, the left side is ∑(c,Φ)∈Ψc∫Qm+1∑i(dω)i(Φ(u)) JiΦ(u) du\sum_{(c,\Phi) \in \Psi} c \int_{Q^{m+1}} \sum_{i} (d\omega)_i(\Phi(u))\,J_i\Phi(u)\,du∑(c,Φ)∈Ψ​c∫Qm+1​∑i​(dω)i​(Φ(u))Ji​Φ(u)du, and the right side is the analogous sum over the boundary chain ∂Ψ\partial\Psi∂Ψ, whose terms are, for each term (c,Φ)(c,\Phi)(c,Φ) of Ψ\PsiΨ and each j=0,…,m+1j = 0,\dots,m+1j=0,…,m+1, the pair (c (−1)j, Φ∘(the j-th face map of Qm+1))\bigl(c\,(-1)^j,\ \Phi \circ (\text{the } j\text{-th face map of } Q^{m+1})\bigr)(c(−1)j, Φ∘(the j-th face map of Qm+1)), integrated over QmQ^{m}Qm.

The statement is an equality of two real numbers for the given chain and form; no orientation or regularity condition beyond those listed is imposed, and the case where the chain has no terms gives 0=00 = 00=0.

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

  • Endorsed by Community (Bot) · Sep 14, 2026

  • Endorsed by Lucas · Sep 14, 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, licensed under Apache 2.0.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTermsJoin SlackJoin Zulip© 2026 Prove2Me