Pure states, classical basis states and the classical state space
Definitionhardy2001_statesLet be a set of (unnormalized) state vectors. Its set of pure states is
the extremal points of other than the null state . A point is extremal if it is not a proper convex combination of two other points of .
For a dimension , the basis states of classical probability theory are the unit vectors , with a in position and elsewhere. The classical state space is
This is the convex hull of the basis states and the null state.
These are the objects of Sections 4 and 6.9 of the paper: pure states are the definite states of a system, and the classical state space is a polytope.
Formalization Note Extremal points are Mathlib's Set.extremePoints ℝ S. Basis states are indexed by Fin N, so the paper's state is index .
import Mathlib
namespace HardyFiveAxioms
/-- The pure states of a set `S` of (unnormalized) state vectors `p ∈ ℝᴷ`: the extremal points
of `S` other than the null state `0` (Hardy 2001, Section 6.9). -/
def pureStates {K : ℕ} (S : Set (Fin K → ℝ)) : Set (Fin K → ℝ) :=
Set.extremePoints ℝ S \ {0}
/-- The `n`-th basis state of classical probability theory in dimension `N`: the vector with a
`1` in position `n` and `0` elsewhere (Hardy 2001, Eq. (2)). -/
def basisState {N : ℕ} (n : Fin N) : Fin N → ℝ :=
Pi.single n 1
/-- The state space of classical probability theory in dimension `N` (Hardy 2001, Section 4):
the convex hull of the `N` basis states and the null state, i.e. the vectors `p ∈ ℝᴺ` with
nonnegative entries whose sum (the normalization coefficient) is at most `1`. -/
def classicalStates (N : ℕ) : Set (Fin N → ℝ) :=
{p | (∀ n, 0 ≤ p n) ∧ ∑ n, p n ≤ 1}
end HardyFiveAxioms
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 (Aristotle, by Harmonic) that drafted the Lean statement below, with full knowledge of the source paper and of the intended meaning. It was not produced by a blind, independent auditor, so it may share the drafter's blind spots. Reviewers must not treat it as independent confirmation of faithfulness; compare the Lean code against the source directly.
Three objects are defined.
- For a natural number and a set of real vectors (functions from to ), is the set of points that are extreme points of and are different from the zero vector. Here is an extreme point when, whenever lies in the open segment between two points , one has and . No convexity, boundedness or closedness of is assumed. If is empty, or , the set of pure states is empty.
- For and an index , is the vector with in coordinate and in every other coordinate.
- For , is the set of with for every and . For it consists of the single (empty) vector.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.