File size: 1,316 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
import Mathlib.Analysis.InnerProductSpace.Basic

namespace OAI

noncomputable section
open Set
open scoped RealInnerProductSpace

namespace ProjectionCounterexample

/-- For a positively homogeneous support bound, unit directions determine all
directions. This connects the unit-sphere definition with an
explicit zonotope's halfspace description. -/
theorem unit_support_halfspaces_eq
    {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V]
    (f : V β†’ ℝ) (hzero : 0 ≀ f 0)
    (hscale : βˆ€ (a : ℝ), 0 ≀ a β†’ βˆ€ u, f (a β€’ u) = a * f u) :
    {x : V | βˆ€ u, β€–uβ€– = 1 β†’ βŸͺu, x⟫ ≀ f u} =
      {x : V | βˆ€ u, βŸͺu, x⟫ ≀ f u} := by
  ext x
  constructor
  Β· intro hx u
    by_cases hu : u = 0
    Β· simpa [hu] using hzero
    have hnorm : β€–uβ€– β‰  0 := norm_ne_zero_iff.mpr hu
    let v : V := β€–u‖⁻¹ β€’ u
    have hv : β€–vβ€– = 1 := by
      simp [v, norm_smul, hnorm]
    have huv : β€–uβ€– β€’ v = u := by
      simp [v, smul_smul, hnorm]
    calc
      βŸͺu, x⟫ = β€–uβ€– * βŸͺv, x⟫ := by
        rw [← real_inner_smul_left, huv]
      _ ≀ β€–uβ€– * f v := mul_le_mul_of_nonneg_left (hx v hv) (norm_nonneg u)
      _ = f u := by rw [← hscale β€–uβ€– (norm_nonneg u) v, huv]
  Β· intro hx u _
    exact hx u

end ProjectionCounterexample

end

end OAI