Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

PhysLib Reissner–Nordström metric and Coulomb field

Definition
PhyslibReissnerNordstromCoordinates

by scuba8684 · Nov 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

general-relativityphyslib-exact-spacetimes

The static metric with radial function 1−2M/r+Q2/r21-2M/r+Q^2/r^21−2M/r+Q2/r2 and the Coulomb field of charge QQQ.

Definition code
import Definitions.Def_PhyslibCoordinateGeometry
import Definitions.Def_PhyslibStaticSphericalCoordinates
import Mathlib.Algebra.BigOperators.Fin
import Mathlib.Algebra.BigOperators.Ring.Finset
import Mathlib.Algebra.Lie.Classical
import Mathlib.Analysis.Calculus.ContDiff.Deriv
import Mathlib.Analysis.Calculus.Deriv.Add
import Mathlib.Analysis.Calculus.Deriv.Basic
import Mathlib.Analysis.Calculus.Deriv.Inv
import Mathlib.Analysis.Calculus.Deriv.Mul
import Mathlib.Analysis.Calculus.Deriv.Pow
import Mathlib.Analysis.Calculus.Deriv.Prod
import Mathlib.Analysis.Calculus.FDeriv.Symmetric
import Mathlib.Analysis.ODE.ExistUnique
import Mathlib.Analysis.SpecialFunctions.Sqrt
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Deriv
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Inverse
import Mathlib.Data.Matrix.Basic
import Mathlib.Data.Real.Basic
import Mathlib.Data.Set.Basic
import Mathlib.LinearAlgebra.Matrix.Notation
import Mathlib.LinearAlgebra.Matrix.Symmetric
import Mathlib.Logic.Equiv.Fin.Basic
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.FinCases
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.NoncommRing
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.Positivity
import Mathlib.Tactic.Ring

section

/-
Copyright (c) 2026 Alex Vergara Gil. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Alex Vergara Gil
-/


/-!

# The Reissner–Nordström electrovacuum black hole

Coordinate metric, electrovacuum Maxwell stress-energy tensor, Einstein–Maxwell equations
`G_{ij} = 8 π T_{ij}`, vanishing scalar curvature, and inner/outer horizon structure for
`ReissnerNordstromSpacetime`.

## i. Overview

A static spherically symmetric charged black hole of mass `M` and electric charge `Q` has line
element `ds² = -f(r) dt² + f(r)⁻¹ dr² + r² dΩ²` with radial metric function
`f(r) = 1 - 2 M / r + Q² / r²`, sourced by a radial Coulomb electric field `F_{01} = -Q / r²`,
`F_{10} = Q / r²`.

Using the static spherically symmetric curvature formulas in `GeneralRelativity.StaticSpherical`,
this module proves:

- `ReissnerNordstromSpacetime.ricciScalar_eq_zero` : vanishing Ricci scalar `R = 0`, matching
  `ReissnerNordstromSpacetime.maxwellStressEnergy_trace_zero` (`g^{ij} T^{EM}_{ij} = 0` in 4D);
- `ReissnerNordstromSpacetime.einsteinTensor_eq_maxwell` : the full 4D electrovacuum
  Einstein–Maxwell field equations `G_{ij} = 8 π T^{EM}_{ij}` at every index pair `(i, j)`;
- horizon theorems (`ReissnerNordstromSpacetime.metricFn_horizonPlus`,
  `ReissnerNordstromSpacetime.metricFn_horizonMinus`, extremal double root when `Q² = M²`, and
  positivity `0 < f(r)` in the overcharged naked-singularity regime `M² < Q²`).

## ii. Key results

- `ReissnerNordstromSpacetime`, `ReissnerNordstromSpacetime.metricFn`,
  `ReissnerNordstromSpacetime.toCoordinateMetric`, `ReissnerNordstromSpacetime.metric`,
  `ReissnerNordstromSpacetime.metricInv` : Reissner–Nordström spacetime structure, metric function,
  and coordinate metric.
- `ReissnerNordstromSpacetime.coulombFieldStrength` : radial electric field strength, which feeds
  the Gaussian-unit Maxwell stress-energy `maxwellStressEnergyGaussian` of
  `Tensors/MaxwellStressEnergy.lean`.
- `ReissnerNordstromSpacetime.ricciTensor_eq`, `ReissnerNordstromSpacetime.ricciScalar_eq_zero`,
  `ReissnerNordstromSpacetime.maxwellStressEnergy_trace_zero`,
  `ReissnerNordstromSpacetime.einsteinTensor_eq_maxwell` : coordinate-metric verification of the
  Einstein–Maxwell solution.
- `ReissnerNordstromSpacetime.horizonPlus`, `ReissnerNordstromSpacetime.horizonMinus`,
  `ReissnerNordstromSpacetime.metricFn_horizonPlus`,
  `ReissnerNordstromSpacetime.metricFn_horizonMinus`,
  `ReissnerNordstromSpacetime.metricFn_extremal`,
  `ReissnerNordstromSpacetime.metricFn_pos_of_overcharged` : Cauchy/event horizons, extremal
  coalescence, and overcharged regime.

## iii. Table of contents

- A. Metric, Maxwell field, and horizon radii
- B. Electrovacuum Einstein equations from the coordinate metric
- C. Horizons, extremal limit, and overcharged regime

## iv. References

* R. M. Wald, *General Relativity* (1984), Ch. 6 & Ch. 12 (Sec. 12.3).
  [ref: wald_1984_general_relativity]
* C. W. Misner, K. S. Thorne, and J. A. Wheeler, *Gravitation* (1973), Ch. 33 (Box 33.2).
  [ref: mtw_1973_gravitation]
* S. M. Carroll, *Lecture Notes on General Relativity* (1997), Ch. 7
  (https://arxiv.org/pdf/gr-qc/9712019#page=184). [ref: Carroll1997]
-/


namespace GeneralRelativity

namespace ReissnerNordstrom

open GeneralRelativity.CoordinateCurvature GeneralRelativity.StaticSpherical

/-!

## A. Metric, Maxwell field, and horizon radii

The charged static spherically symmetric line element is fixed by `f(r) = 1 - 2M/r + Q²/r²`
together with the antisymmetric radial Coulomb field tensor `F_{01} = -Q/r² = -F_{10}`.

-/

/-- Reissner–Nordström charged black hole spacetime parameterized by mass `M` and electric
charge `Q`. -/
structure ReissnerNordstromSpacetime where
  /-- Geometric mass parameter `M` (`G = c = 1`). -/
  M : ℝ
  /-- Electric charge parameter `Q`. -/
  Q : ℝ

namespace ReissnerNordstromSpacetime

/-- The Reissner–Nordström radial metric function `f(r) = 1 - 2 M / r + Q² / r²`. -/
noncomputable def metricFn (S : ReissnerNordstromSpacetime) (r : ℝ) : ℝ :=
  1 - 2 * S.M / r + S.Q ^ 2 / r ^ 2

/-- View a Reissner–Nordström spacetime as a `StaticSpherical.StaticSphericalMetric` with profile
`S.metricFn`. -/
noncomputable def toStaticSpherical (S : ReissnerNordstromSpacetime) : StaticSpherical.StaticSphericalMetric :=
  ⟨S.metricFn⟩

/-- The Reissner–Nordström metric as a `CoordinateMetric 4` on its regular chart, where the radial
metric function and `sin θ` are nonzero. -/
noncomputable def toCoordinateMetric (S : ReissnerNordstromSpacetime) : CoordinateMetric 4 :=
  S.toStaticSpherical.toCoordinateMetric

/-- The Reissner–Nordström metric in Schwarzschild-like coordinates `(t, r, θ, φ)`. -/
noncomputable def metric (S : ReissnerNordstromSpacetime) : (Fin 4 → ℝ) → Tensor2 4 :=
  S.toStaticSpherical.metric

/-- The inverse of the Reissner–Nordström metric in `(t, r, θ, φ)` coordinates. -/
noncomputable def metricInv (S : ReissnerNordstromSpacetime) : (Fin 4 → ℝ) → Tensor2 4 :=
  S.toStaticSpherical.metricInv













/-- Radial Coulomb Maxwell field strength tensor `F_{ab}`
(`F_{01} = -Q/r²`, `F_{10} = Q/r²`). -/
noncomputable def coulombFieldStrength (S : ReissnerNordstromSpacetime) (r : ℝ) : Tensor2 4 :=
  Matrix.of fun i j =>
    if i = 0 ∧ j = 1 then -S.Q / r ^ 2
    else if i = 1 ∧ j = 0 then S.Q / r ^ 2
    else 0

















/-!

## B. Electrovacuum Einstein equations from the coordinate metric

Reducing the general static spherical curvature formulas to `f(r) = 1 - 2M/r + Q²/r²` shows that
the scalar curvature vanishes identically (`R = 0`) and the Einstein tensor satisfies the coupled
Einstein–Maxwell equation `G_{ij} = 8 π T^{EM}_{ij}`.

-/





















/-!

## C. Horizons, extremal limit, and overcharged regime

The radii themselves are the chart operations `S.horizonPlus` and `S.horizonMinus` of Section A,
where `S.metricFn` is assembled. Depending on the charge-to-mass ratio `|Q|/M`, a
Reissner–Nordström spacetime exhibits two distinct horizons (`|Q| < M`), a single degenerate
extremal horizon (`|Q| = M`), or a naked singularity (`|Q| > M`).

-/











end ReissnerNordstromSpacetime

end ReissnerNordstrom

end GeneralRelativity

end
Source
https://github.com/BishopWolf/physlib/blob/8046e2b0cb30f5fa25306a69ff29e91ab5711f6b/PhyslibAlpha/Relativity/General/ReissnerNordstrom/Basic.lean

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