Digitalizing Wick's theorem
Wick's theorem is a cornerstone of perturbative quantum field theory relating time-ordered and normal-ordered products of field operators, but it has not been formally verified in a proof assistant.
The authors digitalize Wick's theorem and its proof in Lean 4 as part of the PhysLean project. The formalization covers the operator algebra (FieldOpFreeAlgebra, WickAlgebra), time-ordering and normal-ordering maps, and the combinatorial structure of Wick contractions. Both the static and normal-ordered versions of Wick's theorem are formalized.
The formalization provides machine-checked proofs of three versions of Wick's theorem (standard, static, and normal-ordered) in Lean 4. The type-theoretic representation of Wick contractions and the algebraic infrastructure are part of the PhysLean library.
