English
If f is locally maximal and f and g are eventually equal near a within s, then g is locally maximal as well on s at a.
Русский
Если f локально максимальна на s в a и f и g совпадают ближе к a на s, то g также локально максимальна на s в a.
LaTeX
$$$\forall {f,g: \alpha \to \beta} {a: \alpha} {s: Set\alpha},\; IsLocalMaxOn f s a \to (nhdsWithin a s).EventuallyEq f g \to Set.instMembership.mem s a \to IsLocalMaxOn g s a$$$
Lean4
nonrec theorem congr {f g : α → β} {a : α} (h : IsLocalMinOn f s a) (heq : f =ᶠ[𝓝[s] a] g) (hmem : a ∈ s) :
IsLocalMinOn g s a :=
h.congr heq <| heq.eq_of_nhdsWithin hmem