Combinations #
Combinations in a type are finite subsets of given cardinality. This file provides some API for handling them, especially in the context of a group action.
Set.powersetCard α nis the set of allFinset αwith cardinalityn. The name is chosen in relation withFinset.powersetCardwhich corresponds to the analogous structure for subsets of given cardinality of a givenFinset, as aFinset.Set.powersetCard.cardproves that theNat.card-cardinality of this set is equal to(Nat.card α).choose n.Set.powersetCard.subMulAction: When a groupGacts onα, theSubMulActionofGonpowersetCard α n.
This induces a MulAction G (powersetCard α n) instance. Then:
Set.powerSetCard.mulActionHom_of_embedding: the equivariant map fromFin n ↪ αtopowersetCard α n.Set.powersetCard.isPretransitive_of_isMultiplyPretransitiveshows the pretransitivity of that action if the action ofGonαisn-pretransitive.Set.powersetCard.isPretransitiveshows thatEquiv.Perm αacts pretransitively onpowersetCard α n, for alln.Set.powersetCard.compl: Given an equalitym + n = Fintype.card α, the complement of ann-combination, as anm-combination. This map is an equivariant map with respect to a group action onα.Set.powersetCard.mulActionHom_singleton: The obvious map fromαtopowersetCard α 1, as an equivariant map.
Equations
Set.powersetCard α n as a SubMulAction of Finset α.
Equations
- Set.powersetCard.subMulAction G α n = { carrier := Set.powersetCard α n, smul_mem' := ⋯ }
Instances For
Set.powersetCard α n as a SubAddAction of Finsetα.
Equations
- Set.powersetCard.subAddAction G α n = { carrier := Set.powersetCard α n, vadd_mem' := ⋯ }
Instances For
Equations
Equations
If an additive group G acts faithfully on α,
then it acts faithfully on powersetCard α n,
provided 1 ≤ n < ENat.card α.
If a group G acts faithfully on α, then
it acts faithfull on powersetCard α n provided 1 ≤ n < ENat.card α.
The equivariant map from embeddings of Fin n (aka arrangement) to combinations.
Equations
- Set.powersetCard.mulActionHom_of_embedding G α n = { toFun := fun (f : Fin n ↪ α) => ⟨Finset.map f Finset.univ, ⋯⟩, map_smul' := ⋯ }
Instances For
The equivariant map from embeddings of Fin n
(aka arrangements) to combinations.
Equations
- Set.powersetCard.addActionHom_of_embedding G α n = { toFun := fun (f : Fin n ↪ α) => ⟨Finset.map f Finset.univ, ⋯⟩, map_vadd' := ⋯ }
Instances For
If 0 < n < ENat.card α, then powersetCard α n is nontrivial.
A variant of Set.powersetCard.nontrivial that uses Nat.card.
The complement of a combination, as an equivariant map.
Equations
- Set.powersetCard.compl G α hm = { toFun := fun (s : ↑(Set.powersetCard α n)) => ⟨(↑s)ᶜ, ⋯⟩, map_smul' := ⋯ }
Instances For
The obvious map from a type to its 1-combinations, as an equivariant map.
Equations
Instances For
The obvious map from a type to its 1-combinations, as an equivariant map.
Equations
Instances For
The action of Equiv.Perm α on Set.powersetCard α n is preprimitive
provided 1 ≤ n < Nat.card α and Nat.card α ≠ 2 * n.
This is a consequence that the stabilizer of such a combination is a maximal subgroup.
If 3 ≤ Nat.card α, then alternatingGroup α acts transitively on Set.powersetCard α n.
If Nat.card α ≤ 2, then alternatinGroup α is trivial, and
the result only holds in the trivial case where powersetCard α n is a subsingleton,
that is, when n = 0 or Nat.card α ≤ n.
The action of alternatingGroup α on Set.powersetCard α n is preprimitive
provided 1 ≤ n < Nat.card α and Nat.card α ≠ 2 * n.