1 Introduction
Unification is a fundamental concept in computer science, with applications in logic programming, automated reasoning, and type inference. At its core, a unification problem asks for a substitution that makes two different logical expressions identical. In automated reasoning, unification plays a crucial role in the resolution principle [Reference Robinson23]. In type systems, particularly within functional and logic programming languages, unification algorithms are employed to infer the most general types of expressions [Reference Hindley9, Reference Milner21].
When syntactical identity is replaced by equality modulo a given equational theory E, one speaks of E-unification. The study of unification modulo an equational theory has acquired increasing significance in the last few decades (see, e.g., [Reference Baader, Snyder, Robinson and Voronkov2]). The most basic property of E in relation to unification issues is its unification type. In rough terms, this determines the number of optimal solutions for a unification problem in the worst possible case. Unification modulo a theory finds applications in logic, where it is often used to study admissible rules (see, e.g., [Reference Cintula and Metcalfe6, Reference Iemhoff12–Reference Jeřábek17]).
In this article, we are concerned with unification in Łukasiewicz logic. Łukasiewicz logic is a non-classical many-valued logic that extends classical logic by allowing for more than two truth values. Named after the Polish logician Jan Łukasiewicz, who introduced it in the early twentieth century (cf. [Reference Łukasiewicz and Tarski18, Section 3] and [Reference Tarski25, pp. 38–59]), the infinitely-valued Łukasiewicz logic generalises the concept of true and false to include infinitely many truth values, typically ranging from
$0$
to
$1$
. This approach provides a flexible framework for modelling vagueness, gradations of truth, and uncertainty.
The unification type of Łukasiewicz logic was studied in [Reference Marra and Spada20] where it was proved to be nullary, i.e., the worst possible type. The proof of this result uses geometric methods and in particular involves the universal covering of the boundary of the square. The role of the universal covering is to provide more and more general solutions to a unification problem, thus showing that its solutions do not lie under any maximally general solution (formal definitions are given in Section 2).
The solutions provided by the universal covering involve an increasing number of variables. Thus, one naturally wonders whether bounding the number of variables allowed might lead to a better unification type.
For example, this is the case for the equational theory of bounded distributive lattices. Indeed, its unification type was proved to be nullary in [Reference Ghilardi7, Theorem 5.7]. However, the variety is locally finite, and so, for every
$n \in \mathbb {N}$
, every unification problem has finitely many solutions with at most n variables. It follows that, for every
$n \in \mathbb {N}$
, the unification type of bounded distributive lattices restricted to n variables is either unitary or finitary.
The unification type of Łukasiewicz logic with a bounded number of variables was conjectured to be nullary in [Reference Marra and Spada20, p. 210]. In [Reference Abbadini, Di Stefano, Spada and Lesot1], a partial answer to the conjecture was provided: the authors proved that, for every
$n \geqslant 2$
, the unification type of the fragment of Łukasiewicz logic with n distinct variables is either infinitary or nullary. The main contribution of this article is the following.
Thoerem (Main Result).
For all
$m\geqslant 2$
and
$n\geqslant 2$
, the unification type of Łukasiewicz logic restricted to at most m variables for the problem and at most n variables for the solutions is nullary.
Regarding the remaining cases, note that if
$m=0$
then the unification is trivially unitary since this is the case for every equational theory E. Furthermore, if
$m \geqslant 1$
and
$n = 0$
then the unification is finitary (e.g., the problem
$x \approx x$
has precisely two solutions:
$0$
and
$1$
; and they are incomparable). The case
$m=1$
and
$n\geqslant 1$
gives a finitary unification type (see [Reference Marra and Spada20, Section 4]). It remains an open problem to determine the unification type restricted to at most
$n=1$
variable for the solution and at most
$m \geqslant 2$
variables for the problem. (We are not able to address this case because Lemma 4.6 below fails for
$n=1$
.)
The following table summarises the unification types of Łukasiewicz logic restricted to at most
$m\in \{0,1,2,\dots \}\cup \{\aleph _0\}$
variables for the problem and at most
$n\in \{0,1,2,\dots \}\cup \{\aleph _0\}$
for the solution.

The proof of the Main Result is performed by exhibiting a specific unification problem that witnesses the nullarity of the unification type. More precisely, we show the following.
Fact. The unification problem
in the variables
$x_1$
and
$x_2$
has a unifier
$\iota $
in the variable y, namely,
such that, for every
$n \geqslant 2$
and unifier
$\sigma $
in at most n variables more general than
$\iota $
, there is a unifier
$\sigma '$
in at most n variables strictly more general than
$\sigma $
.
Notice that the unification problem (1) is the same that was used in [Reference Marra and Spada20] to prove the nullarity of the unification type of the full Łukasiewicz logic. However, the proof strategy in this case is completely different. We summarise here the main steps.
First, in Section 2, we refine Ghilardi’s algebraic approach in order to account for bounds on the number of variables in the problem and in the solutions (Lemma 2.3); this allows us to recast the unification problem with a bounded number of variables in terms of the algebraic semantics of Łukasiewicz logic: MV-algebras. As a second step, we use the duality between finitely presented MV-algebras and rational polyhedra (see Section 3) to transform the algebraic problem into a geometric one. The basic concepts and results in polyhedral geometry needed in the rest of the article are recalled in this section.
Under the above duality, the unification problem (1) corresponds to the boundary
$\mathfrak {B}$
of the unit square
$[0,1]^2$
. Unifiers correspond in the duality to piecewise affine maps with integer coefficients. We prove (i) that every unifier
$[0,1]^n \to \mathfrak {B}$
more general than

is not constant on the boundary of
$[0,1]^n$
(Lemma 5.3) and (ii) that every unifier
$[0,1]^n \to \mathfrak {B}$
that is not constant on the boundary of
$[0,1]^n$
admits a strictly more general unifier
$[0,1]^{\max \{2, n\}} \to \mathfrak {B}$
(this is Lemma 5.4, if we take into account the first observation in the proof of Lemma 5.5). Together, these two claims prove the Fact above and hence the nullarity, for any
$m,n \geqslant 2$
, of the unification type of Łukasiewicz logic restricted to at most m variables for the problem and at most n for the solutions. Although claim (i) is quite immediate, claim (ii) will require more technical work, which we do in Sections 4 and 5.
2 Unification
Let
$\mathscr {V}$
be a fixed infinite set of variables. We fix a purely functional language
$\mathcal {L}=(F,\alpha )$
in the usual sense, i.e., F is a set of function symbols and
$\alpha $
is an arity function. For
${X}\subseteq \mathscr {V}$
, we write
$T_{{X}}(\mathcal {L})$
for the set of all terms in
$\mathcal {L}$
with variables ranging in
${X}$
.
As usual, by an
, we mean a pair
$(t_1,t_2)$
of terms in
$T_{{X}}(\mathcal {L})$
(usually written as
$t_1\approx t_2$
). Let E be a set of equations. By
$t_1\approx _{E}t_2$
, we mean that the universal closure of the equation
$t_1 \approx t_2$
holds in every
$\mathcal {L}$
-algebra that satisfies the universal closure of every equation from E. For
${X},{Y}\subseteq \mathscr {V}$
, a map
$\sigma \colon {X}\to T_{{Y}}(\mathcal {L})$
is called a
. Every substitution
$\sigma \colon {X}\to T_{{Y}}(\mathcal {L})$
extends in a unique way to a map
$\widehat {\sigma }\colon T_{{X}}(\mathcal {L})\to T_{{Y}}(\mathcal {L})$
that commutes with the function symbols in
$\mathcal {L}$
.
An
is a pair
$({X}, S),$
where X is a finite subset of
$\mathscr {V}$
and
$S=\{s_1\approx t_1,\dots , s_k\approx t_k\}$
is a finite set of equations with variables in X. An
is a substitution
$\sigma \colon {X}\to T_{{Y}}(\mathcal {L})$
such that
For
$n\in \{0,1,2,\dots ,\}\cup \{\aleph _0\}$
, we denote by
$U_E(n,X,S)$
the set of all E-unifiers for
$(X,S)$
with variablesFootnote
1
in Y, with Y ranging among finite subsets of
$\mathscr {V}$
of cardinality at most n.
Let
${Y}_{1},{Y}_{2}\subseteq \mathscr {V}$
and let
$\sigma \colon {X}\to T_{{Y}_1}(\mathcal {L})$
and
$\tau \colon {X}\to T_{{Y}_2}(\mathcal {L})$
be substitutions. We say that
$\sigma $
is
than
$\tau $
(with respect to E), in symbols
$\tau \preccurlyeq _{E}\sigma $
, if there is a substitution
$\theta \colon {Y}_1\to T_{{Y}_2}(\mathcal {L})$
such that
$\tau (x)\approx _{E}\widehat {\theta }(\sigma (x))$
is valid for every
$x\in X$
. The relation
$\preccurlyeq _{E}$
is a preorder, i.e., a reflexive and transitive relation. We consider the restriction of
$\preccurlyeq _{E}$
to
$U_E(n,X,S)$
. It is well known that any preordered set
$(P,\preccurlyeq )$
induces a partial order—called the
—on the quotient
$P/{\sim }$
, where
$p\sim q$
if and only if
$p\preccurlyeq q$
and
$q\preccurlyeq p$
, for any
$p,q\in P$
. With an abuse of notation, we denote in the same way the pre-ordered set and its partially ordered quotient.
We say that a subset S of a partially ordered set
if every
$p\in P$
is less than or equal to some
$s\in S$
. We say that a non-empty partially ordered set
$(P,\leqslant )$
has:
-
(1)
if the set of maximal elements of
$(P,\leqslant )$
covers P and has cardinality
$1$
; -
(2)
if the set of maximal elements of
$(P,\leqslant )$
covers P and has finite cardinality strictly greater than
$1$
; -
(3)
if the set of maximal elements of
$(P,\leqslant )$
covers P and is infinite; -
(4)
if the set of maximal elements of
$(P,\leqslant )$
does not cover P.
Exactly one of the above conditions holds. It is understood that the list above is arranged in decreasing order of desirability. The
is defined as the least desirable type occurring among all non-empty
$U_{E}(\aleph _0,{X},S)$
, for
$({X}, S)$
that ranges among all E-unification problems. More generally, given
$m,n\in \{0,1,2,\dots \}\cup \{\aleph _0\}$
, the
is defined as the least desirable type occurring among all non-empty
$U_{E}(n,X,S)$
, for
$({X}, S)$
that ranges among all E-unification problems with
${X}$
of cardinality at most m.
Remark 2.1. If, in the above definition, one or both of the “at most” are replaced with “precisely”, one gets an equivalent definition. This is particularly easy to see if the language has at least a constant symbol c. In this case, for any
$m' \leqslant m$
, every problem in variables
$x_1, \dots , x_{m'}$
can be turned into a problem in the variables
$x_1, \dots , x_m$
by adding for any
$i \in \{m' + 1, \dots , m\}$
the equation
$x_i \approx c$
. This shows that the “at most” regarding the problem can be turned into a “precisely”. Moreover, for any
$n' \leqslant n$
, every unifier in variables
$y_1, \dots , y_{n'}$
is equally general to itself seen in variables
$y_1, \dots , y_n$
, as witnessed by the substitution
$\{y_1, \dots , y_{n'}\} \hookrightarrow T_{\{y_1, \dots , y_n\}}$
mapping
$y_i$
to
$y_i$
and the substitution
$\{y_1, \dots , y_{n'}\} \to T_{\{y_1, \dots , y_n\}}$
mapping
$y_i$
to
$y_i$
if
$i \leqslant n'$
and to c otherwise. This shows that also the “at most” regarding the solution can be turned into a “precisely”.
The same is true also without the hypothesis that the language has at least a constant symbol. First of all, we notice that for all possible choices for the number of variables in the solutions, a unifiable problem in
$0$
variables will have a unitary type, and so problems in
$0$
variables can be disregarded. For any
$1 \leqslant m' \leqslant m$
, every problem in variables
$x_1, \dots , x_{m'}$
can be thought of as a problem in the variables
$x_1, \dots , x_{m'}, \dots , x_m$
by adding for any
$i \in \{m' + 1, \dots , m\}$
the equation
$x_i \approx x_1$
. Finally, observe that if the problem is in at least one variable, say x, then for all
$n' \leqslant n$
, every unifier
$\sigma $
in variables
$\{y_1, \dots , y_{n'}\}$
is equally general to itself seen in variables
$\{y_1, \dots , y_{n}\}$
, as witnessed by the substitution
$\{y_1, \dots , y_{n'}\} \hookrightarrow T_{\{y_1, \dots , y_n\}}$
mapping
$y_i$
to
$y_i$
and the substitution
$\{y_1, \dots , y_{n'}\} \to T_{\{y_1, \dots , y_n\}}$
mapping
$y_i$
to
$y_i$
if
$i \leqslant n'$
and to
$\sigma (x)$
otherwise.
In [Reference Ghilardi7], Ghilardi introduced an algebraic approach to unification modulo an equational theory E through the notions of finitely presentable and projective objects. Since these notions are categorical, the E-unification types can be studied up to a categorical equivalence without knowing how the equivalence functors are defined.
Remark 2.2. There cannot be any categorical characterisation of algebras that are “presentable with n variables”, as we briefly show here. Let
$\mathbb {T}$
be the variety generated by any primal algebra with three elements. By [Reference Hu10, Theorem 1] (see also [Reference Hu11, Corollary, p. 153]),
$\mathbb {T}$
is dually equivalent to the category of Stone spaces, and thus it is also equivalent to the category of Boolean algebras. The free Boolean algebra on
$1$
generator corresponds under Stone duality to the
$2$
-element space. The free
$\mathbb {T}$
-algebra on
$1$
generator corresponds under this duality to the
$3$
-element space. Therefore, under these dualities, the 1-generated Boolean algebras correspond to the Stone spaces with at most two elements, and the 1-generated
$\mathbb {T}$
-algebras to the Stone spaces with at most three elements. Thus, the
$\mathbb {T}$
-algebra freely generated on
$1$
generator corresponds to a Boolean algebra (namely, the power set of a set of three elements) that is not
$1$
-generated. We conclude that the notion of “
$1$
-generated” is not preserved under categorical equivalence.
Therefore, we work with free algebras instead of projective ones. However, we will still solve the problem through a categorical duality; this will be possible because we will keep track of the objects that in our specific duality correspond to algebras that are presentable with n variables.
Given a set of equations E in a purely functional language
$\mathcal {L}$
, let
$\mathbb {V}(E)$
be the class of its models;
$\mathbb {V}(E)$
is said to be a
. A
is a pair
$({X},S)$
consisting of a set
${X}\subseteq \mathscr {V}$
and a set of equations S with variables in
${X}$
. To each presentation
$({X},S)$
we associate the quotient of the
$\mathbb {V}(E)$
-algebra freely generated by X by the congruence on this algebra generated by the image of S under the canonical homomorphism from terms to elements of the free algebra. We write
$\mathcal {F}({X})$
as a shorthand for
$\mathcal {F}({X},\emptyset )$
; the algebra
$\mathcal {F}({X})$
is known as the
$\mathbb {V}(E)$
-algebra freely generated by
${X}$
. An algebra A is called
if there is a presentation
$({X},S)$
with
${X}$
and S finite such that A is isomorphic to
$\mathcal {F}({X},S)$
.
Let
$f\colon \mathcal {F}({X},S)\to \mathcal {F}({Z}_{1})$
and
$g \colon \mathcal {F}({X},S)\to \mathcal {F}({Z}_{2})$
be
$\mathcal {L}$
-homomorphisms with
$Z_1,Z_2\subseteq \mathscr {V}$
. We set
$f\preccurlyeq g$
if there is an
$\mathcal {L}$
-homomorphism
$h\colon \mathcal {F}({Z}_{2})\to \mathcal {F}({Z}_{1})$
such that
$f=h\circ g$
. Let
$V_E(n, X, S)$
be the set of
$\mathcal {L}$
-homomorphisms from
$\mathcal {F}(X,S)$
to
$\mathcal {F}({Z})$
, with
${Z}$
ranging among subsets of
$\mathscr {V}$
of cardinality n.
Lemma 2.3. For every E-unification problem
$(X,S)$
and every
$n\in \{0,1,2,\dots \}\cup \{\aleph _0\}$
, the partially ordered sets
$U_E(n,X,S)$
and
$V_E(n,X,S)$
are isomorphic.
Proof. The ensuing argument is just a minor variation of [Reference Ghilardi7, Theorem 4.1]. For the sake of the reader, we explicitly provide the bijection.
To any E-unifier
$\sigma $
for S with variables in
${Y}$
, we associate the unique homomorphism
$f_{\sigma }\colon \mathcal {F}({X},S)\to \mathcal {F}({Y})$
that makes the following diagram commute:

i.e., the homomorphism that sends the equivalence class of a term t to the equivalence class of
$\widehat {\sigma }(t)$
. It is routine to check that
$f_{\sigma }$
is a well-defined homomorphism precisely because
$\sigma $
is a unifier for S.
Vice versa, let
$f\colon \mathcal {F}({X},S)\to \mathcal {F}({Y})$
be a
$\mathbb {V}(E)$
-homomorphism. For each
$x \in X$
, we let
$[x]$
denote the equivalence class of x in
$\mathcal {F}({X},S)$
, and we choose an element
$\sigma _f(x) \in T_{{Y}}(\mathcal {L})$
such that its equivalence class in
$\mathcal {F}({Y})$
is
$f([x])$
. The resulting function
$\sigma _{f} \colon X \to T_{{Y}}(\mathcal {L})$
is an E-unifier for S with variables in S: indeed, if
$(s(x_{1},\dots ,x_{n}),t(x_{1},\dots , x_{n}))\in S$
, then
$$ \begin{align*} \widehat{\sigma_{f}}(s(x_{1},\dots,x_{n}))&\approx_{E}s(f([x_{1}]),\dots,f([x_{n}]))\approx_{E}f\left([s(x_{1},\dots,x_{n})]\right)\\ &\approx_{E}f\left([t(x_{1},\dots,x_{n})]\right) \approx_{E}t(f([x_{1}]),\dots,f([x_{n}]))\\ & \approx_{E} \widehat{\sigma_{f}}(t(x_{1},\dots,x_{n})). \end{align*} $$
We then have the following commutative diagram:

It is not difficult to see that the composite
$V_E(n,X,S) \to U_E(n,X,S) \to V_E(n,X,S)$
is the identity. Moreover, it is equally easy to see that the composite
$U_E(n,X,S) \to V_E(n,X,S) \to U_E(n,X,S)$
maps an E-unifier
$\sigma $
to an E-unifier
$\sigma '$
such that for every
$x \in X$
we have
$\sigma (x) \approx _E \sigma '(x)$
, and so
$\sigma \preccurlyeq _E \sigma '$
and
$\sigma ' \preccurlyeq _E \sigma $
.
Both the above-defined maps are order-preserving. Indeed, let
$\tau $
and
$\sigma $
be E-unifiers for S with variables in
${Y}_1$
and
${Y}_2$
, respectively, and suppose that
$\tau \preccurlyeq _E \sigma $
. Then there is a substitution
$\theta \colon {Y}_1\to T_{{Y}_2}(\mathcal {L})$
such that
$\tau (x)\approx _{E}\widehat {\theta }(\sigma (x))$
holds for every
$x\in X$
. This function induces a homomorphism
$\mathcal {F}(\theta ) \colon \mathcal {F}({Y}_1) \to \mathcal {F}({Y}_2)$
(obtained by applying the free functor
$\mathcal {F}$
to
$\theta $
) which satisfies
$\mathcal {F}(\theta ) \circ f_\sigma = f_\tau $
, from which we deduce
$f_\tau \preccurlyeq f_\sigma $
. Then, the restriction of h to
${Z}_1$
gives a substitution
$h' \colon {Z}_{1} \to \mathcal {F}({Z}_2)$
such that
$\sigma _f = \widehat {h'} \circ \sigma _g$
, whence
$\sigma _f \preccurlyeq \sigma _g$
.
3 Łukasiewicz logic, MV-algebras, and rational polyhedra
The equivalent algebraic semantics of Łukasiewicz logic is provided by MV-algebras. The standard reference is [Reference Cignoli, D’Ottaviano and Mundici5]. An important tool in the study of MV-algebras is the duality between finitely presented MV-algebras and rational polyhedra (see [Reference Marra and Spada19, Reference Marra and Spada20] and also [Reference Cabrer and Spada4]), which we will introduce after briefly recalling some concepts in piecewise geometry needed for the presentation. Since we will only work in the dual category of rational polyhedra, the algebraic properties of MV-algebras have no relevance in this article.
For any
$S\subseteq \mathbb {R}^{n}$
, the
of S is defined as

A
in
$\mathbb {R}^n$
is the convex hull of finitely many points with rational coordinates. A
is a finite union of rational polytopes.
Theorem 3.1 [Reference Ziegler26, Theorem 1.1].
A subset
$P \subseteq \mathbb {R}^n$
is the convex hull of finitely many points if and only if it is a bounded intersection of finitely many half-spaces.
Recall that a map
$\eta \colon \mathbb {R}^n\to \mathbb {R}$
is said to be
if there are
$\lambda _0,\lambda _1,\dots ,\lambda _n\in \mathbb {R}$
(the
of
$\eta $
) such that
$\eta (x_1,\dots ,x_n)=\lambda _0+\lambda _1x_1+\dots +\lambda _nx_n$
for every
$(x_1,\dots ,x_n)\in \mathbb {R}^n$
.
Definition 3.2. Let
$m,n\in \mathbb {N}$
. A function
$\eta \colon \mathbb {R}^m\to \mathbb {R}^n$
is called a
if it is continuous and there are affine maps
$\eta _1, \dots , \eta _k$
with integer coefficients such that for any
$x\in \mathbb {R}^m$
there is
$i\leqslant k$
for which
$\eta (x) = \eta _i(x)$
. For
$A\subseteq \mathbb {R}^m$
and
$B\subseteq \mathbb {R}^n$
, we also call
$\mathbb {Z}$
-map any function
$\eta '\colon A \to B$
, obtained by restricting a
$\mathbb {Z}$
-map
$\eta \colon \mathbb {R}^m \to \mathbb {R}^n$
, i.e. such that for any
$x\in A$
,
$\eta '(x)=\eta (x)\in B$
.
Theorem 3.3 [Reference Marra and Spada20, Theorem 3.4].
The category of rational polyhedra and
$\mathbb {Z}$
-maps is dually equivalent to the category of finitely presented MV-algebras and homomorphisms.
Under the duality of Theorem 3.3, for each
$n\in \mathbb {N}$
the free MV-algebra on n generators corresponds to the Thyconoff cube
$[0,1]^n$
. The dual of a unification problem in m variables S is a rational polyhedron
$B_S\subseteq [0,1]^{m}$
. The dual of a unifier with n variables for S is a
$\mathbb {Z}$
-map
$\eta \colon [0,1]^{n}\to B_S$
. Finally, if the
$\mathbb {Z}$
-maps
$\tau \colon [0,1]^{n_1}\to B$
and
$\sigma \colon [0,1]^{n_2}\to B$
correspond to some unifiers
$\tau '$
and
$\sigma '$
, respectively, then
$\sigma '$
is more general than
$\tau '$
if and only if there is a
$\mathbb {Z}$
-map
$\alpha \colon [0,1]^{n_1} \to [0,1]^{n_2}$
such that the following diagram commutes:

Thus, in the following we will often say that a
$\mathbb {Z}$
-map
$\sigma $
is more general than a
$\mathbb {Z}$
-map
$\tau $
when the condition above applies. Finally, the dual of the unification problem
$x_1 \lor x_2 \lor \lnot x_1 \lor \lnot x_2 \approx 1$
introduced in Section 1 is the boundary
$\mathfrak {B}$
of the unit square
$[0,1]^2$
, i.e.,
Having translated unification problems of Łukasiewicz logic in properties of rational polyhedra and
$\mathbb {Z}$
-maps, we now recall some standard tools in piece-wise linear geometry.
A set
$W\subseteq \mathbb {R}^n$
is an
if either
$W=\emptyset $
or there are
$x \in \mathbb {R}^n$
and a vector subspace
$V\subseteq \mathbb {R}^n$
such that
$W = x + V$
. In the latter case, we define the
of W as the vector space V and the dimension of W as the dimension of V, denoted by
$\dim {W}$
. Conventionally,
. We also say that any element
$v \in V$
is
to the affine space
$x + V$
. For
$S \subseteq \mathbb {R}^n$
, the
of S is the intersection of all the affine spaces in
$\mathbb {R}^n$
that contain S. The vectors
$v_0,\dots ,v_k\in \mathbb {R}^n$
are called
if the affine span of
$\{v_0,\dots ,v_k\}$
has dimension k.
Let
$k\in \{-1,0,1,2,\dots \}$
. A
(also called
) S in
$\mathbb {R}^n$
is the convex hull of
$k+1$
affinely independent
$v_0,\dots ,v_{k}\in \mathbb {Q}^n$
. Given a rational k-simplex S, there is a unique (
$k+1$
)-tuple of points
$v_0,\dots ,v_{k}$
such that
These points are called the
of S and denoted by
$\mathtt {vert}(S)$
.
A
of a simplex S is the convex hull of any subset of
$\mathtt {vert}(S)$
. A
in
$\mathbb {R}^n$
is a finite set of rational simplices in
$\mathbb {R}^n$
that satisfies the following conditions:
-
(1) every face of a simplex in
$\mathcal {K}$
is also in
$\mathcal {K}$
; -
(2) if
$S_{1},S_2\in \mathcal {K}$
, then
$S_1\cap S_2$
is a face of both
$S_1$
and
$S_2$
.
For every finite set
$\mathcal {K}$
of rational simplices in
$\mathbb {R}^n$
, the union of the simplices of
$\mathcal {K}$
is denoted by
$\lvert \mathcal {K}\rvert $
. Every rational simplicial complex
$\mathcal {K}$
is said to be a
of
$\lvert \mathcal {K}\rvert $
. The
of a rational simplicial complex are exactly the vertices of its simplices; we denote by
$\mathtt {vert}(\mathcal {K})$
the set of vertices of
$\mathcal {K}$
.
For any
$v=(v_1,\dots ,v_n)\in \mathbb {Q}^n$
, the
of v, denoted by
$\mathrm {den}(v)$
, is the least common multiple of the denominators of
$v_1$
, …,
$v_n$
. Moreover, we set
A simplex
$\mathtt {conv}(w_0,\dots ,w_k)\subseteq \mathbb {R}^n$
is said to be
if its vertices are rational and the set of integer vectors
$\{\widetilde {w_0}, \dots ,\widetilde {w_k} \}$
can be extended to a basis of the free abelian group
$\mathbb {Z}^{k+1}$
. A
is a rational triangulation whose simplices are regular.
Theorem 3.4 [Reference Rourke and Sanderson24, Theorem 2.2].
For every
$\mathbb {Z}$
-map
$\eta \colon P \to Q$
there is a regular triangulation
$\mathcal {K}$
of P such that the restriction of
$\eta $
to each simplex of
$\mathcal {K}$
is an affine map with integer coefficients.
Lemma 3.5. For every finite set
$\mathcal {K}$
of rational polyhedra in
$\mathbb {R}^n$
, there is a regular triangulation
$\Delta $
of
$\lvert \mathcal {K}\rvert $
such that every element of
$\mathcal {K}$
is a union of simplices of
$\Delta $
.
Proof. The proof of [Reference Mundici22, Proposition 1] gives the result for the case in which every element of
$\mathcal {K}$
is contained in
$[0,1]^n$
. However, the slightly more general result in the statement can be obtained in an analogous way by covering
$\lvert \mathcal {K}\rvert $
with translations of the unit cube by vectors with integer coordinates.
Lemma 3.6. Let
$P\subseteq \mathbb {R}^n$
be a rational polyhedron,
$\Delta $
a regular triangulation of P and
$f\colon \mathtt {vert}(\Delta )\to \mathbb {Q}^m$
a function. If
$\mathrm {den}(f(v))$
divides
$\mathrm {den}(v)$
for every
$v\in \mathtt {vert}(\Delta )$
, then f can be uniquely extended to a
$\mathbb {Z}$
-map
$\eta \colon P\to \mathbb {R}^m$
that is affine on each simplex of
$\Delta $
.
Proof. This was established in [Reference Cabrer and Mundici3, Lemma 5.1] for polyhedra in
$[0,1]^n$
, but a similar argument also works for polyhedra in
$\mathbb {R}^n$
.
Finally, we recall that the
of a set S is defined as the interior of S within its affine hull. Given any presentation of a k-simplex S in
$\mathbb {R}^n$
as the solution set of a system of
$n-k$
affine equations and
$k + 1$
affine inequalities, the relative interior of S is the solution set of the same equations and the strict versions of the affine inequalities.
4 Squeezing lemma
We are now going to prove a series of lemmas on polyhedra and
$\mathbb {Z}$
-maps. Our final aim is to show that, for every
$n\geqslant 2$
, any
$\mathbb {Z}$
-map
$[0,1]^n \to \mathfrak {B}$
that is not constant on the boundary of
$[0,1]^n$
can be slightly modified to obtain a strictly more general
$\mathbb {Z}$
-map
$[0,1]^n \to \mathfrak {B}$
that is still not constant on the boundary of
$[0,1]^n$
; this is the content of Theorem 4.7 below.
Lemma 4.1. Let Q be a rational polyhedron in
$\mathbb {R}^n$
and P a closed subset of
$\mathbb {R}^n$
. If
$Q\setminus P\neq \emptyset $
then there is a rational element in
$Q\setminus P$
.
Proof. Let
$x\in Q\setminus P$
, which is non-empty by hypothesis. By Lemma 3.5 there are rational simplices
$S_1,\dots ,S_n$
such that
$Q=S_1\cup \dots \cup S_n$
. Thus, there is
$i\in \{1,\dots ,n\}$
such that
$x\in S_i\setminus P$
. Let
$\mathtt {vert}{S_{i}}=\{v_1,\dots ,v_m\}$
and let
It follows that there is
$(\lambda _1,\dots ,\lambda _m)\in \Delta _m$
such that
$x=\lambda _1 v_1+\dots +\lambda _m v_m$
. Using the density of rational numbers, for every
$\varepsilon>0$
one can find
$\delta _2, \dots , \delta _m\in (-\varepsilon ,\varepsilon )$
such that
Notice that
$\lambda _1-(\delta _2+\dots +\delta _m)$
must also be a rational number, because
$$ \begin{align*} \lambda_1-(\delta_2+\dots+\delta_m)&=1-(\lambda_2+\dots+\lambda_m)-(\delta_2+\dots+\delta_m)\\ &=1-((\lambda_2+\delta_2)+\dots+(\lambda_m+\delta_m)) \end{align*} $$
and the latter is a sum of rational numbers. Moreover, by Equation (2),
$0\leqslant \lambda _1-(\delta _2+\dots +\delta _m)\leqslant 1$
. Therefore, there are rational points in
$\Delta _m$
arbitrarily close to
$(\lambda _1,\dots ,\lambda _m)$
. Since the map from
$\Delta _m$
to Q defined by
$(\alpha _1, \dots , \alpha _m) \mapsto \alpha _1 v_1 + \dots + \alpha _m v_m$
is continuous and maps rational points to rational points, there are rational points in Q arbitrarily close to
$\lambda _1 v_1 + \dots + \lambda _m v_m = x$
. Since the complement of P is open and contains x, it must also contain one of these points.
Lemma 4.2. Let P and Q be rational polyhedra in
$\mathbb {R}^n$
with P strictly included in Q. For any
$z \in \mathbb {Z}$
, every
$\mathbb {Z}$
-map from P to
$\mathbb {R}$
can be extended to a
$\mathbb {Z}$
-map from Q to
$\mathbb {R}$
whose image contains z.
Proof. Let
$\eta \colon P \to \mathbb {R}$
be a
$\mathbb {Z}$
-map. By Theorem 3.4 there is a triangulation
$\mathcal {K}$
of P such that
$\eta $
is affine over each simplex of
$\mathcal {K}$
. Let s be a rational element of
$Q \setminus P$
, whose existence is guaranteed by Lemma 4.1. By an application of Lemma 3.5 to
$\mathcal {K}\cup \{Q,\{s\}\}$
, there is a regular triangulation
$\Delta $
of Q such that
$s\in \mathtt {vert}(\Delta )$
and every simplex of
$\mathcal {K}$
is a union of simplices of
$\Delta $
. We define
$$ \begin{align*} f \colon \mathtt{vert}(\Delta) & \longrightarrow \mathbb{R}\\ v& \longmapsto {\begin{cases} \eta(v)&\text{if }v\in P,\\ z&\text{otherwise.} \end{cases}} \end{align*} $$
Since
$\eta $
is a
$\mathbb {Z}$
-map and z has denominator
$1$
,
$f(v)$
is rational and
$\mathrm {den}(f(v))$
divides
$\mathrm {den}(v)$
for every
$v \in \mathtt {vert}(\Delta )$
. Thus, by Lemma 3.6, f can be uniquely extended to a
$\mathbb {Z}$
-map
$\theta \colon Q\to \mathbb {R}$
that is affine on each simplex of
$\Delta $
. Since
$\eta $
is affine over every simplex of
$\mathcal {K}$
and every simplex of
$\mathcal {K}$
is a union of simplices of
$\Delta $
, the map
$\theta $
extends
$\eta $
. Moreover,
$\theta (s) = f(s) = z$
.
Lemma 4.3. Let
$t,v,w\in \mathbb {Q}^n$
, with
$v\neq 0$
. For every
$\varepsilon>0$
, there are rational numbers
$\delta , \tau \in (0,\varepsilon )$
such that
$\mathrm {den}(t+\delta v)=\mathrm {den}(t+\delta v +\tau w)$
.
Proof. It is easy to see that there are strictly positive integers a and b such that, setting
and
, the vectors
$v'$
and
$w'$
belong to
$\mathbb {Z}^n$
and
$v' + w' \neq 0$
. We choose a prime p strictly greater than the following values:
$\frac {1}{\varepsilon }$
,
$\mathrm {den}(t)$
, and the absolute value of each coordinate of
$v'$
and
$v'+w'$
. It follows that
$\frac {1}{p}<\varepsilon $
, the integers p and
$\mathrm {den}(t)$
are co-prime, and hence one easily obtains that
$\mathrm {den}\left (t+\frac {v'}{p}\right )=\mathrm {den}(t)p$
. Furthermore,
$\mathrm {den}(\frac {v'}{p})=\mathrm {den}(\frac {v'+w'}{p})=p$
(using the fact that
$v',v'+w'\neq 0$
). Set
. Then
$q\in (0,\varepsilon )$
and
$$\begin{align*}\mathrm{den}(t+q v')=\mathrm{den}\left(t+\frac{v'}{p}\right)=\mathrm{den}(t)p=\mathrm{den}\left(t+\frac{v'+w'}{p}\right)=\mathrm{den}(t+q v' +q w').\end{align*}$$
To conclude the proof, set
and
.
Informally, the next lemma asserts the following. Let S be a simplex in
$\mathbb {R}^n$
,
$t \in S$
and
$w_1,\dots w_l$
be vectors parallel to S. Suppose that, for every (
$k-1$
)-dimensional face F of S to which t belongs, for every i the vector
$w_i$
points towards S when placed in the relative interior of F, and towards the relative interior of S for at least one i. Then moving from t toward the direction given by a suitably small positive linear combination of
$w_1,\dots , w_l$
gives a point in the relative interior of S.
We use the notation
$\cdot $
for the scalar product of vectors.
Lemma 4.4. Let
$S \subseteq \mathbb {R}^n$
be a k-dimensional simplex and
$t\in S$
. Suppose that S is described by the following system:
$$ \begin{align*} \begin{cases} \alpha_i\cdot x\geqslant a_i & \text{for }i\in\{0,\dots,k\},\\ \alpha_i\cdot x= a_i & \text{for } i\in\{k+1,\dots,n\}. \end{cases} \end{align*} $$
If
$w_1, \dots , w_l$
are vectors parallel to S such that for all
$i \in \{0, \dots , k\}$
with
$\alpha _i \cdot t = a_i$
and for all
$j \in \{1, \dots , l\}$
we have
and there is
$j_0 \in \{1, \dots , l\}$
such that
$\alpha _i \cdot w_{j_0}> 0$
, then there is
$\varepsilon> 0$
such that, for all
$\delta _1, \dots , \delta _l \in (0, \varepsilon )$
,
$t + \delta _1 w_1 + \dots + \delta _l w_l$
is in the relative interior of S.
Proof. For any
$\delta _1, \dots , \delta _l>0$
,
$t + \delta _1 w_1 + \dots + \delta _l w_l$
is in the relative interior of S if and only if
$$ \begin{align*} \begin{cases} \alpha_i\cdot (t + \delta_1 w_1 + \dots + \delta_l w_l)> a_i & \text{for }i\in\{0,\dots,k\},\\ \alpha_i\cdot (t + \delta_1 w_1 + \dots + \delta_l w_l)= a_i & \text{for } i\in\{k+1,\dots,n\}. \end{cases} \end{align*} $$
For any
$i \in \{k +1, \dots , n\}$
the following conditions hold:
$\alpha _i \cdot t = a_i$
(since
$t \in S$
) and, for every
$j \in \{1, \dots , l\}$
,
$\alpha _i \cdot w_j = a_i$
(since
$w_j$
is parallel to S); therefore,
$\alpha _i\cdot (t + \delta _1 w_1 + \dots + \delta _l w_l)= a_i$
. Therefore,
$t + \delta _1 w_1 + \dots + \delta _l w_l$
is in the relative interior of S if and only if, for every
$i\in \{0,\dots ,k\}$
,
$\alpha _i\cdot (t + \delta _1 w_1 + \dots + \delta _l w_l)> a_i$
. Fix
$i \in \{0, \dots , k\}$
. If
$\alpha _i \cdot t> a_i$
, then for
$\delta _1, \dots , \delta _l$
small enough we have
$\alpha _i\cdot (t + \delta _1 w_1 + \dots + \delta _l w_l) = (\alpha _i\cdot t) + \delta _1 (\alpha _i \cdot w_1) + \dots + \delta _l (\alpha _i \cdot w_l)> a_i$
. If, otherwise,
$\alpha _i \cdot t = a_i$
, then by hypothesis there is
$j_0 \in \{1, \dots , l\}$
such that
$\alpha _i \cdot w_{j_0}> 0$
and so, whatever positive values
$\delta _1, \dots , \delta _l$
have, we have
$$\begin{align*}\alpha_i\cdot (t + \delta_1 w_1 + \dots + \delta_l w_l) & = (\alpha_i \cdot t) + \delta_1 (\alpha_i \cdot w_1) + \dots + \delta_l (\alpha_i \cdot w_l)\\& \geqslant a_i + \delta (\alpha_i \cdot w_{j_0})> a_i.\\[-34pt] \end{align*}$$
The next lemma is crucial. We are going to prove that, if S is a rational simplex of dimension
$k\geqslant 2$
and
$\eta \colon S \to \mathbb {R}$
is an affine map with integer coefficients that is not constant on some
$(k-1)$
-dimensional face F of P, then
$\eta $
can be squeezed on a smaller domain without essentially changing its behaviour.
The idea of the proof is to show the existence of a
$\mathbb {Z}$
-map that can slightly bend the face F inside S.

The key is to find a point y in the relative interior of F and a point z in
$S\setminus F$
with the same denominator and on which
$\eta $
assumes the same value. To do so, we start with an arbitrary point t in the relative interior of F. This may not be the desired point y, as
$S \setminus F$
may lack points with the same denominator. However, there is a point y (which in our proof will be
$t + \delta v$
for an appropriate vector v and a positive real number
$\delta $
) close to t that does the job: it will have the same denominator of a point z (which in our proof will be
$t + \delta v + \tau w$
for an appropriate vector w and a positive real number
$\tau $
) in the relative interior of S.
Lemma 4.5 (Squeezing lemma).
Let
$k\geqslant 2$
, let S be a rational k-simplex in
$\mathbb {R}^n$
, let F be a
$(k-1)$
-dimensional face of S, and let
$\eta \colon \mathbb {R}^n\to \mathbb {R}$
be an affine map with integer coefficients that is not constant on F. There is a non-surjective
$\mathbb {Z}$
-map
$\rho \colon S\to S$
such that the diagram

commutes and, for every
$(k-1)$
-dimensional face
$G \neq F$
of S and
$x\in G$
,
$\rho (x)=x$
.
Proof. By Theorem 3.1 the simplex S can be described by a set of inequalities and equalities:
$$\begin{align*}\begin{cases} \alpha_i\cdot x\geqslant a_i & \text{for }i\in\{0,\dots,k\},\\ \alpha_j\cdot x= a_j & \text{for } j\in\{k+1,\dots,n\}. \end{cases} \end{align*}$$
Since S is a rational simplex, the coefficients are rational. Without loss of generality, we can assume that F is given by
$$ \begin{align} \begin{cases} \alpha_0\cdot x= a_0,&\\ \alpha_i\cdot x\geqslant a_i &\text{for }i\in\{1,\dots,k\},\\ \alpha_j\cdot x= a_j &\text{for }j\in\{k+1,\dots,n\}. \end{cases} \end{align} $$
The relative interior of F is then described by making the inequalities in (3) strict:
$$ \begin{align} \begin{cases} \alpha_0\cdot x= a_0,&\\ \alpha_i\cdot x> a_i &\text{for }i\in\{1,\dots,k\},\\ \alpha_j\cdot x= a_j &\text{for }j\in\{k+1,\dots,n\}. \end{cases} \end{align} $$
Let
$V_S$
,
$V_F$
, and
$V_\eta $
be the directions of S,
$F,$
and
, respectively. Then,
$$ \begin{align*} V_S &= \{u \in \mathbb{R}^{n} \mid \alpha_{j} \cdot u = 0 \text{ for }j\in\{k+1,\dots,n\} \} \text{ and} \\ V_F &= \{ u \in \mathbb{R}^n \mid \alpha_0 \cdot u = 0,\; \alpha_{j} \cdot u = 0 \text{ for }j\in\{k+1,\dots,n\}\}. \end{align*} $$
Since
$k \geqslant 2$
, the dimension of the rational simplex F is at least
$1$
and so there is a rational point t in the relative interior of F. In particular, (4) gives:
$$\begin{align*}\begin{cases} \alpha_0\cdot t= a_0,&\\ \alpha_i\cdot t> a_i &\text{for }i\in\{1,\dots,k\},\\ \alpha_j\cdot t= a_j &\text{for }j\in\{k+1,\dots,n\}. \end{cases} \end{align*}$$
Let v be a nonzero rational vector parallel to F, which exists because the dimension of F is at least
$1$
since
$n \geqslant 2$
. Since v is parallel to F, we have
The next step in the proof is to find a point y in the relative interior of F and a point z in
$S\setminus F$
with the same denominator.
Claim 1. There is a rational vector
$w\in (V_S\cap V_\eta )\setminus V_F$
.
From
$F \subseteq S$
we deduce
$V_F \subseteq V_S$
and, since
$\eta $
is not constant on F,
$V_F \not \subseteq V_\eta $
. Therefore,
$V_S \not \subseteq V_\eta $
. Thus,
$\dim (V_S + V_\eta )> \dim (V_\eta ) = n-1$
and thus
$\dim (V_S + V_\eta ) = n$
. By Grassmann’s identity,
Therefore,
$V_F$
and
$V_S \cap V_\eta $
have the same finite dimension and must be distinct because
$V_F \not \subseteq V_\eta $
. It follows that neither of the two is contained in the other one. Thus,
$V_S \cap V_\eta \not \subseteq V_F$
. This reasoning stays true if we work over the field of rational numbers:
$(V_S \cap \mathbb {Q}) \cap (V_\eta \cap \mathbb {Q}) \not \subseteq (V_F \cap \mathbb {Q})$
, and the claim is proved.
Since
$w \in V_S \setminus V_F$
,
$\alpha _0 \cdot {w} \neq 0$
. Up to possibly replacing
${w}$
with
${-w}$
, we can suppose
$\alpha _0 \cdot {w}> 0$
.
With two applications of Lemma 4.4, we get: (i) there is
$\varepsilon '> 0$
such that, for all
$\delta \in (0, \varepsilon ')$
, the point
$t + \delta v$
is in the relative interior of F and (ii) there is
$\varepsilon "> 0$
such that, for all
$\delta , \tau \in (0, \varepsilon ")$
,
$t + \delta v + \tau w$
is in the relative interior of S. Therefore, we can fix
$\varepsilon> 0$
(take, for example, the minimum between
$\varepsilon '$
and
$\varepsilon "$
) such that for all
$\delta , \tau \in (0, \varepsilon )$
the point
$t + \delta v$
is in the relative interior of F and
$t + \delta v + \tau w$
is in the relative interior of S.
By Lemma 4.3, we can choose
$\delta , \tau \in (0, \varepsilon ) \cap \mathbb {Q}$
such that, letting
and
, we have
$\mathrm {den}(y)=\mathrm {den}(z)$
. Then, y is in the relative interior of F and z is in the relative interior of S. Applying Lemma 3.5 to
$\{S,\{y\}\}$
, we obtain a regular triangulation
$\Delta $
of S such that
$y\in \mathtt {vert}(\Delta )$
. We define the function
$$ \begin{align*} g \colon \mathtt{vert}(\Delta) & \longrightarrow S\\ x &\longmapsto {\begin{cases} z &\text{if }x=y,\\ x&\text{otherwise.} \end{cases}} \end{align*} $$
Since
$\mathrm {den}(y)=\mathrm {den}(z)$
, the function g satisfies the hypothesis of Lemma 3.6. Therefore, it can be uniquely extended to a
$\mathbb {Z}$
-map
$\rho \colon S\to S$
that is affine on each simplex of
$\Delta $
. It is clear that
$\rho $
is the identity on all (
$k-1$
)-dimensional faces of S different from F. In addition, it is not surjective, because the point
$y\in S$
is not in its image. We claim that, for all
$x \in \mathtt {vert}(\Delta )$
,
$\eta (x) = \eta (g(x))$
. This is clear for
$x \neq y$
, since
$g(x) = x$
. For the case
$x = y$
, it suffices to note that
$w = \frac {1}{\tau }(z - y)$
and that w is parallel to
$\ker {\eta }$
; therefore,
$\eta (y) = \eta (z) = \eta (g(y))$
. This proves our claim that
$\eta (x) = \eta (g(x))$
. Therefore, for all
$x \in \mathtt {vert}(\Delta )$
,
$\eta (x) = \eta (g(x)) = \eta (\rho (x))$
. Therefore, both
$\eta $
and
$\eta \circ \rho $
are
$\mathbb {Z}$
-maps from S to
$\mathbb {R}$
that coincide on
$\mathtt {vert}(\Delta )$
and are affine on each symplex of
$\Delta $
. It follows that
$\eta =\eta \circ \rho $
.
Lemma 4.6. Let
$n\geqslant 2$
, and let
$\eta \colon [0,1]^n\to \mathbb {R}$
be a
$\mathbb {Z}$
-map that is not constant on the boundary of
$[0,1]^n$
. There is a non-surjective
$\mathbb {Z}$
-map
$\alpha \colon [0,1]^n\to [0,1]^n$
that makes the following diagram commute:

Proof. By Theorem 3.4 there is a rational triangulation
$\mathcal {K}$
of
$[0,1]^n$
such that for every simplex
$T\in \mathcal {K}$
there is an affine map
$\eta _T$
with integer coefficients that coincides with
$\eta $
over T. Let I be the image under
$\eta $
of the boundary of
$[0,1]^{n}$
. The set I is not a singleton because
$\eta $
is not constant on the boundary of
$[0,1]^n$
. Furthermore, since
$n\geqslant 2$
, the boundary of
$[0,1]^n$
is connected, and hence I is connected. It follows that I contains infinitely many points. Since
$\mathcal {K}$
contains finitely many
$(n-1)$
-simplices, there is one of them, say F, included in the boundary of
$[0,1]^n$
and such that
$\eta $
is not constant on it. Let S be an n-simplex in
$\mathcal {K}$
that contains F. By Lemma 4.5, there is a non-surjective
$\mathbb {Z}$
-map
$\rho \colon S\to S$
such that:
-
(i) for every
$x\in S$
,
$(\eta \circ \rho )(x)=\eta (x)$
; -
(ii) for every (
$k-1$
)-dimensional face G of S different from F and every
$x\in G$
,
$\rho (x)=x$
.
We set
$$ \begin{align*} \alpha\colon [0,1]^n&\longrightarrow [0,1]^n\\ x&\longmapsto {\begin{cases} \rho(x)&\text{if }x\in S,\\ x&\text{otherwise.} \end{cases}} \end{align*} $$
The continuity of
$\alpha $
follows from (ii). Furthermore,
$\alpha $
is a non-surjective
$\mathbb {Z}$
-map because
$\rho $
is such a map. Finally, (i) implies that
$\eta \circ \alpha =\eta $
.
We note that Lemma 4.6 would fail for
$n = 1$
, as one can see by taking
$\eta $
to be the inclusion of
$[0,1]$
into
$\mathbb {R}$
.
The importance of Lemma 4.6 lies in the fact that
$\alpha $
is non-surjective; this guarantees that if we modify the value of
$\eta $
only on points that are not in the image of
$\alpha $
so to get a
$\mathbb {Z}$
-map
$\theta $
, then
$\theta $
will be more general than
$\eta $
, because the following diagram will commute:

And if we succeed in letting
$\theta $
gain a value that is not in the image of
$\eta $
, then
$\theta $
will be strictly more general than
$\eta $
. This is the point of the following result.
Theorem 4.7. Let
$n\geqslant 2$
, let
$\eta \colon [0,1]^n\to \mathbb {R}$
be a
$\mathbb {Z}$
-map that is not constant on the boundary of
$[0,1]^n$
, and let
$z\in \mathbb {Z}$
. There are
$\mathbb {Z}$
-maps
$\theta \colon [0,1]^n\to \mathbb {R}$
and
$\alpha \colon [0,1]^n\to [0,1]^n$
such that z belongs to the image of
$\theta $
and the following diagram commutes:

Proof. By Lemma 4.6, there is a non-surjective
$\mathbb {Z}$
-map
$\alpha \colon [0,1]^n\to [0,1]^n$
such that
$\eta \circ \alpha =\eta $
. Let P be the rational polyhedron given by the image of
$\alpha $
. Since
$\alpha $
is not surjective, P is strictly contained in
$[0,1]^n$
. By Lemma 4.2, the restriction of
$\eta $
to P can be extended to a map
$\theta \colon [0,1]^n\to \mathbb {R}$
that attains the value z. Finally,
$\theta \circ \alpha =\eta \circ \alpha =\eta $
.
5 Universal covering and the degree of a unifier
Our next goal is to prove that the
$\mathbb {Z}$
-map
$\theta $
obtained in Theorem 4.7 is strictly more general than
$\eta $
. To achieve this, we will build on the results of [Reference Abbadini, Di Stefano, Spada and Lesot1]. Consider the map
$\zeta \colon \mathbb {R}\to \mathfrak {B}$
that wraps
$\mathbb {R}$
around
$\mathfrak {B}$
, counter-clockwise, at constant speed 1, sending
$0$
to
$(0,0)$
:
$$\begin{align} \begin{aligned} \zeta\colon \mathbb{R}&\longrightarrow \mathfrak{B} \\ x&\longmapsto {\begin{cases} (x-\lfloor x\rfloor,0)&\text{if }\lfloor x\rfloor\equiv 0\quad \mod 4,\\ (1,x-\lfloor x\rfloor)&\text{if }\lfloor x\rfloor\equiv 1\quad \mod 4,\\ (1-(x-\lfloor x\rfloor),1)&\text{if }\lfloor x\rfloor\equiv 2\quad \mod 4,\\ (0,1-(x-\lfloor x\rfloor))&\text{if }\lfloor x\rfloor\equiv 3\quad \mod 4, \end{cases}} \end{aligned} \end{align} $$
where
$\lfloor x\rfloor $
is the greatest integer below x. As proved in [Reference Abbadini, Di Stefano, Spada and Lesot1, Lemma 3], the map
$\zeta \colon \mathbb {R}\to \mathfrak {B}$
is the universal cover of
$\mathfrak {B}$
(see, e.g., [Reference Hatcher8, Section 1.3]). In particular, this means that for every continuous map
$\eta \colon [0,1]^n\to \mathfrak {B}$
there is a lift
$\tilde {\eta }$
of
$\eta $
to
$\mathbb {R}$
, i.e., a continuous function
$\tilde {\eta } \colon [0,1]^n \to \mathbb {R}$
such that
$\eta =\zeta \circ \tilde {\eta }$
.
Remark 5.1. Notice that the map
$\zeta \colon \mathbb {R}\to \mathfrak {B}$
is continuous but is not a
$\mathbb {Z}$
-map; however, its restriction
$\zeta _{a,b}$
to any closed interval
$[a,b]$
with
$a,b \in \mathbb {Z}$
is such a map. Indeed,
$\zeta _{a,b}$
is defined on every interval
$[a+i, a+i+1]$
, with
$0 \leqslant i < \lvert b-a \rvert $
, by one of the four cases of (5); each of these functions is affine with integer coefficients on
$[a+i, a+i+1]$
because
$x-\lfloor {x}\rfloor $
can be written on such an interval as
$ x-(a+i)$
.
Every continuous map
$\eta \colon [0,1]^n \to \mathfrak {B}$
has infinitely many lifts
$[0,1]^n \to \mathbb {R}$
. However, they all have a connected image and all share the same length in
$\mathbb {R}$
(see [Reference Abbadini, Di Stefano, Spada and Lesot1, Lemma 5]). We denote the length of the image of any lift of
$\eta $
by
${\mathtt {d}}(\eta )$
(the
of
$\eta $
).
Lemma 5.2 [Reference Abbadini, Di Stefano, Spada and Lesot1, Lemma 7].
If a
$\mathbb {Z}$
-map
$\theta \colon [0,1]^m \to \mathfrak {B}$
is more general than a
$\mathbb {Z}$
-map
$\eta \colon [0,1]^n \to \mathfrak {B}$
, then
${\mathtt {d}}(\eta )\leqslant {\mathtt {d}}(\theta )$
.
Lemma 5.3. Let
$n\in \mathbb {N}$
and
$\eta \colon [0,1]^n\to \mathfrak {B}$
be a
$\mathbb {Z}$
-map that is not constant on
$\{0,1\}^n$
. For every
$n' \in \mathbb {N}$
, every
$\mathbb {Z}$
-map
$\theta \colon [0,1]^{n'}\to \mathfrak {B}$
that is more general than
$\eta $
is not constant on
$\{0,1\}^{n'}$
.
Proof. Let
$\theta \colon [0,1]^{n'}\to \mathfrak {B}$
be a
$\mathbb {Z}$
-map that is more general than
$\eta $
, i.e., such that there is a
$\mathbb {Z}$
-map
$\alpha \colon [0,1]^n\to [0,1]^{n'}$
such that
$\eta =\theta \circ \alpha $
. Let
$a,b\in \{0,1\}^n$
be such that
$\eta (a)\neq \eta (b)$
. Then
$\theta (\alpha (a))=\eta (a)\neq \eta (b)=\theta (\alpha (b))$
. Since
$\alpha (a),\alpha (b)\in \{0,1\}^{n'}$
, this shows that
$\theta $
is not constant on
$\{0,1\}^{n'}$
.
Lemma 5.4. Let
$n\geqslant 2$
, and let
$\eta \colon [0,1]^n\to \mathfrak {B}$
be a
$\mathbb {Z}$
-map that is not constant on the boundary of
$[0,1]^n$
. There is a
$\mathbb {Z}$
-map
$\theta \colon [0,1]^n\to \mathfrak {B}$
that is strictly more general than
$\eta $
.
Proof. Since
$\zeta \colon \mathbb {R}\to \mathfrak {B}$
is the universal cover of
$\mathfrak {B}$
, the map
$\eta $
admits a lift
$\tilde {\eta }\colon [0,1]^n\to \mathbb {R}$
. The function
$\tilde {\eta }$
is a
$\mathbb {Z}$
-map by [Reference Marra and Spada20, Lemma 5.3]. The image of
$\tilde {\eta }$
is a compact subspace of
$\mathbb {R}$
. Let z be an integer not in
$\tilde {\eta }\big [[0,1]^n\big ]$
. Then, by Theorem 4.7, there are a
$\mathbb {Z}$
-map
$\theta \colon [0,1]^n\to \mathbb {R}$
and a
$\mathbb {Z}$
-map
$\alpha \colon [0,1]^n\to [0,1]^n$
such that z belongs to the image of
$\theta $
and the following diagram commutes:

Composing with
$\zeta $
, we obtain that the following diagram commutes:

Thus,
$\zeta \circ \theta $
is more general than
$\eta $
. Moreover,
${\mathtt {d}}(\eta )< {\mathtt {d}}(\zeta \circ \theta )$
because the latter function attains an additional integer point among its values; by Lemma 5.2, it follows that
$\eta $
is not more general than
$\zeta \circ \theta $
.
Lemma 5.5. Let
$n \in \mathbb {N}$
and let
$\eta \colon [0,1]^n\to \mathfrak {B}$
be a
$\mathbb {Z}$
-map that is not constant on
$\{0,1\}^n$
. For every
$n' \in \mathbb {N}$
and every
$\mathbb {Z}$
-map
$\theta \colon [0,1]^{n'}\to \mathfrak {B}$
more general than
$\eta $
there is a
$\mathbb {Z}$
-map
$\psi \colon [0,1]^{\max \{2, n'\}}\to \mathfrak {B}$
that is strictly more general than
$\theta $
.
Proof. The function
$$ \begin{align*} \theta' \colon [0,1]^{\max\{2, n'\}}& \longrightarrow \mathfrak{B}\\ (x_1, \dots, x_{\max\{2, n'\}}) & \longmapsto \theta(x_1, \dots, x_{n'}) \end{align*} $$
is more general than
$\theta $
, and so more general than
$\eta $
, too. By Lemma 5.3,
$\theta '$
is not constant on
$\{0,1\}^{\max \{2, n'\}}$
. Then we apply Lemma 5.4 to get the conclusion.
Thoerem (Main Result).
For all
$m \geqslant 2$
and
$n\geqslant 2$
, the unification type of Łukasiewicz logic restricted to at most m variables for the problem and at most n variables for the solutions is nullary.
Proof. Recall from Section 1 the unification problem
$x_1 \lor x_2 \lor \lnot x_1 \lor \lnot x_2 \approx 1$
in variables
$x_1$
and
$x_2$
and its unifier
$\iota $
in the variable y defined by
and
. Under the duality of Theorem 3.3, the unifier
$\iota $
corresponds to

The function
$\iota '$
is non-constant on
$\{0,1\}$
, because
$\iota '(0) = 0 \neq 1 = \iota '(1)$
. By Lemma 5.5, and since
$n \geqslant 2$
, among all
$\mathbb {Z}$
-maps
$[0,1]^k \to \mathfrak {B}$
with
$k \leqslant n$
there is no maximally general one that is more general than
$\iota '$
.
Funding
The first author’s research was funded by the UK Research and Innovation (UKRI) under the UK government’s Horizon Europe funding guarantee (grant number EP/Y015029/1, Project “DCPOS”). The “Horizon Europe guarantee” scheme provides funding to researchers and innovators who were unable to receive their Horizon Europe funding (in this case, for a Marie Skłodowska-Curie Actions (MSCA) grant) while the UK was in the process of associating.
The second author acknowledges financial support under the National Recovery and Resilience Plan (NRRP), Mission 4, Component 2, Investment 1.1, Call for tender No. 1409 published on 14.9.2022 by the Italian Ministry of University and Research (MUR), funded by the European Union—NextGenerationEU—Project Title Quantum Models for Logic, Computation and Natural Processes (Qm4Np)—CUP F53D23011170001—Grant Assignment Decree No. 1016 adopted on 07/07/2023 by the Italian Ministry of Ministry of University and Research (MUR).
The research of both authors was supported by the Italian Ministry of University and Research through the PRIN project no. 20173WKCM5 Theory and applications of resource sensitive logics.

