Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

THDM: four-vector notation (K~,ξ~,E~,g~)(\tilde K,\tilde\xi,\tilde E,\tilde g)(K~,ξ~​,E~,g~​) and stationary points

Definition
THDM_stationary

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

analysislinear-algebramathematical-physics

Four-vector notation for the THDM potential and the notion of a stationary point, following Section 5 of arXiv:hep-ph/0605184.

Writing K~=(K0,K)\tilde K=(K_0,K)K~=(K0​,K), ξ~=(ξ0,ξ)\tilde\xi=(\xi_0,\xi)ξ~​=(ξ0​,ξ) and E~=(η00ηTηE)\tilde E=\begin{pmatrix}\eta_{00}&\eta^{\mathsf T}\\ \eta&E\end{pmatrix}E~=(η00​η​ηTE​) (5.1), the potential becomes V=K~Tξ~+K~TE~K~V=\tilde K^{\mathsf T}\tilde\xi+\tilde K^{\mathsf T}\tilde E\tilde KV=K~Tξ~​+K~TE~K~ (5.2) on the domain K~Tg~K~≥0\tilde K^{\mathsf T}\tilde g\tilde K\ge0K~Tg~​K~≥0, K0≥0K_0\ge0K0​≥0 (5.3), where g~=diag(1,−1,−1,−1)\tilde g=\mathrm{diag}(1,-1,-1,-1)g~​=diag(1,−1,−1,−1) (5.4). Stationarity is the disjunction of the three situations distinguished in the paper: the trivial configuration K~=0\tilde K=0K~=0; an interior point with K0>0K_0>0K0​>0 and K~Tg~K~>0\tilde K^{\mathsf T}\tilde g\tilde K>0K~Tg~​K~>0 solving E~K~=−12ξ~\tilde E\tilde K=-\tfrac12\tilde\xiE~K~=−21​ξ~​ (5.5); and a boundary point with K0>0K_0>0K0​>0 and K~Tg~K~=0\tilde K^{\mathsf T}\tilde g\tilde K=0K~Tg~​K~=0 solving (E~−ug~)K~=−12ξ~(\tilde E-u\tilde g)\tilde K=-\tfrac12\tilde\xi(E~−ug~​)K~=−21​ξ~​ for some Lagrange multiplier uuu (5.10). The candidate solutions K~(u)=−12(E~−ug~)−1ξ~\tilde K(u)=-\tfrac12(\tilde E-u\tilde g)^{-1}\tilde\xiK~(u)=−21​(E~−ug~​)−1ξ~​ (5.11) and the functions f~\tilde ff~​ (5.16) and f~′\tilde f'f~​′ (5.17) are recorded as well.

Definition code
import Definitions.Def_THDM_potential

/-!
# Four-vector notation and stationary points of the THDM potential

Notions from Section 5 of arXiv:hep-ph/0605184.
-/

open scoped BigOperators
open Matrix

namespace THDM

/-- Index type of the Minkowski-type four-vectors `K̃ = (K₀, K)`: the component
`Sum.inl ()` is `K₀`, the components `Sum.inr a` are `K₁, K₂, K₃`. -/
abbrev Idx := Unit ⊕ Fin 3

/-- Scalar product of two four-component vectors (no metric). -/
def dot4 (x y : Idx → ℝ) : ℝ := ∑ i, x i * y i

/-- `ξ̃ = (ξ₀, ξ)`, see (5.1). -/
def xiT (xi0 : ℝ) (xi : Fin 3 → ℝ) : Idx → ℝ := Sum.elim (fun _ => xi0) xi

/-- `Ẽ = ((η₀₀, ηᵀ), (η, E))`, see (5.1). -/
def ET (eta00 : ℝ) (eta : Fin 3 → ℝ) (E : Matrix (Fin 3) (Fin 3) ℝ) : Matrix Idx Idx ℝ :=
  Matrix.fromBlocks (Matrix.of fun _ _ => eta00) (Matrix.of fun _ a => eta a)
    (Matrix.of fun a _ => eta a) E

/-- The metric `g̃ = diag(1, -1, -1, -1)`, see (5.4). -/
def gT : Matrix Idx Idx ℝ := Matrix.fromBlocks 1 0 0 (-1)

/-- The Minkowski square `K̃ᵀ g̃ K̃ = K₀² - |K|²`. -/
def mink (x : Idx → ℝ) : ℝ := dot4 x (gT *ᵥ x)

/-- The `K₀` component of a four-vector. -/
def comp0 (x : Idx → ℝ) : ℝ := x (Sum.inl ())

/-- The potential in four-vector notation, `V = K̃ᵀ ξ̃ + K̃ᵀ Ẽ K̃`, see (5.2). -/
def VT (xi0 : ℝ) (xi : Fin 3 → ℝ) (eta00 : ℝ) (eta : Fin 3 → ℝ)
    (E : Matrix (Fin 3) (Fin 3) ℝ) (x : Idx → ℝ) : ℝ :=
  dot4 x (xiT xi0 xi) + dot4 x (ET eta00 eta E *ᵥ x)

/-- A point of the physical domain (5.3): `K̃ᵀ g̃ K̃ ≥ 0` and `K₀ ≥ 0`. -/
def inDomain (x : Idx → ℝ) : Prop := 0 ≤ mink x ∧ 0 ≤ comp0 x

/-- `K̃(u) = -½ (Ẽ - u g̃)⁻¹ ξ̃`, see (5.11).  Only meaningful for `u` with
`det (Ẽ - u g̃) ≠ 0`; otherwise the Mathlib inverse returns the zero matrix. -/
noncomputable def KT (xi0 : ℝ) (xi : Fin 3 → ℝ) (eta00 : ℝ) (eta : Fin 3 → ℝ)
    (E : Matrix (Fin 3) (Fin 3) ℝ) (u : ℝ) : Idx → ℝ :=
  (-(1 / 2 : ℝ)) • ((ET eta00 eta E - u • gT)⁻¹ *ᵥ xiT xi0 xi)

/-- `u` is a regular value for the four-dimensional problem: `det (Ẽ - u g̃) ≠ 0`. -/
def RegT (eta00 : ℝ) (eta : Fin 3 → ℝ) (E : Matrix (Fin 3) (Fin 3) ℝ) (u : ℝ) : Prop :=
  IsUnit (ET eta00 eta E - u • gT).det

/-- `f̃(u) = -¼ ξ̃ᵀ (Ẽ - u g̃)⁻¹ ξ̃`, see (5.16). -/
noncomputable def fT (xi0 : ℝ) (xi : Fin 3 → ℝ) (eta00 : ℝ) (eta : Fin 3 → ℝ)
    (E : Matrix (Fin 3) (Fin 3) ℝ) (u : ℝ) : ℝ :=
  -(1 / 4 : ℝ) * dot4 (xiT xi0 xi) ((ET eta00 eta E - u • gT)⁻¹ *ᵥ xiT xi0 xi)

/-- `f̃'(u) = -¼ ξ̃ᵀ (Ẽ - u g̃)⁻¹ g̃ (Ẽ - u g̃)⁻¹ ξ̃`, see (5.17). -/
noncomputable def fTPrime (xi0 : ℝ) (xi : Fin 3 → ℝ) (eta00 : ℝ) (eta : Fin 3 → ℝ)
    (E : Matrix (Fin 3) (Fin 3) ℝ) (u : ℝ) : ℝ :=
  -(1 / 4 : ℝ) *
    dot4 (xiT xi0 xi)
      (((ET eta00 eta E - u • gT)⁻¹ * gT * (ET eta00 eta E - u • gT)⁻¹) *ᵥ xiT xi0 xi)

/-- `K̃` is a stationary point of the potential on its domain: either the trivial
configuration `K̃ = 0`, or an interior point `K₀ > 0`, `K̃ᵀ g̃ K̃ > 0` solving
`Ẽ K̃ = -½ ξ̃` (5.5), or a boundary point `K₀ > 0`, `K̃ᵀ g̃ K̃ = 0` solving
`(Ẽ - u g̃) K̃ = -½ ξ̃` for some Lagrange multiplier `u` (5.10). -/
def IsStatPoint (xi0 : ℝ) (xi : Fin 3 → ℝ) (eta00 : ℝ) (eta : Fin 3 → ℝ)
    (E : Matrix (Fin 3) (Fin 3) ℝ) (x : Idx → ℝ) : Prop :=
  x = 0 ∨
  (0 < comp0 x ∧ 0 < mink x ∧ ET eta00 eta E *ᵥ x = (-(1 / 2 : ℝ)) • xiT xi0 xi) ∨
  (0 < comp0 x ∧ mink x = 0 ∧
    ∃ u : ℝ, (ET eta00 eta E - u • gT) *ᵥ x = (-(1 / 2 : ℝ)) • xiT xi0 xi)

end THDM
Source
M. Maniatis, A. von Manteuffel, O. Nachtmann, F. Nagel, 'Stability and Symmetry Breaking in the General Two-Higgs-Doublet Model', Eur. Phys. J. C 48 (2006) 805-823, arXiv:hep-ph/0605184v3, https://arxiv.org/abs/hep-ph/0605184, Sect. 5 (eqs. 5.1-5.5, 5.10, 5.11, 5.16, 5.17)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) - same agent that drafted the statements; non-blind

Provenance note - this read-back is not independent. It was written by the same agent that drafted the Lean statements of this proposal, at the explicit instruction of the proposal owner, and not by a separate blind auditor. The writer knew what the code was intended to say, so nothing below is independent testimony; it is a self-declaration by the author of the statement. Please audit the Lean code directly rather than relying on this text.

This bundle introduces notation only; it asserts nothing.

Index type. Four-component vectors are functions on a four-element index set whose first element is distinguished; that first component is written x0x_0x0​ below and read off by the operation comp0\mathrm{comp0}comp0, and the remaining three components are indexed by {0,1,2}\{0,1,2\}{0,1,2}. For two such vectors, dot4(x,y)=∑ixiyi\mathrm{dot4}(x,y)=\sum_i x_iy_idot4(x,y)=∑i​xi​yi​ is the plain Euclidean sum over all four components, with no metric signs.

The objects. ξ~=(ξ0,ξ1,ξ2,ξ3)\tilde\xi=(\xi_0,\xi_1,\xi_2,\xi_3)ξ~​=(ξ0​,ξ1​,ξ2​,ξ3​). E~\tilde EE~ is the block matrix (η00ηTηE)\begin{pmatrix}\eta_{00}&\eta^{\mathsf T}\\ \eta&E\end{pmatrix}(η00​η​ηTE​), where the (0,0)(0,0)(0,0) block is the constant η00\eta_{00}η00​, the first row and the first column are both η\etaη, and the lower right block is EEE; symmetry of E~\tilde EE~ therefore holds iff EEE is symmetric, which is not assumed here. g~\tilde gg~​ is the block matrix with 111 in the (0,0)(0,0)(0,0) entry, −I3-I_3−I3​ in the lower right block and zeros elsewhere, i.e. diag(1,−1,−1,−1)\mathrm{diag}(1,-1,-1,-1)diag(1,−1,−1,−1).

mink(x)=dot4(x,g~x)=x02−∑axa2\mathrm{mink}(x)=\mathrm{dot4}(x,\tilde gx)=x_0^2-\sum_{a}x_a^2mink(x)=dot4(x,g~​x)=x02​−∑a​xa2​. VT(x)=dot4(x,ξ~)+dot4(x,E~x)V_T(x)=\mathrm{dot4}(x,\tilde\xi)+\mathrm{dot4}(x,\tilde Ex)VT​(x)=dot4(x,ξ~​)+dot4(x,E~x), defined for every four-vector xxx with no domain restriction. inDomain(x)\mathrm{inDomain}(x)inDomain(x) says mink(x)≥0\mathrm{mink}(x)\ge0mink(x)≥0 and x0≥0x_0\ge0x0​≥0, both non-strict.

Resolvent objects. RegT(u)\mathrm{RegT}(u)RegT(u) says det⁡(E~−ug~)≠0\det(\tilde E-u\tilde g)\neq0det(E~−ug~​)=0. K~(u)=−12(E~−ug~)−1ξ~\tilde K(u)=-\tfrac12(\tilde E-u\tilde g)^{-1}\tilde\xiK~(u)=−21​(E~−ug~​)−1ξ~​, f~(u)=−14 ξ~T(E~−ug~)−1ξ~\tilde f(u)=-\tfrac14\,\tilde\xi^{\mathsf T}(\tilde E-u\tilde g)^{-1}\tilde\xif~​(u)=−41​ξ~​T(E~−ug~​)−1ξ~​ and f~′(u)=−14 ξ~T(E~−ug~)−1g~(E~−ug~)−1ξ~\tilde f'(u)=-\tfrac14\,\tilde\xi^{\mathsf T}(\tilde E-u\tilde g)^{-1}\tilde g(\tilde E-u\tilde g)^{-1}\tilde\xif~​′(u)=−41​ξ~​T(E~−ug~​)−1g~​(E~−ug~​)−1ξ~​. As elsewhere, the Lean inverse of a singular matrix is the zero matrix, so at a non-regular uuu these evaluate to 000, 000 and 000 respectively rather than being undefined; and f~′\tilde f'f~​′ is a defined expression, not a computed derivative.

Stationarity. IsStatPoint(x)\mathrm{IsStatPoint}(x)IsStatPoint(x) is the disjunction of exactly three alternatives:

  1. x=0x=0x=0 (the zero four-vector);
  2. x0>0x_0>0x0​>0, mink(x)>0\mathrm{mink}(x)>0mink(x)>0, and E~x=−12ξ~\tilde Ex=-\tfrac12\tilde\xiE~x=−21​ξ~​;
  3. x0>0x_0>0x0​>0, mink(x)=0\mathrm{mink}(x)=0mink(x)=0, and there exists a real uuu with (E~−ug~)x=−12ξ~(\tilde E-u\tilde g)x=-\tfrac12\tilde\xi(E~−ug~​)x=−21​ξ~​.

This is a definition of the phrase 'stationary point' by the three first-order conditions, not a derivative computation: no gradient of VTV_TVT​ appears, and nothing in the file connects these equations to the vanishing of a derivative.

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