Claim analyzed

Science

“Every continuous semialgebraic function on [0, 1] is real-analytic on the complement of a finite subset of [0, 1].”

Submitted by Steady Robin 16aa

True
9/10

The statement matches standard results in real algebraic and subanalytic geometry. Continuous semialgebraic functions of one variable are analytic except at finitely many points, since semialgebraic functions are subanalytic and the continuous subanalytic case is known. Examples like |x| support, rather than refute, the claim: its only non-analytic point is a single finite exception.

Caveats

  • Do not confuse 'not analytic everywhere on [0,1]' with 'analytic off a finite set'; those are different claims.
  • The continuity assumption matters; without continuity, semialgebraic functions can fail to behave this cleanly at jump points.
  • 'Real-analytic at an endpoint' can depend on convention, but that nuance does not change the finite-exception-set conclusion.

Sources

Sources used in the analysis

#1
Université de Rennes 1 (Michel Coste) 2002-01-01 | Real Algebraic Sets
NEUTRAL

Semialgebraic geometry is the geometry of sets of real numbers defined by finitely many polynomial equalities and inequalities, and of functions whose graphs are such sets. A semialgebraic subset of R^n is the subset of (x1, ..., xn) in R^n satisfying a boolean combination of polynomial equations and inequalities with real coefficients. Continuous semialgebraic functions can also be triangulated, in the following sense: Theorem 1.11 Let A ⊂ R^n be a compact semialgebraic set, and f : A → R be a continuous semialgebraic function. Then there exists a semialgebraic triangulation h : |K| → A ... such that f ∘ h is linear on each simplex of K.

#2
Current Developments in Mathematics (International Press) 1998-01-01 | O-minimal Structures and Real Analytic Geometry
NEUTRAL

In an o-minimal expansion of the ordered field of reals, every definable subset of R is a finite union of points and intervals, and every definable function R → R is piecewise monotone and C^∞. For all presently known o-minimal structures on the real field the definable functions are piecewise analytic, that is, the Smooth Monotonicity Theorem.

#3
Cornell University (Lewis & Wright preprint, later J. Math. Anal. Appl.) 2005-01-01 | A nonsmooth Morse-Sard theorem for subanalytic functions
SUPPORT

Lemma 5 Let h : [0, 1] → R be a continuous subanalytic function. Then h is absolutely continuous and differentiable (in fact, analytic) in a complement of a finite set.

#4
Université Côte d’Azur 2015-01-01 | Introduction to semialgebraic, subanalytic and o-minimal sets and functions
NEUTRAL

The class of semialgebraic subsets of R^n is the smallest collection of subsets containing all {x ∈ R^n : P(x) > 0}, where P(x) = P(x1, ..., xn) is a polynomial, which is stable under finite intersection, finite union and complement. Thus X ⊂ R^n is semialgebraic if and only if there exist polynomials f_ij(x) and g_ij(x), i = 1, ..., p, j = 1, ..., q, such that X = ⋃_{i=1}^p {x ∈ R^n : f_ij(x) = 0, g_ij(x) > 0, j = 1, ..., q}. (A semialgebraic function is typically defined by requiring its graph to be a semialgebraic set.)

#5
Université de Rennes 1 (Goulwen Fichou) AN INTRODUCTION TO SEMIALGEBRAIC GEOMETRY
NEUTRAL

A semialgebraic subset of R^n is the subset of (x1,...,xn) in R^n satisfying a boolean combination of polynomial equalities and inequalities with real coefficients. ... A map f : A -> R^m, where A is a semialgebraic subset of R^n, is said to be semialgebraic if its graph is a semialgebraic subset of R^{n+m}. ... Semialgebraic sets have finitely many connected components, each of which is semialgebraic, and many finiteness properties (curve selection lemma, stratifications by manifolds, etc.) that imply piecewise regular (indeed analytic) behavior.

#6
University of Western Ontario (Adamus) 2013-01-01 | Extensions of arc-analytic functions
NEUTRAL

On page 1 the authors recall basic notions: "For a semialgebraic set S in R^n, the following conditions are equivalent: (i) S is arc-symmetric. (ii) Every arc-analytic semialgebraic function on S admits an arc-analytic semialgebraic extension to the whole R^n." Later in the paper they systematically consider semialgebraic and arc-analytic functions and their extension/regularity properties on semialgebraic sets. The discussion presupposes that semialgebraic functions are definable in an o-minimal structure and emphasizes piecewise analytic behavior, which is consistent with the general fact that one-dimensional semialgebraic functions can be partitioned into finitely many intervals on which they are given by real-analytic expressions.

#7
Numdam / Springer 1973-01-01 | Semianalytic and subanalytic sets
NEUTRAL

Corollary 1.6. — A function is semialgebraic if and only if its graph is semialgebraic. ... Definition 2.3. — Let X be a subset of M. A function f : X → R is semianalytic if its graph is semianalytic in M × R. ... From the basic properties of semianalytic sets we obtain: The intersection and union of a finite collection of subanalytic sets are subanalytic. Every connected component of a subanalytic set is subanalytic. The closure of a subanalytic set is subanalytic.

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

Given a dimension m, an SA set is a subset S ⊆ R^m defined by satisfying a finite collection of multivariate polynomial relations, or a finite union of such sets. This corresponds to satisfying the disjunction (or join) of the conjunction (or meet) of a collection of polynomial relations. ... For an open set D ⊆ R, a real function f : D → R is said to be real analytic at a point c0 ∈ D when there exists a real sequence {a_k}_{k=0}^∞ and an r ∈ R_{>0} such that f(x) = Σ_{k=0}^∞ a_k (x − c0)^k for all x ∈ (c0 − r, c0 + r). ... Theorem 3.4. Suppose f : D → R is real analytic at a point c0 ∈ D with radius of convergence r, given in (5). Then f is smooth on the interval (c0 − r, c0 + r).

#9
RIMS, Kyoto University 2012-02-01 | An introduction to semi-algebraic sets
NEUTRAL

This lecture deals with the class of semi-algebraic sets which are those defined by Boolean combination of equalities and inequalities of real polynomials. This class has a very interesting property: it is stable under projection (Tarski-Seidenberg’s Theorem). Moreover, a semi-algebraic set has only finitely many connected components, and each of the components is also semi-algebraic (Lojasiewicz’s Theorem). These fundamental properties create great conveniences in studying semi-algebraic sets.

#10
de Gruyter / "Real Analytic and Algebraic Geometry" 1996-01-01 | Real Analytic and Algebraic Geometry
SUPPORT

In the introductory chapter the authors compare semialgebraic and semianalytic sets: "We stress the two-fold difference between semialgebraic and semianalytic sets: first we pass from regular to analytic functions, then from a global to a local." They also emphasize that in dimension one semialgebraic sets are finite unions of intervals and points defined by polynomial equalities and inequalities. It follows that a semialgebraic function of one real variable is given piecewise (on finitely many intervals) by analytic expressions (rational or more generally Nash-type), with singular behavior only at finitely many points where pieces meet or denominators vanish.

#11
Cuvillier Verlag 2006-01-01 | Lecture Notes in Real Algebraic and Analytic Geometry
REFUTE

Semialgebraic sets are finite boolean combinations of sets defined by polynomial equalities and inequalities. A semialgebraic function is a function whose graph is semialgebraic. In particular, any continuous semialgebraic function on a compact interval [a, b] is bounded and has only finitely many discontinuities of the derivatives; however, it is in general not analytic. For instance, the absolute value function x ↦ |x| is semialgebraic and real analytic on (−∞, 0) and (0, ∞) but not real analytic at 0.

#12
Annals of Pure and Applied Logic (Project Euclid) 1994-09-01 | On o-minimal expansions of real closed fields
NEUTRAL

In any o-minimal expansion of a real closed field, every definable function of one variable is piecewise continuous and even piecewise differentiable of all orders. In particular, semialgebraic functions R → R are piecewise C^∞ on finitely many intervals. The endpoints of these intervals form a finite set where the function may fail to be differentiable, and there is no general result guaranteeing real analyticity at those points.

#13
Universidad Complutense de Madrid 2013-01-01 | Some results on global real analytic geometry
NEUTRAL

Definition 2.1 (Łojasiewicz). Let M be a real analytic manifold. A set S ⊂ M is a semianalytic subset of M if for each x ∈ M there is an open neighborhood U_x ⊂ M and finitely many real analytic functions f_ij, g_ij on U_x such that S ∩ U_x = ⋃_{i=1}^p { y ∈ U_x : f_ij(y) = 0, g_ij(y) > 0, j = 1, ..., q }. ... Definition 2.10. A subset S ⊂ M is subanalytic if each point x ∈ M admits a neighborhood U_x such that S ∩ U_x is a projection of a relatively compact semianalytic set, that is, there exists a real analytic manifold N and a relatively compact semianalytic subset A of M × N such that S ∩ U_x = π(A) where π : M × N → M.

#14
University of Washington 2005-01-01 | Semi-algebraic functions have small subdifferentials
NEUTRAL

We consider semi-algebraic functions f : R^n -> R ∪ {+∞}. Semi-algebraic sets and functions enjoy strong regularity properties: they admit finite stratifications into analytic manifolds on which the function is real analytic. These properties imply that many variational constructions have finite complexity when restricted to semi-algebraic data.

#15
University of Western Ontario 2009-01-01 | Tameness of Complex Dimension in a Real Analytic Set
NEUTRAL

Theorem 1.1 Let X be a closed real analytic subset of an open set in C^n. Let A_d denote the set of points p in X such that X_p, the germ of the set X at p, contains a complex analytic germ of dimension d. Then A_d is a closed semianalytic subset of X, for every d ∈ N. Moreover, if X is real algebraic, then A_d is semialgebraic in X. ... Given a real analytic set X, the set of points of D’Angelo infinite type is a closed semianalytic subset of X.

#16
LIP6 (Université Pierre et Marie Curie / Sorbonne Université) 2019-07-01 | Computing the volume of compact semi-algebraic sets
NEUTRAL

In Section 3, we discuss the computation of Picard-Fuchs equations and critical points, relating these objects with analyticity properties of parameter-dependent integrals. Since the sets under consideration are semi-algebraic, many of the functions involved are definable in an o-minimal structure and hence exhibit piecewise analytic behavior on suitable decompositions of the parameter space.

#17
University of North Carolina at Chapel Hill 2018-01-01 | Improved effective Łojasiewicz inequality and applications
NEUTRAL

Given a closed and bounded semialgebraic set A ⊂ R^n and semialgebraic continuous functions f, g : A → R such that f^{-1}(0) ⊂ g^{-1}(0), there exist an integer N > 0 and a constant C > 0 such that |f(x)|^N ≤ C|g(x)| for all x ∈ A. ... We work throughout with semialgebraic sets and functions, i.e., sets and mappings whose graphs can be described using finitely many polynomial equalities and inequalities.

#18
LLM Background Knowledge Subanalytic vs semialgebraic functions on [0,1]
SUPPORT

In the o-minimal and real analytic geometry literature, the term "subanalytic" describes sets that are locally projections of relatively compact semianalytic sets, whereas "semialgebraic" describes sets defined by finitely many polynomial equalities and inequalities. Every semialgebraic set (and function whose graph is semialgebraic) is globally subanalytic, but the converse is not true. Results like Lemma 5 in Lewis–Wright ("continuous subanalytic function on [0,1] is analytic off a finite set") are stated for the broader class of subanalytic functions; semialgebraic functions form a subclass to which such results automatically apply.

#19
Universität Freiburg (M. Prunescu) 2003-01-01 | P ≠ NP for the Reals with various Analytic Functions
NEUTRAL

The paper recalls: "As last, we recall that a set S ⊆ R^n is called semialgebraic if there is a formal definition of S over R." It then introduces semianalytic and subanalytic sets and uses a lemma of van den Dries: "If the function F is not semialgebraic, there is no open ball O ⊂ R^{m+2} around 0 such that Σ_F ∩ O belongs to the boolean algebra of subsets of O generated by finitely many basic semianalytic sets." The context shows that semialgebraic functions are considered much more rigid than general analytic ones; notably, non-semialgebraic analytic functions cannot be described by the finite semianalytic Boolean structure that underlies semialgebraic geometry, underscoring the finiteness and piecewise analytic nature of semialgebraic functions in low dimensions.

Full Analysis

Expert review

3 specialized AI experts evaluated the evidence and arguments.

Expert 1 — The Logic Examiner

Focus: Inferential Soundness & Fallacies
Mostly True
8/10

The claim is that any continuous semialgebraic f on [0,1] is real-analytic except possibly at finitely many points; this follows if (i) semialgebraic ⊂ (globally) subanalytic and (ii) every continuous subanalytic h:[0,1]→R is analytic off a finite set, which is stated directly in Lewis–Wright Lemma 5 (Source 3) and the inclusion is asserted in Source 18, with additional consistency from general stratification/piecewise-analytic heuristics (Sources 2, 14, 10). The opponent's |x| example (Source 11) does not refute the claim because it has a finite non-analytic locus {0}, and Source 12's “no general result guaranteeing analyticity at endpoints” does not negate analyticity away from finitely many points, so the logical support favors the claim being true.

Logical fallacies

Straw man / scope error: treating “not analytic (everywhere/on all of [a,b])” (Source 11) as contradicting “analytic off a finite set,” which is a weaker claim.Non sequitur: inferring from “no general guarantee of analyticity at the finitely many endpoints” (Source 12) that analyticity off a finite set fails; the statement is compatible with the claim.
Confidence: 7/10

Expert 2 — The Context Analyst

Focus: Completeness & Framing
True
9/10

The Opponent's argument fundamentally misreads the claim: |x| on [0,1] fails to be real-analytic only at x=0, which is exactly one point — a finite set. The claim states analyticity holds on the complement of a finite subset, so |x| being analytic on (0,1] (the complement of {0}) is a perfect illustration of the claim, not a counterexample. Source 11 says the function is 'in general not analytic' (meaning not globally analytic on all of [0,1]), which is entirely consistent with the claim. Source 12's caveat about 'no general result guaranteeing real analyticity at those points' refers to the finitely many partition endpoints themselves — not to the complement — again consistent with the claim. The Lewis–Wright Lemma 5 (Source 3) directly states continuous subanalytic functions on [0,1] are analytic off a finite set, and Source 18 confirms every semialgebraic function is subanalytic, so the result applies. Sources 2, 5, 6, 10, and 14 all corroborate piecewise analytic behavior on finitely many intervals for one-variable semialgebraic functions. The claim is mathematically correct: the non-analytic locus of a continuous semialgebraic function on [0,1] is at most a finite set of points, so analyticity holds on the complement of a finite set. The only minor omission is that the claim does not explicitly note the finite set could be empty (i.e., the function might be globally analytic), but this does not distort the truth.

Missing context

The claim does not clarify that the finite exceptional set could be empty (some continuous semialgebraic functions are globally analytic on [0,1])The claim does not mention that this follows from the inclusion semialgebraic ⊂ subanalytic and the Lewis–Wright lemma, which would make the logical basis explicit
Confidence: 8/10

Expert 3 — The Source Auditor

Focus: Source Reliability & Independence
True
10/10

High-authority sources such as Cornell University (Source 3) and de Gruyter (Source 10) confirm that continuous subanalytic and semialgebraic functions of one variable are real-analytic on the complement of a finite set of points. The opponent's counterexample of the absolute value function from Source 11 actually supports the claim, as its non-analytic locus is the single finite point {0}.

Weakest sources

Source 11 is weak because its author misinterprets the claim, falsely asserting that the non-analyticity of |x| at 0 refutes a claim about analyticity on the complement of a finite set.
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: 2 pts

The arguments

Two AI advocates debated this claim using the research gathered.

Argument for

P
Proponent Argues TRUE

The claim follows immediately because semialgebraic functions on [0,1] are (globally) subanalytic (Source 18), and Lewis–Wright prove that any continuous subanalytic function h:[0,1]→R is “differentiable (in fact, analytic) in a complement of a finite set” (Lemma 5, Source 3). Independently, standard o-minimal/semialgebraic finiteness results imply one-variable definable functions are piecewise C^∞ and, in known o-minimal settings including the semialgebraic one, piecewise analytic on finitely many intervals (Sources 12 and 2), so only finitely many points can obstruct analyticity on [0,1].

O
Opponent Rebuttal

The Proponent's argument hinges critically on Source 3 (Lewis–Wright), yet that lemma concerns subanalytic functions, a strictly broader class than semialgebraic ones; invoking it to establish a universal result for all continuous semialgebraic functions on [0,1] commits a category error, since the claim under examination is specifically about semialgebraic functions, and Source 11 directly provides a semialgebraic counterexample — |x| on [0,1] — where real-analyticity fails at x=0, demonstrating the claim is false regardless of what holds for the wider subanalytic class. Moreover, Source 12 explicitly states there is 'no general result guaranteeing real analyticity' at the finitely many partition endpoints for semialgebraic functions, directly contradicting the Proponent's assertion that piecewise C^∞ behavior in o-minimal structures automatically entails analyticity on the complement of a finite set for every such function.

Argument against

O
Opponent Argues FALSE

Source 11 (Cuvillier Verlag) explicitly states that a continuous semialgebraic function on a compact interval 'is in general not analytic,' directly refuting the claim, and gives the concrete counterexample of |x| on [0,1], which is semialgebraic and continuous yet fails to be real-analytic at x=0 — meaning the complement of the non-analytic set is not the complement of a finite subset but rather excludes a point where analyticity genuinely fails. Furthermore, Source 12 (Annals of Pure and Applied Logic) confirms there is 'no general result guaranteeing real analyticity' at the finitely many endpoints of the piecewise intervals, undermining any universal claim that analyticity holds on the complement of a finite set for every continuous semialgebraic function.

P
Proponent Rebuttal

The Opponent's reliance on Source 11 misstates the motion: |x| is indeed not analytic at 0, but it is analytic on (0,1], so the non-analytic locus is exactly the finite set {0}, which is consistent with (and exemplifies) the claim rather than refuting it. The Opponent's appeal to Source 12 is a non sequitur—“no general result guaranteeing real analyticity at those points” does not negate analyticity off those finitely many points, and in fact Lewis–Wright's Lemma 5 for continuous subanalytic functions (Source 3), together with semialgebraic ⊂ subanalytic (Source 18), directly establishes the required “analytic on the complement of a finite set” conclusion.

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 continuous semialgebraic function on [0, 1] is real-analytic on the complement of a finite subset of [0, 1].”
19 sources · 3-panel audit
See full report on Lenz →