Wide subquivers #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
A wide subquiver H of a quiver H consists of a subset of the edge set a ⟶ b for
every pair of vertices a b : V. We include 'wide' in the name to emphasize that these
subquivers by definition contain all vertices.
A wide subquiver H of G picks out a set H a b of arrows from a to b
for every pair of vertices a b.
NB: this does not work for Prop-valued quivers. It requires G : quiver.{v+1} V.
Equations
- wide_subquiver V = Π (a b : V), set (a ⟶ b)
Instances for wide_subquiver
A type synonym for V, when thought of as a quiver having only the arrows from
some wide_subquiver.
Equations
- wide_subquiver.to_Type V H = V
Equations
- wide_subquiver_has_coe_to_sort = {coe := λ (H : wide_subquiver V), wide_subquiver.to_Type V H}
Equations
- quiver.wide_subquiver.has_bot = {bot := λ (a b : V), ∅}
Equations
- quiver.wide_subquiver.has_top = {top := λ (a b : V), set.univ}
Equations
A wide subquiver of G can equivalently be viewed as a total set of arrows.
An L-labelling of a quiver assigns to every arrow an element of L.
Equations
- quiver.labelling V L = Π ⦃a b : V⦄, (a ⟶ b) → L
Instances for quiver.labelling
Equations
- quiver.labelling.inhabited L = {default := λ (a b : V) (e : a ⟶ b), inhabited.default}