structure
RandomInjection.BipartiteMatching
(X : Type u_3)
(Y : Type u_4)
[DecidableEq X]
[DecidableEq Y]
:
Type (max u_3 u_4)
A bipartite matching between $X$ and $Y$: a finite set of edges $(x, y)$ in which no two distinct edges share a left endpoint or a right endpoint.
Instances For
def
RandomInjection.BipartiteMatching.leftVertices
{X : Type u_1}
{Y : Type u_2}
[DecidableEq X]
[DecidableEq Y]
(F : BipartiteMatching X Y)
:
Finset X
The set of left vertices covered by the bipartite matching $F$.
Instances For
def
RandomInjection.BipartiteMatching.rightVertices
{X : Type u_1}
{Y : Type u_2}
[DecidableEq X]
[DecidableEq Y]
(F : BipartiteMatching X Y)
:
Finset Y
The set of right vertices covered by the bipartite matching $F$.
Instances For
def
RandomInjection.BipartiteMatching.IsComplete
{X : Type u_1}
{Y : Type u_2}
[DecidableEq X]
[DecidableEq Y]
[Fintype X]
(M : BipartiteMatching X Y)
:
A bipartite matching is complete (a perfect matching from $X$) if every left vertex is covered.
Instances For
def
RandomInjection.VertexDisjoint
{X : Type u_1}
{Y : Type u_2}
[DecidableEq X]
[DecidableEq Y]
(F₁ F₂ : BipartiteMatching X Y)
:
Two bipartite matchings are vertex-disjoint if their left vertex sets and their right vertex sets are both disjoint.
Instances For
def
RandomInjection.CanonicalNegDepGraph
{X : Type u_1}
{Y : Type u_2}
[DecidableEq X]
[DecidableEq Y]
{n : ℕ}
(F : Fin n → BipartiteMatching X Y)
:
SimpleGraph (Fin n)
Canonical dependency graph for a family $(F_i)$ of matchings (Setup 6.5.4): vertices are the indices, and $i, j$ are adjacent when they are distinct and the matchings $F_i, F_j$ share a left or right endpoint.