Basic lemmas for symmetric powers #
This file records small API extensions for Mathlib's symmetric powers, and the map
TauCeti.Sym.ofFn reading an ordered n-tuple f : Fin n → α as an unordered one.
ofFn presents Sym α n as a quotient of Fin n → α: it is surjective, and its fibres are the
orbits of the permutation action, by TauCeti.Sym.ofFn_eq_ofFn_iff. Nothing here is topological;
TauCeti/Topology/Sym/Basic.lean uses this to give Sym α n the quotient topology coinduced along
ofFn.
Main declarations #
TauCeti.Sym.ofFn: the ordered tuplef : Fin n → αread as a point ofSym α n, andTauCeti.Sym.ofFn_surjective, that every unordered tuple arises this way.TauCeti.Sym.map_ofFn,TauCeti.Sym.map_comp_ofFnandTauCeti.Sym.ofFn_fin_append:ofFnintertwines postcomposition withSym.map, and concatenation of ordered tuples withSym.append.TauCeti.Sym.ofFn_eq_ofFn_iff: two ordered tuples have the same underlying unordered tuple exactly when one is a reindexing of the other by a permutation.TauCeti.Sym.count_coe_ofFn: the multiplicity of a value in an unordered tuple is the number of entries of the ordered tuple taking that value.TauCeti.Sym.basepointDivisoris the set of unordered tuples containing a fixed point;TauCeti.Sym.range_considentifies it with the range of adjoining that point.TauCeti.symFinTwoEquiv: an unorderedd-tuple overFin 2is determined by how many of its entries are0, so there ared + 1of them.
Ordered tuples as unordered ones #
The ordered n-tuple f : Fin n → α read as an unordered n-tuple.
This is Mathlib's quotient map Sym.ofVector precomposed with List.Vector.ofFn; the Fin n → α
form is the one that carries a product topology, so it is the map that Sym α n carries the
quotient topology along in TauCeti/Topology/Sym/Basic.lean.
Equations
Instances For
The multiplicity of a value in ofFn f is the number of entries of f equal to it.
The fibres of the quotient map #
Two ordered tuples have the same underlying unordered tuple exactly when one is a reindexing
of the other: the fibres of ofFn are the orbits of the permutation action.
Adjoining a fixed point #
No unordered tuple of length zero contains a point.
The unordered (n + 1)-tuples obtained by adjoining the point a are exactly those that
contain a.
Unordered tuples over a two-element type #
A multiset of size d over Fin 2 is determined by how many of its entries are 0, and
that count can be anything from 0 to d: the two counts sum to d, so the pair of them runs
over the antidiagonal of d. This is the rank-two instance of the count
#(Sym α d) = (#α + d - 1).choose d.
Equations
- TauCeti.symFinTwoEquiv d = (Sym.equivNatSumOfFintype (Fin 2) d).trans (((finTwoArrowEquiv ℕ).subtypeEquiv ⋯).trans (Finset.Nat.antidiagonalEquivFin d))
Instances For
TauCeti.symFinTwoEquiv is the number of entries equal to 0.
The inverse of TauCeti.symFinTwoEquiv spelled out: i many 0s and d - i many 1s.