Main derivation
S01 · definition
Before
G'(x_0)=f(x_0)
After
\lim_{h\to 0,\ h\neq 0}\frac{G(x_0+h)-G(x_0)}{h}=f(x_0)Conditions: x_0\in\mathbb{R}
Rule: deriv_def · Uses: G1, deriv_def
Leaf basis: deriv_def + def_unfold
Fix an arbitrary point x_0∈ℝ, assuming nothing about it beyond x_0∈ℝ. By the definition of the derivative, part (1) at x_0 means: the difference quotient Q(h)=(G(x_0+h)−G(x_0))/h (h≠0) has a finite limit as h→0, and that limit is f(x_0).
S02 · equivalent
Before
G(x_0+h)-G(x_0)
After
\int_{x_0}^{x_0+h} f(t)\,dtConditions: h\neq 0
Rule: int_additive · Uses: G1, int_additive
Leaf basis: int_additive + eq_congruence + add_inverse
With p=a, q=x_0, r=x_0+h, additivity gives ∫_a^{x_0+h} f=∫_a^{x_0} f+∫_{x_0}^{x_0+h} f, that is G(x_0+h)=G(x_0)+∫_{x_0}^{x_0+h} f; subtract G(x_0) from both sides. Because the integrals are oriented, a, x_0 and x_0+h may come in any order, so h<0 is covered too.
S03 · equivalent
Before
\int_{x_0}^{x_0+h} f(x_0)\,dtAfter
f(x_0)\,h
Conditions: h\neq 0
Rule: L_const_int · Uses: L_const_int
Leaf basis: mko_moment + mko_reverse + case_analysis
With x_0 fixed, the integrand t↦f(x_0) is the constant c=f(x_0); by Lemma L_const_int (proved in S03.1 and S03.2) its integral is f(x_0)h.
S04 · equivalent
Before
\frac{G(x_0+h)-G(x_0)}{h}-f(x_0)After
\frac{1}{h}\int_{x_0}^{x_0+h}\bigl(f(t)-f(x_0)\bigr)\,dtConditions: h\neq 0
Rule: int_linear · Uses: S02, S03, int_linear
Leaf basis: int_linear + mul_inverse_nonzero + distributive + eq_replace
By S02 the numerator is ∫_{x_0}^{x_0+h} f; by S03, f(x_0)=f(x_0)h/h=(1/h)∫_{x_0}^{x_0+h} f(x_0)dt (division needs h≠0). Both terms carry the factor 1/h, and linearity of the integral merges the two integrals into ∫_{x_0}^{x_0+h}(f(t)−f(x_0))dt.
S05 · implies
Before
f\ \text{continuous at}\ x_0,\ \varepsilon>0After
\exists\delta>0\ \forall t:\ |t-x_0|<\delta\Rightarrow|f(t)-f(x_0)|<\tfrac{\varepsilon}{2}Conditions: \varepsilon>0
Rule: continuity_def · Uses: G1, continuity_def
Leaf basis: continuity_def + forall_elim
Take any ε>0. Since f is continuous at x_0 (G1), apply the definition of continuity to the positive number ε/2 to obtain δ>0 as stated. This is the only direct invocation of pointwise ε–δ continuity in the proof. The cited integral additivity, linearity and bound also use their continuity hypotheses, and S07 checks continuity of the error integrand.
S06 · implies
Before
0<|h|<\delta,\ t\ \text{between}\ x_0\ \text{and}\ x_0+hAfter
|t-x_0|\le|h|<\delta,\quad |f(t)-f(x_0)|<\tfrac{\varepsilon}{2}Conditions: 0<|h|<\delta
Rule: abs_rules · Uses: S05
Leaf basis: abs_rules + order_basics + case_analysis
Two cases: if h>0 then x_0≤t≤x_0+h, so 0≤t−x_0≤h=|h|; if h<0 then x_0+h≤t≤x_0, so 0≤x_0−t≤−h=|h|. In both cases |t−x_0|≤|h|<δ, and S05 gives |f(t)−f(x_0)|<ε/2.
S07 · implies
Before
\left|\int_{x_0}^{x_0+h}\bigl(f(t)-f(x_0)\bigr)\,dt\right|After
\le\tfrac{\varepsilon}{2}\,|h|Conditions: 0<|h|<\delta
Rule: int_bound · Uses: S06, int_bound, G1
Leaf basis: int_bound + abs_rules + case_analysis
Let g(t)=f(t)−f(x_0). g is continuous because |g(t)−g(s)|=|f(t)−f(s)|. By S06, |g|≤ε/2 on the closed interval between x_0 and x_0+h. For h>0 apply the bound with p=x_0, q=x_0+h to get |∫|≤(ε/2)h; for h<0 the oriented integral equals −∫_{x_0+h}^{x_0} g, whose absolute value is the same, and the bound gives (ε/2)(−h). Both are (ε/2)|h|.
S08 · implies
Before
\left|\frac{G(x_0+h)-G(x_0)}{h}-f(x_0)\right|After
\le\tfrac{\varepsilon}{2}<\varepsilon\quad(0<|h|<\delta)Conditions: 0<|h|<\delta
Rule: abs_rules · Uses: S04, S07
Leaf basis: abs_rules + frac_rules + order_basics
By S04 the left side is |1/h|·|∫_{x_0}^{x_0+h}(f(t)−f(x_0))dt|=(1/|h|)·|∫|; by S07 this is ≤(1/|h|)(ε/2)|h|=ε/2<ε. It uses |uv|=|u||v| and |h|>0.
S09 · implies
Before
\forall\varepsilon>0\ \exists\delta>0\ \forall h:\ 0<|h|<\delta\Rightarrow|Q(h)-f(x_0)|<\varepsilon
After
G'(x_0)=f(x_0)
Conditions: none
Rule: func_limit_def · Uses: S05, S08, func_limit_def
Leaf basis: func_limit_def + deriv_def + forall_intro
ε>0 was arbitrary, and S05 to S08 found a δ that works for it; this is exactly the definition of lim_{h→0} Q(h)=f(x_0) (0 is a limit point of the domain ℝ∖{0} of Q). By S01, G is differentiable at x_0 with G′(x_0)=f(x_0).
S10 · implies
Before
G'(x_0)=f(x_0)\ \text{for an arbitrary}\ x_0\in\mathbb{R}After
\forall x\in\mathbb{R}:\ G'(x)=f(x)Conditions: none
Rule: forall_intro · Uses: S09
Leaf basis: forall_intro
S01 to S09 used no property of x_0 beyond x_0∈ℝ, and the base point a was also arbitrary, so we generalize: for every a and every x, G is differentiable at x with G′(x)=f(x). Part (1) is proved, given the cited integral properties.
S11 · implies
Before
D(x)=F(x)-G(x)
After
D'(x)=F'(x)-G'(x)=f(x)-f(x)=0\quad\forall x\in\mathbb{R}Conditions: none
Rule: deriv_rules · Uses: G2, S10, deriv_rules
Leaf basis: deriv_rules + add_inverse
F is differentiable everywhere (G2) and so is G (S10). Writing D=F+(−1)·G, the sum and constant-multiple rules show D is differentiable everywhere with D′=F′−G′=f−f=0.
S12 · theorem_application
Before
D'(x)=0\quad\forall x\in\mathbb{R}After
\exists C\in\mathbb{R}\ \forall x\in\mathbb{R}:\ F(x)=G(x)+CConditions: D\ \text{differentiable on}\ \mathbb{R}
Rule: thm_zero_deriv · Uses: S11, thm_zero_deriv
Leaf basis: thm_zero_deriv
D is differentiable on all of ℝ (an interval) with derivative zero everywhere; by the cited corollary of the Mean Value Theorem, D is a constant C, that is F=G+C.
S13 · equivalent
Before
F(b)-F(a)
After
\int_a^b f(t)\,dt
Conditions: a,b\in\mathbb{R}
Rule: eq_replace · Uses: S12, G1
Leaf basis: eq_replace + add_inverse + def_unfold
By S12, F(b)−F(a)=(G(b)+C)−(G(a)+C)=G(b)−G(a) (S13.2); G(b)=∫_a^b f and G(a)=0 (S13.1), so this equals ∫_a^b f. b may be less than, equal to or greater than a, because G uses oriented integrals.
S14 · implies
Before
F(x)=\tfrac{1}{2}+x-x^2+2x^3After
F'(x)=1-2x+6x^2=f(x)
Conditions: none
Rule: poly_deriv · Uses: G3, poly_deriv
Leaf basis: poly_deriv + numeric_evaluation
Differentiate coefficientwise: the constant 1/2 gives 0; x gives 1; −x² gives −2x; 2x³ gives 6x². The ascending coefficients [1,−2,6] of F′ agree term by term with those of f, so F′=f as polynomials, hence at every real x. F is a polynomial and differentiable on all of ℝ, so the premise G2 holds for this F.
S15 · theorem_application
Before
\int_2^{-1} f(t)\,dtAfter
F(-1)-F(2)=-\tfrac{7}{2}-\tfrac{29}{2}=-18Conditions: F'=f\ \text{on}\ \mathbb{R}
Rule: forall_elim · Uses: S13, S14, G3
Leaf basis: forall_elim + numeric_evaluation
S13 holds for arbitrary real endpoints; take a=2, b=−1 (reversed endpoints). F(−1)=2(−1)³−(−1)²+(−1)+1/2=−2−1−1+1/2=−7/2; F(2)=16−4+2+1/2=29/2; the difference is −36/2=−18.
S16 · implies
Before
G(x)=\int_2^x f(t)\,dt
After
G(2)=0,\quad G'(2)=f(2)=21\neq 0
Conditions: none
Rule: forall_elim · Uses: S10, S13, G3
Leaf basis: forall_elim + numeric_evaluation
Take base point a=2. G(2)=∫_2^2 f=0, yet by S10 G′(2)=f(2)=6·4−2·2+1=21≠0. A zero value only says the accumulation starts at 0; the derivative is the rate of change at that moment. By S13 one may also write G(x)=F(x)−F(2), so G′=F′=f, consistently.
S17 · implies
Before
K(x)=\int_x^{2x} f(t)\,dtAfter
K(x)=F(2x)-F(x)=14x^3-3x^2+x
Conditions: none
Rule: forall_elim · Uses: S13, S14, G3
Leaf basis: forall_elim + distributive + power_laws
For each x apply S13 with a=x and b=2x: K(x)=F(2x)−F(x)=(16x³−4x²+2x+1/2)−(2x³−x²+x+1/2)=14x³−3x²+x (N6 checks this degree-3 identity). At x=0 both bounds are 0 and K(0)=0.
Substeps and lemmas
S03.1 · theorem_application
Before
\int_{x_0}^{x_0+h} c\,dt\quad(h>0)After
c\cdot\frac{(x_0+h)^1-x_0^1}{1}=chConditions: h>0
Rule: mko_moment · Uses: mko_moment
Leaf basis: mko_moment + add_inverse
For h>0, x_0<x_0+h. The constant c is the polynomial c·x⁰, and the moment formula with n=0 gives c((x_0+h)−x_0)/1=ch.
S03.2 · theorem_application
Before
\int_{x_0}^{x_0+h} c\,dt\quad(h<0)After
-\int_{x_0+h}^{x_0} c\,dt=-c\bigl(x_0-(x_0+h)\bigr)=chConditions: h<0
Rule: mko_reverse · Uses: mko_reverse, mko_moment
Leaf basis: mko_reverse + mko_moment + neg_mul + order_basics
For h<0, x_0+h<x_0. First reverse: ∫_{x_0}^{x_0+h} c dt=−∫_{x_0+h}^{x_0} c dt; then the moment formula on the forward interval gives −c(x_0−(x_0+h))=−c(−h)=ch. By trichotomy, h≠0 means h>0 or h<0, so S03.1 and S03.2 together prove Lemma L_const_int.
S13.1 · equivalent
Before
G(a)
After
\int_a^a f(t)\,dt=0
Conditions: none
Rule: def_unfold · Uses: G1
Leaf basis: def_unfold
By the definition of G, G(a)=∫_a^a f, and by the orientation convention of G1 (equal endpoints give 0) this is 0.
S13.2 · equivalent
Before
(G(b)+C)-(G(a)+C)
After
G(b)-G(a)
Conditions: none
Rule: add_inverse · Uses: S12
Leaf basis: add_assoc + add_comm + add_inverse + add_zero
C and −C cancel (associativity, commutativity and inverses for addition). This is also why adding a constant to an antiderivative does not change the endpoint difference.
S15.1 · theorem_application
Before
\int_{-1}^{2} f(t)\,dtAfter
6\cdot\tfrac{2^3-(-1)^3}{3}-2\cdot\tfrac{2^2-(-1)^2}{2}+\bigl(2-(-1)\bigr)=18Conditions: -1\le 2
Rule: mko_moment · Uses: G3, mko_moment, mko_reverse
Leaf basis: mko_moment + mko_reverse + numeric_evaluation
Independent check with the definite-integral MKO's moment formula (no FTC): 6·9/3−2·3/2+3=18−3+3=18; the reversal rule then gives ∫_2^{−1} f=−18, agreeing with S15.
S15.2 · equivalent
Before
\bigl(F(-1)+7\bigr)-\bigl(F(2)+7\bigr)
After
F(-1)-F(2)=-18
Conditions: none
Rule: add_inverse · Uses: S15
Leaf basis: add_inverse + add_assoc + add_comm
Use the antiderivative F+7 instead: (F(−1)+7)−(F(2)+7)=F(−1)−F(2)=−18. Adding a constant does not change the endpoint difference, which is the same cancellation as C in S13.2.
S17.1 · implies
Before
K(x)=14x^3-3x^2+x
After
K'(x)=42x^2-6x+1,\quad K'(0)=1\neq 0
Conditions: none
Rule: poly_deriv · Uses: S17, poly_deriv
Leaf basis: poly_deriv + numeric_evaluation
Differentiating term by term gives K′(x)=42x²−6x+1, so K′(0)=1≠0: bounds coinciding at x=0 do not make the derivative zero, because the upper bound moves at speed 2 and the lower bound at speed 1.
S17.2 · implies
Before
f(u(x))\,u'(x)-f(l(x))\,l'(x),\quad u(x)=2x,\ l(x)=x
After
2f(2x)-f(x)=42x^2-6x+1
Conditions: none
Rule: deriv_rules · Uses: S17.1, S14, deriv_rules
Leaf basis: deriv_rules + poly_deriv + numeric_evaluation
The moving-bounds formula of MKO assumption a2 gives f(2x)·2−f(x)·1=2(24x²−4x+1)−(6x²−2x+1)=42x²−6x+1, the same as S17.1 (N7 checks this degree-2 identity). This is the chain rule applied to K(x)=F(2x)−F(x): K′(x)=2F′(2x)−F′(x).