AFTD Auto-Formalizing Theoretical Domains

pauli_spinor_alignment_pointwise

theoremverified

For unit Bloch axes with positive alignment denominator, the normalized Pauli alignment transforms any spinor with the first axis projector into one with the second.

Statement

theorem pauli_spinor_alignment_pointwise (b t : Fin 3 → ℝ) (u : Fin 2 → ℂ)
    (hb : (∑ i, b i ^ 2) = 1) (ht : (∑ i, t i ^ 2) = 1)
    (hpos : 0 < 1 + ∑ i, b i * t i)
    (hu : ∀ i j, u i * star (u j) = (1 + pauli_bloch_matrix b) i j / 2) :
    let N := 1 + pauli_bloch_matrix t * pauli_bloch_matrix b
    let d := Real.sqrt (2 * (1 + ∑ i, b i * t i))
    let v : Fin 2 → ℂ := fun i => (N.mulVec u) i / (d : ℂ)
    ∀ i j, v i * star (v j) = (1 + pauli_bloch_matrix t) i j / 2
Source
arXiv:2611.19367v1, Lemma 3, Pauli alignment construction.
Verified
18 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_alignment_projectorThe unnormalized Pauli alignment conjugates the first Bloch projector to a positive scalar multiple of the second.
Used by 1

The proof, explained

The theorem proves that the normalized Pauli alignment operator maps any spinor corresponding to Bloch vector b to one corresponding to Bloch vector t. Rather than working componentwise, the argument computes the outer product of the transformed spinor as the matrix conjugation N * V * N†, where V = (1 + B) / 2 is the density matrix of the initial spinor. Applying the known operator identity N * (1 + B) * N† = d • (1 + T), the conjugation evaluates to (d / 2) • (1 + T), where the normalization factor d cancels against the denominator (√d)².

  1. Unfold definitions and reformulate the pointwise equality in terms of matrix operations.

    Unpack the definition of the transformed spinor v and introduce shorthand for the Bloch matrices B = pauli_bloch_matrix b and T = pauli_bloch_matrix t, the alignment matrix N = 1 + T * B, the radicand d = 2 * (1 + ∑ b_i t_i), and the spinor outer product matrix V with entries V_ij = u_i * star (u_j). The goal is recast as showing that the outer product entries of (N u) / √d equal (1 + T)_ij / 2.

    lines 9–16

      dsimp
      let B := pauli_bloch_matrix b
      let T := pauli_bloch_matrix t
      let N := 1 + T * B
      let d : ℝ := 2 * (1 + ∑ i, b i * t i)
      let V : Matrix (Fin 2) (Fin 2) ℂ := Matrix.of (fun i j => u i * star (u j))
      change ∀ i j, ((N.mulVec u) i / (Real.sqrt d : ℂ)) *
        star ((N.mulVec u) j / (Real.sqrt d : ℂ)) = (1 + T) i j / 2
  2. The radicand d is strictly positive.

    By assumption (hpos), 1 + ∑ b_i t_i > 0. Multiplying by 2 yields d = 2 * (1 + ∑ b_i t_i) > 0.

    line 17

      have hd : 0 < d := by dsimp [d]; positivity
  3. The spinor outer product matrix V satisfies V = (1/2) • (1 + B).

    By hypothesis (hu), each entry u_i * star (u_j) equals (1 + B)_ij / 2. Rewriting division by 2 as scalar multiplication by 2⁻¹ establishes the matrix equality entry by entry.

    lines 18–20

    uses div_eq_mul_inv, mul_comm

      have hV : V = (2 : ℂ)⁻¹ • (1 + B) := by
        ext i j
        simpa [V, B, div_eq_mul_inv, mul_comm] using hu i j
  4. The outer product matrix of the transformed spinor N u equals N * V * N†.

    Entrywise, the (i, j)-th entry of the outer product of N u is (N u)_i * star ((N u)_j). Expanding the matrix-vector products and the conjugate transpose over the two-dimensional index type Fin 2 shows this matches the (i, j)-th entry of N * V * N† by polynomial ring arithmetic.

    lines 21–26

    uses Fin.sum_univ_two, Matrix.conjTranspose_apply, Matrix.mul_apply, map_add, map_mul

      have houter : Matrix.of (fun i j => (N.mulVec u) i * star ((N.mulVec u) j)) =
          N * V * N.conjTranspose := by
        ext i j
        simp [V, Matrix.mulVec, dotProduct, Matrix.mul_apply, Matrix.conjTranspose_apply,
          Fin.sum_univ_two, map_add, map_mul]
        ring
  5. Conjugating the projector 1 + B by N yields d • (1 + T).

    This is the alignment projector identity pauli_bloch_alignment_projector, which states that N * (1 + B) * N† = d • (1 + T) for unit Bloch vectors b and t.

    lines 27–28

    uses pauli_bloch_alignment_projector

      have hproj : N * (1 + B) * N.conjTranspose = (d : ℂ) • (1 + T) := by
        simpa [N, B, T, d] using pauli_bloch_alignment_projector b t hb ht
  6. The transformed density matrix N * V * N† equals (d / 2) • (1 + T).

    Substitute V = 2⁻¹ • (1 + B) into N * V * N†. Pulling the scalar 2⁻¹ outside matrix multiplication and applying the projector alignment identity gives 2⁻¹ • (d • (1 + T)) = (2⁻¹ * d) • (1 + T).

    lines 29–32

    uses Matrix.mul_smul, Matrix.smul_mul, smul_smul

      have hall : N * V * N.conjTranspose = ((2 : ℂ)⁻¹ * (d : ℂ)) • (1 + T) := by
        rw [hV]
        simp only [Matrix.mul_smul, Matrix.smul_mul, smul_smul]
        rw [hproj, smul_smul]
  7. The complex square root √d is non-zero and satisfies (√d)² = d.

    Because d > 0, its real square root √d is strictly positive and therefore non-zero, and squaring it recovers d. These facts are cast from ℝ to ℂ.

    lines 33–36

    uses Real.sq_sqrt, Real.sqrt_ne_zero'.2

      have hsqrt_ne : (Real.sqrt d : ℂ) ≠ 0 := by
        exact_mod_cast (Real.sqrt_ne_zero'.2 hd)
      have hsqrt_sq : (Real.sqrt d : ℂ)^2 = (d : ℂ) := by
        exact_mod_cast (Real.sq_sqrt hd.le)
  8. For all indices i and j, the transformed spinor v satisfies v_i * star (v_j) = (1 + T)_ij / 2.

    Fix indices i and j. Extracting the (i, j)-th entry of (N u)(N u)† = (d / 2) • (1 + T) gives (N u)_i * star ((N u)_j) = (d / 2) * (1 + T)_ij. Since v_i = (N u)_i / √d, the outer product v_i * star (v_j) equals ((N u)_i * star ((N u)_j)) / (√d)². Replacing (√d)² with d cancels the factor of d and leaves (1 + T)_ij / 2.

    lines 37–44

    uses Complex.conj_ofReal, Complex.star_def, Matrix.of_apply, Matrix.smul_apply, congrArg, smul_eq_mul, star_div₀

      intro i j
      have hentry := congrArg (fun A : Matrix (Fin 2) (Fin 2) ℂ => A i j) (houter.trans hall)
      simp only [Matrix.of_apply, Matrix.smul_apply, smul_eq_mul] at hentry
      simp only [star_div₀, Complex.star_def, Complex.conj_ofReal]
      field_simp [hsqrt_ne]
      simp only [Complex.star_def] at hentry
      rw [← hsqrt_sq] at hentry
      linear_combination 2 * hentry
Complex.conj_ofReal
Complex conjugation of a real number cast to ℂ is the identity.
Complex.star_def
The star operation on complex numbers is defined as complex conjugation.
Fin.sum_univ_two
A sum over the two-element index type Fin 2 equals the sum of the elements at 0 and 1.
Matrix.conjTranspose_apply
The (j, i)-th entry of the conjugate transpose of a matrix M is the conjugate of the (i, j)-th entry of M.
Matrix.mul_apply
The (i, k)-th entry of the matrix product M * N is the sum over j of M i j * N j k.
Matrix.mul_smul
Scalar multiplication associates with matrix multiplication on the right: M * (a • N) = a • (M * N).
Matrix.of_apply
Evaluating a matrix formed by Matrix.of at index (i, j) yields the function applied to (i, j).
Matrix.smul_apply
The (i, j)-th entry of a scalar-multiplied matrix r • A is r • A i j.
Matrix.smul_mul
Scalar multiplication associates with matrix multiplication on the left: (a • M) * N = a • (M * N).
Real.sq_sqrt
For non-negative real x, (√x)^2 = x.
Real.sqrt_ne_zero'.2
A strictly positive real number has a non-zero square root.
congrArg
Applying a function to both sides of an equality preserves the equality: if a₁ = a₂, then f a₁ = f a₂.
div_eq_mul_inv
Division is defined as multiplication by the reciprocal: a / b = a * b⁻¹.
map_add
A homomorphism preserves addition: f (x + y) = f x + f y.
map_mul
A homomorphism preserves multiplication: f (x * y) = f x * f y.
mul_comm
Multiplication in a commutative ring is commutative: a * b = b * a.
pauli_bloch_alignment_projector
For unit Bloch vectors b and t, the alignment operator N = 1 + T * B conjugates the projector 1 + B to d • (1 + T), where d = 2 * (1 + ∑ b_i t_i).
smul_eq_mul
Scalar multiplication of elements in a ring coincides with multiplication: a • b = a * b.
smul_smul
Successive scalar multiplications associate: a₁ • (a₂ • b) = (a₁ * a₂) • b.
star_div₀
Complex conjugation distributes over division: star (x / y) = star x / star y.

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_spinor_alignment_pointwise (b t : Fin 3 → ℝ) (u : Fin 2 → ℂ)    (hb : (∑ i, b i ^ 2) = 1) (ht : (∑ i, t i ^ 2) = 1)    (hpos : 0 < 1 + ∑ i, b i * t i)    (hu : ∀ i j, u i * star (u j) = (1 + pauli_bloch_matrix b) i j / 2) :    let N := 1 + pauli_bloch_matrix t * pauli_bloch_matrix b    let d := Real.sqrt (2 * (1 + ∑ i, b i * t i))    let v : Fin 2 → ℂ := fun i => (N.mulVec u) i / (d : ℂ)    ∀ i j, v i * star (v j) = (1 + pauli_bloch_matrix t) i j / 2 := by  dsimp  let B := pauli_bloch_matrix b  let T := pauli_bloch_matrix t  let N := 1 + T * B  let d : ℝ := 2 * (1 + ∑ i, b i * t i)  let V : Matrix (Fin 2) (Fin 2) ℂ := Matrix.of (fun i j => u i * star (u j))  change ∀ i j, ((N.mulVec u) i / (Real.sqrt d : ℂ)) *    star ((N.mulVec u) j / (Real.sqrt d : ℂ)) = (1 + T) i j / 2  have hd : 0 < d := by dsimp [d]; positivity  have hV : V = (2 : ℂ)⁻¹ • (1 + B) := by    ext i j    simpa [V, B, div_eq_mul_inv, mul_comm] using hu i j  have houter : Matrix.of (fun i j => (N.mulVec u) i * star ((N.mulVec u) j)) =      N * V * N.conjTranspose := by    ext i j    simp [V, Matrix.mulVec, dotProduct, Matrix.mul_apply, Matrix.conjTranspose_apply,      Fin.sum_univ_two, map_add, map_mul]    ring  have hproj : N * (1 + B) * N.conjTranspose = (d : ℂ) • (1 + T) := by    simpa [N, B, T, d] using pauli_bloch_alignment_projector b t hb ht  have hall : N * V * N.conjTranspose = ((2 : ℂ)⁻¹ * (d : ℂ)) • (1 + T) := by    rw [hV]    simp only [Matrix.mul_smul, Matrix.smul_mul, smul_smul]    rw [hproj, smul_smul]  have hsqrt_ne : (Real.sqrt d : ℂ) ≠ 0 := by    exact_mod_cast (Real.sqrt_ne_zero'.2 hd)  have hsqrt_sq : (Real.sqrt d : ℂ)^2 = (d : ℂ) := by    exact_mod_cast (Real.sq_sqrt hd.le)  intro i j  have hentry := congrArg (fun A : Matrix (Fin 2) (Fin 2) ℂ => A i j) (houter.trans hall)  simp only [Matrix.of_apply, Matrix.smul_apply, smul_eq_mul] at hentry  simp only [star_div₀, Complex.star_def, Complex.conj_ofReal]  field_simp [hsqrt_ne]  simp only [Complex.star_def] at hentry  rw [← hsqrt_sq] at hentry  linear_combination 2 * hentry
See it in the graphDiscuss this resultChallenge it