<<

INTERPRETABILITY AND UNIFORM DEFINABILITY OF INTEGERS, AND UNDECIDABILITY OF REDUCED INDECOMPOSABLE POLYNOMIAL RINGS

MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Abstract. We prove first-order definability of the prime inside polynomial rings, whose coefficient rings are (commutative unital) reduced and indecomposable. This is achieved by means of a uniform formula in the language of rings with signature 0, 1, +, . In the zero case, the claim implies that the full theory is undecidable,( ·) for rings of the referred type; in this direction, we also provide a separate proof of the undecidability of these rings that works uniformly in any characteristic. These definability and undecidability assertions extend a series of results by Raphael Robinson (1951), holding for certain polynomial integral domains, to a more general class. Finally, we show that the rational integers are interpretable in these rings, even in positive characteristic.

Contents 1. Introduction2 Acknowledgements4 2. Preliminary definitions and notation4 2.1. Remarks on local rings4 2.2. On the theory of reduced/indecomposable rings5 2.3. The prime subring and its definability5 3. A first-order approach to the definability of sets of powers6 3.1. Logical powers: definition and basic properties6 3.2. Consequences of LPOW(x)  POW(x) in R[x] 7 4. Reduced and indecomposable rings and some of their algebraic properties8 4.1. Expressing reducedness and indecomposability of rings in terms of the corresponding polynomial rings8 4.2. Examples of reduced and indecomposable rings 12 4.3. Polynomials versus polynomial functions 14 5. Logical powers in reduced and indecomposable polynomial rings 15 5.1. Powers versus logical powers 15 5.2. Some convenient sets whose elements have definable sets of powers 16 arXiv:1703.08266v7 [math.LO] 21 May 2020 6. The main results 20 6.1. Undecidability of the full theory of reduced indecomposable polynomial rings (d’après Raphael Robinson) 20 6.2. Defining sets of exponents: the first steps 21 6.3. The case in which every nonzero integer is invertible 23 6.4. The case of nonfields of characteristic zero 24 6.5. The unified formula (“One Formula to define them all”) 26 6.6. Interpretability of positive integers 27 7. Appendix: miscellaneous considerations 34 7.1. A generalization of the uniform exponent-extracting technique and an application in the noncommutative context 34

2010 Mathematics Subject Classification. 03B10,13B25,13F99,13L05,16U99. 1 2 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

7.2. Further properties of logical powers 40 7.3. Algebraic equivalences for reducedness/indecomposability 43 7.4. More about constant polynomial functions 45 7.5. About first-order characterizations of some subclasses of reduced indecomposable polynomial rings 46 7.6. Comparing powers with logical powers 47 7.7. Revisiting examples 47 7.8. About definability of integers in some nonreduced/decomposable rings 49 7.9. Further discussion concerning local rings and AC 52 7.10. Diagram of implications 53 References 54

1. Introduction Over more than 60 years, the problem of defining rational integers inside a has been object of extensive investigation (for an overview, we refer the reader to the surveys [Koe14,PZ08,Poo08,Shl11]). Much attention has been drawn onto Diophantine definability, for this would yield a counterpart result about other versions of Hilbert’s tenth problem (see [Mat70]). More specifically, Diophantine definability implies the undecidability of polynomial equations over š. In a similar vein, first-order (not necessarily Diophantine) definability of integers in a characteristic zero ring is known to imply that the full first-order theory of such a ring is undecidable. For instance, Julia Robinson showed that š is first-order definable in ‘ ([Rob49]). Concerning negative results, it was recently proved ([AKNS18, Lemma 4.7]) that the direct product of two infinite finitely generated rings is not bi-interpretable with š; the proof of this result can be mimicked to obtain, for example, that š is not definable in š × š. The same questions arise within the class of polynomial rings over integral domains. Raphael Robinson ([Rob51, §4d]) proved the undecidability of polynomial integral domains. Jan Denef in [Den78,Den79] proves that, given an integral R of char- acteristic zero (resp. characteristic p), the problem of solvability in R[T] of polynomials with coefficients in š[T] (resp. (š/pš)[T]) is undecidable. Furthermore, Thanases Pheidas and Karim Zahidi in [PZ99] work with the language of the rings augmented by a symbol for the nonconstant polynomials, proving undecidability of the positive existential theory of polynomial rings over integral domains. Recently, Javier Utre- ras proved interpretability of integers in polynomial rings over GCD domains, in a modified language ([Utr19]). However, except for the case of finitely generated š-algebras ([AKNS18, Corollary 2.19 and Subsection 6.3]) we have no knowledge of any attempt to extend definability and undecidability results outside the class of integral domains, partly due to the consistent use of field extensions of the quotient field of these rings throughout the results mentioned. In this paper, we work with polynomial rings S  R[x] and formulate a criterion for the definability of the prime subring of S, that is, the smallest subring of S (denoted here by ZS). In the characteristic zero case, ZS is exactly š, and in positive characteristic it coincides with some quotient š/nš. Besides definability of ZS, we also prove undecidability of the full theory of such rings. We put aside the assumption that R be an , and explore a wider range of coefficient rings, which is in fact a natural class to which to extend the results, namely, the class of reduced indecomposable (commutative unital) rings (Proposition 3.5). In DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 3 general, any Noetherian reduced ring can be written out as a finite product of such rings ([Coh03, Proposition 4.5.4]), so we may consider these rings as the basic bricks for building up an important class of objects in commutative algebra, corresponding to the notion of connected components of reduced schemes in . This work is divided as follows: In Section2, we establish standard definitions and notation from Logic and Algebra that are going to be used throughout the paper, and we discuss some basic properties. In Section3 we explore first-order definability of sets of powers, by introducing the concept of logical powers, that is, a first-order property that coincides with the property of being a positive power of a given element of a ring, under some special conditions on both the element and the ring, mainly focusing on the case of polynomial rings in one variable. In Section4, we investigate such special conditions, and study the class of reduced indecomposable rings, proving several of its algebraic properties; we also provide exam- ples of such rings that are not integral domains, both Noetherian and non-Noetherian. In Section5 we use the theory developed in Section3 and Section4 to construct four special definable sets of polynomials with coefficients in a reduced indecomposable ring, which are crucially used in Section6 in the proofs of the main results (by using explicit definitions for sets of powers of a fixed element). In Section6 we first prove the undecidability of the full theory of R[x], whenever R is a reduced indecomposable ring, by extending the scope of a technique firstly presented by Raphael Robinson in [Rob51, §§4b,4c]. Afterwards, we present a general criterion to define sets of exponents of powers of suitable elements. We specialize this criterion to reduced indecomposable polynomial rings, in two different versions, corresponding to two different subclasses of such polynomial rings. The first version provides a uniform formula that ensures the definability of the prime subring, upon the condition that the nonzero integers are invertible. This con- dition is satisfied by all polynomial rings over a field or over reduced indecomposable rings of positive characteristic; the second one no longer relies on this condition, and it also provides a uniform formula, which works for polynomial rings over reduced indecomposable nonfields of characteristic zero. Afterwards, we gather the two for- mulas previously obtained into a single uniform formula defining the prime subring of S  R[x], for any reduced indecomposable (commutative unital) ring R. We end Section6 by showing how the technique defined to extract exponents from sets of powers can be exploited to construct two-dimensional interpretations of the rings of the class considered, in two different ways covering, respectively, the case when the coefficient ring is a nonfield and that in which it is a field of characteristic zero. Finally, when the coefficient ring is a field of positive characteristic, we still provide a two- dimensional interpretation by means of a separate technique, involving properties of the set of linear polynomials. This paper ends with Section7, a complementary collection of several properties of algebraic and logical nature involving the concepts defined throughout the work, as well as examples (be they revisited or novel) illustrating the variety of the objects attained by our results and counterexamples testing the limits of our hypotheses. All our results and proofs are developed in the framework of Zermelo–Fraenkel (ZF) set theory; in particular, they do not depend on AC or any choice principleO.

O However, some interesting issues concerning choice principles arise in Remark 4.4, Examples 4.10 and 4.12 and Subsection 7.9. 4 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Acknowledgements. We would like to express our sincere thanks and appreciation to Thomas W. Scanlon, Alexandra Shlapentokh, and Carlos Videla, for their kindness and inspiring advice. We are also indebted to Remy van Dobben de Bruyn and William F. Sawin (from Math Overflow) and Robin Denis Arthan (Math Stack Exchange) for their help with some questions we raised on the websites mentioned. The second author is supported by FACEPE Grant APQ-0892-1.01/14.

2. Preliminary definitions and notation In this section we recall some basic notions from which will be used through- out this work (see [Hun80] for a background). We also discuss some logical issues concerning the axioms for reduced and/or indecomposable rings, and concerning the notion of “integers” in a given ring, as well as its definability. More specifically, we distinguish between zero and positive characteristic. Except for Subsection 7.1, all rings considered are commutative, unital and nonzero. Except in a few cases where emphasis is required, we denote the additive unit of a ring S by 0 instead of 0S, and similarly we denote by 1 the multiplicative unit of S (instead of 1S). Note that a ring is nonzero precisely when 1 , 0. We will work in the first-order theory in the language of rings, with signature (+, ·, 0, 1). Unless the dependency on parameters is explicitly mentioned, by “defin- able” we mean “definable without parameters”. For the sake of brevity and notational convenience, whenever a subset A of a ring S (or, more generally, a property P) is definable by a formula, say ψ(·), we will write “t ∈ A” (or, more generally, that “P holds”) instead of “ψ(t)” in subsequent formulas; likewise, for two-variable formulas expressing binary relations ψ(·, ·) which correspond to algebraic properties, we abbreviate by using classical notation (e.g. “s | t” for divisi- bility). Let S be a ring. An element a ∈ S is said to be if an  0 for some n ≥ 1, and idempotent if a2  a; in the latter case, the element 1 − a is idempotent as well. The ring S is said to be reduced if its only nilpotent element is zero, and indecomposablep if its only idempotent elements are 0 and 1. An element a ∈ S is said to be regular if, whenever ab  ac, with b, c ∈ S, it follows that b  c; otherwise, it is said to be a zerodivisor. Notice that invertible elements are always regular. The multiplicative group of invertible elements of S (also called units of S) is denoted by S∗. An irreducible element of S is a nonzero, noninvertible element that cannot be written as a product of two nonunits. Finally, an element p of S is prime if it is nonzero and noninvertible, and whenever p divides a product, it divides some of the factors. For a ring R, we denote the in one indeterminate x with coefficients in R by R[x], and we refer to the elements of R, that is, polynomials of degree zero, as the constant polynomials, or the constants of this larger ring (such “constants” should not be confused with the symbols of constants of the language of rings). Given f ∈ R[x], we denote its coefficient of degree i by fi ∈ R. Finally, we will always make clear when we need to distinguish between the element f ∈ R[x] and its associated polynomial function f: R → R. 2.1. Remarks on local rings. We say that a ring S is local if a + 1 is a unit for every nonunit a of S; for example, any polynomial ring R[x] is nonlocal (take a  x). If S is a local ring, then the set of nonunits of S is closed under sums, and consequently it forms an in S: indeed, if b, c < S∗, then for any z ∈ S the element a  bz − 1 p Also referred to, in the literature, as directly irreducible. Indecomposable rings are equivalently (and more customarily) defined as those not isomorphic to the direct product of two nonzero rings. DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 5 satisfies a + 1  bz < S∗, so necessarily a ∈ S∗. Since −cz < S∗, it follows that a , −cz, which amounts to saying that (b + c)z , 1. As z is arbitrary, this proves that b + c is a nonunit. Conversely, if the set m of nonunits of a ring S forms an ideal, then S is local, because for any a ∈ m we have (a + 1) − a  1 < m, so necessarily a + 1 < m, that is a + 1 ∈ S∗. Notice that our definition of “local ring” (as well as the equivalent characterization just proven: “nonunits form an ideal”) differs from the standard definition used in commutative algebra and algebraic geometry, namely: a ring is local if it has a unique maximal ideal. We would like to stress that only our definition of “local ring” is used throughout the paper to prove the main results: we refrain from using the standard definition of local ring, because such a notion involves maximal ideals, and it is well- known that the existence of such ideals, in any nonzero commutative unital ring, is equivalent to the axiom of choice ([Hod79]). In particular, our main results hold unconditionally on ZF and does not require assuming AC%.

2.2. On the theory of reduced/indecomposable rings. The existence of an idempotent element other than 0 and 1 in a ring is clearly a first-order predicate, so that the theory of indecomposable rings is finitely axiomatizable. As a matter of fact, the same happens with reducedness, even though nilpotency cannot be expressed as a one-variable first-order formulaM. Indeed, observe that if a is a nonzero nilpotent element of a ring and n ≥ 2 is its nilpotency index (i.e., the n n 1 least positive integer such that a  0), then a − is a nonzero nilpotent element with nilpotency index 2. Therefore a ring is reduced if and only if it contains no nonzero element whose is zero, and this is obviously a first-order predicate. Clearly, all the remaining ring-theoretic properties described at the beginning of the section, as well as our notion of local ring, are first-order definable in the language of rings.

2.3. The prime subring and its definability. Let S be a ring. The prime subring of S, denoted by ZS, is defined to be the smallest subring of S. It is not hard to show that ZS ⊆ S is additively generated by 1S, and it is also the image of the (unique) ring homomorphism j: š → S. The characteristic of S, denoted by char(S), is defined to be the unique natural number n such that ker j  nš. Thus, ZS is isomorphic to š if the characteristic of S is zero, and it is isomorphic to the ring š/nš of integers modulo n if char(S)  n > 0. This notion of “prime subring” clearly has nothing to do, and should not be confused, with the notion of “prime element” mentioned at the beginning of the section. When no ambiguity arises, we denote the prime subring ZS of a ring S simply by Z, and we may sometimes refer informally to the elements of Z as the “integers”. For m ∈ š we will denote m · 1S ∈ S, with a slight abuse of notation, simply by m, writing “m ∈ S”. + + Likewise, we will informally refer to the elements of Z  j(š ) as the “positive + integers”. Notice that Z  Z when char(S) > 0. The main goal of this work is to prove the definability of Z ⊆ S for S belonging to a wide class of rings, namely, that of reduced indecomposable polynomial rings. As mentioned in the Introduction, the case of characteristic zero (when Z  š) im- plies undecidability of the full theory of the corresponding ring. Regarding positive

% See Subsection 7.9 for a thorough discussion concerning the relationship between these notions of “locality”, which involves an equivalence to AC. M See [Hod93, Exercise 8.5.1] for an example of a ring whose nilradical is not definable. 6 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO characteristic, if char(S)  n > 0, then Z  š/nš is trivially definable, via the formula n ( ) Ü (  + ··· + ) γn t : t 1¨¨¨¨¨¨ ¨¨¨¨¨¨1 , i1 | {z } i times which depends on n in a cumbersome way. Since we are able to construct a uniform formula that covers all reduced indecomposable polynomial rings, regardless of the characteristic, we have in particular that, for char(S)  n > 0, our formula does not depend on n. Obviously, in positive characteristic, our definability result does not imply undecidability of the full theory, so we resort to an alternative method (see Subsection 6.1) to prove undecidability in this case.

3. A first-order approach to the definability of sets of powers Let S be a ring. For an element p ∈ S, let POW(p) denote the set of positive powers of p. As will be clearer in Section6, the first clue for definability of Z comes from the idea of “logically” identifying positive integers with the exponents of a fixed element, reducing the task to defining sets of powers of a fixed element of the ring. This has led to the search for a first-order definable notion that approximates that of “power”. 3.1. Logical powers: definition and basic properties. In this subsection we introduce an intuitive notion of positive power of an element p ∈ S as a multiple of p whose only divisors, up to units, are also multiples of p, together with an additional property which, in the case of polynomial rings and under special conditions, also guarantees monicity (as a monomial in p); this condition is encapsulated by Formula (3.1) below. An analogous approach is considered in [Rob51, p. 145], where it is shown that the same property is satisfied precisely by the nonnegative powers of p, whenever p is a prime element and S is an integral domain (see item d of Proposition 3.4 for a slight generalization). We will explore our notion in a more general context where, for suitable conditions on p (Theorem 5.5 and Remark 5.6), the set POW(p) is first-order definable using p as a parameter.

Definition 3.1. Let S be a ring. Given p ∈ S, we define the set LPOW(p) of logical powers of p as the set of elements f ∈ S satisfying: • p divides f; • p − 1 divides f − 1; • every divisor of f is a unit or a multiple of p.

Observe that LPOW(p) is defined by the one-variable formula ψ(·, p), where ψ is given by ψ(f, s): s | f ∧ s − 1 | f − 1 ∧ g [ g | f → ( g | 1 ∨ s | g )] .(3.1) ∀ In what follows, we explore the similarities between LPOW(p) (a first-order definable set) and POW(p) (a set that we want to be first-order definable), in order to justify the expression “logical powers”. Unfortunately, in the general case the definition of LPOW(p) fails badly in conveying the concept of “genuine powers”: Example 3.2. If g, h ∈ S are noninvertible and h is regular, then gh < LPOW(gh). In fact, we have that h divides gh, but h is neither a unit nor a multiple of gh (if h  qgh, then canceling h would imply that g is a unit).

Another instance in which the two definitions clash is the following: on the one hand, 0 ∈ POW(p) if and only if p is nilpotent; on the other hand, the following result DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 7 characterizes whether the zero element is a logical power in nonlocal rings, a wide class of rings that includes all polynomial rings (see Subsection 2.1):

Proposition 3.3. Let S be a nonlocal ring. For any p ∈ S, the following are equivalent: a. 0 ∈ LPOW(p); b. Both p and p − 1 are units; c. LPOW(p)  S.

Proof. (a ⇒ b): We have that p − 1 divides 0 − 1  −1, so p − 1 is a unit. As S is not local, there exists s ∈ S such that s and s+1 are nonunits. Since s and s+1 trivially divide 0 and 0 ∈ LPOW(p), they must be multiples of p. Therefore p divides (s + 1) − s  1. (b ⇒ c): If both p and p − 1 are units, then any element t ∈ S obviously belongs to LPOW(p), for t, as all its divisors, is a multiple of p, whilst p−1 divides t−1. (c ⇒ a): Obvious.  Notice that the hypothesis in Proposition 3.3 is only used in the proof of a ⇒ b to prove that p is a unit, whereas b ⇒ c ⇒ a ⇒ “p − 1 is a unit” holds for any ring. 3.2. Consequences of LPOW(x)  POW(x) in R[x]. The findings from the previous subsection suggest that our attempt at identifying the sets POW(p) by LPOW(p) could be more successful if we avoid nilpotent and reducible elements. As a matter of fact, under certain hypotheses the two sets coincide, producing a first-order definition of the powers of some types of elements. Before proceeding in this direction, we list some general properties concerning logical powers that will be used in the sequel. At this point, one notation is worth introducing: given two elements f, p of a ring, we say that f is infinitely divisible by p if f is a multiple of arbitrarily large powers of p (equivalently, a multiple of all positive powers of p).

Proposition 3.4. Let S be a ring, and let p ∈ S. a. Any element f of LPOW(p) is either infinitely divisible by p, or an element of the form upn, for some n ≥ 1 and some unit u satisfying p − 1 | u − 1. In particular, if u  1, then f ∈ POW(p). b. If f ∈ LPOW(p) and u is a unit such that p − 1 divides u − 1, then uf ∈ LPOW(p). c. If p is either invertible or irreducible, then p ∈ LPOW(p). d. If p is regular and prime, then POW(p) ⊆ LPOW(p).

Proof. a. If f is not infinitely divisible by p, let n ≥ 1 be the greatest exponent such that pn | f, so that f  upn for some u not divisible by p. Since u divides f and f ∈ LPOW(p), u must be a unit. Finally, we have f−1  upn−1  u·(pn−1)+u−1, and since both f − 1 and pn − 1 are multiples of p − 1, so is u − 1. b. Obviously p divides uf. Since p − 1 divides both f − 1 and u − 1, it follows that p − 1 divides u ·(f − 1) + u − 1  uf − 1. Finally, if g divides uf, then g divides 1 u− ·(uf)  f. Since f ∈ LPOW(p), we conclude that g is a unit or a multiple of p. c. It suffices to observe that every divisor of p would be either invertible or an associate of p (hence a multiple of p), for the other properties are trivially satisfied. d. Let n ≥ 1. Obviously p | pn and p − 1 | pn − 1, and if g is a divisor of pn, say + pn  gh, then pn 1 cannot divide h (otherwise we would have, by canceling, 8 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

that p divides 1, which contradicts the primality of p). Thus, the largest k with k n k ^ ^ p dividing h must satisfy k ≤ n. After canceling we get p −  gh, with h not a multiple of p. If k  n, then g is invertible; otherwise, p divides gh^, so necessarily p divides g because p is prime.  In what follows we will examine the case S  R[x], in order to draw some consequences from the equality LPOW(x)  POW(x): Proposition 3.5. Let R be a ring and consider R[x], the polynomial ring in one variable over R. If x ∈ LPOW(x), then x is irreducible. If in addition one of the inclusions LPOW(x) ⊆ POW(x) or POW(x) ⊆ LPOW(x) holds, then R is reduced. Proof. We always have that x is nonzero and noninvertible. Since x is regular, every divisor of it will also be regular, and so if x ∈ LPOW(x), then by using the contrapositive of Example 3.2 we can conclude that x is irreducible. Let a ∈ R with an  0 for some n ≥ 1. We want to prove that if, in addition, LPOW(x) ⊆ POW(x) or POW(x) ⊆ LPOW(x), then a  0, obtaining in this way that R is reduced. Set u  1 − a ·(x − 1). Note that u divides 1 − an ·(x − 1)n  1, that is, u is invertible, and also that x − 1 clearly divides u − 1. Consequently, by item b of Proposition 3.4 we have ux ∈ LPOW(x). If LPOW(x) ⊆ POW(x), then ux  xm for some m ≥ 1, which forces to have m  1 and u  1, and so a  0. Moreover, observe that x−a is not invertible and divides xn −an  xn, and therefore, if POW(x) ⊆ LPOW(x) (in this case the condition x ∈ LPOW(x) is superfluous), then x − a must be a multiple of x, so again a  0.  Thus, for a ring R, in order to have LPOW(x)  POW(x), it is necessary that R be reduced and the polynomial x be irreducible in R[x]. Later we will see (Theorem 5.3) that these conditions are also sufficient, and in the course of the reasoning we will show (see Proposition 4.3) that irreducibility of the polynomial x in R[x] is equivalent to indecomposability of R. 4. Reduced and indecomposable rings and some of their algebraic properties In this section we study some algebraic properties of reduced and/or indecomposable rings. We prove, among other things, that just as integral domains, reduced indecom- posable rings have characteristic zero or prime, and we exhibit examples of such rings that are not integral domains. Finally, we prove that constant polynomial functions in reduced indecomposable rings can only come from constant polynomials. 4.1. Expressing reducedness and indecomposability of rings in terms of the corre- sponding polynomial rings. Lemma 4.1. Let R be a ring. Let f, g ∈ R[x] be nonzero polynomials, and denote their degrees by d and m, respectively. a. Let h ∈ R[x], and let k  deg(h). If f  gh, with d < m + k, then for all integer i with 1 ≤ i ≤ m + k − d, the i-th power of the leading coefficient of g annihilates the i coefficients of h of highest degrees, that is, hk, ... , hk i+1. b. h ∈ R[x] r ≥ xr gh xr − grh xr  gh Given and 0, if divides , then divides 0 . Moreover, gr  gr+1h implies 0 0 r. c. If g divides f and m > d, then f is annihilated by a power of gm. More specifically,   ( ) k+1  if f gh and k deg h , then gm f 0. Consequently, if R is reduced and f is regular, then g | f implies m ≤ d. In particular, whenever the coefficient ring is reduced, divisors of regular constant elements are themselves constants. DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 9

d. Suppose R is reduced and indecomposable and g divides f. If the leading coefficient of f is a unit, then that of g must be a unit too.

Proof.

m k a. Write f  gh  (gmx + ··· + g0)(hkx + ··· + h0), with gm, hk , 0. We proceed i by induction to prove that multiplying by gm annihilates hk, ... , hk i+1 for all − i  1, ... , m + k − d. For i  1, the claim follows from gmhk  fm+k  0 (recall that d < m + k). Suppose the claim holds for i and suppose i + 1 ≤ m + k − d. In this case we have d < m + k − i, and therefore 0  fm+k i  − gmhk i + (gm 1hk i+1 + ··· + gm ihk). By induction hypothesis, the second − − − − i term of this sum is annihilated by gm, as all coefficient of h appearing in it i i+1  i+1 are. Therefore, multiplying by gm, one gets gm hk i 0, and since gm also − annihilates hk, ... , hk i+1, this completes the induction. b. The result is obvious− for r  0. For r > 0, as gh is a multiple of xr, we have that all its coefficients in degrees 0, ... , r − 1 vanish, so we may apply a specular reasoning to that used in the previous item and get 0  (gh)0  g0h0 r >  (gh)  g h + g h g2h  g2 and, if 1, 0 1 0 1 1 0, from which 0 1 0 and thus 0 h h r − gr annihilates 0 and 1. By proceeding analogously until 1 we obtain that 0 h ... h grh annihilates 0, , r 1 and therefore all coefficients of 0 vanish until degree r − 1, which yields the− first claim. In the special case where xr  gh we also have r 1  (gh)r  g0hr + (g1hr 1 + ··· + grh0); after multiplying by g , the second term − 0 gr  gr+1h of the right side vanishes, giving 0 0 r. c. If d < m and h is as in item a, we can apply such result to i  k + 1 ≤ + − k+1 m k d and get that gm annihilates hk, ... , h0 and, consequently, annihilates k+1  ( k+1 )  h. Hence gm f gm h g 0. For the second assertion, observe that if we had m > d, then f would be annihilated by a power of a nonzero constant (the leading coefficient of g), which is also nonzero in a reduced ring. Therefore f would be a zerodivisor, contradicting the hypothesis. The last statement follows immediately. d. Let f  gh, with h ∈ R[x]. In the case d  m + k we have fd  gmhk and therefore, if fd is invertible, then gm invertible as well. In the case d < m + k, letting i  m + k − d, we may write the leading coefficient of f as u  fd  fm+k i  gmhk i + L, where L  gm 1hk i+1 + ··· + gm ihk. The item a above may− be applied− to the index i (because− − 1 ≤ i ≤ m +−k − d), implying that i i  hk, ... , hk i+1 are annihilated by gm, and therefore gmL 0. − i  ( + )i  i i + ∈ If u is a unit, so is u gmhk i L gmhk i LM, for some M R.  i − i i + −  i i Multiplying by v u− , we have 1 vgmhk i vLM. By setting e vgmhk i  +  − i  − and e0 vLM we have written e e0 1, and since gmL 0, it follows that ee0  0. Therefore e and e0 are idempotent, and since R is indecomposable, i one of them must be 1. We also have gm , 0 because R is reduced, and since i  ( )·( i )  gme0 vM gmL 0, we conclude that e0 is a zerodivisor and, consequently,   i i e0 , 1. This forces 1 e vgmhk i, and thus gm is a unit.  − Proposition 4.2. For a ring R, the following conditions are equivalent: a. R[x] is reduced; b. R is reduced; c. R[x]∗  R∗. 10 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Proof. The implication a ⇒ b is obvious. For b ⇒ c, note that units are precisely the divisors of 1, which is a regular constant element, and apply the last assertion of m Lemma 4.1c. Finally, if R[x]∗  R∗ and f ∈ R[x] satisfies f  0, with m ≥ 2, then m 1 m 1 m 1 m 1 (1 + xf − )(1 − xf − )  1 implies 1 + xf − ∈ R[x]∗ ⊆ R, so necessarily f −  0. Iterating this reasoning we conclude that f  0, proving that R[x] is reduced.  The next result relates indecomposability of a ring R to a property about its polynomial ring R[x]:

Proposition 4.3. A ring R is indecomposable if and only if the polynomial x ∈ R[x] is irreducible. Proof. Obviously x is nonzero and noninvertible. Suppose that R is indecomposable, and assume x  gh, with g, h ∈ R[x]; we want to show that either g or h is a unit. Set e  g0h1 and e0  g1h0. We have e+e0  g0h1 +g1h0  (gh)1  (x)1  1. Furthermore, by the last b r  g2h  g e2  (g h )2  (g2h )h  g h  e part of Lemma 4.1 with 1 we have 0 1 0, so 0 1 0 1 1 0 1 , and therefore e, being idempotent, must be 0 or 1 (in a similar way one can show that e0 is idempotent). If e  1, then g0 ∈ R∗; since g0h0  (gh)0  (x)0  0, it follows that h0  0, so x divides h, and dividing out the equality x  gh by the regular element x, we get that g is a unit. If e  0, then e0  1, and proceeding analogously we conclude that h ∈ R[x]∗. 2 1 1 For the converse, since the only invertible idempotent f in a ring is f  f f−  ff−  1, if e ∈ R is a nontrivial idempotent (that is, other than 0 or 1), then 1−e is also a nontrivial idempotent, and therefore both e and 1 − e are nonunits. Thus, the polynomials g  ex + (1 − e) and h  (1 − e)x + e have noninvertible constant term, so they cannot be units in R[x]. Since x  gh, we conclude that x is reducible.  Remark 4.4. Notice that the argument above proves that, if x has any nontrivial factorization, then it has one as a product of two linear polynomials. Furthermore, by putting together Propositions 4.2 and 4.3, we obtain a characterization of reduced indecomposable rings in terms of a property of the polynomials 1 and x in R[x]: that they both be not a product of two positive degree polynomials. For those acquainted with algebraic geometry, we recall the special meaning that indecomposability has in terms of the topology of the corresponding Zariski affine scheme: a ring R is inde- composable if and only if its prime spectrum Spec(R) is connectedI. The reader may feel free to check Subsection 7.3 for more equivalent definitions of indecomposability and/or reducedness. From the very definition of polynomials and their multiplication, it follows that 0 is the only polynomial infinitely divisible by x. This will be used in the proof of the following result, which shares the same spirit of Proposition 4.2, but concerning indecomposability:

Proposition 4.5. For any ring R, a polynomial e ∈ R[x] is idempotent if and only if e is constant and idempotent in R. In particular, R is indecomposable if and only if R[x] is indecomposable.

Proof. Let e ∈ R[x] be idempotent. Writing e  e0 + gx, with g ∈ R[x], the equality e  e2 e + gx  e2 + e gx + g2x2 e  e2 becomes 0 0 2 0 , yielding 0 0, and in particular 2 2 2 (1 − 2e0)gx  (gx) . Since (1 − 2e0)  1, it follows that (1 − 2e0)gx  [(1 − 2e0)gx] . Thus I For a proof of this equivalence, see [Eis95, Exercise 2.25]. The proof relies heavily upon the Boolean prime ideal theorem (BPI); see [HR98, Form 14]. DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 11

n n (1 − 2e0)gx  [(1 − 2e0)g] x for all n ≥ 1, that is, (1 − 2e0)gx is infinitely divisible by x, and so necessarily (1 − 2e0)gx  0. Since (1 − 2e0)x is regular, it follows that g  0, so e  e0 is idempotent in R. 

From Propositions 4.2 and 4.5 we obtain the following characterization of reduced- ness/indecomposability for polynomial rings in an arbitrary set of indeterminates:

Proposition 4.6. Let R be a ring and let X be a set of indeterminates over R. If S  R[X], then S is reduced (resp. indecomposable) if and only if R is reduced (resp. indecomposable).

Proof. Obviously, if S reduced (resp. indecomposable), then the subring R of S is also reduced (resp. indecomposable). Conversely, assume that R is reduced (resp. inde- composable). Given f ∈ S, there exists a finite subset X0 of X such that f ∈ S0, where S0  R[X0]. Proposition 4.2 (resp. Proposition 4.5), together with induction, shows that S0 is reduced (resp. indecomposable) as well, and therefore f nilpotent (resp. idempotent) implies f  0 (resp. f  0 or 1), which shows that S is reduced (resp. indecomposable). 

Notice that, although our class of rings of the form S  R[x] was initially described in terms of properties of R, we now have instead an intrinsic characterization of the same class, regardless of the presentation of S  R0[X] (that is, independent of the subring R0 and the set X of indeterminates over R0). Consequently, provided that a given ring is polynomial (in any set of variables), all other conditions for membership in our class are first-order axiomatizable in the language of rings (Subsection 2.2), without extra symbols for the coefficient ring or the indeterminates. The main results of this paper, that is, definability of the prime subring (Theorem 6.11), undecidability of the full theory (Subsection 6.1) and interpretability of rational integers (Subsection 6.6) are therefore true for “polynomial reduced indecomposable rings”. Given an element of a ring that is zero or a unit, it trivially has a positive power dividing the previous corresponding power (actually, this happens for every positive power of it). For reduced indecomposable rings, the converse holds. This basic result will be used repeatedly, and we prove it below:

Proposition 4.7. For any reduced indecomposable ring R and any c ∈ R, we have: m+1 m a. If c divides c for some m ≥ 0, then c ∈ {0} ∪ R∗. b. If c < {0} ∪ R∗, then all nonnegative powers of c are pairwise distinct. c. If R is finite, then R is a field.

Proof. + + + a. If cm  cm 1d, then (cd)m  cmdm  (cm 1d)dm  (cd)m 1, hence (cd)m  + (cd)m 1  ···  (cd)2m. Therefore (cd)m is idempotent, hence it equals 1 or 0 m (because R is indecomposable). If (cd)  1, then c ∈ R∗. Otherwise, since R is + reduced, it follows that cd  0, which implies cm  cm 1d  cm ·(cd)  0, and therefore c  0 (again by reducedness of R). b. If two nonnegative powers of an element t coincide, say tm  tn, with 0 ≤ m < m m+1 n m 1 n, then t  t t − − , so t ∈ {0} ∪ R∗ by item a. c. If R is finite, then item b implies that R coincides with {0} ∪ R∗ and is therefore a field.  12 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

The following result shows that, like integral domains, reduced indecomposable rings can only have zero or prime characteristic:

Proposition 4.8. If R is a reduced indecomposable ring of positive characteristic, then R has prime characteristic. In particular, every nonzero integer in R is invertible.

Proof. The prime subring Z of R is reduced and indecomposable, since R is. If char(R) > 0, then Z is finite, so Z is a field by Proposition 4.7c, and we know that in this case |Z|  char(R) is a prime number. 

4.2. Examples of reduced and indecomposable rings. Clearly, any integral domain is reduced and indecomposable. In this subsection we provide some examples of reduced/indecomposable rings that are not integral domains.

Example 4.9. Let B be a ring, and let p, q ∈ B. We are going to impose sufficient conditions on p and q in such a manner that the ring R  B/(pq) be reduced, indecomposable, and not an integral domain. Suppose firstly that p - q and q - p. This implies pq - p and pq - q, hence the element pq is not prime, and so R is not an integral domain. Furthermore, if p and q are prime, then R is reduced: for if a ∈ B and n ≥ 1 satisfy pq | an, then by primality of p and q we have p | a and q | a, say a  sp  tq. As q is prime and q - p, we necessarily have q | s, which shows that pq | a. If in addition the ideal Bp + Bq in B is proper, then R is also indecomposable. In fact, if a ∈ B satisfies pq | a(a − 1), then p must divide a or a − 1, and the same for q. If p and q do not divide the same factor, then 1  a − (a − 1) ∈ Bp + Bq, which contradicts our assumption. Therefore p and q both divide either a or a − 1, which implies pq | a2 or pq | (a − 1)2. As we already proved reducedness of B/(pq), either pq | a or pq | a − 1, as desired. As concrete examples of rings satisfying the conditions above, we can take B  š[t], p  2, q  t, or B  ‘[s, t], p  s, q  t. In the latter case, we obtain an example of reduced indecomposable characteristic zero ring R which is not a field, but such that every nonzero integer is invertible. As a final remark, we could replace the hypotheses “p - q and q - p” by “q is regular and q - p”, which, together with the remaining hypotheses, would still imply that R is reduced, indecomposable, and not an integral domain.

Example 4.10. For a set X with at least two elements and a ring B, let S  BX be the set of B-valued functions on X. Endowed with componentwise addition and product, S is a ring. On the one hand, if B is reduced, then so is any subring of S; on the other hand, if B is indecomposable, then the idempotent elements of a given subring of S are precisely those functions that take only the values 0 and 1. If B is a reduced indecomposable topological ring such that its singletons are closed sets (that is, endowed with a T1 topology), and X is a connected topological space, then R  C(X, B), the subring of S of B-valued continuous functions on X, is 1 1 indecomposable: for if f ∈ R is idempotent, then X  f− ({0})∪f− ({1}) is the disjoint union of two closed sets, so by connectedness of X we must have that f is constant. Consequently, the existence in R of two continuous functions with disjoint supports provides examples of reduced indecomposable rings that are not integral domains. The last condition is guaranteed in many cases: for instance, if B  ’, this holds whenever X separates some pair of disjoint closed sets, which is the case if X is a DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 13

metric space or a completely regular space or, under certain standard assumptions, whenever X is a normal space9.

Example 4.11. Consider the subring R of š × š consisting of those pairs (m, n) with m ≡ n (mod 2). Since š × š is reduced, so is R. Moreover, the idempotents in š × š are precisely (0, 0), (1, 1), (1, 0) and (0, 1); since (1, 0), (0, 1) < R, it follows that R is indecomposable.

Notice that the main result of this paper (Theorem 6.11) implies that š is definable in the subring R[x] of the ring (š × š)[x]  š[x] × š[x], where R is as described in Example 4.11. In this line of thought, the reader may wonder whether š is definable in (š × š)[x]. Nevertheless, one can extract from the proof of [AKNS18, Lemma 4.7] that this is not the case (actually, that š is not even definable in A × B, whenever A and B are characteristic zero ringsL). In other words, the condition on the subring R in Example 4.11 is essential for the definability of š in R[x] (see Proposition 7.17 for details). Example 4.11 is just a special case of the following more general class of examples:

Example 4.12. Let B be a reduced indecomposable ring which is not a field (for example, an integral domain such as š or ¿p[t], p prime), and let b be a nonzero proper ideal in B. Given a set I with more than one element, let R ⊆ BI be the set of I-tuples whose entries are pairwise congruent modulo b. Since BI is reduced, so is R. The set of idempotents in BI is precisely {0, 1}I and, since b is a proper ideal, it I follows that {0, 1} ∩ R  {0R, 1R}, which shows that R is indecomposable. I Finally, for each i ∈ I, denote by ei the i-th canonical I-tuple in B taking value 1 at position i and 0 elsewhere. If c is a nonzero element in b, then R contains two nonzero elements of the form cei and cej, with i, j ∈ I and i , j, whose product is 0, and this shows that R is not an integral domain.

Unless I is finiteG, the ring R in Example 4.12 is not, in general, Noetherian: indeed, if I contains a denumerable subset {in : n ∈ Ž} (that is, if I is Dedekind-infinite), c is ⊆ a nonzero element of b and cn R is the ideal generated by cei0 , ... , cein , then the ascending chain of ideals (cn)n Ž is not stationary . The reader may notice that∈ the technique shown in Example 4.12 also provides examples in positive characteristic (which is necessarily prime, by Proposition 4.8). More specifically, for each p prime, the following ring is reduced and indecomposable, has characteristic p, and it is not an integral domain:  R  (f, g) ∈ ¿p[t] × ¿p[t]: t | f − g .

9 Urysohn’s lemma cannot be proved in ZF ([GT95, Corollary 2.2]): the usual proof of this result relies on DC. However, as shown in [Bla79, p. 55], it suffices to use DMC, the axiom of dependent multiple choice ([HR98, Form 106]). L See [Art] for another proof in the case A  B  š. G If b  Rc is principal and I  1, ... , n , then R is the image of the ring B x1, ... , xn under the ring {  } [ ] homomorphism f f ce1 , ... , f cen . Thus, B being Noetherian implies that R is Noetherian as well. 7→ ( ) ( ) If I is merely infinite, then we can only prove that R has a non-finitely generated ideal, namely, that one generated by all the I-tuples cei. See [Hod74, Section 3] for a comparison, in ZF, of the various notions of Noetherianity. 14 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Example 4.13. Let R be a local ring (see Subsection 2.1). If a ∈ R is idempotent, then we have (a − 1)a  0; since one of a − 1 or a is a unit, it follows that a  0 or a − 1  0, which proves that R is indecomposable. This provides more examples of reduced indecomposable rings which are not integral domains, obtained as suitable localizations of further rings at prime idealsN, such as the germs of rational functions at points lying in more than one irreducible component of a (reduced) algebraic set R  ¼[x y](xy)  (e.g. , x,y ). ( ) 4.3. Polynomials versus polynomial functions. In this subsection we address the re- lationship between polynomials in one variable and their corresponding polynomial functions. More specifically, we want to provide a sufficient condition on the coeffi- cient ring that ensures that polynomial constant functions can only come from constant polynomials. Î If R is a finite ring, then the nonzero polynomial r R(x − r) is zero as a function on R, so we may restrict our discussion to infinite rings.∈ If D is an integral domain, then any nonzero polynomial f ∈ D[x] can only have finitely many roots; in particular, if D is infinite, then f does not vanish identically on R (as a polynomial function). For infinite reduced indecomposable rings, the set of roots of a nonzero polynomial may be infinite (take for instance the reduced indecomposable ring of characteristic zero R  š[t](2t) in Example 4.9, and consider the polynomial t·(x2 +x) ∈ R[x], vanishing at all integers), yet it can never be all of R, as the following result showsO. Theorem 4.14. Let R be a reduced indecomposable ring. Assume that R is infinite, and let f ∈ R[x]. If f(c)  0 for all c ∈ R, then f  0. Proof. The case of integral domains was just discussed, so we may assume that R is not a m field. Write f  fmx + ··· + f0 ∈ R[x], with m ≥ 0. For c0, ... , cm ∈ R, let V(c0, ... , cm) be the Vandermonde matrix associated to these elements, that is, the matrix with rows ( 2 m 1 m) ∈ indexed from 0 to m, the i-th row being equal to 1, ci, ci, ... , ci − , ci , and for a R, 0 1 m let Va  V(a , a , ... , a ). We claim that if a det(Va)  0, then a ∈ {0} ∪ R∗: in fact, recall that det(Va)  Î ( i − j) i − j  i ·( − j i) ≤ 0 i

Notice that, in the previous result, none of the two conditions (indecomposability and reducedness) can be removed from the hypothesis. We provide counterexamples in R  ¿Ž both directions. On the one hand, infinite Boolean rings such as 2 are reduced but not indecomposable and the nonzero polynomial x2 − x vanishes everywhere as a  function. On the other hand, R  ¿2[{xi}i Ž] (xixj)i,j Ž is indecomposable but not ∈ ∈ reduced, and the polynomial (x2 − x)2 is null as a function. The examples above are treated in detail in Subsection 7.4.

5. Logical powers in reduced and indecomposable polynomial rings In this section we study the properties of the logical powers (see Definition 3.1) of a polynomial for reduced and/or indecomposable coefficient rings.

5.1. Powers versus logical powers.

Lemma 5.1. Let R be a reduced ring. If p ∈ R[x] is nonconstant, then no element of LPOW(p) can be infinitely divisible by p. If in addition the leading coefficient of p is regular, then LPOW(p) ⊆ POW(p).

Proof. Let d  deg(p) and c , 0 be the leading coefficient of p. Since R is reduced, the leading coefficient of pr is cr , 0, for all r ≥ 1. Moreover, as d > 0, for any given f ∈ LPOW(p) we may find r ≥ 1 such that deg(pr)  rd > deg(f). Suppose by contradiction that f be infinitely divisible by p, and hence divisible by pr. Item c of Lemma 4.1 ensures then that f is annihilated by some power of c, say cs. Setting `  1 + csp, we find that ` divides f (as `f  f) and that p does not divide ` (otherwise p would be a nonconstant invertible polynomial, contradicting Proposition 4.2). Therefore, as f ∈ LPOW(p), we must have that ` is invertible. However, + we have that `  csp + 1 is nonconstant, having coefficient cs 1 , 0 in degree d > 0, and so it cannot be invertible (again by Proposition 4.2), a contradiction. After proving that any f ∈ LPOW(p) cannot be infinitely divisible by p, item a of Proposition 3.4 guarantees that f has the form upn, for some integer n ≥ 1 and a unit u satisfying p − 1 | u − 1. As u is constant (Proposition 4.2) and p − 1 has positive degree and leading coefficient c, then again by Lemma 4.1c we have that u − 1 is annihilated by a power of c. Finally, if c is regular, then u − 1 must be zero and f ∈ POW(p), proving the second assertion. 

Corollary 5.2. If R is reduced and p ∈ R[x] is nonconstant, prime, and it has a regular leading coefficient, then LPOW(p)  POW(p). In particular LPOW(x)  POW(x) when R is an integral domain.

Proof. The fact that the leading coefficient of p is regular implies that p is regular, and therefore we can apply Proposition 3.4d to obtain POW(p) ⊆ LPOW(p). The reverse inclusion follows from Lemma 5.1.  The requirement that LPOW(x)  POW(x), together with the technique shown in Lemma 6.4, could be at the base of a specific strategy for definability of integers in poly- nomial rings. However, Corollary 5.2 above only guarantees that LPOW(x)  POW(x) for integral domains, where the issue of definability of integers has already been worked out, in a Diophantine way ([Shl90, Theorem 5.1]). Fortunately, we now have all the tools to characterize the rings R such that, in the polynomial ring R[x], the equality LPOW(x)  POW(x) holds, obtaining in this way the converse of Proposition 3.5: 16 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Theorem 5.3. Let R be a ring and consider R[x], the polynomial ring in one variable over R. a. If R is reduced, then LPOW(x) ⊆ POW(x). b. POW(x)  LPOW(x) if, and only if, R is reduced and indecomposable. Proof. a. This follows immediately from Lemma 5.1. b. If LPOW(x)  POW(x), then Propositions 3.5 and 4.3 together imply that R is reduced and indecomposable. Conversely, suppose that R is reduced and indecomposable. For every r ≥ 1 we have that x divides xr and x − 1 divides xr − 1. Suppose that xr  gh, with g, h ∈ R[x]. Following notation as in the beginning of Section2, we are r denoting by g0 the constant term of g and by hr the coefficient of x in h. Using b xr grh gr  gr+1h g ∈ { } ∪ R Lemma 4.1 , we get that divides 0 and 0 0 r, hence 0 0 ∗ by Proposition 4.7a. g  x g xr g r ·(grh)  h h  xrh^ If 0 0, then divides . Otherwise, divides 0− 0 , say , hence xr  gh  xrgh^; canceling out xr we conclude that g is invertible. This shows that xr ∈ LPOW(x) for all r ≥ 1, that is, POW(x) ⊆ LPOW(x), and the reverse inclusion follows from item a.  Next, we try to distinguish by a logical formula some elements of R[x] whose logical powers coincide with their positive powers. To this end, it is necessary to exclude elements exhibiting logical powers infinitely divisible by them. One way of doing so, which will be presented in the following subsection, relies on producing a first-order equivalent of the concept of “powers of two given elements have the same exponent”p, and exploits and extends the fact that, under reasonable conditions, for polynomials p and q we have that p − q divides pm − qn forces m  n. 5.2. Some convenient sets whose elements have definable sets of powers. The goal of this subsection is to construct special definable subsets of a ring S, which will end up being useful throughout the paper. When S  R[x], with R reduced and indecomposable, the elements of such sets will turn out to have definable sets of powers. If in addition R is not a field, we are able to show that every constant element in S also has a definable set of powers. Definition 5.4. For a ring S, we define the following sets: • T is the set of elements p ∈ S such that p is irreducible and ph ∈ LPOW(p) whenever h ∈ LPOW(p). • U is the set of elements p ∈ T such that: – For every q ∈ T and every f ∈ LPOW(p), there exists g ∈ LPOW(q) such that p − q | f − g; – If a ∈ S∗ satisfies p − 1 | a − 1, then a  1. • P is the set of elements p ∈ U such that p − 1 is regular. • V is the set of elements p ∈ U such that: – p is regular; – For any y, z ∈ {1} ∪ LPOW(p), if y − 1 | z − 1 and z − 1 | y − 1, then y  z.

p This concept is somewhat outlined in the description of the set U appearing in Definition 5.4, and more explicitly exploited in the proof of Theorem 5.8. Finally, we are able to fully express it in the first-order language of rings, in a definitive way, when dealing with interpretability of the structure + š , +, in the rings of our class (namely, the formulas Γ in Theorems 6.20, 6.22 and 6.27). ( | ) DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 17

Observe that the sets T, U, P and V are first-order definable and P, V ⊆ U ⊆ T. Since irreducible elements are noninvertible by definition, it follows that the sets in Defini- tion 5.4 consist of nonunits. Although we will not use the properties of the sets P and V until the following section, we have opted for introducing them altogether in the definition above. Theorem 5.5. Let S be a ring and let T, U, P and V as in Definition 5.4. For all q ∈ T we have POW(q) ⊆ LPOW(q). In addition, if S  R[x], with R reduced and indecomposable, then the following hold: a. x ∈ U. b. LPOW(p)  POW(p) for every p ∈ U. c. P and V are nonempty; more specifically, we have x ∈ P ∩ V.

Proof. If q ∈ T, then q is irreducible, hence q ∈ LPOW(q) by Proposition 3.4c, and if + we assume inductively that m ≥ 1 satisfies h  qm ∈ LPOW(q), then qm 1  qh ∈ LPOW(q), by the definition of T. This shows that POW(q) ⊆ LPOW(q). Suppose that S  R[x], with R reduced and indecomposable. a. First, we prove that x ∈ T. Since R is indecomposable, x is irreducible by Proposition 4.3. Moreover, as R is also reduced, it follows from Theorem 5.3b that LPOW(x)  POW(x). Therefore x ∈ POW(x)  LPOW(x), and if h ∈ LPOW(x)  + POW(x), then h  xk for some k ≥ 1, hence xh  xk 1 ∈ POW(x)  LPOW(x). Thus, x ∈ T, as desired. Regarding the remaining conditions for membership in U, given q ∈ T and f ∈ LPOW(x), we want to find g ∈ LPOW(q) such that x − q divides f − g. Since LPOW(x)  POW(x), we have f  xn for some n ≥ 1. Moreover, we already know that q ∈ T implies POW(q) ⊆ LPOW(q), and so by taking g  qn, we get n n g ∈ LPOW(q), and clearly x − q divides x − q  f − g. Finally, let a ∈ S∗ be such that x − 1 divides a − 1. By Proposition 4.2 we have S∗ ⊆ R, and therefore a is constant. Writing a − 1  (x − 1)`, we can evaluate at x  1 to conclude a  1. Consequently, x ∈ U. b. If p ∈ U, then p ∈ T, and consequently POW(p) ⊆ LPOW(p). For the reverse inclusion, let f ∈ LPOW(p) and set q  x ∈ T. The first condition in the definition of U guarantees the existence of an element g ∈ LPOW(q)  LPOW(x)  POW(x) such that p − x | f − g, say g  xn, with n ≥ 1. If f were infinitely divisible by p, then p would be constant by Lemma 5.1. Evaluating at p and using that x − p divides xn − f, we conclude that f(p)  pn. + Since f is infinitely divisible by p, there is an h such that f  pn 1h; in particular + + we have f(p)  pn 1h(p), so pn 1 divides pn. Proposition 4.7a would imply then that p ∈ {0} ∪ R∗, which is absurd since p is irreducible. The contradiction above, together with item a of Proposition 3.4, shows that k f  ap for some k ≥ 1 and some a ∈ R[x]∗ with p−1 | a−1; the second condition of the definition of U forces a  1 and, consequently, f  pk ∈ POW(p). c. By item a we have x ∈ U, and clearly x−1 is regular. Therefore x ∈ P. Concerning the proof of membership of x in V, first notice that x is regular. For the remaining condition, we proceed by adapting, to our context, an argument from [Rob51, §4b] in what follows. Let k, j ≥ 0 be such that xk − 1 | xj − 1. We claim that k | j. In fact, if k  0, then 0 | xj − 1, hence xj  1, so j  0 and thus k | j. Otherwise we may write j  qk + r, with q ≥ 0 and 0 ≤ r < k. Since xk − 1 | xj − 1  xr(xqk − 1) + xr − 1 18 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

and xk − 1 | xqk − 1, it follows that xk − 1 | xr − 1. From general ring theory, if f ∈ R[x] has regular leading coefficient, then for all g ∈ R[x] r {0} we have fg , 0 and deg(fg)  deg(f) + deg(g). Taking f  xk − 1 and taking into account that r < k, we get that xk − 1 | xr − 1 can only occur if xr − 1  0. Therefore r  0, which shows that k | j in this case as well. Finally, let y, z ∈ {1} ∪ LPOW(x) be such that y − 1 | z − 1 and z − 1 | y − 1. We want to show that y  z. Since LPOW(x)  POW(x) by items a and b, we have y  xk and z  xj for some k, j ≥ 0, and therefore xk −1 | xj −1 and xj −1 | xk −1. The previous reasoning shows then that k | j and j | k, hence k  j, and so y  z, as desired.  Remark 5.6. Let S be any ring. If θ is a ring automorphism of S, then θ preserves the logical structure, and therefore the definable sets T, U, P and V of Definition 5.4 are invariant under θ, that is, θ(T)  T, θ(U)  U, θ(P)  P and θ(V)  V. If S  R[x], v ∈ R∗ and r ∈ R, then the mapping θ: S → S given by θ(f)  f(vx + r) 1  is a ring automorphism (g 7→ g v− ·(x − r) being its inverse). If R is reduced and indecomposable, then x ∈ P ∩ V by Theorem 5.5c, and therefore we have vx + r ∈ P ∩ V ⊆ U in this case. In other words, if L denotes the set of automorphic images of x, namely L  {vx + r: v ∈ R∗, r ∈ R} , then we have x ∈ L ⊆ V ∩P. In Subsection 6.6 we will see that L is definable whenever R is a field, and this is crucial to provide a proof of interpretability when R is a field of positive characteristic.

The last result of this subsection (Theorem 5.8) ensures definability of sets of powers of any fixed constant, using the corresponding constant as a parameter, for reduced indecomposable coefficient rings that are not fields. Before proceeding, we need the following technical result: Lemma 5.7. Let R be a ring. If R is not a field, then at least one of the following holds: • There exists a unit u with u − 1 < {0} ∪ R∗. • Every element of R is the sum of two nonunits.

Proof. If R is local (see Subsection 2.1), then, as it is not a field, we may take z < {0}∪R∗, so that u  z+1 must be a unit, satisfying the first property. If R is not local, then nonunits are not closed under sum. Hence, some unit w must be the sum of two nonunits, say x 1 1 1 and y, and therefore for any r ∈ R we have that r  rw− w  (rw− x) + (rw− y) is the sum of two nonunits.  Theorem 5.8. Let S  R[x], with R being a reduced indecomposable ring that is not a field, and let U be as in Definition 5.4. Given f ∈ S and a ∈ R, we have that f ∈ POW(a) if, and only if, for all p, q ∈ U, there exist y ∈ POW(p) and z ∈ POW(q), such that: • p − a | y − f; • q − a | z − f; • p − q | y − z.

+ Proof. If f  an, with n ∈ š , then for any p, q ∈ U, by taking y  pn and z  qn, one clearly has p − a | y − f, q − a | z − f and p − q | y − z. Conversely, let f ∈ R[x] satisfy the properties listed. We will prove that f is constant as a function on R. Given any two ρ, σ ∈ R and any υ ∈ R∗, define the polynomials p  x − ρ + a and q  υx − σ + a and observe that both p and q lie in L ⊆ U (see Remark 5.6). By the DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 19 properties listed in the hypothesis, there exist elements y  pm  (x − ρ + a)m and z  qn  (υx − σ + a)n, where m and n are suitable positive integers depending on p and q (and, of course, on a), satisfying: • x − ρ + a − a | (x − ρ + a)m − f; • υx − σ + a − a | (υx − σ + a)n − f; •( x − ρ + a) − (υx − σ + a) | pm − qn; which yields: • f(ρ)  am; 1 n • f(υ− σ)  a ; •( 1 − υ)x + (σ − ρ) | (x − ρ + a)m − (υx − σ + a)n. In particular we have f(0) ∈ POW(a) (just take ρ  0, σ  0 and υ  1). Fix a triplet (ρ, σ, υ) and take any m  m(ρ, σ, υ) and n  n(ρ, σ, υ) satisfying the conditions above. If m , n, then (x − ρ + a)m − (υx − σ + a)n has invertible leading coefficient, being 1 or −υn, and therefore, by Lemma 4.1d, the last condition can only be satisfied if the leading coefficient of (1 − υ)x + (σ − ρ) is also invertible. If this does m n 1 not happen, then we must have m  n and therefore f(ρ)  a  a  f(υ− σ). The above reasoning amounts to saying that, given any ρ, σ ∈ R and any υ ∈ R∗, if any of the following conditions holds:

(a) υ , 1 and υ − 1 < R∗; (b) υ  1 and ρ − σ < R∗, 1 then f(ρ)  f(υ− σ). Take any r ∈ R: we want to prove that f(r)  f(0). By Lemma 5.7, either there exists a unit u with u − 1 < {0} ∪ R∗ or any element of R is the sum of two nonunits. In the first case, condition (a) is satisfied for υ  u; taking ρ  r and σ  0 we conclude that 1 f(r)  f(ρ)  f(υ− σ)  f(0). In the second case, there are two nonunits s and t such that r  s + t. Set υ  1. Considering ρ  r and σ  s, we can use (b) to prove that 1 f(r)  f(1− · s)  f(s). Analogously, considering ρ  s and σ  0, we can use (b) again 1 to prove that f(s)  f(1− · 0)  f(0). Thus, f(r)  f(s)  f(0). We have proven that, in both cases, f(r)  f(0). As r was arbitrarily taken, it follows that f is constant as a function on R. Since R is reduced and indecomposable but not a field, it follows from Proposition 4.7c that R is infinite, and thus Theorem 4.14 ensures that f  f(0) ∈ POW(a). 

Remark 5.9. Let S  R[x] be as in Theorem 5.8. We have that the sets of powers of elements of U coincide with their corresponding sets of logical powers (Theo- rem 5.5b), and therefore they are definable, using the corresponding elements as parameters; see Formula (3.1). Since the condition in the statement of Theorem 5.8 involves quantification over the definable set U, we get that the set of positive powers of any constant a ∈ R is definable in R[x] using a as a parameter. In other words, we proved the following: Corollary 5.10. Let S  R[x], with R being a reduced indecomposable ring that is not a field. There is a two-variable first-order formula Φ(·, ·) such that, for each a ∈ R, the formula Φ(·, a) defines the set POW(a) in S. More explicitly, we can take Φ(t, a): p q [ p ∈ U ∧ q ∈ U ] → y z [ y ∈ LPOW(p) ∧ z ∈ LPOW(q) ∀ ∀ ∃ ∃ ∧ p − a | y − t ∧ q − a | z − t ∧ p − q | y − z ]  . 20 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

6. The main results We end this paper by proving both the undecidability of the full theory and the de- finability of the prime subring of R[x], whenever R is a reduced indecomposable ring. Undecidability will be obtained by generalizing a method from [Rob51]. As for defin- + ability, clearly it is sufficient to define just the subset Z of positive integers in S. We will initially express the class of reduced indecomposable coefficient rings as a union + of two subclasses, for each of which we produce a uniform formula defining Z . Once this is done, we manipulate the two formulas obtained and merge them, in a convenient way, into a unified formula that covers the whole class.

6.1. Undecidability of the full theory of reduced indecomposable polynomial rings (d’après Raphael Robinson). Let S  R[x], with R a reduced indecomposable ring, and let V be as in Definition 5.4. In this subsection we exploit the properties of V to prove undecidability of the full theory of S, following the reasoning in [Rob51, §§4b,4c]. Our main definability result (Theorem 6.11) is a sufficient condition for undecidability in the case of characteristic zero. Nonetheless, the method described in this subsection works regardless of the characteristic. Let β be a two-variable formula in the language of rings, and let S be a ring. If p ∈ S satisfies (C1) p has all its nonnegative powers distinct, (C2) β(·, p) defines the set {1} ∪ POW(p) in S, and (C3) For any nonnegative powers f and g of p, if f − 1 | g − 1 and g − 1 | f − 1, then f  g, then Robinson is able to translate the structure (Ž, +, ·, 0, 1) into the structure (S, +, ·, 0, 1), using p as a parameter, in the following way (see [Rob51, §4b]): first, the product in Ž is expressed in terms of addition and divisibility in Ž. Next, elements of Ž are encoded as the corresponding nonnegative powers of p; note that this uses (C1). In particular, 0Ž is encoded as 1S and 1Ž is encoded as p, which explains the presence of p as a parameter. Moreover, if a variable, say x, occurs in a formula, then we translate it as “x ∈ {1} ∪ POW(p)” (or, equivalently, as “β(x, p)”). Finally, addition in Ž is realized using the product in S (“law of exponents”), and divisibility k | j, with k, j ∈ Ž, is realized as the divisibility pk − 1 | pj − 1 in S. Notice that, in the presence of (C2), condition (C3) is first-order expressible in the theory of rings with parameter p. Moreover, Robinson proves that, in the presence of (C1), condition (C3) guarantees the equivalence “k | j ⇐⇒ pk − 1 | pj − 1” (we use this reasoning in the proof of Theorem 5.5c above). Thus, given a formula ϕ(−) in the language (+, ·, 0, 1), we have associated a formula ϕβ(−, p) in the language (+, ·, 0, 1, p), with p as a parameter. Under this association, whenever ϕ is a sentence, we have that ϕ holds in the structure (Ž, +, ·, 0, 1) if and only if ϕβ(−, p) holds in the structure (S, +, ·, 0, 1, p). In order to get rid of the dependence of the parameter p, suppose that there are a two-variable formula β and a nonempty definable subset V of S such that the pair (β, p) satisfies conditions (C1)-(C3) above, for each p ∈ V. If ϕ is a sentence, then the formula

ϕ^ : p [ p ∈ V → ϕβ(p)] ∀ is also a sentence. Notice that ϕ holds in (Ž, +, ·, 0, 1) if and only if ϕβ(p) holds in (S, +, ·, 0, 1, p) for each p ∈ V. As a consequence, the sentence ϕ holds in the semiring Ž if and only if the sentence ϕ^ holds in the ring S. From this, the undecidability of DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 21 the full theory of (S, +, ·, 0, 1) would follow from the undecidability of the full theory of (Ž, +, ·, 0, 1).

Theorem 6.1. Let S  R[x], with R reduced and indecomposable. Then S is undecidable.

Proof. It is sufficient to define V and β, as previously discussed. We may take V to be the set V introduced in Definition 5.4, and set β to be

β(t, p): t ∈ LPOW(p) ∨ t  1 .

We have V , œ by Theorem 5.5c. We claim that every element p of V satisfies conditions (C1)-(C3). In fact, If p ∈ V, then p is regular and noninvertible (see the commentary right after Definition 5.4), which in turn implies that p satisfies (C1): indeed, if pk  pj for some k, j with 0 ≤ j < k, then canceling out pj on both sides (which is possible by k j regularity of p) would imply p −  1. This, together with the fact that k − j > 0, would imply in turn that p is invertible, which is absurd. For each p ∈ U, with U as in Definition 5.4, we have POW(p)  LPOW(p) by Theo- rem 5.5b. Since V ⊆ U by the definition of V, it follows that the formula β(·, p) defines the set {1} ∪ POW(p) of all nonnegative powers of p, and so the pair (β, p) satisfies (C2) for each p ∈ V. Finally, the very definition of the set V implies that each element p of V satisfies (C3). 

The technique shown in [Rob51, §4c] provides one such definable set V only in the case in which the coefficient ring R is a field; namely, V consists of the nonconstant prime elements of R[x]. To compensate this lack of generality, Robinson devises an alternative method ([Rob51, §4d]), based on the notion of essential undecidability, to prove the undecidability of every polynomial integral domain. Our result supersedes the undecidability results of [Rob51, §§4c,4d]. It is important to point out that the mapping ϕ 7→ ϕ^ does not supply an interpre- tation of (Ž, +, | , 0, 1) in (S, +, ·, 0, 1) (see [Hod93, Chapter 5] for a general discussion on interpretations). This happens because, among other things, it does not provide an interpretation for equality of exponents (of powers of elements in V). In other words, no formula Γ associated with an interpretation Γ is provided such that, for any y, z of the form y  pk, z  qj, with k, j ∈ Ž and p, q ∈ V, it is the case that k  j if and only if Γ (y, z) holds. The methods described at the end of this section, however, do provide a two- + dimensional interpretation of (š , +, | ) in any ring of our class, which will automatically + produce an interpretation of (š , +, ·).

6.2. Defining sets of exponents: the first steps. In this subsection we provide a first- order technique for extracting “approximate” exponents from sets of powers, in the + sense that, given a suitable element p in a ring S, the (images in Z of the) exponents of its powers are determined modulo p − 1. Of course, we are interested in extracting the + (actual) images in Z of the exponents. This will be done in the two next subsections in two different ways, according to whether every nonzero element of the prime subring is invertible, or the coefficient ring is a nonfield of characteristic zero. We remind the reader that, if n is a positive integer (for example, when appearing as an exponent), then the symbol n is also conventionally used in this work to denote the element n · 1S in S, as discussed in Subsection 2.3. 22 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Definition 6.2. Let S be a ring, p ∈ S and B ⊆ POW(p). We define the sets

+ n logp B  {n ∈ Z : p ∈ B} ,

logp B + (p − 1)S  {n + (p − 1)s: n ∈ logp B, s ∈ S} .

Notice that logp B + (p − 1)S is precisely the set of elements t ∈ S, such that p − 1 divides t − n, for some n ∈ logp B. In what follows, given a formula defining a set B of powers of a fixed element p such that p − 1 is regular, we provide a formula that defines the set logp B + (p − 1)S. Before + we state our preliminary result we define, for p ∈ S and n ∈ š , the element n 1 n 2 (6.1) wn(p)  p − + p − + ··· + p + 1 ∈ S . n Observe that wn(p) satisfies the equality (p − 1)wn(p)  p − 1. Moreover, writing wn(p) as 1, if n  1; w (p)  (6.2) n + ( − ) Ín 2( − − ) k n p 1 k−0 n 1 k p , otherwise, it follows immediately that p − 1 divides wn(p) − n. These relations are used crucially to prove the main results of this section. We begin our reasoning by introducing a formula, together with a lemma that makes its meaning clearer. Definition 6.3. For a two-variable formula β, we define the four-variable formula

Lβ(t, p, y, w): β(y, p) ∧ y − 1  (p − 1)w ∧ p − 1 | w − t .

Given a ring S, we denote by Bp the subset of S defined by β(·, p).

Lemma 6.4. Let S be a ring, and let p ∈ S with p − 1 regular. With notation as in Definition 6.3, suppose that Bp ⊆ POW(p). a. Given t, y, w ∈ S, we have that Lβ(t, p, y, w) holds if, and only if, there exists n ∈ logp Bp such that • y  pn, • w  wn(p), and • p − 1 divides t − n. b. The formula y w Lβ(·, p, y, w) defines the set logp Bp +(p−1)S of elements t ∈ S, ∃ ∃ such that p − 1 divides t − n for some n ∈ logp Bp (see Definition 6.2).

n Proof. We will use the fact that the element wn(p)  (p − 1)/(p − 1) is congruent to n modulo p − 1, which, together with the hypotheses, will allow us to recover the value n modulo p − 1 from the expression pn − 1 in a definable way. a. Observe that Lβ(t, p, y, w) holds if and only if there exists a positive integer n satisfying: n • y  p ∈ Bp (recall that Bp ⊆ POW(p) by hypothesis), • y − 1  (p − 1)w, and • p − 1 divides w − t. The chain of equalities n (p − 1)wn(p)  p − 1  y − 1  (p − 1)w , together with the regularity of p − 1, implies that the only possible such value of w is wn(p). Thus, Lβ(t, p, y, w) holds if and only if there exists n ∈ logp Bp such that DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 23

• y  pn, • w  wn(p), and • p − 1 divides wn(p) − t. Finally, recall that p − 1 divides wn(p) − n, so p − 1 divides wn(p) − t if and only if p − 1 divides [wn(p) − n] − [wn(p) − t]  t − n. b. If y w Lβ(t, p, y, w) holds, then item a implies that p−1 divides t−n, for some ∃ ∃ n ∈ logp Bp, and therefore t  n + (t − n) ∈ logp Bp + (p − 1)S. Conversely, if t  m + (p − 1)s, with m ∈ logp Bp and s ∈ S, then Lβ(t, p, y, w) is satisfied by m taking y  p and w  wm(p).  In our setting we have S  R[x], with R reduced and indecomposable. Given r ∈ R, the element p  x−r+1 is such that p−1 is regular. If Lβ(t, p, y, w) holds, then Lemma 6.4a + implies x − r  p − 1 | t − n, for some n ∈ Z possibly depending on r. This amounts to saying that t, considered as a polynomial function, satisfies t(r)  n. + In order to obtain from Lβ a formula that corresponds to “t ∈ Z ”, we must necessar- ily bind the variables y, z and p. First, we quantify existentially over y and w, obtaining an auxiliary value n ∈ logp Bp, and afterwards we vary p in a suitable definable subset containing all the linear polynomials x − r + 1, with r ∈ R. The first step, besides leaving n dependent on p, only specifies it modulo p − 1. To fix this issue, we will express the class of reduced indecomposable polynomial rings as the union of two subclasses, for + each of which a different technique defining Z is introduced. Both techniques involve making further restrictions on t. This will allow us, all in all, to cover our whole class of rings. We point out that the two subclasses considered do indeed overlap, so in particular some of our rings may be treated by any of the two techniques. The first technique consists of imposing a restriction on t that implies that t is constant, + that is, t ∈ R. In this case, t  t(r) for all r ∈ R, and since we already have t(r) ∈ Z , we are done. The second technique adds a condition on t implying that the value t(r)  n does not depend on p (equivalently, on r; recall that we are taking p  x − r + 1). In other words, we want to force t to be a constant polynomial function. By doing this, and assuming that the ring R is infinite, we can apply Theorem 4.14 to get t ∈ R, and again we obtain + t ∈ Z . It is reasonable to expect that the technique showed in Lemma 6.4 can be adapted in order to obtain the definability of the prime subring in other types of rings. 6.3. The case in which every nonzero integer is invertible. In this subsection we develop the first strategy discussed above. More concretely, we obtain the definability + of Z in R[x] when R is a reduced indecomposable ring, provided the definability of a + set between Z and R. Particularly, if we take this set as the set of units of R[x] together with zero, this method accounts for all cases in which every nonzero integer in the ring is invertible. This improves the result of [Rob51, §2], which requires that R be a characteristic zero integral domain that is first-order definable in the ring R[x]%. Proposition 6.5. Let S  R[x], with R a reduced indecomposable ring, and let P be as in Definition 5.4. Given a definable subset A of S with A ⊆ R, we have that ΘA(t): t ∈ A ∧ p p ∈ P → y w [ y ∈ LPOW(p) ∀ ∃ ∃ ∧ y − 1  (p − 1)w ∧ p − 1 | w − t ]  + + + defines the subset Z ∩ A. In particular, ΘA defines Z whenever A ⊇ Z . % This is the case if R is a field or a local domain (see Subsection 2.1): in the first case we have R  0 R x ; in the second case, R  p R x : p R x or p + 1 R x . { } ∪ [ ]∗ { ∈ [ ] ∈ [ ]∗ ∈ [ ]∗} 24 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Proof. With notation as in Definition 6.3, let β  ψ, where ψ is given by Formula (3.1), so the subset Bp of S defined by β(·, p) is equal to LPOW(p). Therefore, the subformula y w [ y ∈ LPOW(p) ∧ y − 1  (p − 1)w ∧ p − 1 | w − t ] ∃ ∃ of ΘA is precisely the formula y w Lβ(t, p, y, w), with Lβ(t, p, y, w) as in Definition 6.3. If p ∈ P, then Bp  LPOW∃(p)∃ POW(p) by item b of Theorem 5.5; in particular, + logp Bp  Z , regardless of p ∈ P. Moreover, we have that p − 1 is regular, by the definition of P. Thus, we are in the hypotheses of Lemma 6.4b, which implies that y w Lβ(t, p, y, w) holds if and only if the following condition is satisfied: ∃ ∃ + (∗) There exists np ∈ logp Bp  Z such that p − 1 | t − np .

If t satisfies ΘA, then t ∈ A by definition. Moreover, taking p  x ∈ P and using( ∗) we + get some nx ∈ Z and some ` ∈ R[x] such that t − nx  (x − 1)` . However, t − nx ∈ R, because t ∈ A ⊆ R. Thus, evaluating at x  1 we conclude that necessarily t − nx  0, + and consequently t  nx ∈ Z . + Conversely, let t  n ∈ Z ∩ A. We want to show that ΘA(t) holds. Obviously t ∈ A, + and if p ∈ P, then the element np  n satisfies np ∈ Z  logp Bp and p − 1 | 0  t − np, so that( ∗) holds, and therefore y w Lβ(t, p, y, w) holds as well.  ∃ ∃ Theorem 6.6. Let S  R[x], with R a reduced indecomposable ring, and let P be as in Definition 5.4. The formula Θ(t): t ∈ {0} ∪ S∗ ∧ p p ∈ P → y w [ y ∈ LPOW(p) ∀ ∃ ∃ ∧ y − 1  (p − 1)w ∧ p − 1 | w − t ]  . + + defines the set Z ∩ ({0} ∪ S∗), which contains 1S. In particular, Θ defines Z if and only if + every nonzero element of Z is invertible.

Proof. Let A  {0} ∪ S∗. Proposition 4.2 implies indeed that A ⊆ R, and therefore we can apply Proposition 6.5, after observing that Θ  ΘA.  + Remark 6.7. The fact that Θ defines a subset of Z containing 1S in arbitrary reduced indecomposable polynomial rings will play a crucial role at the end of the section, in the construction of a unified formula that works for all such rings.

6.4. The case of nonfields of characteristic zero. In this subsection we develop the + second strategy for defining Z discussed at the end of Subsection 6.2, which works successfully for the case where the coefficient ring is a (reduced, indecomposable) non- field of characteristic zero. Since Theorem 6.6 covers, among others, the case in which the coefficient ring is a field or has positive characteristic (the latter by Proposition 4.8), the result of this subsection will settle all remaining cases. By using definability of powers of constants with the constants themselves as pa- rameters (Corollary 5.10), we can strengthen the formula Lβ (see Definition 6.3), as was made in the previous subsection, but in another manner, in order to get rid of the + requirement of having a suitable definable set of constants in R[x] for defining Z . Notice that this result implies, in particular, the definability of š in the ring š[x], which is announced in [Rob51, §§3a,3b], but not directly provedM (see [Nie07, Theorem 7.13] for an alternative proof).

M The author proves the definability of integers in quadratic rings, and claims that the method of his proof can be slightly modified in order to obtain the corresponding definability result in polynomial rings over the integers or over quadratic rings. DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 25

Proposition 6.8. Let S  R[x], with R a reduced indecomposable ring, and let P be as in Definition 5.4. Let λ be the three-variable formula defined by λ(t, a, b): p [ p ∈ P → y w ( y ∈ LPOW(p) ∀ ∃ ∃ ∧ y − 1  (p − 1)w ∧ p − 1 | w − t ∧ p − a | y − b )] . + Let a ∈ R be such that all powers of a are distinct. If k ∈ š is such that λ(t, a, ak) holds, then t  k. Proof. Our argument resembles closely that of the proof of Proposition 6.5: with nota- tion as in Definition 6.3, let β  ψ, where ψ is given by Formula (3.1), so that the subset Bp of R[x] defined by β(·, p) is precisely LPOW(p). Therefore, the subformula y w ( y ∈ LPOW(p) ∧ y − 1  (p − 1)w ∧ p − 1 | w − t ∧ p − a | y − b ) ∃ ∃ of λ(t, a, b) is precisely the formula

y w [ Lβ(t, p, y, w) ∧ p − a | y − b ] , ∃ ∃ with Lβ(t, p, y, w) as in Definition 6.3. If p ∈ P, then Bp  LPOW(p)  POW(p) by item + b of Theorem 5.5; in particular, logp Bp  Z . Moreover, we have that p − 1 is regular, by the definition of P. Thus, we are in the hypotheses of Lemma 6.4. Let r ∈ R be fixed. We will show that t(r)  k. If p  x − r + 1, then p ∈ P by Remark 5.6. Since λ(t, a, ak) holds, there exist y, w ∈ R[x] such that p satisfies both k the formula Lβ(t, p, y, w) and the condition p − a | y − a . In particular, Lemma 6.4a + grants the existence of an element n ∈ logp Bp  Z (n possibly depends on r) such that p − 1 | t − n and y  pn. Since p − 1  x − r, the condition p − 1 | t − n becomes x − r | t − n, which in turn is equivalent to have t(r)  n. Since we also have p−a | y−ak and obviously p−a | pn−an always holds, we conclude that p − a divides (y − ak) − (pn − an)  an − ak (recall that y  pn). Thus, there exists ` ∈ R[x] such that an − ak  (p − a)`  (x − r + 1 − a)`. After evaluating at x  r − 1 + a and taking into account that an − ak ∈ R (because a ∈ R), we get an − ak  0. As all powers of a are distinct, the equality an  ak forces n  k, hence t(r)  n  k, as desired. Since k is fixed and therefore does not depend on r, we have proven that if λ(t, a, ak) holds, then the polynomial function induced by t has constant value k. As all powers of a are distinct, it follows that R is infinite, so we can apply Theorem 4.14 to conclude that t  k. 

Theorem 6.9. Let S  R[x], with R being a reduced indecomposable characteristic zero ring which is not a field. Let U be as in Definition 5.4, and let Φ(·, ·) be the formula given in Corollary 5.10, defining powers of constant elements, namely, Φ(t, a): p q [ p ∈ U ∧ q ∈ U ] → y z [ y ∈ LPOW(p) ∧ z ∈ LPOW(q) ∀ ∀ ∃ ∃ ∧ p − a | y − t ∧ q − a | z − t ∧ p − q | y − z ]  . If Υ(t): b [ Φ(b, 2) ∧ λ(t, 2, b)] , ∃ + with λ as in Proposition 6.8, then Υ defines Z in S.

Proof. We have, by Corollary 5.10, that for any a ∈ R the formula Φ(·, a) defines the set POW(a). Therefore, if Υ(t) holds, then there exists a positive integer k such that formula λ(t, 2, 2k) holds. Since R has characteristic zero, all powers of 2 are distinct, + and therefore we may take a  2 in Proposition 6.8, obtaining t  k ∈ Z . 26 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO + + Conversely, if t ∈ Z  š (recall that char(R)  0), say t  n, then it is easy to see that Υ(t) holds for the choice b  2n: more specifically, the reader may check that the formula λ(n, 2, 2n) holds by taking, for each p ∈ P (where P is defined as in n Definition 5.4), the values y  p and w  wn(p).  6.5. The unified formula (“One Formula to define them all”). In the previous two + subsections we have provided two techniques that define Z in two different cases (Theorems 6.6 and 6.9). To sum up, let H be the class of reduced indecomposable polynomial rings. Let H1 be the subclass of rings in H where every nonzero integer is invertible, and let H2 be the subclass of rings in H that may be expressed as R[x], where R is a nonfield of characteristic zero. By Proposition 4.8, if S is a member of H not belonging to H1, then S belongs to H2, and this is equivalent to the following identity of classes: H  H1 ∪ H2 . We remark that these subclasses do overlap: for example, the ring R  ‘[s, t]/(st) (Example 4.9) is a reduced indecomposable nonintegral domain (hence a nonfield) of characteristic zero in which every nonzero integer is invertible. Therefore, any of the + two techniques developed could be used to define Z in R[x]. + At this point of the paper we have already proven that Z (and, consequently, the whole prime subring) is definable in all reduced indecomposable polynomial rings. However, depending on whether we work over H1 or H2, we resorted to distinct formulas, that were denoted by Θ and Υ, respectively, in order to write out the definition sought. + In what follows we merge Θ and Υ into a single formula, defining Z in any reduced indecomposable polynomial ring, covering this way the whole class H uniformly. To this end, we begin by constructing an auxiliary sentence characterizing nonmembership in H1, and therefore forcing membership in H2. + Lemma 6.10. Let S  R[x], with R a reduced indecomposable ring. Let C  Z ∩ ({0} ∪ S∗) be the set defined by the formula Θ as in Theorem 6.6, and define Ξ : t ( t ∈ C ∧ t + 1 < C ) . + ∃ Then C  Z if and only if Ξ does not hold. Moreover, if Ξ holds in S, then R is a nonfield of characteristic zero. + Proof. By Theorem 6.6 we have that C is a subset of Z containing 1, and therefore + C  Z if and only if C is closed under the successor function t 7→ t + 1, which is equivalent to negating Ξ, proving the first assertion. For the second assertion, if R is a field or R has positive characteristic, then every nonzero integer in S is invertible (by + Proposition 4.8 in the latter case). Therefore C coincides with Z in these cases, and so Ξ is false.  What follows is the main result of our work: there is a formula defining the prime subring in all reduced indecomposable rings R[x], regardless of the coefficient ring R. As mentioned in Remark 6.7, we stress how the result of Theorem 6.6 plays a critical + role in the proof of our final claim, for it guarantees that 1 ∈ C ⊆ Z , regardless of the coefficient ring R. Theorem 6.11. Let S  R[x], with R a reduced indecomposable ring. Let Ω(t): [ ¬ Ξ ∧ Θ(t) ] ∨ [ Ξ ∧ Υ(t)] , where Θ and Υ are the formulas given by Theorems 6.6 and 6.9, respectively, and Ξ is given + by Lemma 6.10. We have that Ω defines the set Z in S. DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 27

Proof. Observe that t ∈ C, if Ξ is false ; Ω(t): Υ(t), if Ξ is true , + with C as in Lemma 6.10. If Ξ is false, then C  Z by Lemma 6.10. Otherwise, + R is a nonfield of characteristic zero, again by Lemma 6.10, hence Υ defines Z by + Theorem 6.9. In either case, we have proven that Ω(t) holds if and only if t ∈ Z .  6.6. Interpretability of positive integers. Undecidability is often obtained in literature as a consequence of interpretability. In Subsection 6.1, however, we have shown a rela- tively simple technique that proves undecidability without resorting to interpretability. While undecidability of the full theory of R[x] is a concrete computational goal, in- terpretability of the ring š in R[x] is more of a theoretical issue. Since the latter is a stronger property than the former, we devote this subsection to its proof. Beyond the machinery considered in Subsection 6.1, here we further need to find a first-order property that detects whether two powers of elements of a certain definable set, possibly of different bases, have the same exponent. We show how to exploit the notion of logical powers to provide a two-dimensional interpretation of the structure + consisting of the set š of positive integers with the usual sum and divisibility, in S  R[x], whenever R is a reduced indecomposable ring. As we already observed in Subsection 6.1 while proving undecidability of the full theory of our rings, the product + can be written, on š , in terms of divisibility and sum. Therefore, interpreting equality, sum and divisibility will suffice for our purposes. We will use three different techniques, according to whether R is either 1) a nonfield, 2) a characteristic zero field or 3) a field of positive characteristic, the case 2) being actually a simple adaptation of the exponent-extracting technique developed in Subsection 6.2. We follow the notation of n-dimensional interpretations that can be found in [Hod93, Section 5.3], which consists, in our context, of a surjective map f from a suitable definable + subset of Sn to š and the definition of formulas that are, on this subset, equivalent to + the relations on š given by x  y, x + y  z and x | y, respectively. + The reader may notice that the result on definability of Z , just proven in the previous subsection, would itself provide a one-dimensional interpretation of positive integers in + + the characteristic zero case, where Z coincides with š . This may simply be achieved + + by taking, for a surjection, the identity on the definable subset Z  š of S. However, reduced indecomposable rings of characteristic p > 0 are clearly not covered by this technique, which is only able to define integers modulo p, and other methods are therefore necessary to achieve our goal. Formulas interpreting sum and divisibility will be defined along the lines of Subsec- tion 6.1 and exploited in our proof of interpretability, but the really nontrivial argument introduced in this subsection is the interpretation of equality in S, especially for the subclasses 1) and 3) mentioned above. In a nutshell, for powers qn of the elements of suitable sets, we need a way of extracting exponents n without “bringing them down”, + that is, talking of n ∈ š in some abstract level, without necessarily ending up talking about n · 1S ∈ S. We start the subsection by introducing two important subsets of our polynomial rings. Definition 6.12. Let S  R[x], with R reduced indecomposable. Consider the set V as in Definition 5.4, and define the sets

W  {p ∈ R[x]: p − u ∈ V for all u ∈ {0} ∪ R∗} and L  {vx + r: v ∈ R∗, r ∈ R} . 28 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

In the case where R is a field, the reader may notice that L coincides with the set of degree 1 polynomials. Observe that the set W is definable, because V is definable and R∗  S∗ (the latter by Proposition 4.2, since R is reduced), and that we may easily rewrite W in the form W  {p ∈ V : p − u ∈ V for all u ∈ R∗}; in particular, elements p ∈ W ⊆ V inherit (see Subsection 6.1) the properties • LPOW(p)  POW(p); • All the powers of p are distinct; and • For any positive integers m and n, we have pm − 1 | pn − 1 if and only if m | n.

The next result shows the relationship between the sets W and L.

Proposition 6.13. With notation as in Definition 6.12, we have the following: a. L ⊆ W. b. If p ∈ W r L, then the constant term of p does not belong to {0} ∪ R∗. c. If R is a field, then W  L. In particular, L is definable in this case.

Proof. a. Just recall that L ⊆ V by Remark 5.6 and observe that L is closed under trans- lations by a constant. Alternatively, as W is definable, the reader may observe that elements of L are automorphic images of x ∈ W, but in order to prove that x ∈ W the argument in Remark 5.6 must be applied anyway. b. Let p ∈ W and write p  p0 + xg, with p0 ∈ R. We want to show that, if r  p0 ∈ {0} ∪ R∗, then p ∈ L. Since p ∈ W, supposing r ∈ {0} ∪ R∗, we have xg  p − r ∈ V, and since elements of V are irreducible, g must be a unit, say g  v, proving p  vx + r ∈ L. c. The claim follows from item b and the fact that, if R is a field, then R  {0}∪R∗.  Next, we define a class of first-order expressible equivalence relations which will be useful for our purposes:

Definition 6.14. Let W be defined as above and p, q ∈ W. Recall that for elements of U (and therefore for elements of W) positive powers coincide with logical powers. We say that p and q are 1-connected (and write p ∼ q) if, taking any y  pm ∈ LPOW(p) and z  qn ∈ LPOW(q) such that p − q | y − z, we must have m  n. We say that p and q are k-connected (and write p ∼k q) if there exist p0, ... , pk ∈ W with p0  p and pk  q, such that pi 1 ∼ pi for i  1, ... , k. We say that p and q are connected if they are k-connected for− some positive integer k.

Remark 6.15. It is trivial to see that being 1-connected is by definition (and by properties of divisibility) a symmetric relation, and it is also reflexive because all elements of V (and therefore all elements of W) have distinct positive powers. This makes k-connectivity reflexive (take p0  p1  ···  pk  p) and symmetric (take  ∼ p0i pk i and use symmetry of ), which in turn implies that connectivity is reflexive and symmetric.− Furthermore, transitivity of the connectivity relation may be proven by merging connecting sequences, concluding that being connected is an equivalence ∼ ≤ ∼ relation. Finally, observe also that, if p k1 q and k1 k2, then p k2 q, by extending     p0 p, ... , pk1 q identically by pj q on the right, for j k1, ... , k2. DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 29

Lemma 6.16. Let R be a reduced indecomposable ring and let p, f ∈ R[x] be such that p | f. If the lowest degree nonzero coefficient of f is a unit, then the lowest degree nonzero coefficient of p must be a unit as well.

Proof. Notice that this result is an analogous version of Lemma 4.1d, obtained by re- placing “leading coefficients” by “lowest degree nonzero coefficients”, and the corre- sponding proof can be adapted to meet our purpose. Alternatively, for any polynomial m m 1 k g  gmx + gm 1x − + ··· + gkx ∈ R[x], where m ≥ k, gk and gm being nonzero, we define the reciprocal− polynomial of g as m k g^  gm + gm 1x + ··· + gkx − . −  m ( 1 ) [ 1 ] One can easily check the equality g^ x g x in the ring R x, x of Laurent polynomials over R ([Eis95, Exercise 2.17]), and observe that the lowest degree nonzero coefficient of g is precisely the leading coefficient of g^. Therefore, if p divides f, say f  pq, then ( 1 )  ( 1 ) ( 1 ) deg f +deg p +deg q multiplying the equality f x p x q x by x ( ) ( ) ( ) yields the equality deg p +deg q ^ deg f x ( ) ( ) · f  x ( ) · p^q^ in R[x]. Now, the lowest degree nonzero coefficient of f, which we are supposing to be a unit, coincides with the leading coefficient of f^, which is also the leading coefficient of deg p +deg q ^ x ( ) ( ) · f, and the latter polynomial is a multiple of p^. Therefore, by Lemma 4.1d, the leading coefficient of p^ must be a unit, and since this is the lowest degree nonzero coefficient of p, the result follows.  Lemma 6.17. Let p, q ∈ R[x], with R being a reduced indecomposable nonfield. If p ∈ W and the constant term of p does not belong to {0} ∪ R∗, then p ∼ x. In particular, all elements of W r L are 1-connected with x (and therefore, trivially, they are 2-connected with x). Proof. p − x | pm − xn, together with p − x | pm − xm, implies p − x | xm − xn. The lowest degree nonzero coefficient of p − x coincides with its constant term (as the latter is nonzero) and therefore is a nonunit. Therefore, by Lemma 6.16 the lowest degree nonzero coefficient of xm − xn must be also a nonunit, and this can only happen when m  n (otherwise the required coefficient would be ±1). The last part of the statement follows from Proposition 6.13b and from the last part of Remark 6.15.  Theorem 6.18. If R is not a field, then all elements of W are 2-connected with the element x, and consequently 4-connected with each other. Proof. If p ∈ W r L, then we already know that p ∼ x, by Lemma 6.17. The same result also accounts for the case p  vx + r ∈ L, when r is a nonzero nonunit. Therefore we are left with the case

p  vx + w, with v ∈ R∗ and w ∈ {0} ∪ R∗ . Fix a nonzero nonunit r of R (recall that R is not a field). Following Lemma 5.7, we have two possibilities: either there exists u ∈ R∗ with u − 1 < {0} ∪ R∗, or else any element of R is a sum of two nonunits. In the first case define g  uvx + r: we claim that p ∼ g and g ∼ x, so that p ∼2 x. For the first connection, if m , n, then the leading coefficient of pm − gn is either vm or −(uv)n, hence a unit. Since the leading coefficient of p − g is a (nonzero) nonunit, namely (1 − u)v, it follows from Lemma 4.1d that p − g cannot divide pm − gn. The second connection follows from Lemma 6.17. In the second case, write w  a + b, where a and b are constant nonunits. We can also suppose that a and b are both nonzero: if w is a unit, this is automatic; otherwise, 30 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO w  0 and we may take a  r, b  −r. Defining g  vx + a, we claim that p ∼ g and g ∼ x, so that p ∼2 x. For the first connection notice that, if m , n, then the constant nonunit p − g  b cannot divide pm − gn, because otherwise it would divide all its coefficients, in particular its leading coefficient, which is a unit, namely vm or −vn: a contradiction. The second connection follows from Lemma 6.17. We have proven that, in any case, p ∼2 x. The remaining part of the claim follows easily by gluing, for any two p, q ∈ W, connecting sequences for p ∼2 x and x ∼2 q to get p ∼4 q. 

Next, we are going to define an important set, which will be used at a starting point to interpret (actual) positive integers in R[x].

Definition 6.19. Let R be a reduced indecomposable ring, and consider W ⊆ R[x], the set introduced in Definition 6.12. We define ∆ as the following subset of R[x] × R[x]:

∆  {(p, y): p ∈ W, y ∈ LPOW(p)} .

Notice that ∆ is a definable subset of R[x] × R[x] (because W is definable, and the sets LPOW(p) are definable using p as a parameter), and it coincides with the set + {(p, pn): p ∈ W, n ∈ š }, because W ⊆ V ⊆ U, and elements p ∈ U satisfy LPOW(p)  POW(p) (Theorem 5.5b). When R is not a field, we have proven that any two elements of W are 4-connected, + and this is sufficient to construct a two-dimensional interpretation of (š , +, | ) in R[x] with domain ∆ ⊆ R[x] × R[x]:

Theorem 6.20. Let R be a reduced indecomposable ring which is not a field. There is a + two-dimensional interpretation Γ of (š , +, | ) in the ring R[x] consisting in the following:

• The domain ∆ ⊆ R[x] × R[x] as described in Definition 6.19; + • The surjective map f: ∆ → š given by (p, pn) 7→ n; • For interpreting the equality on š+, the four-variable formula

 Û3  p, y Γ q, z : p0 p1 p2 p3 p4 p0  p p4  q pi W ( ) ( ) ∧ ∧ ∈ −−−→ ∀ ∀ ∀ ∀ ∀ i1   Û4  y0 y1 y2 y3 y4 y0  y y4  z pi pi 1 yi yi 1 ∧ ∧ − − | − − ∃ ∃ ∃ ∃ ∃ i1 !  Û3   yi LPOW pi ; ∧ ∈ ( ) i1

• For interpreting the sum on š+, the six-variable formula   p, y + q, z  r, w : z0 w0 z0 LPOW p w0 LPOW p ( ) ( ) ( ) Γ ∃ ∃ [ ∈ ( ) ∧ ∈ ( ) p, z0 Γ q, z p, w0 Γ r, w yz0  w0 ; ∧ ( ) ( ) ∧ ( ) ( ) ∧ ]

• For interpreting the divisibility on š+, the four-variable formula

p, y q, z : z0 z0 LPOW p p, z0 Γ q, z y 1 z0 1 . ( ) Γ ( ) ∃ [ ∈ ( ) ∧ ( ) ( ) ∧ − | − ] DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 31

Proof. Clearly, as powers coincide with logical powers for elements of W, and are all distinct (see the proof of Theorem 6.1), the map f is well defined and surjective. We claim that, for all (p, y), (q, z) ∈ ∆, the formula (p, y) Γ (q, z) holds true if and only if f(p, y)  f(q, z). This amounts to saying that, for p, q ∈ W and m, n positive integers, m n (p, p ) Γ (q, q ) if and only if m  n. Let p, q ∈ W. If m  n and p0, ... , p4 ∈ W are such that p  p0 and q  p4, then we  n ( n)  ( n) may take yi pi and it can be easily checked that p, p Γ q, q holds true through m n such choices. Conversely, suppose (p, p ) Γ (q, q ) is true for p, q ∈ W. Since we know by Theorem 6.18 that p ∼4 q, we may take a connecting sequence p0, ... , p4, with p0  p, p4  q, that is, with the property that for any i  1, ... , 4, if pi − pi 1 divides ni ni 1 m n − p − p − n  n (p p )  (q q ) i i 1 , then i i 1. Since , Γ , is true, we have that for this − −  ni   m connecting sequence there exist yi pi , for i 0, ... , 4, with y0 p (and therefore n ni ni 1 n  m y  q n  n p − p | p − p − i  ... 0 ), 4 (and therefore 4 ) and i i 1 i i 1 for 1, , 4. − − Connectedness implies ni  ni 1 for i  1, ... , 4, proving n  n0  ···  n4  m, as required. − Once we proved that the relation Γ works for our purpose, it is easy to check that the same occurs for the sum: for p, q, r ∈ W and positive integers m, n and k, we +  ( m) + ( n)  ( k) have that m n k if and only if p, p q, q r, r Γ holds. To prove this, m n k n k suppose first m + n  k and write y  p , z  q , w  r . Taking z0  p , w0  p , n k it is straightforward to see that (p, z0) Γ (q, q ), (p, w0) Γ (r, r ) and yz0  w0. For ( m) + ( n)  ( k) the converse, observe that if p, p q, q r, r Γ is true, then there must exist n0 k0 n k m z0  p , w0  p such that (p, z0) Γ (q, q ), (p, w0) Γ (r, r ) and p z0  w. Since the relation Γ was proven to be equivalent to equality of exponents, we get n0  n m m+n k and k0  k, and therefore the condition p z0  w0 becomes p  p , which proves m + n  k, since the powers of p are distinct.

Finally, in order to prove that the relation Γ plays the role meant for it, we shall take ∈ š+ ∈ | ( m) ( n) m, n and p, q W, and prove that m n if and only if p, p Γ q, q . To this end, we use the fact that for any h ∈ W ⊆ V, we have m | n if and only if hm − 1 | hn − 1 n (see Subsection 6.1). If m divides n, we may take z0  p : by what was proven, we have ( )  ( n) m − −  n − ( m) ( n) p, z0 Γ q, q and clearly p 1 divides z0 1 p 1, making p, p Γ q, q ( m) ( n)  k ∈ ( ) true. Conversely, if p, p Γ q, q is true, then there exists z0 p LPOW p such n m that (p, z0) Γ (q, q ) and p − 1 | z0 − 1. The first condition, as we proved, leads to k  n, whereas the second condition implies m | k.  + We have therefore proved interpretability of the structure (š , +, | ) in reduced indecom- posable polynomial rings over a nonfield, by defining and exploiting the connectivity relation on W. We now turn our attention to the case where R is a field.

Remark 6.21. In the definability section, the case of fields was accounted for by the formula Θ defined in Theorem 6.6. Let R be a field and S  R[x]. Given + ` ∈ L  W ⊆ P, fix y  `n ∈ LPOW(`), with n ∈ š . By reasoning as in the proof of Proposition 6.5, we conclude that n · 1S is the unique element t in S satisfying the conditions t ∈ {0} ∪ S∗ and (♠) there exists w ∈ S such that ` − 1 | w − t and y − 1  (` − 1)w . Regularity of ` − 1 implies that w is uniquely determined by the equality y − 1  (` − 1)w, namely w  wn(`); see Equation (6.1). Therefore we may rewrite( ♠) − y 1 − unambiguously in the form “` 1 `−1 t”. − 32 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Recall that L  W is definable whenever R is a field (Proposition 6.13c), and that + + Z  š in characteristic zero. These facts, together with Remark 6.21, allow to construct an interpretation in the case of fields of characteristic zero, and allows to prove definability, with parameter varying in the definable set L, of certain special sets that will help setting interpretability in the positive characteristic case too. First, let us observe how, in the case where R is a field of characteristic zero, one can easily + construct a two-dimensional interpretation of the structure (š , +, | ) whose domain and associated surjection are the same used for the case of nonfields.

Theorem 6.22. Let R be a field of characteristic zero and let ∆ ⊆ R[x] × R[x] be as in + Definition 6.19. There is a two-dimensional interpretation of (š , +, | ) in R[x] with domain + ∆, and with associated surjective map sending (`, `n) to n ∈ š .

Proof. We set the interpretation of equality to be

  y − 1   y − 1   (` y )  (` y ) t t ∈ { } ∪ S I ∧ ` − 1 − t ∧ ` − 2 − t 1, 1 Γ 2, 2 : 0 ∗ 1 1 − 2 1 − . ∃ `1 1 `2 1

By Remark 6.21, this relation is equivalent to saying that y1 and y2 have the same exponents as powers of `1 and `2, respectively. Interpretations of sum and divisibility are defined by using the same formulas as in the case of nonfields, with the definition 9 just given replacing the former definition of Γ : the proof of their equivalence to sum + and divisibility on š is identical to that provided in Theorem 6.20. 

We now move to the case where R is a field of positive characteristic p > 0, where a two- dimensional interpretation will be given on a subset of ∆ and for which the definition of equality requires more effort to be established.

Notational warning. In the rest of this subsection, since p is the name chosen for the characteristic, and L  W is our definable subset of R[x] of reference, we will refer to the general element of L  W as ` instead of p. Notice that this convention is already used in the previous case (fields of characteristic zero).

We begin by introducing, for any fixed polynomial `, two important sets of polyno- mials, which will turn out to be definable (with parameter) whenever ` is a degree 1 polynomial, that is, an element of L.

Definition 6.23. Let R be a field of characteristic p > 0. For ` ∈ R[x], we define the following sets: • MPOW(`) is the set of powers of ` whose exponent is a multiple of p; • PPOW(`) is the set of powers of ` whose exponent is a positive power of p.

I + Although the condition “t 0 S∗” seems odd to interpret š in the characteristic zero case (it could be changed to “t S ”), such∈ { uniform} ∪ writing also works in the positive characteristic case, where ∈ ∗ the set 0 S∗ (and not S∗) contains the images of all integers in the prime subring. 9 { } ∪ Since this difference does not affect the proof of interpretability, we may safely consider the inter- pretations for sum and divisibility as “essentially equal” to those of Theorem 6.20. DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 33

Notice that PPOW(`) ⊆ MPOW(`) ⊆ POW(`) holds trivially for any ` ∈ R[x], and recall that LPOW(`)  POW(`) whenever ` ∈ L.

Lemma 6.24. Let R be a field of characteristic p > 0. Given y ∈ R[x] and ` ∈ L, we have: a. y ∈ MPOW(`) if and only if y ∈ LPOW(`) and (` − 1)2 | y − 1. b. y ∈ PPOW(`) if and only if • y ∈ MPOW(`), and

• For any y0 ∈ LPOW(`) with y0 , y and y0 − 1 | y − 1, we have y0 ∈ MPOW(`). Consequently, given ` ∈ L, we have that both MPOW(`) and PPOW(`) are definable using ` as parameter.

Proof. a. As ` ∈ L, we have observed that MPOW(`) ⊆ LPOW(`). Therefore it is enough to show that, for y ∈ LPOW(`), we have that y ∈ MPOW(`) if and only if + (` − 1)2 divides y − 1. Take any n ∈ š . By recalling, as in Equation (6.2), `n 1  ( )  ( − )[ n 2 + n 3 + ··· + ( − ) + ( − )]L + · that ` −1 wn ` ` 1 ` − 2` − n 2 ` n 1 n 1S, or the − − `n 1 − · argument in Remark 6.21, we get that ` 1 divides ` −1 n 1S, where regularity of ` − 1 allows the slight abuse of notation. This fact,− together with the fact that linear polynomials divide no nonzero constant, allows us to argue that

n − 2 n ` 1 (` − 1) | ` − 1 ⇐⇒ ` − 1 ⇐⇒ ` − 1 | n · 1S ⇐⇒ n · 1S  0 , ` − 1

and to conclude, for any y  `n ∈ LPOW(`), that (` − 1)2 | y − 1 if and only if p | n. + b. Observe that, for all m, n ∈ š , we have `m − 1 | `n − 1 if and only if m | n (because ` ∈ V), and that powers of p can be characterized as those multiples of p whose only positive divisors, except for 1, are multiple of p. These facts, together with the result of item a, yield the claim. 

+ Before giving the interpretation of the structure (š , +, | ) in the last case, a technical lemma is needed, expressing a relationship between two powers of linear polynomials, sharing a suitable exponent, in the prime characteristic case.

Lemma 6.25. Let R be a field of characteristic p > 0, and suppose that k  pm, with m ≥ 1. ` ` ∈ L ⊆ R[x] u ∈ R ρ ∈ R `k  u`k + ρ Given 1, 2 , there exist ∗ and such that 1 2 .

a1b2 a1 Proof. We may write `i  aix + bi, with a , a 0. By setting s  b − and v  , 1 2 , 1 a2 a2 we get `1  v`2 + s. Notice that raising elements of R[x] to k is the m-th iterate of the `k  u`k+ρ , hence an additive map. Therefore we may write 1 2 , k k where u  v ∈ R∗ and ρ  s . 

The following result is a hint to the interpretation of equality that we intend to build for the positive characteristic field case.

L For n  1, the expression in brackets is understood to be an empty sum. 34 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Proposition 6.26. Let R be a field of characteristic p > 0 and let `1, `2 ∈ L. Suppose that  ki ∈ ( ) k1, k2 are powers of p with positive exponents, and set yi `i (that is, yi PPOW `i for i  1, 2). We have k1  k2 if and only if there exist u ∈ R∗ and ρ ∈ R such that y1  uy2 + ρ.

Proof. The “only if” part follows from Lemma 6.25. For the converse, just observe that, if two polynomials differ by a constant, then they must have the same degree, and that multiplying by a unit does not alter the degree. 

Theorem 6.27. Let R be a field of characteristic p > 0 and consider the polynomial ring S  R[x]. There is a two-dimensional interpretation of š+ in S with domain ∇  (`, y): ` ∈ L, y ∈ PPOW(`) , n + and with associated surjective map sending (`, `p ) to n ∈ š .

Proof. The interpretation of equality is given by

(`1, y1) Γ (`2, y2) : u ρ ( u ∈ S∗ ∧ ρ ∈ {0} ∪ S∗ ∧ y1  uy2 + ρ ) . ∃ ∃ The subset ∇ ⊆ S × S is definable without parameters, because the sets PPOW(`) are definable using ` as a parameter (by Lemma 6.24b) and L  W is definable. Moreover, n the map (`, `p ) 7→ n is well defined because the powers of elements in L are distinct, and surjective by the definition of the sets PPOW(`). Equivalence between Γ and the equality of positive integers is just the content of Proposition 6.26 and, once this is granted, the equivalence of sum and divisibility on + š with the maps defined follows exactly as in the proof of Theorem 6.20.  By gathering Theorems 6.20, 6.22 and 6.27 together with the fact that the product on + š may be defined in terms of sum and divisibility, we may conclude that for any reduced indecomposable ring R there exists a two-dimensional interpretation of the + structure (š , +, ·) in R[x]. From this interpretation, it is straightforward to build an interpretation of the ring š in such cases.

7. Appendix: miscellaneous considerations In this section we place additional findings concerning our work, which are not strictly necessary to prove the main result but have appeared as side-results, by-products and optimal generalizations and may be useful in future attempts at extending our claims to wider classes of rings or in more general contexts.

7.1. A generalization of the uniform exponent-extracting technique and an applica- tion in the noncommutative context. In this subsection we will give another version of Lemma 6.4, whose claim is presented in terms of maps between sets of first-order formulas, mapping simple formulas into complex ones, the latter being built out of the former. The theorem is stated for unital rings, possibly noncommutative. In the commutative case, the technique works as an alternative argument for defining the prime subring in rings of our subclass H1 (see Subsection 6.5), for it relies crucially on the existence of a definable set containing the positive integers and, for at least one element r ∈ R, no two polynomials taking the same value at r. If S is in H1, then the set {0} ∪ S∗ has this property because it is a set of constant elements. We also provide, as an application of this more general criterion, an example of a noncommutative ring in which the prime subring is definable by using an extra constant symbol. DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 35

Theorem 7.1. Let F1 (resp. F2) denote the set of one-variable (resp. two-variable) first-order formulas in the language of unital rings. Consider the function L: F1 × F2 → F2 given by [L(α, β)](t, s): α(t) ∧ y w [ β(y, s) ∧ y − 1  (s − 1)w ∧ s − 1 | w − t ] , ∃ ∃ where “|” denotes left divisibility. Let S be a unital (not necessarily commutative) ring and let Q be a subset of S such that for all elements p ∈ Q: (1) p − 1 is left cancelable. + (2) There is a definable set Ap such that for all n ∈ Z there is a unique element G sp(n) ∈ Ap right congruent to n modulo p − 1. (3) There is a two variable formula B(p) ∈ F2 such that [B(p)](·, p) defines a subset Bp of POW(p). The following hold:

a. For all p ∈ Q, the set sp(logp Bp) is definable, by using an extra symbol for p. b. If Q is definable, then the sets ∩p Qsp(logp Bp) and ∪p Qsp(logp Bp) are definable in the language of rings. ∈ ∈ + c. For any p ∈ Q that further satisfies Z ⊆ Ap, we have that logp Bp is definable in the language (0, 1, +, ·, p) with an extra symbol for p. Moreover, if Bp  POW(p), + then Z is definable in S in the language (0, 1, +, ·, p). + d. If Q is definable, all elements of Q satisfy Z ⊆ Ap, and at least one of them satisfies + Bp  POW(p), then Z is definable in S in the language of rings. Moreover, if all + p ∈ Q satisfy Bp  POW(p), then we may define Z either as a union or as an + intersection of equal copies of Z , quantified over Q.

Proof.

a. By properties (2) and (3), if A(p) denotes the formula defining Ap, then the maps A: Q → F1 and B: Q → F2 may be merged into their direct product function (A, B): Q → F1 × F2, sending p to (A(p), B(p)), and the composition [L◦(A, B)(p)] may partly evaluate at p in the second variable. It is easy to observe that [L ◦ (A, B)(p)](·, p)  [L(A(p), B(p))](·, p) defines the set of elements t of Ap such that y w LB p (t, p, y, w) holds, where LB p is the formula Lβ defined in Definition∃ 6.3∃, and( where) “|” stands for left divisibility.( ) As Bp is a subset of POW(p), the exponent-extracting function logp may be defined on this set and we are in the condition to apply Lemma 6.4 (the reader may check that the proof of this result works identically for noncommutative rings, for it only requires condition (1) on cancelability of p − 1 from the left). By Lemma 6.4b the above formula defines the set Ap ∩ [logp Bp + (p − 1)S]. An element t ∈ S belongs to this set if and only if it lies in Ap and it is right congruent to some element of logp Bp modulo p − 1, that is, there exists a positive integer n in logp Bp (elements of logp Bp are always positive integers) right congruent to t modulo p − 1. However, by our hypothesis on sp, the only such element is sp(n). Therefore this set is given by the images of elements of logp Bp under + sp : Z → Ap, as required. b. If Q is definable, then quantifying universally or existentially on p ∈ Q gives definitions of the required sets in the language of rings, for it eliminates the need of a symbol for p in the defining language.

G By right congruence we mean congruence modulo the right ideal generated by p 1. − 36 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

c. As any integer is trivially congruent with itself modulo p−1, if an integer belongs to Ap, then it must coincide with its image under sp by condition (2). Therefore + sp coincides with the inclusion of Z in Ap and the first part of the claim follows + by item b. Clearly, if Bp  POW(p), then logp Bp  Z and the second part of the claim follows as well. d. By merging items b and c we get a formula defining the union, over Q, of the + sets logp Bp. But these are all subsets of Z and at least one of them coincides + with it. Therefore such union must be Z . The last claim is straightforward, as one is able to use either the universal or the existential quantification described in the proof of item b. 

Remark 7.2. The reader may notice how items a and c of the previous theorem, as well as its hypotheses, have a totally elementwise formulation, making sense for one element p of S at a time, with no need for defining a set Q. However, we preferred to include the set Q (and items b and d) within the same result and let the reader think of the elementwise formulation as the case Q  {p} (notice that in a and c the set Q needs not be, a priori, definable).

The result above can be interpreted as a statement on a diagram of trivial set bundles on S. More specifically, if we consider the following setting:

• L: F1 × F2 → F2 is defined as in the previous theorem;

• Pdef(S) denotes the set of definable subsets of S;

• TS: F1 → Pdef(S) is the “truth set” function, sending a one-variable formula α to the set αS  {s ∈ S: α(s) is true};  S • Ψ: F2 × S → Pdef(S) is the function given by Ψ(ϕ, s)  TS ϕ(·, s)  ϕ(·, s) , then we may look at the following diagram of trivial set bundles on S:

L idS F1 × F2 × S × F2 × S

Pdef(S) × Pdef(S) × S Pdef(S) × S

where the right downward arrow is given by the map (Ψ, πS): F2 × S → Pdef(S) × S, sending (ϕ, s) into (Ψ(ϕ, s), s)  (ϕ(·, s)S, s) (that is, the direct product map of Ψ with the projection on the factor S), and the left downward arrow is TS × (Ψ, πS). Under this point of view, the theorem can be interpreted in terms of the corresponding maps of sections of these bundles over a subset Q ⊆ S: it amounts to saying that, if we restrict the diagram to Q ⊆ S and to the section (A, B), that is, if we compose from the top  left with A, B, ⊆ : Q → F1 × F2 × S sending p to (A, B, p), then we may take the dashed  arrow to be (X, Y, p) 7→ sp logp(Y) , making the restricted diagram commute, provided that, for all p ∈ P, B(p) ⊆ POW(p) and the quotient map S → S/(p − 1) coequalizes + the inclusion map Z ⊆ S and jp ◦ sp, where jp is the inclusion map Ap ⊆ S. The last condition is equivalent to saying that the lower triangle in the diagram below commutes DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 37 for all p ∈ Q .

πQ

L idQ Q  F1 F2 Q × F2 Q ∈ A, B, id × × × p Q

TS Ψ ,πQ Ψ ,πQ F2 Q F2 Q × ( × ) ( × )

Pdef S Pdef S Q Pdef S Q ( ) × ( ) × ∃  ( ) × sπQ logπQ π2 , πQ (·) ◦ (·) ◦ ⊆  Pdef S Pdef POW p Q ( ) × ( ) × ∈ Ap, Bp, p ) jp ⊆ ( ) sp S π

+ π Z S S p 1 ⊆ /( − ) In some sense, if we find a way of measuring some homotopic-like information about how much the square diagram fails to be commutative (or better, to admit a bottom arrow “closing it” and making it commute), a set Q whose elements all have the properties listed in Theorem 7.1 is one that is “small enough to trivialize the bundle diagram”. Properties of Theorem 7.1 can be expressed in terms of the section map induced by the leftmost downward arrow landing into a subset of the sections over Q, say E(Q) ⊆ (Pdef(S) × Pdef(S) × S)(Q), characterized in turn by the fact that images of its sections, considered as maps Q → Pdef × Pdef × S, belong to a special subset whose elements (Ap, Bp, p) share the properties described in the hypotheses of Theorem 7.1. We can build up this way the subbundle E ⊆ Pdef(S) × Pdef(S) and claim that if, locally (over Q), the leftmost arrow in the square lands inside E, then the rightmost arrow also lands inside a subbundle F ⊆ Pdef × S whose definable sets on the first coordinate are + all contained in Z , and the diagram below can be closed by bottom arrows defined by means of the log functions:

L idS (F1 × F2 × S)(Q) × (F2 × S)(Q)

E (Q) F (Q)

Corollary 7.3. Let S  R[x] be a reduced irreducible (unital, commutative) polynomial ring belonging to the subclass H1 defined in Subsection 6.5, that is, suppose that all nonzero integers are invertible in S. Denote by A the definable set {0} ∪ S∗ and set

QA  {t ∈ P : t divides no nonzero difference of two elements of A} ,

where P is the set defined in Theorem 5.5. Then QA is clearly definable and we may use it to + define Z , like in Theorem 7.1, as either a union or an intersection of identical copies of itself

In the diagram we preferred the notation πQ to π3 to denote the projection onto the factor Q of F1 F2 Q (as well as all projections onto Q) because Q appears as the second, instead of third, factor of × × the product F2 Q, in the rightmost top corner of the diagram, and we wanted to use the same notation × for the rightmost downward arrow. Nevertheless, we had to opt for π2, rather than πP S for projection def ( ) onto the second factor of Pdef S Pdef S Q, since the first two factors in this case are equal. ( ) × ( ) × 38 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

quantified over QA, that is, by using either one of the formulas  p p ∈ QA → [ t ∈ A ∧ y w Lψ(t, p, y, w)] ∀ ∃ ∃ or  p p ∈ QA ∧ [ t ∈ A ∧ y w Lψ(t, p, y, w)] , ∃ ∃ ∃ where Lψ is defined as in Definition 6.3 and ψ is given by Formula (3.1) and defines logical powers.

Proof. We want to show that we are in the last case of item d in Theorem 7.1 and we may apply the theorem, by taking constant functions A(p)  A and B(p)  β and by using QA in place of the set Q in Theorem 7.1d. Let p ∈ QA. Clearly p − 1 is regular, and + therefore cancelable, because p ∈ P. As Z ⊆ Ap  {0} ∪ S∗, the additional property on QA that p − 1 divides no difference of elements of A  Ap implies that p − 1 cannot divide a difference between a positive integer and an element of Ap, yielding condition S (2). Finally, Bp  ψ(·, p)  LPOW(p)  POW(p), since p ∈ P and it is therefore + contained in Z , which, together with the fact that QA is definable, also grants the further specific hypotheses of Theorem 7.1d. 

As an application of Theorem 7.1c we provide an example of a noncommutative ring in which the prime subring is definable in the language of rings expanded with an extra constant symbol.

Example 7.4. Let D be an integral domain, and let q ∈ D r {0}. The quantum plane over D with parameter q, denoted by S  Dq[x, y], is defined as the quotient of the free noncommutative D-algebra over two generators x and y, by the unique relation yx  qxy. Alternatively, the ring S is the free D-module generated by the monomials m n ∈  Í m n x y , with m, n Ž, so their elements are of the form f m,n Ž2 f m,n x y , ∈ ( ) ( )∈ ( ) with f m,n D and f m,n , 0 for finitely many pairs m, n . Multiplication is given + + by (xm(yn)() xrys)  qrn( xm) ryn s, and extended by D-linearity. (see [Kas95, Chapter IV] for details on the case in which D is a field.) + We claim that Z is definable in (S, 0, 1, +, ·, x), provided that every nonzero integer is invertible in S: for example when D is a field or it has positive characteristic (because in the latter case the characteristic is a prime number, as D is an integral domain), or in other cases such as D  ‘[t]. Toward our aim, we first endow Ž × Ž with the degree lexicographic order: (m, n) ≺ (m0, n0) if either m + n < m0 + n0, or both m + n  m0 + n0 and m < m0. We observe that 4 defines a well-ordering of Ž × Ž, which satisfies the property

(†) (m0, n0)+(r0, s0) ≺ (m, n)+(r, s), whenever (m0, n0) 4 (m, n) and (r0, s0) ≺ (r, s). For f ∈ S r {0}, let max(f) (resp. min(f)) be the maximum (resp. the minimum) pair ( ) ∈ { } ( ) ( ) m, n , with respect to 4, with f m,n , 0. Given g, h S r 0 , if m0, n0 , r0, s0 are ( ) ( ) ( ) ( ) ( ) such that g m ,n , 0 and h r ,s , 0, then m0, n0 4 max g and r0, s0 4 max h , ( 0 0) ( 0 0) so by( †) we have (m0, n0) + (r0, s0) 4 max(g) + max(h), and equality occurs precisely when (m0, n0)  max(g) and (r0, s0)  max(h). ì The above reasoning implies that, for b ∈ Ž × Ž, all summands of Õ (gh)  qr0n0g h b m0,n0 r0,s0 ì ( ) ( ) m ,n + r ,s b ( 0 0) ( 0 0) ì DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 39

ì vanish if b max(g) + max(h), and moreover, in the same way, if we set max(g)  (m, n), max(h)  (r, s), then rn (gh)max g +max h  q gmax g hmax h , 0 . ( ) ( ) ( ) ( ) This shows that gh , 0 and max(gh)  max(g) + max(h) (the equality min(gh)  min(g) + min(h) is proven in a similar way); in particular, every nonzero element in S is left cancelable. Consequently, if g left-divides f, say f  gh, then g, h , 0 (as f , 0) and therefore max(g) ≤ max(g) + max(h)  max(f). ` Let x  gh, with ` ≥ 0 and g, h ∈ S, and let max(h)  (r0, s0). If (m, n) satisfies g m,n , 0, then we have ( ) min(x`)  min(g) + min(h) 4 (m, n) + max(h)

 (m + r0, n + s0) 4 max(g) + max(h)  max(x`) ; ` ` but max(x )  min(x )  (`, 0), and so (m + r0, n + s0)  (`, 0), which forces to have ` m m  ` − r0 and n  0. This proves that any left divisor g of x is of the form g  ax , for some a ∈ D r {0} and some m with 0 ≤ m ≤ `. The same result holds for right divisors (with an entirely similar proof), and so h  bxj for some b ∈ D r {0} and + some j with 0 ≤ j ≤ `. Therefore x`  (axm)(bxj)  abxm j, which implies ab  1 (and m + j  `), hence a ∈ D∗. In particular, the case `  0 implies that every left invertible element in S belongs to D∗. We claim that f ∈ POW(x) precisely when ψ(f, x) holds, ψ being given by for- mula (3.1), and where all the clauses of divisibility are interpreted as left divisibility (under this convention, left divisors of 1 are precisely the right units, also called left invertible). In fact, if f ∈ POW(x), say f  x`, with ` ≥ 1, then the reasoning above m shows that every left divisor of f is of the form ax , with a ∈ D∗ and 0 ≤ m ≤ `, and therefore is either left invertible (m  0) or else a left multiple of x (m > 0); since we also have x | f and x − 1 | f − 1, one of the implications follows. Conversely, let f ∈ S be such that ψ(f, x) holds. Since max(x − 1)  (1, 0) (0, 0), it follows that x − 1 does not left-divide any element of D r {0}; in particular we must have f , 0 (otherwise we would have x − 1 | f − 1  −1). Let max(f)  (p, q). If xt | f, then (t, 0)  max(xt) 4 max(f)  (p, q), hence t ≤ p + q. Thus, there exists a greatest k ≥ 1 with xk | f, so by proceeding analogously to the proof of Proposition 3.4a we conclude that f  uxk, with u ∈ S being a left invertible element satisfying x−1 | u−1, hence u ∈ D∗, and as we already showed that x − 1 does not left-divide any nonzero constant, it follows that u  1, yielding f  xk. With notation as in Theorem 7.1, let Bx  POW(x). The proof above shows that Bx is a definable subset of POW(x), using x as a parameter; moreover, the element x − 1 is left cancelable (as every nonzero element of S). As mentioned in the previous paragraph, we have that Ax ⊆ D and that x − 1 does not left-divide any element of D r {0}, so in particular x − 1 left-divides no nonzero difference between a positive integer and an element of Ax, so that all conditions of Theorem 7.1 are satisfied. As for the further conditions of item c, since we are assuming that all nonzero integers in + S are invertible, the definable set Ax  {0}∪S∗ satisfies Z ⊆ Ax, and Bx  POW(x) by + definition. Applying Theorem 7.1c with p  x, we conclude that the set logx Bx  Z is definable in (S, 0, 1, +, ·, x), that is, using x as a parameter. 40 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

7.2. Further properties of logical powers. Proposition 7.5. Let S be a ring, and let p ∈ S. a. We have LPOW(0)  {0} if S is a field and LPOW(0)  œ otherwise. b. We have LPOW(p) , œ if and only if p ∈ LPOW(p). If S is not a field and LPOW(p) , œ, then p , 0. c. If p is a unit, then LPOW(p) is the set {(p − 1)g + 1: g ∈ S}, which contains every integer power of p.

Proof. a. If f ∈ LPOW(0), then 0 divides f, so necessarily f  0, which shows that LPOW(0) ⊆ {0}. Moreover, we have 0 ∈ LPOW(0) if and only if every divi- sor of 0 is a unit or a multiple of 0. Since (trivially) every element of S divides 0, it follows that 0 ∈ LPOW(0) precisely when every element of S is a unit or 0, that is when S is a field. b. One implication is clear; for the converse, let f ∈ LPOW(p) be fixed. We trivially have p | p and p − 1 | p − 1, and if g ∈ S divides p, then it also divides f (because p | f), so g is either a unit or a multiple of p. Thus p ∈ LPOW(p), and if S is not a field, then p , 0 by item a. c. If p is a unit, then all the conditions for membership in LPOW(p) are auto- matically fulfilled by any element f, except possibly for p − 1 | f − 1, and so f ∈ LPOW(p) precisely when f − 1  (p − 1)g for some g ∈ S; in particular, since n n n n for all natural n we have that p−1 divides both p −1 and −p− (p −1)  p− −1, it follows that LPOW(p) contains every integer power of p.  Given a unit p in a ring S, let us denote its set of integer powers by pš. If p has infinite j multiplicative order, then LPOW(p) strictly contains every set of the form {p : j ≥ n0}, š with n0 ∈ š (because LPOW(p) ⊇ p , by Proposition 7.5c above). The following result shows that, under certain conditions, the stronger strict inclusion LPOW(p) ⊃ pš holds: Proposition 7.6. If p is a unit in a ring S such that p − 1 is regular, then LPOW(p) strictly contains the set of all integer powers of p. Proof. By Proposition 7.5c we already have LPOW(p)  {(p − 1)s + 1: s ∈ S} ⊇ pš. We prove below that LPOW(p)  pš implies that S is finite. As regular elements in finite rings are invertible, the equality LPOW(p)  pš would imply 1 š 0  (p − 1)[−(p − 1)− ] + 1 ∈ LPOW(p)  p , and this contradiction shows the desired result. For n ≥ 1, let wn(p) be given by Equation (6.1), and let w0(p)  0. Assume that {(p − 1)s + 1: s ∈ S}  pš. We claim that n (q) S  {wn(p): n ≥ 0} ∪ {−p− wn(p): n ≥ 1} . n In fact, given s ∈ S we have (p − 1)s + 1  p± for some n ≥ 0. Since p − 1 is regular, the mapping s 7→ (p − 1)s + 1 is injective. This fact, together with the equalities n (p − 1)· wn(p) + 1  p ; n n (p − 1) · [−p− wn(p)] + 1  p− , valid for n ≥ 0, shows that( q) holds. n In particular we have p  wn(p) for some n ≥ 0 or p  −p− wn(p) for some n ≥ 1. The equalities p  w0(p)  0 and p  w2(p)  p + 1 are clearly impossible, and DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 41 p  w1(p)  1 would imply p − 1  0, contradicting the regularity of p − 1. Therefore n+1 we have wn(p) − p  0 for some n ≥ 3, or p + wn(p)  0 for some n ≥ 1. In both cases, there exists f ∈ š[x] monic such that pf(p)+1  0. Writing p  (p−1)+1, and expanding and rearranging terms, we find that p − 1 is a root of some monic polynomial g ∈ š[x], that is, g(p − 1)  0. We have g  xkg^ for some k ≥ 0 and some g^ ∈ š[x] monic with nonzero constant term, so g^ is of the form xh + 1 − j, with h ∈ š[x] monic and j ∈ š with j , 1. Regularity of p − 1, together with 0  g(p − 1)  (p − 1)kg^(p − 1), yields 0  g^(p − 1)  [(p − 1)· h(p − 1) + 1] −j . ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ | {z } LPOW p pš ∈ ( ) Consequently we have pm  j for some m , 0 (because j , 1). If j  −1, then p2m  1, and therefore pš is finite. As already mentioned, the mapping s ∈ S 7→ (p − 1)s + 1 is injective, hence S has the same cardinality as LPOW(p)  pš, which shows that S is finite in this case. Finally, assume j , 0, 1, −1, and let d  |m| ≥ 1. Any nonconstant monic factor Q in [ ] d − − ∈ d  š x of x j is the product of factors x µi, with µi ¼ satisfying µi j. In particular 1 d Î we have |µi|  |j| / > 1, so the constant term Q(0) of Q satisfies |Q(0)|  | i µi| > 1. This implies that Q does not divide xf + 1 in š[x] (because divisibility of polynomials in š[x] implies divisibility, in š, of the corresponding constant terms). The reasoning above shows that xd −j and xf+1 have no nonconstant common factors in š[x], and a well-known consequence of this is that they are coprime in ‘[x], so we may write (xd − j)G + (xf + 1)H  1, with G, H ∈ ‘[x]. On the other hand, since the constant and leading coefficients of xf + 1 are equal to 1, it follows that the reciprocal polynomial of xf+1 (see the proof of Lemma 6.16) is also of the form xf^+1, with f^ ∈ š[x] monic. We may perform exactly the same reasoning with xf^+ 1 instead of xf + 1 in the previous paragraph, obtaining (xd − j)G^ + (xf^+ 1)H^  1, for some G^, H^ ∈ ‘[x]. 1 Recall that p is root of xf + 1, so that p− is root of its reciprocal polynomial, that is 1 ^ 1 p− f(p− ) + 1  0. Multiplying the equalities obtained in the previous paragraph by + ^ ^ 1 some b ∈ š such that bG, bH, bG, bH ∈ š[x], and evaluating at p and p− , respectively, we obtain d   b · 1S  (p − j)· bG (p) + [pf(p) + 1]· bH (p)  (pd − j)· bG(p) ; d ^ 1 1 ^ 1 ^  1 b · 1S  (p− − j)· bG (p− ) + [p− f(p− ) + 1]· bH (p− ) d ^ 1  (p− − j)· bG (p− ) . m Recalling that p  j and m  ±d, we conclude that b · 1S  0, because at least one of the two expressions above vanishes; this shows that Z is finite. Since p is a root of the monic polynomial xf + 1 ∈ š[x], it follows that p is Z-integral, and therefore Z[p] is a finitely generated Z-module ([Hun80, Theorem VIII.5.3]), hence a finite set. Finally, 1 1 1 from p−  −f(p) ∈ Z[p] we get Z[p, p− ]  Z[p], and since S  Z[p, p− ] by( q), we conclude that S is a finite ring.  We remark that the hypothesis “p − 1 is regular” cannot be dropped in the statement of Proposition 7.6: take S  š[t]a, where a  2(t − 1), t2 − 1, and consider p  t. Then p is invertible, for p2  1, which incidentally implies that every element g ∈ S is of the form g  a+(p+1)b, with a, b ∈ š; using that (p−1)(p+1)  0 we get (p−1)g  (p−1)a. 42 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Writing a  2k + r, with k ∈ š and r  0 or 1, and using that 2(p − 1)  0, we conclude that (p − 1)g + 1  1 or p. Thus, LPOW(p)  {1, p}  POW(p) ∪ {1} (recall that p2  1). Note that in this case p−1 , 0 (there are no f, g ∈ š[t] such that t−1  2(t−1)f+(t2−1)g) but (p − 1)2  (p2 − 1) − 2(p − 1)  0, so p − 1 is a zerodivisor. The following result deals with properties of logical powers in polynomial rings in one variable over reduced/indecomposable rings:

Proposition 7.7. Let S  R[x], with R a ring, and let p ∈ R[x]. a. If R is reduced or indecomposable, and if LPOW(p) contains an element that is multiple of its own square, then p is invertible. b. If R is reduced or indecomposable, and if p ∈ LPOW(p), then p is either invertible or irreducible. c. If R is reduced and LPOW(p) contains a zerodivisor, then p is invertible.

Proof. a. Let f ∈ LPOW(p) be a multiple of its own square, say f  f2`. We have that the element e  f` is idempotent and multiple of p. We also have f  fe, which implies f  fen for all n ≥ 1, that is, f is infinitely divisible by e, and consequently f is infinitely divisible by p; in particular, if R is reduced, then p is constant by Lemma 5.1. Moreover, defining h  1 + (1 − e)x we have that f  fh because (1 − e)f  0. If e  0, then f  fe  0, and therefore p is a unit, by Proposition 3.3. If e  1, then f is a unit because e  f`, which implies that p is a unit as well (since p divides f). Since e  0 or 1 in a indecomposable ring, this reasoning settles such a case. If R is reduced and e , 0, 1, then h is not constant, hence a noninvertible divisor of f (by Proposition 4.2). Since f ∈ LPOW(p), the element p necessarily divides h  1 + x − ex, so p divides 1 + x (because p divides e). As we already observed, p is constant in this case, so p divides all the coefficients of 1 + x, and again we conclude that p is invertible. b. Since 0 is not a unit, it follows from Proposition 3.3 that 0 < LPOW(0), and so p , 0. If p is invertible, then we are done; otherwise, if p  gh, then p cannot divide both g and h (otherwise p would be a multiple of its square, contradicting item a above); since both g and h are divisors of p and p ∈ LPOW(p), it follows that one of g or h is a unit, which shows that p is irreducible. c. Assume that p is noninvertible, and let f, ` ∈ R[x] be such that f ∈ LPOW(p) and f`  0; our objective is to show that `  0. We have f  fh, with h  1 + p`x. Since p does not divide h (otherwise p would divide h − p`x  1), h is a divisor of f and f ∈ LPOW(p), it follows that h must be invertible. As R is reduced, then h is constant by Proposition 4.2, so p`  0, which in turn implies p  (1 + `x)p. Since we are assuming LPOW(p) , œ, it follows that p ∈ LPOW(p) by Proposi- tion 7.5b. By item a we cannot have that p is multiple of p2, and consequently the element 1 + `x, which is a divisor of p, cannot be a multiple of it. This, together with the fact that p ∈ LPOW(p), implies that 1 + `x must be invertible. Therefore 1 + `x is constant (again by Proposition 4.2), so `  0, as desired. 

One may wonder, following items a and b of Proposition 7.7, whether reducedness could be replaced by indecomposability in the hypothesis of item c of the same propo- sition. As the counterexample below shows, this is not possible. DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 43

Let R be a local ring (see Subsection 2.1) such that the ideal m of nonunits in R is generated by a nonzero element p with p2  0 (as a concrete example, take R  k[z](z2), k being a field, and p  z ). We have that R is indecomposable (Example 4.13), and obviously p is not invertible. We claim that p is irreducible in R[x], so we have p ∈ LPOW(p) by Proposition 3.4c, and therefore the set LPOW(p), with p noninvertible, contains the zerodivisor p. In order to prove our claim, it is suffices to show that p  gh implies that one of g or h is a unit (because clearly p < {0} ∪ R[x]∗). If g  g0 + sx, h  h0 + tx, with s, t ∈ R[x], 2 then p  g0h0. We have that p  0 does not divide p (because p , 0), so one of g0 or h p g ∈ R h  g 1p 0 is not a multiple of , hence it is invertible, say 0 ∗ and 0 0− . N Taking images in the integral domain (R/m)[x] we get 0  (g0 + sx)tx. We have (g0 + sx)x , 0 because g0 , 0, hence t  0, that is t  p` for some ` ∈ R[x], and p  p(g + sx)(g 1 + `x) consequently 0 0− .  n+···+ ≥ k  If s snx s0, with n 0, then by item a of Lemma 4.1 we have snp 0 for some k ≥ 1. As p , 0, it follows that sn cannot be invertible, hence it is a multiple of p, and in 2 n n particular psn  0 (recall that p  0). If s^  s − snx , then ps^  ps − psnx  ps, and p  p(g + sx^ )(g 1 + tx) p so we have 0 0− . Iterating this argument we conclude that divides s p s s2  (g + sx)(g − sx)  g2 every coefficient of , that is divides , so 0, and therefore 0 0 0 is a unit, which shows that g is a unit. 7.3. Algebraic equivalences for reducedness/indecomposability.

Proposition 7.8. For a ring R the following are equivalent: a. R contains an idempotent element other than 0 and 1. b. R is isomorphic to the direct product of two nonzero rings. c. The polynomial x in R[x] is a product of two noninvertible polynomials of degree 1. d. The polynomial x in R[x] is a product of two noninvertible polynomials of positive degree. e. The polynomial x in R[x] is a product of two noninvertible polynomials. Equivalently, x is reducible in R[x].

Proof.

(a ⇒ b): If e ∈ R is idempotent, then f  1 − e is too; moreover, the ideal R1  Re (resp. R2  Rf) has e (resp. f) as a multiplicative unit. Therefore both    × R1 and R2 are unital rings, with 1R1 e and 1R2 f. If S R1 R2, then the mapping R → S given by r 7→ (re, rf) is a bijective ring homomorphism (it respects sums, products and sends 1R to (e, f)  1S), whose inverse given by (ae, bf) 7→ ae + bf. This shows that R  S. If e is a nontrivial idempotent, then both R1 and R2 are nonzero, which proves the implication. (b ⇒ a): If R1 and R2 are nonzero rings, then the element (1, 0) is a nontrivial idempotent in the ring R1 × R2. (c ⇒ d ⇒ e): Obvious. (e ⇒ a ⇒ c): See the proof of Proposition 4.3.  We may observe that, like integral domains, which are characterized by the property that x is a prime element in R[x], the class of indecomposable rings also corresponds to

N If a, b R are such that ab is a nonunit, then a or b is a nonunit; since the set m of nonunits is already an ideal,∈ it follows that m is indeed a prime ideal, so the R m is an integral domain. / (Alternatively, in Subsection 7.9 is proved that m is maximal, hence prime.) 44 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO a specific property of the algebra generator x, namely, the polynomial x is irreducible in R[x] (by Proposition 4.3). In the case of reduced rings, since all positive degree poly- nomials are noninvertible by Proposition 4.2, this characterization can be specialized in the following form:

Proposition 7.9. A reduced ring R is indecomposable if and only if the polynomial x in R[x] is not a product of two polynomials of positive degree.

Finally, in order to express the class of rings R we are interested in, in terms of properties of R[x], we may synthesize as follows: Proposition 7.10. a. A ring R is reduced if and only if the polynomial 1 in R[x] is not a product of two polynomials of positive degree. b. A ring R is reduced and indecomposable if and only if the polynomials 1 and x in R[x] are not a product of two polynomials of positive degree.

Proof. a. If R is reduced, then invertible elements of R[x] are constant by Proposition 4.2. n n 1 For the converse, if a ∈ R and n ≥ 2 satisfy a  0 and a − , 0, then n 1 n 1 1  (1 + a − x)(1 − a − x). b. Once item a above is given, this follows from condition d in Proposition 7.8, as the requirement of noninvertibility of nonconstant elements becomes redundant in a reduced ring by Proposition 4.2.  We remark that the result of Proposition 4.7a actually characterizes reduced indecom- + posable rings: in fact, let R be a ring such that whenever cm 1 divides cm, then c is either zero or a unit. On the one hand, if e ∈ R is idempotent, then obviously e2 divides 1 2 1 e, and therefore e  0 or e is a unit, and in the latter case we have 1  ee−  e e−  e, which shows that R is indecomposable. On the other hand, if a ∈ R is nilpotent, say an  0, with n ≥ 1, then obviously a cannot be a unit (recall that R is a nonzero ring), + and since 0  an 1 trivially divides 0  an, it follows that a  0, and consequently R is reduced. Lemma 4.1 exhibits some properties of polynomials in one variable, over reduced and/or indecomposable coefficient rings. These properties hold trivially in the particu- lar case in which the coefficient ring is an integral domain, for the product of the leading coefficients of two given polynomials becomes necessarily the leading coefficient of their product. As we show below, these properties also characterize reducedness and/or indecomposability. Suppose that a ring R satisfies the last conclusion of Lemma 4.1c, namely: in the ring R[x], divisors of regular constant elements are themselves constant. Since units in R[x] are divisors of the regular element 1, we conclude that R[x]∗  R∗, so R is reduced by Proposition 4.2. On the other hand, let R be a ring satisfying the conclusion of Lemma 4.1d, namely: whenever f, g ∈ R[x] are nonzero polynomials such that g | f and the leading coefficient of f is a unit, then that of g is a unit too. We claim that R is reduced and indecomposable. In fact, if a ∈ R satisfies a2  0 and we take f  1 and g  1 + ax, then the equality (1 − ax)g  f and the hypothesis over R implies that a cannot be the leading coefficient of g, so necessarily a  0, and this shows that R is reduced. Moreover, if e ∈ R is idempotent, then by taking f  x, g  (1 − e)x + e and using the equality f  [ex + (1 − e)]g, we conclude that the leading coefficient of g is a unit. Since this DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 45 leading coefficient is one of 1 − e or e, which are idempotent, and the only invertible idempotent in a ring is 1, we conclude that 1 − e  1 or e  1, showing that R is indecomposable as well. One may be tempted to prove that the result of Lemma 4.1d holds if “unit” is replaced by “regular”. Let R be a ring such that, whenever f, g ∈ R[x] are nonzero polynomials such that g | f and the leading coefficient of f is regular, it is the case that the leading coefficient of g is regular as well. By a reasoning entirely similar to that made in the previous paragraph, one concludes that R is reduced and indecomposable; the converse, however, is not true: if B, p, q and R are as in Example 4.9, then R is reduced and indecomposable. Now (px + 1)(qx + 1)  (p + q)x + 1 in R[x]. Both p and q are zerodivisors, but p + q is regular: for if b ∈ B satisfies pq | (p + q)b, then p | qb, and since p is prime and p - q, it follows that p | b, say b  ps. Similarly we have q | pb  p2s, and since q is prime and q - p, we conclude that q | s. Therefore pq | b, which proves our claim. 7.4. More about constant polynomial functions. Let R be a ring such that the only polynomials in R[x] inducing constant polynomial functions on R are the constant polynomialsO. We claim that if R is also reduced and g ∈ R[x] takes finitely many values, then g ∈ R (and, a posteriori, g takes only one value). To prove this, assume the contrary, and let n ≥ 2 be minimal such that there exists a polynomial g taking exactly n values. If a and b are two such (distinct) values, then the polynomial f  (a + b − g)g takes the value ab when g takes the values a or b, and therefore f takes at most n − 1 values. On the one hand, by minimality of n we necessarily have that f is constant as a polynomial function, so f ∈ R by the initial hypothesis. On the other hand, if c is the leading coefficient of the nonconstant polynomial g, then a + b − g also has positive degree and its leading coefficient equals −c. Since R is reduced, we have −c2 , 0, and consequently f  (a + b − g)g has positive degree, a contradiction. The following examples show that neither reducedness nor indecomposability can be removed from the hypotheses of Theorem 4.14.

Example 7.11. If R is a Boolean ring (that is, a2  a for all a ∈ R), then R is decompos- able unless R  ¿2, the field with two elements. On the other hand, the discussion in Subsection 2.2 implies immediately that R is reduced. Finally, by definition the nonconstant polynomial f  x2 − x ∈ R[x] vanishes on all of R. As a concrete example R ¿Ž of infinite Boolean ring we may take as the direct product 2 .

Example 7.12. Let S be the ring of polynomials in infinitely many variables T1, T2, ... over the field ¿2. Let a be the ideal in S generated by the products TiTj, with 1 ≤ i ≤ j, and consider the factor ring R  S/a. Denoting the class of Ti modulo a by ti, we  + Í  have that every element of R is of the form p a0 i∞1 aiti, with ai 0 or 1 for all i ≥ 0, and ai , 0 for finitely many i. Moreover, p  0 if and only if ai  0 for all i; in particular, all the elements ti are pairwise distinct, so R is infinite. R p2  a2 + Í a2t2  a2  Since has characteristic 2, we have 0 i∞1 i i 0 0 or 1, so the nonconstant polynomial x2(x2 − 1) ∈ R[x] vanishes on all of R, and moreover 2 −  Í 2   ≥  p p i∞1 aiti. Thus, p p implies ai 0 for all i 1, that is p a0, which shows that R is indecomposable. Obviously R is not reduced, as ti , 0 for each i but 2  ti 0. O For example, Theorem 4.14 implies that this is the case when R is infinite, reduced and indecomposable. 46 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

7.5. About first-order characterizations of some subclasses of reduced indecompos- able polynomial rings. Recall that in Subsection 6.5 we wrote the class H of reduced indecomposable polynomial rings as the union H1 ∪ H2, with H1 being the subclass of rings in H where every nonzero integer is invertible, and H2 the subclass of rings in H expressible as R[x], where R is a nonfield of characteristic zero. The negation of the sentence Ξ defined in the statement of Lemma 6.10 characterizes the members of H1 in the class H. In what follows we construct two sentences that characterize, respectively, those rings in H having characteristic zero, and those of the form R[x], with R a field. As a consequence, we obtain a first-order characterization of the subclass H2 in the class H. Moreover, since reducedness and indecomposability are finitely (first-order) axiomatizable (see Subsection 2.2), we may easily modify these two sentences to characterize the rings mentioned (reduced indecomposable polynomial rings of characteristic zero, and polynomial rings in one variable over a field, respec- tively) in the whole class of polynomial rings (in any set of variables, by Proposition 4.6). ( ) − ∈ + Let S be a ring. It is easy to see that char S > 0 if and only if 1 ZS. From (·) + this, and recalling that the formula Ω appearing in Theorem 6.11 defines ZS for any ring S ∈ H, we conclude that the sentence ¬Ω(−1) characterizes the rings in H having characteristic zerop. On the other hand, the argument in the proof of Lemma 6.25 can be used to char- acterize, among members of H, the polynomial rings in one variable over a field. Let S  R[x] ∈ H, and consider the sentence   (‡) `1 `2 (`1 ∈ W ∧ `2 ∈ W ) → u ρ ( u ∈ S∗ ∧ ρ ∈ {0} ∪ S∗ ∧ `1  u`2 + ρ ) , ∀ ∀ ∃ ∃

W being as in Definition 6.12. Notice that S∗  R∗ by Proposition 4.2, so in particular the elements u and ρ appearing in( ‡) must belong to R. If R is a field, then W coincides with the set L of linear polynomials in R[x], by Proposition 6.13c, and it is easy to show that( ‡) holds in this case. Conversely, suppose that( ‡) holds, and take any a ∈ R: we have x, x + a ∈ L ⊆ W, and therefore there are u ∈ S∗  R∗ and ρ ∈ {0} ∪ S∗  {0} ∪ R∗ with x + a  ux + ρ. In particular we have a  ρ ∈ {0} ∪ R∗, hence R ⊆ {0} ∪ R∗, which proves that R is a field. The characterization above implies the following: let S  k[x], with k being a field and x an indeterminate over k. If R is a subring of S and y ∈ S are such that y is an indeterminate over R and S  R[y], then R  k. In fact, as k is a field, we have S ∈ H, and the sentence( ‡) is true in S. Since S is reduced and indecomposable, so is R. Therefore, by the characterization made above (using y instead of x) we have that R is also a field. Finally, by Proposition 4.2 we have R∗  S∗  k∗, and therefore % R  {0} ∪ R∗  {0} ∪ k∗  k, as claimed . Thus, for any polynomial ring in one variable over a field, its coefficient field is unique (the indeterminate can vary, of course: for example, by affine maps).

p We remind the reader that, as a standard application of the compactness theorem, we get that the theory of commutative unital rings of characteristic zero is not finitely axiomatizable. % Another proof runs as follows: Since R∗  k∗, we have k  0 k∗  0 R∗ R; in particular we have S  k x  R x (but x is not necessarily an indeterminate{ } over ∪ R).{ For} ∪ the⊆ reverse inclusion, [ ] [ ] n notice that any element r R k x can be written in the form r  a0 + a1x + + anx , for some ∈ ⊆ [ ] ··· n 0 and some a0, ... , an k with an , 0. If n were nonzero, then x S would be a root of the monic ≥ n + 1 n∈ 1 + + 1 + 1  ∈ polynomial T an 1an− T − a1an− T a0 r an− k r T R T . Thus, x is R-integral, and so R y  S  R x is− a finitely generated··· R-module( − ([)Hun80∈ , Theorem[ ] [ ] ⊆ VIII.5.3]),[ ] which is impossible [ ] [ ] because y is an indeterminate over R. DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 47

7.6. Comparing powers with logical powers. Let S be a ring, and consider the defin- able subsets T and U of S of Definition 5.4. By Theorem 5.5, every element p ∈ T satisfies POW(p) ⊆ LPOW(p). In addition, if S  R[x], with R reduced and indecomposable, then every element p ∈ U satisfies POW(p)  LPOW(p). If we replace “p is irreducible” by “p ∈ LPOW(p)” in the definition of T, then it remains true that POW(p) ⊆ LPOW(p) for each p ∈ T. The converse is almost true: it is easy to show that if p ∈ S satisfies POW(p)  LPOW(p), then p ∈ T. Moreover, for any unit p we have, by Proposition 7.5c, that LPOW(p)  {(p − 1)g + 1: g ∈ S}. Taking g  1 we obtain p ∈ LPOW(p), and if h ∈ LPOW(p), say h  (p − 1)g + 1, with g ∈ S, then ph  (p − 1)pg + p  (p − 1)(pg + 1) + 1 ∈ LPOW(p). This shows that S∗ ⊆ T under the modified definition of T. If p ∈ U is a unit, then we may take a  p in the second condition of the definition of U, obtaining p  1. Consequently, if we impose the additional condition “p , 1” in the definition of U, then U consists entirely of nonunits. As we want all elements p in U to satisfy LPOW(p)  POW(p), this restriction will be unharmful, because for a unit p ∈ S we have, in most cases, that LPOW(p) strictly contains POW(p): namely, when p − 1 is regular, by Proposition 7.6. Note that this regularity condition is essential for the proofs of our main results to work. Even with the extra requirement “p , 1” in the definition of U, and the modification in the definition of T (“p is irreducible” by “p ∈ LPOW(p)”), we are still able to prove that if S  R[x], with R reduced and indecomposable, then LPOW(p)  POW(p) for each p ∈ U. The proof is almost identical to that of Theorem 5.5, with the following modification: If p ∈ U and f ∈ LPOW(p) is infinitely divisible by p, then the new definition of T no longer implies that p is irreducible, but we are still able to conclude that p ∈ {0}∪R∗ by Proposition 4.7a. Moreover, p ∈ LPOW(p) (part of the new definition of T) , together with Proposition 7.7b, implies that p is either invertible or irreducible. Putting together these facts, we conclude that p is necessarily a unit, which is impossible under the modified definition of U. Finally, consider the modified versions of T and U. If S  R[x], with R reduced (not necessarily indecomposable), and if p ∈ S is nonconstant with regular leading coefficient, and satisfies LPOW(p)  POW(p), then p ∈ T (as discussed above) and obviously p , 1. The proof of the remaining conditions for membership in U is similar as the proof of Theorem 5.5a for the special case p  x, and in this way we conclude that p ∈ U. Notice that Corollary 5.2 provides examples of nonlinear polynomials satisfying the requirements above (the classical example being R  ’ and p  x2 + 1). This is in contrast with Remark 5.6, which merely guarantees that linear polynomials with invertible leading coefficient belong to the set U (in the case R reduced and indecomposable). 7.7. Revisiting examples. It is possible to prove the definability of the integers in R[x], for R as in Example 4.11, and as well for R as in some instances of Examples 4.10, 4.12 + and 4.13, by constructing a definable set A of R[x] satisfying Z ⊆ A ⊆ R, and applying Proposition 6.5. Notice that the rings in Example 4.11, as well as some instances of the rings in Examples 4.10M, 4.12 and 4.13, are nonfields of characteristic zero, and thus they are also covered by Theorem 6.9. M In general, the ring R  C X, B contains an isomorphic copy of B, namely, the subring of constant functions. We claim that R is a( field) if and only if B is a field and R  B. In fact, if B is a field and R  B, then obviously R is a field. For the converse, suppose that B is not a field or that R properly contains B. In the first case, if b is any nonzero nonunit in B, then the constant function with value b has no inverse in R. In the second case, some function f R takes two distinct values, say a , b in B, and therefore the function f a is nonzero (as it takes the value∈ b a) and noninvertible (as it takes the value 0). In either case we conclude− that R is not a field. − 48 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Example 7.13 (Example 4.13, revisited). If R is a local and reduced ring, then the set A  {f ∈ R[x]: f ∈ R[x]∗ or f + 1 ∈ R[x]∗} is definable. We have A ⊆ R by Proposition 4.2, and R ⊆ A by the definition of local ring. Therefore R  A.

Example 7.14 (Example 4.10, revisited). Let R as in Example 4.10. If every nonzero integer in B is invertible, then the same happens to each nonzero integer constant function from X to B, so we may apply Theorem 6.6 in this case.

Example 7.15 (Example 4.11, revisited). Consider the ring R[x], where R is defined as in Example 4.11. Note that an element (m, n) ∈ R is regular if and only if m, n , 0. Let p  (5, 1), q  (1, 5) ∈ R[x]. The set B  {p, q} can be definedI by the formula β(t): r ( r | 1 ∧ r , 1 ∧ r , −1 ∧ t  3 + 2r ) . ∃ We claim that LPOW(p)  POW(p) and LPOW(q)  POW(q). It is easy to see that p is prime in R, so it remains prime in R[x]9. Since p is also regular, Proposition 3.4d implies that POW(p) ⊆ LPOW(p). Conversely, let h ∈ LPOW(p), and let us denote hm by (fm, gm) ∈ R. We have that p − 1  (4, 0) divides h − 1, so 4 divides f0 − 1, and k k thus f0 is odd. If p divides h in R, then 5 must divide f0 , 0 in š, and so h cannot be infinitely divisible by p. Therefore, by Proposition 3.4a, we can write h  upn, with n ≥ 1 and u ∈ R[x]∗  R∗ (see Proposition 4.2) such that p − 1  (4, 0) divides u − 1 in R. We have u − 1  (0, 0), (−2, −2), (0, −2) or (−2, 0); since −2 is not multiple of 0 or 4, it follows that u − 1 must be equal to (0, 0), so h ∈ POW(p). The proof of LPOW(q)  POW(q) is analogous. As a consequence of these two equalities right above, we obtain that the set C  {(5m − 1, 5n − 1): m, n ≥ 1} is definable by the formula γ(t): r s v w [ β(r) ∧ r + s  6 ∧ v ∈ LPOW(r) ∃ ∃ ∃ ∃ ∧ w ∈ LPOW(s) ∧ t  v + w − 2 ] . If D ⊆ R[x] is the set of divisors of elements in C, then obviously D is also definable; moreover, since R is reduced and C ⊆ R consist entirely of regular elements, it follows from item a of Lemma 4.1 that D ⊆ R. If φ denotes the Euler’s totient function, then it is well-known that, for any positive integer a not a multiple of 5, we have that φ a 5 ( ) − 1 is divisible by both a and −a. Therefore D contains all the elements (d, d), with d ∈ š not a multiple of 5 as a rational integer. Consequently, the set A of elements t such that t ∈ D or t + 1 ∈ D is definable, and it satisfies Z ⊆ A ⊆ R.

Example 7.16 (Example 4.12, revisited). Let R be as in Example 4.12 with B  š and b  2š, and set S  R[x]. We may also think of elements of S as I-tuples of integers polynomials whose coefficients in any fixed degree have the same parity. Let D  {d ∈ S∗ : 2d + 3 is irreducible}, C  {2d + 3: d ∈ D} and E  {d + 1: d ∈ D}. It is easy to check that C, D and E are definable sets, that D is the set of I-tuples with one entry equal to 1 and all other entries equal to −1, that C consists precisely of the I-tuples, all irreducible, with one entry equal to 5 and all other entries equal to 1, and finally, that E consists of those I-tuples with one entry equal to 2 and all other entries equal to zero. I It is not possible to tell apart p from q by using a first-order formula. 9 It is well-known that if a is an ideal in a ring R, then R x a, the ideal in R x generated by a, is precisely [ ] [ ] the set a x of polynomials with coefficients in a, and R x a x  R a x . If p R is prime and q  Rp, [ ] [ ] [ ] ( / )[ ] ∈ then R x p  q x , so R x R x p  R q x , which is an integral domain, and this shows that p remains [ ] [ ] [ ] [ ] ( / )[ ] prime in R x . [ ] DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 49

We claim that, for any c ∈ C, one has LPOW(c)  POW(c). Indeed, for c ∈ C, there must be j ∈ I such that cj  5 and all other entries of c are 1. If f ∈ POW(c), then c | f and c − 1 | f − 1 are obviously satisfied and, if g | f, then all but one entry of g are ±1 and the other, gj, divides a power of 5. Thus gj must be a constant, by Lemma 4.1a, and consequently it is either ±1 or a multiple of 5. Therefore g is either invertible or a multiple of c. Conversely, if f ∈ LPOW(c), then c − 1 | f − 1 forces all but the j-th component of f − 1 to vanish and 4 | fj − 1; in particular fj , 0. Since c | f, it follows that n fj  m · 5 , with n > 0 and m ≡ 1 (mod 4) not a multiple of 5. Furthermore, if m were not invertible, then the element f˜ with f˜j  m and all other entries equal to 1, not divisible by c, would be a noninvertible divisor of f ∈ LPOW(c), a contradiction. Therefore m  ±1. Since m ≡ 1 (mod 4), we conclude that m  1 and, therefore, f ∈ POW(c). Consider the following formula: α(t): e  e ∈ E → c y c ∈ C ∧ y ∈ LPOW(c) ∀ ∃ ∃ ∧ [ t · e | y − 1 ∨ (t + 1)· e | y − 1 ]   . The formula holds whenever multiplication of t or t + 1 by any element of E divides y − 1, for some logical power y of a suitable c ∈ C. We claim that r ∈ R precisely when α(r) holds. Indeed, let r ∈ R be a constant element, and let e ∈ E. There exists j ∈ I such that e has all entries equal to zero but its j-th entry, which is equal to 2; then r · e and (r + 1)· e have one constant integer entry, namely 2rj and 2(rj + 1), respectively, and all other entries equal to zero. By Euler’s theorem, any rational integer not divisible by 5 divides some element of the form 5n − 1. In view of this, since 2rj and 2(rj + 1) cannot both be a multiple of 5, and using LPOW(c)  POW(c), for all c ∈ C, we conclude that one of r · e or (r + 1)· e divides y − 1, for some logical power y of the element c ∈ C with 5 in the j-th entry and 1 in all other entries, and so α(r) holds. Conversely, let s ∈ R[x] be nonconstant, say deg(sj) ≥ 1, and consider the element e ∈ E such that ej  2 and all other entries of e are zero. Suppose either s · e or (s + 1)· e divides y − 1, for some y ∈ LPOW(c) and some c ∈ C. As y − 1 has only one nonzero entry, which is a constant, and s · e has all but the j-th entry equal to zero, we must have that (y − 1)j , 0 is a constant and (y − 1)i  0 for all i , j. But ( · )  ( + )·   ( + ) both s e j 2sj and s 1 e j 2 sj 1 have positive degree and therefore they cannot divide, in the reduced ring š[x], the nonzero constant element (y − 1)j (by Lemma 4.1a), proving that α(s) is false. Therefore R is definable and we can just take A  R.

7.8. About definability of integers in some nonreduced/decomposable rings. In this subsection we discuss definability/undefinability of integers in certain rings not con- sidered in our work. First, we deal with the direct product of two rings. If both rings have positive charac- teristic, definability of integers obviously holds; moreover, the proof below shows that one can define integers in some cases where exactly one of the rings has characteristic zero, but such a definition is impossible when both rings have characteristic zero. Since decomposable rings are precisely those isomorphic to direct products of two (nonzero) rings (condition d in Proposition 7.8), this shows that the indecomposability condition is essential to prove definability of integers in the most interesting cases. Part of the result below is the claim discussed right after Example 4.11. We would like to reiterate that the proof we will present below is actually a very minor modification of the proof of [AKNS18, Lemma 4.7]. 50 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Proposition 7.17. Let A and B be rings, and let S  A × B. a. If both A and B have characteristic zero, then the prime subring ZS is not definable in S. b. If char(B)  0 and char(A) > 0, then ZS is definable in S if and only if the set D  {(0A, k · 1B): char(A) divides k} is definable in S.

Proof. By the Feferman-Vaught theorem, any definable subset of S is a finite union of “definable rectangles”, that is, subsets of the form P × Q, where P and Q are definable subsets of A and B, respectively ([Hod93, Corollary 9.6.4]). Notice that in this case we have ZS  {(j · 1A, j · 1B): j ∈ š} .

Let P × Q be a nonempty definable rectangle contained in ZS, and let m ∈ š be fixed such that m·1A ∈ P. We claim that, if char(B)  0, then P  {m·1A} (that is, a singleton) and Q ⊆ Bm, where L Bm  {k · 1B : k ≡ m mod char(A)} .

In fact, let n, k ∈ š be such that n · 1A ∈ P and k · 1B ∈ Q. Then the pairs (m · 1A, k · 1B) and (n · 1A, k · 1B) belong to ZS, so there are i, j ∈ š such that

(m · 1A, k · 1B)  (i · 1A, i · 1B) and (n · 1A, k · 1B)  (j · 1A, j · 1B) .

The hypothesis char(B)  0 forces i  k  j, hence n·1A  i·1A  k·1A  j·1A  m·1A. Therefore n · 1A  m · 1A and k ≡ m mod char(A), as claimed. a. Applying the previous reasoning, and using that char(A)  0, we conclude that the set Bm must be a singleton, which forces the definable rectangle P × Q to be a singleton. Therefore, any definable subset of S contained in ZS is finite, and since ZS is infinite (because char(S)  0), we conclude that ZS is not definable in S. b. If char(B)  0 and ZS is definable, then the previous reasoning implies that char(A) > 0 and that ZS is the union of finitely many definable “vertical seg- ments”. In particular, the union of some (finite) subfamily of these segments will be equal to the intersection of ZS with the “B-axis”. In other words, the set

ZS ∩ (0 × B)  {(0A, k · 1B): char(A) | k}  D

is definable. Conversely, if char(A) > 0 and D is definable in S, then ZS is the union of finitely many definable translates of D, namely

char A Ø( ) ZS  D + {(i · 1A, i · 1B)} , i1

and therefore ZS is a definable subset of S. 

As a specific example, if A  š/nš and B  š, then D  nS, so D is definable. Now we turn our attention to definability results in some nonreduced rings.

Proposition 7.18. Let S be a ring. a. ([AKNS18, Corollary 2.19]) If char(S)  0 and S is bi-interpretable with š, then ZS is definable.

L Notice that Bm only depends on the congruence class of m modulo char A . ( ) DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 51

b. ([AKNS18, Main Theorem]) Suppose that S is finitely generated as š-algebra, and denote the nilradical of S by N. We have that S is bi-interpretable with š if and only if both annš(N) , 0 and Spec◦(S), the subset of Spec(S) of nonmaximal prime ideals of S, is nonempty and connected (with respect to the Zariski topology of the ambient space).

In general, if R is a ring such that Spec◦(R[x]) is connected, then Spec(R) is connected. In fact, the inclusion i: R → R[x] induces a continuous map i∗ : Spec(R[x]) → Spec(R), given by i∗(p)  p ∩ R. If q ∈ Spec(R), then q  i∗(q[x]), and q[x] ∈ Spec◦(R[x]) because R[x]q[x]  (R/q)[x], which is never a field. Therefore Spec(R) is a continuous image of the connected set Spec◦(R[x]). Consequently, if we assume the Boolean prime ideal theorem or that R is Noetherian, then R will be indecomposable (see Remark 4.4), and this shows, once again, how crucial the indecomposability condition is to definability of integers. Despite the main result of our work deals with nonfinitely generated rings, it is limited to reduced (annš(N)  š) polynomial rings. In what follows we exhibit an example of a nonreduced, polynomial, finitely generated ring of characteristic zero, which is bi-interpretable with š. By Proposition 7.18, in such ring the prime subring will be definable, but since it is not reduced, the ring is not covered by our result; notice that, by the discussion after Proposition 7.18, such example will be necessarily indecomposable. Let R be a finitely generated ring of characteristic√ zero, and let a be an ideal in R whose radical is prime and nonmaximal, say a  p ∈ Spec◦(R). Given integers m, d > 1, let  m +  / ∩  ( )  b a dp, and define S R√ b. If š b 0, then char S 0. Moreover, using the inclusions am ⊆ b ⊆ p we get b  p. Given a subset C of R, let V(C) be the subset of Spec(R) of prime ideals in R containing the set C. It is well-known that Spec◦(S) is homeomorphic to √ V(b) ∩ Spec◦(R)  V( b) ∩ Spec◦(R)  V(p) ∩ Spec◦(R) .

We have V(p) ∩ Spec◦(R) , œ by nonmaximality of p, and p being prime implies that V(p) ∩ Spec◦(R) is connected: indeed, if V(p) ∩ Spec◦(R) ⊆ V(g) ∪ V(h), then p ∈ V(p) belongs to either V(g) or V(h), say V(g). Therefore we have g ⊆ p and so V(p) ⊆ V(g). The reasoning above shows then that Spec◦(S) is nonempty and connected. Moreover, if N(S) denotes the nilradical of S, then N(S)  p/b, hence dN(S)  0 because dp ⊆ b. Thus, the ring S is bi-interpretable with š, by Proposition 7.18b. It remains to impose conditions on S in such a manner that S be nonreduced, that is b ⊂ p. We have

√ 2 b  am + dp ⊆ a2 + dp ⊆ a + dp  p2 + dp ⊆ p .

Therefore p  b would imply p  p2 +dp  cp, where c  p+dR. By the Cayley-Hamilton theorem ([Eis95, Corollary 4.7]), there exists c ∈ c such that (c − 1)p  0. If p contains a regular element, then c  1, so p and dR would be comaximal. Thus, it is sufficient to assume, besides the conditions imposed above, that p contain + a regular element, and that the ideal p dR be proper. As√ a concrete example, we may take R  š[t], where t is an indeterminate, and a  tR, so a  tR  p. In this case we have b  tmR + dtR, for some m, d > 1, and 1 < tR + dR  p + dR. 52 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

Notice that this example S  R/b of finitely generated ring bi-interpretable with š is not a polynomial ring; fortunately, the polynomial version S[x] inherits all the relevant properties of S, and therefore constitutes our aimed example. This follows from the identities

S[x]  R[x]b[x] , p √ a[x]  a[x] , b[x]  (a[x])m + dp[x] , š ∩ b[x]  š ∩ b , N(S[x])  N(S)[x] , p[x] + dR[x]  (p + dR)[x] , together with the fact that V(p[x]) ∩ Spec◦(R[x]) is nonempty and connected because p[x] is prime and nonmaximal.

7.9. Further discussion concerning local rings and AC. It is customary to define a local ring in an alternative way to that given in Subsection 2.1, namely, as a ring with a unique maximal ideal. This property is a straightforward consequence of the definition given in Subsection 2.1 (nonunits form an ideal), and it is well-known that, in the presence of the axiom of choice (AC), these definitions are equivalent (we provide below proofs of these facts). Interestingly enough, the interchangeability between the two notions of locality is not just a consequence of AC, but is indeed equivalent to it. To the best of our knowledge, this is a new condition equivalent to the axiom of choice. Let S be a ring such that the set m  S r S∗ of nonunits of S forms an ideal. We claim that m is the unique maximal ideal in S: on the one hand, any ideal a strictly containing m must contain a unit, and therefore a  S, which shows that m is maximal. On the other hand, if n is a maximal ideal in S, then n contains no unit, so n ⊆ m, and therefore n  m by maximality of n. The argument above shows that every local ring in the sense of Subsection 2.1 has a unique maximal ideal (namely, its set of nonunits), which is the standard definition of “local ring”. The converse is not true in ZF: in fact, we contend that the assertion “In every ring with a unique maximal ideal the set of nonunits forms an ideal” is equivalent to the claim that every (nonzero commutative unital) ring has a maximal ideal. This condition, in turn, is known to be equivalent to the axiom of choice ([Hod79]). To prove our claim, suppose that every nonzero ring has a maximal ideal. By working on quotient rings, we get that every nonunit in a ring belongs to a maximal ideal. Therefore, in a ring with a unique maximal ideal, all nonunits must belong to that maximal ideal, which in turn consists entirely of nonunits. This proves that the set of nonunits of the ring forms an ideal. For the converse implication, if A is a nonzero ring without maximal ideals, then the ring S  ‘ × A has 0 × A as its unique maximal ideal. As we already saw, if the set of nonunits of S were an ideal, then it would be equal to the unique maximal ideal, and so S r S∗  0 × A; but this equality is impossible, because (1, 0) ∈ S r S∗ and (1, 0) < 0 × A. This shows that nonunits in the ring S do not form an ideal. Notice that, incidentally, the ring S above is not indecomposable (by condition b in Proposition 7.8), so we cannot change “local” by “the ring has a unique maximal ideal” in Example 4.13. DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 53

7.10. Diagram of implications. In the diagram below we show the implications be- tween the conditions of reducedness/indecomposability of a ring R, and properties of the subsets POW(x) and LPOW(x) in R[x]. The converse of implication (m) will be denoted by (m)’.

(1) R is reduced (2) POW(x)  LPOW(x) R is indecomposable (1)’ and indecomposable

(3) (3)’ (4) (4)0

(5) (6) x is irreducible POW(x) ⊆ LPOW(x) x ∈ LPOW(x) (6)’ in R[x]

(7) (8) (9) (9)’

(10) x ∈ LPOW(x) and R LPOW(x) œ is reduced LPOW(x) ⊆ POW(x) ,

(11)

LPOW(x) ⊆ POW(x)

(1) Theorem 5.3b. (1)’ (3)+(7), together with (3)+(5)+(6)+(4)’. (2) Obvious. (2)’ Counterexample: R  š 4š. ¬ / (3) Obvious. (3)’ (7)+(11). (4),(4)’ Proposition 4.3. (5) Obvious. (5)’ (4)+(6)’+(5)’+(3)’+(1)’ imply (2)’, which is false. But (4),(6)’,(3)’ and ¬ (1)’ are true. (6) Proposition 3.5. (6)’ Proposition 3.4c. (7) Proposition 3.5. (7)’ (7)’+(3)’+(1)’ is false (counterexample: R  š š). But (3)’ and (1)’ are ¬ true. × (8) Obvious. (8)’ (4)+(6)’+(8)’+(10) imply (2)’, which is false. But (4),(6)’ and (10) are true. ¬ (9),(9)’ Proposition 7.5b. (10) Proposition 3.5. (10)’ (10)’+(8)+(6)+(4)’ is false (counterexample: R  š š). But (8),(6) and ¬ (4)’ are true. × (11) Theorem 5.3a. (11)’ Counterexample: any decomposable nonreduced ring R, such as R  š š 4š : ¬ for R decomposable implies LPOW x  , by (9)’+(6)+(4)’, and so we×( trivially/ ) have LPOW x POW x . ( ) œ ( ) ⊆ ( ) 54 MARCO BARONE, NICOLÁS CARO, AND EUDES NAZIAZENO

References [Art] Rob Arthan, Is š first-order definable in (the ring) š š?, Mathematics Stack Exchange. URL https://math.stackexchange.com/q/1623441 (version:× 2016-01-23). [cited on page(s) 13] [AKNS18] Matthias Aschenbrenner, Anatole Khélif, Eudes Naziazeno, and Thomas Scanlon, The Logical Complexity of Finitely Generated Commutative Rings, International Mathematics Research No- tices 2020 (2018), no. 1, 112-166, DOI 10.1093/imrn/rny023. [cited on page(s)2, 13, 49, 50, 51] [Bla79] Andreas Blass, Injectivity, projectivity, and the axiom of choice, Trans. Amer. Math. Soc. 255 (1979), 31–59, DOI 10.2307/1998165. MR542870 [cited on page(s) 13] [Coh03] Paul M. Cohn, Basic algebra: Groups, Rings and Fields, Springer-Verlag London, Ltd., London, 2003. DOI 10.1007/978-0-85729-428-9. MR1935285 [cited on page(s)3] [Den78] Jan Denef, The Diophantine problem for polynomial rings and fields of rational functions, Trans. Amer. Math. Soc. 242 (1978), 391–399, DOI 10.2307/1997746. MR0491583 [cited on page(s) 2] [Den79] Jan Denef, The Diophantine problem for polynomial rings of positive characteristic, Logic Collo- quium‘ ’78 (Mons, 1978), Stud. Logic Foundations Math., vol. 97, North-Holland, Amsterdam- New York, 1979, pp. 131–145. MR567668 [cited on page(s)2] [Eis95] David Eisenbud, Commutative Algebra, Graduate Texts in Mathematics, vol. 150, Springer- Verlag, New York, 1995. DOI 10.1007/978-1-4612-5350-1. With a View Toward Algebraic Geometry. MR1322960 [cited on page(s) 10, 29, 51] [GT95] Chris Good and Ian J. Tree, Continuing horrors of topology without choice, Topology Appl. 63 (1995), no. 1, 79–90, DOI 10.1016/0166-8641(95)90010-1. MR1328621 [cited on page(s) 13] [Hod74] Wilfrid Hodges, Six Impossible Rings, J. Algebra 31 (1974), 218–244, DOI 10.1016/ 0021-8693(74)90065-9. MR0347814 [cited on page(s) 13] [Hod79] Wilfrid Hodges, Krull Implies Zorn, J. London Math. Soc. (2) 19 (1979), no. 2, 285–287, DOI 10.1112/jlms/s2-19.2.285. MR533327 [cited on page(s)5, 52] [Hod93] Wilfrid Hodges, Model Theory, Encyclopedia of Mathematics and its Applications, vol. 42, Cambridge University Press, Cambridge, 1993. DOI 10.1017/CBO9780511551574. MR1221741 [cited on page(s)5, 21, 27, 50] [HR98] Paul Howard and Jean E. Rubin, Consequences of the Axiom of Choice, Mathematical Surveys and Monographs, vol. 59, American Mathematical Society, Providence, RI, 1998. DOI 10. 1090/surv/059. With 1 IBM-PC floppy disk (3.5 inch; WD). MR1637107 [cited on page(s) 10, 13] [Hun80] Thomas W. Hungerford, Algebra, Graduate Texts in Mathematics, vol. 73, Springer-Verlag, New York-Berlin, 1980. DOI 10.1007/978-1-4612-6101-8. Reprint of the 1974 original. MR600654 [cited on page(s)4, 41, 46] [Kas95] Christian Kassel, Quantum Groups, Graduate Texts in Mathematics, vol. 155, Springer-Verlag, New York, 1995. DOI 10.1007/978-1-4612-0783-2. MR1321145 [cited on page(s) 38] [Koe14] Jochen Koenigsmann, Undecidability in number theory, Model theory in algebra, analysis and arithmetic, Lecture Notes in Math., vol. 2111, Springer, Heidelberg, 2014, pp. 159–195, DOI 10.1007/978-3-642-54936-6_5. MR3330199 [cited on page(s)2] [Mat70] Ju. V. Matijasevič, The Diophantineness of enumerable sets, Dokl. Akad. Nauk SSSR 191 (1970), 279–282 (Russian). MR0258744 [cited on page(s)2] [Nie07] André Nies, Describing groups, Bull. Symbolic Logic 13 (2007), no. 3, 305–339, DOI 10.2178/ bsl/1186666149. MR2359909 [cited on page(s) 24] [PZ99] Thanases Pheidas and Karim Zahidi, Undecidable existential theories of polynomial rings and func- tion fields, Comm. Algebra 27 (1999), no. 10, 4993–5010, DOI 10.1080/00927879908826744. MR1709186 [cited on page(s)2] [PZ08] Thanases Pheidas and Karim Zahidi, Decision problems in algebra and analogues of Hilbert’s tenth problem, Model theory with applications to algebra and analysis. Vol. 2, London Math. Soc. Lecture Note Ser., vol. 350, Cambridge Univ. Press, Cambridge, 2008, pp. 207–235, DOI 10.1017/CBO9780511735219.007. MR2436143 [cited on page(s)2] [Poo08] Bjorn Poonen, Undecidability in Number Theory, Notices Amer. Math. Soc. 55 (2008), no. 3, 344–350. MR2382821 [cited on page(s)2] [Rob49] Julia Robinson, Definability and Decision Problems in Arithmetic, J. Symbolic Logic 14 (1949), 98–114, DOI 10.2307/2266510. MR0031446 [cited on page(s)2] [Rob51] Raphael M. Robinson, Undecidable rings, Trans. Amer. Math. Soc. 70 (1951), 137–159, DOI 10.2307/1990529. MR0041081 [cited on page(s)2,3,6, 17, 20, 21, 23, 24] DEFINABILITY OF INTEGERS AND INTERPRETABILITY IN A CLASS OF POLYNOMIAL RINGS 55

[Saw] Will Sawin, Rings for which no polynomial induces the zero function, MathOverflow. URL https: //mathoverflow.net/q/161057 (version: 2014-03-21). [cited on page(s) 14] [Shl90] Alexandra Shlapentokh, Diophantine Definitions for Some Polynomial Rings, Comm. Pure Appl. Math. 43 (1990), no. 8, 1055–1066, DOI 10.1002/cpa.3160430807. MR1075078 [cited on page(s) 15] [Shl11] Alexandra Shlapentokh, Defining Integers, Bull. Symbolic Logic 17 (2011), no. 2, 230–251, DOI 10.2178/bsl/1305810912. MR2839789 [cited on page(s)2] [Utr19] Javier Utreras, Interpreting arithmetic in the first-order theory of addition and coprimality of polyno- mial rings, J. Symb. Log. 84 (2019), no. 3, 1194—1214, DOI 10.1017/jsl.2019.21. MR4010495 [cited on page(s)2] [vDdB] R. van Dobben de Bruyn, Do there exist nonzero identically vanishing polynomials over infinite (or characteristic zero) reduced indecomposable commutative rings?, MathOverflow. URL https: //mathoverflow.net/q/268753 (version: 2017-05-02). [cited on page(s) 14]

Departamento de Matemática, Universidade Federal de Pernambuco, Avenida Jornalista Aníbal Fernandes, S/N - Cidade Universitária, Recife/PE - Brasil - 50740-560 E-mail address, M. Barone: [email protected]

Departamento de Matemática, Universidade Federal de Pernambuco, Avenida Jornalista Aníbal Fernandes, S/N - Cidade Universitária, Recife/PE - Brasil - 50740-560 E-mail address, N. Caro: [email protected]

Departamento de Matemática, Universidade Federal de Pernambuco, Avenida Jornalista Aníbal Fernandes, S/N - Cidade Universitária, Recife/PE - Brasil - 50740-560 E-mail address, E. Naziazeno: [email protected]