File size: 4,094 Bytes
92416a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import Mathlib
import OAI.Computability.VertexCover.Reduction.DecodingUpperThreeHalves
import OAI.Computability.VertexCover.Analysis.OwnListEnergy

namespace OAI

section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
section
namespace VertexCover.LabelCover
open MeasureTheory

noncomputable def ownPrivateLists (Φ : LabelCover) {d : ℕ} (J : Finset (Fin d))
    (frozen : Φ.Seeds d) (c0 : Φ.Coordinate d → ℝ)
    (A : Finset (Φ.Coordinate d → ℝ)) (hA : A.Nonempty)
    (s : Φ.BatchWeights J) (β : ℝ) : Φ.PrivateLists d := by
  classical
  exact fun i => if hi : i.1 ∈ J then
    Φ.ownList J frozen c0 A hA ⟨i.1, hi⟩ i (s ⟨i.1, hi⟩) β else []

theorem ownPrivateLists_length (Φ : LabelCover) {d : ℕ} (J : Finset (Fin d))
    (frozen : Φ.Seeds d) (c0 : Φ.Coordinate d → ℝ)
    (A : Finset (Φ.Coordinate d → ℝ)) (hA : A.Nonempty)
    (s : Φ.BatchWeights J) (m : ℕ) (hm : 0 < m) (i : Φ.Query d) :
    (Φ.ownPrivateLists J frozen c0 A hA s (Parameters.β m) i).length ≤ Parameters.ell m := by
  classical
  unfold ownPrivateLists
  split_ifs with hi
  · exact Φ.ownList_length J frozen c0 A hA ⟨i.1, hi⟩ i _ m hm
  · simp

theorem ownPrivateLists_membership_measurable (Φ : LabelCover) {d : ℕ}
    (J : Finset (Fin d)) (frozen : Φ.Seeds d) (c0 : Φ.Coordinate d → ℝ)
    (A : Finset (Φ.Coordinate d → ℝ)) (hA : A.Nonempty) (β : ℝ)
    (i : Φ.Query d) (a : i.LocalLabel) :
    MeasurableSet {s | a ∈ Φ.ownPrivateLists J frozen c0 A hA s β i} := by
  classical
  unfold ownPrivateLists
  by_cases hi : i.1 ∈ J
  · simp only [dite_eq_left hi, mem_ownList]
    exact measurableSet_le measurable_const
      (((Φ.ownGradient_measurable J frozen c0 A hA ⟨i.1, hi⟩ i (i.slot a)).comp
        (measurable_pi_apply (⟨i.1, hi⟩ : J))).abs)
  · simp only [dite_eq_right hi, List.not_mem_nil, Set.ofPred_false]
    exact MeasurableSet.empty

theorem ownPrivateLists_decoding_upper (Φ : LabelCover) (m : ℕ) (hm : 4 ≤ m)
    (hval : Φ.value ≤ Parameters.σ m)
    (J : Finset (Fin (Parameters.d m))) (hJ : J.card = Parameters.h m)
    (frozen : Φ.Seeds (Parameters.d m)) (c0 : Φ.Coordinate (Parameters.d m) → ℝ)
    (A : Finset (Φ.Coordinate (Parameters.d m) → ℝ)) (hA : A.Nonempty) :
    (∫ s, finiteMean (fun hidden : Φ.HiddenSeeds J =>
      (Φ.listHitMaximum (Φ.ownPrivateLists J frozen c0 A hA s (Parameters.β m))
        (Φ.spliceSeeds J frozen hidden) J : ℝ)) ∂Φ.batchLaw J) < 3/2 := by
  classical
  let B : ℝ := 1 + ((Parameters.h m).choose 2 : ℝ) *
    (Parameters.ell m : ℝ)^2 * Parameters.σ m
  have hbound : ∀ s : Φ.BatchWeights J, finiteMean (fun hidden : Φ.HiddenSeeds J =>
      (Φ.listHitMaximum (Φ.ownPrivateLists J frozen c0 A hA s (Parameters.β m))
        (Φ.spliceSeeds J frozen hidden) J : ℝ)) ≤ B := by
    intro s
    have hh := Φ.decoding_upper_bound hval
      (Φ.ownPrivateLists J frozen c0 A hA s (Parameters.β m))
      (Φ.ownPrivateLists_length J frozen c0 A hA s m (by omega)) J frozen
    simpa only [hJ] using hh
  have hint := integral_mono_of_nonneg (μ := Φ.batchLaw J)
    (f := fun s => finiteMean (fun hidden : Φ.HiddenSeeds J =>
      (Φ.listHitMaximum (Φ.ownPrivateLists J frozen c0 A hA s (Parameters.β m))
        (Φ.spliceSeeds J frozen hidden) J : ℝ)))
    (g := fun _ => B) (Filter.Eventually.of_forall (fun s => by
      unfold finiteMean
      exact div_nonneg (Finset.sum_nonneg (fun _ _ => Nat.cast_nonneg _))
        (Nat.cast_nonneg _))) (integrable_const B) (Filter.Eventually.of_forall hbound)
  simp only [integral_const, probReal_univ, smul_eq_mul, one_mul] at hint
  have hp := Parameters.pair_budget_lt m hm
  dsimp [B] at hint
  linarith

end VertexCover.LabelCover


end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end

end OAI