<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>A Decidable Theory Treating Addition of Di erentiable Real Functions? ??</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Buriol</string-name>
          <email>gabriele.buriola@univr.it</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>otti[</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>nio G. Omo</string-name>
          <email>eomodeo@units.it</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>no T. Sp</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dept. of Computer Science, University of Verona</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Dept. of Mathematics and Computer Science, University of Catania</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Dept. of Mathematics and Earth Sciences, University of Trieste</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Ponti cia Universita Gregoriana</institution>
          ,
          <addr-line>Rome</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <abstract>
        <p>This paper enriches a pre-existing decision algorithm, which in its turn augmented a fragment of Tarski's elementary algebra with one-argument real functions endowed with continuous rst derivative. In its present (still quanti er-free) version, our decidable language embodies addition of functions; the issue we address is the one of satis ability. As regards real numbers, individual variables and constructs designating the basic arithmetic operations are available, along with comparison relators. As regards functions, we have another sort of variables, out of which compound terms are formed by means of constructs designating addition and|outermostly|di erentiation. An array of predicates designate various relationships between functions, as well as function properties, that may hold over intervals of the real line; those are: function comparisons, strict and non-strict monotonicity / convexity / concavity, comparisons between the derivative of a function and a real term. With respect to results announced in earlier papers of the same stream, a signi cant e ort went into designing the family of interpolating functions so that it could meet the new constraints stemming from the presence of function addition (along with di erentiation) among the constructs of our fragment of mathematical analysis.</p>
      </abstract>
      <kwd-group>
        <kwd>Decidable theories</kwd>
        <kwd>Tarski's elementary algebra</kwd>
        <kwd>Functions of a real variable</kwd>
        <kwd>MS Classi cation 2010</kwd>
        <kwd>03B25</kwd>
        <kwd>26A06</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        This paper addresses the decision problem for a fragment of real analysis which,
besides the four operators `+', ` ', ` ', `=' of elementary real algebra, also
provides predicates expressing strict and non-strict monotonicity, concavity, and
convexity of C1 functions of one real variable over bounded or unbounded
intervals, as well as strict and non-strict comparisons `&gt;' and `&gt;' between real
numbers and between functions. Further primitive constructs available in the
language are: an operator designating pointwise addition of functions, and a
differentiation operator whose usage must be reasonably restrained.5 The language
under study, named RDF , is devoid of quanti ers; we reduce the satis ability
problem regarding its formulas to the provability problem for purely existential
sentences in Tarski's elementary algebra of real numbers, whose decidability is
known since long (cf. [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]). We can thus count upon improved versions of Tarski's
original method.
      </p>
      <p>Our decision method consists in preprocessing the given formula into an
equi-satis able quanti er-free formula of the elementary algebra of real numbers,
whose satis ability can then be checked by means of Tarski's decision method.
No direct reference to functions will appear in the target formula, each function
variable having been superseded by a collection of stub real variables; hence,
in order to prove that the proposed translation is satis ability-preserving, we
must gure out a exible-enough family of interpolating C1 functions that can
accommodate a model for the source formula whenever the target formula turns
out to be satis able.</p>
      <p>
        This paper is a sequel of [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]|hence, indirectly, of their antecedents
[
        <xref ref-type="bibr" rid="ref4 ref6">4,6</xref>
        ]. As for semantics, the language RM CF + studied in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] di ers from the
one treated here in that RM CF + refers to continuous functions whereas in
RDF functions are also required to be endowed with continuous derivative: in
consequence of this, as will be shown, a satis able RM CF + formula may cease
to be satis able in RDF .6 As for syntax, the sole signi cant di erence between
RM CF + and RDF is that the former did not provide|as we now do|the
di erentiation operator. A brief account of the decidability result proposed in
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], with examples of usage of its language, can be found in [15, pp.165{177].
      </p>
      <p>
        Our present language RDF di ers from the language RDF + studied in
[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] in that its syntax is richer. We now have a construct for function addition,
whose treatment calls for an enhancement of the decision algorithm, to wit, an
enhanced reduction to Tarskian algebra. We thus get closer to a language where
one can prove the linearity of di erentiation; in fact, our next extension will
permit multiplication of functions by numbers.
      </p>
      <p>The paper is organized as follows. In Sec. 1 we introduce syntax and semantics
of the language of interest, and illustrate its expressive power|partly stemming
5 The di erentiation operator D[ ] can only appear as the lead operator in a function
term g (which will then coincide with D[ f ]). The rationale is that D[ f ] might not
designate a C1 function when f does; then, e.g., D D[f] + f would be meaningless.
6 On the positive side, since the universe of functions for RM CF + is richer, any
formula judged valid by the decision algorithm for RM CF + is also valid in RDF .
from the ease with which useful derived constructs can be introduced|through
a gallery of small examples. In Sec. 2, we describe our decision algorithm: since
we cannot a ord to specify it in detail, we exemplify its use by manually working
out an emulation of how it would process a speci c, valid formula. Then Sec. 3
provides clues on the correctness of the proposed decision algorithm. To end, we
outline a comparison with related works, and draw conclusions.
1</p>
      <p>The RDF</p>
      <p>theory
The augmented version RDF of the theory RDF of Reals with Di erentiable
Functions, is an unquanti ed rst-order theory dealing with reals and with real
functions of class C1 of one real variable, namely functions with continuous rst
derivative. The function symbols of RDF designate the basic operations of real
arithmetic, and pointwise addition and di erentiation of functions. Its predicate
symbols designate: comparisons between reals, pointwise comparisons of
functions; strict and non-strict monotonicity, convexity, and concavity; comparisons
between rst derivatives and real terms. This section introduces the language
underlying RDF , explains its intended meaning, and brie y illustrates its use.</p>
      <sec id="sec-1-1">
        <title>Syntax and semantics</title>
        <p>The language RDF has two in nite supplies of individual variables, belonging
to the respective sorts: numerical variables x; y; z; : : : and function variables
f; g; h; : : : . Numerical and function variables are supposed to range, respectively,
over the set R of real numbers and over the class C1(R) of continuous functions
with continuous derivative [the collection of functions which interests us]. Four
constants are also available:
{ the symbols 0 and 1, designating the numbers 0 and 1;7
{ the distinguished symbols +1 and 1, occurring only as ends of interval
speci cations (see below).</p>
        <p>We next specify the syntax of terms, atoms, and formulas for RDF :
De nition 1. Function terms, numerical terms, and interval specs
are so de ned:
a.1) every function variable f is a function term;
a.2) if f and g are function terms, then f + g is a function term.
b.1) Numerical variables and the constants 0; 1 are numerical terms;
b.2) if s and t are numerical terms, the following also are numerical terms:
s + t ; s
t ; and s t ;
7 As will turn out, the constants 0; 1 would be eliminable from our language without
loss of expressive power, since z = 0^u = 1 is the sole solution to u = u u &gt; z z = z.
b.3) if t is a numerical term and f is a function term, then</p>
        <p>f(t) and D[f](t)
are numerical terms.8
c.1) An interval spec A is an expression of any of the forms</p>
        <p>[e1; e2] ; [e1; e2[ ; ]e1; e2] ; and ]e1; e2[ ;
where e1 stands for either a numerical term or 1, and e2 for either a
numerical term or +1;
c.2) we dub the \extended" numerical terms e1; e2 of such an A the ends of</p>
        <p>A . a
De nition 2. An atom of RDF is an expression of one of the forms
s = t ;
(f = g)A ;</p>
        <p>Up(f)A ;</p>
        <p>Down(f)A ;
Convex(f)A ;
Concave(f)A ;</p>
        <p>s &gt; t ;
(f &gt; g)A ;</p>
        <p>Strict Up(f)A ;</p>
        <p>Strict Down(f)A ;
Strict Convex(f)A ;
Strict Concave(f)A ;
(D[f] ./ t)A ;
where ./ 2 f=; &lt;; &gt;; 6; &gt; g and A stands for an interval spec.
A formula of RDF is any truth-functional combination of RDF
atoms. a
For de niteness, we will construct the RDF formulas from RDF atoms by
means of the usual propositional connectives :; ^; _; !; $.</p>
        <p>The semantics of RDF revolves around the designation rules listed in our
next de nition, with which any truth-value assignment for the formulas of RDF
must comply.</p>
        <p>De nition 3. An assignment for RDF is a mapping M whose domain
consists of all terms and formulas of RDF , satisfying the following conditions:
0. M 0 and M 1 are the real numbers 0 and 1.
1. For each numerical variable x, M x is a real number.
2. For each function variable f , (M f ) is an everywhere de ned di erentiable
real function of one real variable, endowed with continuous derivative.
3. For each function term of the form f + g, the image M (f + g) (r) of any
real number r is (M f)(r) + (M g)(r).
4. For each numerical term of the form t1 t2 with 2 f+; ; g, M (t1 t2)
is the real number M t1 M t2.
8 Throughout, s; t and f; g stand, respectively, for numerical terms and function terms
while x; y; z and f; g; h stand, more speci cally, for numerical variables and function
variables.
5. For each numerical term of the form f(t); M (f(t)) is the real number
(M f)(M t); for each numerical term D[f](t); M (D[f](t)) is the real number
D[(M f)](M t).
6. For each interval speci cation A, M A is an interval of R of the appropriate
kind, whose endpoints are the evaluations via M of the ends of A.9
For example, when A =]t1; t2], then M A =]M t1; M t2].
7. Truth values are assigned to formulas of RDF according to the following
rules, where s and t stand for numerical terms and f; g for function terms:
a) s = t (respectively s &gt; t) is true i M s = M t (resp. M s &gt; M t) holds;
b) (f = g)A is true i (M f)(x) = (M g)(x) holds for all x in M A;
c) (f &gt; g)A is true i (M f)(x) &gt; (M g)(x) holds for all x in M A;
d) (D[f] ./ t)A, with ./2 f=; &lt;; &gt;; 6; &gt;g, is true i D[(M f)](x) ./ M t holds
for all x in M A;
e) Up(f)A (respectively Strict Up(f)A) is true i (M f) is a monotone
nondecreasing (resp. strictly increasing) function in M A;
f) Convex(f)A (respectively Strict Convex(f)A) is true i (M f) is a convex
(resp. strictly convex) function in M A;
g) the truth values of Down(f)A, Concave(f)A, Strict Down(f)A, and</p>
        <p>Strict Concave(f)A are de ned in close analogy with items e) and f);
h) the truth value which M assigns to a formula whose lead symbol is any
of :; ^; _; !; $ complies with the usual semantics of the propositional
connectives.</p>
        <p>
          An assignment M is said to model a set
for every ' in .
of formulas when M ' is true
De nition 4 (Derived symbols). In light of the above semantics, we tacitly
enrich our language, much as in [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], with derived dyadic and triadic comparators
involving numerical terms t1; t2, and t3; namely t1 . t2 and t1 ./ t2=t3, where
. 2 f6=; &lt;; 6; &gt;g and ./ 2 f=; &lt;; &gt;; 6; &gt;g.
        </p>
        <p>
          Additional relators intermixing function terms and numerical terms, e.g. the
construct (D[f] 6= t)A, can also be introduced by means of shortening de nitions.
Among others, any function of the form x 7! q x+q0, with q and q0 xed rational
numbers, can be characterized by means of a formula as in [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]; in particular, we
may de ne h = 0 $Def(h = h+h)] 1;+1[ . Thanks to the availability of function
addition, one can now also specify the multiplication of a function f by any xed
rational number mn : in fact, for n; m positive integers, we can de ne:
n times m times
g =
g = mn
m
n
f ] 1;+1[ $Def g +
        </p>
        <p>| n t{izmes }
f ] 1;+1[ $Def zg + }| + g{ = zf + }| + f{ ;
+ g + f +</p>
        <p>+ f = 0:
| m {tizmes }
9 It goes without saying what is meant when M is unde ned at either end of A
(actually, M ( 1) and M (+1) are unde ned).
a
a
A gallery of examples heading to Cauchy's mean value theorem
In sight of becoming able to express the classical Cauchy's mean value theorem|
which calls, alas, for a syntactical extension of RDF |, we formulate in RDF
many basic facts of real analysis:
I (D[f ] = t)[a;b] ! Linear(f )[a;b]</p>
        <p>If f is a function with constant derivative in the interval [a; b], then it will be
linear in the same interval. With a slight abuse of notation we can improve
the result as (D[f ] = f(b) f(a) )[a;b] $ Linear(f )[a;b], where an equivalence
b a
holds when the derivative is equal to the di erence quotient.</p>
        <p>I (D[f ] &gt; 0)]a;b[ ! Strict Up(f )[a;b]</p>
        <p>If f is a real function endowed with continuous derivative f 0, and f 0(x) &gt; 0
holds for all x 2 ]a; b[ , then f is monotone increasing in [a; b].</p>
        <p>I b &gt; a ^ (b
a) t = f (b) f (a)</p>
        <p>!
If f is a real function endowed with continuous derivative f 0, then to any
interval ]a; b[ with a &lt; b there belongs a c such that f 0(c) = f(b) f(a) holds.
b a
This is a weak version of Lagrange's mean value theorem.
: (D[f ] 6= t)]a;b[
I [ Up(f )A ^ Strict Up(g)A ] ! Strict Up(f + g)A</p>
        <p>If f and g are, over the interval A, respectively monotone non-decreasing
and monotone increasing, their sum f + g is monotone increasing on A.
I [ Up(f )A ^ f + g = 0 ] ! Down(g)A</p>
        <p>If f is an increasing function all over the interval A, its additive inverse g
decreases over A.</p>
        <p>I</p>
        <p>D[f ] = r A ^ D[g] = s A ! D[f + g] = r + s A
If the graphs of f and g, restricted to A, are straight lines with slopes r and
s, then the graph of f + g restricted to A is a straight line with slope r + s.
Moreover, when the interval A reduces to a single point, this formula states
the additive property of derivative over all R.</p>
        <p>I [ Convex(f )A ^ Convex(g)A ^ (h + h = f + g)A ] ! Convex(h)A
If f and g are two convex functions on A, also their average h = f+g is
2
convex on A.</p>
        <p>I [ (f &gt; k)A ^ (g &gt; k)A ^ (h + h = f + g)A ] ! (h &gt; k)A</p>
        <p>If f and g both exceed the function k on A, so does in its turn their average.</p>
        <p>
          Every instance of the formula schemes shown before can be validated by
means of the decision algorithm that will be presented. Actually, the rst three
could also be handled by the simpler decision algorithm tailored for RDF + (cf.
[
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]), since they do not involve sums of functions.
        </p>
        <p>
          As announced in the Introduction, a satis able RM CF + formula may cease
to be satis able in RDF . Such a formula is (see [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]):
        </p>
        <p>Convex(f )[0;1] ^ Convex(f )[1;1+1] ^ f (0) = f (1 + 1) = 0 ^
f (1) = 1 ^ Concave(f )[0;1+1] ;
as a matter of fact, no real function satisfying its subformula</p>
        <p>Convex(f )[0;1] ^ Convex(f )[1;1+1] ^ f (0) = f (1 + 1) = 0 ^ f (1) = 1
belongs to the C1 class.
2</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>Clues on the decision algorithm</title>
      <p>Establishing that an RDF formula is valid amounts to establishing that its
negation : is not satis able; moreover, satisfying : amounts to satisfying
one of the disjuncts of its disjunctive normal form, hence the key issue
concerning the decidability of RDF is: how can we determine whether or not a given
conjunction of RDF literals (that is, RDF atoms and negations thereof) is
satis able? Via routinary attening techniques and in view of some basic
properties of C1, we can restate each instance of this problem as the one of determining
the satis ability of an arbitrary conjunction '0 of atoms of the forms
z = x + y ;
z = x y ;
x &gt; y ;
(h = f + g)A ;
(f = g)A ;
(f &gt; g)A ;
z = f (x) ;</p>
      <sec id="sec-2-1">
        <title>Strict Up(f )A ;</title>
        <p>Strict Down(f )A ;
(D[f ] ./ z)A ;
z = D[f ](x) ;</p>
      </sec>
      <sec id="sec-2-2">
        <title>Convex(f )A ;</title>
        <p>
          Concave(f )A ;
Strict Convex(f )A ;
Strict Concave(f )A
and of literals which are the complements of atoms of these forms that involve
an interval spec. Here A stands for an interval spec whose ends can be numerical
variables, 1, or +1; as ever, x; y; z stand for numerical variables and f; g; h
stand for function variables. Through a process furcating at various points, '0
will undergo a series '0 ; '1 ; '2 ; '3 ; '4 = 'b of transformations, ending
in a formula 'b where function variables do no longer occur, so that 'b can be
tested for satis ability by means of Tarski's celebrated decision algorithm [
          <xref ref-type="bibr" rid="ref17 ref7">17,7</xref>
          ].
The proper functioning of this method relies on certain assumptions about the
detailed structure of ', easy to ensure, which we must y over.
        </p>
        <p>The transformations 'i 1 ; 'i (i = 1; 2; 3; 4) serve the following purposes:
1. Subdivide into cases each literal of the form (f &gt; g)A whose A is not of the
form [v; w]. E.g., (f &gt; g)]v;w] o ers two choices: f (v) &gt; g(v), f (v) = g(v).
2. Substitute every negative literal with an implicit existential assertion. E.g.,
:Strict Up(f )[v;w] will bring into play new variables x; y; x0; y0 subject to
constraints v 6 x &lt; x0 6 w ^ y = f (x) ^ y0 = f (x0) ^ y &gt; y0.
3. With certain salient variables vj in the domains of the functions designated
by the function variables in '0, associate new variables yjf , tjf (one for each
function variable f ) subject to the constraints yjf = f (vj ), tjf = D[f ](vj ).
4. Get rid of all literals involving function variables, whose graphs are already
outlined by the variables yjf , tjf introduced above. This elimination phase
calls for the introduction of new variables subject to suitable algebraic
constraints.</p>
        <sec id="sec-2-2-1">
          <title>The decision algorithm at work</title>
          <p>Our decision algorithm for RDF cannot be speci ed in full in these few pages; to
convey a feel of how it works, we consider a paradigmatic formula , and carry
out one by one the key transformations leading from to a formula directly
submittable to Tarski's algorithm for elementary real algebra.</p>
          <p>Suppose that we want to establish whether the formula ,
h</p>
          <p>i
D[f ] = r [a;b] ^
is true under every value assignment; equivalently, we can check whether its
negation : is unsatis able. After introduction of convenient stub variables h
and p, this negation becomes the following formula ':</p>
          <p>D[f ] = r [a;b] ^ D[g] = s [a;b] ^ h = f + g [a;b] ^ : D[h] = p [a;b]^ p = r + s :
Then ' undergoes the following transformations:
1. Behavior at the ends: Generally speaking, function-comparison literals of the
form (f &gt; g)A must be bestowed special care, possibly leading to a subcase
analysis. Since no such literal appears in our ', this phase produces '1 := ' .
2. Negative clause removal: This phase removes the negative literal and obtains
'2 from '1 by substituting the conjunction a 6 x 6 b ^ y = D[h](x) ^ y 6= p
for : D[h] = p [a;b] inside it.
3. Explicit evaluation of function variables: This phase introduces a new variable
to designate each function-application term `(v), where ` stands for a
function variable of ' and v for one of its so-called `domain' variables. More
precisely, for each function variable f and each domain variable a, we introduce
two new numerical variables yaf ; tfa and two literals f (a) = yaf ; D[f ](a) = tfa
evaluating, respectively, the function f and its derivative f 0 in a.
To describe evaluation more transparently, let us do the renaming: a ;
v1; x ; v2; b ; v3: From the previous formula '2, we get the following '3:
D[f ] = r [v1;v3] ^
v1 6 v2 6 v3 ^
h(v1) = yh</p>
          <p>1 ^
D[h](v1) = t1h ^</p>
          <p>f (v1) = y1f ^
D[f ](v1) = tf1g ^</p>
          <p>g(v1) = y
D[g](v1) = t1g1 ^^</p>
          <p>D[g] = s [v1;v3] ^ h = f + g [v1;v3] ^
D[h](v2) = y ^ p = r + s ^ y 6= p ^
h(v2) = y2h ^ h(v3) = y3h ^
D[h](v2) = t2h ^ D[h](v3) = t3h ^ y = t2h ^</p>
          <p>f (v2) = y2f ^ f (v3) = y3f ^</p>
          <p>DDg[[fg(v]]((2vv)22=))==y2gttg2f2 ^^^ DDg[[gf(]v]((3vv)33)=)==y3gttg3f3: ^^
4. Elimination of function variables: This nal phase removes all literals still
containing function variables. We get rid of them by suitable replacements
involving algebraic conditions, such as the di erence quotient for literals
regarding derivatives. For example, the literal D[f ] = r [v1;v3] becomes the
conjunction tf1 = r ^ tf2 = r ^ tf3 = r ^ yv2f2 vy11f = r ^ yv3f3 vy22f = r; where the tif 's
represent salient values of the derivative and yvifi++11 yvifi = r the corresponding
di erence quotients. To make the manner we eliminate the \function literals"
clearer we mark with the same color the two literals
f + g [v1;v3] and their transformations.</p>
          <p>At the end we obtain an equisatis able Tarskian formula we can then test
for satis ability by Tarski's algorithm.</p>
          <p>From the previous formula '3 we get the following nal formula '4:
y 6= p
tf3 = r
tg3 = s
^
^
^</p>
          <p>y =f t2h
yv2f2 vy11 = r
y2g yg
v2 v11 = s
^
^ yv3f3 vy22f = r ^</p>
          <p>y3g yg
^ v3 v22 = s ^
y2h = y2f + y2 ^
g
y3h = y3f + y3g ^
In order to prove the correctness of the algorithm, it is enough to show that each
one of the (terminating ) transformations ' ; '1, '1 ; '2, '2 ; '3, '3 ; '4
is satis ability preserving. Regarding the rst three of them (behavior at the
endpoints, negative-clause removal, explicit evaluation of function variables),
this emerges as a rather straightforward fact.</p>
          <p>We must focus on the equisatis ability of the formulas '3 and '4, because
the transformation '3 ; '4 is less transparent than the previous ones: we are, in
fact, comparing a formula whose predicates regard the behavior of functions in
real intervals with another one which only involves relations between numerical
variables. Let us sketch the idea behind the proof (the full proof is una ordably
long for a conference paper and relies on various propositions of elementary real
analysis). As usual, the proof consists of two parts: soundness and completeness.
Recall that '4 is obtained from '3 by adding some formulas that involve only
numerical variables, and by removing all predicates which refer to function
variables.</p>
          <p>
            Soundness: If a model exists for '3, it can be extended to a model that also
veri es the numerical formulas added in '4, since these formulas re ect
properties of the functions in '3 at speci c points of real intervals.
Completeness: Conversely, if there exists a model for '4, it is possible to
extend it to '3 by interpreting the function variables with suitable interpolating
functions. In the proof, to perform the interpolation we resort to a family of
functions, closed under addition. Each function is constructed by combination
of pieces, each of which results from a linear component a ected by a so-called
`perturbation'. In its turn, each perturbation stems from a parabola. On the
one hand, we use the linear components to satisfy pointwise properties, such as
f (vi) = yif ; on the other hand, we use parabfolic perturbations to satisfy
constraints on derivatives, such as D[f ](vi) = ti . Closure under addition of the
family of interpolating functions ensures proper treatment of literals involving
the sum of functions: actually, if (h = f + g)A is one such literal and F; G; H are
the functions interpreting the symbols f; g; h, we must require H = F + G. This
non trivial condition forced us to shift from the original approach presented in
[
            <xref ref-type="bibr" rid="ref1">1</xref>
            ] (where the perturbations were based on exponential functions) to the present
one, in which the perturbation of each interpolating segment originates from the
envelope of two straight lines in the interval 0; 12 . These novel interpolating
functions, and their derivatives, comply with the properties at points and on
real intervals dictated by '3.
          </p>
          <p>Sample function resulting from perturbated linear segments
To shed light upon the nature of these interpolating functions, here we give a
very simple example. Suppose that we must cope, at the end of the decision
algorithm, with the following quanti er-free formula of the elementary algebra
of real numbers:</p>
          <p>v1 = 0 ^ v2 = 1 ^ y1f = 0 ^ y2f = 3 ^ tf1 = 1 ^ tf2 = 0 :
Driven by this satis able formula, we want to construct an appropriate C1
function f . The interpolation constraints which f must comply with are pointwise
conditions, two of which regard its derivative:</p>
          <p>f (0) = 0; f (1) = 3; f 0(0) = 1; f 0(1) = 0 :
We can meet the rst two with a linear segment, namely r(x) = 3 x, but in order
to satisfy the conditions on the derivative we need a suitable perturbation of this
linear segment. The basic elements out of which we build our perturbations are
envelope functions de ned on the interval 0; 12 , of the form:</p>
          <p>1 n
G[k; 1; 2](x) := (1 4k)2 (1</p>
          <p>4k)[ 2 2k ( 1 + 2)]x +
2k( 1
2)(1
2k) 2k
p2p2k2 + (1
4k) x o ;
where k is a shrinking parameter involved in the completeness proof and 1; 2
represent the values of the derivative at endpoints. Starting with these basic
elements and through re ections, translations and dilations, we can de ne all
required perturbations.</p>
          <p>3*x
f(x)
3
2
2.5
1.5</p>
          <p>
            1
0.5
0
0
0.2
0.4
0.6
0.8
1
In the example we are considering, after entering the right values for the
derivative, we obtain the function
where 3 x is the linear part and the rest speci es the parabolic perturbation.
The graph of this function (whose rst half falls directly under G[k; 1; 2](x),
while the second half results from that scheme through appropriate
manipulations) can be seen below.
The decidability of the theory RDF treated above is a follow-up of a series of
previous results, regarding the theories RM CF , RM CF +, RDF , and RDF +
[
            <xref ref-type="bibr" rid="ref1 ref2 ref3 ref4 ref6">4,2,6,3,1</xref>
            ]. A general survey on those results, save the last, can be found in [
            <xref ref-type="bibr" rid="ref5">5</xref>
            ],
where other decidability results on real analysis are also treated, in particular
the FS theory [
            <xref ref-type="bibr" rid="ref10 ref11">10,11</xref>
            ].
          </p>
          <p>
            Since the decidability of RDF is obtained via an explicit algorithm, some
complexity issues are worth being discussed here. Tarski's decision method
enters into ours, hence our algorithm inherits its complexity as a lower bound. The
rst complexity amelioration w.r.t. Tarski's historical result is due to Collins
[
            <xref ref-type="bibr" rid="ref7">7</xref>
            ], whose procedure has doubly exponential complexity relative to the number
of variables occurring in the sentence (or just exponential, if the endowment
of variables is nite and xed). A re nement of this result was achieved with
Grigoriev's algorithm [
            <xref ref-type="bibr" rid="ref12">12</xref>
            ], applicable to sentences in prenex normal form, whose
complexity is doubly exponential relative to the number of quanti er
alternations. If we merely focus on the existential theory of reals, the known decision
algorithms have a complexity at best exponential relative to the number n of
variables [
            <xref ref-type="bibr" rid="ref9">9</xref>
            ]; however, if one xes beforehand how many variables can be used,
then the algorithmic complexity becomes polynomial [
            <xref ref-type="bibr" rid="ref13">13</xref>
            ].
          </p>
          <p>
            Finally, while Tarski himself showed that decidability of his full elementary
algebra of real numbers [
            <xref ref-type="bibr" rid="ref17">17</xref>
            ] would be disrupted if the language were enriched
with certain real functions, in particular sin x, Richardson proved in [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ] the
undecidability of the existential theory of reals extended with the numbers log 2
and , and with the functions ex, sin x.
5
          </p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Conclusions and Future Works</title>
      <p>This article has presented a decision algorithm for a syntactically delimited
fragment, RDF , of real analysis. RDF extends the unquanti ed part of Tarski's
elementary algebra EAR of real numbers with variables designating functions
of a real variable endowed with a continuous derivative. After showing how to
add derived relators and how to specify common properties of real functions and
theorems about them in RDF , we have discussed an algorithm that translates
a generic formula ' of RDF into an equisatis able formula of EAR; rather
than specifying the algorithm in gory detail, we have illustrated its functioning
through a concrete example. Proving the correctness of the decision algorithm
amounts to showing the equisatis ability of formulas ' and , and we have
sketched the salient points of this correctness proof. The proof relies upon the
construction of a set of C1 functions rich enough to enable the modeling of any
satis able RDF formula: each function results from smoothly connecting linear
segments perturbated by means of parabolic deformations.</p>
      <p>
        While working on the algorithm we glimpse further extensions. The nearest two
amount to a product operator and multi-variable functions. The product
operator concerns the assembly of new function terms by multiply function terms
and numerical terms. This new construct will enable us to treat literals of the
form f = tg A and paves the way to state stronger analytic theorems, such as
Cauchy's mean value theorem. Whereas this \syntactical scalar product" seems
easily treatable, combining product of two function terms, such as h = f g with
function sum is likely to disrupt decidability (much as Presburger's vs. Peano's
arithmetic [9, p.4]), or required at least deep changes in the algorithm. By
multivariable functions we mean the possibility to treat continuous real functions with
multiple arguments, such as f : Rn ! R. A similar enrichment has already been
introduced for the RM CF in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Buriola</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cantone</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cincotti</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Omodeo</surname>
            <given-names>E.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sparta G.T.</surname>
          </string-name>
          ,
          <article-title>A decidable theory of di erentiable functions with convexities and concavities on real intervals</article-title>
          . In Francesco Calimeri, Simona Perri, and Ester Zumpano, editors,
          <source>Proceedings of the 35th Italian Conference on Computational Logic - CILC</source>
          <year>2020</year>
          , Rende, Italy,
          <source>October 13-15</source>
          ,
          <year>2020</year>
          , volume
          <volume>2710</volume>
          <source>of CEUR Workshop Proceedings</source>
          , pages
          <volume>231</volume>
          {
          <fpage>247</fpage>
          . CEUR-WS.org,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Cantone</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cincotti</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gallo</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <article-title>Decision algorithms for fragments of real analysis. I. Continuous functions with strict convexity and concavity predicates</article-title>
          .
          <source>J. Symb. Comput.</source>
          ,
          <volume>41</volume>
          (
          <issue>7</issue>
          ):
          <fpage>763</fpage>
          -
          <lpage>789</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Cantone</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cincotti</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <article-title>Decision algorithms for fragments of real analysis. II. A theory of di erentiable functions with convexity and concavity predicates</article-title>
          .
          <source>List of CILC 2007 papers</source>
          , 14 pp.,
          <year>2007</year>
          . https://www.programmazionelogica.it/ wp-content/uploads/2014/10/cilc2007.pdf
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Cantone</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ferro</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Omodeo</surname>
            <given-names>E.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schwartz</surname>
            <given-names>J.T.</given-names>
          </string-name>
          ,
          <article-title>Decision algorithms for some fragments of analysis and related areas</article-title>
          .
          <source>Comm. Pure Appl</source>
          . Math.,
          <volume>40</volume>
          (
          <issue>3</issue>
          ):
          <fpage>281</fpage>
          -
          <lpage>300</lpage>
          ,
          <year>1987</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Cantone</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Omodeo</surname>
            <given-names>E.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sparta</surname>
            <given-names>G.T.</given-names>
          </string-name>
          ,
          <article-title>Solvable (and unsolvable) cases of the decision problem for fragments of analysis</article-title>
          .
          <source>Rend. Istit. Mat. Univ. Trieste</source>
          ,
          <volume>44</volume>
          :
          <fpage>313</fpage>
          -
          <lpage>348</lpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Cincotti</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <article-title>Decision algorithms for fragments of real analysis and graph theory</article-title>
          ,
          <source>Ph.D. Thesis</source>
          , Universita degli Studi di Catania, Catania, Italy, ix+136 pp.,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7. Collins G.,
          <article-title>Quanti er elimination for real closed elds by cylindrical algebraic decomposition</article-title>
          .
          <source>In: Second GI Conference on Automata Theory and Formal Languages, LNCS</source>
          Vol.
          <volume>33</volume>
          , Springer-Verlag, Berlin,
          <year>1975</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Ferro</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Omodeo</surname>
            <given-names>E.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schwartz</surname>
            <given-names>J.T.</given-names>
          </string-name>
          ,
          <article-title>Decision procedures for elementary sublanguages of set theory. I. Multi-level syllogistic and some extensions</article-title>
          ,
          <source>Comm. Pure Appl</source>
          . Math,
          <volume>33</volume>
          (
          <issue>5</issue>
          ):
          <volume>599</volume>
          {
          <fpage>608</fpage>
          ,
          <year>1980</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Fisher</surname>
            <given-names>M. J.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Rabin</surname>
            <given-names>M. O.</given-names>
          </string-name>
          ,
          <article-title>Super-exponential complexity of Presburger arithmetic</article-title>
          .
          <source>Complexity and Computation</source>
          , Vol. VII,
          <string-name>
            <surname>SIAM-AMS</surname>
          </string-name>
          , Philadelphia (
          <year>1974</year>
          ),
          <volume>27</volume>
          {
          <fpage>41</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Friedman</surname>
            <given-names>H.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Seress</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <article-title>Decidability in elementary analysis. I, Adv</article-title>
          . Math.
          <volume>76</volume>
          (
          <year>1989</year>
          ), no.
          <issue>1</issue>
          ,
          <issue>94</issue>
          {
          <fpage>115</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Friedman</surname>
            <given-names>H.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Seress</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <article-title>Decidability in elementary analysis. II, Adv</article-title>
          . Math.
          <volume>79</volume>
          (
          <year>1990</year>
          ), no.
          <issue>1</issue>
          ,
          <issue>1</issue>
          {
          <fpage>17</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Grigoriev</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <article-title>Complexity of deciding Tarski algebra</article-title>
          ,
          <source>J. Symbolic Comput</source>
          .
          <volume>5</volume>
          (
          <issue>1988</issue>
          ),
          <volume>65</volume>
          {
          <fpage>108</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Renegar</surname>
            <given-names>J.,</given-names>
          </string-name>
          <article-title>A faster PSPACE algorithm for deciding the existential theory of the reals</article-title>
          ,
          <source>29th Annual Symposium on Foundations of Computer Science (FOCS</source>
          <year>1988</year>
          , Los Angeles, Ca., USA), IEEE Computer Society Press, Los Alamitos (
          <year>1988</year>
          ), pp.
          <volume>291</volume>
          {
          <fpage>295</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Richardson</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <article-title>Some undecidable problems involving elementary functions of a real variable</article-title>
          ,
          <source>J. Symbolic Logic</source>
          <volume>33</volume>
          (
          <year>1968</year>
          ),
          <volume>514</volume>
          {
          <fpage>520</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Schwartz</surname>
            <given-names>JT</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cantone</surname>
            <given-names>D</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Omodeo</surname>
            <given-names>EG</given-names>
          </string-name>
          .
          <article-title>Computational logic and set theory: Applying formalized logic to analysis</article-title>
          . Springer-Verlag,
          <year>2011</year>
          . ISBN 978-0-
          <fpage>85729</fpage>
          -807-2. https://doi.org/10.1007/978-0-
          <fpage>85729</fpage>
          -808-9. Foreword by
          <string-name>
            <given-names>M.</given-names>
            <surname>Davis</surname>
          </string-name>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Tarski</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <article-title>The completeness of elementary algebra and geometry</article-title>
          ,
          <source>Institut Blaise Pascal</source>
          , Paris,
          <year>1967</year>
          , iv+50 pp.
          <article-title>(Late publication of a paper which had been submitted for publication in</article-title>
          <year>1940</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Tarski</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <article-title>A decision method for elementary algebra and geometry, prepared for publication by J</article-title>
          .
          <string-name>
            <surname>C.C McKinsey</surname>
          </string-name>
          ,
          <string-name>
            <surname>U.S Air Force Project</surname>
            <given-names>RAND</given-names>
          </string-name>
          , R-
          <volume>109</volume>
          , the RAND Corporation, Santa Monica,
          <year>1948</year>
          , iv+60 pp.
          <article-title>; a second, revised edition was published by the</article-title>
          University of California Press, Berkeley and Los Angeles, CA,
          <year>1951</year>
          , iii+63 pp.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>