ValidSplit: combinatorial splits of 2m into two groups of m #
A ValidSplit m is an assignment of each of 2m indices to one of two
groups, with exactly m indices assigned to the first group. The type has
cardinality Nat.choose (2 * m) m and comes equipped with Fintype and
(discrete) MeasurableSpace instances.
A split of a 2m-element set into two groups of m.
Assignment of each of
2 * mindices to one of two groups.Exactly
mindices are assigned to the first group.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
@[implicit_reducible]
ValidSplit m is finite: a subtype of the finite type Fin (2*m) → Bool.
Equations
- instFintypeValidSplit m = Fintype.ofInjective (fun (vs : ProbabilityTheory.ValidSplit m) => vs.assign) ⋯