Equilibrium averages, Green functions, correlation functions and principal values for the dielectric function of Coulomb systems
DefinitionArxiv1003_4724_BasicObjects of Sections I-III of Bobrov, Trigger, van Heijst and Schram (2010).
- Observables, average, evolution. Observables are the elements of a complex -algebra . The grand canonical average is a state: a linear functional with and for every . The Heisenberg evolution is a one-parameter group of -automorphisms (, ). The state is stationary: .
- Charges and densities. Species have charge and mass . is the self-adjoint particle-number operator, and is the average density in volume . Quasi-neutrality (eq. 3) is . The total charge is , and with are the number fluctuations (eq. 22). The squared inverse screening length is (eq. 23), and the squared plasma frequency is (eq. 21).
- Current and dipole. and , , are the Cartesian components of the total charge dipole moment and the total current. A long-wavelength model (Secs. II-III) is a stationary state and evolution in which and are self-adjoint and (eq. 26) holds inside averages: and for every . The commutator correlations , , are continuous and bounded in .
- Green functions (eqs. 2, 20, 25). The retarded Green function is for . From it, and the Kubo conductivity is , with summation over .
- Time correlation functions (eqs. 30, 31, 33). and . The dipole correlation is . The real-frequency transform is .
- Principal values. For a finite set of singular points, means that over tends to as and jointly.
Formalization Note The paper's operators act on the Fock space of a Coulomb system in the thermodynamic limit, which Mathlib cannot construct. Here they are elements of an arbitrary complex -algebra, and the grand canonical average is an arbitrary stationary state on it. Only the properties the paper's arguments use are imposed. The densities are ; is real because is self-adjoint.
import Mathlib
/-!
Bobrov, Trigger, van Heijst and Schram, *Kramers-Kronig relations for the dielectric function and
the static conductivity of Coulomb systems*, arXiv:1003.4724v1 (2010): the equilibrium average,
time evolution, charge, current and dipole operators, retarded Green functions, time correlation
functions and the long-wavelength permittivity of Sections I-III (eqs. (1)-(3), (20)-(26),
(29)-(31), (33)), and the principal-value integrals of the Kramers-Kronig relations (7)-(8),
(27)-(28).
Observables are the elements of a complex `*`-algebra `A`; the grand canonical average `<...>`
is a linear functional on `A`, and the Heisenberg evolution `X ↦ X(t)` is a one-parameter group
of `*`-automorphisms of `A`.
-/
open MeasureTheory Filter Topology
noncomputable section
namespace Arxiv1003_4724
section Algebraic
variable {A : Type*} [Ring A] [StarRing A] [Algebra ℂ A]
/-- Sec. I, after eq. (2): the angle brackets `<...>` are an equilibrium average, i.e. a state:
a normalised (`<1> = 1`) positive (`<X* X>` real and `≥ 0`) linear functional on observables. -/
def IsState (ω : A →ₗ[ℂ] ℂ) : Prop :=
ω 1 = 1 ∧ ∀ X : A, (ω (star X * X)).im = 0 ∧ 0 ≤ (ω (star X * X)).re
/-- Sec. I, eq. (2): the Heisenberg representation `X(t) = τ t X` is a one-parameter group of
`*`-automorphisms: `X(0) = X` and `X(s + t) = τ s (X(t))`. -/
def IsDynamics (τ : ℝ → A ≃⋆ₐ[ℂ] A) : Prop :=
(∀ X, τ 0 X = X) ∧ ∀ s t X, τ (s + t) X = τ s (τ t X)
/-- Sec. I: the grand canonical average is an equilibrium average, invariant under the
time evolution: `<X(t)> = <X>`. -/
def IsStationary (ω : A →ₗ[ℂ] ℂ) (τ : ℝ → A ≃⋆ₐ[ℂ] A) : Prop :=
∀ t X, ω (τ t X) = ω X
/-- The commutator time correlation function `<[X(t), Y(0)]>` of eq. (2) and eq. (31). -/
def commCorr (ω : A →ₗ[ℂ] ℂ) (τ : ℝ → A ≃⋆ₐ[ℂ] A) (X Y : A) (t : ℝ) : ℂ :=
ω ⁅τ t X, Y⁆
/-- Eq. (26), first identity, `dP^β(t)/dt = I^β(t)`, in the weak sense in which it enters
averages: for every observable `B`, `d/dt <P^β(t) B> = <I^β(t) B>` and
`d/dt <B P^β(t)> = <B I^β(t)>`. Here `Dip β = P^β` (eq. (25)) and `Cur β = I^β` (eq. (21)). -/
def DipoleDerivIsCurrent (ω : A →ₗ[ℂ] ℂ) (τ : ℝ → A ≃⋆ₐ[ℂ] A) (Dip Cur : Fin 3 → A) : Prop :=
∀ (β : Fin 3) (B : A) (t : ℝ),
HasDerivAt (fun s => ω (τ s (Dip β) * B)) (ω (τ t (Cur β) * B)) t ∧
HasDerivAt (fun s => ω (B * τ s (Dip β))) (ω (B * τ t (Cur β))) t
/-- The standing setting of Secs. II-III: `<...>` is a stationary state for the Heisenberg
evolution `τ`; the components `P^β` of the total charge dipole moment (eq. (25)) and `I^β` of the
total current (eq. (21)) are self-adjoint; `dP^β/dt = I^β` (eq. (26)); and the commutator
correlation functions of these operators, which enter the time integrals (2), (20), (25), (30),
are continuous and bounded in `t`. -/
def IsLongWaveModel (ω : A →ₗ[ℂ] ℂ) (τ : ℝ → A ≃⋆ₐ[ℂ] A) (Dip Cur : Fin 3 → A) : Prop :=
IsState ω ∧ IsDynamics τ ∧ IsStationary ω τ ∧
(∀ β, IsSelfAdjoint (Dip β) ∧ IsSelfAdjoint (Cur β)) ∧
DipoleDerivIsCurrent ω τ Dip Cur ∧
∀ β, ∀ X ∈ ({Dip β, Cur β} : Set A), ∀ Y ∈ ({Dip β, Cur β} : Set A),
Continuous (commCorr ω τ X Y) ∧ ∃ M : ℝ, ∀ t, ‖commCorr ω τ X Y t‖ ≤ M
/-- Eq. (2): the retarded Green function
`<<X | Y>>_z = -(i/ħ) ∫_0^∞ exp(i z t) <[X(t), Y(0)]> dt`, `Im z > 0`
(so that `χ^R(q,z) = V⁻¹ <<ρ_q | ρ_{-q}>>_z`). -/
def retardedGreen (ω : A →ₗ[ℂ] ℂ) (τ : ℝ → A ≃⋆ₐ[ℂ] A) (hbar : ℝ) (X Y : A) (z : ℂ) : ℂ :=
-(Complex.I / hbar) * ∫ t in Set.Ioi (0 : ℝ), Complex.exp (Complex.I * z * t) * commCorr ω τ X Y t
/-- Eq. (20): `φ(z) = (4π/3V) <<I^β | I^β>>_z`, summed over `β`. -/
def phiFn (ω : A →ₗ[ℂ] ℂ) (τ : ℝ → A ≃⋆ₐ[ℂ] A) (hbar V : ℝ) (Cur : Fin 3 → A) (z : ℂ) : ℂ :=
4 * Real.pi / (3 * V) * ∑ β, retardedGreen ω τ hbar (Cur β) (Cur β) z
/-- Eq. (25), Kubo formula: `σ(z) = -(1/3V) <<I^β | P^β>>_z`, summed over `β`. -/
def kuboSigma (ω : A →ₗ[ℂ] ℂ) (τ : ℝ → A ≃⋆ₐ[ℂ] A) (hbar V : ℝ) (Dip Cur : Fin 3 → A) (z : ℂ) :
ℂ :=
-(1 / (3 * V)) * ∑ β, retardedGreen ω τ hbar (Cur β) (Dip β) z
/-- Eq. (31): `σ(t) = (i/3ħV) <[I^β(t), P^β(0)]>`, summed over `β`. -/
def sigmaCorr (ω : A →ₗ[ℂ] ℂ) (τ : ℝ → A ≃⋆ₐ[ℂ] A) (hbar V : ℝ) (Dip Cur : Fin 3 → A) (t : ℝ) :
ℂ :=
Complex.I / (3 * hbar * V) * ∑ β, commCorr ω τ (Cur β) (Dip β) t
/-- Eq. (31): `φ(t) = -(i/3ħV) <[I^β(t), I^β(0)]>`, summed over `β`. -/
def phiCorr (ω : A →ₗ[ℂ] ℂ) (τ : ℝ → A ≃⋆ₐ[ℂ] A) (hbar V : ℝ) (Cur : Fin 3 → A) (t : ℝ) : ℂ :=
-(Complex.I / (3 * hbar * V)) * ∑ β, commCorr ω τ (Cur β) (Cur β) t
/-- Eq. (33), right-hand side before the limit: `(i/3ħV) <[P^β(t), P^β(0)]>`, summed over `β`. -/
def dipoleCorr (ω : A →ₗ[ℂ] ℂ) (τ : ℝ → A ≃⋆ₐ[ℂ] A) (hbar V : ℝ) (Dip : Fin 3 → A) (t : ℝ) : ℂ :=
Complex.I / (3 * hbar * V) * ∑ β, commCorr ω τ (Dip β) (Dip β) t
/-- Eq. (30): `σ^(0)(ω) = ∫_0^∞ exp(i ω t) σ(t) dt` for real frequency `ω`. -/
def sigma0 (ω : A →ₗ[ℂ] ℂ) (τ : ℝ → A ≃⋆ₐ[ℂ] A) (hbar V : ℝ) (Dip Cur : Fin 3 → A) (x : ℝ) : ℂ :=
∫ t in Set.Ioi (0 : ℝ), Complex.exp (Complex.I * x * t) * sigmaCorr ω τ hbar V Dip Cur t
variable {ι : Type*}
/-- Sec. I: the average density `n_a = <N_a>/V` of species `a`, `N_a` the particle-number
operator of species `a`. -/
def meanDensity (ω : A →ₗ[ℂ] ℂ) (N : ι → A) (V : ℝ) (a : ι) : ℝ :=
(ω (N a)).re / V
/-- Eq. (3): the quasi-neutrality condition `∑_a e z_a n_a = 0`. -/
def IsQuasiNeutral [Fintype ι] (ω : A →ₗ[ℂ] ℂ) (N : ι → A) (z : ι → ℝ) (e V : ℝ) : Prop :=
∑ a, e * z a * meanDensity ω N V a = 0
/-- Eq. (23): the operator of the total charge `Z = ∑_a z_a e N_a`. -/
def totalCharge [Fintype ι] (N : ι → A) (z : ι → ℝ) (e : ℝ) : A :=
∑ a, ((z a * e : ℝ) : ℂ) • N a
/-- Eq. (22): the number fluctuation correlation `<δN_a δN_b>`, `δN_a = N_a - <N_a>`. -/
def numberCov (ω : A →ₗ[ℂ] ℂ) (N : ι → A) (a b : ι) : ℂ :=
ω ((N a - ω (N a) • (1 : A)) * (N b - ω (N b) • (1 : A)))
/-- Eq. (23): `κ² = (4π/T) <Z²>/V`. -/
def kappaSq [Fintype ι] (ω : A →ₗ[ℂ] ℂ) (N : ι → A) (z : ι → ℝ) (e T V : ℝ) : ℂ :=
4 * Real.pi / T * ω (totalCharge N z e * totalCharge N z e) / V
/-- Eq. (21): the square of the plasma frequency, `ω_p² = ∑_a 4π z_a² e² n_a / m_a`. -/
def plasmaFreqSq [Fintype ι] (z : ι → ℝ) (e : ℝ) (n m : ι → ℝ) : ℝ :=
∑ a, 4 * Real.pi * z a ^ 2 * e ^ 2 * n a / m a
end Algebraic
/-- The truncation `{ξ : |ξ| ≤ R, |ξ - s| ≥ δ for every s ∈ S}` used for a principal-value
integral with singular points `S`. -/
def pvDomain (S : Set ℝ) (δ R : ℝ) : Set ℝ :=
{ξ | |ξ| ≤ R ∧ ∀ s ∈ S, δ ≤ |ξ - s|}
/-- Eqs. (7)-(8), (27)-(28): `P ∫_{-∞}^{∞} f(ξ) dξ = L`, the principal value with singular points
`S`: the integrals over `pvDomain S δ R` tend to `L` as `δ → 0⁺` and `R → ∞`. -/
def HasPVIntegral (f : ℝ → ℝ) (S : Set ℝ) (L : ℝ) : Prop :=
Tendsto (fun p : ℝ × ℝ => ∫ ξ in pvDomain S p.1 p.2, f ξ) (𝓝[>] (0 : ℝ) ×ˢ atTop) (𝓝 L)
end Arxiv1003_4724
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Throughout, is an arbitrary ring that is also an associative algebra over and carries an involution (a star operation compatible with addition and reversing products). No compatibility between the involution and complex scalars (such as ) is assumed. No norm, topology, completeness or commutativity is assumed on . Other common conventions:
- is any -linear map. No continuity is required.
- assigns to each real a map that is a bijective -algebra homomorphism preserving the involution.
- Indices range over the three-element set .
- and are arbitrary triples of elements of .
- Division by zero is interpreted as giving , in both and .
- Every integral is a Lebesgue (Bochner) integral, and it is defined to be whenever the integrand is not integrable on the stated domain.
IsState. For a linear functional , the property holds exactly when and, for every ,
Nothing else is required. In particular, neither continuity of nor the identity is part of the definition.
IsDynamics. For a family of involution-preserving -algebra automorphisms of , the property holds exactly when
for all real and all . No continuity or measurability in is required.
IsStationary. For and as above, the property holds exactly when for every real and every .
commCorr. For , , and real , the definition is
This is applied to the ring commutator of and . No hypotheses on or are built in.
DipoleDerivIsCurrent. For , and triples , , the property holds exactly when the following is true for every , every and every real :
- the complex-valued function of a real variable is differentiable at with derivative ;
- the function is differentiable at with derivative .
IsLongWaveModel. For , , and , the property is the conjunction of the following:
- satisfies IsState.
- satisfies IsDynamics.
- for all and (IsStationary).
- For each , and .
- DipoleDerivIsCurrent holds.
- For each and each choice of , the function is continuous on and bounded. That is, there is a real with for all . Only pairs with the same index are constrained; mixed-index pairs such as are not.
retardedGreen. For , , a real number , and any complex , the definition is
Some degenerate cases:
- is not restricted to ; the definition applies to every complex .
- If the integrand is not Lebesgue-integrable on , the integral, and hence the value, is .
- If , the value is .
phiFn. For real , , a triple and complex , the definition is
with as in retardedGreen. If , the value is .
kuboSigma. For real , , triples , and complex , the definition is
If , the value is .
sigmaCorr. For real , , triples , and real , the definition is
If , the value is .
phiCorr. For real , , a triple and real , the definition is
If , the value is .
dipoleCorr. For real , , a triple and real , the definition is
No limit is taken. If , the value is .
sigma0. For real , , triples , and a real frequency , the definition is
with as in sigmaCorr. This is a Lebesgue integral, not an improper or Abel-regularised one. It equals whenever is not absolutely integrable on ; for example, this happens if is bounded but does not decay fast enough.
meanDensity. For an index type , a family of elements of , a real and , the definition is the real number
Only the real part of is used. If , the value is .
IsQuasiNeutral. For a finite index type , a family , real charges and reals , , the property holds exactly when
where as in meanDensity. The condition holds trivially if , if , or if is empty.
totalCharge. For a finite index type , a family in and reals , , the definition is the element
where each real coefficient acts as a complex scalar.
numberCov. For , a family and indices , the definition is
The full complex values and are subtracted, not their real parts. No state or self-adjointness assumption is built in.
kappaSq. For a finite index type , a family , reals , and reals , , , the definition is the complex number
with as in totalCharge. If or , the value is .
plasmaFreqSq. For a finite index type , reals , and arbitrary real families , , the definition is the real number
Here and are free inputs: nothing ties to meanDensity, and nothing requires . Any term with contributes .
pvDomain. For a set and reals , , the definition is the set
Some degenerate cases:
- If , this is .
- If , it is empty.
- If , the condition involving is vacuous.
- If is dense in (for instance ) and , the set is empty.
HasPVIntegral. For a real function , a set and a real , the property holds exactly when
as and jointly. Here "jointly" means the limit is along the product filter: for every there exist and such that the integral is within of for all and all . This is not an iterated limit. Each integral is a Lebesgue integral over the set and is taken to be when is not integrable there. Consequently, if is dense in , every truncated domain with is empty, every integral is , and the property holds with for every .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.