NLA-lib Explorer

contDiff_two_of_hasFDerivAt_sum_smul_proj

Library · theorem

A function with coordinate gradient g (Df(\mathbf{x}) = \sum_i g_i(\mathbf{x}) \pi_i, \pi_i the i-th coordinate projection) whose coordinates have continuous coordinate gradients \mathbf{H} (Dg_i(\mathbf{x}) = \sum_j \mathbf{H}_{i,j}(\mathbf{x}) \pi_j) is of class C^2.

contDiff_two_of_hasFDerivAt_sum_smul_proj.{u_1} {ι : Type u_1} [Fintype ι] {f : (ι → ℝ) → ℝ}
  {g : ι → (ι → ℝ) → ℝ} {H : ι → ι → (ι → ℝ) → ℝ}
  (hf : ∀ (x : ι → ℝ), HasFDerivAt f (∑ i, g i x • ContinuousLinearMap.proj i) x)
  (hg : ∀ (i : ι) (x : ι → ℝ), HasFDerivAt (g i) (∑ j, H i j x • ContinuousLinearMap.proj j) x)
  (hH : ∀ (i j : ι), Continuous (H i j)) : ContDiff ℝ 2 f

Full source on GitHub

Import NLAlib.ForMathlib.Analysis.Calculus.ContDiff.Hessian.