Wick contractions #
Given a natural number n
, which will correspond to the number of fields needing
contracting, a Wick contraction
is a finite set of pairs of Fin n
(numbers 0
, ..., n-1
), such that no
element of Fin n
occurs in more than one pair. The pairs are the positions of fields we
'contract' together.
Equations
Instances For
Wick contractions are decidable.
The contraction consisting of no contracted pairs.
Equations
- WickContraction.empty = ⟨∅, ⋯⟩
Instances For
The equivalence between WickContraction n
and WickContraction m
derived from a propositional equality of n
and m
.
Equations
Instances For
Given a contracted pair in c : WickContraction n
the contracted pair
in congr h c
.
Equations
- WickContraction.congrLift h a = ⟨Finset.map (finCongr h).toEmbedding ↑a, ⋯⟩
Instances For
Given a contracted pair in c : WickContraction n
the contracted pair
in congr h c
.
Equations
- WickContraction.congrLiftInv h a = ⟨Finset.map (finCongr ⋯).toEmbedding ↑a, ⋯⟩
Instances For
For a contraction c : WickContraction n
and i : Fin n
the j
such that
{i, j}
is a contracted pair in c
. If such an j
does not exist, this returns none
.
Instances For
Extracting parts from a contraction. #
The smallest of the two positions in a contracted pair given a Wick contraction.
Equations
- c.fstFieldOfContract a = (Finset.sort (fun (x1 x2 : Fin n) => x1 ≤ x2) ↑a).head ⋯
Instances For
The largest of the two positions in a contracted pair given a Wick contraction.
Equations
- c.sndFieldOfContract a = (Finset.sort (fun (x1 x2 : Fin n) => x1 ≤ x2) ↑a).tail.head ⋯
Instances For
As a type, any pair of contractions is equivalent to Fin 2
with 0
being associated with c.fstFieldOfContract a
and 1
being associated with
c.sndFieldOfContract
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
For a field specification 𝓕
, φs
a list of 𝓕.FieldOp
and a Wick contraction
φsΛ
of φs
, the Wick contraction φsΛ
is said to be GradingCompliant
if
for every pair in φsΛ
the contracted fields are either both fermionic
or both bosonic
.
In other words, in a GradingCompliant
Wick contraction if
no contracted pairs occur between fermionic
and bosonic
fields.
Equations
- WickContraction.GradingCompliant φs φsΛ = ∀ (a : { x : Finset (Fin φs.length) // x ∈ ↑φsΛ }), 𝓕.fieldOpStatistic φs[φsΛ.fstFieldOfContract a] = 𝓕.fieldOpStatistic φs[φsΛ.sndFieldOfContract a]
Instances For
An equivalence from the sigma type (a : c.1) × a
to the subtype of Fin n
consisting of
those positions which are contracted.
Equations
- One or more equations did not get rendered due to their size.