Skip to content

Commit

Permalink
Issue ImperialCollegeLondon#259: Proof that A_K/K is compact, assumin…
Browse files Browse the repository at this point in the history
…g that A_Q/Q is compact
  • Loading branch information
smmercuri committed Jan 11, 2025
1 parent 32818b3 commit d3327d5
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 286 deletions.
276 changes: 0 additions & 276 deletions FLT/ForMathlib/Topology/Algebra/Algebra.lean

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Mathlib.RingTheory.TensorProduct.Pi
import FLT.ForMathlib.LinearAlgebra.TensorProduct.Pi
import FLT.Mathlib.LinearAlgebra.TensorProduct.Pi

theorem Algebra.TensorProduct.piScalarRight_symm_apply_of_algebraMap (R S N ι : Type*)
[CommSemiring R] [CommSemiring S] [Algebra R S] [Semiring N] [Algebra R N] [Algebra S N]
Expand Down
7 changes: 7 additions & 0 deletions FLT/Mathlib/Topology/Algebra/ContinuousAlgEquiv.lean
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Salvatore Mercuri
-/
import Mathlib.Topology.Algebra.Algebra
import Mathlib.Topology.Algebra.Module.Equiv

/-!
# Topological (sub)algebras
Expand Down Expand Up @@ -39,6 +40,12 @@ def toContinuousAlgHom (e : A ≃A[R] B) : A →A[R] B where
__ := e.toAlgHom
cont := e.continuous_toFun

@[coe]
def toContinuousLinearEquiv (e : A ≃A[R] B) : A ≃L[R] B where
__ := e.toLinearEquiv
continuous_toFun := e.continuous_toFun
continuous_invFun := e.continuous_invFun

instance coe : Coe (A ≃A[R] B) (A →A[R] B) := ⟨toContinuousAlgHom⟩

instance equivLike : EquivLike (A ≃A[R] B) A B where
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Mathlib.Topology.Algebra.ContinuousMonoidHom
import Mathlib.Topology.Algebra.Module.Equiv
import FLT.ForMathlib.Topology.Algebra.Module.Equiv
import FLT.ForMathlib.Topology.Algebra.Module.Quotient
import FLT.Mathlib.Topology.Algebra.Module.Equiv
import FLT.Mathlib.Topology.Algebra.Module.Quotient

def ContinuousAddEquiv.toIntContinuousLinearEquiv {M M₂ : Type*} [AddCommGroup M]
[TopologicalSpace M] [AddCommGroup M₂] [TopologicalSpace M₂] (e : M ≃ₜ+ M₂) :
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Mathlib.Topology.Algebra.Group.Quotient
import Mathlib.Topology.Algebra.ContinuousMonoidHom
import FLT.ForMathlib.Topology.Algebra.ContinuousMonoidHom
import FLT.ForMathlib.Topology.Algebra.Module.Quotient
import FLT.ForMathlib.Topology.Algebra.Module.Equiv
import FLT.Mathlib.Topology.Algebra.ContinuousMonoidHom
import FLT.Mathlib.Topology.Algebra.Module.Quotient
import FLT.Mathlib.Topology.Algebra.Module.Equiv

def QuotientAddGroup.continuousAddEquiv (G H : Type*) [AddCommGroup G] [AddCommGroup H] [TopologicalSpace G]
[TopologicalSpace H] (G' : AddSubgroup G) (H' : AddSubgroup H) [G'.Normal] [H'.Normal]
Expand Down
9 changes: 5 additions & 4 deletions FLT/NumberField/AdeleRing.lean
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Mathlib
import FLT.ForMathlib.RingTheory.TensorProduct.Pi
import FLT.ForMathlib.Topology.Algebra.Group.Quotient
import FLT.ForMathlib.Topology.Algebra.Algebra
import FLT.Mathlib.RingTheory.TensorProduct.Pi
import FLT.Mathlib.Topology.Algebra.Group.Quotient
import FLT.Mathlib.Topology.Algebra.ContinuousAlgEquiv

open scoped TensorProduct

Expand Down Expand Up @@ -148,7 +148,8 @@ theorem baseChangePi_map_principalSubgroup :
rfl

noncomputable def baseChangeQuotientPi :
(Fin (Module.finrank K L) → AdeleRing K ⧸ principalSubgroup K) ≃ₜ+ AdeleRing L ⧸ principalSubgroup L :=
(Fin (Module.finrank K L) → AdeleRing K ⧸ principalSubgroup K) ≃ₜ+
AdeleRing L ⧸ principalSubgroup L :=
(ContinuousAddEquiv.quotientPi _).symm.trans <|
QuotientAddGroup.continuousAddEquiv _ _ _ _ (baseChangePi K L).toContinuousAddEquiv
(baseChangePi_map_principalSubgroup K L)
Expand Down

0 comments on commit d3327d5

Please sign in to comment.