Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Fermat's interior extremum theorem: if ff has a local extremum at a point cc interior to its domain and is differentiable at cc, then f(c)=0f'(c) = 0

Statement

Let ARA \subseteq \mathbb{R}, let f:ARf : A \to \mathbb{R} and let cAc \in A be interior to AA (Local (relative) maximum and minimum of f:ARf : A \to \mathbb{R} at a point, the strict forms, and what it means for the point to be interior to AA, Interior, closure, boundary and exterior of a subset of R\mathbb{R}). Suppose ff has a local extremum at cc (Local (relative) maximum and minimum of f:ARf : A \to \mathbb{R} at a point, the strict forms, and what it means for the point to be interior to AA) and is differentiable at cc (The derivative f(c)=limxcf(x)f(c)xcf'(c) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c} of f:ARf : A \to \mathbb{R} at a point cAc \in A that is a limit point of AA, and differentiability on a set). Then

f(c)  =  0.f'(c) \;=\; 0 .

The symbol f(c)f'(c) is meaningful under these hypotheses because an interior point of AA is a limit point of AA, which is proved in Local (relative) maximum and minimum of f:ARf : A \to \mathbb{R} at a point, the strict forms, and what it means for the point to be interior to AA.

Interiority is a hypothesis and not a convenience. At a point of AA that is not interior, the argument below cannot place points of AA on both sides of cc, and the conclusion genuinely fails: the companion page exhibits a function on [0,1][0,1] attaining both its greatest and its least value at points where the derivative is 11.

No converse is asserted. A vanishing derivative does not produce an extremum. The witness is the cubic of FALSE: if f(c)=0f'(c) = 0 then ff is not increasing on any interval containing cc, which has f(0)=0f'(0) = 0 and neither a local maximum nor a local minimum at 00; that failure is recorded in the remarks of that item, not as an item of its own.

Facts & Assumptions

[A1]

cc is interior to AA: there is a real εA>0\varepsilon_A > 0 with NεA(c)AN_{\varepsilon_A}(c) \subseteq A; and such a cc is a limit point of AA, so f(c)f'(c) is defined (Local (relative) maximum and minimum of f:ARf : A \to \mathbb{R} at a point, the strict forms, and what it means for the point to be interior to AA, Interior, closure, boundary and exterior of a subset of R\mathbb{R}, Limit point, isolated point, adherent point, derived set, and dense subset of R\mathbb{R}).

[A2]

ff has a local extremum at cc: there is a real ρ>0\rho > 0 such that either f(x)f(c)f(x) \le f(c) for every xANρ(c)x \in A \cap N_{\rho}(c), or f(x)f(c)f(x) \ge f(c) for every xANρ(c)x \in A \cap N_{\rho}(c) (Local (relative) maximum and minimum of f:ARf : A \to \mathbb{R} at a point, the strict forms, and what it means for the point to be interior to AA).

[L1]

Derivative (The derivative f(c)=limxcf(x)f(c)xcf'(c) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c} of f:ARf : A \to \mathbb{R} at a point cAc \in A that is a limit point of AA, and differentiability on a set): the difference quotient q(x):=(f(x)f(c))/(xc)q(x) := (f(x)-f(c))/(x-c) is a function on A{c}A \setminus \{c\}, the point cc is a limit point of A{c}A \setminus \{c\}, and limxcq(x)=f(c)\lim_{x \to c} q(x) = f'(c) (The ε\varepsilon-δ\delta limit limxcf(x)=L\lim_{x \to c} f(x) = L of f:ARf : A \to \mathbb{R} at a limit point cc of AA). In particular f(x)f(c)=q(x)(xc)f(x) - f(c) = q(x)(x - c) for every xAx \in A with xcx \ne c.

[L2]

Sign preservation (If limxcf(x)=L0\lim_{x \to c} f(x) = L \ne 0 then f>L/2|f| > |L|/2 on a punctured neighbourhood of cc; in particular if L>0L > 0 then f>L/2>0f > L/2 > 0 there): if hh is a function on a set DD having cc as a limit point and limxch(x)=L\lim_{x \to c} h(x) = L with L0L \ne 0, then there is a real δ>0\delta > 0 such that every xDx \in D with 0<xc<δ0 < |x - c| < \delta satisfies h(x)>L/2>0h(x) > L/2 > 0 when L>0L > 0, and h(x)<L/2<0h(x) < L/2 < 0 when L<0L < 0.

[L3]

Neighbourhoods (The ε\varepsilon-neighbourhood and the punctured ε\varepsilon-neighbourhood of a point of R\mathbb{R}): Nε(c)={y:yc<ε}N_{\varepsilon}(c) = \{ y : |y - c| < \varepsilon \}, and of finitely many positive reals the smallest is positive.

[L4]

Order arithmetic (Sign rules for products and monotonicity of multiplication, Ordered field): a product of two positive reals is positive, a product of a positive and a negative real is negative, and trichotomy, so f(c)0f'(c) \ne 0 means f(c)>0f'(c) > 0 or f(c)<0f'(c) < 0, exclusively.

Proof

technique · contradiction
1.1

Suppose, for contradiction, that f(c)0f'(c) \ne 0; by trichotomy either f(c)>0f'(c) > 0 or f(c)<0f'(c) < 0.

assume-contraL4
1.2

Fix a real εA>0\varepsilon_A > 0 with NεA(c)AN_{\varepsilon_A}(c) \subseteq A.

A1choose
1.3

Fix a real ρ>0\rho > 0 as in [A2], so that on ANρ(c)A \cap N_{\rho}(c) the function ff never exceeds f(c)f(c), or never falls below it.

A2choose
2.1

Apply [L2] to h:=qh := q on the domain D:=A{c}D := A \setminus \{c\}, of which cc is a limit point by [L1], with L:=f(c)0L := f'(c) \ne 0: fix a real δ>0\delta > 0 such that every xAx \in A with 0<xc<δ0 < |x - c| < \delta satisfies q(x)>f(c)/2>0q(x) > f'(c)/2 > 0 if f(c)>0f'(c) > 0, and q(x)<f(c)/2<0q(x) < f'(c)/2 < 0 if f(c)<0f'(c) < 0. The clause 0<xc0 < |x-c| makes the two descriptions of the range of xx, over AA and over A{c}A \setminus \{c\}, the same.

step 1.1L1L2choose
3.1

Put η:=min{εA, ρ, δ}\eta := \min\{\varepsilon_A,\ \rho,\ \delta\}, a positive real, and set x+:=c+η/2x_{+} := c + \eta/2 and x:=cη/2x_{-} := c - \eta/2. Each satisfies x±c=η/2<η|x_{\pm} - c| = \eta/2 < \eta, so each lies in NεA(c)AN_{\varepsilon_A}(c) \subseteq A, each lies in Nρ(c)N_{\rho}(c), and each satisfies 0<x±c<δ0 < |x_{\pm} - c| < \delta. In particular x+,xANρ(c)x_{+}, x_{-} \in A \cap N_{\rho}(c) and both differ from cc.

step 1.2step 1.3step 2.1L3
4.1

Suppose f(c)>0f'(c) > 0. By step 2.1, q(x+)>0q(x_{+}) > 0 and q(x)>0q(x_{-}) > 0. Since x+c=η/2>0x_{+} - c = \eta/2 > 0, [L1] and [L4] give f(x+)f(c)=q(x+)(x+c)>0f(x_{+}) - f(c) = q(x_{+})(x_{+}-c) > 0; since xc=η/2<0x_{-} - c = -\eta/2 < 0, they give f(x)f(c)=q(x)(xc)<0f(x_{-}) - f(c) = q(x_{-})(x_{-}-c) < 0. So f(x+)>f(c)f(x_{+}) > f(c) and f(x)<f(c)f(x_{-}) < f(c).

step 2.1step 3.1L1L4
4.2

Suppose instead f(c)<0f'(c) < 0. By step 2.1, q(x+)<0q(x_{+}) < 0 and q(x)<0q(x_{-}) < 0. The same two products, with the signs of the quotients reversed, give f(x+)f(c)<0f(x_{+}) - f(c) < 0 and f(x)f(c)>0f(x_{-}) - f(c) > 0. So f(x)>f(c)f(x_{-}) > f(c) and f(x+)<f(c)f(x_{+}) < f(c).

step 2.1step 3.1L1L4
5.1

In both cases of step 1.1 there is a point of ANρ(c)A \cap N_{\rho}(c) at which ff takes a value strictly greater than f(c)f(c), and a point of ANρ(c)A \cap N_{\rho}(c) at which it takes a value strictly smaller: the two points are x+x_{+} and xx_{-} in one order or the other, and both lie in ANρ(c)A \cap N_{\rho}(c) by step 3.1.

step 3.1step 4.1step 4.2L4
6.1

By step 1.3 one of two things holds on ANρ(c)A \cap N_{\rho}(c): either no value exceeds f(c)f(c), or none falls below it. Step 5.1 produces a value of each kind, so both alternatives fail, and [A2] guarantees that one of them holds. The assumption of step 1.1 is therefore untenable, and f(c)=0f'(c) = 0.

step 1.3step 5.1A2discharge-contradiction

Remarks

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 39 results over 15 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources