Right derivative of a closed-interval affine function
DisprovedNestedSeatAlloc.IntPolicy.hasDerivWithinAt_of_affine_interval_rightairline-revenue-managementchild-theoremclbieq27one-sided-derivative
An affine identity on a closed unit interval gives the right within-derivative at every point of that interval.
Preamble
import Mathlib
Formal statement
namespace NestedSeatAlloc.IntPolicy
theorem hasDerivWithinAt_of_affine_interval_right
{g : ℝ → ℝ} {m : ℕ} {c d s : ℝ}
(hs : s ∈ Set.Icc (m : ℝ) (m + 1))
(haff : ∀ t ∈ Set.Icc (m : ℝ) (m + 1), g t = c + d * t) :
HasDerivWithinAt g d (Set.Ici s) s := by sorry
end NestedSeatAlloc.IntPolicySource
Source-faithful arbitrary-point derivative transport in candidates/eq27_affine_interval_one_sided_derivatives.lean; used by equation-(27) strict-tail assembly.