English
If s ∈ X.S has dimension d, then there is a distinguished element cast(s) ∈ X.S with dim = d and the same simplex, i.e., cast(s) equals s but with the dimension synchronized to d.
Русский
Если s ∈ X.S имеет размерность d, то существует элемент cast(s) ∈ X.S, у которого dim = d и тот же simplex; cast(s) равен s, но размерность соответствует d.
LaTeX
$$$\mathrm{cast}(s) = \{\; \text{dim} := d, \; \text{simplex} := \mathrm{cast}(h)\, s.simplex \;\}$$$
Lean4
theorem dim_eq_of_eq {s t : X.S} (h : s = t) : s.dim = t.dim :=
congr_arg dim h