AFTD Auto-Formalizing Theoretical Domains

pauli_bloch_alignment_numerator

theoremverified

For two unit Bloch vectors b and t, set B and T to their Pauli matrices and N=I+TB. Then N†N=2(1+b·t)I and TN=NB.

Statement

theorem pauli_bloch_alignment_numerator (b t : Fin 3 → ℝ)
    (hb : (∑ i, b i ^ 2) = 1) (ht : (∑ i, t i ^ 2) = 1) :
    let B := pauli_bloch_matrix b
    let T := pauli_bloch_matrix t
    let N := 1 + T * B
    N.conjTranspose * N = ((2 * (1 + ∑ i, b i * t i) : ℝ) : ℂ) • 1 ∧
    T * N = N * B
Source
arXiv:2611.19367v1, Lemma 3, Eqs. (29)–(31), for the Pauli alignment construction.
Verified
17 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • pauli_bloch_matrixThe Hermitian two by two Pauli matrix corresponding to a real three-dimensional Bloch vector.
  • pauli_bloch_matrix_squareThe square of a Bloch Pauli matrix is the squared Euclidean length of its Bloch vector times the identity.
Used by 1

The proof, explained

For two unit Bloch vectors b and t, their associated Pauli-Bloch matrices B and T square to the identity matrix. The proof establishes the norm identity N†N = 2(1 + b · t)I by expanding the 2 × 2 matrix product entry by entry into real and imaginary parts and discharging the resulting polynomial equations with nonlinear arithmetic using |b|² = |t|² = 1. The intertwining relation TN = NB then follows by straightforward matrix algebra: expanding T(I + TB) = T + T²B = T + B = B + T = (I + TB)B using T² = I and B² = I.

  1. The Pauli-Bloch matrices B and T square to the identity matrix: B² = I and T² = I.

    After simplifying the definitions in the goal, we establish that B² = 1 and T² = 1. By pauli_bloch_matrix_square, the square of the Pauli-Bloch matrix of any vector is the identity matrix scaled by the sum of squares of its components. Since b and t are unit vectors (hb and ht), this scalar factor is 1.

    lines 8–14

    uses pauli_bloch_matrix_square

      dsimp
      have hB : pauli_bloch_matrix b * pauli_bloch_matrix b = 1 := by
        rw [pauli_bloch_matrix_square, hb]
        simp
      have hT : pauli_bloch_matrix t * pauli_bloch_matrix t = 1 := by
        rw [pauli_bloch_matrix_square, ht]
        simp
  2. The norm identity N†N = 2(1 + b · t)I holds.

    We split the conjunction to address the first equation. We expand the unit-norm conditions hb and ht into explicit three-term sums using Fin.sum_univ_three. To prove the matrix equality, it suffices by extensionality to check each of the 4 entries of the 2 × 2 matrix (ext, fin_cases). For each entry, we equate the real and imaginary parts (Complex.ext), unfold the definition of pauli_bloch_matrix, matrix multiplication (Matrix.mul_apply), conjugate transpose (Matrix.conjTranspose_apply), complex multiplication (Complex.mul_re, Complex.mul_im), and two- and three-term sums (Fin.sum_univ_two, Fin.sum_univ_three). The resulting 8 polynomial identities over ℝ are closed by nonlinear arithmetic (nlinarith) using the unit-norm assumptions on b and t.

    lines 15–22

    uses Fin.sum_univ_three, Complex.ext, Matrix.mul_apply, Matrix.conjTranspose_apply, Fin.sum_univ_two, Complex.mul_re, Complex.mul_im

      constructor
      · simp only [Fin.sum_univ_three] at hb ht
        ext i j
        fin_cases i <;> fin_cases j <;>
          apply Complex.ext <;>
          simp [pauli_bloch_matrix, Matrix.mul_apply, Matrix.conjTranspose_apply,
            Fin.sum_univ_two, Fin.sum_univ_three, Complex.mul_re, Complex.mul_im] <;>
          nlinarith [hb, ht]
  3. The intertwining relation TN = NB holds.

    We prove TN = NB through a chain of matrix algebraic equalities: expanding T * (1 + T * B) = T + T² * B using distributivity and associativity (Matrix.mul_add, Matrix.mul_assoc); replacing T² with the identity via hT to get T + B; commuting the sum to B + T (add_comm); and factoring this as (1 + T * B) * B = B + T * B² using distributivity and associativity (Matrix.add_mul, Matrix.mul_assoc) together with B² = 1 from hB.

    lines 23–30

    uses Matrix.mul_add, Matrix.mul_assoc, add_comm, Matrix.add_mul

      · calc
          pauli_bloch_matrix t * (1 + pauli_bloch_matrix t * pauli_bloch_matrix b) =
              pauli_bloch_matrix t + (pauli_bloch_matrix t * pauli_bloch_matrix t) * pauli_bloch_matrix b := by
                simp [Matrix.mul_add, Matrix.mul_assoc]
          _ = pauli_bloch_matrix t + pauli_bloch_matrix b := by rw [hT]; simp
          _ = pauli_bloch_matrix b + pauli_bloch_matrix t := add_comm _ _
          _ = (1 + pauli_bloch_matrix t * pauli_bloch_matrix b) * pauli_bloch_matrix b := by
                simp [Matrix.add_mul, Matrix.mul_assoc, hB]
Fin.sum_univ_three
A sum over the three elements of Fin 3 expands to f 0 + f 1 + f 2.
Complex.ext
Two complex numbers are equal if and only if their real parts and their imaginary parts are respectively equal.
Fin.sum_univ_two
A sum over the two elements of Fin 2 expands to f 0 + f 1.
Complex.mul_re
The real part of the product of two complex numbers is the product of their real parts minus the product of their imaginary parts.
Complex.mul_im
The imaginary part of the product of two complex numbers is the product of the first real part and second imaginary part plus the product of the first imaginary part and second real part.
Matrix.mul_add
Matrix multiplication distributes from the left over matrix addition: L * (M + N) = L * M + L * N.
Matrix.mul_assoc
Matrix multiplication is associative: (L * M) * N = L * (M * N).
add_comm
Addition is commutative: a + b = b + a.
Matrix.add_mul
Matrix multiplication distributes from the right over matrix addition: (L + M) * N = L * N + M * N.
Matrix.mul_apply
The (i, k)-th entry of the product of two matrices M and N is the sum over j of M i j * N j k.
Matrix.conjTranspose_apply
The (j, i)-th entry of the conjugate transpose of a matrix M is the complex conjugate of M i j.
pauli_bloch_matrix_square
The square of the Pauli-Bloch matrix for a vector b equals the identity matrix scaled by the squared Euclidean norm ∑ i, b i ^ 2.

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 pauli_bloch_alignment_numerator (b t : Fin 3 → ℝ)    (hb : (∑ i, b i ^ 2) = 1) (ht : (∑ i, t i ^ 2) = 1) :    let B := pauli_bloch_matrix b    let T := pauli_bloch_matrix t    let N := 1 + T * B    N.conjTranspose * N = ((2 * (1 + ∑ i, b i * t i) : ℝ) : ℂ) • 1 ∧    T * N = N * B := by  dsimp  have hB : pauli_bloch_matrix b * pauli_bloch_matrix b = 1 := by    rw [pauli_bloch_matrix_square, hb]    simp  have hT : pauli_bloch_matrix t * pauli_bloch_matrix t = 1 := by    rw [pauli_bloch_matrix_square, ht]    simp  constructor  · simp only [Fin.sum_univ_three] at hb ht    ext i j    fin_cases i <;> fin_cases j <;>      apply Complex.ext <;>      simp [pauli_bloch_matrix, Matrix.mul_apply, Matrix.conjTranspose_apply,        Fin.sum_univ_two, Fin.sum_univ_three, Complex.mul_re, Complex.mul_im] <;>      nlinarith [hb, ht]  · calc      pauli_bloch_matrix t * (1 + pauli_bloch_matrix t * pauli_bloch_matrix b) =          pauli_bloch_matrix t + (pauli_bloch_matrix t * pauli_bloch_matrix t) * pauli_bloch_matrix b := by            simp [Matrix.mul_add, Matrix.mul_assoc]      _ = pauli_bloch_matrix t + pauli_bloch_matrix b := by rw [hT]; simp      _ = pauli_bloch_matrix b + pauli_bloch_matrix t := add_comm _ _      _ = (1 + pauli_bloch_matrix t * pauli_bloch_matrix b) * pauli_bloch_matrix b := by            simp [Matrix.add_mul, Matrix.mul_assoc, hB]
See it in the graphDiscuss this resultChallenge it