AFTD Auto-Formalizing Theoretical Domains

three_qubit_canonical_pair_correlation_cycle_symmetric

theoremverified

For the three explicit real correlation matrices obtained from the six-parameter three-qubit canonical form, the matrix Bᵀ adj(A)ᵀ C is symmetric for all real parameters, without invertibility or normalization assumptions.

Statement

theorem three_qubit_canonical_pair_correlation_cycle_symmetric (l u v p q r : ℝ) :
  let A : Matrix (Fin 3) (Fin 3) ℝ :=
    !![2*q*l, 0, 2*u*l; 0, -2*q*l, 2*v*l;
       -2*u*q-2*p*r, 2*v*q, -u^2-v^2-p^2+q^2+r^2+l^2]
  let B : Matrix (Fin 3) (Fin 3) ℝ :=
    !![2*p*l, 0, 2*u*l; 0, -2*p*l, 2*v*l;
       -2*u*p-2*q*r, 2*v*p, -u^2-v^2+p^2-q^2+r^2+l^2]
  let C : Matrix (Fin 3) (Fin 3) ℝ :=
    !![2*u*r+2*p*q, -2*v*r, 2*u*q-2*p*r;
       -2*v*r, -2*u*r+2*p*q, -2*v*q;
       2*u*p-2*q*r, -2*v*p, u^2+v^2-p^2-q^2+r^2+l^2]
  let K := B.transpose * A.adjugate.transpose * C
  K.transpose = K
Source
arXiv:2611.19367v1, Appendix A, Eqs. (A1)–(A5); the matrices and their symmetry are stated there.
Verified
17 Nov 2026
Axioms
Classical.choiceQuot.soundpropext

The proof, explained

The theorem asserts that the $3 \times 3$ matrix $K = B^\top \operatorname{adj}(A)^\top C$ is symmetric ($K^\top = K$) for arbitrary real parameters $l, u, v, p, q, r$. By matrix extensionality, the proof reduces this equality to checking that $(K^\top)_{i, j} = K_{i, j}$ for each of the nine index pairs $(i, j) \in \{0, 1, 2\}^2$. Each entry is evaluated by expanding matrix multiplication and the explicit $3 \times 3$ adjugate formula into a polynomial in the parameters. The diagonal entries match trivially, and the off-diagonal entries are verified to be identical polynomials by commutative ring normalization.

  1. It suffices to show that $(K^\top)_{i, j} = K_{i, j}$ for all indices $i, j \in \{0, 1, 2\}$.

    Unfolding the definitions of the matrices $A$, $B$, $C$, and the product $K = B^\top \operatorname{adj}(A)^\top C$ reduces the theorem to an equality between two $3 \times 3$ real matrices. By matrix extensionality, two matrices are equal if and only if their entries match at every row $i$ and column $j$.

    lines 16–17

      dsimp
      ext i j
  2. For each entry pair $(i, j) \in \{0, 1, 2\}^2$, $(K^\top)_{i, j} = K_{i, j}$, and therefore $K^\top = K$. automation

    Exhaustive case analysis on the row index $i$ and column index $j$ splits the matrix equality into nine scalar subgoals. For each coordinate, the matrix products and index summations are expanded via `Matrix.mul_apply` and `Fin.sum_univ_three`, the adjugate $\operatorname{adj}(A)$ is replaced with its explicit $3 \times 3$ cofactor representation using `Matrix.adjugate_fin_three`, and concrete matrix entries are looked up via `Matrix.cons_val_two` and `Matrix.cons_val_three`. The three diagonal entries ($i = j$) are identical expressions on both sides and close immediately. The six off-diagonal entries reduce to polynomial equations in the six parameters $l, u, v, p, q, r$, each of which is closed by automated commutative ring normalization (`ring`).

    lines 18–20

    uses Matrix.mul_apply, Matrix.adjugate_fin_three, Fin.sum_univ_three, Matrix.cons_val_two, Matrix.cons_val_three

      fin_cases i <;> fin_cases j <;>
        simp [Matrix.mul_apply, Matrix.adjugate_fin_three, Fin.sum_univ_three,
          Matrix.cons_val_two, Matrix.cons_val_three] <;> ring
Matrix.mul_apply
The $(i, k)$-th entry of the product of matrices $M$ and $N$ is the sum $\sum_j M_{i, j} N_{j, k}$ over the shared index.
Matrix.adjugate_fin_three
The adjugate of a $3 \times 3$ matrix is given explicitly by the transpose of its $2 \times 2$ cofactor matrix.
Fin.sum_univ_three
A sum of a function over the three elements of $\text{Fin } 3$ equals $f(0) + f(1) + f(2)$.
Matrix.cons_val_two
Evaluating index $2$ (the third element) of a vector constructed by prepending an element yields the element at index $1$ of the tail vector.
Matrix.cons_val_three
Evaluating index $3$ of a vector constructed by prepending an element yields the element at index $2$ of the tail vector.

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

open scoped Matrixtheorem three_qubit_canonical_pair_correlation_cycle_symmetric (l u v p q r : ℝ) :  let A : Matrix (Fin 3) (Fin 3) ℝ :=    !![2*q*l, 0, 2*u*l; 0, -2*q*l, 2*v*l;       -2*u*q-2*p*r, 2*v*q, -u^2-v^2-p^2+q^2+r^2+l^2]  let B : Matrix (Fin 3) (Fin 3) ℝ :=    !![2*p*l, 0, 2*u*l; 0, -2*p*l, 2*v*l;       -2*u*p-2*q*r, 2*v*p, -u^2-v^2+p^2-q^2+r^2+l^2]  let C : Matrix (Fin 3) (Fin 3) ℝ :=    !![2*u*r+2*p*q, -2*v*r, 2*u*q-2*p*r;       -2*v*r, -2*u*r+2*p*q, -2*v*q;       2*u*p-2*q*r, -2*v*p, u^2+v^2-p^2-q^2+r^2+l^2]  let K := B.transpose * A.adjugate.transpose * C  K.transpose = K := by  dsimp  ext i j  fin_cases i <;> fin_cases j <;>    simp [Matrix.mul_apply, Matrix.adjugate_fin_three, Fin.sum_univ_three,      Matrix.cons_val_two, Matrix.cons_val_three] <;> ring
See it in the graphDiscuss this resultChallenge it