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.

Rolle's theorem: if a<ba < b, ff is continuous on [a,b][a,b], differentiable at every point of (a,b)(a,b), and f(a)=f(b)f(a) = f(b), then f(c)=0f'(c) = 0 for some c(a,b)c \in (a,b)

Statement

Let a,bRa, b \in \mathbb{R} with a<ba < b, let f:[a,b]Rf : [a,b] \to \mathbb{R} be continuous on [a,b][a,b] (Continuity of f:ARf : A \to \mathbb{R} at a point of AA and on AA: the ε\varepsilon-δ\delta condition, its agreement with limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c) at a limit point, and continuity at an isolated point, Intervals of R\mathbb{R}: the nine order-convex forms, nondegeneracy, and length) and differentiable at every point of (a,b)(a,b) as a function on [a,b][a,b] (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), and suppose

f(a)  =  f(b).f(a) \;=\; f(b) .

Then there is c(a,b)c \in (a,b) with f(c)=0f'(c) = 0.

Three hypotheses, three different jobs. Continuity on the closed interval is what the extreme value theorem consumes; differentiability on the open interval is what Fermat's theorem consumes, and it is asked for nowhere else; and f(a)=f(b)f(a) = f(b) is what forces the extremum inside when neither extremum is attained in the interior. Continuity at the two endpoints cannot be dropped, and a false statement later on this page records a witness for that.

Differentiability is meant with respect to the domain [a,b][a,b]. For cc in the open interval that is the same condition as differentiability of any restriction of ff to a subinterval around cc, since only points near cc enter, but the phrase is fixed here so that the citation of 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, whose hypothesis is interiority in the domain, is exact.

Facts & Assumptions

Given: Reals a<ba < b, a function f:[a,b]Rf : [a,b] \to \mathbb{R} continuous on [a,b][a,b] and differentiable at every point of (a,b)(a,b), with f(a)=f(b)f(a) = f(b).

[L2]

Extreme value theorem (Extreme value theorem: a continuous real function on a nonempty compact subset of R\mathbb{R} attains a greatest and a least value): for ff continuous on AA and KAK \subseteq A nonempty and compact there are p,qKp, q \in K with f(q)f(x)f(p)f(q) \le f(x) \le f(p) for every xKx \in K, so that f(p)=maxf[K]f(p) = \max f[K] and f(q)=minf[K]f(q) = \min f[K] (Maximum and minimum of a set).

[L3]

Every point of (a,b)(a,b) is interior to [a,b][a,b]: for cc with a<c<ba < c < b put ε:=min{ca, bc}\varepsilon := \min\{c - a,\ b - c\}, a positive real; every yy with yc<ε|y - c| < \varepsilon satisfies y>cεay > c - \varepsilon \ge a and y<c+εby < c + \varepsilon \le b, so Nε(c)(a,b)[a,b]N_{\varepsilon}(c) \subseteq (a,b) \subseteq [a,b] (The ε\varepsilon-neighbourhood and the punctured ε\varepsilon-neighbourhood of a point of R\mathbb{R}, Intervals of R\mathbb{R}: the nine order-convex forms, nondegeneracy, and length, Interior, closure, boundary and exterior of a subset of R\mathbb{R}).

[L4]

A value f(c)f(c) that is a greatest value of ff over the whole of its domain is a local maximum at cc, and a least value is a local minimum 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, claim 4 of its body).

[L5]

Fermat's interior extremum theorem (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): a local extremum at a point interior to the domain, at which the function is differentiable, forces the derivative there to vanish.

[L6]

(a,b)(a,b) is nonempty when a<ba < b, since a<(a+b)/2<ba < (a+b)/2 < b (Intervals of R\mathbb{R}: the nine order-convex forms, nondegeneracy, and length).

[L7]

A constant function hh on [a,b][a,b] is differentiable at every point cc of [a,b][a,b] with h(c)=0h'(c) = 0: every point of the nondegenerate order-convex set [a,b][a,b] is a limit point of it, and the difference quotient of hh at cc is the constant 00 on [a,b]{c}[a,b] \setminus \{c\}, whose limit at cc is 00 (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 ε\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).

Proof

technique · direct
1.1

The set [a,b][a,b] is nonempty and compact, and ff is continuous on it.

L1
1.2

Since a<ba < b, the open interval (a,b)(a,b) is nonempty; fix m:=(a+b)/2(a,b)m := (a+b)/2 \in (a,b).

L6choose
2.1

By [L2], applied with A:=K:=[a,b]A := K := [a,b], fix p,q[a,b]p, q \in [a,b] with f(q)f(x)f(p)f(q) \le f(x) \le f(p) for every x[a,b]x \in [a,b].

step 1.1L2choose
3.1

Case A: at least one of p,qp, q lies in (a,b)(a,b). Fix such a point and call it cc. By [L3] the point cc is interior to [a,b][a,b], and ff is differentiable at cc because c(a,b)c \in (a,b). By step 2.1 and [L4], ff has a local maximum at cc if cc is the point pp, and a local minimum at cc if it is the point qq; either way a local extremum. So [L5] gives f(c)=0f'(c) = 0, and c(a,b)c \in (a,b).

step 2.1L3L4L5
3.2

Case B: neither pp nor qq lies in (a,b)(a,b). A point of [a,b][a,b] outside (a,b)(a,b) satisfies axba \le x \le b and not a<x<ba < x < b, hence equals aa or bb; so p,q{a,b}p, q \in \{a, b\} and, since f(a)=f(b)f(a) = f(b), both f(p)f(p) and f(q)f(q) equal f(a)f(a). By step 2.1, every x[a,b]x \in [a,b] satisfies f(a)=f(q)f(x)f(p)=f(a)f(a) = f(q) \le f(x) \le f(p) = f(a), so f(x)=f(a)f(x) = f(a). Thus ff is the constant function with value f(a)f(a) on [a,b][a,b].

step 2.1
4.1

In case B, [L7] gives that ff is differentiable at every point of [a,b][a,b] with derivative 00; in particular f(m)=0f'(m) = 0, and m(a,b)m \in (a,b) by step 1.2.

step 1.2step 3.2L7
5.1

The two cases are exhaustive, since either at least one of p,qp, q lies in (a,b)(a,b) or neither does. Case A supplies a point c(a,b)c \in (a,b) with f(c)=0f'(c) = 0 by step 3.1, and case B supplies the point mm by step 4.1.

step 3.1step 4.1

Remarks

  • The constant case is not a degenerate nuisance, it is the case where the extremum sits on the boundary. When ff is constant the greatest and least values are attained at the endpoints as well as everywhere else, so nothing forces the extreme value theorem to hand back an interior point; the argument has to produce a point of (a,b)(a,b) by hand, and any point will do.

  • Why compactness enters at all. Only through Extreme value theorem: a continuous real function on a nonempty compact subset of R\mathbb{R} attains a greatest and a least value, and only to know that the greatest and least values are attained. A supremum that is not attained is useless here: Fermat's theorem is a statement about a point, not about a bound. That is precisely the hypothesis the companion page's witness removes.

  • Nothing is claimed about how many such cc there are, or where. A single cc is produced, and the proof gives no way to locate it; the theorem is an existence statement and is used only as one.

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 67 results over 16 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