math / data /lean /OAI /NumberTheory /DukePrimeDegree /Entropy /ControlledRootFuture.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
5.94 kB
import OAI.NumberTheory.DukePrimeDegree.Geometry.CountableCutNeighborhoods
import OAI.NumberTheory.DukePrimeDegree.Geometry.ExponentialCutFamily
import OAI.NumberTheory.DukePrimeDegree.Entropy.UpperRootCutItineraries
namespace OAI
/-! # Controlled countable observations with upper-root future neighborhoods
The chosen distance cuts have exponentially controlled cardinalities and
boundary constants. Their countable height-selected observation has
small lifts and is constant on an upper-root neighborhood in almost
every whole-future fiber.
-/
noncomputable section
open Set MeasureTheory Filter
open scoped Topology BigOperators ENNReal
namespace DukePrimeDegree
open PrimeDegreePackets
theorem exists_controlled_root_future_observation (d : β„•)
(ell : Fin (d+1) β†’ ℝ) (hell : βˆ‘ i, ell i=0)
(hgap : βˆ€ p : allPositiveRoots (d+1), Real.log 4 ≀ ell p.val.2-ell p.val.1)
(ΞΌ : Measure (X (d+1))) [IsProbabilityMeasure ΞΌ]
(hA : βˆ€ u : LogCoordinates d, ΞΌ.map (fun x => rightAction x (diagonalFlow u))=ΞΌ)
(B : ℝ) (hB : 0 < B) (H : X (d+1) β†’ β„•) (hH : Measurable H)
(t : β„• β†’ ℝ)
(ht : βˆ€ m, t m ≀ 2*B*(m:ℝ)+B)
(hlevel : βˆ€ x m, H x ≀ m ↔
quotientLogDistance (Quotient.mk _ (1 : G (d+1))) x ≀ t m)
(hstep : βˆ€ x, H (rightAction x (diagonalOneParameter ell hell (-1))) ≀ H x+1)
(hnull : βˆ€ m, ΞΌ {x | quotientLogDistance (Quotient.mk _ (1 : G (d+1))) x=t m}=0)
{Dβ‚€ : ℝ} (hDβ‚€ : 0 ≀ Dβ‚€)
(hbound : βˆ€ m k, ΞΌ (realBoundaryStrip
(quotientLogDistance (Quotient.mk _ (1 : G (d+1)))) (t m) ((1/4:ℝ)^k)) ≀
ENNReal.ofReal (Dβ‚€*(1/2:ℝ)^k))
{rβ‚€ : ℝ} (hrβ‚€ : 0 < rβ‚€) (hrβ‚€1 : rβ‚€ ≀ 1) :
βˆƒ Q : X (d+1) β†’ β„•, Measurable Q ∧
(βˆ€ m, (Q '' {x | H x ≀ m}).Finite) ∧
(βˆ€ x y, Q y=Q x β†’ H y=H x ∧
βˆƒ g ∈ matrixBall (d+1) (rβ‚€*Real.exp (-(4*B)*(H x:ℝ))), rightAction x g=y) ∧
βˆ€α΅ x βˆ‚ΞΌ, βˆ€αΆ  s in 𝓝 (completeRootChain (d+1)).zeroTime, βˆ€ k : β„•,
Q ((fun y => rightAction y (diagonalOneParameter ell hell (-1)))^[k]
(rightAction x ((completeRootChain (d+1)).word s))) =
Q ((fun y => rightAction y (diagonalOneParameter ell hell (-1)))^[k] x) := by
classical
let T : X (d+1) β†’ X (d+1) := fun x => rightAction x (diagonalOneParameter ell hell (-1))
have hT : MeasurePreserving T ΞΌ ΞΌ := by
refine ⟨(continuous_rightAction _).measurable,?_⟩
change ΞΌ.map (fun x => rightAction x (diagonalOneParameter ell hell (-1)))=ΞΌ
rw [diagonalOneParameter_eq_diagonalFlow]
exact hA _
let r := fun m : β„• => rβ‚€*Real.exp (-(4*B)*(m:ℝ))
let Ο„ := fun m => Real.log (1+r m)
have hΟ„ (m : β„•) : 0 < Ο„ m := by
have hr : 0 < r m := by dsimp [r]; positivity
exact Real.log_pos (by linarith)
obtain ⟨N,z,c,K,C,hK,hC,hfamily⟩ := exists_exponential_distance_cut_family
(Nat.succ_pos d) ΞΌ (A := 2*B) (B := 4*B) (Rβ‚€ := B)
(by positivity) (by positivity) hB.le hrβ‚€ hrβ‚€1
let f : βˆ€ m, Fin (N m) β†’ X (d+1) β†’ ℝ := fun m i => quotientLogDistance (z m i)
let P := fun m => finiteCutCode (f m) (c m)
let Q := layeredObservation H P
have hP (m : β„•) : Measurable (P m) :=
finiteCutCode_measurable (fun i => (continuous_quotientLogDistance (d+1) _).measurable) _
refine ⟨Q,layeredObservation_measurable hH hP,layeredObservation_finite_levels H P,?_,?_⟩
Β· intro x y hxy
have he := layeredObservation_eq H P hxy
refine ⟨he.1,?_⟩
have hx : quotientLogDistance (Quotient.mk _ (1 : G (d+1))) x ≀ 2*B*(H x:ℝ)+B :=
((hlevel x (H x)).mp le_rfl).trans (ht (H x))
obtain ⟨i,hi⟩ := (hfamily (H x)).2.2.1 x hx
have hy := (finiteCutCode_eq_imp_iff (f (H x)) (c (H x)) he.2 i).mpr hi
exact (hfamily (H x)).2.2.2 i x hi y hy
Β· have hneigh := ae_layered_cut_future_neighborhoods (V := UpperRootTime (d+1)) ΞΌ hT
(continuous_rightAction _) H hH hstep
(quotientLogDistance (Quotient.mk _ (1 : G (d+1))))
(continuous_quotientLogDistance (d+1) _) t hlevel hnull
hDβ‚€ hbound N f
(fun m i => continuous_quotientLogDistance (d+1) _) c
(fun m i => ((hfamily m).2.1 i).2.2.1)
(fun m => 48/Ο„ m) (fun m => div_nonneg (by norm_num) (hΟ„ m).le)
(fun m i k => ((hfamily m).2.1 i).2.2.2 k) hC hK.le (fun m => (hfamily m).1)
filter_upwards [hneigh] with x hx
let F : UpperRootTime (d+1) β†’ X (d+1) :=
fun s => rightAction x ((completeRootChain (d+1)).word s)
have hbase : F (completeRootChain (d+1)).zeroTime=x := by
simp only [F,EliminationChain.word_zeroTime,rightAction_one]
have hF : ContinuousAt F (completeRootChain (d+1)).zeroTime :=
((continuous_rightOrbit (d+1) x).comp (upperRootWord_isEmbedding (d+1)).continuous).continuousAt
let R : ℝ := 1/(6*(d+1:ℝ))
have hR : 0 < R := by dsimp [R]; positivity
have hsmall : 3*(d+1:ℝ)*R ≀ 1 := by
dsimp [R]
have hn : (d+1:ℝ) β‰  0 := by positivity
field_simp
nlinarith
have hlog : 0 < Real.log 4 := Real.log_pos (by norm_num)
have he (k : β„•) : Real.exp (-Real.log 4*(k:ℝ))=(1/4:ℝ)^k := by
rw [mul_comm (-Real.log 4) (k:ℝ),Real.exp_nat_mul,
Real.exp_neg,Real.exp_log (by norm_num : (0:ℝ)<4)]
simp only [one_div]
have hc (w : X (d+1)) (k : β„•) (s : UpperRootTime (d+1))
(hs : s ∈ (completeRootChain (d+1)).cube R) :
|quotientLogDistance w (T^[k] (F s))-quotientLogDistance w (T^[k] x)| ≀ (1/4:ℝ)^k := by
exact (quotientLogDistance_upperRoot_iterate_bound ell hell (Real.log 4)
hlog hgap hR hsmall w x k hs).trans_eq (he k)
exact hx F (completeRootChain (d+1)).zeroTime hbase hF _
(((completeRootChain (d+1)).cube_open R).mem_nhds
((completeRootChain (d+1)).zeroTime_mem_cube hR))
(fun k s hs => hc _ k s hs) (fun k m i s hs => hc _ k s hs)
end DukePrimeDegree
end
end OAI