The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V17. Differential calculus in normed spaces

Mathlib.Analysis.Calculus.FDeriv.Symmetric

34 declarations and 1 deprecated aliases. Mathlib docs ยท Source

def IsSymmSndFDerivWithinAt E1 #

(๐•œ : Type u_1) โ†’
  [inst : NontriviallyNormedField ๐•œ] โ†’
    {E : Type u_2} โ†’
      {F : Type u_3} โ†’
        [inst_1 : NormedAddCommGroup E] โ†’
          [NormedSpace ๐•œ E] โ†’ [inst_3 : NormedAddCommGroup F] โ†’ [NormedSpace ๐•œ F] โ†’ (E โ†’ F) โ†’ Set E โ†’ E โ†’ Prop

Definition recording that a function has a symmetric second derivative within a set at a point. This is automatic in most cases of interest (open sets over real or complex vector fields, or general case for analytic functions), but we can express theorems of calculus using this as a general assumption, and then specialize to these situations.

def IsSymmSndFDerivAt E1 #

(๐•œ : Type u_1) โ†’
  [inst : NontriviallyNormedField ๐•œ] โ†’
    {E : Type u_2} โ†’
      {F : Type u_3} โ†’
        [inst_1 : NormedAddCommGroup E] โ†’
          [NormedSpace ๐•œ E] โ†’ [inst_3 : NormedAddCommGroup F] โ†’ [NormedSpace ๐•œ F] โ†’ (E โ†’ F) โ†’ E โ†’ Prop

Definition recording that a function has a symmetric second derivative at a point. This is automatic in most cases of interest (open sets over real or complex vector fields, or general case for analytic functions), but we can express theorems of calculus using this as a general assumption, and then specialize to these situations.

theorem IsSymmSndFDerivWithinAt.eq E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {s : Set E} {f : E โ†’ F} {x : E},
  IsSymmSndFDerivWithinAt ๐•œ f s x โ†’
    โˆ€ (v w : E), ((fderivWithin ๐•œ (fderivWithin ๐•œ f s) s x) v) w = ((fderivWithin ๐•œ (fderivWithin ๐•œ f s) s x) w) v

theorem IsSymmSndFDerivAt.eq E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {f : E โ†’ F} {x : E},
  IsSymmSndFDerivAt ๐•œ f x โ†’ โˆ€ (v w : E), ((fderiv ๐•œ (fderiv ๐•œ f) x) v) w = ((fderiv ๐•œ (fderiv ๐•œ f) x) w) v

theorem fderivWithin_fderivWithin_eq_of_mem_nhdsWithin E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {s t : Set E} {f : E โ†’ F}
  {x : E},
  t โˆˆ nhdsWithin x s โ†’
    ContDiffWithinAt ๐•œ 2 f t x โ†’
      UniqueDiffOn ๐•œ s โ†’
        UniqueDiffOn ๐•œ t โ†’ x โˆˆ s โ†’ fderivWithin ๐•œ (fderivWithin ๐•œ f s) s x = fderivWithin ๐•œ (fderivWithin ๐•œ f t) t x

theorem fderivWithin_fderivWithin_eq_of_eventuallyEqSet E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {s t : Set E} {f : E โ†’ F}
  {x : E}, s =แถ [nhds x] t โ†’ fderivWithin ๐•œ (fderivWithin ๐•œ f s) s x = fderivWithin ๐•œ (fderivWithin ๐•œ f t) t x

theorem fderivWithin_fderivWithin_eq_of_mem_nhds E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {f : E โ†’ F} {x : E} {s : Set E},
  s โˆˆ nhds x โ†’ fderivWithin ๐•œ (fderivWithin ๐•œ f s) s x = fderiv ๐•œ (fderiv ๐•œ f) x

theorem isSymmSndFDerivWithinAt_univ E0 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {f : E โ†’ F} {x : E},
  IsSymmSndFDerivWithinAt ๐•œ f Set.univ x โ†” IsSymmSndFDerivAt ๐•œ f x

theorem IsSymmSndFDerivWithinAt.mono_of_mem_nhdsWithin E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {s t : Set E} {f : E โ†’ F}
  {x : E},
  IsSymmSndFDerivWithinAt ๐•œ f t x โ†’
    t โˆˆ nhdsWithin x s โ†’
      ContDiffWithinAt ๐•œ 2 f t x โ†’ UniqueDiffOn ๐•œ s โ†’ UniqueDiffOn ๐•œ t โ†’ x โˆˆ s โ†’ IsSymmSndFDerivWithinAt ๐•œ f s x

theorem IsSymmSndFDerivWithinAt.congr_set E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {s t : Set E} {f : E โ†’ F}
  {x : E}, IsSymmSndFDerivWithinAt ๐•œ f s x โ†’ s =แถ [nhds x] t โ†’ IsSymmSndFDerivWithinAt ๐•œ f t x

theorem isSymmSndFDerivWithinAt_congr_set E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {s t : Set E} {f : E โ†’ F}
  {x : E}, s =แถ [nhds x] t โ†’ (IsSymmSndFDerivWithinAt ๐•œ f s x โ†” IsSymmSndFDerivWithinAt ๐•œ f t x)

theorem IsSymmSndFDerivAt.isSymmSndFDerivWithinAt E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {s : Set E} {f : E โ†’ F} {x : E},
  IsSymmSndFDerivAt ๐•œ f x โ†’ ContDiffAt ๐•œ 2 f x โ†’ UniqueDiffOn ๐•œ s โ†’ x โˆˆ s โ†’ IsSymmSndFDerivWithinAt ๐•œ f s x

theorem isSymmSndFDerivWithinAt_iff_iteratedFDerivWithin E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {s : Set E} {f : E โ†’ F} {x : E},
  UniqueDiffOn ๐•œ s โ†’
    x โˆˆ s โ†’
      (IsSymmSndFDerivWithinAt ๐•œ f s x โ†”
        ContinuousMultilinearMap.domDomCongr Fin.revPerm (iteratedFDerivWithin ๐•œ 2 f s x) =
          iteratedFDerivWithin ๐•œ 2 f s x)

theorem isSymmSndFDerivAt_iff_iteratedFDeriv E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {f : E โ†’ F} {x : E},
  IsSymmSndFDerivAt ๐•œ f x โ†”
    ContinuousMultilinearMap.domDomCongr Fin.revPerm (iteratedFDeriv ๐•œ 2 f x) = iteratedFDeriv ๐•œ 2 f x

theorem IsSymmSndFDerivWithinAt.iteratedFDerivWithin_cons E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {s : Set E} {f : E โ†’ F}
  {x v w : E} {hf : IsSymmSndFDerivWithinAt ๐•œ f s x},
  UniqueDiffOn ๐•œ s โ†’ x โˆˆ s โ†’ (iteratedFDerivWithin ๐•œ 2 f s x) ![v, w] = (iteratedFDerivWithin ๐•œ 2 f s x) ![w, v]

theorem IsSymmSndFDerivAt.iteratedFDeriv_cons E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {f : E โ†’ F} {x v w : E}
  {hf : IsSymmSndFDerivAt ๐•œ f x}, (iteratedFDeriv ๐•œ 2 f x) ![v, w] = (iteratedFDeriv ๐•œ 2 f x) ![w, v]

theorem ContDiffWithinAt.isSymmSndFDerivWithinAt_of_omega E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {s : Set E} {f : E โ†’ F} {x : E},
  ContDiffWithinAt ๐•œ โŠค f s x โ†’ UniqueDiffOn ๐•œ s โ†’ x โˆˆ s โ†’ IsSymmSndFDerivWithinAt ๐•œ f s x

If a function is analytic within a set at a point, then its second derivative is symmetric.

theorem ContDiffAt.isSymmSndFDerivAt_of_omega E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {f : E โ†’ F} {x : E},
  ContDiffAt ๐•œ โŠค f x โ†’ IsSymmSndFDerivAt ๐•œ f x

If a function is analytic at a point, then its second derivative is symmetric.

theorem Convex.taylor_approx_two_segment E1 #

โˆ€ {E : Type u_1} {F : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace โ„ E] [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace โ„ F] {s : Set E},
  Convex โ„ s โ†’
    โˆ€ {f : E โ†’ F} {f' : E โ†’ E โ†’L[โ„] F} {f'' : E โ†’L[โ„] E โ†’L[โ„] F},
      (โˆ€ x โˆˆ interior s, HasFDerivAt f (f' x) x) โ†’
        โˆ€ {x : E},
          x โˆˆ s โ†’
            HasFDerivWithinAt f' f'' (interior s) x โ†’
              โˆ€ {v w : E},
                x + v โˆˆ interior s โ†’
                  x + v + w โˆˆ interior s โ†’
                    (fun h โ†ฆ
                        f (x + h โ€ข v + h โ€ข w) - f (x + h โ€ข v) - h โ€ข (f' x) w - h ^ 2 โ€ข (f'' v) w -
                          (h ^ 2 / 2) โ€ข (f'' w) w) =o[nhdsWithin 0 (Set.Ioi 0)]
                      fun h โ†ฆ h ^ 2

Assume that f is differentiable inside a convex set s, and that its derivative f' is differentiable at a point x. Then, given two vectors v and w pointing inside s, one can Taylor-expand to order two the function f on the segment [x + h v, x + h (v + w)], giving a bilinear estimate for f (x + hv + hw) - f (x + hv) in terms of f' w and of f'' โฌ w, up to o(h^2).

This is a technical statement used to show that the second derivative is symmetric.

theorem Convex.isLittleO_alternate_sum_square E1 #

โˆ€ {E : Type u_1} {F : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace โ„ E] [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace โ„ F] {s : Set E},
  Convex โ„ s โ†’
    โˆ€ {f : E โ†’ F} {f' : E โ†’ E โ†’L[โ„] F} {f'' : E โ†’L[โ„] E โ†’L[โ„] F},
      (โˆ€ x โˆˆ interior s, HasFDerivAt f (f' x) x) โ†’
        โˆ€ {x : E},
          x โˆˆ s โ†’
            HasFDerivWithinAt f' f'' (interior s) x โ†’
              โˆ€ {v w : E},
                x + 4 โ€ข v โˆˆ interior s โ†’
                  x + 4 โ€ข w โˆˆ interior s โ†’
                    (fun h โ†ฆ
                        f (x + h โ€ข (2 โ€ข v + 2 โ€ข w)) + f (x + h โ€ข (v + w)) - f (x + h โ€ข (2 โ€ข v + w)) -
                            f (x + h โ€ข (v + 2 โ€ข w)) -
                          h ^ 2 โ€ข (f'' v) w) =o[nhdsWithin 0 (Set.Ioi 0)]
                      fun h โ†ฆ h ^ 2

One can get f'' v w as the limit of h ^ (-2) times the alternate sum of the values of f along the vertices of a quadrilateral with sides h v and h w based at x. In a setting where f is not guaranteed to be continuous at f, we can still get this if we use a quadrilateral based at h v + h w.

theorem Convex.second_derivative_within_at_symmetric_of_mem_interior E1 #

โˆ€ {E : Type u_1} {F : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace โ„ E] [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace โ„ F] {s : Set E},
  Convex โ„ s โ†’
    โˆ€ {f : E โ†’ F} {f' : E โ†’ E โ†’L[โ„] F} {f'' : E โ†’L[โ„] E โ†’L[โ„] F},
      (โˆ€ x โˆˆ interior s, HasFDerivAt f (f' x) x) โ†’
        โˆ€ {x : E},
          x โˆˆ s โ†’
            HasFDerivWithinAt f' f'' (interior s) x โ†’
              โˆ€ {v w : E}, x + 4 โ€ข v โˆˆ interior s โ†’ x + 4 โ€ข w โˆˆ interior s โ†’ (f'' w) v = (f'' v) w

Assume that f is differentiable inside a convex set s, and that its derivative f' is differentiable at a point x. Then, given two vectors v and w pointing inside s, one has f'' v w = f'' w v. Superseded by Convex.second_derivative_within_at_symmetric, which removes the assumption that v and w point inside s.

theorem Convex.second_derivative_within_at_symmetric E1 #

โˆ€ {E : Type u_1} {F : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace โ„ E] [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace โ„ F] {s : Set E},
  Convex โ„ s โ†’
    (interior s).Nonempty โ†’
      โˆ€ {f : E โ†’ F} {f' : E โ†’ E โ†’L[โ„] F} {f'' : E โ†’L[โ„] E โ†’L[โ„] F},
        (โˆ€ x โˆˆ interior s, HasFDerivAt f (f' x) x) โ†’
          โˆ€ {x : E}, x โˆˆ s โ†’ HasFDerivWithinAt f' f'' (interior s) x โ†’ โˆ€ (v w : E), (f'' v) w = (f'' w) v

If a function is differentiable inside a convex set with nonempty interior, and has a second derivative at a point of this convex set, then this second derivative is symmetric.

theorem second_derivative_symmetric_of_eventually_of_real E1 #

โˆ€ {E : Type u_1} {F : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace โ„ E] [inst_2 : NormedAddCommGroup F]
  [inst_3 : NormedSpace โ„ F] {x : E} {f : E โ†’ F} {f' : E โ†’ E โ†’L[โ„] F} {f'' : E โ†’L[โ„] E โ†’L[โ„] F},
  (โˆ€แถ  (y : E) in nhds x, HasFDerivAt f (f' y) y) โ†’ HasFDerivAt f' f'' x โ†’ โˆ€ (v w : E), (f'' v) w = (f'' w) v

If a function is differentiable around x, and has two derivatives at x, then the second derivative is symmetric. Version over โ„. See second_derivative_symmetric_of_eventually for a version over โ„ or โ„‚.

theorem second_derivative_symmetric_of_eventually E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {f : E โ†’ F}
  [IsRCLikeNormedField ๐•œ] {f' : E โ†’ E โ†’L[๐•œ] F} {x : E} {f'' : E โ†’L[๐•œ] E โ†’L[๐•œ] F},
  (โˆ€แถ  (y : E) in nhds x, HasFDerivAt f (f' y) y) โ†’ HasFDerivAt f' f'' x โ†’ โˆ€ (v w : E), (f'' v) w = (f'' w) v

theorem second_derivative_symmetric E3 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {f : E โ†’ F}
  [IsRCLikeNormedField ๐•œ] {f' : E โ†’ E โ†’L[๐•œ] F} {f'' : E โ†’L[๐•œ] E โ†’L[๐•œ] F} {x : E},
  (โˆ€ (y : E), HasFDerivAt f (f' y) y) โ†’ HasFDerivAt f' f'' x โ†’ โˆ€ (v w : E), (f'' v) w = (f'' w) v

If a function is differentiable, and has two derivatives at x, then the second derivative is symmetric.

def minSmoothness E1 #

(๐•œ : Type u_1) โ†’ [NontriviallyNormedField ๐•œ] โ†’ WithTop โ„•โˆž โ†’ WithTop โ„•โˆž

minSmoothness ๐•œ n is the minimal smoothness exponent larger than or equal to n for which one can do serious calculus in ๐•œ. If ๐•œ is โ„ or โ„‚, this is just n. Otherwise, this is ฯ‰ as only analytic functions are well behaved on โ„šโ‚š, say.

theorem minSmoothness_of_isRCLikeNormedField E0 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] [h : IsRCLikeNormedField ๐•œ] {n : WithTop โ„•โˆž}, minSmoothness ๐•œ n = n

theorem le_minSmoothness E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {n : WithTop โ„•โˆž}, n โ‰ค minSmoothness ๐•œ n

theorem minSmoothness_add E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {n m : WithTop โ„•โˆž}, minSmoothness ๐•œ (n + m) = minSmoothness ๐•œ n + m

theorem minSmoothness_monotone E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ], Monotone (minSmoothness ๐•œ)

theorem minSmoothness_eq_infty E0 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {n : WithTop โ„•โˆž},
  minSmoothness ๐•œ n = โ†‘โŠค โ†” n = โ†‘โŠค โˆง IsRCLikeNormedField ๐•œ

theorem exist_minSmoothness_le_ne_infty E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {n : WithTop โ„•โˆž} {m : โ„•},
  minSmoothness ๐•œ โ†‘m โ‰ค n โ†’ โˆƒ n', minSmoothness ๐•œ โ†‘m โ‰ค n' โˆง n' โ‰ค n โˆง n' โ‰  โ†‘โŠค

If minSmoothness ๐•œ m โ‰ค n for some (finite) integer m, then one can find n' โˆˆ [minSmoothness ๐•œ m, n] which is not โˆž: over โ„ or โ„‚, just take m, and otherwise just take ฯ‰. The interest of this technical lemma is that, if a function is C^{n'} at a point for n' โ‰  โˆž, then it is C^{n'} on a neighborhood of the point (this property fails only in C^โˆž smoothness, see ContDiffWithinAt.contDiffOn).

theorem ContDiffAt.isSymmSndFDerivAt E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {f : E โ†’ F} {x : E}
  {n : WithTop โ„•โˆž}, ContDiffAt ๐•œ n f x โ†’ minSmoothness ๐•œ 2 โ‰ค n โ†’ IsSymmSndFDerivAt ๐•œ f x

If a function is C^2 at a point, then its second derivative there is symmetric. Over a field different from โ„ or โ„‚, we should require that the function is analytic.

theorem ContDiffWithinAt.isSymmSndFDerivWithinAt E1 #

โˆ€ {๐•œ : Type u_1} [inst : NontriviallyNormedField ๐•œ] {E : Type u_2} {F : Type u_3} [inst_1 : NormedAddCommGroup E]
  [inst_2 : NormedSpace ๐•œ E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ๐•œ F] {s : Set E} {f : E โ†’ F} {x : E}
  {n : WithTop โ„•โˆž},
  ContDiffWithinAt ๐•œ n f s x โ†’
    minSmoothness ๐•œ 2 โ‰ค n โ†’ UniqueDiffOn ๐•œ s โ†’ x โˆˆ closure (interior s) โ†’ x โˆˆ s โ†’ IsSymmSndFDerivWithinAt ๐•œ f s x

If a function is C^2 within a set at a point, and accumulated by points in the interior of the set, then its second derivative there is symmetric. Over a field different from โ„ or โ„‚, we should require that the function is analytic.

Deprecated aliases

NameNew nameSince
fderivWithin_fderivWithin_eq_of_eventuallyEqfderivWithin_fderivWithin_eq_of_eventuallyEqSet2026-08-14