lemmafinite_smooth_slice_misses (n m : ℕ) (hnm : n < m)
{κ : Type*} [Fintype κ] (L : κ →EuclideanSpaceℝ (Fin n) →L[ℝ] ℝ)
(g : κ →EuclideanSpaceℝ (Fin n) →EuclideanSpaceℝ (Fin m))
(hg : ∀ c, ContDiffℝ (⊤ : ℕ∞) (g c))
{V : Set (EuclideanSpaceℝ (Fin m))} (hVo : IsOpenV) (hVn : V.Nonempty)
(hVp : ∀ y ∈V, ∀ i, 0 < y i) :
∃z : EuclideanSpaceℝ (Fin m), (∃ y ∈V, z = (∑ i, y i)⁻¹ • y) ∧
(∀ i, 0 < z i) ∧ (∑ i, z i) = 1∧∀ c x, L c x = 1→ g c x ≠ z :=by
proof · 33
lines
classical
letC (c : κ) (x : EuclideanSpaceℝ (Fin n)) :=L c x • g c ((L c x)⁻¹ • x)
have hCd (c : κ) : ∀ x ∈ {x | L c x ≠0}, DifferentiableAtℝ (C c) x :=by
intro x hx
exact (L c).differentiableAt.smul
(((hg c).differentiable (by simp)).differentiableAt.comp x
(((L c).differentiableAt.inv hx).smul differentiableAt_id))
havehnull : volume (⋃ c : κ, C c '' {x | L c x ≠0}) = 0:=by
exact measure_iUnion_null (fun c => differentiable_image_null_of_dim_lt n m hnm (hCd c))
obtain ⟨y,hy,hym⟩ : ∃ y ∈V, y ∉ ⋃ c : κ, C c '' {x | L c x ≠0} :=by
by_contra hn
push Not at hn
havehl : volume V≤ volume (⋃ c : κ, C c '' {x | L c x ≠0}) := measure_mono hn
rw [hnull] at hl
exact hVo.measure_ne_zero volume hVn (le_antisymm hl (zero_le))
lets : ℝ:=∑ i, y i
havehs : 0 < s :=Finset.sum_pos (fun i _ => hVp y hy i)
(Finset.univ_nonempty_iff.mpr ⟨⟨0,by omega⟩⟩)
letz : EuclideanSpaceℝ (Fin m) := s⁻¹ • y
refine ⟨z,⟨y,hy,rfl⟩,fun i => ?_,?_,?_⟩
· change 0 < s⁻¹ * y i
exact mul_pos (inv_pos.mpr hs) (hVp y hy i)
· change (∑ i, s⁻¹ * y i) = 1
rw [←Finset.mul_sum]
exact inv_mul_cancel₀ (ne_of_gt hs)
· intro c x hx he
apply hym
apply Set.mem_iUnion.mpr
refine ⟨c,s • x,?_,?_⟩
· simp only [Set.mem_ofPred_eq,map_smul,hx,smul_eq_mul,mul_one]
exact ne_of_gt hs
· simp only [C,map_smul,hx,smul_eq_mul,mul_one,inv_smul_smul₀ (ne_of_gt hs),he,z,
smul_inv_smul₀ (ne_of_gt hs)]