File size: 4,805 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
import OAI.Probability.FreeIsing.Trees.InwardCutChannels
import OAI.Probability.FreeIsing.Trees.InwardCutFields

namespace OAI

noncomputable section

open MeasureTheory ProbabilityTheory
open scoped NNReal

namespace Problem367.InwardCutChannels

open PathSideBranches CutContinuationChannels ConnectedHull

def inwardContinuationProduct {d k L : β„•}
    (ΞΌ : Measure (TreeVertex d β†’ IsingSpin)) (t : ℝβ‰₯0) (theta : ℝ)
    (p : TreeShell d (k + 1)) (w : ReducedTail (cutLastColor p) L) (s : Finset β„•)
    (z : (TreeVertex d β†’ IsingSpin) Γ— (TreeVertex d β†’ ℝ)) : ℝ :=
  ∏ i ∈ s, responseAttenuation theta
    (cutInwardGaussianField ΞΌ t (appendCutContinuation p w).1 (k + 1) i z) ^ 2

def inwardContinuationAverage {d k : β„•}
    (ΞΌ : Measure (TreeVertex d β†’ IsingSpin)) (t : ℝβ‰₯0) (theta : ℝ)
    (p : TreeShell d (k + 1)) (L : β„•) (s : Finset β„•)
    (z : (TreeVertex d β†’ IsingSpin) Γ— (TreeVertex d β†’ ℝ)) : ℝ :=
  (βˆ‘ w : ReducedTail (cutLastColor p) L, inwardContinuationProduct ΞΌ t theta p w s z) /
    (Fintype.card (ReducedTail (cutLastColor p) L) : ℝ)

theorem inwardContinuationProduct_Ico_eq_range {d k L : β„•}
    (ΞΌ : Measure (TreeVertex d β†’ IsingSpin)) (t : ℝβ‰₯0) (theta : ℝ)
    (p : TreeShell d (k + 1)) (w : ReducedTail (cutLastColor p) L)
    (z : (TreeVertex d β†’ IsingSpin) Γ— (TreeVertex d β†’ ℝ)) :
    inwardContinuationProduct ΞΌ t theta p w (Finset.Ico (k + 1) (k + 1 + L)) z =
      ∏ j ∈ Finset.range L, responseAttenuation theta
        (cutInwardGaussianField ΞΌ t (appendCutContinuation p w).1
          (k + 1) (k + 1 + j) z) ^ 2 := by
  simp only [inwardContinuationProduct, Finset.prod_Ico_eq_prod_range,
    Nat.add_sub_cancel_left]

theorem takeVertex_appendCutContinuation {d k L : β„•}
    (p : TreeShell d (k + 1)) (w : ReducedTail (cutLastColor p) L) :
    takeVertex (appendCutContinuation p w).1 (k + 1) = p.1 := by
  apply Subtype.ext
  simp [takeVertex, appendCutContinuation, p.2]

private theorem inward_region_subset_cut {d k L : β„•}
    (p : TreeShell d (k + 1)) (w : ReducedTail (cutLastColor p) L) (i : β„•) :
    cone (takeVertex (appendCutContinuation p w).1 (k + 1)) \
        cone (takeVertex (appendCutContinuation p w).1 (i + 1)) βŠ† cone p.1 := by
  rw [takeVertex_appendCutContinuation]
  exact Set.sdiff_subset

private theorem reducedTail_nonempty {d k : β„•} (hd : 2 ≀ d)
    (p : TreeShell d (k + 1)) (L : β„•) :
    Nonempty (ReducedTail (cutLastColor p) L) := by
  apply Fintype.card_pos_iff.mp
  rw [card_reducedTail]
  exact pow_pos (by omega : 0 < d - 1) L

theorem exists_inwardContinuationAverage_channel {d k : β„•} (hd : 2 ≀ d)
    (ΞΌ : Measure (TreeVertex d β†’ IsingSpin)) (t : ℝβ‰₯0)
    {theta : ℝ} (hΞΈ : theta ^ 2 ≀ 1)
    (p : TreeShell d (k + 1)) (L : β„•) (s : Finset β„•) :
    βˆƒ g : ConeSample ℝ p.1 β†’ ℝ, Measurable g ∧
      (βˆ€ z, g z ∈ Set.Icc (0 : ℝ) 1) ∧
      βˆ€ z, inwardContinuationAverage ΞΌ t theta p L s z = g (globalCone p.1 z) := by
  let := reducedTail_nonempty hd p L
  have hF : Measurable (Function.uncurry (fun a x => (t : ℝ) * spinSign a + x)) :=
    ((PlantedInformation.measurable_spinSign.comp measurable_fst).const_mul
      (t : ℝ)).add measurable_snd
  exact exists_regionAverage_channel
    (ΞΌ.prod (PlantedSymmetry.gaussianNoiseLaw (TreeVertex d) t)) hF hΞΈ p.1
    (fun w i => cone (takeVertex (appendCutContinuation p w).1 (k + 1)) \
      cone (takeVertex (appendCutContinuation p w).1 (i + 1)))
    (fun w i => takeVertex (appendCutContinuation p w).1 i)
    (fun _ => s) (inward_region_subset_cut p)

theorem integral_inwardContinuationAverage_le {d k : β„•} (hd : 2 ≀ d)
    (ΞΌ : Measure (TreeVertex d β†’ IsingSpin)) (t : ℝβ‰₯0)
    {theta : ℝ} (hΞΈ : theta ^ 2 ≀ 1)
    (p : TreeShell d (k + 1)) (L : β„•) (s : Finset β„•)
    (P : Measure ((TreeVertex d β†’ IsingSpin) Γ— (TreeVertex d β†’ ℝ)))
    [IsProbabilityMeasure P] {m : ℝ}
    (hmean : βˆ€ w : ReducedTail (cutLastColor p) L,
      (∫ z, inwardContinuationProduct ΞΌ t theta p w s z βˆ‚P) ≀ m) :
    (∫ z, inwardContinuationAverage ΞΌ t theta p L s z βˆ‚P) ≀ m := by
  let := reducedTail_nonempty hd p L
  have hF : Measurable (Function.uncurry (fun a x => (t : ℝ) * spinSign a + x)) :=
    ((PlantedInformation.measurable_spinSign.comp measurable_fst).const_mul
      (t : ℝ)).add measurable_snd
  exact integral_regionAverage_le
    (ΞΌ.prod (PlantedSymmetry.gaussianNoiseLaw (TreeVertex d) t)) hF hΞΈ p.1
    (fun w i => cone (takeVertex (appendCutContinuation p w).1 (k + 1)) \
      cone (takeVertex (appendCutContinuation p w).1 (i + 1)))
    (fun w i => takeVertex (appendCutContinuation p w).1 i)
    (fun _ => s) (inward_region_subset_cut p) P hmean

end Problem367.InwardCutChannels

end

end OAI