English
The iterate function and the iterateTR function are equal as functions (csimp attribute hints simplification).
Русский
Функции iterate и iterateTR равны как функции (атрибут csimp указывает на упрощение).
LaTeX
$$$\text{csimp}:\; \, @\text{iterate} = @\text{iterateTR}$$$
Lean4
theorem flatMap_left (l : List α) {f g : α → List β} (h : ∀ a ∈ l, f a ~ g a) : l.flatMap f ~ l.flatMap g :=
Perm.flatten_congr <| by rwa [List.forall₂_map_right_iff, List.forall₂_map_left_iff, List.forall₂_same]