Alphabeta Math
CorollaryStatement: 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.

A function continuous on an interval II whose derivative vanishes at every interior point of II is constant on II; consequently two such functions with the same derivative differ by a constant

Statement

Let IRI \subseteq \mathbb{R} be order-convex (Intervals of R\mathbb{R}: the nine order-convex forms, nondegeneracy, and length) and let f:IRf : I \to \mathbb{R} be continuous on II (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) and differentiable at every point of II that is interior to II (Interior, closure, boundary and exterior of a subset of R\mathbb{R}, 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), with

f(x)=0at every interior point x of I.f'(x) = 0 \qquad \text{at every interior point } x \text{ of } I .

Then ff is constant on II: there is a real kk with f(x)=kf(x) = k for every xIx \in I.

Consequently, if f,g:IRf, g : I \to \mathbb{R} are both continuous on II and both differentiable at every interior point of II, with f(x)=g(x)f'(x) = g'(x) at every interior point xx, then there is a real kk with

f(x)  =  g(x)+kfor every xI.f(x) \;=\; g(x) + k \qquad \text{for every } x \in I .

Order-convexity of II is essential and is not a convenience. The conclusion is false on a domain that falls into separate pieces, since a function may be constant on each piece with different constants; nothing in the proof would survive, because the mean value theorem is applied to the segment joining two points of the domain and that segment must lie in the domain.

The hypothesis is imposed only at interior points. At an endpoint of II nothing is asked at all: ff need not be differentiable there, and the proof never evaluates a difference quotient at an endpoint, since it applies the mean value theorem on a segment [u,v]I[u,v] \subseteq I and uses the derivative only at points of (u,v)(u,v), all of which are interior to II. What is not meant is that the derivative at an endpoint is free to be nonzero: once ff is known to be constant its difference quotient at an endpoint is constantly 00, so wherever ff' exists at an endpoint it is 00 too. That is a consequence of the theorem, not a hypothesis of it.

Facts & Assumptions

Given: An order-convex IRI \subseteq \mathbb{R} and a function f:IRf : I \to \mathbb{R}, continuous on II and differentiable with vanishing derivative at every interior point of II; for the second claim also a second such function gg with f=gf' = g' at every interior point.

[L1]

Mean value theorem (The mean value theorem, as the case g(x)=xg(x) = x of Cauchy's: for ff continuous on [a,b][a,b] with a<ba < b and differentiable on (a,b)(a,b) there is c(a,b)c \in (a,b) with f(b)f(a)=f(c)(ba)f(b) - f(a) = f'(c)(b-a)): for u<vu < v and h:[u,v]Rh : [u,v] \to \mathbb{R} continuous on [u,v][u,v] and differentiable at every point of (u,v)(u,v), there is c(u,v)c \in (u,v) with h(v)h(u)=h(c)(vu)h(v) - h(u) = h'(c)(v-u).

[L2]

Order-convexity (Intervals of R\mathbb{R}: the nine order-convex forms, nondegeneracy, and length): if u,vIu, v \in I and uzvu \le z \le v then zIz \in I; so u,vIu, v \in I with uvu \le v gives [u,v]I[u,v] \subseteq I.

[L3]

For u<vu < v in II and x(u,v)x \in (u,v), the point xx is interior to II: put ε:=min{xu, vx}\varepsilon := \min\{x - u,\ v - x\}, a positive real; every yy with yx<ε|y - x| < \varepsilon satisfies u<y<vu < y < v, so Nε(x)(u,v)[u,v]IN_{\varepsilon}(x) \subseteq (u,v) \subseteq [u,v] \subseteq I (The ε\varepsilon-neighbourhood and the punctured ε\varepsilon-neighbourhood of a point of R\mathbb{R}, Interior, closure, boundary and exterior of a subset of R\mathbb{R}, Intervals of R\mathbb{R}: the nine order-convex forms, nondegeneracy, and length).

[L5]

Continuity passes to a subset of the domain: if BAB \subseteq A and h:ARh : A \to \mathbb{R} is continuous at pBp \in B, then hBh|_B is continuous at pp (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).

Proof

technique · direct
1.1

If II has at most one element then ff is constant on II and there is nothing to prove, the second claim following likewise. So assume II has at least two elements and let u,vIu, v \in I with u<vu < v be arbitrary.

givenL2
2.1

By [L2] the segment [u,v][u,v] is contained in II, and u<vu < v, so [u,v][u,v] is a nondegenerate interval. The restriction f[u,v]f|_{[u,v]} is continuous on [u,v][u,v] by [L5].

step 1.1L2L5
2.2

Let x(u,v)x \in (u,v). By [L3] the point xx is interior to II, so ff is differentiable at xx with f(x)=0f'(x) = 0 by hypothesis. By [L4] the point xx is a limit point of [u,v][u,v], so f[u,v]f|_{[u,v]} is differentiable at xx with (f[u,v])(x)=f(x)=0(f|_{[u,v]})'(x) = f'(x) = 0.

step 1.1L3L4
3.1

By steps 2.1 and 2.2 the function f[u,v]f|_{[u,v]} satisfies the hypotheses of [L1] on [u,v][u,v], so there is c(u,v)c \in (u,v) with f(v)f(u)=(f[u,v])(c)(vu)=0(vu)=0f(v) - f(u) = (f|_{[u,v]})'(c)\,(v-u) = 0 \cdot (v-u) = 0. Hence f(u)=f(v)f(u) = f(v).

step 2.1step 2.2L1
4.1

Any two distinct points of II can be named uu and vv with u<vu < v, and step 3.1 then gives f(u)=f(v)f(u) = f(v); at a single point the equality is trivial. So ff takes one and the same value at every point of II, and ff is constant on II.

step 1.1step 3.1
5.1

Second claim. Put h:=f+(1)gh := f + (-1)g, so h(x)=f(x)g(x)h(x) = f(x) - g(x) on II. By [L6] the function hh is continuous on II. If II has at most one element the claim is trivial; otherwise every point of II is a limit point of II by [L4], so at every interior point xx of II the sum rule of [L6] applies and gives that hh is differentiable at xx with h(x)=f(x)g(x)=0h'(x) = f'(x) - g'(x) = 0. By step 4.1, applied to hh in place of ff, the function hh is constant on II; writing kk for its value, f(x)=g(x)+kf(x) = g(x) + k for every xIx \in I.

step 4.1L4L6

Remarks

  • What is really being used. Only that any two points of II are joined by a segment inside II, and that on such a segment the mean value theorem turns a vanishing derivative into a vanishing increment. Both facts are about II, not about ff, which is why order-convexity is the hypothesis and not, say, openness or connectedness in some other sense.

  • The second claim is the uniqueness half of antidifferentiation. It says that a function on an interval is determined by its derivative up to one additive constant. It says nothing about existence: that some given function is a derivative is a separate question, settled by different machinery, and this page does not address it.

  • A vanishing derivative at every interior point is far stronger than a vanishing derivative somewhere. The theorem consumes the hypothesis at every point of a segment at once; a single stationary point carries no information about ff anywhere else, which is what 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 already made clear from the other side.

Depends on

Used by

Dependency tree · next 3 levels

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