Fractional ideals away from a finite set are generated by the remaining primes
ProvedTauCeti.NumberFieldArithmetic.idealsAway_eq_closure_primesnumber-theorytauceti-chebotarev
Let be a number field and let be a finite set of nonzero primes of . In the group of invertible fractional ideals, let
where is the prime-ideal exponent. Then
This gives generators for the ideal group underlying coprimality and ray class constructions.
Source: the Tau Ceti contributors (Apache-2.0, commit 948fe4751b1fe528b6d580c522ca5d743d47f185).
Preamble
/- Transplanted from https://github.com/TauCetiProject/TauCeti at 948fe4751b1fe528b6d580c522ca5d743d47f185.
Original source copyright/license notices are retained below.
Generated exclusively from compiler declaration, command, and reference facts. -/
import Definitions.Def_TauCeti_NumberTheory_NumberField_Ideal_Away
import Mathlib.NumberTheory.NumberField.Basic
import Mathlib.RingTheory.ClassGroup.Basic
import Mathlib.RingTheory.DedekindDomain.AdicValuation
import Mathlib.RingTheory.DedekindDomain.Factorization
import Mathlib.RingTheory.DedekindDomain.Ideal.Lemmas
import Mathlib.RingTheory.Valuation.Discrete.IsDiscreteValuationRing
section
set_option autoImplicit true
/-
Copyright (c) 2026 The Tau Ceti contributors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: The Tau Ceti contributors
-/
/-!
# Fractional ideals away from finitely many primes
For a number field `K` and a finite set `S` of its finite places, this file defines the subgroup
`idealsAway S` of invertible fractional ideals whose multiplicity vanishes at every member of
`S`. It proves that this subgroup is generated by the prime ideals outside `S` and supplies the
inclusion induced by enlarging `S`.
The integral counterpart `integralIdealsAway S` consists of the nonzero integral ideals divisible
by no prime in `S`. Its map to `idealsAway S` is the restriction of Mathlib's
`FractionalIdeal.mk0`.
The generation proof transports Mathlib's unique factorization of a nonzero fractional ideal,
`FractionalIdeal.finprod_heightOneSpectrum_factorization'`, to fractional-ideal units.
## Main definitions
* `NumberFieldArithmetic.idealsAway`: unit fractional ideals trivial at the primes in `S`.
* `NumberFieldArithmetic.idealsAwayEmptyEquiv`: ideals away from no primes are all invertible
fractional ideals.
* `NumberFieldArithmetic.idealsAwayInclusion`: inclusion obtained from `S ⊆ S'`.
* `NumberFieldArithmetic.integralIdealsAway`: nonzero integral ideals prime to `S`.
* `NumberFieldArithmetic.integralIdealsAwayHom`: the map from integral to fractional ideals.
## Main results
* `NumberFieldArithmetic.integralIdealsAway_hom_ext`: a monoid homomorphism out of
`integralIdealsAway S` is determined by its values on the primes outside `S`.
## References
The shared lift of fractional-ideal factorization to units,
`FractionalIdeal.finprod_unitOfPrime_zpow_count`, is also used by
`TauCeti.RingTheory.ClassGroup.HeightOneSpectrum`. It is adapted from Michael Stoll's
`EllipticCurves/Mathlib/FractionalIdeal.lean` at commit `66889eada51a` of the
`MichaelStollBayreuth/EllipticCurves` repository (Apache 2.0).
-/
section
open IsDedekindDomain IsDedekindDomain.HeightOneSpectrum NumberField
open scoped nonZeroDivisors NumberField
namespace TauCeti.NumberFieldArithmetic
end TauCeti.NumberFieldArithmetic
section TauCeti.NumberFieldArithmetic
open TauCeti TauCeti.NumberFieldArithmetic
variable {K : Type*} [Field K] [NumberField K]
Formal statement
theorem TauCeti.NumberFieldArithmetic.idealsAway_eq_closure_primes (S : _root_.Finset (_root_.IsDedekindDomain.HeightOneSpectrum (𝓞 K))) :
_root_.TauCeti.NumberFieldArithmetic.idealsAway S = _root_.Subgroup.closure {I : (_root_.FractionalIdeal (𝓞 K)⁰ K)ˣ |
∃ v : _root_.IsDedekindDomain.HeightOneSpectrum (𝓞 K), v ∉ S ∧
((I : _root_.FractionalIdeal (𝓞 K)⁰ K) =
(v.asIdeal : _root_.FractionalIdeal (𝓞 K)⁰ K))} := by sorry
Source