Documentation
Mathlib
.
Data
.
Fintype
.
Vector
Search
Google site search
return to top
source
Imports
Init
Mathlib.Data.Fintype.Pi
Mathlib.Data.Sym.Basic
Imported by
Vector
.
fintype
instFintypeSym'
instFintypeSym
Vector
α n
and
Sym
α n
are fintypes when
α
is.
#
source
instance
Vector
.
fintype
{α :
Type
u_1}
[
Fintype
α
]
{n :
ℕ
}
:
Fintype
(
Vector
α
n
)
Equations
Vector.fintype
=
Fintype.ofEquiv
(
Fin
n
→
α
)
(
Equiv.vectorEquivFin
α
n
)
.symm
source
instance
instFintypeSym'
{α :
Type
u_1}
[
DecidableEq
α
]
[
Fintype
α
]
{n :
ℕ
}
:
Fintype
(
Sym.Sym'
α
n
)
Equations
instFintypeSym'
=
Quotient.fintype
(
Vector.Perm.isSetoid
α
n
)
source
instance
instFintypeSym
{α :
Type
u_1}
[
DecidableEq
α
]
[
Fintype
α
]
{n :
ℕ
}
:
Fintype
(
Sym
α
n
)
Equations
instFintypeSym
=
Fintype.ofEquiv
(
Sym.Sym'
α
n
)
Sym.symEquivSym'
.symm