File size: 4,076 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | import Mathlib
import OAI.AlgebraicGeometry.ComplexMultiplication.GaloisCMType
/-! # Weak Approximation -/
namespace OAI.Analysis.DifferentialForms.WeakApproximation.Local
noncomputable section
/- WeakApproximation is used with its stated completion-valued conclusion. The local targets
are field elements (eventually 0 or 1), so no surjectivity of a completion map
onto β is required. No statement stub is imported. -/
open scoped Classical
open _root_.NumberField
variable {E Place : Type*} [Field E] [Algebra β E] [NumberField E]
[Fintype Place]
/-- The supplied WeakApproximation proposition, specialized to E and the finite place set. -/
def WeakApproximationInput : Prop :=
β (v : Place β AbsoluteValue E β),
(β i, (v i).IsNontrivial) β
(Pairwise fun i j => Β¬ (v i).IsEquiv (v j)) β
DenseRange (fun x : E => fun i : Place => (x : (v i).Completion))
omit [NumberField E] [Fintype Place] in
lemma distinct_places
(Ο : Place β E ββ[β] β)
(hΟ : Function.Injective (fun p : Place Γ Bool =>
if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1)) :
Function.Injective (fun Ο => InfinitePlace.mk (Ο Ο).toRingHom) := by
intro u v huv
rcases InfinitePlace.mk_eq_iff.mp huv with h | h
Β· have he : Ο u = Ο v := by
ext x
exact congrArg (fun f : E β+* β => f x) h
have hp : (u, false) = (v, false) := hΟ (show (if (false : Bool) then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο u) else Ο u) =
(if (false : Bool) then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο v) else Ο v) from he)
exact congrArg Prod.fst hp
Β· have he : AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο u) = Ο v := by
ext x
exact congrArg (fun f : E β+* β => f x) h
have hp : (u, true) = (v, false) := hΟ (show (if (true : Bool) then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο u) else Ο u) =
(if (false : Bool) then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο v) else Ο v) from he)
have hb := congrArg Prod.snd hp
cases hb
omit [NumberField E] in
lemma approximate_local_field_elements
(hWeakApproximation : WeakApproximationInput (E := E) (Place := Place))
(Ο : Place β E ββ[β] β)
(hΟ : Function.Injective (fun p : Place Γ Bool =>
if p.2 then AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (Ο p.1) else Ο p.1))
(target : Place β E) (Ξ΄ : Place β β) (hΞ΄ : β Ο, 0 < Ξ΄ Ο) :
β t : E, β Ο, dist (Ο Ο t) (Ο Ο (target Ο)) < Ξ΄ Ο := by
let w : Place β InfinitePlace E := fun Ο => InfinitePlace.mk (Ο Ο).toRingHom
have hw : Function.Injective w := distinct_places Ο hΟ
let O : Set ((Ο : Place) β (w Ο).val.Completion) :=
{z | β Ο, dist (z Ο) (target Ο : (w Ο).val.Completion) < Ξ΄ Ο}
have ho : IsOpen O := by
simp only [O, Set.ofPred_forall]
apply isOpen_iInter_of_finite
intro Ο
exact isOpen_lt ((continuous_apply Ο).dist continuous_const) continuous_const
have hn : O.Nonempty := β¨fun Ο => (target Ο : (w Ο).val.Completion), by
intro Ο
simpa using hΞ΄ Οβ©
have hd := hWeakApproximation (fun Ο => (w Ο).val) (fun Ο => (w Ο).isNontrivial)
(fun u v huv he => huv (hw (InfinitePlace.eq_iff_isEquiv.mpr he)))
obtain β¨t, htβ© := hd.exists_mem_open ho hn
refine β¨t, fun Ο => ?_β©
have h := ht Ο
change dist
((WithAbs.toAbs (w Ο).val t : WithAbs (w Ο).val) : (w Ο).val.Completion)
((WithAbs.toAbs (w Ο).val (target Ο) : WithAbs (w Ο).val) :
(w Ο).val.Completion) < Ξ΄ Ο at h
rw [UniformSpace.Completion.dist_eq, dist_eq_norm] at h
change βΟ Ο (t - target Ο)β < Ξ΄ Ο at h
simpa only [map_sub, dist_eq_norm] using h
end
end OAI.Analysis.DifferentialForms.WeakApproximation.Local
|