Skip to content

Commit 2deb01b

Browse files
committed
chore: rename 2 lemmas (#6767)
- `ChartedSpace.locallyCompact` → `ChartedSpace.locallyCompactSpace` - `ModelWithCorners.locally_compact` → `ModelWithCorners.locallyCompactSpace`
1 parent a57b2c2 commit 2deb01b

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

Mathlib/Analysis/Distribution/AEEqOfIntegralContDiff.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ theorem ae_eq_zero_of_integral_smooth_smul_eq_zero (hf : LocallyIntegrable f μ)
4141
(h : ∀ (g : M → ℝ), Smooth I 𝓘(ℝ) g → HasCompactSupport g → ∫ x, g x • f x ∂μ = 0) :
4242
∀ᵐ x ∂μ, f x = 0 := by
4343
-- record topological properties of `M`
44-
have := I.locally_compact
45-
have := ChartedSpace.locallyCompact H M
44+
have := I.locallyCompactSpace
45+
have := ChartedSpace.locallyCompactSpace H M
4646
have := I.secondCountableTopology
4747
have := ChartedSpace.secondCountable_of_sigma_compact H M
4848
have := ManifoldWithCorners.metrizableSpace I M

Mathlib/Geometry/Manifold/ChartedSpace.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ theorem ChartedSpace.secondCountable_of_sigma_compact [SecondCountableTopology H
600600

601601
/-- If a topological space admits an atlas with locally compact charts, then the space itself
602602
is locally compact. -/
603-
theorem ChartedSpace.locallyCompact [LocallyCompactSpace H] : LocallyCompactSpace M := by
603+
theorem ChartedSpace.locallyCompactSpace [LocallyCompactSpace H] : LocallyCompactSpace M := by
604604
have : ∀ x : M, (𝓝 x).HasBasis
605605
(fun s ↦ s ∈ 𝓝 (chartAt H x x) ∧ IsCompact s ∧ s ⊆ (chartAt H x).target)
606606
fun s ↦ (chartAt H x).symm '' s := fun x ↦ by
@@ -610,7 +610,7 @@ theorem ChartedSpace.locallyCompact [LocallyCompactSpace H] : LocallyCompactSpac
610610
refine locallyCompactSpace_of_hasBasis this ?_
611611
rintro x s ⟨_, h₂, h₃⟩
612612
exact h₂.image_of_continuousOn ((chartAt H x).continuousOn_symm.mono h₃)
613-
#align charted_space.locally_compact ChartedSpace.locallyCompact
613+
#align charted_space.locally_compact ChartedSpace.locallyCompactSpace
614614

615615
/-- If a topological space admits an atlas with locally connected charts, then the space itself is
616616
locally connected. -/

Mathlib/Geometry/Manifold/Metrizable.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ theorem ManifoldWithCorners.metrizableSpace {E : Type*} [NormedAddCommGroup E] [
2525
[FiniteDimensional ℝ E] {H : Type*} [TopologicalSpace H] (I : ModelWithCorners ℝ E H)
2626
(M : Type*) [TopologicalSpace M] [ChartedSpace H M] [SigmaCompactSpace M] [T2Space M] :
2727
MetrizableSpace M := by
28-
haveI := I.locally_compact; haveI := ChartedSpace.locallyCompact H M
28+
haveI := I.locallyCompactSpace; haveI := ChartedSpace.locallyCompactSpace H M
2929
haveI : NormalSpace M := normal_of_paracompact_t2
3030
haveI := I.secondCountableTopology
3131
haveI := ChartedSpace.secondCountable_of_sigma_compact H M

Mathlib/Geometry/Manifold/PartitionOfUnity.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ theorem exists_isSubordinate [T2Space M] [SigmaCompactSpace M] (hs : IsClosed s)
341341
(hU : ∀ x ∈ s, U x ∈ 𝓝 x) :
342342
∃ (ι : Type uM) (f : SmoothBumpCovering ι I M s), f.IsSubordinate U := by
343343
-- First we deduce some missing instances
344-
haveI : LocallyCompactSpace H := I.locally_compact
345-
haveI : LocallyCompactSpace M := ChartedSpace.locallyCompact H M
344+
haveI : LocallyCompactSpace H := I.locallyCompactSpace
345+
haveI : LocallyCompactSpace M := ChartedSpace.locallyCompactSpace H M
346346
haveI : NormalSpace M := normal_of_paracompact_t2
347347
-- Next we choose a covering by supports of smooth bump functions
348348
have hB := fun x hx => SmoothBumpFunction.nhds_basis_support I (hU x hx)
@@ -521,8 +521,8 @@ variable [T2Space M] [SigmaCompactSpace M]
521521
`s`, then there exists a `SmoothPartitionOfUnity ι M s` that is subordinate to `U`. -/
522522
theorem exists_isSubordinate {s : Set M} (hs : IsClosed s) (U : ι → Set M) (ho : ∀ i, IsOpen (U i))
523523
(hU : s ⊆ ⋃ i, U i) : ∃ f : SmoothPartitionOfUnity ι I M s, f.IsSubordinate U := by
524-
haveI : LocallyCompactSpace H := I.locally_compact
525-
haveI : LocallyCompactSpace M := ChartedSpace.locallyCompact H M
524+
haveI : LocallyCompactSpace H := I.locallyCompactSpace
525+
haveI : LocallyCompactSpace M := ChartedSpace.locallyCompactSpace H M
526526
haveI : NormalSpace M := normal_of_paracompact_t2
527527
-- porting note(https://github.com/leanprover/std4/issues/116):
528528
-- split `rcases` into `have` + `rcases`

Mathlib/Geometry/Manifold/SmoothManifoldWithCorners.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ theorem symm_continuousWithinAt_comp_right_iff {X} [TopologicalSpace X] {f : H
343343
· rw [← I.left_inv x] at h; exact h.comp I.continuousWithinAt_symm (inter_subset_left _ _)
344344
#align model_with_corners.symm_continuous_within_at_comp_right_iff ModelWithCorners.symm_continuousWithinAt_comp_right_iff
345345

346-
protected theorem locally_compact [LocallyCompactSpace E] (I : ModelWithCorners 𝕜 E H) :
346+
protected theorem locallyCompactSpace [LocallyCompactSpace E] (I : ModelWithCorners 𝕜 E H) :
347347
LocallyCompactSpace H := by
348348
have : ∀ x : H, (𝓝 x).HasBasis (fun s => s ∈ 𝓝 (I x) ∧ IsCompact s)
349349
fun s => I.symm '' (s ∩ range I) := fun x ↦ by
@@ -352,7 +352,7 @@ protected theorem locally_compact [LocallyCompactSpace E] (I : ModelWithCorners
352352
refine' locallyCompactSpace_of_hasBasis this _
353353
rintro x s ⟨-, hsc⟩
354354
exact (hsc.inter_right I.closed_range).image I.continuous_symm
355-
#align model_with_corners.locally_compact ModelWithCorners.locally_compact
355+
#align model_with_corners.locally_compact ModelWithCorners.locallyCompactSpace
356356

357357
open TopologicalSpace
358358

0 commit comments

Comments
 (0)