Add documentation for IterProd

This commit is contained in:
2026-06-26 10:49:16 -05:00
parent 1a843747bf
commit c281d78d1d

View File

@@ -1,6 +1,24 @@
import Spa.Lattice.Prod
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
universe u