Maximal ideals of ℤ̄ versus valuation subrings of ℚ̄
Provedexists_valuationSubring_liesOverPrime_forall_mlocal_iff_mem_rangeLet be a prime, let be a ring homomorphism from the algebraic closure of to , and let be a maximal ideal of , the ring of elements of integral over , such that the image of in lies in . Then there exists a valuation subring of with the following two properties. First, lies over in the sense of the project's predicate LiesOverPrime: the image of in belongs to A.nonunits, the set of elements of that are non-units of , i.e. lies in the maximal ideal of . Second, for every complex number , the following are equivalent: there exist with and in (so that is -local, a quotient of algebraic integers with denominator outside ); and there exists with . In particular the image under of is exactly the localisation of at inside .
This is the comparison of the two ways of expressing -integrality of an algebraic number used in the formalisation: membership in the localisation of the algebraic integers of at a maximal ideal above , and membership in a valuation subring of whose maximal ideal contains ; it rests on the standard theory of extensions of valuations to algebraic extensions. It is used in the analysis of -expansions and Atkin–Lehner/Hecke operators on modular curves, where integrality hypotheses arrive in one spelling and are consumed in the other.
import Mathlib import Definitions.Def_FLTPrelim_Ramification set_option maxHeartbeats 4000000 set_option synthInstance.maxHeartbeats 400000 set_option backward.isDefEq.respectTransparency.types false set_option autoImplicit false
theorem exists_valuationSubring_liesOverPrime_forall_mlocal_iff_mem_range
(p : ℕ) [Fact p.Prime] (ι : AlgebraicClosure ℚ →+* ℂ)
(𝔪 : Ideal ↥(integralClosure ℤ ℂ)) (h𝔪 : 𝔪.IsMaximal) (hp𝔪 : (p : ↥(integralClosure ℤ ℂ)) ∈ 𝔪) :
∃ A : ValuationSubring (AlgebraicClosure ℚ), A.LiesOverPrime p ∧
∀ z : ℂ, (∃ x y : ↥(integralClosure ℤ ℂ), y ∉ 𝔪 ∧ (x : ℂ) = y * z) ↔
∃ a : AlgebraicClosure ℚ, a ∈ A ∧ ι a = z := by sorry