Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Radial Maxwell residual and parameter records

Definition
Atlas_EinsteinMaxwell_ES5_KerrSchild_VII18RationalClass

by He Wang · Nov 11, 2026 · Mathlib 0df444a (Lean v4.33.1)

cubic-magnetic-responseeinstein-maxwellexact-spacetime-atlas-viiiexact-vacuum-atlasfive-dimensional-gravitygeneral-relativity

Defines the Maxwell residual m*(ma')'-fa-2Qfm^2/N^2(J+2Qa), together with the Geo, Params and Coeffs records retained by dependency extraction. The records alone assert no field equations or solution. The residual is the radial Eq.24c left-minus-right expression used in the cubic bridges.

Source-comment errata (the generated copy is corrected; frozen original source is preserved): This retained historical header describes the original full VII18 module. The present extracted definition bundle supplies parameter records and maxwellResidual; it does not contain those omitted theorems. Atlas VIII asserts only its separately linked Maxwell and corrected-angular cubic residual bridges, not cancellation of all residuals.

Definition code
-- Atlas VIII publication extraction from frozen snapshot 323deba9a80475cfd477eb35bd415aa9d2dc18ff; historical generator identity follows.
-- Generated by scripts/vii24r/publish/gen_platform_tree_unitA.py (Atlas VII Unit A; copy of the RELEASE06 generator, header only) by skeleton subtraction from Atlas/EinsteinMaxwell/ES5/KerrSchild/VII18RationalClass.lean
-- definition bundle: kept ExactVacuumAtlas.EinsteinMaxwell.ES5.KerrSchild.VII18.Coeffs, ExactVacuumAtlas.EinsteinMaxwell.ES5.KerrSchild.VII18.Geo, ExactVacuumAtlas.EinsteinMaxwell.ES5.KerrSchild.VII18.Params, ExactVacuumAtlas.EinsteinMaxwell.ES5.KerrSchild.VII18.maxwellResidual
import Mathlib
import Definitions.Def_Atlas_EinsteinMaxwell_ES5_KerrSchild_PaperGauge

/-!
# VII18 — independent N/P/S monic-quadratic rational class: actual EM compatibility

Publication scope: the following retained header describes the original full VII18 module.
This Atlas VIII extracted definition bundle contains only the listed parameter records and
`maxwellResidual`, not the four-residual proofs mentioned in that historical context.
Atlas VIII claims only its separately linked Maxwell and corrected-angular cubic bridges.

Trial class (`R` = squared radial variable):
`N = R²+n1R+n0`, `P = R²+p1R+p0`, `S = R²+s1R+s0`, `f = N/P`, `m = R·N/S`, `a = k/R`.
`Geo` holds the seven geometric parameters; `Params` adds the actual conservation constants `Q`, `J`.
All identities are proved on the accepted `paperFResidual`, `paperMResidual`, the `PaperBVP` Eq. 24c
clause and `paperConstraintResidual`; `scripts/vii18/*.py` only prepared candidate text.
-/

namespace ExactVacuumAtlas.EinsteinMaxwell.ES5.KerrSchild.VII18

open ExactVacuumAtlas ExactVacuumAtlas.EinsteinMaxwell ExactVacuumAtlas.EinsteinMaxwell.D
open ExactVacuumAtlas.EinsteinMaxwell.ES5
open ExactVacuumAtlas.EinsteinMaxwell.ES5.KerrSchild.Radial
open Filter
open scoped Topology
open Polynomial

/-- The seven geometric parameters of the trial class. -/
structure Geo where
  n1 : ℝ
  n0 : ℝ
  p1 : ℝ
  p0 : ℝ
  s1 : ℝ
  s0 : ℝ
  k : ℝ

/-- Nine free real parameters: geometry plus the actual conservation constants `Q`, `J`. -/
structure Params extends Geo where
  Q : ℝ
  J : ℝ

/-! ## Cleared-numerator building blocks

`Wn` is the numerator of `f'`, `Un` that of `m'`; `Gn` is `(m/f²)·f'`, `Hn` is `(N/m)·m'` and
`MaFn` is `m·a'`. Each is a rational function of `R` whose denominator is a product of the trial
polynomials, so the four residuals clear completely. -/

/-! ## Genuine derivatives of the trial functions and building blocks -/

/-! ## The 35 cleared-numerator coefficients (orders fixed; integer coefficients) -/

/-! ## Composite derivative identities (eventual-equality transfer) -/

/-! ## The angular Maxwell residual (PaperBVP Eq. 24c, left minus right) -/

/-- Eq. 24c written as left minus right. -/
noncomputable def maxwellResidual (f m N a : ℝ → ℝ) (Q J : ℝ) (r : ℝ) : ℝ :=
  m r * deriv (fun s => m s * deriv a s) r - f r * a r
    - 2 * Q * f r * m r ^ 2 / N r ^ 2 * (J + 2 * Q * a r)

/-! ## Cleared identities for the four actual residuals -/

/-! ## Cleared identities for the four actual residuals -/

/-! ## The real coefficient vector and the far-tail threshold -/

/-- The 35 coefficients of the four cleared numerators, in the fixed order
`F0..F8`, `M0..M8`, `A0..A5`, `C0..C10`. -/
structure Coeffs where
  f0 : ℝ
  f1 : ℝ
  f2 : ℝ
  f3 : ℝ
  f4 : ℝ
  f5 : ℝ
  f6 : ℝ
  f7 : ℝ
  f8 : ℝ
  m0 : ℝ
  m1 : ℝ
  m2 : ℝ
  m3 : ℝ
  m4 : ℝ
  m5 : ℝ
  m6 : ℝ
  m7 : ℝ
  m8 : ℝ
  a0 : ℝ
  a1 : ℝ
  a2 : ℝ
  a3 : ℝ
  a4 : ℝ
  a5 : ℝ
  c0 : ℝ
  c1 : ℝ
  c2 : ℝ
  c3 : ℝ
  c4 : ℝ
  c5 : ℝ
  c6 : ℝ
  c7 : ℝ
  c8 : ℝ
  c9 : ℝ
  c10 : ℝ

/-! ## Polynomial packages of the four numerators -/

/-! ## Output A: tail vanishing of the four residuals ⇔ all 35 coefficients vanish -/

/-! ## D1: the coefficient system forces `Q·J = 0`

`reduced_relations` derives, from the real coefficient equations alone, the relations used in
the elimination. They are consequences, never hypotheses of `D1`. -/

/-! ## D2–D4: wiring the real A1/D1 to the actual BVP and EM certificate -/

end ExactVacuumAtlas.EinsteinMaxwell.ES5.KerrSchild.VII18
Source
Exact Spacetime Atlas VIII research notes, frozen source 323deba9a80475cfd477eb35bd415aa9d2dc18ff, Atlas/EinsteinMaxwell/ES5/KerrSchild/VII18RationalClass.lean; SHA-256 2d826ad75f7c5786c4bc082795add0a97fede8d2aca5771d582446a1b8f42176. Background equations: Froeb et al., EPJC 82 (2022) 215, https://arxiv.org/abs/2112.13266. Cubic-response sign/tail bounds are the present formalization; no literature priority claimed.
Human review
  • Endorsed by Shuze Chen · Nov 12, 2026

    Confirmed by the moderator at approval.

  • Endorsed by He Wang · Nov 12, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me