File size: 3,216 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 | import Mathlib
import OAI.GroupTheory.SimpleAmenable.RandomFields.ThresholdField
namespace OAI
section
section
open scoped symmDiff
namespace SimpleAmenable
open scoped commutatorElement
open scoped commutatorElement
section FieldSignalData
open Classical Set
open scoped ContDiff
structure FieldSignalData where
Ο : (βΓβ) β β
Ο : (βΓβ) β β
smooth : ContDiff β 2 Ο
compact : HasCompactSupport Ο
q : β
K : β
L : β
Ξ : β
L_pos : 0<L
gap : K+2β€L
Ο_zero : βx,Kβ€βxβ β Ο x=0
Ο_range : βx,Ο xβIcc (0:β) 1
Ο_one : βx,βxββ€K+2 β Ο x=1
Ο_zero : βx,Lβ€βxβ β Ο x=0
Ξ_nonneg : 0β€Ξ
Ο_lipschitz : βx y,|Ο x-Ο y|β€Ξ*(|x.1-y.1|+|x.2-y.2|)
theorem exists_fieldSignalData (Ο : (βΓβ) β β) (hs : ContDiff β 2 Ο)
(hc : HasCompactSupport Ο) (q : β) :
βS : FieldSignalData,S.Ο=Ο β§ S.q=q := by
obtain β¨K,hK,hzeroβ© := hc.exists_pos_le_norm
let Ο : ContDiffBump (0 : βΓβ) := β¨K+2,K+3,by linarith,by linarithβ©
obtain β¨Ξ,hΞβ© := ContDiff.lipschitzWith_of_hasCompactSupport Ο.hasCompactSupport (Ο.contDiff : ContDiff β 1 (Ο : (βΓβ) β β)) (by simp)
refine β¨β¨Ο,Ο,hs,hc,q,K,K+3,Ξ,by linarith,by linarith,hzero,
fun x => β¨Ο.nonneg,Ο.le_oneβ©,?_,?_,Ξ.coe_nonneg,?_β©,rfl,rflβ©
Β· intro x hx
exact Ο.one_of_mem_closedBall (by simpa only [Metric.mem_closedBall,dist_zero_right,Ο] using hx)
Β· intro x hx
exact Ο.zero_of_le_dist (by simpa only [dist_zero_right,Ο] using hx)
Β· intro x y
have hh := hΞ.dist_le_mul x y
rw [Real.dist_eq,dist_eq_norm,Prod.norm_def] at hh
apply hh.trans
apply mul_le_mul_of_nonneg_left _ Ξ.coe_nonneg
simp only [Prod.fst_sub,Prod.snd_sub,Real.norm_eq_abs]
exact max_le (le_add_of_nonneg_right (abs_nonneg _)) (le_add_of_nonneg_left (abs_nonneg _))
namespace FieldSignalData
noncomputable def signal (S : FieldSignalData) (x : βΓβ) : β := S.q+S.Ο x
noncomputable def realLaw (S : FieldSignalData) {a m D : β} {v : βΓβ} (hD : 0<D)
(Ξ· ΞΊ : β) (n : β) : MeasureTheory.Measure (FlagSite a m D v β β) :=
sourceSmoothFieldLaw hD S.signal S.Ο S.L_pos ((D:β)^4/5) Ξ· ΞΊ n
instance realLaw_probability (S : FieldSignalData) {a m D : β} {v : βΓβ} (hD : 0<D)
(Ξ· ΞΊ : β) (n : β) : MeasureTheory.IsProbabilityMeasure (S.realLaw (a:=a) (m:=m) (v:=v) hD Ξ· ΞΊ n) :=
inferInstanceAs (MeasureTheory.IsProbabilityMeasure (sourceSmoothFieldLaw hD S.signal S.Ο S.L_pos ((D:β)^4/5) Ξ· ΞΊ n))
noncomputable def bitLaw (S : FieldSignalData) {a m D : β} {v : βΓβ} (hD : 0<D)
(Ξ· ΞΊ : β) (n : β) : MeasureTheory.Measure (FlagSite a m D v β Bool) :=
sourceBitFieldLaw hD S.signal S.Ο S.L_pos ((D:β)^4/5) Ξ· ΞΊ n
instance bitLaw_probability (S : FieldSignalData) {a m D : β} {v : βΓβ} (hD : 0<D)
(Ξ· ΞΊ : β) (n : β) : MeasureTheory.IsProbabilityMeasure (S.bitLaw (a:=a) (m:=m) (v:=v) hD Ξ· ΞΊ n) :=
inferInstanceAs (MeasureTheory.IsProbabilityMeasure (sourceBitFieldLaw hD S.signal S.Ο S.L_pos ((D:β)^4/5) Ξ· ΞΊ n))
end FieldSignalData
end FieldSignalData
end SimpleAmenable
end
end
end OAI
|