English
Same principle as above: mapping the mkOfPoint through an injective affine map yields the corresponding mkOfPoint at the image.
Русский
Тот же принцип: отображение mkOfPoint через инъективное аффинное отображение дает соответствующий mkOfPoint в образе.
LaTeX
$$$ (mkOfPoint\\ k p).map f hf = mkOfPoint\\ k (f p)$$$
Lean4
/-- Remap a simplex along an `Equiv` of index types. -/
@[simps]
def reindex {m n : ℕ} (s : Simplex k P m) (e : Fin (m + 1) ≃ Fin (n + 1)) : Simplex k P n :=
⟨s.points ∘ e.symm, (affineIndependent_equiv e.symm).2 s.independent⟩