chars int64 40 24k | content_type stringclasses 9
values | id stringlengths 13 64 | source stringclasses 5
values | subset stringclasses 31
values | text stringlengths 40 24k |
|---|---|---|---|---|---|
525 | leanexplore_declaration | leanexplore:380020 | leanexplore_sqlite | leanexplore_declarations | theorem inertiaDeg_asIdeal_completionIdeal :
Ideal.inertiaDeg v.asIdeal (v.completionIdeal K) = 1 := by
rw [Ideal.inertiaDeg_algebraMap]
have f : (A ⧸ v.asIdeal) ≃ₗ[A ⧸ v.asIdeal]
((adicCompletionIntegers K v) ⧸ completionIdeal K v) := {
__ := ResidueFieldEquivCompletionResidueField K v
map_smul' ... |
1,859 | leanexplore_declaration | leanexplore:380021 | leanexplore_sqlite | leanexplore_declarations | /-- An element of `∏_{v ∈ s} 𝒪_v`, with `s` finite, can be approximated by an element of `A`.
-/
theorem exists_forall_adicValued_sub_lt {ι : Type*} (s : Finset ι)
(e : ι → (WithZero (Multiplicative ℤ))ˣ) (valuation : ι → HeightOneSpectrum A)
(injective : Function.Injective valuation)
(x : (i : ι) → (valua... |
1,458 | leanexplore_declaration | leanexplore:380022 | leanexplore_sqlite | leanexplore_declarations | /-- The closure of `A` in `∏_{v ∈ s} K_v` is `∏_{v ∈ s} 𝒪_v`. `s` may be infinite. -/
theorem closureAlgebraMapIntegers_eq_prodIntegers {ι : Type*}
(v : ι → HeightOneSpectrum A)
(injective : Function.Injective v) :
closure (SetLike.coe (algebraMap A ((i : ι) → (v i).adicCompletion K)).range) =
(Set.pi ... |
563 | leanexplore_declaration | leanexplore:380023 | leanexplore_sqlite | leanexplore_declarations | lemma adicCompletion.eq_mul_nonZeroDivisor_inv_adicCompletionIntegers (v : HeightOneSpectrum A)
(x : v.adicCompletion K) :
∃a ∈ nonZeroDivisors A, ∃b ∈ v.adicCompletionIntegers K, x = (algebraMap A K a)⁻¹ • b := by
obtain ⟨a, hz, ha⟩ :=
adicCompletion.mul_nonZeroDivisor_mem_adicCompletionIntegers v x
us... |
1,248 | leanexplore_declaration | leanexplore:380024 | leanexplore_sqlite | leanexplore_declarations | lemma adicCompletion.eq_mul_pi_adicCompletionIntegers {ι : Type*} [Finite ι]
(valuation : ι → HeightOneSpectrum A) (x : (i : ι) → (valuation i).adicCompletion K) :
∃k : K, ∃y ∈ Set.pi Set.univ (fun (i : ι) ↦ ((valuation i).adicCompletionIntegers K).carrier),
x = k • y := by
classical
let := Fintype.... |
1,512 | leanexplore_declaration | leanexplore:380025 | leanexplore_sqlite | leanexplore_declarations | /-- If `s` is finite then `K` in dense in `∏_{v ∈ s} K_v`. -/
theorem denseRange_of_prodAlgebraMap {ι : Type*} [Finite ι]
{valuation : ι → HeightOneSpectrum A} (injective : Function.Injective valuation) :
DenseRange (algebraMap K ((i : ι) → (valuation i).adicCompletion K)) := by
rw [denseRange_iff_closure_ran... |
373 | leanexplore_declaration | leanexplore:380026 | leanexplore_sqlite | leanexplore_declarations | theorem exists_uniformizer (v : HeightOneSpectrum A) :
∃ π : v.adicCompletionIntegers K, Valued.v π.1 = Multiplicative.ofAdd (- 1 : ℤ) := by
obtain ⟨π, hπ⟩ := v.intValuation_exists_uniformizer
use π
rw [← WithZero.exp, ← hπ, ← ValuationSubring.algebraMap_apply, ← IsScalarTower.algebraMap_apply,
v.valuedAd... |
189 | leanexplore_declaration | leanexplore:380027 | leanexplore_sqlite | leanexplore_declarations | theorem uniformizer_ne_zero {v : HeightOneSpectrum A}
{π : v.adicCompletionIntegers K} (hπ : Valued.v π.1 = Multiplicative.ofAdd (-1 : ℤ)) :
π ≠ 0 := by
contrapose! hπ
simp [hπ] |
336 | leanexplore_declaration | leanexplore:380028 | leanexplore_sqlite | leanexplore_declarations | theorem uniformizer_not_isUnit {π : v.adicCompletionIntegers K}
(hπ : Valued.v π.1 = Multiplicative.ofAdd (-1 : ℤ)) :
¬IsUnit (π : v.adicCompletionIntegers K) := by
rw [ValuationSubring.isUnit_iff_valued_eq_one, ← WithZero.coe_one, ← ofAdd_zero, hπ]
apply ne_of_lt
rw [WithZero.coe_lt_coe, Multiplicative.o... |
1,201 | leanexplore_declaration | leanexplore:380029 | leanexplore_sqlite | leanexplore_declarations | theorem eq_pow_uniformizer_mul_unit {x : v.adicCompletionIntegers K} (hx : x ≠ 0)
{π : v.adicCompletionIntegers K} (hπ : Valued.v π.1 = Multiplicative.ofAdd (-1 : ℤ)) :
∃ (n : ℕ) (u : (v.adicCompletionIntegers K)ˣ), x = π ^ n * u := by
have hx' : Valued.v x.1 ≠ 0 := by simp [hx]
let m := - Multiplicative.to... |
834 | leanexplore_declaration | leanexplore:380030 | leanexplore_sqlite | leanexplore_declarations | theorem maximalIdeal_eq_span_uniformizer {π : v.adicCompletionIntegers K}
(hπ : Valued.v π.1 = Multiplicative.ofAdd (-1 : ℤ)) :
IsLocalRing.maximalIdeal (v.adicCompletionIntegers K) =
Ideal.span {(π : v.adicCompletionIntegers K)} := by
refine (IsLocalRing.maximalIdeal.isMaximal _).eq_of_le
(Ideal.sp... |
791 | leanexplore_declaration | leanexplore:380031 | leanexplore_sqlite | leanexplore_declarations | instance : Ring.DimensionLEOne (v.adicCompletionIntegers K) where
maximalOfPrime {𝔭} h𝔭_ne_bot h𝔭_prime := by
let ⟨x, hx⟩ := Submodule.exists_mem_ne_zero_of_ne_bot h𝔭_ne_bot
let ⟨π, hπ⟩ := exists_uniformizer K v
obtain ⟨n, ⟨u, rfl⟩⟩ := eq_pow_uniformizer_mul_unit K v hx.2 hπ
simp only [Units.isUni... |
339 | leanexplore_declaration | leanexplore:380032 | leanexplore_sqlite | leanexplore_declarations | instance : IsPrincipalIdealRing (v.adicCompletionIntegers K) := by
apply IsPrincipalIdealRing.of_prime
intro P hP
by_cases hP_bot : P = ⊥
· exact hP_bot ▸ bot_isPrincipal
· let ⟨π, hπ⟩ := exists_uniformizer K v
use π
rw [IsLocalRing.eq_maximalIdeal (hP.isMaximal hP_bot)]
exact maximalIdeal_eq_span... |
277 | leanexplore_declaration | leanexplore:380033 | leanexplore_sqlite | leanexplore_declarations | instance : IsDiscreteValuationRing (v.adicCompletionIntegers K) where
not_a_field' := by
let ⟨π, hπ⟩ := exists_uniformizer K v
rw [maximalIdeal_eq_span_uniformizer K v hπ]
intro h
simp only [Ideal.span_singleton_eq_bot] at h
exact uniformizer_ne_zero hπ h |
134 | leanexplore_declaration | leanexplore:380034 | leanexplore_sqlite | leanexplore_declarations | instance : IsDiscreteValuationRing (𝒪[v.adicCompletion K]) :=
inferInstanceAs (IsDiscreteValuationRing (v.adicCompletionIntegers K)) |
1,140 | leanexplore_declaration | leanexplore:380035 | leanexplore_sqlite | leanexplore_declarations | lemma mem_completionIdeal_pow {n : ℕ} (x : v.adicCompletionIntegers K) :
x ∈ (v.completionIdeal K) ^ n ↔ Valued.v x.val ≤ ↑(Multiplicative.ofAdd (-(n : ℤ))) := by
obtain ⟨π, hπ⟩ := exists_uniformizer K v
unfold completionIdeal
rw [maximalIdeal_eq_span_uniformizer K v hπ, Ideal.span_singleton_pow, Ideal.mem_sp... |
263 | leanexplore_declaration | leanexplore:380036 | leanexplore_sqlite | leanexplore_declarations | lemma mem_completionIdeal_iff' (x : v.adicCompletionIntegers K) :
x ∈ v.completionIdeal K ↔ Valued.v x.val ≤ ↑(Multiplicative.ofAdd (-(1 : ℤ))) := by
rw [← Submodule.pow_one (v.completionIdeal K), adicCompletion.mem_completionIdeal_pow,
Int.natCast_one] |
95 | leanexplore_declaration | leanexplore:380037 | leanexplore_sqlite | leanexplore_declarations | lemma completionIdeal_ne_bot : completionIdeal K v ≠ ⊥ := IsDiscreteValuationRing.not_a_field _ |
1,788 | leanexplore_declaration | leanexplore:380038 | leanexplore_sqlite | leanexplore_declarations | lemma adicValued.continuous_algebraMap
(w : HeightOneSpectrum B) (hvw : w.under A = v) :
Continuous (σ v w) := by
refine continuous_of_continuousAt_zero _ ?_
rw [ContinuousAt, map_zero, (Valued.hasBasis_nhds_zero _ _).tendsto_iff
(Valued.hasBasis_nhds_zero _ _)]
intro γL _
let e := v.asIdeal.ramifica... |
527 | leanexplore_declaration | leanexplore:380039 | leanexplore_sqlite | leanexplore_declarations | /-- The map `(R,v) → (S,w)` as a semialgebra map over `R → S` (which is the same map!). -/
@[simps!]
def _root_.WithVal.semialgebraMap {R S Γ₀ Γ₀' : Type*} [CommRing R]
[CommRing S] [LinearOrderedCommGroupWithZero Γ₀] [LinearOrderedCommGroupWithZero Γ₀']
[Algebra R S] (v : Valuation R Γ₀) (w : Valuation S Γ₀') ... |
323 | leanexplore_declaration | leanexplore:380040 | leanexplore_sqlite | leanexplore_declarations | @[simps!]
def _root_.WithVal.semialgebraMap {R S Γ₀ Γ₀' : Type*} [CommRing R]
[CommRing S] [LinearOrderedCommGroupWithZero Γ₀] [LinearOrderedCommGroupWithZero Γ₀']
[Algebra R S] (v : Valuation R Γ₀) (w : Valuation S Γ₀') :
WithVal v →ₛₐ[algebraMap R S] WithVal w where
__ := algebraMap (WithVal v) (WithVal... |
465 | leanexplore_declaration | leanexplore:380041 | leanexplore_sqlite | leanexplore_declarations | /-- If w of L divides v of K, `underSemialgHom v w pf` is the canonical map
`Kᵥ → L_w` lying above `K → L`. Here we actually use the type synonyms `WithVal K` and `WithVal L`.
-/
noncomputable def adicCompletionSemialgHom :
v.adicCompletion K →ₛₐ[algebraMap K L] w.1.adicCompletion L :=
.restrictScalars (WithVal.s... |
246 | leanexplore_declaration | leanexplore:380042 | leanexplore_sqlite | leanexplore_declarations | /-- The square with sides K → K_v → L_w and K → L → L_w commutes. -/
lemma adicCompletionSemialgHom_coe (x : WithVal (v.valuation K)) :
w.adicCompletionSemialgHom K L x = algebraMap K L x.ofVal :=
(w.adicCompletionSemialgHom K L).commutes _ |
924 | leanexplore_declaration | leanexplore:380043 | leanexplore_sqlite | leanexplore_declarations | /--
The local ramification index for the extension L_w/K_v is equal to the global ramification
index for the extension w/v. In other words, if x in K_v and i:K_v->L_w then w(i(x))=v(x)^e
where e is computed globally.
-/
lemma valued_adicCompletionSemialgHom (x) :
Valued.v (adicCompletionSemialgHom K L w x) = Valued... |
470 | leanexplore_declaration | leanexplore:380044 | leanexplore_sqlite | leanexplore_declarations | /-- The canonical map K_v → L_w sends 𝓞_v to 𝓞_w. -/
lemma adicCompletionSemialgHom_image_adicCompletionIntegers :
w.adicCompletionSemialgHom K L '' (v.adicCompletionIntegers K) ⊆
w.1.adicCompletionIntegers L := by
rintro y ⟨x, hx, rfl⟩
rw [SetLike.mem_coe, mem_adicCompletionIntegers] at hx ⊢
rw [w.va... |
176 | leanexplore_declaration | leanexplore:380045 | leanexplore_sqlite | leanexplore_declarations | /-- The K_v-algebra structure on L_w when w | v. -/
noncomputable
instance : Algebra (v.adicCompletion K) (w.1.adicCompletion L) :=
(w.adicCompletionSemialgHom K L).toAlgebra |
177 | leanexplore_declaration | leanexplore:380046 | leanexplore_sqlite | leanexplore_declarations | /-- The map K_v → L_w is continuous. -/
lemma adicCompletionSemialgHom_continuous : Continuous (w.adicCompletionSemialgHom K L) :=
UniformSpace.Completion.continuous_extension |
257 | leanexplore_declaration | leanexplore:380047 | leanexplore_sqlite | leanexplore_declarations | /-- The K_v-action on L_w is continuous. -/
instance : ContinuousSMul (adicCompletion K v) (adicCompletion L w.1) := by
constructor
have leftCts := w.adicCompletionSemialgHom_continuous K L
exact Continuous.mul (Continuous.fst' leftCts) continuous_snd |
241 | leanexplore_declaration | leanexplore:380048 | leanexplore_sqlite | leanexplore_declarations | /-- The canonical map `K_v → ∏_{w|v} L_w` extending K → L. -/
noncomputable def semialgHomPi :
v.adicCompletion K →ₛₐ[algebraMap K L] ∀ w : v.Extension B, w.1.adicCompletion L :=
Pi.semialgHom _ _ fun i ↦ i.adicCompletionSemialgHom K L |
252 | leanexplore_declaration | leanexplore:380049 | leanexplore_sqlite | leanexplore_declarations | /-- The canonical ring homomorphism `L ⊗_K K_v → ∏_{w|v} L_w` as an `L`-algebra map. -/
noncomputable abbrev baseChange :
L ⊗[K] adicCompletion K v →ₐ[L] Π w : v.Extension B, w.1.adicCompletion L :=
(semialgHomPi K L B v).baseChange_of_algebraMap |
162 | leanexplore_declaration | leanexplore:380050 | leanexplore_sqlite | leanexplore_declarations | lemma baseChange_tmul_apply (x y w) : baseChange K L B v (x ⊗ₜ y) w =
(algebraMap _ (w.1.adicCompletion L) x) * (algebraMap _ (w.1.adicCompletion L) y) := rfl |
278 | leanexplore_declaration | leanexplore:380051 | leanexplore_sqlite | leanexplore_declarations | /-- The canonical ring homomorphism `L ⊗_K K_v → ∏_{w|v} L_w` as an `K_v`-linear map. -/
noncomputable abbrev baseChangeRight :
L ⊗[K] adicCompletion K v →ₐ[adicCompletion K v] Π w : v.Extension B, w.1.adicCompletion L :=
(semialgHomPi K L B v).baseChangeRightOfAlgebraMap |
782 | leanexplore_declaration | leanexplore:380052 | leanexplore_sqlite | leanexplore_declarations | /-- The data of a rank 1 (ℝ-valued) valuation on K_v. -/
noncomputable local instance :
Valuation.RankOne (Valued.v : Valuation (adicCompletion K v) ℤᵐ⁰) where
hom' := (toNNReal (by norm_num : (2 : NNReal) ≠ 0)).comp
(valueGroup₀_equiv_withZeroMulInt _).toMonoidWithZeroHom
strictMono' := toNNReal_strictMono... |
864 | leanexplore_declaration | leanexplore:380053 | leanexplore_sqlite | leanexplore_declarations | /-- The canonical map `L ⊗[K] K_v → ∏_{w|v} L_w` is surjective. -/
lemma baseChangeRight_surjective [FiniteDimensional K L] :
Function.Surjective (baseChangeRight K L B v) := by
let s := (baseChangeRight K L B v).toLinearMap.range
have isClosed : IsClosed s.carrier :=
Submodule.closed_of_finiteDimensional (... |
255 | leanexplore_declaration | leanexplore:380054 | leanexplore_sqlite | leanexplore_declarations | /-- ∏_{w|v} L_w is a finite K_v-module. -/
instance [FiniteDimensional K L] :
Module.Finite (adicCompletion K v) (Π w : v.Extension B, w.1.adicCompletion L) :=
.of_surjective (baseChangeRight K L B v).toLinearMap (baseChangeRight_surjective K L B v) |
237 | leanexplore_declaration | leanexplore:380055 | leanexplore_sqlite | leanexplore_declarations | /-- L_w is a finite K_v-module if w | v. -/
instance [FiniteDimensional K L] (w : v.Extension B) :
Module.Finite (adicCompletion K v) (adicCompletion L w.1) :=
Module.Finite.of_pi (fun (w : Extension B v) => w.1.adicCompletion L) w |
410 | leanexplore_declaration | leanexplore:380056 | leanexplore_sqlite | leanexplore_declarations | /-- L_w has the K_v-module topology. -/
instance instIsModuleTopology [FiniteDimensional K L] (w : v.Extension B) :
IsModuleTopology (v.adicCompletion K) (w.1.adicCompletion L) := by
let Kv := adicCompletion K v
let Lw := adicCompletion L w.1
let iso : ((Fin (Module.finrank Kv Lw)) → Kv) ≃L[Kv] Lw :=
Cont... |
318 | leanexplore_declaration | leanexplore:380057 | leanexplore_sqlite | leanexplore_declarations | /-- ∏_{w|v} L_w has the K_v-module topology. -/
instance instIsModuleTopologyPi [FiniteDimensional K L] :
-- the claim that L_w has the module topology.
IsModuleTopology (v.adicCompletion K) (Π (w : v.Extension B), w.1.adicCompletion L) := by
let := Extension.finite A K L B v
exact IsModuleTopology.instPi |
546 | leanexplore_declaration | leanexplore:380058 | leanexplore_sqlite | leanexplore_declarations | /-- `tensorAdicCompletionComapLinearMap` is continuous, open and surjective.
We later show that it's a homeomorphism. -/
lemma baseChangeRight_isOpenQuotientMap [FiniteDimensional K L] :
IsOpenQuotientMap (baseChangeRight K L B v) := by
have : T2Space (L ⊗[K] adicCompletion K v) :=
IsModuleTopology.t2Space'... |
362 | leanexplore_declaration | leanexplore:380059 | leanexplore_sqlite | leanexplore_declarations | /-- The canonical B-algebra map `B ⊗[A] 𝓞_v → L ⊗[K] K_v` -/
noncomputable def tensorAdicCompletionIntegersTo :
B ⊗[A] adicCompletionIntegers K v →ₐ[B] L ⊗[K] adicCompletion K v :=
Algebra.TensorProduct.lift
(Algebra.algHom _ _ _)
((Algebra.TensorProduct.includeRight.restrictScalars A).comp (IsScalarTowe... |
268 | leanexplore_declaration | leanexplore:380060 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma tensorAdicCompletionIntegersTo_tmul (v : HeightOneSpectrum A) (b : B)
(x : v.adicCompletionIntegers K) : tensorAdicCompletionIntegersTo K L B v (b ⊗ₜ x) =
(algebraMap B L b) ⊗ₜ x.val := by
simp [tensorAdicCompletionIntegersTo, Algebra.algHom] |
2,574 | leanexplore_declaration | leanexplore:380061 | leanexplore_sqlite | leanexplore_declarations | /-- The image of `B ⊗[A] 𝓞_v` in `L ⊗[K] K_v` is contained in the closure of the image of `B`. -/
lemma tensorAdicCompletionIntegersTo_range_subset_closure [FiniteDimensional K L] :
(tensorAdicCompletionIntegersTo K L B v).range.carrier ⊆
closure (algebraMap B (L ⊗[K] adicCompletion K v)).range := by
rintro _ ... |
89 | leanexplore_declaration | leanexplore:380062 | leanexplore_sqlite | leanexplore_declarations | noncomputable instance : Semiring (B ⊗[A] ↥(adicCompletionIntegers K v)) := inferInstance |
79 | leanexplore_declaration | leanexplore:380063 | leanexplore_sqlite | leanexplore_declarations | noncomputable instance : Semiring (adicCompletionIntegers K v) := inferInstance |
71 | leanexplore_declaration | leanexplore:380064 | leanexplore_sqlite | leanexplore_declarations | noncomputable instance : Semiring (adicCompletion K v) := inferInstance |
76 | leanexplore_declaration | leanexplore:380065 | leanexplore_sqlite | leanexplore_declarations | noncomputable instance : AddCommMonoid (adicCompletion K v) := inferInstance |
79 | leanexplore_declaration | leanexplore:380066 | leanexplore_sqlite | leanexplore_declarations | noncomputable instance : Algebra B (L ⊗[K] adicCompletion K v) := inferInstance |
112 | leanexplore_declaration | leanexplore:380067 | leanexplore_sqlite | leanexplore_declarations | noncomputable instance [FiniteDimensional K L] : TopologicalSpace (L ⊗[K] adicCompletion K v) :=
inferInstance |
78 | leanexplore_declaration | leanexplore:380068 | leanexplore_sqlite | leanexplore_declarations | noncomputable instance : Semiring (L ⊗[K] adicCompletion K v) := inferInstance |
2,845 | leanexplore_declaration | leanexplore:380069 | leanexplore_sqlite | leanexplore_declarations | /-- The image of `B ⊗[A] 𝓞_v` in `L ⊗[K] K_v` is clopen. -/
lemma tensorAdicCompletionIntegersTo_isClopen_range
[IsIntegralClosure B A L] [FiniteDimensional K L] :
IsClopen (SetLike.coe (tensorAdicCompletionIntegersTo K L B v).range) := by
-- `B ⊗[A] 𝒪_v` is a subgroup of `L ⊗[K] K_v`, so we can show it's c... |
602 | leanexplore_declaration | leanexplore:380070 | leanexplore_sqlite | leanexplore_declarations | /-- The image of `B ⊗[A] 𝓞_v` in `L ⊗[K] K_v` is the closure of the image of `B`. -/
lemma range_tensorAdicCompletionIntegersTo_eq_closure_range_algebraMap
[IsIntegralClosure B A L] [FiniteDimensional K L] :
Set.range (tensorAdicCompletionIntegersTo K L B v) =
closure (Set.range (algebraMap B (L ⊗[K] adi... |
505 | leanexplore_declaration | leanexplore:380071 | leanexplore_sqlite | leanexplore_declarations | /-- The `B`-subalgebra `∏_{w|v} 𝓞_w` of `∏_{w|v} L_w` is the closure of the image of `B`. -/
lemma pi_adicCompletionIntegers_eq_closure_range_algebraMap :
(Set.univ.pi (fun (w : Extension B v) ↦ (w.1.adicCompletionIntegers L).carrier)) =
closure (Set.range (algebraMap B _)) := by
let val := fun (w : Extens... |
856 | leanexplore_declaration | leanexplore:380072 | leanexplore_sqlite | leanexplore_declarations | /-- The image of `B ⊗[A] 𝓞_v` (the closure of `B`) in `∏_w L_w` is closed. -/
lemma isClosed_baseChange_image_closure_range_algebraMap [FiniteDimensional K L] :
IsClosed ((baseChange K L B v) ''
closure (Set.range (algebraMap B (L ⊗[K] adicCompletion K v)))) := by
let S := AddSubgroup.map
(baseChan... |
333 | leanexplore_declaration | leanexplore:380073 | leanexplore_sqlite | leanexplore_declarations | instance : MulActionHomClass
(L ⊗[K] adicCompletion K v →ₐ[L] (w : Extension B v) → adicCompletion L w.1) B
(L ⊗[K] adicCompletion K v) ((w : Extension B v) → adicCompletion L w.1) where
map_smulₛₗ φ b x := by
rw [← IsScalarTower.algebraMap_smul L, AlgHom.map_smul_of_tower,
IsScalarTower.algebraMap_... |
880 | leanexplore_declaration | leanexplore:380074 | leanexplore_sqlite | leanexplore_declarations | /-- The image of `B ⊗[A] 𝓞_v` in `∏_w L_w` is `∏_w 𝓞_w`. -/
theorem range_baseChange_comp_tensorAdicCompletionTo_eq_pi [FiniteDimensional K L] :
Set.range (baseChange K L B v ∘ tensorAdicCompletionIntegersTo K L B v) =
Set.univ.pi (fun w ↦ (w.1.adicCompletionIntegers L).carrier) := by
have hrange :
Set.... |
335 | leanexplore_declaration | leanexplore:380075 | leanexplore_sqlite | leanexplore_declarations | /-- The restriction of `adicCompletionSemialgHom` to a map `𝓞_v → 𝓞_w`. -/
noncomputable def adicCompletionIntegersRingHom :
v.adicCompletionIntegers K →+* w.1.adicCompletionIntegers L :=
RingHom.restrict (w.adicCompletionSemialgHom K L) _ _
fun x hx ↦ w.adicCompletionSemialgHom_image_adicCompletionIntegers... |
225 | leanexplore_declaration | leanexplore:380076 | leanexplore_sqlite | leanexplore_declarations | /-- If `w` is an extension of `v`, then `𝓞_w` is naturally an `𝓞_v`-algebra. -/
noncomputable instance : Algebra (v.adicCompletionIntegers K) (w.1.adicCompletionIntegers L) :=
(w.adicCompletionIntegersRingHom K L).toAlgebra |
196 | leanexplore_declaration | leanexplore:380077 | leanexplore_sqlite | leanexplore_declarations | lemma integer_algebraMap_apply (x : v.adicCompletionIntegers K) :
algebraMap (v.adicCompletionIntegers K) (w.1.adicCompletionIntegers L) x =
(w.adicCompletionSemialgHom K L) x.val := rfl |
244 | leanexplore_declaration | leanexplore:380078 | leanexplore_sqlite | leanexplore_declarations | /-- If `w` is an extension of `v`, then `L_w` is naturally an `𝓞_v`-algebra. -/
noncomputable instance : Algebra (v.adicCompletionIntegers K) (w.1.adicCompletion L) :=
Algebra.compHom (w.1.adicCompletion L) (algebraMap _ (adicCompletion K v)) |
298 | leanexplore_declaration | leanexplore:380079 | leanexplore_sqlite | leanexplore_declarations | instance : IsBiscalar B (v.adicCompletionIntegers K) (tensorAdicCompletionIntegersTo K L B v) where
map_smul₁ _ _ := map_smul ..
map_smul₂ _ _ := by
simp only [tensorAdicCompletionIntegersTo_tmul, Algebra.smul_def,
TensorProduct.RightActions.algebraMap_eval, map_mul, map_one]
rfl |
191 | leanexplore_declaration | leanexplore:380080 | leanexplore_sqlite | leanexplore_declarations | instance {w : v.Extension B} : IsScalarTower (adicCompletionIntegers K v) (adicCompletion K v)
(w.1.adicCompletion L) := Submonoid.instIsScalarTowerSubtypeMem (adicCompletionIntegers K v) |
358 | leanexplore_declaration | leanexplore:380081 | leanexplore_sqlite | leanexplore_declarations | /-- The `O_v`-linear map from `B ⊗[A] 𝓞ᵥ` to `Π v ∣ w, L_w` -/
noncomputable def tensorAdicCompletionIntegersToPiRight :
B ⊗[A] v.adicCompletionIntegers K →ₐ[v.adicCompletionIntegers K]
Π w : v.Extension B, w.1.adicCompletion L :=
((baseChangeRight K L B v).restrictScalars _).comp
((tensorAdicComplet... |
323 | leanexplore_declaration | leanexplore:380082 | leanexplore_sqlite | leanexplore_declarations | /-- The map `B ⊗ 𝓞_v → L_w` for `w` an extension of `v` given by the algebra maps. -/
noncomputable def tensorAdicCompletionIntegersToAdicCompletion :
B ⊗[A] (adicCompletionIntegers K v) →ₐ[adicCompletionIntegers K v] adicCompletion L w.1 :=
Pi.evalAlgHom _ _ w |>.comp (tensorAdicCompletionIntegersToPiRight K L ... |
920 | leanexplore_declaration | leanexplore:380083 | leanexplore_sqlite | leanexplore_declarations | /-- The range of `adicCompletionIntegers.tensorToAdicCompletion` is `𝓞_w`. -/
lemma tensorAdicCompletionIntegersToAdicCompletion_range_eq_integers [FiniteDimensional K L] :
Set.range (w.tensorAdicCompletionIntegersToAdicCompletion K L B v) =
adicCompletionIntegers L w.1 := by
ext x
have memrange := (rang... |
198 | leanexplore_declaration | leanexplore:380084 | leanexplore_sqlite | leanexplore_declarations | /-- A shortcut instance for the action of `𝓞ᵥ` on `Kᵥ`. -/
noncomputable local instance : MulAction (v.adicCompletionIntegers K) (v.adicCompletion K) :=
LieAlgebra.ofAssociativeAlgebra.toMulAction |
1,471 | leanexplore_declaration | leanexplore:380085 | leanexplore_sqlite | leanexplore_declarations | /-- `𝓞_w` is finite over `𝓞_v`. -/
-- This can be proved for finite extensions of complete discretely valued fields without
-- reference to underlying fields being completed, but this is sufficient for our
-- purposes.
noncomputable instance (priority := 1001) [Module.Finite A B] [FiniteDimensional K L] :
Module.... |
206 | leanexplore_declaration | leanexplore:380086 | leanexplore_sqlite | leanexplore_declarations | lemma _root_.WithZero.ofAdd_neg_ofNat_pow (n : ℕ) :
(WithZero.coe (Multiplicative.ofAdd (-n : ℤ))) = (Multiplicative.ofAdd (-1 : ℤ)) ^ n := by
congr
rw [← ofAdd_nsmul, nsmul_eq_mul, Int.mul_neg_one] |
971 | leanexplore_declaration | leanexplore:380087 | leanexplore_sqlite | leanexplore_declarations | theorem ramificationIdx_eq_ramificationIdx :
(v.completionIdeal K).ramificationIdx (w.1.completionIdeal L) =
v.asIdeal.ramificationIdx w.1.asIdeal := by
apply Ideal.ramificationIdx_spec
· rw [Ideal.map_le_iff_le_comap]
intro x hx
rw [mem_completionIdeal_iff'] at hx
rw [Ideal.mem_comap, adicCom... |
1,756 | leanexplore_declaration | leanexplore:380088 | leanexplore_sqlite | leanexplore_declarations | theorem inertiaDeg_eq_inertiaDeg :
v.asIdeal.inertiaDeg w.1.asIdeal = (v.completionIdeal K).inertiaDeg (w.1.completionIdeal L) :=
letI := Algebra.compHom (adicCompletionIntegers L w.1) (algebraMap A B)
have : IsScalarTower A B (adicCompletionIntegers L w.1) :=
IsScalarTower.of_algebraMap_eq fun _ ↦ rfl
ha... |
772 | leanexplore_declaration | leanexplore:380090 | leanexplore_sqlite | leanexplore_declarations | theorem ramificationIdx_mul_inertiaDeg_eq_finrank [FiniteDimensional K L] [Module.Finite A B] :
v.asIdeal.ramificationIdx w.1.asIdeal * v.asIdeal.inertiaDeg w.1.asIdeal =
Module.finrank (adicCompletion K v) (adicCompletion L w.1) := by
have : IsScalarTower (adicCompletionIntegers K v) (adicCompletionInteger... |
118 | leanexplore_declaration | leanexplore:380091 | leanexplore_sqlite | leanexplore_declarations | local instance : Module.Free (v.adicCompletion K) (adicCompletion L w.1) :=
Module.free_of_finite_type_torsion_free' |
1,005 | leanexplore_declaration | leanexplore:380092 | leanexplore_sqlite | leanexplore_declarations | /-- `L ⊗[K] K_v` and `∏_{w|v} L_w` have equal dimensions -/
lemma finrank_tensorProduct_adicCompletion_eq_finrank_pi_adicCompletion :
Module.finrank (adicCompletion K v) (L ⊗[K] adicCompletion K v) =
Module.finrank (adicCompletion K v) ((w : Extension B v) → adicCompletion L w.val) :=
letI := Extension.fint... |
455 | leanexplore_declaration | leanexplore:380093 | leanexplore_sqlite | leanexplore_declarations | /-- The canonical map `L ⊗[K] K_v → ∏_{w|v} L_w` is bijective. -/
theorem baseChange_bijective : Function.Bijective (baseChange K L B v) := by
change Function.Bijective (baseChangeRight K L B v)
have hsurj := baseChangeRight_surjective K L B v
refine ⟨?_, hsurj⟩
have hrank := finrank_tensorProduct_adicCompletio... |
256 | leanexplore_declaration | leanexplore:380094 | leanexplore_sqlite | leanexplore_declarations | /-- The L-algebra isomorphism `L ⊗[K] K_v ≅ ∏_{w|v} L_w`. -/
noncomputable def baseChangeAlgEquiv :
L ⊗[K] v.adicCompletion K ≃ₐ[L] Π w : v.Extension B, w.1.adicCompletion L :=
AlgEquiv.ofBijective (baseChange K L B v) <| baseChange_bijective K L B v |
466 | leanexplore_declaration | leanexplore:380095 | leanexplore_sqlite | leanexplore_declarations | /-- The continuous L-algebra isomorphism `L ⊗[K] K_v ≅ ∏_{w|v} L_w`. -/
noncomputable def baseChangeContinuousAlgEquiv :
L ⊗[K] v.adicCompletion K ≃A[L] Π w : v.Extension B, w.1.adicCompletion L :=
have : IsBiscalar L (v.adicCompletion K) (baseChangeAlgEquiv K L B v).toAlgHom :=
inferInstanceAs (IsBiscalar L ... |
337 | leanexplore_declaration | leanexplore:380096 | leanexplore_sqlite | leanexplore_declarations | /-- The `B`-module isomorphism `B ⊗[A] K_v ≅ ∏_{w|v} L_w`. -/
noncomputable def integerBaseChangeLinearEquiv :
B ⊗[A] v.adicCompletion K ≃ₗ[B] ∀ w : v.Extension B, w.1.adicCompletion L :=
(linearEquivTensorProductModuleLeft A K L B (v.adicCompletion K)).symm.trans
((baseChangeAlgEquiv K L B v).toLinearEquiv.r... |
283 | leanexplore_declaration | leanexplore:380097 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma integerBaseChangeLinearEquiv_tmul_apply (b x) :
integerBaseChangeLinearEquiv K L B v (b ⊗ₜ[A] x) w =
algebraMap B _ b * algebraMap _ _ x := by
rw [integerBaseChangeLinearEquiv, LinearEquiv.trans_apply,
linearEquivTensorProductModuleLeft_symm_tmul]
rfl |
258 | leanexplore_declaration | leanexplore:380098 | leanexplore_sqlite | leanexplore_declarations | /-- `𝓞_v` as an `A`-submodule of `K_v`. -/
noncomputable def integerSubmodule (v : HeightOneSpectrum A) : Submodule A (adicCompletion K v) :=
let s : Submodule (adicCompletionIntegers K v) _ := (adicCompletionIntegers K v).toSubmodule
s.restrictScalars A |
282 | leanexplore_declaration | leanexplore:380099 | leanexplore_sqlite | leanexplore_declarations | /-- The canonical `B`-linear map `B ⊗[A] 𝓞_v → B ⊗[A] K_v`. -/
noncomputable def tensorCoe : B ⊗[A] v.adicCompletionIntegers K →ₗ[B] B ⊗[A] v.adicCompletion K :=
TensorProduct.AlgebraTensorModule.lTensor _ _
(Algebra.algHom A (adicCompletionIntegers K v) (adicCompletion K v)) |
120 | leanexplore_declaration | leanexplore:380100 | leanexplore_sqlite | leanexplore_declarations | @[simp]
lemma tensorCoe_tmul (b : B) (x : v.adicCompletionIntegers K) :
tensorCoe K B v (b ⊗ₜ x) = b ⊗ₜ x.val := rfl |
901 | leanexplore_declaration | leanexplore:380101 | leanexplore_sqlite | leanexplore_declarations | theorem integerBaseChangeLinearEquiv_bijOn (v : HeightOneSpectrum A) :
Set.BijOn (integerBaseChangeLinearEquiv K L B v)
(Set.range (adicCompletionIntegers.tensorCoe K B v))
(Submodule.pi Set.univ fun (w : Extension B v) ↦ integerSubmodule L w.val) := by
suffices h : ((integerBaseChangeLinearEquiv K L ... |
419 | leanexplore_declaration | leanexplore:380102 | leanexplore_sqlite | leanexplore_declarations | lemma tendsTo_comap_cofinite [FaithfulSMul A B] :
Filter.Tendsto (under A (B:=B)) Filter.cofinite Filter.cofinite :=
have : FaithfulSMul A (FractionRing B) := FractionRing.instFaithfulSMul A B
letI : Algebra (FractionRing A) (FractionRing B) :=
FractionRing.liftAlgebra A (FractionRing B)
(Filter.Tendsto.c... |
410 | leanexplore_declaration | leanexplore:380103 | leanexplore_sqlite | leanexplore_declarations | lemma cofinite_mapsTo_adicCompletionSemialgHom :
∀ᶠ (w : HeightOneSpectrum B) in Filter.cofinite,
Set.MapsTo (Extension.adicCompletionSemialgHom K L (v := under A w) ⟨w, rfl⟩)
(adicCompletionIntegers K (under A w)) (adicCompletionIntegers L w) := by
apply Filter.Eventually.of_forall
intro w
exact Se... |
219 | leanexplore_declaration | leanexplore:380104 | leanexplore_sqlite | leanexplore_declarations | @[inherit_doc]
scoped notation:max "𝔸ᶠ[" A ", " K "]" => FiniteAdeleRing A K
/-- The ring homomorphism `𝔸_K^∞ → 𝔸_L^∞` for `L/K` an extension of number fields. -/
noncomputable def mapRingHom : 𝔸ᶠ[A, K] →+* 𝔸ᶠ[B, L] := |
452 | leanexplore_declaration | leanexplore:380105 | leanexplore_sqlite | leanexplore_declarations | /-- The ring homomorphism `𝔸_K^∞ → 𝔸_L^∞` for `L/K` an extension of number fields. -/
noncomputable def mapRingHom : 𝔸ᶠ[A, K] →+* 𝔸ᶠ[B, L] :=
have : FaithfulSMul A B := FaithfulSMul.of_field_isFractionRing A B K L
RestrictedProduct.mapAlongRingHom (adicCompletion K) (adicCompletion L) (under A)
(tendsTo_com... |
723 | leanexplore_declaration | leanexplore:380106 | leanexplore_sqlite | leanexplore_declarations | /-- The ring homomorphism `𝔸_K^∞ → 𝔸_L^∞` for `L/K` an extension of number fields,
as a morphism lying over the canonical map `K → L`. -/
noncomputable def mapSemialgHom :
𝔸ᶠ[A, K] →SA[algebraMap K L] 𝔸ᶠ[B, L] where
__ := FiniteAdeleRing.mapRingHom A K L B
map_smul' k a := by
ext w
simpa only [Algeb... |
161 | leanexplore_declaration | leanexplore:380107 | leanexplore_sqlite | leanexplore_declarations | lemma mapSemialgHom_apply (x : 𝔸ᶠ[A, K]) (w : HeightOneSpectrum B) :
mapSemialgHom A K L B x w = adicCompletionSemialgHom K L ⟨w, rfl⟩ (x (under A w)) := rfl |
228 | leanexplore_declaration | leanexplore:380108 | leanexplore_sqlite | leanexplore_declarations | instance : Algebra (Πʳ v : HeightOneSpectrum A, [v.adicCompletion K, v.adicCompletionIntegers K])
(Πʳ w: HeightOneSpectrum B, [w.adicCompletion L, w.adicCompletionIntegers L]) :=
inferInstanceAs (Algebra 𝔸ᶠ[A, K] 𝔸ᶠ[B, L]) |
361 | leanexplore_declaration | leanexplore:380109 | leanexplore_sqlite | leanexplore_declarations | /-- Utility class which specialises `RestrictedProduct.FiberwiseSMul` to the case of
finite adele rings. -/
class ComapFiberwiseSMul extends RestrictedProduct.FiberwiseSMul (α := HeightOneSpectrum B)
(under A) (adicCompletion K) (fun v ↦ adicCompletionIntegers K v) Filter.cofinite
(adicCompletion L) (fun w ↦ ad... |
201 | leanexplore_declaration | leanexplore:380110 | leanexplore_sqlite | leanexplore_declarations | theorem ComapFiberwiseSMul.map_smul' (x : 𝔸ᶠ[A, K]) (y : 𝔸ᶠ[B, L]) (v : HeightOneSpectrum A)
(w : v.Extension B) : (x • y) w.1 = x v • y w.1 :=
ComapFiberwiseSMul.toFiberwiseSMul.map_smul x y v w |
322 | leanexplore_declaration | leanexplore:380111 | leanexplore_sqlite | leanexplore_declarations | lemma BaseChange.algebraMap_apply (w : HeightOneSpectrum B) (x : 𝔸ᶠ[A, K]) :
algebraMap _ 𝔸ᶠ[B, L] x w = adicCompletionSemialgHom K L ⟨w, rfl⟩ (x (under A w)) := by
simp [Algebra.algebraMap_eq_smul_one, ComapFiberwiseSMul.map_smul' x 1 (w.under A) ⟨w, rfl⟩,
RingHom.smul_toAlgebra, SemialgHom.toLinearMap_eq_... |
222 | leanexplore_declaration | leanexplore:380112 | leanexplore_sqlite | leanexplore_declarations | /-- The canonical linear isomorphism `L ⊗[K] 𝔸_K^∞ ≅ B ⊗[A] 𝔸_K^∞`. -/
def tensorEquivTensor [FiniteDimensional K L] : L ⊗[K] 𝔸ᶠ[A, K] ≃ₗ[B] B ⊗[A] 𝔸ᶠ[A, K] := by
exact linearEquivTensorProductModuleLeft A K L B 𝔸ᶠ[A, K] |
220 | leanexplore_declaration | leanexplore:380113 | leanexplore_sqlite | leanexplore_declarations | lemma tensorEquivTensor_tmul [FiniteDimensional K L] (b : B) (x : 𝔸ᶠ[A, K]) :
tensorEquivTensor A K L B (algebraMap B L b ⊗ₜ[K] x) = b ⊗ₜ[A] x := by
simp [tensorEquivTensor, linearEquivTensorProductModuleLeft_tmul] |
704 | leanexplore_declaration | leanexplore:380114 | leanexplore_sqlite | leanexplore_declarations | /-- The `B`-linear isomorphism `φ : B ⊗[K] 𝔸_K^∞ ≅ ∏'_v [B ⊗[A] K_v, B ⊗[A] 𝓞_v]`
given by `φ (b ⊗ x) v = b ⊗ (x v)`. -/
def tensorEquivRestrictedProduct : B ⊗[A] 𝔸ᶠ[A, K] ≃ₗ[B] Πʳ v, [B ⊗[A] (adicCompletion K v),
RestrictedProduct.rangeLTensorLeft A B (adicCompletion K) (integerSubmodule K) v] := by
have := M... |
205 | leanexplore_declaration | leanexplore:380115 | leanexplore_sqlite | leanexplore_declarations | lemma tensorEquivRestrictedProduct_tmul (b : B) (x : 𝔸ᶠ[A, K]) (v : HeightOneSpectrum A) :
tensorEquivRestrictedProduct A K L B (b ⊗ₜ[A] x) v = b ⊗ₜ[A] (x v) := by
simp [tensorEquivRestrictedProduct] |
774 | leanexplore_declaration | leanexplore:380116 | leanexplore_sqlite | leanexplore_declarations | /-- The `B`-linear isomorphism `∏'_v [B ⊗[A] K_v, B ⊗[A] 𝓞_v] ≅ ∏'_v [∏_{w|v} L_w, ∏_{w|v} 𝓞_w]`
given by `adicCompletionComapIntegerLinearEquiv`. -/
def restrictedProduct_tensorProduct_equiv_restrictedProduct_prod [FiniteDimensional K L] :
Πʳ v, [B ⊗[A] (adicCompletion K v),
RestrictedProduct.rangeLTensorL... |
281 | leanexplore_declaration | leanexplore:380117 | leanexplore_sqlite | leanexplore_declarations | lemma restrictedProduct_tensorProduct_equiv_restrictedProduct_prod_apply [FiniteDimensional K L]
(f) (v : HeightOneSpectrum A) :
FiniteAdeleRing.restrictedProduct_tensorProduct_equiv_restrictedProduct_prod A K L B f v =
integerBaseChangeLinearEquiv K L B v (f v) := rfl |
776 | leanexplore_declaration | leanexplore:380118 | leanexplore_sqlite | leanexplore_declarations | /-- The `B`-linear isomorphism `∏'_v [∏_{w|v} L_w, ∏_{w|v} 𝓞_w] → 𝔸_L^∞` given by
`RestrictedProduct.flatten_equiv'`. -/
def restrictedProduct_prod_equiv :
Πʳ (v : HeightOneSpectrum A), [(w : Extension B v) → adicCompletion L w.val,
Submodule.pi .univ fun w : Extension B v ↦ (integerSubmodule L w.val)] ≃ₗ[B... |
149 | leanexplore_declaration | leanexplore:380119 | leanexplore_sqlite | leanexplore_declarations | lemma restrictedProduct_prod_equiv_apply (f) (w : HeightOneSpectrum B) :
restrictedProduct_prod_equiv A K L B f w = f (under A w) ⟨w, rfl⟩ := rfl |
502 | leanexplore_declaration | leanexplore:380120 | leanexplore_sqlite | leanexplore_declarations | /-- The `L`-linear isomorphism `L ⊗ A_K^∞ ≅ A_L^∞` given by composing the previous four maps. -/
def baseChangeLinearEquiv [FiniteDimensional K L] : L ⊗[K] 𝔸ᶠ[A, K] ≃ₗ[L] 𝔸ᶠ[B, L] :=
let f₁ := tensorEquivTensor A K L B
let f₂ := tensorEquivRestrictedProduct A K L B
let f₃ := restrictedProduct_tensorProduct_equi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.