(** * Topology on [R]² *)
Definition locally_2d (P : R -> R -> Prop) x y :=
exists delta : posreal, forall u v, Rabs (u - x) < delta -> Rabs (v - y) < delta -> P u v.

Lemma locally_2d_1d_const_x :
forall (P : R -> R -> Prop) x y,
locally_2d P x y ->
locally y (fun t => P x t).