Commit 2025-02-10 19:51 01e44583

View on Github →

chore(Topology/UniformSpace): split into Defs and Basic (#21664) Split Defs.lean off of Basic.lean, including the definition of UniformSpace and UniformContinuous, and all lemmas that can be moved over without increasing imports in Defs.lean. This is motivated by reducing imports for metric spaces, although it seems that EMetricSpace/Defs.lean still needs some results that ended up in Basic.lean. I think the conclusion is that EMetricSpace/Defs.lean should be split further.

Estimated changes

deleted theorem Monotone.compRel
deleted theorem SymmetricRel.eq
deleted theorem SymmetricRel.inter
deleted theorem SymmetricRel.mk_mem_comm
deleted def SymmetricRel
deleted theorem UniformContinuous.iterate
deleted def UniformContinuous
deleted def UniformContinuousOn
deleted theorem UniformSpace.Core.ext
deleted structure UniformSpace.Core
deleted def UniformSpace.ball
deleted theorem UniformSpace.ball_inter
deleted theorem UniformSpace.ball_mono
deleted theorem UniformSpace.mem_nhds_iff
deleted theorem comap_swap_uniformity
deleted theorem comp3_mem_uniformity
deleted def compRel
deleted theorem compRel_assoc
deleted theorem compRel_mono
deleted theorem comp_le_uniformity3
deleted theorem comp_le_uniformity
deleted theorem comp_mem_uniformity_sets
deleted theorem comp_symm_of_uniformity
deleted def idRel
deleted theorem idRel_subset
deleted theorem id_compRel
deleted theorem isOpen_iff_ball_subset
deleted theorem isOpen_uniformity
deleted theorem left_subset_compRel
deleted theorem lift'_comp_uniformity
deleted theorem lift_nhds_left
deleted theorem lift_nhds_right
deleted theorem mem_compRel
deleted theorem mem_idRel
deleted theorem mem_nhds_left
deleted theorem mem_nhds_right
deleted theorem mem_uniformity_of_eq
deleted theorem nhds_basis_uniformity'
deleted theorem nhds_basis_uniformity
deleted theorem nhds_eq_comap_uniformity'
deleted theorem nhds_eq_comap_uniformity
deleted theorem nhds_eq_uniformity'
deleted theorem nhds_eq_uniformity
deleted theorem prod_mk_mem_compRel
deleted theorem refl_le_uniformity
deleted theorem refl_mem_uniformity
deleted theorem right_subset_compRel
deleted theorem subset_comp_self
deleted theorem subset_iterate_compRel
deleted theorem swap_idRel
deleted theorem symm_le_uniformity
deleted theorem symm_of_uniformity
deleted theorem symmetric_symmetrizeRel
deleted def symmetrizeRel
deleted theorem symmetrizeRel_subset_self
deleted theorem symmetrize_mem_uniformity
deleted theorem symmetrize_mono
deleted theorem tendsto_const_uniformity
deleted theorem tendsto_diag_uniformity
deleted theorem tendsto_swap_uniformity
deleted theorem uniformContinuousOn_univ
deleted theorem uniformContinuous_const
deleted theorem uniformContinuous_def
deleted theorem uniformContinuous_id
deleted def uniformity
deleted theorem uniformity_eq_symm
deleted theorem uniformity_le_symm
deleted theorem uniformity_lift_le_comp
deleted theorem uniformity_lift_le_swap
added theorem Monotone.compRel
added theorem SymmetricRel.eq
added theorem SymmetricRel.inter
added def SymmetricRel
added theorem UniformSpace.Core.ext
added structure UniformSpace.Core
added theorem UniformSpace.ball_mono
added theorem comap_swap_uniformity
added theorem comp3_mem_uniformity
added def compRel
added theorem compRel_assoc
added theorem compRel_mono
added theorem comp_le_uniformity3
added theorem comp_le_uniformity
added def idRel
added theorem idRel_subset
added theorem id_compRel
added theorem isOpen_iff_ball_subset
added theorem isOpen_uniformity
added theorem left_subset_compRel
added theorem lift'_comp_uniformity
added theorem lift_nhds_left
added theorem lift_nhds_right
added theorem mem_compRel
added theorem mem_idRel
added theorem mem_nhds_left
added theorem mem_nhds_right
added theorem mem_uniformity_of_eq
added theorem nhds_basis_uniformity'
added theorem nhds_basis_uniformity
added theorem nhds_eq_uniformity'
added theorem nhds_eq_uniformity
added theorem prod_mk_mem_compRel
added theorem refl_le_uniformity
added theorem refl_mem_uniformity
added theorem right_subset_compRel
added theorem subset_comp_self
added theorem subset_iterate_compRel
added theorem swap_idRel
added theorem symm_le_uniformity
added theorem symm_of_uniformity
added def symmetrizeRel
added theorem symmetrize_mono
added theorem uniformContinuous_def
added theorem uniformContinuous_id
added def uniformity
added theorem uniformity_eq_symm
added theorem uniformity_le_symm