File size: 1,894 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
import OAI.Analysis.Fourier.Restriction.Coloring
import Mathlib.Data.Finset.Max
import Mathlib.Data.Finset.Powerset

noncomputable section
namespace OAI.Analysis.Fourier.Restriction

/-- A finite set admits a separated net with centers in the set, without
ambient compactness or a pre-existing covering-number estimate. -/
theorem finite_separated_cover {X : Type*} [PseudoMetricSpace X]
    (S : Finset X) {r : ℝ} (hr : 0 < r) :
    βˆƒ T : Finset X, T βŠ† S ∧
      (βˆ€ x ∈ T, βˆ€ y ∈ T, x β‰  y β†’ r ≀ dist x y) ∧
      βˆ€ x ∈ S, βˆƒ y ∈ T, dist x y < r := by
  classical
  let separated (T : Finset X) : Prop := βˆ€ x ∈ T, βˆ€ y ∈ T, x β‰  y β†’ r ≀ dist x y
  let candidates := S.powerset.filter separated
  have hne : candidates.Nonempty := βŸ¨βˆ…, by simp [candidates, separated]⟩
  obtain ⟨T, hT, hmax⟩ := Finset.exists_max_image candidates Finset.card hne
  have hsub : T βŠ† S := Finset.mem_powerset.mp (Finset.mem_filter.mp hT).1
  have hsep : separated T := (Finset.mem_filter.mp hT).2
  refine ⟨T, hsub, hsep, ?_⟩
  intro x hx
  by_contra! hfar
  have hxT : x βˆ‰ T := by
    intro h
    have H := hfar x h
    exact hr.not_ge (by simpa using H)
  have hins : separated (insert x T) := by
    intro y hy z hz hyz
    by_cases hyx : y = x
    Β· subst y
      exact hfar z ((Finset.mem_insert.mp hz).resolve_left hyz.symm)
    Β· by_cases hzx : z = x
      Β· subst z
        simpa [dist_comm] using hfar y (Finset.mem_of_mem_insert_of_ne hy hyx)
      Β· exact hsep y (Finset.mem_of_mem_insert_of_ne hy hyx)
          z (Finset.mem_of_mem_insert_of_ne hz hzx) hyz
  have hinc : insert x T ∈ candidates := by
    apply Finset.mem_filter.mpr
    refine ⟨Finset.mem_powerset.mpr (Finset.insert_subset hx hsub), hins⟩
  have H := hmax (insert x T) hinc
  rw [Finset.card_insert_of_notMem hxT] at H
  omega

end OAI.Analysis.Fourier.Restriction