Perfect matchings of a finite type #
A perfect matching of a type α is a permutation of α that is an involution without
fixed points; equivalently, it partitions α into the unordered pairs {a, f a}. This file
defines perfect matchings, transports them along an equivalence of the underlying types,
reconnects two of their arcs, shows that a perfect matching restricted to the complement of one
of its arcs is again a perfect matching, and counts the perfect matchings of a finite type: a
type of cardinality 2 * m has (2 * m - 1)‼ of them, and a type of odd cardinality has none.
Finally it records the parity consequences of being a product of m disjoint transpositions: the
sign of a perfect matching, and the evenness of the number of orbits of a product of two perfect
matchings.
The counting theorem is the combinatorial content behind the dimension of the Brauer algebra;
see TauCeti/Combinatorics/Brauer/Diagram.lean.
Main definitions #
TauCeti.IsPerfectMatching f: the permutationfis an involution with no fixed point.TauCeti.PerfectMatching α: the type of perfect matchings ofα.TauCeti.PerfectMatching.congr: transporting a perfect matching along an equivalence.TauCeti.PerfectMatching.reconnect: cutting two arcs and joining their ends the other way.TauCeti.PerfectMatching.restrict: the perfect matching induced on the complement of an arc.TauCeti.PerfectMatching.extend: the perfect matching obtained by adjoining an arc.TauCeti.PerfectMatching.fiberEquiv: the two constructions above are mutually inverse.
Main results #
TauCeti.PerfectMatching.ext_of_eqOn: two perfect matchings agreeing on a set containing a partner of every point are equal.TauCeti.even_card_of_nonempty_perfectMatching: a matched type has even cardinality.TauCeti.card_perfectMatching: a type of cardinality2 * mhas(2 * m - 1)‼perfect matchings.TauCeti.IsPerfectMatching.sign_eq: a perfect matching of a type of cardinality2 * mhas sign(-1) ^ m.TauCeti.IsPerfectMatching.two_mul_orbitCount: a perfect matching has half as many orbits as points.TauCeti.IsPerfectMatching.even_orbitCount_mul: the product of two perfect matchings has an even number of orbits.
References #
- Schur--Weyl roadmap, Layer 9.
A permutation of α is a perfect matching when it is an involution with no fixed
point, so that it pairs off the elements of α.
Equations
- TauCeti.IsPerfectMatching f = ((∀ (a : α), f (f a) = a) ∧ ∀ (a : α), f a ≠ a)
Instances For
A permutation is a perfect matching exactly when it is an involution with no fixed point.
A perfect matching is an involution.
A perfect matching moves every point.
The type of perfect matchings of α, a subtype of Equiv.Perm α so that the finiteness
and decidability instances of permutations carry over unchanged.
Equations
Instances For
Equations
- TauCeti.PerfectMatching.instFintypeOfDecidableEq = { elems := TauCeti.PerfectMatching.instFintypeOfDecidableEq._aux_1, complete := ⋯ }
Bundle a permutation that is an involution with no fixed point as a perfect matching.
Equations
- TauCeti.PerfectMatching.mk f hinv hne = ⟨f, ⋯⟩
Instances For
A perfect matching is an involution.
A perfect matching moves every point.
The two ends of an arc determine each other.
Two perfect matchings are equal as soon as they agree on a set s containing the partner, under
the first matching, of every point outside s. For instance s may be the set of half-edges
pointing away from their crossing in an oriented diagram, since every arc has one end there.
The perfect matching induced on the complement of the arc joining a to b.
Equations
- D.restrict hab = ⟨(↑D).subtypePerm ⋯, ⋯⟩
Instances For
The perfect matching of α obtained from a perfect matching of the complement of
{a, b} by adjoining the arc joining a to b.
Equations
Instances For
Adjoining the arc {a, b} sends a to b.
Adjoining the arc {a, b} sends b to a.
Restricting away an arc and then adjoining it back recovers the original matching.
Restricting away an arc and adjoining it back are mutually inverse: the perfect matchings
of α joining a to b are the perfect matchings of the complement of {a, b}.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The fiber equivalence restricts away the arc joining a to b.
The inverse of the fiber equivalence adjoins the arc joining a to b.
Transporting an involution without fixed points along an equivalence leaves it an involution without fixed points.
A permutation is a perfect matching exactly when its transport along an equivalence is.
Transporting a perfect matching along an equivalence of the underlying types: the arc
joining a to b becomes the arc joining e a to e b.
Equations
Instances For
The involution underlying a transported matching is the transported involution.
The transported matching matches b with the image of the partner of e.symm b.
The transported matching matches e a with the image of the partner of a.
Transporting along the identity equivalence changes nothing.
Transports compose: transporting along e and then along e' is transporting along
e.trans e', both matchings sending c to e' (e (D.val (e.symm (e'.symm c)))).
Reconnecting two arcs. Cut the arc of D at a and the arc at b, and join a to b
and D.val a to D.val b; every other arc is kept. It is D transported along the
transposition of D.val a with b. The arcs at a and b are distinct when b ≠ a and
b ≠ D.val a; when b = D.val a the transposition is trivial and the result is D itself.
Equations
- D.reconnect a b = (TauCeti.PerfectMatching.congr (Equiv.swap (↑D a) b)) D
Instances For
The involution underlying a reconnected matching is the old one conjugated by the
transposition of D.val a with b.
Reconnecting the two ends of one arc leaves the matching unchanged.
After reconnecting, a is joined to b.
After reconnecting, b is joined to a.
After reconnecting, the other end D.val a of the first arc is joined to the other end
D.val b of the second.
After reconnecting, the other end D.val b of the second arc is joined to the other end
D.val a of the first.
Reconnecting keeps every arc that does not end at a or b.
Reconnecting an endpoint with itself leaves the matching unchanged.
A type carrying a perfect matching has even cardinality: the arcs pair its elements.
A type of odd cardinality carries no perfect matching.
The number of perfect matchings of a finite type. A type with 2 * m elements has
exactly (2 * m - 1)‼ = 1 · 3 · 5 ⋯ (2 * m - 1) perfect matchings.
The sign of a perfect matching. A perfect matching of a finite type is a product of half as many disjoint transpositions as the type has elements.
A product of two perfect matchings has an even number of orbits. Both factors have the same sign, so the product is even, while the type has even cardinality; the sign of a permutation is the parity of the number of points minus the number of orbits.
A perfect matching has half as many orbits as points: its orbits are its pairs.