Module docstring
{"# The standard basis
This file defines the standard basis Pi.basis (s : ∀ j, Basis (ι j) R (M j)),
which is the Σ j, ι j-indexed basis of Π j, M j. The basis vectors are given by
Pi.basis s ⟨j, i⟩ j' = Pi.single j' (s j) i = if j = j' then s i else 0.
The standard basis on R^η, i.e. η → R is called Pi.basisFun.
To give a concrete example, Pi.single (i : Fin 3) (1 : R)
gives the ith unit basis vector in R³, and Pi.basisFun R (Fin 3) proves
this is a basis over Fin 3 → R.
Main definitions
Pi.basis s: given a basiss ifor eachM i, the standard basis onΠ i, M iPi.basisFun R η: the standard basis onR^η, i.e.η → R, given byPi.basisFun R η i j = Pi.single i 1 j = if i = j then 1 else 0.Matrix.stdBasis R n m: the standard basis onMatrix n m R, given byMatrix.stdBasis R n m (i, j) i' j' = if (i, j) = (i', j') then 1 else 0.
"}