Electromagnetism · PhysLib theorem

Uniform Electric and Magnetic Fields Solve the Vacuum Field Equation

PhysLib constructs an explicit smooth potential for any constant electric vector and antisymmetric constant magnetic-field matrix and proves that it is an extremum of the source-free electromagnetic action.

Provided by PhysLibLean checkedMeaning reviewed

What it says

What the theorem says

PhysLib builds a potential linear in the spatial coordinates, proves that its electric field is the chosen constant vector and its magnetic-field matrix is the chosen antisymmetric matrix, then uses the Gauss-Ampere characterization of a free-space action extremum with zero current.

Context

Why it matters

Uniform electric and magnetic fields are among the simplest exact Maxwell configurations, and PhysLib connects their explicit potential directly to its variational free-space field equation.

Inside the proof

Proof architecture

The result is an exact constant-field solution inside PhysLib's variational formulation: define a linear potential, recover the prescribed fields, and verify the source-free Euler-Lagrange equations through the established Gauss-Ampere criterion.

Step 1

Build a linear electromagnetic potential

The time component is proportional to minus the inner product of E0 with position, while each spatial component is one half of the B0 matrix contracted with the position vector.

A_0(x) = -(1/c)<E0,x>, A_i(x) = (1/2) sum_j B0_ij x_j

Show the Lean ingredients
noncomputable def constantEB- (1/c) * ⟪E₀, Space.basis.repr x.space⟫_ℝ(1/2) * ∑ j, B₀ (i, j) * x.space j

Step 2

Recover the prescribed constant fields

Differentiating the linear components gives the constant electric vector E0 and the constant magnetic-field matrix B0; antisymmetry makes the two spatial derivative terms combine correctly.

E(t,x) = E0, B_ij(t,x) = B0_ij

Show the Lean ingredients
constantEB_electricFieldconstantEB_magneticFieldMatrixrw [B₀_antisymm]

Step 3

Apply the source-free extremum criterion

PhysLib rewrites the variational extremum condition as the Gauss-Ampere field equations; constant fields make the differential terms vanish, while smoothness of the potential and zero current discharge the remaining conditions.

IsExtrema(FreeSpace, A, 0)

Show the Lean ingredients
isExtrema_iff_gauss_ampere_magneticFieldMatrixexact constantEB_smoothexact contDiff_zero_fun

Authoritative formal type

Exact PhysLib statement

Electromagnetism.ElectromagneticPotential.constantEB_isExtrema {d : ℕ} {𝓕 : Electromagnetism.FreeSpace} {E₀ : EuclideanSpace ℝ (Fin d)} {B₀ : Fin d × Fin d → ℝ} {B₀_antisymm : ∀ (i j : Fin d), B₀ (i, j) = -B₀ (j, i)} : Electromagnetism.ElectromagneticPotential.IsExtrema 𝓕 (Electromagnetism.ElectromagneticPotential.constantEB 𝓕.c E₀ B₀ B₀_antisymm) 0

This is the theorem's exact Lean type. The diagrams and commentary are explanatory; the pinned statement and source are authoritative.

Recorded connections

How this result fits

A one-step view of the published results directly connected to this page.

Current resultUniform Electric and Magnetic Fields Solve the Vacuum Field Equation
3 direct connections

Only recorded public relationships are shown. A shared topic does not imply a dependency, and this is not a complete Lean proof-term dependency graph.

Open this result in the full theorem map3 direct connections

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationElectromagnetism.ElectromagneticPotential.constantEB_isExtrema
Source modulePhyslib.Electromagnetism.Vacuum.Constant
Source footprint9 nonempty lines in this declaration · 196 nonempty lines in its module
Checked commit6bd0b4b99d3d
Reported Lean axiomspropext
Unresolved placeholdersNo sorryAx reported

View theorem in PhysLib ↗

The declaration footprint describes source layout, not proof difficulty or the size of its dependencies. The pinned checks verify the cited Lean theorem; semantic review remains a separate PhysAtlas judgment.

Expanded visual

Explanatory image · not evidence.

Open original in a new tab