lemmaeventually_near_zero_fiber {K:SetE} (hK:IsCompactK) {f g:E→ℝ} {C:ℝ}
(hf:∀x∈K,ContinuousAt f x) (hg:∀x∈K,ContinuousAt g x)
(hzero:∀x∈K,f x=0→ g x<C) :
∀ᶠ t:ℝin 𝓝 0,∀x∈K,f x=t → g x<C:=by
proof · 10
lines
apply hK.eventually_forall_of_forall_eventually
intro x hx
by_cases hz:f x=0
· havehh:∀ᶠ p:ℝ×Ein 𝓝 (0,x),g p.2<C:=
((hg x hx).comp continuous_snd.continuousAt).eventually (gt_mem_nhds (hzero x hx hz))
exact hh.mono fun p hp _=>hp
· havehn:f x-(0:ℝ)≠0:=by simpa using hz
havehh:∀ᶠ p:ℝ×Ein 𝓝 (0,x),f p.2-p.1≠0:=
(((hf x hx).comp continuous_snd.continuousAt).sub continuous_fst.continuousAt).eventually_ne hn
exact hh.mono fun p hp he=>False.elim (hp (sub_eq_zero.mpr he))