Gleason's theorem for real Hilbert spaces #
Category: 1-Mathlib (CSD-free; staged for upstream). BACKLOG #58, the A4 reduction of
specs/gleason-feasibility.md: the real-space corollary of the core lemma proved in #57.
★★★ RealProjectionPackage.real_gleason_representation: for N ≥ 3, every assignment p on the
orthogonal projections of ℝᴺ that is nonnegative, normalised and additive on orthogonal pairs is
P ↦ Tr(ρ P) for a unique real density matrix ρ. The complex theorem
(Gleason/Core.lean, #57) does not contain this one: a real inner product space is not a complex
one, and the reduction runs through real 3-spaces rather than completely real planes.
The route #
The real side mirrors the complex layers, which is cheaper than it looks because the Gram section of
Gleason/ProjectionPackage.lean is already generic over RCLike:
rankOneR,RealProjectionPackage,p_sum,frameand A1 (sum_frame_orthonormalBasis: the frame function sums to1over every real orthonormal basis);- A2,
isFrameFunction_restrictR: for an orthonormal familyeinℝᴺthe restrictionx ↦ frame (∑ᵢ xᵢ eᵢ)is a frame function onℝᵏof weightp (∑ᵢ |eᵢ⟩⟨eᵢ|)— the weight is basis independent because the rank-one projections of a transported orthonormal basis sum to the same matrix (sum_rankOneR_combR, the Gram identityE B Bᵀ Eᵀ = E Eᵀ). Fork = 3the core lemma applies: ★exists_isSymm_restrictR; - the degree-2 extension
extOf f v = ‖v‖² f (v/‖v‖), which is the quadratic form of the core lemma's matrix on the whole span of a triple (extOf_combR), hence a quadratic form on every plane (★exists_extOf_plane, extending the plane's orthonormal pair to a triple withexists_orthonormal_tripleR), hence ★★extOf_parallelogramR— the parallelogram law onℝᴺ, by Gram–Schmidt on any two vectors; - the real Jordan–von Neumann engine (
IsQuadraticLikeR,polarR,polarMatrixR, ★IsQuadraticLikeR.eq_dotProduct), giving ★★exists_isSymm_sphere: A4, the frame function is the quadratic form of a symmetric matrix on the unit sphere; - the descent:
posSemidef_of_sphere_nonnegR,trace_eq_sum_sphereR,eq_of_sphere_quadForm_eqR, packaged as ★quadraticForm_on_sphere_to_densityR, and the spectral step ★p_eq_trace(eq_sum_eigenvalues_smul_rankOneR,eigenvalues_eq_zero_or_oneR), giving ★★existsUnique_density_of_frame_quadraticRand the theorem.
Done differently from the plan's sketch. gleason-feasibility.md §2 priced A4 as "any u, u', v
lie in a 3-space, so the polarisation is bilinear without any Cauchy equation". The proof here
does not take that route: it mirrors the complex assembly, where the Cauchy step
(additive_bounded_linear, whose local bound is 0 ≤ q ≤ ‖·‖²) is already proved and generic, and
where only pairs — not triples — need to be placed inside an orthonormal triple. Reusing the
engine is shorter than a locality argument for every instance of bilinearity, and the three-vector
observation is not needed at all.
Honest scope #
⚠️ The statement is for a projection package, as in the complex theorem. Gleason's own
formulation is for a bare frame function; that version landed 2026-09-28 in Gleason/RealFrame.lean
(BACKLOG #87), where the weight of a 3-space is shown basis-independent without a p on
projections, by completing the triple with a fixed family of the orthogonal complement. The middle
layer of this file is stated for any function quadratic on triples
(exists_isSymm_sphere_of_quad) precisely so that both consumers share it.
⚠️ Finite dimensions only, N ≥ 3, as in #57. N = 2 is false for Gleason's theorem (the
counterexamples are the classic ones) and nothing here suggests otherwise.
⚠️ The real layer duplicates the shape of the complex one rather than generalising it over
RCLike: the complex ProjectionPackage and its twelve modules are pinned and consumed by LF2,
and genericising them would ripple through the whole directory. The genuinely shared parts (the
Gram section, additive_bounded_linear) are used, not copied.
Source #
A. Gleason, Measures on the closed subspaces of a Hilbert space, J. Math. Mech. 6 (1957) 885
(§1 frame functions, the real theorem); R. Cooke, M. Keane, W. Moran, Math. Proc. Cambridge
Philos. Soc. 98 (1985) 117; Gleason/Core.lean (#57, the core lemma),
Gleason/ProjectionPackage.lean (the Gram section and IsFrameFunction),
Gleason/Polarization.lean (additive_bounded_linear); specs/gleason-feasibility.md §2 (A4);
specs/BACKLOG.md #58; specs/future-work.md.
Rank-one projections over ℝ #
The real rank-one projection onto v (a projection when ‖v‖ = 1).
Equations
- Gleason.rankOneR v = Matrix.vecMulVec v.ofLp (star v.ofLp)
Instances For
The real rank-one projection is an orthogonal projection for every unit vector.
Resolution of the identity over a real orthonormal basis.
The real projection package #
A real projection package on ℝᴺ: a nonnegative, normalised, orthogonally additive
assignment on the orthogonal projections of a real inner product space.
Instances For
A finite sum of pairwise-orthogonal projections is a projection.
Additivity over any finite family of pairwise-orthogonal projections.
The frame function of a real package.
Equations
- OP.frame v = OP.p (Gleason.rankOneR v)
Instances For
Additivity over the rank-one projections of an orthonormal family.
A1 over ℝ. The frame function sums to 1 over every real orthonormal basis.
Restriction to the span of an orthonormal family #
The point of ℝᴺ with coordinates x in the family e.
Equations
- Gleason.combR e x = ∑ i : Fin k, x.ofLp i • e i
Instances For
Transporting a real orthonormal family through an orthonormal e gives an orthonormal
family: Gram = Bᵀ (Eᵀ E) B = Bᵀ B = 1.
The rank-one projections of a transported orthonormal basis sum to those of e.
A unit vector of coordinates gives a unit vector of ℝᴺ.
The restriction of the frame function to the span of an orthonormal family.
Equations
- OP.restrictR e x = OP.frame (Gleason.combR e x)
Instances For
A2 over ℝ. The restriction is a real frame function of weight p (∑ᵢ |eᵢ⟩⟨eᵢ|).
★ The core lemma, applied to a triple: the frame function of a real package is a symmetric quadratic form on the unit sphere of the span of every orthonormal triple.
The real polarisation engine #
A real quadratic-like function on ℝᴺ: degree-2 homogeneous, obeying the parallelogram
law, and squeezed between 0 and ‖·‖². The last two conditions replace continuity in the
Jordan–von Neumann argument (polarR_smul_left).
q (c • v) = c² q v.The parallelogram law.
0 ≤ q.q v ≤ ‖v‖².
Instances For
The matrix of the polarised form on the standard basis.
Equations
- Gleason.polarMatrixR q = Matrix.of fun (j k : Fin N) => Gleason.polarR q (EuclideanSpace.single j 1) (EuclideanSpace.single k 1) / 4
Instances For
Standard-basis expansion in a real EuclideanSpace.
The halving identity (Jordan–von Neumann core).
Additivity of polarR in the first slot.
Real homogeneity of polarR in the first slot, through additive_bounded_linear.
polarR q v v = 4 q v.
★ q is the quadratic form of polarMatrixR q.
The degree-2 extension of a function quadratic on triples #
This layer is stated for a bare function f on the sphere and a hypothesis hquad saying that f
is a symmetric quadratic form on the span of every orthonormal triple. Both consumers of the layer
supply hquad from Gleason's core lemma: RealProjectionPackage.exists_isSymm_sphere for a
projection package (exists_isSymm_restrictR), and Gleason/RealFrame.lean for a bare frame
function (BACKLOG #87).
The extension on the span of an orthonormal triple #
The extension on the span of an orthonormal family is the quadratic form the core lemma gives, now at every point and not only on the sphere.
Extending an orthonormal pair to a triple #
An orthonormal pair in ℝᴺ, N ≥ 3, extends to an orthonormal triple.
The extension is a quadratic form on every plane spanned by an orthonormal pair: extend the
pair to a triple (N ≥ 3) and read off the core lemma's matrix.
The parallelogram law on ℝᴺ. Any two vectors lie in a plane spanned by an orthonormal
pair (Gram–Schmidt), and every such plane sits inside an orthonormal triple, where the core lemma
makes the extension a quadratic form.
The extension is quadratic-like: the four hypotheses of the Jordan–von Neumann engine.
★★ A4, the real reduction. A function on the unit sphere of ℝᴺ (N ≥ 3) that is even,
between 0 and 1, and a symmetric quadratic form on the span of every orthonormal triple, is the
quadratic form of a single symmetric matrix.
★★ A4 for a projection package. For N ≥ 3 the frame function of a real projection package
is the quadratic form of a symmetric matrix on the unit sphere.
Matrix facts for the real descent #
★ From a quadratic form on the sphere to a real density matrix.
Spectral resolution as a sum of real rank-ones.
The eigenvalues of a real orthogonal projection are 0 or 1.
The projection descent over ℝ. If the frame function is the quadratic form of A on the
unit sphere, then p P = Tr(A P) for every orthogonal projection P.
★★ Gleason's conclusion over ℝ from the quadratic-form hypothesis.
★★★ Gleason's theorem for real Hilbert spaces, N ≥ 3. Every real projection package is
P ↦ Tr(ρ P) for a unique real density matrix ρ. The reduction to the core lemma is the
three-vector argument: any two vectors lie in a plane, every plane sits inside an orthonormal
triple, and the frame function restricted to the span of a triple is a frame function on ℝ³
(isFrameFunction_restrictR), where the core lemma of #57 applies.