Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (2.26): field-line average of ∣B∣2|B|^2∣B∣2

Proved
Landreman3DEquilibria.field_line_average_B_sq

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

mathematical-physicsmhd-equilibriumpartial-differential-equations

Let 0<ϵ<10<\epsilon<10<ϵ<1 and u2+v2<1/4u^2+v^2<1/4u2+v2<1/4. Averaging the squared field strength over one toroidal period of the field line labelled (u,v)(u,v)(u,v) gives, with ψ=(u+ϵ/2)2+v2\psi=(u+\epsilon/2)^2+v^2ψ=(u+ϵ/2)2+v2,

12π∫02π∣B(r(u,v,ζ))∣2 dζ=1−ϵ22+2ψ.\frac{1}{2\pi}\int_0^{2\pi}\big|B\big(r(u,v,\zeta)\big)\big|^2\,d\zeta=1-\frac{\epsilon^2}{2}+2\psi .2π1​∫02π​​B(r(u,v,ζ))​2dζ=1−2ϵ2​+2ψ.

The average depends on the field line only through its flux label. Combined with ⟨ψ⟩V=δ/2\langle\psi\rangle_V=\delta/2⟨ψ⟩V​=δ/2, which follows from the proportionality of volume to ψ\psiψ, this yields the volume-averaged field strength and hence the volume-averaged beta of the configuration.

Preamble
import Mathlib
import Definitions.Def_landreman_vector_calculus
import Definitions.Def_landreman_integer_iota_family
Formal statement
namespace Landreman3DEquilibria

theorem field_line_average_B_sq (e u v : ℝ) (he : 0 < e) (he1 : e < 1)
    (huv : u ^ 2 + v ^ 2 < 1 / 4) :
    (1 / (2 * Real.pi)) * ∫ z in (0 : ℝ)..(2 * Real.pi), normSq (Bfield e (posMap e u v z)) =
      1 - e ^ 2 / 2 + 2 * ((u + e / 2) ^ 2 + v ^ 2) := by sorry

end Landreman3DEquilibria
Source
M. Landreman, Analytic toroidal 3D MHD equilibria and steady Euler flows with invariant surfaces, J. Plasma Phys. (submitted), arXiv:2609.26742v1 (2026), https://arxiv.org/abs/2609.26742 , Section 2, eq. (2.26)
Read-back

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

Disclosure — non-blind read-back. This read-back was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the proposal owner. It is therefore not independent testimony from a blind auditor: the author already knew what the statement was intended to say, so it cannot be relied on to expose an unfaithful formalization. Reviewers should compare the Lean code against the cited source directly rather than treating this text as corroboration.

Let e,u,ve,u,ve,u,v be real with 0<e<10<e<10<e<1 and u2+v2<1/4u^2+v^2<1/4u2+v2<1/4.

Let r(ζ)r(\zeta)r(ζ) be the position map of this bundle at parameter eee and labels (u,v)(u,v)(u,v), let BBB be the field at parameter eee, and let ∣y∣2|y|^2∣y∣2 denote ∑i=02yi2\sum_{i=0}^2 y_i^2∑i=02​yi2​.

The conclusion is the real equation

12π∫02π∣B(r(ζ))∣2 dζ  =  1−e22+2[(u+e2)2+v2],\frac{1}{2\pi}\int_{0}^{2\pi}\big|B(r(\zeta))\big|^2\,d\zeta \;=\; 1-\frac{e^2}{2}+2\Big[\big(u+\tfrac e2\big)^2+v^2\Big],2π1​∫02π​​B(r(ζ))​2dζ=1−2e2​+2[(u+2e​)2+v2],

where the integral is the interval integral from 000 to 2π2\pi2π in the Bochner sense; if the integrand failed to be integrable the integral would be 000 by convention, so the statement also implicitly carries the content that the value is as displayed. The right-hand side involves the labels only, not ζ\zetaζ. The factor 1/(2π)1/(2\pi)1/(2π) multiplies the integral, and the orientation of the interval is from 000 to 2π2\pi2π.

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