refactor: Lint

This commit is contained in:
jstoobysmith 2024-11-19 17:00:02 +00:00
parent 2bc561535a
commit b8aae5ac3f

View file

@ -125,7 +125,8 @@ def halfEdgeType {n : } {c : Fin n → 𝓔} : FeynmanTree c → Type := fun
| join _ _ _ t => t.halfEdgeType
/-- The map taking each half-edge to it's associated vertex. -/
def halfEdgeToVertex {n : } {c : Fin n → 𝓔} : (T : FeynmanTree c) → T.halfEdgeType → T.vertexType := fun
def halfEdgeToVertex {n : } {c : Fin n → 𝓔} : (T : FeynmanTree c) →
T.halfEdgeType → T.vertexType := fun
| vertex v => fun _ => ()
| union t1 t2 => Sum.map t1.halfEdgeToVertex t2.halfEdgeToVertex
| join _ _ _ t => t.halfEdgeToVertex