Planar Rook Diagrams #
A rook diagram on a $n \times m$ board is a collection of mutually non-attacking rooks. It is planar if no rook is "North-East" or "South-West" of any other.
Diagramatically, we can assign each rook to two numbers indicating its row and column. Due to the non-attacking condition, these numbers are unique to each rook. We can then draw this as two columns of vertices (one of $n$ points and one of $m$) with lines connecting a vertex on the left and on the right if they label the row and column of the same rook. The planarity condition is then equivalent to the condition that these lines do not cross.
A planar rook diagram with n left vertices and m right vertices is given by specifying which left and right vertices are "defects" (connected to eachother)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- PlanarRook.Diagram.instFintype = { elems := Finset.image PlanarRook.Diagram.pi_iso₂.invFun Finset.univ, complete := ⋯ }
Examples #
The empty diagram has no defects
Equations
- PlanarRook.Diagram.empty n m = { left_defects := ∅, right_defects := ∅, consistant := PlanarRook.Diagram.empty._proof_1 }
Instances For
The identity diagram has all vertices as defects
Equations
- PlanarRook.Diagram.id n = { left_defects := Finset.univ, right_defects := Finset.univ, consistant := ⋯ }
Instances For
This is the diagram
──────╮ ╾─
────╮ │ ╾─
─╼ │ ╰-─────
─╼ ╰-───────
╾─
Equations
Instances For
Equations
Instances For
Through indices #
A diagram has a "through-index": the number of defects on each side Diagrammatically, this is the number of lines connecting left and right vertices, or equivalently the number of rooks.
The through index of a diagram is the size of its left (or right) defects.
Equations
Instances For
Through indices are bounded by the size of the left defects.
Through indices are bounded by the size of the right defects.
Diagrams as partial bijections #
A diagram defines a bijection between left and right defects
Instances For
Equations
- PlanarRook.Diagram.of_bijection left_defects right_defects bijection = { left_defects := left_defects, right_defects := right_defects, consistant := ⋯ }
Instances For
Equations
- ⋯ = ⋯
Instances For
Multiplication of diagrams #
Equations
Equations
- ⋯ = ⋯
Instances For
Equations
- ⋯ = ⋯
Instances For
Simple results about multiplication #
The left defects of a product do not change if you only change the right defects of the right factor.
Equations
- ⋯ = ⋯
Instances For
Equations
- ⋯ = ⋯
Instances For
Equations
- ⋯ = ⋯
Instances For
Through degree of multiplication #
Multiplication does not increase the through degree of either diagram.
Equations
- ⋯ = ⋯
Instances For
Lemmata for proving associativity of multiplication #
Associativity of multiplication #
The monoid of planar rook diagrams #
We can now show that the planar rook diagrams with n vertices on each side form a monoid under multiplication.
Equations
- PlanarRook.Monoid = { mul := HMul.hMul, mul_assoc := ⋯, one := PlanarRook.Diagram.id n, one_mul := ⋯, mul_one := ⋯, npow_zero := ⋯, npow_succ := ⋯ }
The twist factor in the monoid #
There is a natural number that arises when multiplying two diagrams,
PlanarRook.Monoid.mul_exponent, which counts the number of disconnected components in the
resulting diagram. This can be used when defining PlanarRook.Algebra to determine the
"twist": the power of δ that appears. Here we collate some results about this number.
Equations
- PlanarRook.Monoid.mul_exponent d₁ d₂ = (d₁.right_defects ∪ d₂.left_defects)ᶜ.card
Instances For
The identity diagram invokes zero twist when multiplied on the right.
Equations
- ⋯ = ⋯
Instances For
The identity diagram invokes zero twist when multiplied on the left.
Equations
- ⋯ = ⋯
Instances For
The twist is additive over associated multipliation as an integer.
Equations
- ⋯ = ⋯
Instances For
The twist is non-negative.
Equations
- ⋯ = ⋯
Instances For
Equations
- ⋯ = ⋯
Instances For
The monoid involution #
There is a natural involution on diagrams, given by reflecting them across the vertical axis. This sends left defects to right defects and vice versa, and reverses the order of multiplication.
Equations
- d.ι = { left_defects := d.right_defects, right_defects := d.left_defects, consistant := ⋯ }
Instances For
The involution preserves the through index.
The involution preserves the multiplication exponent.