Quantum field theory · PhysLib theorem

Full Wick Pairings Are Counted by a Double Factorial

For even n, PhysLib proves that the number of full Wick contractions on n positions is (n−1) double factorial.

Provided by PhysLibLean checkedMeaning reviewed

What it says

What the theorem says

PhysLib identifies a full contraction with a fixed-point-free involution on Fin n and transfers the known even-cardinality formula through that equivalence.

Context

Why it matters

The double-factorial count is the familiar combinatorial growth law behind complete Wick pairings.

Inside the proof

Proof architecture

The proof changes representation rather than counting contractions directly.

Step 1

Require every position to be paired

A full contraction is defined by the empty set of uncontracted fields.

uncontracted(c)=∅

Show the Lean ingredients
def IsFulluncontracted = ∅

Step 2

Convert to a fixed-point-free involution

PhysLib constructs an equivalence between full contractions and involutions of Fin n with no fixed points.

full contractions ≃ fixed-point-free involutions

Show the Lean ingredients
isFullInvolutionEquivisFull_iff_equivInvolution_no_fixed_point

Step 3

Transfer the known count

Cardinality is preserved by the equivalence, and the finite involution count for even n is (n−1)!!.

#full(n)=(n−1)!!

Show the Lean ingredients
Fintype.card_congrinvolutionNoFixed_card_even

Authoritative formal type

Exact PhysLib statement

WickContraction.card_of_isfull_even {n : ℕ} (he : Even n) : Fintype.card {c : WickContraction n // WickContraction.IsFull c} = (n - 1)‼

This is the theorem's exact Lean type. The diagrams and commentary are explanatory; the pinned statement and source are authoritative.

Recorded connections

How this result fits

A one-step view of the published results directly connected to this page.

Current resultFull Wick Pairings Are Counted by a Double Factorial
2 direct connections

Only recorded public relationships are shown. A shared topic does not imply a dependency, and this is not a complete Lean proof-term dependency graph.

Open this result in the full theorem map2 direct connections

Provenance and verification

Sources and technical checks

Show declaration provenance and Lean checks
PhysLib declarationWickContraction.card_of_isfull_even
Source modulePhyslib.QFT.PerturbationTheory.WickContraction.IsFull
Source footprint4 nonempty lines in this declaration · 55 nonempty lines in its module
Checked commit6bd0b4b99d3d
Reported Lean axiomsClassical.choice, Quot.sound, propext
Unresolved placeholdersNo sorryAx reported

View theorem in PhysLib ↗

The declaration footprint describes source layout, not proof difficulty or the size of its dependencies. The pinned checks verify the cited Lean theorem; semantic review remains a separate PhysAtlas judgment.

Expanded visual

Explanatory image · not evidence.

Open original in a new tab