Skip to content

Commit 72a3b01

Browse files
committed
Extension smoothness is sorry-free
1 parent 73e400d commit 72a3b01

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

Mathlib/Geometry/Manifold/VectorBundle/CovariantDerivative.lean

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ end contMDiff_union
196196
section contMDiff_addsmulfinsum_section
197197

198198
-- Proofs taken from SmoothSection: TODO golf those with these lemmas!
199-
-- XXX: also add sub, neg, nsmul, zsmul lemmas? contMDiffWithinAt, contMDiffOn versions?
199+
-- XXX: also add sub, neg, nsmul, zsmul lemmas?
200+
-- TODO: add remaining contMDiffWithinAt, contMDiffOn versions
200201

201202
variable {I F n V}
202203

@@ -221,6 +222,22 @@ lemma contMDiff_add_section {s t : Π x : M, V x}
221222
ContMDiff I (I.prod 𝓘(𝕜, F)) n (fun x ↦ TotalSpace.mk' F x ((s + t) x)) :=
222223
fun x₀ ↦ contMDiffAt_add_section (hs x₀) (ht x₀)
223224

225+
omit [IsManifold I 0 M] [∀ (x : M), IsTopologicalAddGroup (V x)]
226+
[∀ (x : M), ContinuousSMul 𝕜 (V x)] in
227+
lemma contMDiffWithinAt_smul_section {f : M → 𝕜} {s : Π x : M, V x} {t : Set M} {x₀ : M}
228+
(hs : ContMDiffWithinAt I (I.prod 𝓘(𝕜, F)) n (fun x ↦ TotalSpace.mk' F x (s x)) t x₀)
229+
(hf : ContMDiffWithinAt I 𝓘(𝕜) n f t x₀) :
230+
ContMDiffWithinAt I (I.prod 𝓘(𝕜, F)) n (fun x ↦ TotalSpace.mk' F x (f x • s x)) t x₀ := by
231+
rw [contMDiffWithinAt_section] at hs ⊢
232+
set e := trivializationAt F V x₀
233+
refine (hf.smul hs).congr_of_eventuallyEq ?_ ?_
234+
· apply eventually_of_mem (U := e.baseSet)
235+
· exact mem_nhdsWithin_of_mem_nhds <|
236+
(e.open_baseSet.mem_nhds <| mem_baseSet_trivializationAt F V x₀)
237+
· intro x hx
238+
apply (e.linear 𝕜 hx).2
239+
· apply (e.linear 𝕜 (FiberBundle.mem_baseSet_trivializationAt' x₀)).2
240+
224241
omit [IsManifold I 0 M] [∀ (x : M), IsTopologicalAddGroup (V x)]
225242
[∀ (x : M), ContinuousSMul 𝕜 (V x)] in
226243
lemma contMDiffAt_smul_section {f : M → 𝕜} {s : Π x : M, V x} {x₀ : M}
@@ -240,7 +257,7 @@ lemma contMDiffOn_smul_section {f : M → 𝕜} {s : Π x : M, V x} {t : Set M}
240257
(hs : ContMDiffOn I (I.prod 𝓘(𝕜, F)) n (fun x ↦ TotalSpace.mk' F x (s x)) t)
241258
(hf : ContMDiffOn I 𝓘(𝕜) n f t) :
242259
ContMDiffOn I (I.prod 𝓘(𝕜, F)) n (fun x ↦ TotalSpace.mk' F x (f x • s x)) t :=
243-
sorry -- fun x₀ ↦ contMDiffAt_smul_section (hs x₀) (hf x₀)
260+
fun x₀ hx₀ ↦ contMDiffWithinAt_smul_section (hs x₀ hx₀) (hf x₀ hx₀)
244261

245262
omit [IsManifold I 0 M] [∀ (x : M), IsTopologicalAddGroup (V x)]
246263
[∀ (x : M), ContinuousSMul 𝕜 (V x)] in

0 commit comments

Comments
 (0)