File size: 9,066 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
import OAI.NumberTheory.DukePrimeDegree.Geometry.RemainingIntrinsicProduct
import OAI.NumberTheory.DukePrimeDegree.Entropy.RootProductInformation

namespace OAI

/-! # Finite diagonal orbit tubes in a remaining root group

These are actual conjugation tubes, not assumed entropy partitions.
Their information is computed exactly; the passage from these tubes to
metric entropy is a separate step.
-/

noncomputable section
open Matrix MeasureTheory Set Filter
open scoped ENNReal BigOperators Topology
namespace DukePrimeDegree
open PrimeDegreePackets

lemma exp_scaled_abs_lt_iff (a ρ x : ℝ) :
    |Real.exp a * x| < Real.exp (-ρ) ↔ |x| < Real.exp (-(ρ+a)) := by
  rw [abs_mul, abs_of_pos (Real.exp_pos a), mul_comm (Real.exp a),
    ←lt_div_iffβ‚€ (Real.exp_pos a), ←Real.exp_sub,
    show -ρ-a = -(ρ+a) by ring]

lemma finite_exp_scaled_abs_lt_iff (a ρ x : ℝ) (N : β„•) :
    (βˆ€ k : β„•, k ≀ N β†’ |Real.exp (a*k) * x| < Real.exp (-ρ)) ↔
      |x| < Real.exp (-(ρ+(N:ℝ)*max a 0)) := by
  simp_rw [exp_scaled_abs_lt_iff]
  by_cases ha : 0 ≀ a
  Β· rw [max_eq_left ha]
    constructor
    Β· intro h
      simpa only [mul_comm a] using h N le_rfl
    Β· intro h k hk
      apply h.trans_le
      apply Real.exp_le_exp.mpr
      have hkn : (k : ℝ) ≀ N := by exact_mod_cast hk
      nlinarith
  Β· rw [max_eq_right (le_of_not_ge ha),mul_zero,add_zero]
    constructor
    Β· intro h
      simpa only [Nat.cast_zero,mul_zero,add_zero] using h 0 (Nat.zero_le _)
    Β· intro h k _
      apply h.trans_le
      apply Real.exp_le_exp.mpr
      have hak : a*(k:ℝ) ≀ 0 := mul_nonpos_of_nonpos_of_nonneg
        (le_of_not_ge ha) (Nat.cast_nonneg _)
      linarith

namespace EliminationChain
variable {n : β„•} {P : Finset (Fin n Γ— Fin n)} {D : Finset (Fin n)}

/-- The tube followed by the backward diagonal orbit, with every
remaining matrix entry bounded by `exp (-ρ)` through time `N`. -/
def remainingBackwardTube (_c : EliminationChain P D)
    (ell : Fin n β†’ ℝ) (hell : βˆ‘ i, ell i = 0) (ρ : ℝ) (N : β„•) :
    Set (positiveRootGeneratedGroup (allPositiveRoots n \ P)) :=
  {u | βˆ€ k : β„•, k ≀ N β†’ βˆ€ p : β†₯(allPositiveRoots n \ P),
    |(diagonalOneParameter ell hell k * u.val *
      diagonalOneParameter ell hell (-k)).val p.val.1 p.val.2| < Real.exp (-ρ)}

theorem remainingBackwardTube_eq_rectangle (c : EliminationChain P D)
    (hP : InitialRootPattern P) (hf : c.finalEntries = allPositiveRoots n)
    (ell : Fin n β†’ ℝ) (hell : βˆ‘ i, ell i = 0) (ρ : ℝ) (N : β„•) :
    c.remainingBackwardTube ell hell ρ N =
      (c.remainingGroupCoordinates hP hf).symm ''
        Set.pi univ (fun p => Metric.ball 0
          (Real.exp (-(ρ+(N:ℝ)*max (ell p.val.1-ell p.val.2) 0)))) := by
  let E := c.remainingGroupCoordinates hP hf
  ext u
  constructor
  Β· intro hu
    refine ⟨E u, ?_, E.symm_apply_apply u⟩
    intro p _
    simp only [Metric.mem_ball,Real.dist_eq,sub_zero]
    rw [remainingGroupCoordinates_apply]
    apply (finite_exp_scaled_abs_lt_iff _ _ _ N).mp
    intro k hk
    simpa only [conjugation_entry] using hu k hk p
  · rintro ⟨v,hv,rfl⟩ k hk p
    rw [conjugation_entry]
    apply (finite_exp_scaled_abs_lt_iff _ _ _ N).mpr ?_ k hk
    have hp := hv p (mem_univ p)
    simp only [Metric.mem_ball,Real.dist_eq,sub_zero] at hp
    have he : (E.symm v).val.val p.val.1 p.val.2 = v p := by
      rw [←c.remainingGroupCoordinates_apply hP hf]
      exact congrFun (E.apply_symm_apply v) p
    change |(E.symm v).val.val p.val.1 p.val.2| < _
    rw [he]
    exact hp

theorem remainingBackwardTube_measurableSet (c : EliminationChain P D)
    (hP : InitialRootPattern P) (hf : c.finalEntries = allPositiveRoots n)
    (ell : Fin n β†’ ℝ) (hell : βˆ‘ i, ell i = 0) (ρ : ℝ) (N : β„•) :
    MeasurableSet (c.remainingBackwardTube ell hell ρ N) := by
  rw [c.remainingBackwardTube_eq_rectangle hP hf]
  apply (c.remainingGroupCoordinates hP hf).symm.measurableEmbedding.measurableSet_image.mpr
  exact MeasurableSet.pi Set.countable_univ (fun _ _ => Metric.isOpen_ball.measurableSet)

/-- Negative log mass of an actual finite-time diagonal tube in the
intrinsic remaining-subgroup leaf. -/
def remainingBackwardTubeInformation (c : EliminationChain P D)
    (hP : InitialRootPattern P) (hf : c.finalEntries = allPositiveRoots n)
    (ell : Fin n β†’ ℝ) (hell : βˆ‘ i, ell i = 0) (ρ : ℝ) (N : β„•)
    (ΞΌ : Measure (X n)) [IsFiniteMeasure ΞΌ] (x : X n) : ℝ :=
  -Real.log ((c.remainingIntrinsicProduct hP hf ΞΌ x)
    (c.remainingBackwardTube ell hell ρ N)).toReal

end EliminationChain

namespace EliminationChain
variable {d : β„•} {P : Finset (Fin (d+1) Γ— Fin (d+1))} {D : Finset (Fin (d+1))}

theorem remainingBackwardTubeInformation_eq (c : EliminationChain P D)
    (hP : InitialRootPattern P) (hf : c.finalEntries = allPositiveRoots (d+1))
    (ell : Fin (d+1) β†’ ℝ) (hell : βˆ‘ i, ell i = 0) (ρ : ℝ) (N : β„•)
    (ΞΌ : Measure (X (d+1))) [IsProbabilityMeasure ΞΌ] (x : X (d+1)) :
    c.remainingBackwardTubeInformation hP hf ell hell ρ N μ x =
      rootProductInformation d (fun p : β†₯(allPositiveRoots (d+1) \ P) => p.val.1)
        (fun p => p.val.2)
        (fun p => ne_of_lt (Finset.mem_filter.mp (Finset.mem_sdiff.mp p.prop).1).2)
        ΞΌ (fun p => ρ+(N:ℝ)*max (ell p.val.1-ell p.val.2) 0) x := by
  let E := c.remainingGroupCoordinates hP hf
  rw [remainingBackwardTubeInformation,c.remainingBackwardTube_eq_rectangle hP hf]
  have hB : MeasurableSet (Set.pi univ (fun p : β†₯(allPositiveRoots (d+1) \ P) =>
      Metric.ball (0:ℝ) (Real.exp (-(ρ+(N:ℝ)*max (ell p.val.1-ell p.val.2) 0))))) :=
    MeasurableSet.pi Set.countable_univ (fun _ _ => Metric.isOpen_ball.measurableSet)
  rw [remainingIntrinsicProduct,Measure.map_apply E.symm.measurable
    (E.symm.measurableEmbedding.measurableSet_image.mpr hB),E.symm.injective.preimage_image]
  rfl

theorem integrable_remainingBackwardTubeInformation (c : EliminationChain P D)
    (hP : InitialRootPattern P) (hf : c.finalEntries = allPositiveRoots (d+1))
    (ell : Fin (d+1) β†’ ℝ) (hell : βˆ‘ i, ell i = 0) (ρ : ℝ) (N : β„•)
    (ΞΌ : Measure (X (d+1))) [IsProbabilityMeasure ΞΌ]
    (hA : βˆ€ u : LogCoordinates d, ΞΌ.map (fun x => rightAction x (diagonalFlow u)) = ΞΌ) :
    Integrable (c.remainingBackwardTubeInformation hP hf ell hell ρ N μ) μ := by
  have he := funext (c.remainingBackwardTubeInformation_eq hP hf ell hell ρ N μ)
  rw [he]
  exact integrable_rootProductInformation d _ _ _ ΞΌ hA _

/-- The mean tube information is linear in time, with a constant
depending only on its initial radius. -/
theorem integral_remainingBackwardTubeInformation (c : EliminationChain P D)
    (hP : InitialRootPattern P) (hf : c.finalEntries = allPositiveRoots (d+1))
    (ell : Fin (d+1) β†’ ℝ) (hell : βˆ‘ i, ell i = 0) (ρ : ℝ) (N : β„•)
    (ΞΌ : Measure (X (d+1))) [IsProbabilityMeasure ΞΌ]
    (hA : βˆ€ u : LogCoordinates d, ΞΌ.map (fun x => rightAction x (diagonalFlow u)) = ΞΌ) :
    (∫ x, c.remainingBackwardTubeInformation hP hf ell hell ρ N ΞΌ x βˆ‚ΞΌ) =
      ρ * (βˆ‘ p : β†₯(allPositiveRoots (d+1) \ P), canonicalRootCoefficient d ΞΌ p.val.1 p.val.2) +
      (N:ℝ) * (βˆ‘ p : β†₯(allPositiveRoots (d+1) \ P),
        max (ell p.val.1-ell p.val.2) 0 * canonicalRootCoefficient d ΞΌ p.val.1 p.val.2) := by
  simp_rw [c.remainingBackwardTubeInformation_eq hP hf]
  rw [integral_rootProductInformation d _ _ _ ΞΌ hA]
  simp only [add_mul,Finset.sum_add_distrib,←Finset.mul_sum,mul_assoc]

/-- Every fixed initial radius gives the same mean information rate. -/
theorem tendsto_mean_remainingBackwardTubeInformation (c : EliminationChain P D)
    (hP : InitialRootPattern P) (hf : c.finalEntries = allPositiveRoots (d+1))
    (ell : Fin (d+1) β†’ ℝ) (hell : βˆ‘ i, ell i = 0) (ρ : ℝ)
    (ΞΌ : Measure (X (d+1))) [IsProbabilityMeasure ΞΌ]
    (hA : βˆ€ u : LogCoordinates d, ΞΌ.map (fun x => rightAction x (diagonalFlow u)) = ΞΌ) :
    Tendsto (fun N : β„• =>
      (∫ x, c.remainingBackwardTubeInformation hP hf ell hell ρ N ΞΌ x βˆ‚ΞΌ) / (N:ℝ))
      atTop (𝓝 (βˆ‘ p : β†₯(allPositiveRoots (d+1) \ P),
        max (ell p.val.1-ell p.val.2) 0 * canonicalRootCoefficient d ΞΌ p.val.1 p.val.2)) := by
  let a := ρ * (βˆ‘ p : β†₯(allPositiveRoots (d+1) \ P),
    canonicalRootCoefficient d ΞΌ p.val.1 p.val.2)
  let b := βˆ‘ p : β†₯(allPositiveRoots (d+1) \ P),
    max (ell p.val.1-ell p.val.2) 0 * canonicalRootCoefficient d ΞΌ p.val.1 p.val.2
  have H : Tendsto (fun N : β„• => a/(N:ℝ)+b) atTop (𝓝 b) := by
    simpa only [zero_add] using
      (tendsto_const_nhds.div_atTop tendsto_natCast_atTop_atTop :
        Tendsto (fun N : β„• => a/(N:ℝ)) atTop (𝓝 0)).add tendsto_const_nhds
  apply H.congr'
  filter_upwards [eventually_ge_atTop (1:β„•)] with N hN
  rw [c.integral_remainingBackwardTubeInformation hP hf ell hell ρ N μ hA]
  change a/(N:ℝ)+b = (a+(N:ℝ)*b)/(N:ℝ)
  have hn : (N:ℝ) β‰  0 := by exact_mod_cast (show N β‰  0 by omega)
  field_simp

end EliminationChain
end DukePrimeDegree

end

end OAI