AFTD Auto-Formalizing Theoretical Domains

parity_bound_counterexample_qutrit_observable_dichotomic

theoremverified

Every matrix of the qutrit counterexample family — diag(1,-1,1) and the identity on ℂ^3 — is a dichotomic projective observable: Hermitian and squaring to the identity.

Statement

theorem parity_bound_counterexample_qutrit_observable_dichotomic : ∀ y : Fin 2, is_dichotomic_projective_observable (parity_bound_counterexample_qutrit_observable y)
Source
step towards open_problem_735_parity_bound_higher_dimension
Verified
20 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2

The proof, explained

The theorem is proved by case analysis on the index y ∈ {0, 1}. For y = 0, the observable is the diagonal matrix diag(1, -1, 1), which is Hermitian because its diagonal entries ±1 are real, and squares to the identity because (±1)² = 1. For y = 1, the observable is the 3 × 3 identity matrix, which is Hermitian and trivially satisfies I² = I.

  1. It suffices to verify the dichotomic projective observable property for the two cases y = 0 and y = 1.

    We introduce the index y ∈ Fin 2 and perform a case analysis on the two possible values, 0 and 1.

    lines 3–4

      intro y
      fin_cases y
  2. For y = 0, the goal reduces to showing that the diagonal matrix diag(1, -1, 1) is Hermitian and squares to the identity.

    Simplifying the definition of the observable for y = 0 gives the diagonal matrix with -1 at index 1 and 1 elsewhere. Unfolding the definition of a dichotomic projective observable splits the goal into two obligations: verifying Hermiticity and verifying that the matrix squared equals 1.

    lines 5–7

      · dsimp [parity_bound_counterexample_qutrit_observable]
        unfold is_dichotomic_projective_observable
        constructor
  3. The diagonal matrix diag(1, -1, 1) is Hermitian.

    By Matrix.isHermitian_diagonal_iff, a diagonal matrix is Hermitian if and only if every diagonal entry is self-adjoint. For any index i, the entry is either -1 or 1; both are real numbers and therefore self-adjoint in ℂ (IsSelfAdjoint).

    lines 8–10

    uses Matrix.isHermitian_diagonal_iff, IsSelfAdjoint

        · rw [Matrix.isHermitian_diagonal_iff]
          intro i
          split_ifs <;> simp [IsSelfAdjoint]
  4. The diagonal matrix diag(1, -1, 1) squares to the identity matrix.

    The product of the diagonal matrix with itself is diagonal with entrywise products (Matrix.diagonal_mul_diagonal). Since (-1) * (-1) = 1 and 1 * 1 = 1, every entry on the diagonal evaluates to 1. The resulting diagonal matrix with all 1s is the identity matrix by Matrix.diagonal_one.

    lines 11–16

    uses Matrix.diagonal_mul_diagonal, Matrix.diagonal_one

        · rw [Matrix.diagonal_mul_diagonal]
          have : (fun i : Fin 3 => (if i = 1 then (-1 : ℂ) else 1) * if i = 1 then -1 else 1) = fun _ => 1 := by
            ext i
            split_ifs <;> ring
          rw [this]
          exact Matrix.diagonal_one
  5. For y = 1, the identity matrix is a dichotomic projective observable.

    For y = 1, the observable definition simplifies to the 3 × 3 identity matrix. The identity matrix is Hermitian (Matrix.isHermitian_one) and squares to itself (mul_one 1), which directly proves both conditions.

    lines 17–19

    uses Matrix.isHermitian_one, mul_one

      · dsimp [parity_bound_counterexample_qutrit_observable]
        unfold is_dichotomic_projective_observable
        exact ⟨Matrix.isHermitian_one, mul_one 1⟩
Matrix.isHermitian_diagonal_iff
A diagonal matrix is Hermitian if and only if each of its diagonal entries is self-adjoint.
IsSelfAdjoint
An element of a star-ring is self-adjoint if it equals its star (adjoint), which for complex numbers means it is real.
Matrix.diagonal_mul_diagonal
The product of two diagonal matrices is the diagonal matrix of their entrywise products.
Matrix.diagonal_one
The diagonal matrix with all diagonal entries equal to 1 is the identity matrix.
Matrix.isHermitian_one
The identity matrix is Hermitian.
mul_one
Multiplying an element by 1 on the right leaves it unchanged (specialized here to 1 * 1 = 1).

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- Both qutrit counterexample matrices are Hermitian and square to the identity, hence dichotomic projective observables on ℂ³. -/theorem parity_bound_counterexample_qutrit_observable_dichotomic : ∀ y : Fin 2, is_dichotomic_projective_observable (parity_bound_counterexample_qutrit_observable y) := by  intro y  fin_cases y  · dsimp [parity_bound_counterexample_qutrit_observable]    unfold is_dichotomic_projective_observable    constructor    · rw [Matrix.isHermitian_diagonal_iff]      intro i      split_ifs <;> simp [IsSelfAdjoint]    · rw [Matrix.diagonal_mul_diagonal]      have : (fun i : Fin 3 => (if i = 1 then (-1 : ℂ) else 1) * if i = 1 then -1 else 1) = fun _ => 1 := by        ext i        split_ifs <;> ring      rw [this]      exact Matrix.diagonal_one  · dsimp [parity_bound_counterexample_qutrit_observable]    unfold is_dichotomic_projective_observable    exact ⟨Matrix.isHermitian_one, mul_one 1⟩
See it in the graphDiscuss this resultChallenge it