The Katona circle method #
This file provides tooling to use the Katona circle method, which is double-counting ways to order
n elements on a circle under some condition.
@[simp]
IsPrefix f s means that the elements of s precede the elements of sแถ
in the numbering f.
Equations
Instances For
instance
Numbering.instDecidableIsPrefix
{X : Type u_1}
[Fintype X]
{f : Numbering X}
{s : Finset X}
[DecidableEq X]
:
Equations
The set of numberings of which s is a prefix.
Equations
Instances For
@[simp]
theorem
Numbering.mem_prefixed
{X : Type u_1}
[Fintype X]
{f : Numbering X}
{s : Finset X}
[DecidableEq X]
:
Decompose a numbering of which s is a prefix into a numbering of s and a numbering on sแถ.
Equations
Instances For
@[simp]