theorem
L30 ↗count_toPrincipalIdeal
FractionalIdeal.count_toPrincipalIdeal
The exponent of a prime in a principal fractional ideal is the additive form of the corresponding normalized finite-place valuation.
Source context 6 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
open IsDedekindDomain
open scoped WithZero
noncomputable section
universe u v
variable {R : Type u} {F : Type v} [CommRing R] [IsDedekindDomain R]
[Field F] [Algebra R F] [IsFractionRing R F]Lean source · statement
theorem FractionalIdeal.count_toPrincipalIdeal (x : Fˣ)
(v : HeightOneSpectrum R) :
FractionalIdeal.count F v
((toPrincipalIdeal R F x : (FractionalIdeal (nonZeroDivisors R) F)ˣ) :
FractionalIdeal (nonZeroDivisors R) F) =
-WithZero.log (v.valuation F (x : F))