: the matrix with ,
ProvedHardyFiveAxioms.qutrit_D_matrixFor , order the fiducial projectors (26)–(27) as
Then the matrix is
In Section 8.7 Hardy derives this matrix from the axioms and states that "the projection operators which give rise to this are, up to arbitrary choices in phase, those in equations (26) and (27)". This milestone checks that statement.
Formalization Note Indices are -based. The equality is entrywise in .
import Mathlib import Definitions.Def_hardy2001_projectors
namespace HardyFiveAxioms
/-- Hardy 2001, Section 8.7: for `N = 3` with fiducial order
`1, 2, 3, 12x, 12y, 13x, 13y, 23x, 23y`, the matrix `Dᵢⱼ = tr(P̂ᵢP̂ⱼ)` of the projectors
(26)–(27) has the stated form with `h = 1/2` and `q = 1/4`. -/
theorem qutrit_D_matrix :
let P : Fin 9 → Matrix (Fin 3) (Fin 3) ℂ :=
![proj (ket 0), proj (ket 1), proj (ket 2),
proj (ketX 0 1), proj (ketY 0 1), proj (ketX 0 2), proj (ketY 0 2),
proj (ketX 1 2), proj (ketY 1 2)]
let h : ℝ := 1 / 2
let q : ℝ := 1 / 4
let D : Matrix (Fin 9) (Fin 9) ℝ :=
!![1, 0, 0, h, h, h, h, 0, 0;
0, 1, 0, h, h, 0, 0, h, h;
0, 0, 1, 0, 0, h, h, h, h;
h, h, 0, 1, h, q, q, q, q;
h, h, 0, h, 1, q, q, q, q;
h, 0, h, q, q, 1, h, q, q;
h, 0, h, q, q, h, 1, q, q;
0, h, h, q, q, q, q, 1, h;
0, h, h, q, q, q, q, h, 1]
∀ i j : Fin 9, (P i * P j).trace = (D i j : ℂ) := by sorry
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.
Let be the standard basis of and let be the matrix with entries . Define nine matrices as of, in order: , , , , , , , , . With and , let be the real matrix with rows
- .
Then , viewed in , for all .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.