Add documentation for IterProd
This commit is contained in:
@@ -1,6 +1,24 @@
|
|||||||
import Spa.Lattice.Prod
|
import Spa.Lattice.Prod
|
||||||
import Spa.Lattice.Unit
|
import Spa.Lattice.Unit
|
||||||
|
|
||||||
|
/-!
|
||||||
|
|
||||||
|
# Iterated Products
|
||||||
|
|
||||||
|
Given two types $\alpha$ and $\beta$ and a number $n$, produces
|
||||||
|
an iterated product:
|
||||||
|
|
||||||
|
$$
|
||||||
|
\overbrace{\alpha \times \ldots \times \alpha}^{n\ \text{times}} × \beta
|
||||||
|
$$
|
||||||
|
|
||||||
|
This is mostly a stepping stone for isomorphisms. In
|
||||||
|
`Spa/Lattice/Prod.lean`, By decomposing types such as `Fin n → α` into
|
||||||
|
`IterProd α PUnit n`, we can automatically get a proof of their finite
|
||||||
|
height via `Spa.FiniteHeightLattice.transport`.
|
||||||
|
|
||||||
|
-/
|
||||||
|
|
||||||
namespace Spa
|
namespace Spa
|
||||||
|
|
||||||
universe u
|
universe u
|
||||||
|
|||||||
Reference in New Issue
Block a user