d9NextRevenue_hasDerivWithinAt_threshold_right_all
Provedd9NextRevenue_hasDerivWithinAt_threshold_right_allcandidate-decomposition
Automatically extracted helper theorem d9NextRevenue_hasDerivWithinAt_threshold_right_all from oversized parent candidate 639a9ddd266f53936178d3317e77837b9af301f510884d3a73751f7b41da8a07.
Preamble
import Mathlib import Definitions.Def_NestedSeatAlloc_IntPolicy_Model import Definitions.Def_d9NextRevenue import Theorems.Thm_d9NextRevenue_hasDerivWithinAt_threshold_right open NestedSeatAlloc.IntPolicy
Formal statement
theorem d9NextRevenue_hasDerivWithinAt_threshold_right_all
(g : ℝ → ℝ) (p x fare s r : ℝ)
(hG : HasDerivWithinAt g r (Set.Ici p) p) (hx : 0 ≤ x) :
HasDerivWithinAt (fun u => d9NextRevenue g u x fare s)
(if p < s ∧ s ≤ p + x then r - fare else 0)
(Set.Ici p) p := by sorry
Source
candidate-decomposition:304a5ba4-c3fe-4878-9ae0-c209084c89c1:639a9ddd266f53936178d3317e77837b9af301f510884d3a73751f7b41da8a07