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