Derivative at a shifted base point, both directions
ProvedMovingSofa.ForMathlib.hasDerivAt_comp_add_const_iffcalculus
Let with derivative ( a nontrivially normed field). For shift and base ,
The forward direction shifts back by ; the converse is Mathlib's comp_add_const.
Preamble
import Mathlib.Analysis.Calculus.Deriv.Shift
Formal statement
namespace MovingSofa.ForMathlib
theorem hasDerivAt_comp_add_const_iff {𝕜 : Type*} [NontriviallyNormedField 𝕜] {F : Type*} [NormedAddCommGroup F] [NormedSpace 𝕜 F] {f : 𝕜 → F} {f' : F} (x a : 𝕜) : HasDerivAt (fun u ↦ f (u + a)) f' x ↔ HasDerivAt f f' (x + a) := by sorry
end MovingSofa.ForMathlibSource