Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Neutrino oscillation, MSW, Majorana and spin-precession definitions (Giunti–Studenikin 2015)

Definition
GiuntiStudenikin2015_oscillation

by LG · Sep 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

mathematical-physicsneutrino-physics

Shared definitions for the mission, all in the namespace GiuntiStudenikin2015.

  1. Transition probability (Eqs. (2.35)–(2.36)). For an n×nn\times nn×n complex matrix UUU, masses m=(mk)m=(m_k)m=(mk​), distance LLL and energy EEE,
Pℓ→ℓ′(L,E)=∣∑kUℓk‾  e−imk2L/(2E)  Uℓ′k∣2.P_{\ell\to\ell'}(L,E)=\Bigl|\sum_{k}\overline{U_{\ell k}}\;e^{-i m_k^2 L/(2E)}\;U_{\ell' k}\Bigr|^2 .Pℓ→ℓ′​(L,E)=​k∑​Uℓk​​e−imk2​L/(2E)Uℓ′k​​2.
  1. Standard parametrization UD(ϑ12,ϑ13,ϑ23,δ13)U^{\mathrm D}(\vartheta_{12},\vartheta_{13},\vartheta_{23},\delta_{13})UD(ϑ12​,ϑ13​,ϑ23​,δ13​) of Eq. (2.27), with cab=cos⁡ϑabc_{ab}=\cos\vartheta_{ab}cab​=cosϑab​, sab=sin⁡ϑabs_{ab}=\sin\vartheta_{ab}sab​=sinϑab​:
UD=(c12c13s12c13s13e−iδ13−s12c23−c12s23s13eiδ13c12c23−s12s23s13eiδ13s23c13s12s23−c12c23s13eiδ13−c12s23−s12c23s13eiδ13c23c13).U^{\mathrm D}=\begin{pmatrix}c_{12}c_{13}&s_{12}c_{13}&s_{13}e^{-i\delta_{13}}\\-s_{12}c_{23}-c_{12}s_{23}s_{13}e^{i\delta_{13}}&c_{12}c_{23}-s_{12}s_{23}s_{13}e^{i\delta_{13}}&s_{23}c_{13}\\s_{12}s_{23}-c_{12}c_{23}s_{13}e^{i\delta_{13}}&-c_{12}s_{23}-s_{12}c_{23}s_{13}e^{i\delta_{13}}&c_{23}c_{13}\end{pmatrix}.UD=​c12​c13​−s12​c23​−c12​s23​s13​eiδ13​s12​s23​−c12​c23​s13​eiδ13​​s12​c13​c12​c23​−s12​s23​s13​eiδ13​−c12​s23​−s12​c23​s13​eiδ13​​s13​e−iδ13​s23​c13​c23​c13​​​.
  1. Majorana phases DM=diag⁡(1,eiλ21,eiλ31)D^{\mathrm M}=\operatorname{diag}(1,e^{i\lambda_{21}},e^{i\lambda_{31}})DM=diag(1,eiλ21​,eiλ31​), Eq. (2.28).
  2. Two-neutrino mixing matrix (cos⁡ϑsin⁡ϑ−sin⁡ϑcos⁡ϑ)\begin{pmatrix}\cos\vartheta&\sin\vartheta\\-\sin\vartheta&\cos\vartheta\end{pmatrix}(cosϑ−sinϑ​sinϑcosϑ​), Eqs. (2.38), (2.51).
  3. MSW Hamiltonian (Eq. (2.46)) with ACC=2EVCCA_{\rm CC}=2EV_{\rm CC}ACC​=2EVCC​:
H=14E(−Δm2cos⁡2ϑ+2EVCCΔm2sin⁡2ϑΔm2sin⁡2ϑΔm2cos⁡2ϑ−2EVCC).\mathrm H=\frac1{4E}\begin{pmatrix}-\Delta m^2\cos2\vartheta+2EV_{\rm CC}&\Delta m^2\sin2\vartheta\\\Delta m^2\sin2\vartheta&\Delta m^2\cos2\vartheta-2EV_{\rm CC}\end{pmatrix}.H=4E1​(−Δm2cos2ϑ+2EVCC​Δm2sin2ϑ​Δm2sin2ϑΔm2cos2ϑ−2EVCC​​).
  1. Effective squared-mass difference ΔmM2=(Δm2cos⁡2ϑ−2EVCC)2+(Δm2sin⁡2ϑ)2\Delta m^2_{\rm M}=\sqrt{(\Delta m^2\cos2\vartheta-2EV_{\rm CC})^2+(\Delta m^2\sin2\vartheta)^2}ΔmM2​=(Δm2cos2ϑ−2EVCC​)2+(Δm2sin2ϑ)2​, Eq. (2.53).
  2. Effective mixing angle ϑM=12arg⁡((Δm2cos⁡2ϑ−2EVCC)+i Δm2sin⁡2ϑ)\vartheta_{\rm M}=\tfrac12\arg\bigl((\Delta m^2\cos2\vartheta-2EV_{\rm CC})+i\,\Delta m^2\sin2\vartheta\bigr)ϑM​=21​arg((Δm2cos2ϑ−2EVCC​)+iΔm2sin2ϑ), so that ΔmM2cos⁡2ϑM=Δm2cos⁡2ϑ−2EVCC\Delta m^2_{\rm M}\cos2\vartheta_{\rm M}=\Delta m^2\cos2\vartheta-2EV_{\rm CC}ΔmM2​cos2ϑM​=Δm2cos2ϑ−2EVCC​ and ΔmM2sin⁡2ϑM=Δm2sin⁡2ϑ\Delta m^2_{\rm M}\sin2\vartheta_{\rm M}=\Delta m^2\sin2\varthetaΔmM2​sin2ϑM​=Δm2sin2ϑ, i.e. Eq. (2.54) wherever the quotient is defined.
  3. Levi-Civita symbol ϵabc\epsilon^{abc}ϵabc on {1,2,3}\{1,2,3\}{1,2,3} with ϵ123=1\epsilon^{123}=1ϵ123=1 (Eq. (3.71)).
  4. Spin-flavor Hamiltonian (VμBμB0)\begin{pmatrix}V&\mu B\\\mu B&0\end{pmatrix}(VμB​μB0​) (Eqs. (6.23), (6.28)) and energy splitting ΔEM=V2+(2μB)2\Delta E_{\rm M}=\sqrt{V^2+(2\mu B)^2}ΔEM​=V2+(2μB)2​ (Eq. (6.31)).

These objects are shared by every statement of the mission.

Formalization Note Indices are Fin n starting at 000 (so index 000 is the paper's 111). All functions are total: at E=0E=0E=0 the phase mk2L/(2E)m_k^2L/(2E)mk2​L/(2E) is 000 by Lean's convention x/0=0x/0=0x/0=0, and arg⁡0=0\arg 0=0arg0=0.

Definition code
import Mathlib

namespace GiuntiStudenikin2015

open Complex Matrix

/-- Plane-wave flavor transition probability, Eqs. (2.35)–(2.36):
`P(ℓ → ℓ') = |∑ₖ U*_{ℓk} exp(-i mₖ² L / (2E)) U_{ℓ'k}|²`,
for an `n × n` mixing matrix `U` (rows = flavors, columns = massive states),
masses `m k`, source–detector distance `L`, and neutrino energy `E`. -/
noncomputable def oscProb {n : ℕ} (U : Matrix (Fin n) (Fin n) ℂ) (m : Fin n → ℝ)
    (L E : ℝ) (l l' : Fin n) : ℝ :=
  Complex.normSq (∑ k, star (U l k) *
    Complex.exp (-(Complex.I * ((m k ^ 2 * L / (2 * E) : ℝ) : ℂ))) * U l' k)

/-- Standard parametrization of the Dirac mixing matrix `Uᴰ`, Eq. (2.27). -/
noncomputable def diracMixing (θ12 θ13 θ23 δ13 : ℝ) : Matrix (Fin 3) (Fin 3) ℂ :=
  let c12 : ℂ := (Real.cos θ12 : ℂ)
  let s12 : ℂ := (Real.sin θ12 : ℂ)
  let c13 : ℂ := (Real.cos θ13 : ℂ)
  let s13 : ℂ := (Real.sin θ13 : ℂ)
  let c23 : ℂ := (Real.cos θ23 : ℂ)
  let s23 : ℂ := (Real.sin θ23 : ℂ)
  let e : ℂ := Complex.exp (Complex.I * (δ13 : ℂ))
  !![c12 * c13, s12 * c13, s13 * Complex.exp (-(Complex.I * (δ13 : ℂ)));
     -s12 * c23 - c12 * s23 * s13 * e, c12 * c23 - s12 * s23 * s13 * e, s23 * c13;
     s12 * s23 - c12 * c23 * s13 * e, -c12 * s23 - s12 * c23 * s13 * e, c23 * c13]

/-- Diagonal Majorana-phase matrix `Dᴹ = diag(1, e^{iλ₂₁}, e^{iλ₃₁})`, Eq. (2.28). -/
noncomputable def majoranaPhases (lam21 lam31 : ℝ) : Matrix (Fin 3) (Fin 3) ℂ :=
  Matrix.diagonal ![1, Complex.exp (Complex.I * (lam21 : ℂ)),
    Complex.exp (Complex.I * (lam31 : ℂ))]

/-- Two-neutrino mixing matrix, Eq. (2.38) (also the matter mixing matrix of Eq. (2.51)). -/
noncomputable def twoFlavorMixing (θ : ℝ) : Matrix (Fin 2) (Fin 2) ℂ :=
  !![(Real.cos θ : ℂ), (Real.sin θ : ℂ); -(Real.sin θ : ℂ), (Real.cos θ : ℂ)]

/-- Effective two-neutrino (`νₑ`–`νₐ`) Hamiltonian in matter, Eq. (2.46), with
`A_CC = 2 E V_CC`; `dm2` is the vacuum squared-mass difference `Δm²`. -/
noncomputable def mswHamiltonian (dm2 θ E Vcc : ℝ) : Matrix (Fin 2) (Fin 2) ℂ :=
  ((1 / (4 * E) : ℝ) : ℂ) •
    !![((-dm2 * Real.cos (2 * θ) + 2 * E * Vcc : ℝ) : ℂ), ((dm2 * Real.sin (2 * θ) : ℝ) : ℂ);
       ((dm2 * Real.sin (2 * θ) : ℝ) : ℂ), ((dm2 * Real.cos (2 * θ) - 2 * E * Vcc : ℝ) : ℂ)]

/-- Effective squared-mass difference in matter `Δm²_M`, Eq. (2.53). -/
noncomputable def mswDeltaM2 (dm2 θ E Vcc : ℝ) : ℝ :=
  Real.sqrt ((dm2 * Real.cos (2 * θ) - 2 * E * Vcc) ^ 2 + (dm2 * Real.sin (2 * θ)) ^ 2)

/-- Effective mixing angle in matter `ϑ_M`, Eq. (2.54): the angle with
`Δm²_M cos 2ϑ_M = Δm² cos 2ϑ − 2E V_CC` and `Δm²_M sin 2ϑ_M = Δm² sin 2ϑ`
(so `tan 2ϑ_M = tan 2ϑ / (1 − 2E V_CC / (Δm² cos 2ϑ))` whenever defined),
taken as half the argument of the complex number
`(Δm² cos 2ϑ − 2E V_CC) + i Δm² sin 2ϑ`. -/
noncomputable def mswMixingAngle (dm2 θ E Vcc : ℝ) : ℝ :=
  Complex.arg (⟨dm2 * Real.cos (2 * θ) - 2 * E * Vcc, dm2 * Real.sin (2 * θ)⟩ : ℂ) / 2

/-- Totally antisymmetric Levi-Civita symbol `ε^{abc}` on three indices (indices `0,1,2`
stand for the massive states `1,2,3`), with `ε^{012} = 1`; used in Eq. (3.71). -/
def leviCivita3 (a b c : Fin 3) : ℂ :=
  if (a = 0 ∧ b = 1 ∧ c = 2) ∨ (a = 1 ∧ b = 2 ∧ c = 0) ∨ (a = 2 ∧ b = 0 ∧ c = 1) then 1
  else if (a = 0 ∧ b = 2 ∧ c = 1) ∨ (a = 2 ∧ b = 1 ∧ c = 0) ∨ (a = 1 ∧ b = 0 ∧ c = 2) then -1
  else 0

/-- Effective Hamiltonian for the helicity amplitudes `(ψ_L, ψ_R)` of an ultrarelativistic
Dirac neutrino with magnetic moment `μ` in a transverse magnetic field `B_⊥ = B` and matter
potential `V`, Eq. (6.28) (Eq. (6.23) is the case `V = 0`):
`[[V, μB], [μB, 0]]`. -/
noncomputable def spinFlavorHamiltonian (V μ B : ℝ) : Matrix (Fin 2) (Fin 2) ℂ :=
  !![(V : ℂ), ((μ * B : ℝ) : ℂ); ((μ * B : ℝ) : ℂ), 0]

/-- Effective energy splitting in matter `ΔE_M = √(V² + (2μB_⊥)²)`, Eq. (6.31). -/
noncomputable def spinFlavorEnergySplitting (V μ B : ℝ) : ℝ :=
  Real.sqrt (V ^ 2 + (2 * μ * B) ^ 2)

end GiuntiStudenikin2015
Source
C. Giunti and A. Studenikin, *Neutrino electromagnetic interactions: A window to new physics*, Rev. Mod. Phys. 87, 531 (2015), https://doi.org/10.1103/RevModPhys.87.531; Eqs. (2.27), (2.28), (2.35)–(2.36), (2.38), (2.46), (2.53)–(2.54), (3.71), (6.23), (6.28), (6.31)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

NON-BLIND READ-BACK — NOT INDEPENDENT TESTIMONY. This read-back was written by the same agent that drafted the Lean statements of this proposal, with full knowledge of the source paper and of the intended meaning. It was not produced by an independent blind auditor, and no reviewer should treat it as independent confirmation of faithfulness. It is provided at the explicit request of the proposal owner.

The file declares, inside the namespace GiuntiStudenikin2015, the following objects (indices run over {0,…,n−1}\{0,\dots,n-1\}{0,…,n−1}).

  1. oscProb. For a natural number nnn, an n×nn\times nn×n complex matrix UUU, a function mmm from indices to reals, reals L,EL,EL,E and indices ℓ,ℓ′\ell,\ell'ℓ,ℓ′, it returns the real number
∣∑k=0n−1Uℓk‾  exp⁡ ⁣(−i mk2L2E)  Uℓ′k∣2,\Bigl|\sum_{k=0}^{n-1}\overline{U_{\ell k}}\;\exp\!\Bigl(-i\,\frac{m_k^2L}{2E}\Bigr)\;U_{\ell' k}\Bigr|^2,​k=0∑n−1​Uℓk​​exp(−i2Emk2​L​)Uℓ′k​​2,

where the quotient is real division with the convention that division by 000 gives 000 (so for E=0E=0E=0 every exponential equals 111). No unitarity or positivity is built in.

  1. diracMixing (ϑ12,ϑ13,ϑ23,δ13)(\vartheta_{12},\vartheta_{13},\vartheta_{23},\delta_{13})(ϑ12​,ϑ13​,ϑ23​,δ13​) is the 3×33\times33×3 complex matrix with rows (c12c13, s12c13, s13e−iδ13)(c_{12}c_{13},\ s_{12}c_{13},\ s_{13}e^{-i\delta_{13}})(c12​c13​, s12​c13​, s13​e−iδ13​), (−s12c23−c12s23s13eiδ13, c12c23−s12s23s13eiδ13, s23c13)(-s_{12}c_{23}-c_{12}s_{23}s_{13}e^{i\delta_{13}},\ c_{12}c_{23}-s_{12}s_{23}s_{13}e^{i\delta_{13}},\ s_{23}c_{13})(−s12​c23​−c12​s23​s13​eiδ13​, c12​c23​−s12​s23​s13​eiδ13​, s23​c13​), (s12s23−c12c23s13eiδ13, −c12s23−s12c23s13eiδ13, c23c13)(s_{12}s_{23}-c_{12}c_{23}s_{13}e^{i\delta_{13}},\ -c_{12}s_{23}-s_{12}c_{23}s_{13}e^{i\delta_{13}},\ c_{23}c_{13})(s12​s23​−c12​c23​s13​eiδ13​, −c12​s23​−s12​c23​s13​eiδ13​, c23​c13​), where cab=cos⁡ϑabc_{ab}=\cos\vartheta_{ab}cab​=cosϑab​, sab=sin⁡ϑabs_{ab}=\sin\vartheta_{ab}sab​=sinϑab​; all arguments are arbitrary reals.

  2. majoranaPhases (λ21,λ31)(\lambda_{21},\lambda_{31})(λ21​,λ31​) is the diagonal matrix diag⁡(1,eiλ21,eiλ31)\operatorname{diag}(1,e^{i\lambda_{21}},e^{i\lambda_{31}})diag(1,eiλ21​,eiλ31​).

  3. twoFlavorMixing (ϑ)(\vartheta)(ϑ) is the complex matrix (cos⁡ϑsin⁡ϑ−sin⁡ϑcos⁡ϑ)\begin{pmatrix}\cos\vartheta&\sin\vartheta\\-\sin\vartheta&\cos\vartheta\end{pmatrix}(cosϑ−sinϑ​sinϑcosϑ​).

  4. mswHamiltonian (Δm2,ϑ,E,V)(\Delta m^2,\vartheta,E,V)(Δm2,ϑ,E,V) is the complex matrix

14E(−Δm2cos⁡2ϑ+2EVΔm2sin⁡2ϑΔm2sin⁡2ϑΔm2cos⁡2ϑ−2EV)\frac1{4E}\begin{pmatrix}-\Delta m^2\cos2\vartheta+2EV&\Delta m^2\sin2\vartheta\\\Delta m^2\sin2\vartheta&\Delta m^2\cos2\vartheta-2EV\end{pmatrix}4E1​(−Δm2cos2ϑ+2EVΔm2sin2ϑ​Δm2sin2ϑΔm2cos2ϑ−2EV​)

(the prefactor is 000 when E=0E=0E=0).

  1. mswDeltaM2 (Δm2,ϑ,E,V)=(Δm2cos⁡2ϑ−2EV)2+(Δm2sin⁡2ϑ)2 ≥0(\Delta m^2,\vartheta,E,V)=\sqrt{(\Delta m^2\cos2\vartheta-2EV)^2+(\Delta m^2\sin2\vartheta)^2}\ \ge 0(Δm2,ϑ,E,V)=(Δm2cos2ϑ−2EV)2+(Δm2sin2ϑ)2​ ≥0.

  2. mswMixingAngle (Δm2,ϑ,E,V)(\Delta m^2,\vartheta,E,V)(Δm2,ϑ,E,V) is one half of the principal argument (in (−π,π](-\pi,\pi](−π,π], with arg⁡0=0\arg 0=0arg0=0) of the complex number (Δm2cos⁡2ϑ−2EV)+i Δm2sin⁡2ϑ(\Delta m^2\cos2\vartheta-2EV)+i\,\Delta m^2\sin2\vartheta(Δm2cos2ϑ−2EV)+iΔm2sin2ϑ; hence it lies in (−π/2,π/2](-\pi/2,\pi/2](−π/2,π/2].

  3. leviCivita3 (a,b,c)(a,b,c)(a,b,c) on {0,1,2}\{0,1,2\}{0,1,2} is 111 for (0,1,2),(1,2,0),(2,0,1)(0,1,2),(1,2,0),(2,0,1)(0,1,2),(1,2,0),(2,0,1), −1-1−1 for (0,2,1),(2,1,0),(1,0,2)(0,2,1),(2,1,0),(1,0,2)(0,2,1),(2,1,0),(1,0,2) and 000 otherwise.

  4. spinFlavorHamiltonian (V,μ,B)(V,\mu,B)(V,μ,B) is the complex matrix (VμBμB0)\begin{pmatrix}V&\mu B\\\mu B&0\end{pmatrix}(VμB​μB0​), and spinFlavorEnergySplitting (V,μ,B)=V2+(2μB)2(V,\mu,B)=\sqrt{V^2+(2\mu B)^2}(V,μ,B)=V2+(2μB)2​.

Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Oct 8, 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