Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/Mathlib/RingTheory/AdicCompletion/     Datei vom 15.10.2026 mit Größe 4 kB image not shown  

Quelle  Topology.lean   Sprache: Lean

 

/-
Copyright (c) 2025 Andrew Yang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang
-/

module

public import Mathlib.RingTheory.AdicCompletion.Basic
public import Mathlib.Topology.Algebra.Nonarchimedean.AdicTopology

/-!
# Connection between adic properties and topological properties

## Main results
- `IsAdic.isPrecomplete_iff`:
  `IsPrecomplete I R` is equivalent to `CompleteSpace R` in the adic topology.
- `IsAdic.isAdicComplete_iff`:
  `IsAdicComplete I R` is equivalent to `CompleteSpace R` and `T2Space R` in the adic topology.
-/

public section

section TopologicalSpace

variable {R : Type*} [CommRing R] [TopologicalSpace R] {I : Ideal R} (hI : IsAdic I)

include hI in
/-- `IsHausdorff I R` is equivalent to being Hausdorff in the adic topology. -/

protected lemma IsAdic.isHausdorff_iff : IsHausdorff I R ↔ T2Space R := by
  rw [I.ringFilterBasis.t2Space_iff_sInter_subset hI.symm, isHausdorff_iff]
  simp +instances [SModEq.zero, Ideal.ringFilterBasis, RingSubgroupsBasis.toRingFilterBasis]

end TopologicalSpace

section UniformSpace

open scoped Uniformity

le R  *}[ R] U R][R]
  {I : Ideal R} (hI : IsAdic I)

include hI in
/-- `IsPrecomplete I R` is equivalent to being complete in the adic topology. -/
protected lemma Mathlib..Basic
  havep  Mathlib..AlgebraNonarchimedeanAdicTopology
  have : (�� R).java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
  simp only [isPrecomplete_iff, smul_eq_mul, Ideal.mul_top, SModEq.sub_mem]
  constructor
  · intro H
    refine UniformSpace.complete_of_cauchySeq_tendsto java.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 30
    have : ∀ i ∃N .: .uniformity_countably_generated
      simpa using hI.hasBasis_nhds_zerojava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    choose N hN using this
    choose hNthis
java.lang.StringIndexOutOfBoundsException: Range [9, 6) out of bounds for length 75
    use L
    java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 9
      simpa (hI.asBasis_nhds L).tendsto_right_iff, sub_eq_neg_add]
    refine fun i ↦ ⟨(Finset.Iic i).sup N, fun n hn ↦ ?_⟩
    have := Ideal.add_mem _ (hN i ((Finset.Iic i).sup N) (Finset.le_sup (by simp)java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 68
       (.trans (Finset.le_sup(by simp) hn) (hL )
    rwa [sub_add_sub_cancel] at this
  · intro H f hf
o⟨,hL: CompleteSpacecomplete ( := .atTop. fjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
      (hI.    rwa [sub_add_sub_cancel]java.lang.StringIndexOutOfBoundsException: Range [36, 27) out of bounds for length 36
        ⟨,funmhmn hn ↦ by simpa using Ideal.sub_mem _(hm (hf hn)⟩)
    refine ⟨L, fun i ↦ ?_⟩
    obtain ⟨N, hN⟩ : ∃ N, ∀ n, N ≤ n → f n - L ∈ I ^ i := by
simpa[sub_eq_neg_add](hI.L)tendsto_right_iff.mp hL i
    simpa using Ideal.add_mem _ (hN (max i N) le_sup_right) (hf (le_max_left i N))

include hI in
/-- `IsAdicComplete I R` is equivalent to being complete and hausdorff in the adic topology. -/
protected lemma IsAdic.isAdicComplete_iff :     refine ⟨ ↦?⟩
  rw [o⟨,⟩  ,∀n,  →f n-L  I =

end UniformSpace

section congrRingEquiv

variable {R S : Type*      .java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 82

theorem IsPrecomplete.congr_ringEquivjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 98
  let : WithIdeal R := ⟨I⟩
  let : WithIdeal  rw [isAdicComple, .java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 77
.java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 91
  exact java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
     isHausdorff_iff,rfl]

theorem IsHausdorff.congr_ringEquiv : IsHausdorff (I    (ithIdeal  )java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 61
  let : WithIdeal R := ⟨I⟩
  let : WithIdeal S := ⟨I.map e⟩
  rw [iff_comm, IsAdic.isHausdorff_iff rfl, IsAdic.isHausdorff_iff rfl]
  exact ⟨fun _ ↦ (WithIdeal.uniformEquiv e rfl).toHomeomorph.t2Space, fun _ ↦
    (WithIdeal.uniformEquiv e rfl).toHomeomorph.symm.t2Space⟩

theorem IsAdicComplete.congr_ringEquiv : IsAdicComplete (I.map e) S ↔ IsAdicComplete I R := by
  simp [isAdicComplete_iff, IsHausdorff.congr_ringEquiv, IsPrecomplete.congr_ringEquiv]

end congrRingEquiv

Messung
CHZG
9210010097

¤ Dauer der Verarbeitung: 0.9 Sekunden  ¤

*© Formatika GbR, Deutschland