Lattice scalar field: phase rotations, local variations, path integral
DefinitionWardTakahashi_LatticeU1Lattice model of a charged (complex) scalar field used to state the Ward–Takahashi identities in a finite-dimensional, mathematically rigorous setting.
- A field configuration on lattice sites is a vector .
- The global rotation by angle is for every site .
- The local generator at site is the tangent vector , i.e. the infinitesimal phase rotation of the single site .
- For a real-differentiable functional of the field (real- or complex-valued), its local variation at is
- An action is -invariant if for all .
- The (unnormalised) path integral of an observable is
with Lebesgue measure on .
For a -invariant action, plays the role of the (lattice) divergence of the Noether current at site .
Formalization Note The Euclidean weight replaces the Minkowski weight of the source; expectation values are ratios , so identities are stated for the unnormalised . The integral is a Bochner integral (value for non-integrable integrands).
import Mathlib
namespace WardTakahashi
open MeasureTheory Complex
/-- Field configurations of a complex scalar field on `N` lattice sites:
a configuration assigns a complex number `φ y` to every site `y`. -/
abbrev FieldConfig (N : ℕ) := Fin N → ℂ
/-- The global `U(1)` phase rotation `φ ↦ e^{iθ} φ`, applied at every site. -/
noncomputable def phaseRotate {N : ℕ} (θ : ℝ) (φ : FieldConfig N) : FieldConfig N :=
fun y => Complex.exp ((θ : ℂ) * I) * φ y
/-- Infinitesimal generator of the *local* phase rotation at site `x`:
the tangent vector whose only nonzero entry is `i φ x`, at site `x`. -/
noncomputable def localGen {N : ℕ} (x : Fin N) (φ : FieldConfig N) : FieldConfig N :=
Pi.single x (I * φ x)
/-- Infinitesimal local variation at site `x` of a (real-)differentiable functional `F`
of the field: the directional derivative of `F` at `φ` along `localGen x φ`. -/
noncomputable def localVar {N : ℕ} {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V]
(x : Fin N) (F : FieldConfig N → V) (φ : FieldConfig N) : V :=
fderiv ℝ F φ (localGen x φ)
/-- An action `S` is invariant under global `U(1)` phase rotations. -/
def IsU1Invariant {N : ℕ} (S : FieldConfig N → ℝ) : Prop :=
∀ (θ : ℝ) (φ : FieldConfig N), S (phaseRotate θ φ) = S φ
/-- The (unnormalised) Euclidean lattice path integral of an observable `F`
with Boltzmann weight `e^{-S}` against Lebesgue measure on `ℂ^N`. -/
noncomputable def pathIntegral {N : ℕ} (S : FieldConfig N → ℝ) (F : FieldConfig N → ℂ) : ℂ :=
∫ φ, F φ * (Real.exp (-S φ) : ℂ)
end WardTakahashi
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.
The file introduces, for each natural number (including ):
- the type of field configurations = functions from the sites to (with the product/sup-norm structure and Lebesgue product measure inherited from );
- (phaseRotate): for , the configuration ;
- (localGen): the configuration equal to at site and at every other site;
- (localVar): for any map from into a real normed space , the value of the real Fréchet derivative applied to . No differentiability is assumed in the definition; if is not differentiable at the derivative is taken to be the zero map, so there;
- IsU1Invariant for : the proposition that for every real and every ;
- pathIntegral for and : the complex number
(Bochner integral with respect to Lebesgue measure on , equal to whenever is not integrable). There is no normalisation by .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.