Skip to content

Commit 53803bd

Browse files
committed
Clean-up
1 parent 72a3b01 commit 53803bd

2 files changed

Lines changed: 3 additions & 21 deletions

File tree

Mathlib/Geometry/Manifold/ContMDiff/Basic.lean

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ end const
272272
/-- `f` is continuously differentiable if it is cont. differentiable at
273273
each `x ∈ mulTSupport f`. -/
274274
@[to_additive "`f` is continuously differentiable if it is continuously
275-
differentiable at each `x ∈ tsupport f`."]
275+
differentiable at each `x ∈ tsupport f`.
276+
See also `ContMDiff.of_contMDiffOn_smul_bump_function` for the analogous result applying
277+
to sections of vector bundles (whose co-domain has no zero)."]
276278
theorem contMDiff_of_mulTSupport [One M'] {f : M → M'}
277279
(hf : ∀ x ∈ mulTSupport f, ContMDiffAt I I' n f x) : ContMDiff I I' n f := by
278280
intro x

Mathlib/Geometry/Manifold/VectorBundle/CovariantDerivative.lean

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -171,26 +171,6 @@ lemma contMDiff_of_contMDiffOn_iUnion_of_isOpen {ι : Type*} {s : ι → Set M}
171171
rw [← contMDiffOn_univ, ← hs']
172172
exact ContMDiffOn.iUnion_of_isOpen hf hs
173173

174-
/-- A section is `C^n` whenever it is `C^n` on its support.
175-
This is a more global version of `contMDiff_of_tsupport` (which does not apply, as it assumes the
176-
co-domain has a zero: the total space of a vector bundle has none): in return for the additional
177-
generality, we need to add a hypothesis about the zero section being smooth. -/
178-
lemma ContMDiff.of_contMDiffOn_smul_bump_function [SMul 𝕜 M'] (hf : ContMDiffOn I I' n f s)
179-
(hs : IsOpen s) {ψ : M → 𝕜} (hψ : ContMDiff I 𝓘(𝕜) n ψ) (hψ' : tsupport ψ ⊆ s)
180-
-- XXX: is there a better abstraction of "the zero section"?
181-
(hzero : ContMDiff I I' n (fun x ↦ (0 : 𝕜) • f x)) : ContMDiff I I' n (ψ • f) := by
182-
apply contMDiff_of_contMDiffOn_union_of_isOpen ?_ ?_ ?_ hs
183-
(isOpen_compl_iff.mpr <| isClosed_tsupport ψ)
184-
· -- TODO: impose further typeclasses to make this true...
185-
sorry -- scalar multiplication is C^n, for sections: will be done for local frames as well
186-
· apply (hzero.contMDiffOn (s := (tsupport ψ)ᶜ)).congr
187-
intro y hy
188-
simp [image_eq_zero_of_notMem_tsupport hy]
189-
· exact Set.compl_subset_iff_union.mp <| Set.compl_subset_compl.mpr hψ'
190-
191-
-- See also `ContMDiff.of_contMDiffOn_smul_bump_function` for the analogous result applying
192-
-- to sections of vector bundles (whose co-domain has no zero).
193-
194174
end contMDiff_union
195175

196176
section contMDiff_addsmulfinsum_section

0 commit comments

Comments
 (0)