feat: Add informal_defns

This commit is contained in:
jstoobysmith 2024-11-29 16:20:54 +00:00
parent 0c7b2e136f
commit 8899701072
2 changed files with 12 additions and 2 deletions

View file

@ -635,6 +635,11 @@ def unbound {ni : } {i : Fin ni → 𝓔} {n : } {c : Fin n → 𝓔}
· exact List.Sorted.get_strictMono w.unboundList_sorted
· exact fun ⦃a b⦄ a => a
informal_definition HasEqualTimeContractions where
math :≈ "The condition for a Wick contraction to have two fields contracted
which are of equal time, i.e. come from the same vertex."
deps :≈ [``WickContract]
end WickContract
end TwoComplexScalar

View file

@ -132,7 +132,7 @@ def size {ni : } {i : Fin ni → 𝓔} {n : } {c : Fin n → 𝓔} {no :
| outgoing w e => size w + 1
| endOutgoing w => size w + 1
/-- The number of vertices in a Wick string. -/
/-- The number of vertices in a Wick string. This does NOT include external vertices. -/
def numVertex {ni : } {i : Fin ni → 𝓔} {n : } {c : Fin n → 𝓔} {no : } {o : Fin no → 𝓔}
{f : WickStringLast} : WickString i c o f → := fun
| empty => 0
@ -143,7 +143,7 @@ def numVertex {ni : } {i : Fin ni → 𝓔} {n : } {c : Fin n → 𝓔} {n
| outgoing w e => numVertex w
| endOutgoing w => numVertex w
/-- The vertices present in a Wick string. -/
/-- The vertices present in a Wick string. This does NOT include external vertices. -/
def vertices {ni : } {i : Fin ni → 𝓔} {n : } {c : Fin n → 𝓔} {no : } {o : Fin no → 𝓔}
{f : WickStringLast} : (w : WickString i c o f) → Fin w.numVertex → 𝓥 := fun
| empty => Fin.elim0
@ -154,6 +154,11 @@ def vertices {ni : } {i : Fin ni → 𝓔} {n : } {c : Fin n → 𝓔} {no
| outgoing w e => vertices w
| endOutgoing w => vertices w
informal_definition fieldToVertex where
math :≈ "A function which takes a field and returns the vertex it is associated with.
This is a map from `Fin n` to `Fin w.numVertex`"
deps :≈ [``WickString]
informal_definition exponentialPrefactor where
math :≈ "The combinatorical prefactor from the expansion of the
exponential associated with a Wick string."