File size: 3,450 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 | import OAI.Probability.FreeIsing.Posterior.FilteringRepresentationClosure
namespace OAI
noncomputable section
open MeasureTheory Filter
open scoped Topology
namespace Problem367.FilteringRepresentationClosure
variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace β E]
theorem inner_sum_coordinate {ΞΉ : Type*} {f : ΞΉ β E} {y : E}
(hs : HasSum f y) (ho : Pairwise fun i j => inner β (f i) (f j) = 0) (i : ΞΉ) :
inner β y (f i) = βf iβ ^ 2 := by
have h := hs.mapL (innerSL β (f i))
change HasSum (fun j => inner β (f i) (f j)) (inner β (f i) y) at h
have hsingle : HasSum (fun j => inner β (f i) (f j)) (inner β (f i) (f i)) :=
hasSum_single i (fun j hji => ho hji.symm)
rw [real_inner_comm, β real_inner_self_eq_norm_sq]
exact h.unique hsingle
theorem eq_of_orthogonal_row_limits
{ΞΉ N : Type*} {l : Filter N} [l.NeBot]
{f : N β ΞΉ β E} {y : N β E} {g : ΞΉ β E} {z m : E}
(hs : β n, HasSum (f n) (y n))
(ho : β n, Pairwise fun i j => inner β (f n i) (f n j) = 0)
(hf : β i, Tendsto (fun n => f n i) l (π (g i)))
(hy : Tendsto y l (π z)) (hg : HasSum g m)
(he : βzβ ^ 2 = βmβ ^ 2) : z = m := by
have hgo : Pairwise fun i j => inner β (g i) (g j) = 0 := by
intro i j hij
have h := (hf i).inner (π := β) (hf j)
have hz : Tendsto (fun n => inner β (f n i) (f n j)) l (π (0 : β)) := by
simpa only [ho _ hij] using (tendsto_const_nhds : Tendsto (fun _ : N => (0 : β)) l (π 0))
exact tendsto_nhds_unique h hz
have hcross (i : ΞΉ) : inner β z (g i) = βg iβ ^ 2 := by
have hleft := hy.inner (π := β) (hf i)
have hright := (hf i).norm.pow 2
exact tendsto_nhds_unique_of_eventuallyEq hleft hright
(Eventually.of_forall fun n => inner_sum_coordinate (hs n) (ho n) i)
have hzi := hg.mapL (innerSL β z)
have hmi := hg.mapL (innerSL β m)
change HasSum (fun i => inner β z (g i)) (inner β z m) at hzi
change HasSum (fun i => inner β m (g i)) (inner β m m) at hmi
simp only [hcross] at hzi
simp only [inner_sum_coordinate hg hgo] at hmi
exact eq_of_cross_energy (by simpa only [real_inner_self_eq_norm_sq] using hzi.unique hmi) he
theorem ae_eq_of_orthogonal_row_meanSquare_limits
{Ξ© ΞΉ N : Type*} [MeasurableSpace Ξ©] {P : Measure Ξ©}
{l : Filter N} [l.NeBot]
{X : N β ΞΉ β Ξ© β β} {Y : N β Ξ© β β} {I : ΞΉ β Ξ© β β} {Z M : Ξ© β β}
(hX : β n i, MemLp (X n i) 2 P) (hY : β n, MemLp (Y n) 2 P)
(hI : β i, MemLp (I i) 2 P) (hZ : MemLp Z 2 P) (hM : MemLp M 2 P)
(hs : β n, HasSum (fun i => (hX n i).toLp (X n i)) ((hY n).toLp (Y n)))
(ho : β n, Pairwise fun i j => β« Ο, X n i Ο * X n j Ο βP = 0)
(hc : β i, Tendsto (fun n => β« Ο, (X n i Ο - I i Ο) ^ 2 βP) l (π 0))
(hy : Tendsto (fun n => β« Ο, (Y n Ο - Z Ο) ^ 2 βP) l (π 0))
(hi : HasSum (fun i => (hI i).toLp (I i)) (hM.toLp M))
(he : (β« Ο, Z Ο ^ 2 βP) = β« Ο, M Ο ^ 2 βP) : Z =α΅[P] M := by
apply (hZ.toLp_eq_toLp_iff hM).mp
apply eq_of_orthogonal_row_limits hs
(fun n => by simpa only [PredictableL2.inner_toLp] using ho n)
(fun i => tendsto_toLp_of_integral_sq_error (fun n => hX n i) (hI i) (hc i))
(tendsto_toLp_of_integral_sq_error hY hZ hy) hi
simpa only [PredictableL2.norm_toLp_sq] using he
end Problem367.FilteringRepresentationClosure
end
end OAI
|