Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Quantum features of macroscopic fields. Entropy and dynamics

Definition
QAlgorithms_Papers_Independent_Intake100_P24

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of Quantum features of macroscopic fields. Entropy and dynamics (arXiv:1904.06170) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • PolarizationMatrix: Two polarization coordinates, ordered 0 then 1 (PDF pp.2,8). Fin 2 matches the accepted trace dual; finTwoEquiv sends 0 to false and 1 to true when importing the frozen Pauli matrices.
  • JonesVector: Jones amplitudes carry intensity and are not unit vectors (PDF pp.1,8).
  • stokesMatrix: The Pauli expansion (2), with the frozen Pauli sign convention (PDF p.2).
  • jonesOuter: The unnormalized Jones outer product (PDF pp.8–9).
  • leftMultiplication: Left multiplication as a continuous complex-linear map (PDF p.8, (46)).
  • rightMultiplication: Right multiplication as a continuous complex-linear map (PDF p.8, (46)).
  • jonesConjugation: The map X ↦ V X V†, without a trace-preservation requirement (PDF p.9).
  • IsDoublyContracting: Complete positivity and both passive inequalities (50) (PDF pp.8–9). All order comparisons use positive semidefinite differences.
  • IsScatteringUnitary: Unitary support for an ordinary finite-rate scattering measure (PDF pp.6,8).
  • decoherencePart: The Hermitian dissipative part of (49) (PDF p.8).
  • frequencyShift: The Hermitian frequency shift in B = i delta + gamma_dec (PDF p.8, (49)).
  • stokesGenerator: The literal standalone Stokes generator (46) (PDF p.8). Absorption has coefficient one, as printed. Correction: the stray S_1 in (46) is read as S, the matrix explicitly evolved there; no S_1 is defined. This definition makes no claim of compatibility with the differently normalized Jones equation (48). The measure is used below only when finite and supported on unitaries.
  • muellerPropagation: Integration of the constant-coefficient Stokes equation (46) (PDF pp.8–9). This exponential constructs the global map rather than assuming its passivity.
  • jonesPropagation: Integration of the standalone Jones equation (48) (PDF pp.8–9).
  • MuellerJonesPair: Abstract Mueller–Jones pairs from the paragraph after (54) (PDF p.9).
  • IsMuellerJones: Admissibility of an abstract optical map, including the positive difference (PDF p.9). No full-field realization of an arbitrary pair is assumed.
  • muellerJonesCompose: Composition (55): the right device acts first (PDF p.9).
  • modeEntropy: One-mode entropy g(lambda); natural logarithms, 0 log 0 = 0 (PDF pp.5,9).
  • polarizationEntropy: Spectral form of (32) specialized to an admissible polarization pair (PDF p.9). It is extended nonnegative entropy; the two-mode sum is necessarily finite. This is not the entropy of an arbitrary pure full-field density.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Gates
import Definitions.Def_QAlgorithms_Defs_MatrixMapPositivity
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P49
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P30

/-!
Statements from R. Alicki, arXiv:1904.06170v1.
The finite-dimensional polarization results below are independent of the defective
full-field-to-polarization reduction (45),(47). Full-Fock interfaces and the
inconsistent kinetic claims are recorded in this unit's HARD.md and GAPS.json.
-/

noncomputable section

open scoped Matrix ComplexConjugate ENNReal ComplexOrder Matrix.Norms.L2Operator
open MeasureTheory
open QAlgorithms.Papers.Independent.Dependency50.P49 (traceDual)
open QAlgorithms.Papers.Independent.Information100.P30 (IsPositiveMap)

namespace QAlgorithms.Papers.Independent.Intake100.P24

/-- Two polarization coordinates, ordered 0 then 1 (PDF pp.2,8).
Fin 2 matches the accepted trace dual; finTwoEquiv sends 0 to false and 1 to true
when importing the frozen Pauli matrices. -/
abbrev PolarizationMatrix := Matrix (Fin 2) (Fin 2) ℂ

-- Scattering is measured with the Borel sigma-algebra of the matrix topology.
local instance : MeasurableSpace PolarizationMatrix := borel PolarizationMatrix

local instance : BorelSpace PolarizationMatrix := ⟨rfl⟩

/-- Jones amplitudes carry intensity and are not unit vectors (PDF pp.1,8). -/
abbrev JonesVector := Fin 2 → ℂ

/-- The Pauli expansion (2), with the frozen Pauli sign convention (PDF p.2). -/
def stokesMatrix (s0 s1 s2 s3 : ℝ) : PolarizationMatrix :=
  ((1 / 2 : ℂ) • ((s0 : ℂ) • 1 + (s1 : ℂ) • QAlgorithms.pauliX +
    (s2 : ℂ) • QAlgorithms.pauliY + (s3 : ℂ) • QAlgorithms.pauliZ)).submatrix
      finTwoEquiv finTwoEquiv

/-- The unnormalized Jones outer product (PDF pp.8–9). -/
def jonesOuter (alpha : JonesVector) : PolarizationMatrix :=
  Matrix.vecMulVec alpha (fun j => star (alpha j))

/-- Left multiplication as a continuous complex-linear map (PDF p.8, (46)). -/
def leftMultiplication (A : PolarizationMatrix) :
    PolarizationMatrix →L[ℂ] PolarizationMatrix :=
  LinearMap.toContinuousLinearMap (LinearMap.mulLeft ℂ A)

/-- Right multiplication as a continuous complex-linear map (PDF p.8, (46)). -/
def rightMultiplication (A : PolarizationMatrix) :
    PolarizationMatrix →L[ℂ] PolarizationMatrix :=
  LinearMap.toContinuousLinearMap (LinearMap.mulRight ℂ A)

/-- The map X ↦ V X V†, without a trace-preservation requirement (PDF p.9). -/
def jonesConjugation (V : PolarizationMatrix) :
    PolarizationMatrix →ₗ[ℂ] PolarizationMatrix :=
  ((rightMultiplication Vᴴ).comp (leftMultiplication V)).toLinearMap

/-- Complete positivity and both passive inequalities (50) (PDF pp.8–9).
All order comparisons use positive semidefinite differences. -/
def IsDoublyContracting (Phi : PolarizationMatrix →ₗ[ℂ] PolarizationMatrix) : Prop :=
  QAlgorithms.Entanglement.IsCompletelyPositive Phi ∧
    (1 - Phi 1).PosSemidef ∧ (1 - traceDual Phi 1).PosSemidef

/-- Unitary support for an ordinary finite-rate scattering measure (PDF pp.6,8). -/
def IsScatteringUnitary (U : PolarizationMatrix) : Prop :=
  U * Uᴴ = 1 ∧ Uᴴ * U = 1

/-- The Hermitian dissipative part of (49) (PDF p.8). -/
def decoherencePart (B : PolarizationMatrix) : PolarizationMatrix :=
  (1 / 2 : ℂ) • (B + Bᴴ)

/-- The Hermitian frequency shift in B = i delta + gamma_dec (PDF p.8, (49)). -/
def frequencyShift (B : PolarizationMatrix) : PolarizationMatrix :=
  (-Complex.I / 2) • (B - Bᴴ)

/-- The literal standalone Stokes generator (46) (PDF p.8).
Absorption has coefficient one, as printed. Correction: the stray S_1 in (46)
is read as S, the matrix explicitly evolved there; no S_1 is defined.
This definition makes no claim of
compatibility with the differently normalized Jones equation (48).
The measure is used below only when finite and supported on unitaries. -/
def stokesGenerator (omega gamma : PolarizationMatrix)
    (mu : Measure PolarizationMatrix) : PolarizationMatrix →L[ℂ] PolarizationMatrix :=
  (-Complex.I) • (leftMultiplication omega - rightMultiplication omega) -
    (leftMultiplication gamma + rightMultiplication gamma) +
    ∫ U, LinearMap.toContinuousLinearMap (jonesConjugation U) -
      ContinuousLinearMap.id ℂ PolarizationMatrix ∂mu

/-- Integration of the constant-coefficient Stokes equation (46) (PDF pp.8–9).
This exponential constructs the global map rather than assuming its passivity. -/
def muellerPropagation (omega gamma : PolarizationMatrix)
    (mu : Measure PolarizationMatrix) (t : ℝ) :
    PolarizationMatrix →ₗ[ℂ] PolarizationMatrix :=
  (NormedSpace.exp ((t : ℂ) • stokesGenerator omega gamma mu)).toLinearMap

/-- Integration of the standalone Jones equation (48) (PDF pp.8–9). -/
def jonesPropagation (omega gamma gammaDec : PolarizationMatrix) (t : ℝ) :
    PolarizationMatrix :=
  NormedSpace.exp ((-(t : ℂ)) •
    (Complex.I • omega + (1 / 2 : ℂ) • gamma + gammaDec))

/-- Abstract Mueller–Jones pairs from the paragraph after (54) (PDF p.9). -/
abbrev MuellerJonesPair :=
  (PolarizationMatrix →ₗ[ℂ] PolarizationMatrix) × PolarizationMatrix

/-- Admissibility of an abstract optical map, including the positive difference (PDF p.9).
No full-field realization of an arbitrary pair is assumed. -/
def IsMuellerJones (P : MuellerJonesPair) : Prop :=
  IsDoublyContracting P.1 ∧ (1 - P.2 * P.2ᴴ).PosSemidef ∧
    IsPositiveMap (P.1 - jonesConjugation P.2)

/-- Composition (55): the right device acts first (PDF p.9). -/
def muellerJonesCompose (P Q : MuellerJonesPair) : MuellerJonesPair :=
  (P.1.comp Q.1, P.2 * Q.2)

/-- One-mode entropy g(lambda); natural logarithms, 0 log 0 = 0 (PDF pp.5,9). -/
def modeEntropy (x : ℝ) : ℝ :=
  (x + 1) * Real.log (x + 1) - x * Real.log x

/-- Spectral form of (32) specialized to an admissible polarization pair (PDF p.9).
It is extended nonnegative entropy; the two-mode sum is necessarily finite.
This is not the entropy of an arbitrary pure full-field density. -/
def polarizationEntropy (kB : ℝ) (S : PolarizationMatrix) (alpha : JonesVector)
    (hCov : (S - jonesOuter alpha).PosSemidef) : ℝ≥0∞ :=
  ENNReal.ofReal kB * ∑ j : Fin 2,
    ENNReal.ofReal (modeEntropy (hCov.isHermitian.eigenvalues j))

/-- Zero intensity is allowed in (2) (PDF p.2). -/
example : stokesMatrix 0 0 0 0 = 0 := by
  simp [stokesMatrix]

/-- A zero Jones amplitude contributes no coherent intensity (PDF p.9). -/
example : jonesOuter 0 = 0 := by
  ext i j
  simp [jonesOuter, Matrix.vecMulVec]

/-- Multiplication maps have the intended order (PDF p.9, (51)). -/
example (V X : PolarizationMatrix) : jonesConjugation V X = V * X * Vᴴ := rfl

/-- The zero optical map has zero dual (PDF p.9, (51)). -/
example (M : PolarizationMatrix) :
    traceDual (0 : PolarizationMatrix →ₗ[ℂ] PolarizationMatrix) M = 0 := by
  ext i j
  change (∑ a : Fin 2, ∑ b : Fin 2, (0 : ℂ) * M a b) = 0
  simp

/-- A zero map is positive without preserving trace (PDF p.9). -/
example : IsPositiveMap (0 : PolarizationMatrix →ₗ[ℂ] PolarizationMatrix) := by
  intro X hX
  exact Matrix.PosSemidef.zero

/-- Zero scattering produces no decoherence or frequency shift (PDF p.8). -/
example : decoherencePart 0 = 0 ∧ frequencyShift 0 = 0 := by
  simp [decoherencePart, frequencyShift]

/-- The identity scattering matrix is allowed (PDF p.8). -/
example : IsScatteringUnitary 1 := by
  simp [IsScatteringUnitary]

/-- A zero propagation time acts identically on Jones amplitudes (PDF p.9, (53)). -/
example (omega gamma gammaDec : PolarizationMatrix) :
    jonesPropagation omega gamma gammaDec 0 = 1 := by
  simp [jonesPropagation]

/-- The order of paired composition follows (55) (PDF p.9). -/
example (P Q : MuellerJonesPair) :
    (muellerJonesCompose P Q).2 = P.2 * Q.2 := rfl

/-- Vacuum occupation contributes zero entropy (PDF p.5, (32)). -/
example : modeEntropy 0 = 0 := by
  simp [modeEntropy]

end QAlgorithms.Papers.Independent.Intake100.P24
Source
Quantum features of macroscopic fields. Entropy and dynamics, arXiv:1904.06170v1, https://arxiv.org/abs/1904.06170v1
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

QAlgorithms.Papers.Independent.Intake100.P24.IsDoublyContracting

A complex-linear map Φ:M2(C)→M2(C)\Phi:M_2(\mathbb C)\to M_2(\mathbb C)Φ:M2​(C)→M2​(C) satisfies this predicate exactly when it is completely positive and both I2−Φ(I2)I_2-\Phi(I_2)I2​−Φ(I2​) and I2−Φtr(I2)I_2-\Phi^{\mathrm{tr}}(I_2)I2​−Φtr(I2​) are positive semidefinite. Here complete positivity means that for every natural number rrr, including r=0r=0r=0, applying Φ\PhiΦ to every 2×22\times22×2 block of any positive semidefinite matrix indexed by {0,…,r−1}×{0,1}\{0,\ldots,r-1\}\times\{0,1\}{0,…,r−1}×{0,1} produces a positive semidefinite matrix. The second map is specified entrywise by

(Φtr(Y))ij=∑x,y=01(Φ(Eji))yxYxy,\bigl(\Phi^{\mathrm{tr}}(Y)\bigr)_{ij} =\sum_{x,y=0}^{1}\bigl(\Phi(E_{ji})\bigr)_{yx}Y_{xy},(Φtr(Y))ij​=x,y=0∑1​(Φ(Eji​))yx​Yxy​,

where EjiE_{ji}Eji​ has its only nonzero entry, equal to one, in row jjj and column iii; consequently (Φtr(I2))ij=tr⁡(Φ(Eji))\bigl(\Phi^{\mathrm{tr}}(I_2)\bigr)_{ij}=\operatorname{tr}(\Phi(E_{ji}))(Φtr(I2​))ij​=tr(Φ(Eji​)).

QAlgorithms.Papers.Independent.Intake100.P24.IsMuellerJones

For a pair P=(Φ,V)P=(\Phi,V)P=(Φ,V) consisting of a complex-linear map on complex 2×22\times22×2 matrices and a complex 2×22\times22×2 matrix, this predicate means that all the following hold: Φ\PhiΦ is completely positive, meaning that every amplification acting as Φ\PhiΦ on each 2×22\times22×2 block preserves positive semidefiniteness for every ancillary dimension r∈Nr\in\mathbb Nr∈N, including r=0r=0r=0; the matrices I−Φ(I)I-\Phi(I)I−Φ(I), I−DΦ(I)I-D_\Phi(I)I−DΦ​(I), and I−VV†I-VV^\daggerI−VV† are positive semidefinite; and Φ(X)−VXV†\Phi(X)-VXV^\daggerΦ(X)−VXV† is positive semidefinite for every positive semidefinite XXX. Here the map DΦD_\PhiDΦ​ is defined entrywise, with indices in {0,1}\{0,1\}{0,1} and matrix units EijE_{ij}Eij​, by

[DΦ(M)]ij=∑x,y=01[Φ(Eji)]yxMxy.[D_\Phi(M)]_{ij}=\sum_{x,y=0}^{1}[\Phi(E_{ji})]_{yx}M_{xy}.[DΦ​(M)]ij​=x,y=0∑1​[Φ(Eji​)]yx​Mxy​.

QAlgorithms.Papers.Independent.Intake100.P24.IsScatteringUnitary

A complex 2×22\times22×2 matrix UUU satisfies this predicate exactly when both

UU†=I2andU†U=I2,UU^\dagger=I_2 \quad\text{and}\quad U^\dagger U=I_2,UU†=I2​andU†U=I2​,

where U†U^\daggerU† is its conjugate transpose.

QAlgorithms.Papers.Independent.Intake100.P24.JonesVector

A Jones vector is an arbitrary function α:{0,1}→C\alpha:\{0,1\}\to\mathbb Cα:{0,1}→C, equivalently an arbitrary vector in C2\mathbb C^2C2. No normalization or nonzero condition is imposed.

QAlgorithms.Papers.Independent.Intake100.P24.MuellerJonesPair

This abbreviates the type of all ordered pairs (Φ,V)(\Phi,V)(Φ,V), where Φ\PhiΦ is a complex-linear map from complex 2×22\times22×2 matrices to complex 2×22\times22×2 matrices and VVV is a complex 2×22\times22×2 matrix. The type itself imposes no positivity, normalization, or contraction conditions.

QAlgorithms.Papers.Independent.Intake100.P24.PolarizationMatrix

A polarization matrix is an arbitrary 2×22\times22×2 matrix with complex entries, whose rows and columns are indexed by {0,1}\{0,1\}{0,1}. No positivity, Hermitian symmetry, trace, or normalization condition is imposed.

QAlgorithms.Papers.Independent.Intake100.P24.decoherencePart

For every complex 2×22\times22×2 matrix BBB, this defines the matrix

B+B†2.\frac{B+B^\dagger}{2}.2B+B†​.

No conditions on BBB are assumed.

QAlgorithms.Papers.Independent.Intake100.P24.frequencyShift

For every complex 2×22\times22×2 matrix BBB, this defines the matrix

−i2(B−B†),-\frac{\mathrm i}{2}(B-B^\dagger),−2i​(B−B†),

where B†B^\daggerB† is the conjugate transpose. No conditions on BBB are assumed.

QAlgorithms.Papers.Independent.Intake100.P24.jonesConjugation

For every complex 2×22\times22×2 matrix VVV, this defines the complex-linear map

X⟼VXV†,X\longmapsto VXV^\dagger,X⟼VXV†,

where V†V^\daggerV† is the conjugate transpose. No unitarity, invertibility, or contraction condition is imposed on VVV.

QAlgorithms.Papers.Independent.Intake100.P24.jonesOuter

For any Jones vector α∈C2\alpha\in\mathbb C^2α∈C2, the defined polarization matrix has entries

(jonesOuter⁡(α))ij=αiαj‾,i,j∈{0,1}.\bigl(\operatorname{jonesOuter}(\alpha)\bigr)_{ij} =\alpha_i\overline{\alpha_j}, \qquad i,j\in\{0,1\}.(jonesOuter(α))ij​=αi​αj​​,i,j∈{0,1}.

Thus it is the outer product αα†\alpha\alpha^\daggerαα†, including the zero matrix when α=0\alpha=0α=0; no normalization of α\alphaα is assumed.

QAlgorithms.Papers.Independent.Intake100.P24.jonesPropagation

For arbitrary complex 2×22\times22×2 matrices ω,γ,γDec\omega,\gamma,\gamma_{\mathrm{Dec}}ω,γ,γDec​ and any real ttt, this defines the complex 2×22\times22×2 matrix

Jt=exp⁡ ⁣[−t(iω+12γ+γDec)],J_t=\exp\!\left[-t\left(i\omega+\tfrac12\gamma+\gamma_{\mathrm{Dec}}\right)\right],Jt​=exp[−t(iω+21​γ+γDec​)],

using the matrix exponential. There are no Hermiticity, positivity, commutativity, or sign assumptions; in particular, t=0t=0t=0 gives the identity matrix.

QAlgorithms.Papers.Independent.Intake100.P24.leftMultiplication

For every complex 2×22\times22×2 matrix AAA, this defines the continuous complex-linear operator on complex 2×22\times22×2 matrices given by X↦AXX\mapsto AXX↦AX. There are no additional conditions on AAA.

QAlgorithms.Papers.Independent.Intake100.P24.modeEntropy

For every real xxx, this defines the real number

h(x)=(x+1)log⁡(x+1)−xlog⁡x.h(x)=(x+1)\log(x+1)-x\log x.h(x)=(x+1)log(x+1)−xlogx.

The logarithm is the total real logarithm: log⁡0=0\log 0=0log0=0, and for negative arguments it equals the logarithm of their absolute value. Consequently the definition includes negative xxx, as well as x=0x=0x=0 and x=−1x=-1x=−1; both of those latter values give h(x)=0h(x)=0h(x)=0.

QAlgorithms.Papers.Independent.Intake100.P24.muellerJonesCompose

For arbitrary pairs P=(Φ,V)P=(\Phi,V)P=(Φ,V) and Q=(Ψ,W)Q=(\Psi,W)Q=(Ψ,W), where Φ,Ψ\Phi,\PsiΦ,Ψ are complex-linear maps on complex 2×22\times22×2 matrices and V,WV,WV,W are complex 2×22\times22×2 matrices, this defines

P⊛Q=(Φ∘Ψ,VW).P\mathbin{\circledast}Q=(\Phi\circ\Psi,VW).P⊛Q=(Φ∘Ψ,VW).

Thus its first component sends XXX to Φ(Ψ(X))\Phi(\Psi(X))Φ(Ψ(X)), and its second component is the matrix product VWVWVW. No validity or positivity assumptions on either pair are required.

QAlgorithms.Papers.Independent.Intake100.P24.muellerPropagation

For arbitrary complex 2×22\times22×2 matrices ω,γ\omega,\gammaω,γ, a Borel measure μ\muμ on the space of complex 2×22\times22×2 matrices, and any real ttt, this defines the complex-linear map Φt=exp⁡(tL)\Phi_t=\exp(t\mathcal L)Φt​=exp(tL), where the exponential is taken in the algebra of continuous complex-linear operators and

L(X)=−i(ωX−Xω)−(γX+Xγ)+∫(UXU†−X) dμ(U).\mathcal L(X)=-i(\omega X-X\omega)-(\gamma X+X\gamma) +\int (UXU^\dagger-X)\,d\mu(U).L(X)=−i(ωX−Xω)−(γX+Xγ)+∫(UXU†−X)dμ(U).

The integral here is the Bochner integral of the operators X↦UXU†−XX\mapsto UXU^\dagger-XX↦UXU†−X. No Hermiticity, positivity, unitarity, finiteness of μ\muμ, integrability, or sign condition on ttt is required by this definition; the total Bochner integral is zero if its integrand is not integrable.

QAlgorithms.Papers.Independent.Intake100.P24.polarizationEntropy

For any real kBk_BkB​, complex 2×22\times22×2 matrix SSS, and vector α∈C2\alpha\in\mathbb C^2α∈C2, supplied with a hypothesis that C=S−αα†C=S-\alpha\alpha^\daggerC=S−αα† is positive semidefinite, this defines the extended nonnegative real number

max⁡(kB,0)∑j=01max⁡ ⁣((λj+1)log⁡(λj+1)−λjlog⁡λj, 0),\max(k_B,0)\sum_{j=0}^{1} \max\!\left((\lambda_j+1)\log(\lambda_j+1)-\lambda_j\log\lambda_j,\,0\right),max(kB​,0)j=0∑1​max((λj​+1)log(λj​+1)−λj​logλj​,0),

where λ0,λ1\lambda_0,\lambda_1λ0​,λ1​ are the real eigenvalues supplied by the Hermitian property of CCC, counted with multiplicity, and each displayed nonnegative real is embedded in [0,∞][0,\infty][0,∞]. No trace normalization is assumed for SSS or CCC, and α\alphaα need not be a unit vector. Zero eigenvalues contribute zero, using log⁡0=0\log0=0log0=0, and kB≤0k_B\le0kB​≤0 gives zero.

QAlgorithms.Papers.Independent.Intake100.P24.rightMultiplication

For every complex 2×22\times22×2 matrix AAA, this defines the continuous complex-linear operator on complex 2×22\times22×2 matrices given by X↦XAX\mapsto XAX↦XA. There are no additional conditions on AAA.

QAlgorithms.Papers.Independent.Intake100.P24.stokesGenerator

For any complex 2×22\times22×2 matrices ω,γ\omega,\gammaω,γ and any measure μ\muμ on complex 2×22\times22×2 matrices, equipped with the Borel sigma-algebra of their matrix topology, this defines the continuous complex-linear operator

G=−i(Lω−Rω)−(Lγ+Rγ)+∫KU dμ(U),LA(X)=AX,RA(X)=XA,KU(X)=UXU†−X.\mathcal G =-\mathrm i(L_\omega-R_\omega)-(L_\gamma+R_\gamma) +\int K_U\,d\mu(U), \qquad L_A(X)=AX,\quad R_A(X)=XA,\quad K_U(X)=UXU^\dagger-X.G=−i(Lω​−Rω​)−(Lγ​+Rγ​)+∫KU​dμ(U),LA​(X)=AX,RA​(X)=XA,KU​(X)=UXU†−X.

The integral is a Bochner integral in the space of continuous complex-linear operators on M2(C)M_2(\mathbb C)M2​(C). Neither Hermitian symmetry of ω\omegaω or γ\gammaγ, positivity of γ\gammaγ, finiteness of μ\muμ, support on unitary matrices, nor integrability of U↦KUU\mapsto K_UU↦KU​ is required. Under the total integral convention used here, the operator integral is zero when this integrand is not Bochner integrable.

QAlgorithms.Papers.Independent.Intake100.P24.stokesMatrix

For any four real numbers s0,s1,s2,s3s_0,s_1,s_2,s_3s0​,s1​,s2​,s3​, the defined polarization matrix is

S(s0,s1,s2,s3)=12(s0+s3s1−is2s1+is2s0−s3).S(s_0,s_1,s_2,s_3)=\frac12 \begin{pmatrix} s_0+s_3 & s_1-\mathrm i s_2\\ s_1+\mathrm i s_2 & s_0-s_3 \end{pmatrix}.S(s0​,s1​,s2​,s3​)=21​(s0​+s3​s1​+is2​​s1​−is2​s0​−s3​​).

The parameters are unrestricted; in particular, the definition does not require this matrix to be positive semidefinite or to have trace one.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me