Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Reflection Positivity and Conformal Symmetry

Definition
QAlgorithms_Papers_Independent_Intake100_P17

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of Reflection Positivity and Conformal Symmetry (arXiv:1206.2039) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • ComplexNonneg: Nonnegative complex numbers, with reality stated explicitly (Definition 1.5, p. 8).
  • ReflectionAction: A unitary action of the symmetric group, written as a G-action and a compatible unitary involution. No continuity is imposed in §1.1 (p. 7).
  • ThetaPositive: Theta-positivity is positivity on every vector, without normalization (Definition 1.2, p. 7). The source's first-linear inner product is translated by swapping arguments.
  • orbitSpan: The closed linear span of the S-orbit of a subspace (Definition 1.9, p. 10).
  • OSCompletion: A realization of the completed semidefinite quotient of P (Definition 1.2, p. 7). The dense linear map and its prescribed inner products characterize exactly the quotient by the nullspace and its Hilbert completion, up to a unique unitary fixing the image. This is output data in Lemma 1.4, never an assumed induced representation.
  • compressionSet: The compression set is computed from the given action and domain (Example 1.7(b), p. 9).
  • ReflectionPositiveReal: Reflection positivity for (R, -id, (0,infinity)) in the scalar case (Definition 1.8, pp. 9, 17). No normalization at zero is imposed.
  • RealVector: Euclidean vector group with the source's n coordinates (Notation, pp. 5-6).
  • spatialReflection: The sharp involution keeps time and negates spatial coordinates (p. 36).
  • HalfSpace: The open half-space excludes the origin and requires a positive dimension (p. 36).
  • halfSpaceKernel: The semigroup covariance k(x+y-sharp), with no inversion at a singular point (p. 36).
  • OpenBall: The open ball, including its center (Proposition 6.2, p. 36).
  • ballKernel: The ball kernel is defined directly at zero; real powers use a positive base (p. 36).
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Next46_P32

noncomputable section

open scoped BigOperators Topology
open MeasureTheory

namespace QAlgorithms.Papers.Independent.Intake100.P17

open QAlgorithms.Papers.Independent.Next46.P32 (PositiveKernel)

/-- Nonnegative complex numbers, with reality stated explicitly (Definition 1.5, p. 8). -/
def ComplexNonneg (z : ℂ) : Prop := z.im = 0 ∧ 0 ≤ z.re

-- Reuse the pinned finite-support Gram-form predicate; no local copy is declared.
example {X : Type} : PositiveKernel (fun (_ _ : X) => (0 : ℂ)) := by
  intro s z
  simp

/-- A unitary action of the symmetric group, written as a G-action and a compatible
unitary involution. No continuity is imposed in §1.1 (p. 7). -/
structure ReflectionAction (G : Type*) [Group G] (tau : G ≃* G)
    (E : Type*) [NormedAddCommGroup E] [InnerProductSpace ℂ E] where
  pi : G → E ≃ₗᵢ[ℂ] E
  one_apply : ∀ v, pi 1 v = v
  mul_apply : ∀ g h v, pi (g * h) v = pi g (pi h v)
  theta : E ≃ₗᵢ[ℂ] E
  theta_involutive : Function.Involutive theta
  covariance : ∀ g v, theta (pi g (theta v)) = pi (tau g) v

/-- Theta-positivity is positivity on every vector, without normalization (Definition 1.2, p. 7).
The source's first-linear inner product is translated by swapping arguments. -/
def ThetaPositive {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E]
    (theta : E ≃ₗᵢ[ℂ] E) (P : Submodule ℂ E) : Prop :=
  ∀ v ∈ P, ComplexNonneg (inner ℂ v (theta v))

example {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E]
    (theta : E ≃ₗᵢ[ℂ] E) : ThetaPositive theta ⊥ := by
  intro v hv
  have hv0 : v = 0 := by simpa using hv
  subst v
  simp [ComplexNonneg]

/-- The closed linear span of the S-orbit of a subspace (Definition 1.9, p. 10). -/
def orbitSpan {G E : Type*} [Group G] [NormedAddCommGroup E] [InnerProductSpace ℂ E]
    {tau : G ≃* G} (R : ReflectionAction G tau E) (S : Set G)
    (F : Submodule ℂ E) : Submodule ℂ E :=
  (Submodule.span ℂ {v | ∃ s ∈ S, ∃ w ∈ F, v = R.pi s w}).topologicalClosure

example {G E : Type*} [Group G] [NormedAddCommGroup E] [InnerProductSpace ℂ E]
    {tau : G ≃* G} (R : ReflectionAction G tau E) (F : Submodule ℂ E) :
    orbitSpan R ∅ F = ⊥ := by
  simp [orbitSpan]

/-- A realization of the completed semidefinite quotient of P (Definition 1.2, p. 7).
The dense linear map and its prescribed inner products characterize exactly the quotient
by the nullspace and its Hilbert completion, up to a unique unitary fixing the image.
This is output data in Lemma 1.4, never an assumed induced representation. -/
structure OSCompletion {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E]
    (P : Submodule ℂ E) (theta : E ≃ₗᵢ[ℂ] E) where
  Carrier : Type
  [normed : NormedAddCommGroup Carrier]
  [innerSpace : InnerProductSpace ℂ Carrier]
  [complete : CompleteSpace Carrier]
  quotientMap : P →ₗ[ℂ] Carrier
  dense : DenseRange quotientMap
  inner_quotient : ∀ v w, inner ℂ (quotientMap v) (quotientMap w) =
    inner ℂ (v : E) (theta (w : E))

attribute [instance] OSCompletion.normed OSCompletion.innerSpace OSCompletion.complete

example {E : Type} [NormedAddCommGroup E] [InnerProductSpace ℂ E]
    (P : Submodule ℂ E) [CompleteSpace P] :
    Nonempty (OSCompletion P (LinearIsometryEquiv.refl ℂ E)) := by
  exact ⟨{
    Carrier := P
    quotientMap := LinearMap.id
    dense := fun x => subset_closure ⟨x, rfl⟩
    inner_quotient := fun _ _ => rfl
  }⟩

/-- The compression set is computed from the given action and domain (Example 1.7(b), p. 9). -/
def compressionSet {G X : Type*} [Group G] [MulAction G X] (D : Set X) : Set G :=
  {g | ∀ x ∈ D, g • x ∈ D}

example {G X : Type*} [Group G] [MulAction G X] :
    compressionSet (G := G) (∅ : Set X) = Set.univ := by
  ext g
  simp [compressionSet]

example {G E : Type*} [Group G] [NormedAddCommGroup E] [InnerProductSpace ℂ E]
    (tau : G ≃* G) : Nonempty (ReflectionAction G tau E) := by
  exact ⟨{
    pi := fun _ => LinearIsometryEquiv.refl ℂ E
    one_apply := fun _ => rfl
    mul_apply := fun _ _ _ => rfl
    theta := LinearIsometryEquiv.refl ℂ E
    theta_involutive := fun _ => rfl
    covariance := fun _ _ => rfl
  }⟩

/-- Reflection positivity for (R, -id, (0,infinity)) in the scalar case (Definition 1.8,
pp. 9, 17). No normalization at zero is imposed. -/
def ReflectionPositiveReal (phi : ℝ → ℂ) : Prop :=
  PositiveKernel (fun (x y : ℝ) => phi (x - y)) ∧
  (∀ x, phi (-x) = phi x) ∧
  PositiveKernel (fun (x y : {t : ℝ // 0 < t}) => phi (x.val + y.val))

example : ReflectionPositiveReal (fun _ => (0 : ℂ)) := by
  refine ⟨?_, ?_, ?_⟩
  · intro s z; simp
  · intro x; rfl
  · intro s z; simp

/-- Euclidean vector group with the source's n coordinates (Notation, pp. 5-6). -/
abbrev RealVector (n : ℕ) := EuclideanSpace ℝ (Fin n)

/-- The sharp involution keeps time and negates spatial coordinates (p. 36). -/
def spatialReflection {n : ℕ} (x : RealVector n) : RealVector n :=
  WithLp.toLp 2 (fun i => if i.val = 0 then x i else -x i)

example {n : ℕ} (x : RealVector n) : spatialReflection (spatialReflection x) = x := by
  ext i
  by_cases h : i.val = 0 <;> simp [spatialReflection, h]

/-- The open half-space excludes the origin and requires a positive dimension (p. 36). -/
def HalfSpace (n : ℕ) (hn : 0 < n) := {x : RealVector n // 0 < x ⟨0, hn⟩}

/-- The semigroup covariance k(x+y-sharp), with no inversion at a singular point (p. 36). -/
def halfSpaceKernel (n : ℕ) (hn : 0 < n) (s : ℝ) (x y : HalfSpace n hn) : ℂ :=
  ((‖x.val + spatialReflection y.val‖ ^ (-s) : ℝ) : ℂ)

example (n : ℕ) (hn : 0 < n) (x y : HalfSpace n hn) :
    halfSpaceKernel n hn 0 x y = 1 := by
  simp [halfSpaceKernel]

example : Nonempty (HalfSpace 1 (by decide)) := by
  exact ⟨⟨WithLp.toLp 2 (fun _ => 1), by norm_num⟩⟩

/-- The open ball, including its center (Proposition 6.2, p. 36). -/
def OpenBall (n : ℕ) := {x : RealVector n // ‖x‖ < 1}

/-- The ball kernel is defined directly at zero; real powers use a positive base (p. 36). -/
def ballKernel (n : ℕ) (s : ℝ) (x y : OpenBall n) : ℂ :=
  (((1 - 2 * inner ℝ x.val y.val + ‖x.val‖ ^ 2 * ‖y.val‖ ^ 2) ^ (-s / 2) : ℝ) : ℂ)

example (n : ℕ) (s : ℝ) :
    ballKernel n s ⟨0, by simp⟩ ⟨0, by simp⟩ = 1 := by
  simp [ballKernel]

end QAlgorithms.Papers.Independent.Intake100.P17
Source
Reflection Positivity and Conformal Symmetry, arXiv:1206.2039v2, https://arxiv.org/abs/1206.2039v2
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

QAlgorithms.Papers.Independent.Intake100.P17.ComplexNonneg

For a complex number zzz, this predicate means that Im⁡z=0\operatorname{Im}z=0Imz=0 and 0≤Re⁡z0\leq\operatorname{Re}z0≤Rez. Thus it includes z=0z=0z=0.

QAlgorithms.Papers.Independent.Intake100.P17.HalfSpace

For every natural number nnn together with a hypothesis 0<n0<n0<n, HalfSpace⁡(n)\operatorname{HalfSpace}(n)HalfSpace(n) is the subtype of Euclidean vectors x∈Rnx\in\mathbb R^nx∈Rn whose coordinate at index 000 is strictly positive:

HalfSpace⁡(n)={x∈Rn:x0>0}.\operatorname{HalfSpace}(n)=\{x\in\mathbb R^n:x_0>0\}.HalfSpace(n)={x∈Rn:x0​>0}.

The positivity hypothesis on nnn ensures that coordinate 000 exists; this definition requires that hypothesis and therefore has no instance with n=0n=0n=0.

QAlgorithms.Papers.Independent.Intake100.P17.OSCompletion

Given a complex inner product space EEE with its compatible normed additive group structure, a complex linear subspace P⊆EP\subseteq EP⊆E, and a complex linear isometric bijection θ:E→E\theta:E\to Eθ:E→E, an object of this structure consists of a type HHH carrying a complete complex inner product space structure and a complex linear map q:P→Hq:P\to Hq:P→H whose range is dense, such that ⟨q(v),q(w)⟩H=⟨v,θw⟩E\langle q(v),q(w)\rangle_H=\langle v,\theta w\rangle_E⟨q(v),q(w)⟩H​=⟨v,θw⟩E​ for every v,w∈Pv,w\in Pv,w∈P, with both inner products conjugate-linear in the first argument. The map qqq is not required to be surjective or injective, and the structure declaration itself does not assert that such an object exists for every PPP and θ\thetaθ.

QAlgorithms.Papers.Independent.Intake100.P17.OpenBall

For every natural number nnn, OpenBall⁡(n)\operatorname{OpenBall}(n)OpenBall(n) is the subtype

Bn={x∈Rn:∥x∥<1},B_n=\{x\in\mathbb R^n:\|x\|<1\},Bn​={x∈Rn:∥x∥<1},

where Rn\mathbb R^nRn has its Euclidean norm and coordinates indexed by 0,…,n−10,\ldots,n-10,…,n−1. The boundary ∥x∥=1\|x\|=1∥x∥=1 is excluded. For n=0n=0n=0, this ball consists of the unique empty vector, whose norm is zero.

QAlgorithms.Papers.Independent.Intake100.P17.RealVector

For every natural number nnn, RealVector⁡(n)\operatorname{RealVector}(n)RealVector(n) denotes the Euclidean real vector space of functions {0,…,n−1}→R\{0,\ldots,n-1\}\to\mathbb R{0,…,n−1}→R, with its usual Euclidean inner product and norm. This includes n=0n=0n=0, when the space consists of the unique empty coordinate vector.

QAlgorithms.Papers.Independent.Intake100.P17.ReflectionAction

Given a group GGG, a group automorphism τ:G→G\tau:G\to Gτ:G→G, and a complex inner product space EEE with its compatible normed additive group structure, a reflection action consists of a complex linear isometric bijection π(g):E→E\pi(g):E\to Eπ(g):E→E for every g∈Gg\in Gg∈G, satisfying π(1)v=v\pi(1)v=vπ(1)v=v and π(gh)v=π(g)(π(h)v)\pi(gh)v=\pi(g)(\pi(h)v)π(gh)v=π(g)(π(h)v) for all g,h∈Gg,h\in Gg,h∈G and v∈Ev\in Ev∈E, together with a complex linear isometric bijection θ:E→E\theta:E\to Eθ:E→E satisfying θ(θv)=v\theta(\theta v)=vθ(θv)=v and θ(π(g)(θv))=π(τ(g))v\theta(\pi(g)(\theta v))=\pi(\tau(g))vθ(π(g)(θv))=π(τ(g))v for every g∈Gg\in Gg∈G and v∈Ev\in Ev∈E. The definition does not require EEE to be complete or assume that τ\tauτ is involutive.

QAlgorithms.Papers.Independent.Intake100.P17.ReflectionPositiveReal

For a function ϕ:R→C\phi:\mathbb R\to\mathbb Cϕ:R→C, this predicate is the conjunction of three conditions: for every finite subset A⊆RA\subseteq\mathbb RA⊆R and every function c:R→Cc:\mathbb R\to\mathbb Cc:R→C, the sum ∑x∈A∑y∈Ac(x)‾ϕ(x−y)c(y)\sum_{x\in A}\sum_{y\in A}\overline{c(x)}\phi(x-y)c(y)∑x∈A​∑y∈A​c(x)​ϕ(x−y)c(y) has zero imaginary part and nonnegative real part; ϕ(−x)=ϕ(x)\phi(-x)=\phi(x)ϕ(−x)=ϕ(x) for every x∈Rx\in\mathbb Rx∈R; and for every finite subset B⊆(0,∞)B\subseteq(0,\infty)B⊆(0,∞) and every function d:(0,∞)→Cd:(0,\infty)\to\mathbb Cd:(0,∞)→C, the sum ∑x∈B∑y∈Bd(x)‾ϕ(x+y)d(y)\sum_{x\in B}\sum_{y\in B}\overline{d(x)}\phi(x+y)d(y)∑x∈B​∑y∈B​d(x)​ϕ(x+y)d(y) has zero imaginary part and nonnegative real part. The finite subsets may be empty, the last condition uses strictly positive arguments, and continuity is not included in this definition.

QAlgorithms.Papers.Independent.Intake100.P17.ThetaPositive

For any complex inner product space EEE with its compatible normed additive group structure, any complex linear isometric bijection θ:E→E\theta:E\to Eθ:E→E, and any complex linear subspace P⊆EP\subseteq EP⊆E, this predicate means that every v∈Pv\in Pv∈P satisfies Im⁡⟨v,θv⟩=0\operatorname{Im}\langle v,\theta v\rangle=0Im⟨v,θv⟩=0 and 0≤Re⁡⟨v,θv⟩0\leq\operatorname{Re}\langle v,\theta v\rangle0≤Re⟨v,θv⟩, where the inner product is conjugate-linear in its first argument. No involutivity assumption on θ\thetaθ is part of this predicate. The zero subspace satisfies it.

QAlgorithms.Papers.Independent.Intake100.P17.ballKernel

For every natural number nnn, every real number sss, and every x,yx,yx,y in the open Euclidean unit ball Bn={x∈Rn:∥x∥<1}B_n=\{x\in\mathbb R^n:\|x\|<1\}Bn​={x∈Rn:∥x∥<1}, define the complex-valued kernel by regarding the following real number as complex:

Kn,s(x,y)=(1−2⟨x,y⟩+∥x∥2∥y∥2)−s/2,K_{n,s}(x,y) =\left(1-2\langle x,y\rangle+\|x\|^2\|y\|^2\right)^{-s/2},Kn,s​(x,y)=(1−2⟨x,y⟩+∥x∥2∥y∥2)−s/2,

where ⟨x,y⟩=∑i=0n−1xiyi\langle x,y\rangle=\sum_{i=0}^{n-1}x_i y_i⟨x,y⟩=∑i=0n−1​xi​yi​, and the exponent is a real power. The base is strictly positive on this domain. The definition includes n=0n=0n=0, when the ball has one element and the kernel equals 111 for every sss.

QAlgorithms.Papers.Independent.Intake100.P17.compressionSet

For a group GGG acting on a type XXX and an arbitrary subset D⊆XD\subseteq XD⊆X, this definition gives the set {g∈G:∀x∈D, g⋅x∈D}\{g\in G:\forall x\in D,\ g\cdot x\in D\}{g∈G:∀x∈D, g⋅x∈D}. Thus membership requires that ggg map DDD into DDD, without requiring equality of these sets. If DDD is empty or D=XD=XD=X, the defined set is all of GGG.

QAlgorithms.Papers.Independent.Intake100.P17.halfSpaceKernel

For every natural number n>0n>0n>0, every real number sss, and every x,y∈Rnx,y\in\mathbb R^nx,y∈Rn with x0>0x_0>0x0​>0 and y0>0y_0>0y0​>0, the complex-valued kernel is the following real number regarded as a complex number:

Kn,s(x,y)=∥(x0+y0, x1−y1,…,xn−1−yn−1)∥−s.K_{n,s}(x,y) =\left\|(x_0+y_0,\ x_1-y_1,\ldots,x_{n-1}-y_{n-1})\right\|^{-s}.Kn,s​(x,y)=∥(x0​+y0​, x1​−y1​,…,xn−1​−yn−1​)∥−s.

Here the norm is Euclidean and the exponent is a real power. Its base is strictly positive because x0+y0>0x_0+y_0>0x0​+y0​>0, so the definition includes every real sss without a zero-base case.

QAlgorithms.Papers.Independent.Intake100.P17.orbitSpan

Let GGG be a group, EEE a complex inner product space with its compatible normed additive group structure, and τ\tauτ a group automorphism of GGG. Suppose RRR supplies complex linear isometric bijections π(g):E→E\pi(g):E\to Eπ(g):E→E satisfying π(1)=I\pi(1)=Iπ(1)=I and π(gh)=π(g)π(h)\pi(gh)=\pi(g)\pi(h)π(gh)=π(g)π(h), and an involutive complex linear isometric bijection θ\thetaθ satisfying θπ(g)θ=π(τ(g))\theta\pi(g)\theta=\pi(\tau(g))θπ(g)θ=π(τ(g)). For an arbitrary subset S⊆GS\subseteq GS⊆G and a complex linear subspace F⊆EF\subseteq EF⊆E, the defined subspace is the norm closure of the complex linear span of {π(s)w:s∈S, w∈F}\{\pi(s)w:s\in S,\ w\in F\}{π(s)w:s∈S, w∈F}. In particular, SSS may be empty, in which case this is the zero subspace.

QAlgorithms.Papers.Independent.Intake100.P17.spatialReflection

For every natural number nnn and every x∈Rnx\in\mathbb R^nx∈Rn, with coordinates indexed by 0,…,n−10,\ldots,n-10,…,n−1, the vector spatialReflection⁡(x)\operatorname{spatialReflection}(x)spatialReflection(x) has coordinate x0x_0x0​ at index 000 and coordinate −xi-x_i−xi​ at every other index iii. Thus, for n>0n>0n>0, it is (x0,−x1,…,−xn−1)(x_0,-x_1,\ldots,-x_{n-1})(x0​,−x1​,…,−xn−1​); for n=0n=0n=0, it is the unique empty vector.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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