Alphabeta Math
CounterexampleConstruction: AI-generatedVerification: AI-generatedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)audited 2026-07-27
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.

Over Q\mathbb{Q} there is a nonconstant differentiable function with identically zero derivative, so Rolle and the mean value theorem both fail

Statement refuted

The notion of derivative used here is stated in full, and is not imported. Let FF be an ordered field, DFD \subseteq F, φ:DF\varphi : D \to F and cDc \in D a point that is not isolated in DD, meaning that for every δ>0\delta > 0 in FF there is xDx \in D with 0<xc<δ0 < |x - c| < \delta. Say φ\varphi is differentiable at cc with derivative LFL \in F when

for every ε>0 in F there is δ>0 in F with φ(x)φ(c)xcL<ε for all xD with 0<xc<δ,\text{for every } \varepsilon > 0 \text{ in } F \text{ there is } \delta > 0 \text{ in } F \text{ with } \Big|\frac{\varphi(x)-\varphi(c)}{x-c} - L\Big| < \varepsilon \text{ for all } x \in D \text{ with } 0 < |x-c| < \delta,

and write φ(c)=L\varphi'(c) = L. This is the ordinary difference-quotient condition, read entirely inside FF. Nothing below cites a definition of the derivative from elsewhere in this library, because there is none yet.

Refuted claim: over every ordered field FF, if φ:[a,b]FF\varphi : [a,b]_F \to F with a<ba < b is differentiable at every point of [a,b]F[a,b]_F (Sequences, convergence, Cauchyness, monotonicity, boundedness and closed intervals in an arbitrary ordered field), then

  1. (Rolle) φ(a)=φ(b)\varphi(a) = \varphi(b) implies φ(c)=0\varphi'(c) = 0 for some c[a,b]Fc \in [a,b]_F, and
  2. (Mean value) φ(b)φ(a)=φ(c)(ba)\varphi(b) - \varphi(a) = \varphi'(c)\,(b-a) for some c[a,b]Fc \in [a,b]_F.

The witness is F=QF = \mathbb{Q} and D=[0,2]QD = [0,2]_{\mathbb{Q}} with

φ(x)  =  {0x2<2,1x2>2,andρ(x)  =  φ(x)x2.\varphi(x) \;=\; \begin{cases} 0 & x^2 < 2, \\ 1 & x^2 > 2, \end{cases} \qquad\text{and}\qquad \rho(x) \;=\; \varphi(x) - \frac{x}{2}.

φ\varphi is well defined on DD because no rational squares to 22 (FALSE: some rational number squares to 2). It is locally constant, hence differentiable everywhere on DD with φ0\varphi' \equiv 0, and it is not constant, since φ(0)=0\varphi(0) = 0 and φ(2)=1\varphi(2) = 1; that refutes clause 2. And ρ\rho satisfies ρ(0)=ρ(2)=0\rho(0) = \rho(2) = 0 while ρ(c)=1/2\rho'(c) = -1/2 for every cc; that refutes clause 1.

Facts & Assumptions

Given: The ordered field Q\mathbb{Q}; D:=[0,2]QD := [0,2]_{\mathbb{Q}}; the functions φ\varphi and ρ\rho above.

[L3]

For all x,cDx, c \in D: x2c24xc|x^2 - c^2| \le 4\,|x - c|, which is step 1.4 of On a closed interval of Q\mathbb{Q} there is a continuous unbounded function, a bounded one with no maximum, and one without the intermediate value property.

[L4]

Absolute value: u0|u| \ge 0, u=u|u| = u for u0u \ge 0, uv=uv|uv| = |u||v|, and u<c|u| < c exactly when c<u<c-c < u < c (Basic properties of the absolute value); powers (Integer powers ama^m, Monotonicity of xxnx \mapsto x^n and of nann \mapsto a^n).

[L5]

Order arithmetic: a positive element is invertible with positive inverse (Inverses of positives are positive, and reciprocation reverses order); for c>0c > 0, a<ba < b if and only if ac<bcac < bc (Sign rules for products and monotonicity of multiplication); adding a constant preserves the order and inequalities add (Order is preserved by adding a constant and by adding inequalities); 21>02 \cdot 1 > 0 and 81>08 \cdot 1 > 0 (Canonical naturals are positive and strictly increasing); the order is total and transitive (Ordered field).

Counterexample

technique · direct
1.1

Every xDx \in D has x22x^2 \ne 2, so exactly one of x2<2x^2 < 2, x2>2x^2 > 2 holds and φ\varphi is well defined on DD; moreover 02=0<20^2 = 0 < 2 and 12=1<21^2 = 1 < 2 and 22=4>22^2 = 4 > 2, so φ(0)=φ(1)=0\varphi(0) = \varphi(1) = 0 and φ(2)=1\varphi(2) = 1, and φ\varphi is not constant on DD.

L1L2L5
1.2

For all x,cDx, c \in D one has x2c24xc|x^2 - c^2| \le 4|x-c|.

L3
1.3

No point of DD is isolated in DD: given cDc \in D and δ>0\delta > 0, let η\eta be the smaller of δ\delta and 11, and take x:=c+η/2x := c + \eta/2 if c1c \le 1 and x:=cη/2x := c - \eta/2 otherwise; then xDx \in D and 0<xc<δ0 < |x - c| < \delta.

L1L5
2.1

φ\varphi is differentiable at every cDc \in D with φ(c)=0\varphi'(c) = 0. Put A:=c22>0A := |c^2-2| > 0 and δ0:=A(8)1>0\delta_0 := A\,(8)^{-1} > 0. For xDx \in D with xc<δ0|x - c| < \delta_0 step 1.2 gives x2c2<A(2)1|x^2 - c^2| < A\,(2)^{-1}; so if c2<2c^2 < 2, that is A=2c2A = 2 - c^2, then x2<c2+A(2)1=(c2+2)(2)1<2x^2 < c^2 + A(2)^{-1} = (c^2+2)(2)^{-1} < 2, while if c2>2c^2 > 2, that is A=c22A = c^2 - 2, then x2>c2A(2)1=(c2+2)(2)1>2x^2 > c^2 - A(2)^{-1} = (c^2+2)(2)^{-1} > 2. In either case φ(x)=φ(c)\varphi(x) = \varphi(c), so the difference quotient is 00 for every such xx with xcx \ne c, and 00<ε|0 - 0| < \varepsilon for every ε>0\varepsilon > 0; the same δ0\delta_0 serves for every ε\varepsilon.

step 1.1step 1.2step 1.3L4L5
3.1

ρ\rho is differentiable at every cDc \in D with ρ(c)=1/2\rho'(c) = -1/2: with δ0\delta_0 as in step 2.1, every xDx \in D with 0<xc<δ00 < |x-c| < \delta_0 has (ρ(x)ρ(c))(xc)1=(φ(x)φ(c))(xc)1(2)1=(2)1(\rho(x)-\rho(c))(x-c)^{-1} = (\varphi(x)-\varphi(c))(x-c)^{-1} - (2)^{-1} = -(2)^{-1}, so the quotient is constantly 1/2-1/2 near cc; and ρ(0)=0\rho(0) = 0, ρ(2)=11=0\rho(2) = 1 - 1 = 0, ρ(1)=1/2\rho(1) = -1/2.

step 1.1step 2.1L5
3.2

The mean value clause fails for φ\varphi on DD: φ(2)φ(0)=1\varphi(2) - \varphi(0) = 1 while φ(c)(20)=0\varphi'(c)(2-0) = 0 for every cDc \in D, and 101 \ne 0.

step 1.1step 2.1L5
4.1

The Rolle clause fails for ρ\rho on DD: ρ\rho is differentiable at every point of DD, ρ(0)=ρ(2)\rho(0) = \rho(2), and yet ρ(c)=1/20\rho'(c) = -1/2 \ne 0 for every cDc \in D.

step 3.1L5
5.1

So over the ordered field Q\mathbb{Q}, on the closed interval D=[0,2]QD = [0,2]_{\mathbb{Q}}, both clauses of the claim are false, and Q\mathbb{Q} is an ordered field without the least-upper-bound property.

step 1.1step 3.2step 4.1L2

Remarks

  • Where the classical proof breaks. Rolle's theorem is proved by taking a point where the function attains its maximum and showing the derivative vanishes there. Over Q\mathbb{Q} the maximum need not exist: that is On a closed interval of Q\mathbb{Q} there is a continuous unbounded function, a bounded one with no maximum, and one without the intermediate value property, proved on the same interval and by the same missing 2\sqrt 2. So this counterexample is not independent of that one, it is its consequence for the differential calculus.

  • A locally constant function need not be constant when the domain is disconnected, and DD is disconnected in exactly the way Q\mathbb{Q} is: the sets {xD:x2<2}\{x \in D : x^2 < 2\} and {xD:x2>2}\{x \in D : x^2 > 2\} are disjoint, nonempty, cover DD, and each is open in the ε\varepsilon-δ\delta sense. Over R\mathbb{R} no such split of an interval exists, and that is the connectedness that the mean value theorem really rests on.

  • The derivative here is genuinely a derivative, not a degenerate reading: the difference quotient is not merely small near cc, it is exactly 00 for φ\varphi and exactly 1/2-1/2 for ρ\rho on a whole punctured neighbourhood, so the limit exists in the strongest possible sense.

  • This item does not use, and does not need, a general theory of differentiation. The difference-quotient condition is stated in the Statement refuted and every use of it above is a direct verification, so the item is self-contained and nothing here waits on a later page. As with On a closed interval of Q\mathbb{Q} there is a continuous unbounded function, a bounded one with no maximum, and one without the intermediate value property, that is deliberate: the claim refuted is a claim about an arbitrary ordered field and is refuted over Q\mathbb{Q}, so a derivative defined for real functions on subsets of R\mathbb{R} would not apply to it. The condition above is the ordinary difference-quotient one read inside FF, and it specialises to the real-variable definition at F=RF = \mathbb{R}.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · next 3 levels

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