English
Let h be a natural equality h: n = m and i,j ∈ Fin n. The image of the open interval Ioo(i,j) under Fin.cast h is Ioo(i.cast h, j.cast h).
Русский
Пусть h : n = m и i, j ∈ Fin n. Образ открытого интервала Ioo(i,j) при приведении Fin.cast h равен Ioo(i.cast h, j.cast h).
LaTeX
$$$$ \operatorname{Finset.image}(\operatorname{Fin.cast} h)(\operatorname{Finset.Ioo}(i, j)) = \operatorname{Finset.Ioo}(\operatorname{Fin.cast} h\, i) (\operatorname{Fin.cast} h\, j) $$$$
Lean4
@[simp]
theorem finsetImage_cast_Ioo (h : n = m) (i j : Fin n) : (Ioo i j).image (.cast h) = Ioo (i.cast h) (j.cast h) := by
simp [← coe_inj]