AFTD Auto-Formalizing Theoretical Domains

qutrit_choi_transpose_bell_orbit

theoremverified

An exact identity in the qutrit Bell-orbit and real witness reduction.

Statement

theorem qutrit_choi_transpose_bell_orbit (σ : Matrix (Fin 3) (Fin 3) ℂ) :
    qutrit_bell_orbit_slice (qutrit_bob_transpose (qutrit_convolution_choi σ))
Source
OP-2299; qutrit convolution, experiments 40125-40126 and 40163-40166.
Verified
26 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • qutrit_convolution_choiTakes a complex 3×3 matrix σ : Matrix (Fin 3) (Fin 3) ℂ (no hypothesis on σ) and returns the complex matrix indexed by Fin 3 × Fin 3 (type…
  • qutrit_bob_transposeExplicit matrix operation for the two-qutrit shift-orbit reduction.
  • qutrit_bell_orbit_sliceExplicit matrix operation for the two-qutrit shift-orbit reduction.

The proof, explained

The theorem proves that taking the partial transpose on Bob's subsystem of the Choi matrix of a qutrit convolution channel produces an operator in the qutrit Bell-orbit slice. The proof first establishes three modular arithmetic identities on Fin 3 by exhaustive finite case checking: equivalence between sum equality and difference equality, shift invariance of sum equality, and shift invariance of subtraction. It then verifies the two defining conditions of the Bell-orbit slice by unfolding definitions: off-diagonal vanishing follows because b - a ≠ d - c prevents the sum condition from holding, and shift invariance follows directly from the shift invariance of the sum condition and subtraction.

  1. In $\mathbb{Z}_3$, $a + d = c + b$ holds if and only if $b - a = d - c$.

    The equivalence between the equality of sums and the equality of differences is established by finite case exhaustion over all $3^4 = 81$ possible quadruples $(a, b, c, d) \in (\text{Fin } 3)^4$ using `decide`.

    lines 3–4

      have hsum (a b c d : Fin 3) : a+d=c+b ↔ b-a=d-c := by
        fin_cases a <;> fin_cases b <;> fin_cases c <;> fin_cases d <;> decide
  2. The sum condition is invariant under shifting each index by 1: $(a + 1) + (d + 1) = (c + 1) + (b + 1) \iff a + d = c + b$ in $\text{Fin } 3$.

    Shift invariance of the sum identity is verified by exhaustive case analysis over all 81 combinations of $(a, b, c, d) \in (\text{Fin } 3)^4$.

    lines 5–6

      have hshift (a b c d : Fin 3) : (a+1)+(d+1)=(c+1)+(b+1) ↔ a+d=c+b := by
        fin_cases a <;> fin_cases b <;> fin_cases c <;> fin_cases d <;> decide
  3. Difference in $\text{Fin } 3$ is invariant under shifting both arguments by 1: $(x + 1) - (y + 1) = x - y$.

    Exhaustive case analysis over all $3^2 = 9$ pairs $(x, y) \in (\text{Fin } 3)^2$ confirms that the shift by 1 cancels under subtraction.

    lines 7–8

      have hsub (x y : Fin 3) : (x+1)-(y+1)=x-y := by
        fin_cases x <;> fin_cases y <;> decide
  4. To show that the transformed matrix belongs to the Bell-orbit slice, it suffices to prove two properties: that it vanishes when $b - a \neq d - c$, and that its entries are invariant under simultaneous index shifts by 1.

    The definition of `qutrit_bell_orbit_slice` is a conjunction of these two conditions. The tactic `constructor` splits the main goal into these two independent subgoals.

    line 9

      constructor
  5. The matrix entry at $((a, b), (c, d))$ vanishes whenever $b - a \neq d - c$.

    Assume $b - a \neq d - c$. Unfolding Bob's partial transpose (`qutrit_bob_transpose`) swaps the second indices, evaluating `qutrit_convolution_choi` at $((a, d), (c, b))$. By definition, this entry is nonzero only when $a + d = c + b$. Using the lemma `hsum`, this condition is equivalent to $b - a = d - c$, which is false by hypothesis; hence the conditional expression evaluates to 0.

    lines 10–11

      · intro a b c d h
        simp [qutrit_bob_transpose, qutrit_convolution_choi, hsum, h]
  6. The matrix entries are invariant under shifting all four indices by 1.

    Unfolding `qutrit_bob_transpose` and `qutrit_convolution_choi` with `Matrix.of_apply` expresses both the shifted entry at $((a+1, b+1), (c+1, d+1))$ and the unshifted entry at $((a, b), (c, d))$ as conditional expressions. Rewriting with `hshift` shows their guard conditions $(a+1)+(d+1)=(c+1)+(b+1)$ and $a+d=c+b$ are equivalent, and rewriting with `hsub` shows the indices passed to $\sigma$, namely $((d+1)-(a+1), (b+1)-(c+1))$ and $(d-a, b-c)$, coincide. Both sides are therefore identical.

    lines 12–14

    uses Matrix.of_apply

      · intro a b c d
        simp only [qutrit_bob_transpose, Matrix.of_apply, qutrit_convolution_choi]
        simp [hshift, hsub]
Matrix.of_apply
Evaluating a matrix constructed from a function `f` via `Matrix.of` at row `i` and column `j` gives `f i j`.

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

theorem qutrit_choi_transpose_bell_orbit (σ : Matrix (Fin 3) (Fin 3) ℂ) :    qutrit_bell_orbit_slice (qutrit_bob_transpose (qutrit_convolution_choi σ)) := by  have hsum (a b c d : Fin 3) : a+d=c+b ↔ b-a=d-c := by    fin_cases a <;> fin_cases b <;> fin_cases c <;> fin_cases d <;> decide  have hshift (a b c d : Fin 3) : (a+1)+(d+1)=(c+1)+(b+1) ↔ a+d=c+b := by    fin_cases a <;> fin_cases b <;> fin_cases c <;> fin_cases d <;> decide  have hsub (x y : Fin 3) : (x+1)-(y+1)=x-y := by    fin_cases x <;> fin_cases y <;> decide  constructor  · intro a b c d h    simp [qutrit_bob_transpose, qutrit_convolution_choi, hsum, h]  · intro a b c d    simp only [qutrit_bob_transpose, Matrix.of_apply, qutrit_convolution_choi]    simp [hshift, hsub]
See it in the graphDiscuss this resultChallenge it