Commit 2026-02-18 03:15 d6f48e47

View on Github →

refactor(Analysis/Calculus): redefine HasFDerivAtFilter (#34965) Make HasFDerivAtFilter and HasDerivAtFilter to take a filter in the Cartesian square of the domain, so that it works for HasStrictFDerivAt and HasStrictDerivAt. Other changes:

  • golf proofs about hasDerivAt_pi etc, dropping [Finite ι] assumption;
  • move proofs about HasFDerivAtFilter before HasStrictFDerivAt, use them;
  • add lemmas like hasFDerivAt_iff_isLittleO, since the old idiom rw [HasFDerivAt, hasFDerivAtFilter_iff_isLittleO] no longer gives the desired result. See Zulip discussion

Estimated changes

added theorem HasDerivAt.add
added theorem HasDerivAtFilter.add
modified theorem HasDerivAtFilter.const_sub
modified theorem HasDerivAtFilter.fun_sum
modified theorem HasDerivAtFilter.neg
modified theorem HasDerivAtFilter.sub
modified theorem HasDerivAtFilter.sum
added theorem HasDerivWithinAt.add
added theorem HasStrictDerivAt.add
modified theorem HasStrictDerivAt.neg
modified theorem hasDerivAtFilter_neg