A Quiver G on a type V of vertices assigns to every pair a b : V of vertices
a type a ⟶ b of arrows from a to b.
It is a common generalisation of multigraphs and categories.
This definition is taken from mathlib:
https://leanprover-community.github.io/mathlib_docs/combinatorics/quiver/basic.html#quiver.
- hom : V → V → Sort v
The type of arrows from one vertex to another.
Instances
Arrow notation for the hom type of a quiver.
Equations
- LeanPool.Polylean.«term_⟶_» = Lean.ParserDescr.trailingNode `LeanPool.Polylean.«term_⟶_» 10 11 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⟶ ") (Lean.ParserDescr.cat `term 10))
Instances For
The identity morphism between quivers.
Instances For
Equations
Composition of morphisms between quivers.
Instances For
Convert a single quiver arrow to a path.
Equations
Instances For
The empty path at a vertex, with its vertex explicit for pattern matching.
Instances For
A path formed by adding an edge to the front, with endpoints explicit for matching.
Equations
Instances For
Concatenate an edge to the end of a path.
Equations
Instances For
Append an edge to the end of a path, with endpoints explicit for matching.
Equations
Instances For
Concatenation of paths.
Equations
- LeanPool.Polylean.Path.nil.append x✝ = x✝
- (LeanPool.Polylean.Path.cons e p').append x✝ = LeanPool.Polylean.Path.cons e (p'.append x✝)
Instances For
The length of a path.
Equations
Instances For
The end-point of the first edge in the path.
Equations
Instances For
The source of the last end in the path.
Equations
Instances For
A loop is a path whose source and target are the same vertex.
Equations
Instances For
Regard a loop as a path.
Equations
Instances For
The empty loop.
Instances For
The next vertex reached by the first edge of a loop.
Instances For
Concatenate two loops.