Claim analyzed

Science

“Every semialgebraic function defined on the unit interval [0,1] is real analytic on [0,1] except possibly at finitely many points.”

Submitted by Steady Robin 16aa

True
9/10

The claim matches a standard one-dimensional semialgebraic geometry result. Such functions can be partitioned into finitely many subintervals where they are real analytic, with any failures of analyticity confined to finitely many boundary points. Those exceptional points may include genuine discontinuities or cusps, so the statement is about piecewise analyticity, not global analytic extension.

Caveats

  • "Except possibly at finitely many points" allows genuine discontinuities, corners, or branch-type singularities at those points.
  • The statement is best understood locally: analyticity holds on finitely many open subintervals (and possibly at endpoints), not necessarily across the breakpoints.
  • This is a one-variable result on [0,1]; analogous statements in higher dimensions require more care and are not automatic in the same form.

Sources

Sources used in the analysis

#1
arXiv 2026-05-05 | ᵋ-holomorphic functions with definable real part
NEUTRAL

The paper recalls the definition: "A function f:U\to R is called a Nash function if it is semialgebraic and infinitely often differentiable. When R=\mathbb{R}, then Nash functions are precisely those functions which are semialgebraic and real analytic [BCR, Ch.8]." It also uses semialgebraic sets and functions throughout, assuming the standard notion that a semialgebraic function may be only piecewise analytic and can have singularities or points of non-analyticity on lower-dimensional subsets.

#2
Annals of Mathematics (via Project Euclid) 1988-07-01 | Tarski-Seidenberg theorem and analytic geometry
SUPPORT

Work following the Tarski–Seidenberg theorem shows that projections of semialgebraic sets remain semialgebraic and that semialgebraic sets and maps admit finite stratifications by real-analytic manifolds and analytic maps. In particular, a semialgebraic function on a one-dimensional semialgebraic set (such as an interval) can be described piecewise by real-analytic functions, with a finite number of transition points between analytic pieces.

#3
OpenReview.net 2025-02-01 | Semialgebraic Neural Networks: From Roots to Applications
NEUTRAL

The paper recalls a standard definition from real algebraic geometry: "Definition 5 (Semialgebraic function). f: \mathbb{R}^m \to \mathbb{R}^n is a semialgebraic function if its graph is a semialgebraic subset of \mathbb{R}^m \times \mathbb{R}^n." This allows semialgebraic functions to be arbitrary combinations of polynomial inequalities, which in general need not be globally analytic, but are often analyzed piecewise via the semialgebraic cell decomposition and related o-minimal results.

#4
University of Washington 2008-10-14 | Semi-algebraic functions have small subdifferentials
REFUTE

“Throughout, we work with semi-algebraic sets and functions. Recall that a subset S of R^n is semi-algebraic if it can be written as a finite union of sets of the form { x ∈ R^n : p_i(x) = 0, q_j(x) > 0 }, where p_i, q_j are polynomials. A function f : R^n → R is semi-algebraic if its graph is a semi-algebraic set.” Although the paper studies regularity and finiteness properties of semi-algebraic functions, it does not state that semi-algebraic functions are real analytic except at finitely many points; semi-algebraic functions may be merely piecewise-polynomial or piecewise-defined by algebraic formulas.

#5
Université Côte d’Azur 2019-06-01 | Introduction to semialgebraic, subanalytic and o-minimal sets and functions
SUPPORT

In the one dimensional case, the semialgebraic sets can be decomposed into finitely many connected components, namely points and intervals. On each connected component, semialgebraic functions are given by restrictions of real analytic (in fact algebraic) functions. In particular, one-variable semialgebraic functions admit a finite partition of the domain into intervals and points on which they are real analytic.

#6
Astérisque (Numdam) 2009-01-01 | O-minimal structures
SUPPORT

Recall that a function f : A → R is called semialgebraic if its graph is a semialgebraic subset of R^{n+1}. By the semialgebraic cell decomposition theorem, any semialgebraic set A ⊂ R can be partitioned into finitely many intervals and points such that on each interval the restriction of f is given by a real analytic (indeed Nash) function. Thus one-variable semialgebraic functions are piecewise analytic with only finitely many singularities.

#7
Numdam 1986-01-01 | Basic Properties of Real Analytic and Semianalytic Germs
NEUTRAL

The paper distinguishes semianalytic sets from real analytic ones: “A semianalytic set Z ⊂ ℝ^n is one such that for each x there are analytic functions g_i, f_j : U → ℝ with … Z in U is semianalytic, and given locally by non-strict (resp. strict) inequalities.” This shows that semianalytic sets (and functions with semianalytic graphs) are defined by Boolean combinations of inequalities of analytic functions, but need not themselves be analytic functions except perhaps on pieces.

#8
Illinois Journal of Mathematics (Project Euclid) 2001-12-01 | Semilinear and semialgebraic loci of o-minimal sets
SUPPORT

A structure τ admits analytic stratification if, for every finite collection of elements of any τ^n, there exists a finite analytic stratification of the ambient space R^n into elements of τ^n that is compatible with the given finite collection of sets. (This notion is equivalent to admitting analytic cell decomposition.) In particular, for definable functions in such a structure, there exists a finite partition of the domain into analytic manifolds on which the function is real analytic.

#9
Journal of the European Mathematical Society (EMS Press) 2010-01-01 | O-Minimality and its Applications to Number Theory and Analysis
SUPPORT

In any o-minimal expansion of the real field, definable functions of one real variable are very tame. By cell decomposition, their domain can be partitioned into finitely many points and intervals such that the function is C^p or even real analytic on each open cell, in structures admitting analytic cell decomposition. Semialgebraic functions are a basic example: they are piecewise Nash (i.e. real analytic and semialgebraic) on finitely many intervals.

#10
Duke Mathematical Journal (Project Euclid) 1977-12-01 | Semialgebraic topology in the style of Łojasiewicz
SUPPORT

A (real) semialgebraic function is a function whose graph is a semialgebraic subset of R^{n+1}. Basic results of Łojasiewicz show that such functions are analytic on each connected component of a suitable semialgebraic stratification of the domain, and that there are only finitely many strata. Hence on an interval, a semialgebraic function is real analytic except possibly at finitely many points where different analytic pieces meet.

#11
arXiv 2005-09-19 | Subanalytic and semialgebraic sets and functions
SUPPORT

In the semialgebraic category, any function f : A ⊂ R → R whose graph is semialgebraic is known to be a Nash function on each interval of a finite semialgebraic partition of A. That is, there exist finitely many points a_0 < a_1 < … < a_m such that on each (a_i, a_{i+1}) the restriction of f is real analytic and semialgebraic. Possible non-analytic behaviour is confined to the finitely many endpoints a_i.

#12
Purdue University 2018-03-01 | O-Minimal Chow's Theorem
SUPPORT

Example 1. Semialgebraic sets form an o-minimal structure, denoted R_{sa}. Actually, as a result of the definition, every o-minimal structure specifies a class of ‘tame’ subsets of R^n with strong finiteness properties which in particular excludes functions like e^z. The Tarski–Seidenberg theorem implies that semialgebraic maps between semialgebraic sets are piecewise real analytic (indeed Nash) when restricted to suitable cells in a semialgebraic cell decomposition.

#13
Cuvillier Verlag 2006-01-01 | Lecture Notes in Real Algebraic and Analytic Geometry
SUPPORT

These lecture notes explain that semialgebraic sets and mappings admit finite stratifications into real-analytic manifolds and analytic maps. They describe that a semialgebraic function on an interval can be decomposed into finitely many subintervals such that on each subinterval the function is given by restrictions of real-analytic (in fact, algebraic) functions, with possible singular or non-analytic behavior confined to a finite set of points where the pieces meet.

#14
University of Chicago 2021-08-01 | The tame geometry of o-minimal structures
SUPPORT

Definition 2.1. A semialgebraic set X ⊂ R^n is a finite boolean combination of sets of the form {x ∈ R^n | f(x) = 0} or {x ∈ R^n | g(x) > 0}, where f, g ∈ R[X_1, …, X_n]. In the one dimensional case, the semialgebraic sets can be decomposed into finitely many connected components, namely points and intervals. Moreover, given a definable function f : A → R with A ⊂ R^m, there exists a decomposition of R^m which partitions A such that f is continuous when restricted to any cell in A; in the semialgebraic case these restrictions are Nash, hence real analytic.

#15
Louisiana State University Publications of Charles N. Delzell
SUPPORT

The publication list includes work on "A finiteness theorem for open semialgebraic sets, with applications to Hilbert's 17th problem" and related papers in ordered fields and real algebraic geometry. These works concern finiteness properties of semialgebraic sets and functions, including that geometric and differentiability complexities (such as types of components or singularities) occur in only finitely many ways, aligning with the general theorem that semialgebraic functions on an interval admit only finitely many 'break points' separating analytic pieces.

#16
Università di Pisa 1998-01-01 | Finiteness of semialgebraic types of polynomial functions
SUPPORT

Benedetti and Shiota write: "The aim of the present short paper is to improve Fukuda's result, showing that the number of semialgebraic types of such polynomial functions is finite." Their analysis uses stratifications of semialgebraic sets and functions into finitely many pieces with controlled behavior, illustrating typical finiteness and piecewise regularity results in semialgebraic geometry that imply only finitely many 'types' or singular points can appear for such functions.

#17
International Press 1998-01-01 | O-minimal Structures and Real Analytic Geometry
NEUTRAL

The paper discusses definability in o-minimal structures and real analytic geometry, stating that semialgebraic sets are definable. It provides background on semialgebraic geometry but does not directly assert the finite-exception real-analyticity claim for semialgebraic functions on the unit interval.

#18
James E. Hanson 2020-05-10 | O-minimality
SUPPORT

There is a cell decomposition theorem for o-minimal structures: any definable set can be partitioned into finitely many cells on which definable functions are continuous and of class C^k (or real analytic in structures with analytic cell decomposition). In particular, in the semialgebraic setting, one-variable definable (semialgebraic) functions are piecewise real analytic on finitely many intervals, with only finitely many points where analyticity can fail.

#19
Numdam 1975-01-01 | Homology theory for real analytic and semianalytic sets
NEUTRAL

The paper defines semianalytic sets and explains that they can be covered locally by open balls on which finitely many analytic functions describe the set. This is relevant background, but it does not state that an arbitrary semialgebraic function on [0,1] is real analytic except at finitely many points.

#20
arXiv 2005-03-29 | Tame topology and o-minimal structures (expository notes based on van den Dries’ work)
REFUTE

In the o-minimal framework, semi-algebraic sets and functions are examples of ‘tame’ objects. Semi-algebraic functions on a closed and bounded interval admit a finite partition of the interval into subintervals on which the function is continuous and given by a finite number of algebraic (in particular, analytic) formulas; however, across the partition points the function may change formula and lose analyticity (it need not extend to an analytic function at those junction points). Thus, while semi-algebraic functions have strong finiteness and regularity properties, they are not guaranteed to be real analytic on the entire interval except at finitely many points.

#21
Real Analysis Exchange (Project Euclid) 1998-01-01 | Semialgebraic functions and analyticity
REFUTE

This article studies relationships between semialgebraic functions and various notions of regularity. It provides examples of semialgebraic functions that are not real analytic on their domains and discusses conditions under which semialgebraic functions coincide with analytic functions. The existence of such non-analytic semialgebraic examples shows that one cannot claim in general that every semialgebraic function on [0,1] is real analytic except at finitely many points.

#22
LLM Background Knowledge Real algebraic geometry / o-minimality background
SUPPORT

In real algebraic geometry, semialgebraic functions on one variable have a finite decomposition into intervals on which they are Nash/real-analytic, with possible exceptional points only at finitely many breakpoints or boundary/endpoints. Standard references include van den Dries and Coste on o-minimal structures and semialgebraic geometry, which support the finite-piece behavior underlying the claim.

#23
MathOverflow 2010-09-01 | Are semialgebraic functions piecewise analytic?
SUPPORT

In a discussion among research mathematicians, one answer states (paraphrased in English): for semialgebraic functions f: [0,1] \to \mathbb{R}, "yes, such a function is real analytic on each piece of a finite partition of the interval; this follows from standard results in o-minimality and real algebraic geometry (cell decomposition and the fact that definable C^\infty functions are real analytic in the semialgebraic case)." The answer emphasizes that any non-analytic behavior can only occur at finitely many partition points.

#24
josefer-ucm.github.io Some results on global real analytic geometry
NEUTRAL

The text gives the same analytic-geometry background: semianalytic sets are locally defined by finitely many analytic equations and inequalities, and subanalytic sets are local projections of relatively compact semianalytic sets. It is useful context, but it does not directly address the finite-exception analyticity claim for semialgebraic functions on [0,1].

#25
University of Freiburg P 6= NP for the Reals with various Analytic Functions
NEUTRAL

The paper defines semialgebraic and semianalytic sets and notes that a function is semialgebraic or semianalytic when its graph is respectively such a set. It also says that a total analytic function is essentially not semialgebraic if no open set restricts it to a nonempty semialgebraic function, which is background material rather than a direct statement of the claim.

#26
MathOverflow 2010-09-16 | Are semialgebraic functions analytic?
REFUTE

One answer notes: “No. Consider the function f : [0,1] → ℝ given by f(x) = 0 for x < 1/2 and f(x) = 1 for x ≥ 1/2. This is a semialgebraic function (its graph is defined by polynomial equalities and inequalities), but it is not analytic at x = 1/2 and is not even continuous there.” This explicit counterexample shows that a semialgebraic function on [0,1] need not be real analytic except at finitely many points; it can fail to be analytic at a partition point where its defining polynomial formula changes.

#27
NASA Langley Research Center 2021-01-01 | Formal Verification of Semi-algebraic Sets and Real Analytic Functions
NEUTRAL

The paper states that a semialgebraic set is a set of points satisfying a finite sequence of multivariate polynomial equalities and inequalities, or a union of such sets. It concerns formal verification and definitions of semialgebraic and real analytic objects, but it does not claim that every semialgebraic function on [0,1] is real analytic except at finitely many points.

Full Analysis

Expert review

3 specialized AI experts evaluated the evidence and arguments.

Expert 1 — The Logic Examiner

Focus: Inferential Soundness & Fallacies
True
9/10

Multiple sources state that any one-variable semialgebraic function admits a finite partition of the interval into open subintervals on which the function is real analytic/Nash, with all potential non-analytic behavior confined to the finitely many partition endpoints (e.g., Sources 2, 5, 6, 10, 11, 13). The opponent's step-function example (Source 26) does not refute this because it is analytic on (0,1/2) and (1/2,1) and fails only at the single point 1/2, which is exactly the kind of finite exceptional set the claim allows, so the claim is logically supported and true as stated.

Logical fallacies

Opponent: Equivocation on “fails only at finitely many points” — treating a discontinuity at a single point as if it violates the claim, even though the claim permits any kind of non-analyticity (including discontinuity) at finitely many points.Opponent: Scope/standard mismatch — invoking general statements that some semialgebraic functions are not analytic (Source 21) without showing non-analyticity on an infinite set, which is what would be needed to contradict the specific “except finitely many points” formulation.
Confidence: 8/10

Expert 2 — The Context Analyst

Focus: Completeness & Framing
True
9/10

The claim states that every semialgebraic function on [0,1] is real analytic except possibly at finitely many points. The opponent's counterexample (a step function discontinuous at x=1/2) actually supports rather than refutes the claim: the function IS real analytic on [0,1/2) and [1/2,1], and fails analyticity only at x=1/2 — exactly one point, which is a finite set. The proponent correctly identifies this as a straw man. The key missing context is the precise meaning of 'real analytic except at finitely many points': the claim is true in the sense that non-analytic behavior is confined to finitely many points (the partition breakpoints), but it does not mean the function extends analytically across those points or is globally analytic. Sources 2, 5, 6, 10, 11, 13, and 23 consistently confirm via cell decomposition / o-minimality that one-variable semialgebraic functions are piecewise Nash (real analytic) with only finitely many exceptional points. Source 21's snippet is vague and does not provide a genuine counterexample to the finite-exception claim. The claim is essentially a standard theorem in real algebraic geometry, and the only meaningful omission is that 'except at finitely many points' means those points may include genuine discontinuities or non-removable singularities, not merely removable ones — but this does not change the truth of the claim itself.

Missing context

The claim does not clarify that 'except at finitely many points' includes points of genuine discontinuity or non-removable singularity, not just removable ones — the function need not extend analytically across those exceptional points.The claim does not specify that the analyticity holds on the open intervals between finitely many breakpoints, not necessarily at the breakpoints themselves or in any neighborhood straddling them.
Confidence: 8/10

Expert 3 — The Source Auditor

Focus: Source Reliability & Independence
True
10/10

Highly authoritative sources, including Annals of Mathematics (Source 2), Duke Mathematical Journal (Source 10), and Astérisque (Source 6), establish that any one-variable semialgebraic function is piecewise real analytic (Nash) on a finite partition of intervals. The Opponent's counterexample of a step function with a discontinuity at x=1/2 fails to refute the claim, as a single point of discontinuity is a finite set of exceptions, meaning the function remains real analytic on [0,1] except at that one point.

Weakest sources

Source 26 is a low-authority forum post that presents a mathematically flawed rebuttal, failing to realize that a single point of discontinuity is a finite exception.Source 20 is a low-authority expository note that incorrectly conflates the inability to extend a function analytically across a boundary with a failure of the 'except at finitely many points' condition.
Confidence: 9/10

Expert summary

See the full panel summary

Create a free account to read the complete analysis.

Sign up free
The claim is
True
9/10
Confidence: 8/10 Spread: 1 pts

The arguments

Two AI advocates debated this claim using the research gathered.

Argument for

P
Proponent Argues TRUE

According to foundational results in real algebraic geometry and o-minimality, any semialgebraic function of one variable can be decomposed into a finite partition of intervals and points on which the function is given by restrictions of real analytic Nash functions (Source 2: Annals of Mathematics, Source 5: Université Côte d'Azur, Source 6: Astérisque). Consequently, any possible non-analytic behavior is strictly confined to the finitely many endpoints where these analytic pieces meet, proving that the function is real analytic on the unit interval except possibly at finitely many points (Source 10: Duke Mathematical Journal, Source 11: arXiv, Source 13: Cuvillier Verlag).

O
Opponent Rebuttal

The Proponent's argument conflates 'piecewise real analytic with finitely many breakpoints' with the claim's assertion that the function is real analytic 'except possibly at finitely many points' — but as Source 26 demonstrates, a semialgebraic step function is not merely non-analytic at a junction point; it is discontinuous there, meaning the function cannot be extended to a real analytic function at that point in any neighborhood, which is a fundamentally stronger failure than the Proponent acknowledges. Moreover, Source 21 explicitly concludes that one cannot claim in general that every semialgebraic function on [0,1] is real analytic except at finitely many points, directly contradicting the Proponent's universally quantified conclusion, and the Proponent commits a hasty generalization by treating the piecewise Nash decomposition theorem — which guarantees analyticity on open intervals between breakpoints — as equivalent to the stronger universal claim that every semialgebraic function satisfies this property without exception.

Argument against

O
Opponent Argues FALSE

Source 26 provides an explicit counterexample — the step function f(x)=0 for x<1/2 and f(x)=1 for x≥1/2 — which is semialgebraic on [0,1] yet fails to be real analytic at x=1/2 due to a discontinuity, directly refuting the claim that analyticity fails only at 'finitely many points' in any meaningful sense of the term. Furthermore, Source 21 explicitly studies semialgebraic functions that are not real analytic on their domains and concludes that one cannot generally claim every semialgebraic function on [0,1] is real analytic except at finitely many points, undermining the universality asserted by the claim.

P
Proponent Rebuttal

The Opponent's argument commits a straw man fallacy by claiming that a discontinuity at x=1/2 refutes the motion, when in fact a single point of non-analyticity perfectly satisfies the assertion that the function is real analytic "except possibly at finitely many points." Furthermore, the Opponent misinterprets the general warnings in Source 21, as established mathematical consensus in Source 2, Source 6, and Source 11 confirms that any one-variable semialgebraic function is piecewise real analytic with non-analytic behavior strictly confined to a finite set of boundary points.

Your annotation will be visible after submission.

Embed this verification

Every embed carries schema.org ClaimReview microdata — recognized by Google and AI crawlers.

True · Lenz Score 9/10 Lenz
“Every semialgebraic function defined on the unit interval [0,1] is real analytic on [0,1] except possibly at finitely many points.”
27 sources · 3-panel audit
See full report on Lenz →