Skip to content

Commit 2526a8d

Browse files
committed
chore(Analysis/SchwartzSpace): add fun_prop tag (leanprover-community#33400)
1 parent 2ac9285 commit 2526a8d

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Mathlib/Analysis/Distribution/SchwartzSpace.lean

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,22 +104,30 @@ theorem decay (f : 𝓢(E, F)) (k n : ℕ) :
104104
exact ⟨max C 1, by positivity, fun x => (hC x).trans (le_max_left _ _)⟩
105105

106106
/-- Every Schwartz function is smooth. -/
107+
@[fun_prop]
107108
theorem smooth (f : 𝓢(E, F)) (n : ℕ∞) : ContDiff ℝ n f :=
108109
f.smooth'.of_le (mod_cast le_top)
109110

111+
/-- Every Schwartz function is smooth at any point. -/
112+
@[fun_prop]
113+
theorem contDiffAt (f : 𝓢(E, F)) (n : ℕ∞) {x : E} : ContDiffAt ℝ n f x :=
114+
(f.smooth n).contDiffAt
115+
110116
/-- Every Schwartz function is continuous. -/
111-
@[continuity]
117+
@[continuity, fun_prop]
112118
protected theorem continuous (f : 𝓢(E, F)) : Continuous f :=
113119
(f.smooth 0).continuous
114120

115121
instance instContinuousMapClass : ContinuousMapClass 𝓢(E, F) E F where
116122
map_continuous := SchwartzMap.continuous
117123

118124
/-- Every Schwartz function is differentiable. -/
125+
@[fun_prop]
119126
protected theorem differentiable (f : 𝓢(E, F)) : Differentiable ℝ f :=
120127
(f.smooth 1).differentiable one_ne_zero
121128

122129
/-- Every Schwartz function is differentiable at any point. -/
130+
@[fun_prop]
123131
protected theorem differentiableAt (f : 𝓢(E, F)) {x : E} : DifferentiableAt ℝ f x :=
124132
f.differentiable.differentiableAt
125133

0 commit comments

Comments
 (0)