import OAI.NumberTheory.DukePrimeDegree.Arithmetic.ClassFieldModulus namespace OAI /-! # Unconditional even ray realization of cyclic ideal characters The conductor of a totally real cyclic extension has no infinite part. Arithmetic Artin reciprocity and the common rational congruence modulus therefore supply the kernel law for every actual Frobenius ideal character. This gives their realization as even ray characters. -/ noncomputable section open scoped NumberField Classical namespace DukePrimeDegree open GlobalClassFieldTheory GlobalClassFieldTheory.GlobalClassFields open PrimeDegreePackets PrimeDegreePackets.GaloisIdealCharacter variable {K L : Type} [Field K] [NumberField K] [Field L] [NumberField L] variable [Algebra K L] [FiniteDimensional K L] [IsAbelianGalois K L] theorem idealCharacter_kernelLaw_of_even_modulus (m : RayClass.Modulus K) (hm : m.infinitePart = βˆ…) (hnorm : m.congruenceSubgroup ≀ (ideleClassNorm K L).range) (hunram : βˆ€ v : IsDedekindDomain.HeightOneSpectrum (π“ž K), v βˆ‰ m.finitePart.support β†’ Algebra.IsUnramifiedAt (π“ž K) (primeAbove K L v).val) (N : β„•) (hN : βˆ€ v ∈ m.finitePart.support, algebraMap (π“ž K) (v.adicCompletionIntegers K) (N : π“ž K) ∈ IsLocalRing.maximalIdeal (v.adicCompletionIntegers K) ^ m.finitePart v) (Ο‡ : (L ≃ₐ[K] L) β†’* β„‚Λ£) : PrincipalRay.KernelLaw (idealHom K L Ο‡) N := by intro a ha hcong let x : KΛ£ := Units.mk0 (a : K) (by exact_mod_cast ha) have hx : IdeleGroup.principalIdele K x ∈ RayClass.idelePrimeToModulusSubgroup m := principalIdele_mem_even_ray_of_congruence m hm N hN a ha hcong let y : RayClass.idelePrimeToModulusSubgroup m := ⟨IdeleGroup.principalIdele K x, hx⟩ let I := RayClass.primeToIdealMap m y have hI : I ∈ RayClass.principalRayIdealSubgroup m := by refine ⟨y, ?_, rfl⟩ exact ⟨x, rfl⟩ have H := idealCharacter_principalRay_eq_one m hnorm hunram Ο‡ I hI have hval : (I : FractionalIdealGroup K) = integralIdealFractionalUnit (Ideal.span {a}) (by simpa only [ne_eq, Ideal.span_singleton_eq_bot] using ha) := by change IdeleGroup.fractionalIdeal (IdeleGroup.principalIdele K x) = _ rw [IdeleGroup.fractionalIdeal_principalIdele] apply Units.ext rw [coe_toPrincipalIdeal] exact (FractionalIdeal.coeIdeal_span_singleton a).symm change idealHom K L Ο‡ (I : FractionalIdealGroup K) = 1 at H change idealHom K L Ο‡ (integralIdealFractionalUnit (Ideal.span {a}) _) = 1 rwa [hval] at H end DukePrimeDegree namespace DukePrimeDegree open PrimeDegreePackets PrimeDegreePackets.GaloisIdealCharacter /-- Actual cyclic Frobenius characters of a totally real extension have one common even ray modulus, with the discriminant primes removed. -/ theorem exists_cyclic_ray_family_unconditional (K L : Type) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L] [FiniteDimensional K L] [IsGalois K L] [IsCyclic (L ≃ₐ[K] L)] [NumberField.IsTotallyReal K] [NumberField.IsTotallyReal L] : βˆƒ N : β„•, 0 < N ∧ (NumberField.discr L).natAbs ∣ N ∧ βˆƒ ψ : ((L ≃ₐ[K] L) β†’* β„‚Λ£) β†’ EvenRayCharacter K N, (βˆ€ Ο‡, (ψ Ο‡).idealHom = idealHom K L Ο‡) ∧ βˆ€ Ο‡, Ο‡ β‰  1 β†’ (ψ Ο‡).IsNonprincipal := by let : CommGroup (L ≃ₐ[K] L) := IsCyclic.commGroup let : IsAbelianGalois K L := { is_comm.comm := mul_comm } obtain ⟨m, N, hN, hdN, hm, hnorm, hlocal, hur⟩ := exists_integer_even_artin_modulus (K := K) (L := L) obtain ⟨ψ, hid, hψ⟩ := exists_cyclic_ray_family K L N hN (idealCharacter_kernelLaw_of_even_modulus m hm hnorm hur N hlocal) exact ⟨N, hN, hdN, ψ, hid, hψ⟩ end DukePrimeDegree end end OAI