Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Integration by parts for a local phase rotation: ∫δxG=0\int \delta_x G = 0∫δx​G=0

Proved
WardTakahashi.integral_localVar_eq_zero

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

mathematical-physicsquantum-field-theoryward-identity

Let G:CN→CG:\mathbb C^N\to\mathbb CG:CN→C be continuously (real-)differentiable, let xxx be a site, and assume that

  1. φ↦∥φ∥ ∣G(φ)∣\varphi\mapsto\|\varphi\|\,|G(\varphi)|φ↦∥φ∥∣G(φ)∣ is integrable, and
  2. φ↦∥φ∥ ∥DG(φ)∥\varphi\mapsto\|\varphi\|\,\|DG(\varphi)\|φ↦∥φ∥∥DG(φ)∥ is integrable (operator norm).

Then

∫CNδxG(φ) dφ=∫CNDG(φ) [gxφ] dφ=0.\int_{\mathbb C^N}\delta_xG(\varphi)\,d\varphi=\int_{\mathbb C^N}DG(\varphi)\,[g_x\varphi]\,d\varphi=0 .∫CN​δx​G(φ)dφ=∫CN​DG(φ)[gx​φ]dφ=0.

This is the infinitesimal statement that Lebesgue measure is invariant under local phase rotations of a single site; the integrability conditions play the role of the source's assumption that surface terms can be neglected.

Formalization Note ∥φ∥\|\varphi\|∥φ∥ is the sup norm on CN\mathbb C^NCN.

Preamble
import Mathlib
import Definitions.Def_WardTakahashi_LatticeU1

open MeasureTheory Complex
Formal statement
namespace WardTakahashi

theorem integral_localVar_eq_zero {N : ℕ} (G : FieldConfig N → ℂ) (hG : ContDiff ℝ 1 G)
    (x : Fin N)
    (h1 : Integrable (fun φ : FieldConfig N => ‖φ‖ * ‖G φ‖))
    (h2 : Integrable (fun φ : FieldConfig N => ‖φ‖ * ‖fderiv ℝ G φ‖)) :
    ∫ φ, localVar x G φ = 0 := by sorry

end WardTakahashi
Source
Wikipedia, "Ward–Takahashi identity" (revision oldid=1374751657), https://en.wikipedia.org/w/index.php?title=Ward%E2%80%93Takahashi_identity&oldid=1374751657 ; section "Derivation in the path integral formulation" (finite-dimensional lattice model)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — NON-BLIND, same agent that drafted the statements

Note — NON-BLIND read-back. This read-back was written by the same agent that drafted the Lean statements (Aristotle by Harmonic), with full knowledge of the source material and of the intended meaning. It is not independent testimony and must not be treated as a blind audit; an independent blind read-back is still recommended before submission.

Throughout: CN\mathbb C^NCN is the space of functions φ:{0,…,N−1}→C\varphi:\{0,\dots,N-1\}\to\mathbb Cφ:{0,…,N−1}→C (with N≥0N\ge 0N≥0 arbitrary, so the case N=0N=0N=0 of a one-point space is included), regarded as a real vector space of dimension 2N2N2N with the sup norm ∥φ∥=max⁡y∣φy∣\|\varphi\|=\max_y|\varphi_y|∥φ∥=maxy​∣φy​∣ and with Lebesgue (product) measure dφd\varphidφ. All derivatives DDD are real Fréchet derivatives. All integrals are Bochner integrals, which by convention equal 000 when the integrand is not integrable. "Integrable" means Lebesgue integrable (including almost-everywhere strong measurability). δab\delta_{ab}δab​ is 111 if a=ba=ba=b and 000 otherwise.

For every NNN, every function G:CN→CG:\mathbb C^N\to\mathbb CG:CN→C that is continuously real-differentiable (C1C^1C1 over R\mathbb RR), every site xxx, provided

  1. the function φ↦∥φ∥⋅∣G(φ)∣\varphi\mapsto\|\varphi\|\cdot|G(\varphi)|φ↦∥φ∥⋅∣G(φ)∣ is Lebesgue integrable on CN\mathbb C^NCN, and
  2. the function φ↦∥φ∥⋅∥DG(φ)∥\varphi\mapsto\|\varphi\|\cdot\|DG(\varphi)\|φ↦∥φ∥⋅∥DG(φ)∥ is Lebesgue integrable, where ∥DG(φ)∥\|DG(\varphi)\|∥DG(φ)∥ is the operator norm of the real derivative,

it holds that

∫CNDG(φ) [gxφ] dφ=0,\int_{\mathbb C^N}DG(\varphi)\,[g_x\varphi]\,d\varphi=0,∫CN​DG(φ)[gx​φ]dφ=0,

where gxφg_x\varphigx​φ equals iφxi\varphi_xiφx​ at site xxx and 000 elsewhere, and ∥φ∥=max⁡y∣φy∣\|\varphi\|=\max_y|\varphi_y|∥φ∥=maxy​∣φy​∣. (If the integrand were not integrable the left side would be 000 by convention.) Note that integrability of GGG itself is not assumed.

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

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Sep 27, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me