The diagonal image of a nonzero function in all its completions.
Source context 6 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
namespace FunctionField
variable (k K : Type*) [Field k] [Field K] [Algebra k K]
namespace IdeleGroup
variable [AlgebraicCurve.HasPrincipalDivisors k K]def principalIdele : Kˣ →* IdeleGroup k K where
toFun x := ⟨fun v => Units.map (algebraMap K v.adicCompletion) x, by
obtain ⟨D, hD, _⟩ :=
AlgebraicCurve.HasPrincipalDivisors.exists_divisor (K := k) (F := K) (x : K) x.ne_zero
refine D.support.eventually_cofinite_notMem.mono ?_
intro v hv
apply (localOrder_eq_zero_iff v _).1
rw [localOrder_algebraMap, ← hD v]
exact Finsupp.notMem_support_iff.mp hv⟩
map_one' := by
apply RestrictedProduct.ext
intro v
exact (Units.map (algebraMap K v.adicCompletion).toMonoidHom).map_one
map_mul' x y := by
apply RestrictedProduct.ext
intro v
exact (Units.map (algebraMap K v.adicCompletion).toMonoidHom).map_mul x y