<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>A graph-easy class of mute lambda-terms</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>A. Bucciarelli</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>A. Carraro</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>G. Favro</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>A. Salibra</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>DAIS, Universit`a Ca'Foscari Venezia</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Univ Paris Diderot</institution>
          ,
          <addr-line>Sorbonne Paris Cit ́e, PPS, UMR 7126, CNRS, Paris</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <fpage>59</fpage>
      <lpage>71</lpage>
      <abstract>
        <p>Among the unsolvable terms of the lambda calculus, the mute (or root-active) ones are those having the highest degree of undefinedness. In this paper, we define an infinite set S of mute terms, and show that it is graph-easy: for any closed term t of the lambda calculus there exists a graph model equating all the terms of S to t.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Introduction
It is a well known result by Jacopini [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] that Ω can be consistently equated to
any closed term t of the (untyped) lambda-calculus, where Ω is the paradigmatic
unsolvable term (λx.xx)(λx.xx) (this is called the easiness of Ω). Baeten and
Boerboom [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] gave the first semantic proof of this result by showing that for
all closed terms t one can build a graph model satisfying the equation Ω = t.
This semantic result extends to other classes of models and to some other terms
which share with Ω enough of its good will (cf. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] for a survey of such results).
      </p>
      <p>
        Mute lambda terms have been introduced by Berarducci [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], for defining
models of the lambda calculus that do not identify all the unsolvable terms. Mute
terms are somehow the “most undefined” lambda terms, as they are unsolvable
of order 0 (zero terms), which are not β-convertible to a zero term applied to
something else. For instance, Ω is mute, and Ω3 = (λx.xxx)(λx.xxx) is a zero
term that is not mute, since it reduces to Ω3(λx.xxx).
      </p>
      <p>Berarducci proved that the set of mute terms is easy, in the sense that it is
consistent with the lambda calculus to simultaneously equate all the mute terms
to a fixed arbitrary closed term. Hereafter, a set of lambda terms that can be
simultaneously, consistently equated to a fixed arbitrary closed term is called an
easy set.</p>
      <p>Given a class C of models of the lambda calculus, and an easy set S, we say
that S is C-easy if, for every closed term t, there exists a model in C that equates
all the terms in S to t.</p>
      <p>
        Studying C-easiness gives insights on the expressive power of the class C.
Concerning filter lambda models, for instance, it had been conjectured [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] that
they have full expressive power for singletons, in the sense that any easy
singleton set is filter-easy. Carraro and Salibra [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] showed that this is not the case:
there exists a co-r.e. set of easy terms that are not filter-easy. The first negative
semantic result was obtained by Kerth [19]: Ω3I, where I = λx.x, is an easy
term, but no graph model satisfies the identity Ω3I = I. This result shows a
limitation of graph models. The easiness of Ω3I was proven syntactically in [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]
(see also [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]), but it was only given a semantic proof in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], where the authors
build, for each closed t, a filter model of Ω3I = t.
      </p>
      <p>Graph models are arguably the simplest models of the lambda calculus. There
are two known methods for building graph models, namely: by forcing or by
canonical completion. Both methods consist in completing a partial model into
a total one.</p>
      <p>
        The canonical completion method was introduced by Plotkin and Engeler
and then systematized by Longo [21] for graph models. The word “canonical”
refers here to the fact that the graph model is built inductively from the partial
one and completely determined by it. This method was then used by Kerth [18]
to prove the existence of 2ω pairwise inconsistent graph theories, and by
Bucciarelli–Salibra [
        <xref ref-type="bibr" rid="ref10 ref11 ref9">11, 9, 10</xref>
        ] to characterize minimal and maximal graph theories.
In particular [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] shows that the minimal graph theory is not equal to the
minimal lambda theory λβ, and that the lambda theory B (generated by equating
lambda terms with the same B¨ohm tree) is the greatest sensible graph theory.
      </p>
      <p>
        The forcing method originates with Baeten–Boerboom [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], and it is more
flexible than canonical completions. In fact, the inductive construction depends
here not only on the initial partial model but also on the consistency problem
one is interested in. The method was afterwards generalized to other classes of
webbed models by Jiang [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] and Kerth [20]. It was also generalized to families
of terms similar to Ω by Zylberajch [23] and Berline–Salibra [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>One more difference between these methods is that if we start with a recursive
partial web, the canonical completion builds a recursive total web, while forcing
always generates a non recursive web.</p>
      <p>
        In this paper we define an infinite and recursive set of mute terms, the regular
mute terms. A regular mute term has the form s0s1 . . . sn, for some n, and it has
the property that, in n steps of head reduction, it reduces to a term of the same
shape t0t1 . . . tn, where t0 = si for some 1 ≤ i ≤ n. As regular mute terms are
mute, we know that the set of all regular mute terms is easy, since each subset of
an easy set is itself easy. We show that it is actually graph-easy by generalizing
the forcing technique used in [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>More precisely, given a closed λ-term t and a finite set {n1, . . . , nk} of natural
numbers, we construct a graph model which equates to t all the regular mute
terms of the form s0s1 . . . snj , 1 ≤ j ≤ k, using forcing.</p>
      <p>
        Then we glue together these graph models in an ultraproduct, using a
technique introduced in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. This gives rise to a graph model that is an expansion
of the ultraproduct, where all the regular mute terms are equated to t, thus
concluding the proof that the set of regular mute terms is graph-easy.
2
      </p>
      <p>
        Theories and models of λ-calculus
With regard to the lambda-calculus we follow the notation and terminology of
[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. By Λ and Λo, respectively, we indicate the set of λ-terms and of closed
λterms. We denote αβ-conversion by λβ. A λ-theory is a congruence on Λ (with
respect to the operators of abstraction and application) which contains λβ. A
λ-theory is consistent if it does not equate all λ-terms, inconsistent otherwise.
      </p>
      <p>It took some time, after Scott gave his model construction, for consensus to
arise on the general notion of a model of the λ-calculus. There are mainly two
descriptions that one can give: the category-theoretical and the algebraic one.
The categorical notion of model, that of reflexive object in a Cartesian closed
category (ccc), is well-suited for constructing concrete models, while the algebraic
one is rather used to understand global properties of models (constructions of
new models out of existing ones, closure properties, etc.) and to obtain results
about the structure of the lattice of λ-theories. The algebraic description of
models of λ-calculus proposes two kinds of structures, viz. the λ-algebras and
the λ-models, both based on the notion of combinatory algebra. We will focus on
λ-models.</p>
      <p>A combinatory algebra A = (A, ·, k, s) is a structure with a binary operation
called application and two distinguished elements k and s called basic
combinators. The symbol “·” is usually omitted from expressions and by convention
application associates to the left, allowing to leave out superfluous parentheses.
The class of combinatory algebras is axiomatized by the equations kxy = x and
sxyz = xz(yz). A function f : A → A is representable in A if there exists an
element a ∈ A such that f (b) = ab for all b ∈ A. For example, the identity
function is represented by the combinator i = skk.</p>
      <p>The axioms of an elementary subclass of combinatory algebras, called
λmodels, were expressly chosen to make coherent the interpretation of the λ-terms
(see Barendregt [4, Def. 5.2.7]). In addition to five axioms due to Curry (see [4,
Thm. 5.2.5]), the Meyer-Scott axiom is the most important one in the definition
of a λ-model. In the first-order language of combinatory algebras it is formulated
as ∀xy.(∀z. xz = yz) ⇒ εx = εy, where the combinator ε = s(ki) is made into
an inner choice operator. Indeed, given any a, the element εa represents the
same function as a; by the Meyer-Scott axiom, εc = εd for all c, d representing
the same function.</p>
      <p>Given a set A, we denote by EnvA the set of A-environments, i.e., the
functions from the set Var of λ-calculus variables to A. For every x ∈ Var and a ∈ A
we denote by ρ[x := a] the environment ρ0 which coincides with ρ everywhere
except on x, where ρ0 takes the value a.</p>
      <p>Given a λ-model A, the interpretation |t|A : EnvA → A of a λ-term is defined
by induction on the complexity of t in such a way that
|x|ρA = ρ(x);
|tu|ρA = |t|ρA|u|ρA;
|λx.t|ρA = εb
where b is any element satisfying ba = |t|ρA[x:=a] for every a ∈ A.</p>
      <p>It is important to stress that the class of λ-models is axiomatized by
firstorder axioms expressed in terms of Horn formulas, so that it is closed under
direct products; it is not axiomatized by equations only, so that it is not closed
neither under substructures nor under homomorphic images.
3</p>
      <p>Graph models
The class of graph models belongs to Scott’s continuous semantics. Graph models
owe their name to the fact that continuous functions are encoded in them via (a
sufficient fragment of) their graphs, namely their traces.</p>
      <p>
        A graph model is a model of untyped λ-calculus, which is generated from a
web in a way that will be recalled below. Historically, the first graph model was
Plotkin and Scott’s Pω (see e.g. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]), which is also known in the literature as “the
graph model”. The simplest graph model, E , was introduced soon afterwards,
and independently, by Engeler [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] and Plotkin [22]. More examples can be found
in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>As a matter of notation, we denote by D∗ the set of all finite subsets of a
set D. Elements of D∗ will be denoted by small roman letters a, b, c, . . . , while
elements of D by greek letters α, β, γ, . . . .</p>
      <p>For short we will confuse the model and its web and so we define:
Definition 1. A graph model is a pair (D, p), where D is an infinite set and
p : D∗ × D → D is an injective total function.</p>
      <p>
        Such a pair will also be called a total pair. In the setting of graph models a
partial pair (see [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]) is a pair (A, q) where A is any set and q : A∗ × A * A is a
partial (possibly total) injection. Examples of partial pairs are: the empty pair
(∅, ∅) and all the graph models.
      </p>
      <p>If (D, p) is a partial pair, we write a →p α (or a → α if p is evident from
the context) for p(a, α). Moreover, β → α means {β} → α. a1 → a2 → · · · →
an−1 → an → α stands for (a1 → (a2 → . . . (an−1 → (an → α)) . . . )). If a¯ =
a1, a2, . . . , an, then a¯ → α stands for (a1 → (a2 → . . . (an−1 → (an → α)) . . . )).</p>
      <p>A total pair (D, p) generates a λ-model of universe P(D), called graph
λmodel. In particular P(D) is endowed with an application operator that makes
it a λ-model. The interpretation |t|p : EnvP(D) → P(D) of a λ-term t relative
to (D, p) can be described inductively as follows (see Section 2):
– |x|pρ = ρ(x)
– |tu|pρ = {α : (∃a ⊆ |u|pρ) a → α ∈ |t|pρ}</p>
      <p>p
– |λx.t|pρ = { a → α : α ∈ |t|ρ[x:=a]}</p>
      <p>Since |t|pρ only depends on the value of ρ on the free variables of t, we only
write |t|p if t is closed.</p>
      <p>A graph model (D, p) satisfies t = u, written (D, p) t = u, if |t|pρ = |u|pρ for
all environments ρ. The λ-theory T h(D, p) induced by (D, p) is defined as</p>
      <p>T h(D, p) = {t = u : t, u ∈ Λ and |t|p = |u|p}.</p>
      <p>A λ-theory induced by a graph model will be called a graph theory.
4</p>
      <p>The regular mute λ-terms
A first step towards the definition of regular mute terms are the hereditarily
n-ary terms, defined below.</p>
      <p>Definition 2. Let n &gt; 0 and x¯ ≡ x1, . . . xk be distinct variables. The set of
hereditarily n-ary λ-terms over x¯, written Hn[x¯], is the smallest set of λ-terms
containing x1, . . . , xk and satisfying the following property, for all fresh distinct
variables y¯ ≡ y1, . . . , yn and all terms t1, . . . , tn:
t1, . . . , tn ∈ Hn[x¯, y¯] ⇒
λy¯.yit1 . . . tn ∈ Hn[x¯].</p>
      <p>Example 1. Some unary and binary hereditary λ-terms:</p>
      <p>We write Hn for Hn[ ].
– λx.xx ∈ H1
– λy.yx ∈ H1[x]
– λx.x(λy.yx) ∈ H1
– λzy.yzx ∈ H2[x]
– λxy.x(λzy.yzx)y ∈ H2.</p>
      <p>Given a natural number n and variables x¯ we define inductively an increasing
sequence of sets of λ-terms, starting at Hn[x¯]:
Definition 3. Let x¯ ≡ x1, . . . xk and y¯ ≡ y1, . . . , yn be distinct fresh variables.
– Hn0[x¯] = Hn[x¯]
– Hnm+1[x¯] = {s[u/y] : s ∈ Hnm[x¯, y¯], u¯ ≡ u1, . . . , un ∈ Hnm[x¯]}
– Sn[x¯] = Sm Hnm[x¯].</p>
      <p>We write Sn for Sn[ ]. For t ∈ Sn[x¯], we denote by rk(t) the smallest number
such that t ∈ Hnrk(t)[x¯].</p>
      <p>Lemma 1. If y¯ is a sequence of n distinct variables, s ∈ Sn[x¯, y¯] and t¯ ≡
t1, . . . , tn ∈ Sn[x¯], then s[t¯/y¯] ∈ Sn[x¯].</p>
      <p>Lemma 2. Let t be a λ-term. Then t ∈ Hnm[x¯] if, and only if, there exist
– s ∈ Hn0[x¯, z¯1, . . . , z¯m],
– sequences z¯i (i = 1, . . . , m) of n distinct variables,
– sequences t¯i (i = 1, . . . , m) of n terms t¯i ≡ ti1, . . . , tin ∈ Hnm−i[x¯, z¯1, . . . , z¯i−1]
such that t ≡ s[tm/zm] · · · [t1/z1].</p>
      <p>Proof. Just an unfolding of the previous definition.</p>
      <p>Proposition 1. For all n &gt; 0, s0, . . . , sn ∈ Sn, there exist r0, . . . , rn ∈ Sn and
i ≤ n such that
s0s1 . . . sn →βn r0r1 . . . rn and r0 ≡ si</p>
      <p>Proof. (1) rk(s0) = 0.</p>
      <p>Since s0 ∈ Hn, then s0 ≡ λy1 . . . yn.yir1 . . . rn with r1, . . . , rn ∈ Hn[y1, . . . , yn].
Hence s0s1 . . . sn →βn sir1[s¯/y¯] . . . rn[s¯/y¯]. By Lemma 1 the term ri[s¯/y¯] ∈ Sn,
and we are done.</p>
      <p>(2) rk(s0) = m &gt; 0.</p>
      <p>By Lemma 2 there exists u ∈ Hn[z¯1, . . . , z¯m] such that s0 ≡ u[t¯m/z¯m] . . . [t¯1/z¯1],
for some terms t¯i ∈ Hnm−i[z¯1, . . . , z¯i−1], for 1 ≤ i ≤ m. The term u cannot be
a variable because of the rank of s0. Then by definition u ≡ λy¯.yiu1 . . . un with
ui ∈ Hn[z¯1, . . . , z¯m, y¯]. Then</p>
      <p>s0 = λy¯.yi(u1[t¯m/z¯m] . . . [t¯1/z¯1]) . . . (un[t¯m/z¯m] . . . [t¯1/z¯1])
and, if s¯ = s1, . . . , sn</p>
      <p>s0s1 . . . sn →βn si(u1[t¯m/z¯m] . . . [t¯1/z¯1][s¯/y¯]) . . . (un[t¯m/z¯m] . . . [t¯1/z¯1][s¯/y¯]).
Theorem 1. For all s0, . . . , sn ∈ Sn, the term s0s1 . . . sn is mute.</p>
      <p>Hereafter, a term s0s1 . . . sn (si ∈ Sn) is called a n-regular mute term; Mn
will denote the set of all n-regular mute terms.</p>
      <p>Example 2. Some unary and binary regular mute terms:
– (λx.xx)(λx.xx) ∈ M1
– (λx.x(λy.yx))(λx.xx) ∈ M1
– AAA ∈ M2, where A := λxy.x(λzt.tzx)y.</p>
      <p>Example 3. Let B := λx.x(λy.xy). Then BB is a mute term that is not regular:</p>
      <p>BB = (λx.x(λy.xy))B →β B(λy.By) →β BB
5</p>
      <p>Forcing for regular mute terms
In this section we show that, given a closed λ-term t and a finite set {n1, . . . , nk}
of natural numbers, there exists a graph model which equates all the regular mute
terms of the form s0s1 . . . snj , 1 ≤ j ≤ k, to t, using forcing.
5.1</p>
    </sec>
    <sec id="sec-2">
      <title>Some useful lemmas</title>
      <p>Lemma 3. Let (D, p) be a graph model, ρ be D-environment and β¯ = β, β, . . . , β
(n-times). If β = β¯ → α, t ∈ Sn[x¯] and β ∈ ρ(xi) (i = 1, . . . , k) then β ∈ |t|pρ.
Proof. Base case: t ∈ Hn[x¯]. Let u¯ ∈ Hn[x¯, y¯] and z ∈ {x¯, y¯} such that t = λy¯.zu¯.
β = β¯ → α ∈ |λy¯.zu¯|pρ ⇔
α ∈ |zu¯|pρ[y¯:=β¯]
|zu¯|pρ[y¯:=β¯].</p>
      <p>Since β ∈ ρ[y¯ := β¯] and by induction hypothesis β ∈ |ui|pρ[y¯:=β¯], then α ∈</p>
      <p>Let t ∈ Hnm+1[x¯]. Then t ≡ s[u/y], where s ∈ Hnm[x¯, y¯] and u¯ ≡ u1, . . . , un ∈
Hnm[x¯]. By induction hypothesis we have β ∈ |ui|pρ. Since |s[u/y]|pρ = |s|pρ[y¯:=|u¯|ρp]
and β ∈ ρ[y¯ := |u¯|pρ](yi), then by induction hypothesis β ∈ |s|pρ[y¯:=|u¯|ρp] and we
get the conclusion.</p>
      <p>Lemma 4. Let (D, p) be a graph model, s00s01 . . . s0n ∈ Mn (si0 ∈ Sn) and γ ∈
|s00s01 . . . s0n|p. Then there exist a sequence βi ≡ ai1 → · · · → ain → γ (i ∈ ω)
of elements of D and a sequence di (i ∈ ω) of natural numbers ≤ n such that
βi+1 ∈ aidi .</p>
      <p>Proof. By Proposition 1 there exists an infinite sequence of mute terms such
that</p>
      <p>s00s10 . . . s0n →βn s10s11 . . . s1n →βn . . . →βn s0ks1k . . . skn →βn . . .
and s0k ≡ sk−1 for some 1 ≤ dk−1 ≤ n. The number dk−1 is the order of the
dk−1
head variable of the term sk−1. By γ ∈ |s00s10 . . . s0n|p there exists a01 → · · · →
a0n → γ ∈ |s00|p such that ai0 0⊆ |si0|p. We define</p>
      <p>β0 = a01 → · · · → a0n → γ.</p>
      <p>Assume βk = a1k → · · · → akn → γ ∈ |s0k|p and ajk ⊆ |sjk|p for every j ≤ n.</p>
      <p>Since s0k = λy¯.ydk u1 . . . un for some terms ui and βk ∈ |s0k|p, then, if a¯ =
a1k, . . . , akn</p>
      <p>γ ∈ adkk (u1[a¯/y¯]) . . . (un[a¯/y¯]).</p>
      <p>Then there exists βk+1 = a1k+1 → · · · → akn+1 → γ ∈ adkk ⊆ |s0k+1|p = |sdkk |p and
ajk+1 ⊆ |sjk+1|p.
5.2</p>
    </sec>
    <sec id="sec-3">
      <title>Forcing at work</title>
      <p>
        We recall the notion of weakly continuous operator from [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>Definition 4. Let D be an infinite countable set. By I(D) we indicate the cpo
of partial injections q : D∗ × D * D, ordered by inclusion of their graphs.</p>
      <p>By a “total p” we will mean “an element of I(D) which is a total map”
(equivalently: which is a maximal element of I(D)). The domain and range of
q ∈ I(D) are denoted by dom(q) and rg(q). We will also confuse the partial
injections and their graphs.</p>
      <p>Definition 5. A function F : I(D) → P(D) is weakly continuous if it is
monotone with respect to inclusion and if furthermore, for all total p ∈ I(D),
F (p) =</p>
      <p>[ F (q).
q⊆finp</p>
      <p>Let p ∈ I(D). The universe U (p) of p is defined as follows:</p>
      <p>U (p) =
and p¯,α is also finite.</p>
      <p>Let e ⊆fin N. We let Me = Si∈e Mi the set of n-regular mute terms for
n ∈ e.</p>
      <p>The next theorem is the main technical tool for proving the easiness of the
full set of n-regular mute terms. It generalizes [8, Thm. 11].</p>
      <p>Theorem 2. Let F : I(D) → P(D) be a weakly continuous function and let
e ⊆fin N. Then there exists a total pe : D∗×D → D such that (D, pe) |= t = F (pe)
for all terms t ∈ Me.</p>
      <p>Proof. We are going to build an increasing sequence of finite injective maps pn,
starting from p0 = ∅, and a sequence of elements αn ∈ D ∪ {∗}, where ∗ is a new
element, such that: pe =def ∪pn is a total injection, and (D, pe) |= t = A = F (pe)
for all t ∈ Me, where A =def {αn : n ∈ ω} ∩ D.</p>
      <p>We fix an enumeration of D and an enumeration of D∗ × D.</p>
      <p>We start from p0 = ∅.</p>
      <p>Assume that pn and α0, . . . , αn−1 have been built. We let
– αn = First element of F (pn) \ {α0, . . . , αn−1} in the enumeration of D, if
this set is non-empty, and αn = ∗ otherwise;
– (bn, δn) = “the first element in (D∗ × D) \ dom(pn)”;
– γn = “the first element in D \ (U (pn) ∪ bn ∪ {δn} ∪ {α0, . . . , αn−1, αn})”.</p>
      <p>Let r = pn ∪ {γn = bn →r δn}.</p>
      <p>Case 1: αn = ∗. We let pn+1 = r.</p>
      <p>Case 2: αn ∈ D.</p>
      <p>Let e = {k1, . . . , km}. We define q0 ⊆ q1 ⊆ · · · ⊆ qm ∈ I(D) as follows: q0 = r
and pn+1 = qm. Assume we have defined qi. We define qi+1 = (qi)¯n,i,αn (see
above), where</p>
      <p>¯n,i ≡ 1n,i, . . . , kni,+i1 ∈ D \ (U (qi) ∪ {αn})
are distinct elements.</p>
      <p>It is clear that pn is a strictly increasing sequence of well-defined finite
injective maps and that pe = ∪pn is total.</p>
      <p>It is also clear that each pn (and pe) is partitioned into two disjoint sets:
pn = p1n ∪ p2n, where p1n = {bi → δi = γi : 1 ≤ i ≤ n − 1} is called the gamma
part of pn and p2n = pn \ p1n is called the epsilon part.</p>
      <p>For every γ ∈ D, we define
deg(γ) =
(0</p>
      <p>if γ ∈/ rg(pe)
min{n : γ ∈ rg(pn)} if γ ∈ rg(pe)
Moreover, deg(c) = max{deg(x) : x ∈ c} for every c ⊆fin D.</p>
      <p>The following lemmas easily derive from the construction of pe since (rg(pn+1)\
rg(pn)) ∩ U (pn) = ∅.</p>
      <p>Lemma 5. If deg(a → α) = n and α ∈/ rg(pn), then α ∈/ rg(pe).
Lemma 6. (i) deg(a → α) ≥ deg(a), deg(α).</p>
      <p>(ii) If a → α is in the gamma part of pe, then deg(a → α) &gt; deg(a), deg(α).
Lemma 7. If αn ∈ rg(pe) then deg(αn) ≤ n.</p>
      <p>Lemma 8. There exists no cycle β = c1 → c2 → . . . cm → β.</p>
      <p>Proof. Consider a minimal cycle βi = ci → βi+1 (1 ≤ i ≤ m − 1) and βm =
cm → β1. By Lemma 6 we have deg(β1) ≥ deg(β2) ≥ · · · ≥ deg(βm) ≥ deg(β1).
Let us set this common degree equal to k + 1. If β1 = γk = bk →pk+1 δk then
δk = β2 has degree k + 1. This is not possible by Lemma 6(ii). If β1 = jk,i then
k,i = c1 → c2 → . . . cm → jk,i. From this it follows that either αk has degree k+1
j
(contradicting Lemma 7) or jk,i = jk−,il (contradicting that the epsilon elements
are distinct) or jk,i = αk (contradicting the definition of epsilon elements). This
concludes the proof of the lemma.</p>
      <p>There remains to see that (D, pe) |= t = A = F (pe) for every t ∈ Me.</p>
      <p>A ⊆ F (pe): it follows from the definition of αn and from the fact that F (pn) ⊆
F (pe).</p>
      <p>F (pe) ⊆ A: suppose γ ∈ F (pe); then, since F is weakly continuous, γ ∈ F (pm)
for some m (and for all the larger ones). If γ ∈/ A then, for all n ≥ m, αn ∈ D
has smaller rank than γ in the enumeration of D, contradicting the fact that
there is only a finite number of such elements.</p>
      <p>Let m ∈ e and t ≡ s0s1 . . . sm ∈ Mm.</p>
      <p>A ⊆ |t|pe : Let αn 6= ∗. The condition (D, pe) |= αn ∈ |t|pe follows immediately
from Lemma 3 and the fact that
n,m = 1n,m
1</p>
      <p>n,m
→ 1</p>
      <p>→ · · · → 1n,m → αn (m-times).
property βj+1 ∈ ajdj .</p>
      <p>t pe ⊆ A: Assume by contraposition that γ ∈j |t|pe and γ 6= αn for every n.
The|n| by Lemma 4 there exist a sequence βj ≡ a1 → · · · → ajm → γ (j ∈ ω) of
elements of D and a sequence dj (j ∈ ω) of natural numbers ≤ m satisfying the</p>
      <p>By Lemma 6 and by βj+1 ∈ ajdj the sequence deg(βj) is an infinite
decreasing sequence of natural numbers. Then there exists j such that deg(βj+i) =
deg(βj) = n for all i ≥ 0. Since pn is finite, it must exist k ≥ j and l &gt; 0 such
that βk = βk+l.</p>
      <p>Moreover, n = deg(βk) ≥ deg(adkk → adkk+1 → · · · → γ) ≥ deg(βk+1) = n
because βk+1 ∈ adkk . Then deg(adkk++ii → adkk+1 → . . . γ) = n for every i ≤ l. Since
adkk++ii cannot be { 1} (otherwise βk+i+1 = 1 and γ = αn) and there is exactly
1
one pair (bn−1, δn−1) such that ((bn−1, δn−1), γn−1) ∈ pn \ pn−1, then
dk+i → (adkk+i+1 → . . . γ) = adkk++jj → (adkk+j+1 → . . . γ), for every i, j ≤ l.
ak+i
This implies that adkk++ii = adkk++jj , etc. Since by Lemma 8 there are no cycles,
then we get βk = βk+1 = · · · = βk+l−1 = βk+l. It follows that βk ∈ adkk . Since
adkk → adkk+1 → · · · → γ belongs to the gamma part of pe, this contradicts
Lemma 6(ii).</p>
      <p>Definition 6. (Forcing) For a term M , a partial pair (D, q), a D-environment
ρ and α ∈ D, the abbreviation q ρ α ∈ M means that for all total injections
p ⊇ q we have that (D, p) |= α ∈ |M |pρ. Furthermore q ρ X ⊆ M means that
q ρ α ∈ M for all α ∈ X.</p>
      <p>If M is closed we write q
Thus, for p is total, p</p>
      <p>α ∈ M for q ρ α ∈ M .</p>
      <p>α ∈ M if and only if α ∈ |M |p.</p>
      <p>Lemma 9. For every term M and environment ρ the function FM,ρ : I(D) →
P(D) defined by FM,ρ(q) = { α ∈ D : q ρ α ∈ M } is weakly continuous, and
we have FM,ρ(p) = |M |pρ for each total p.</p>
      <p>Proof. The proof of the weak continuity of FM,ρ is a straightforward induction
on the complexity of M . Let p ∈ Q be total. We have to show that FM,ρ(p) =
Sq⊆finp FM,ρ(q) = |M |pρ.</p>
      <p>If M is a variable x then Fx,ρ(q) = { α ∈ D : q α ∈ ρ(x)} is the constant
function with value ρ(x).</p>
      <p>If M = P Q and α ∈ |M |pρ, then there exists a ⊆ |Q|pρ such that p(a, α) ∈ |P |pρ.
Choose such an a and let γ = p(a, α). By induction hypothesis there is a finite
q ⊆ p such that q ρ a ⊆ Q and a finite r ⊆ p such that r ρ γ ∈ P ; then it is
clear that q ∪ r ∪ {((a, α), γ)} α ∈ M.</p>
      <p>If M = λx.P and α ∈ |M |pρ then there is a unique pair (b, β) such that
α = p(b, β) and β ∈ |P |pρ[x:=b]. By induction hypothesis there is a finite q ⊆ p
such that q ρ[x:=b] β ∈ P ; then it is clear that q ∪ {((b, β), α)} ρ α ∈ M.
Theorem 3. Let M be a closed term. Then, for every e ⊆fin ω there exists
a graph model (D, pe) such that (D, pe) |= t = M for all regular mute terms
t ∈ Me.</p>
      <p>Proof. It is sufficient to consider an arbitrary environment ρ, the weakly
continuous map FM,ρ : I(D) → P(D) defined in Lemma 9 and the graph model
(D, pe) defined in Theorem 2.
6</p>
      <p>Ultraproducts
Ultraproducts result from a suitable combination of the direct product and
quotient constructions. They were introduced in the 1950’s by Lo´s.</p>
      <p>Let I be a non-empty set and let {Ai}i∈I be a family of combinatory algebras.
Let U be a proper ultrafilter of the boolean algebra P(I). The relation ∼U , given
by a ∼U b ⇐⇒ {i ∈ I : a(i) = b(i)} ∈ U , is a congruence on the combinatory
algebra Qi∈I Ai. The ultraproduct of the family {Ai}i∈I , noted (Qi∈I Ai)/U ,
is defined as the quotient of the product Qi∈I Ai by the congruence ∼U . If
a ∈ Qi∈I Ai, then we denote by a/U the equivalence class of a with respect
to the congruence ∼U . If all members of {Ai}i∈I are λ-models, by a celebrated
theorem of Lo´s we have that (Qi∈I Ai)/U is a λ-model too, because λ-models
are axiomatized by first-order sentences. The basic combinators of the λ-model
(Qi∈I Ai)/U are k/U and s/U , and application is given by x/U ·y/U = (x·y)/U ,
where the application x · y is defined pointwise.</p>
      <p>We now recall the famous Lo´s theorem.</p>
      <p>Theorem 4 (Lo´s). Let L be a first-order language and {Ai}i∈I be a family
of L-structures indexed by a non-empty set I an let U be a proper ultrafilter of
P(I). Then for every L-formula ϕ(x1, . . . , xn) and for every tuple (a1, . . . , an) ∈
Qi∈I Ai we have that
(Y Ai)/U |= ϕ(a1/U, . . . , an/U ) ⇐⇒ {i ∈ I : Ai |= ϕ(a1(i), . . . , an(i))} ∈ U.
i∈I</p>
      <p>The following theorem is [12, Theorem 4.5].</p>
      <p>Theorem 5. Let (Dj , pj )j∈J be a family of total pairs, A = (Aj : j ∈ J ) be
the corresponding family of graph λ-models, where Aj = (P(Dj ), ·, k, s), and let
F be an ultrafilter on J . Then there exists a graph model (E, q) such that the
ultraproduct (Πj∈J Aj )/F can be embedded into the graph λ-model determined
by (E, q).</p>
      <p>Theorem 6. Let M be a closed term and M = Sn∈N Mn be the set of all
regular mute λ-terms. Then there exists a total pair (E, q) such that
(E, q) |= M = t,</p>
      <p>for every t ∈ M.</p>
      <p>K := {e ⊆ N : e is finite}
Kn = {e : n ∈ e}, for each n ∈ N.</p>
      <p>Ke = {d : e ⊆ d}</p>
      <p>for each e ⊆fin N.
Hence F contains
and F be a non-principal ultrafilter on P(K) that contains the set</p>
      <p>For every e ⊆ N, let (D, pe) be the total pair determined by Theorem 3 and define
Ae be the corresponding graph λ-model. We show that (Πe∈K Ae)/F |= M = t
for every t ∈ M. Let t ∈ Mn. Since</p>
      <p>Kn ⊆ {e : Ae |= M = t}.
and Kn ∈ F then we have that (Πe∈K Ae)/F |= M = t and the conclusion is
obtained.
18. Kerth, R.: Isomorphism and equational equivalence of continuous λ-models, Studia</p>
      <p>Logica 61, 403–415, 1998.
19. Kerth, R.: Isomorphisme et ´equivalence ´equationnelle entre mod`eles du λ-calcul,</p>
      <p>Th`ese, Universit´e Paris 7, 1995.
20. Kerth, R.: Forcing in stable models of untyped λ-calculus, Indagationas
Mathematicae 10 , 59–71, 1999.
21. Longo, G.: Set-theoretical models of λ-calculus : theories, expansions and
isomorphisms, Annals of Pure and Applied Logic 24, 153–188, 1983.
22. Plotkin, G.: A set-theoretical definition of application, Memorandum MIP-R-95,</p>
      <p>School of artificial intelligence, University of Edinburgh, 1972.
23. Zylberajch, C.: Syntaxe et s´emantique de la facilit´e en λ-calcul, Th`ese, Universit´e
Paris 7, 1991.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Alessi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dezani-Ciancaglini</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Honsell</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Filter models and easy terms</article-title>
          ,
          <source>Italian Conference on Theoretical Computer Science, LNCS 2202</source>
          , Springer-Verlag,
          <fpage>17</fpage>
          -
          <lpage>37</lpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Alessi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lusin</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Simple easy terms</article-title>
          , in S. van Bakel (ed.),
          <source>Intersection Types and Related Systems, ENTCS 70</source>
          ,
          <string-name>
            <surname>Elsevier</surname>
          </string-name>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Baeten</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Boerboom</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Omega can be anything it should not be</article-title>
          ,
          <source>in Proceedings of the Koninklijke Nederlandse Akademie van Wetenschappen</source>
          ,
          <string-name>
            <surname>Serie</surname>
            <given-names>A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Indag</surname>
          </string-name>
          .
          <source>Mathematicae 41</source>
          , p.
          <fpage>111</fpage>
          -
          <lpage>120</lpage>
          ,
          <year>1979</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Barendregt</surname>
            ,
            <given-names>H.P.:</given-names>
          </string-name>
          <article-title>The lambda-calculus, its syntax and semantics, Studies in Logic vol</article-title>
          .
          <volume>103</volume>
          ,
          <string-name>
            <surname>North</surname>
            <given-names>Holland</given-names>
          </string-name>
          <source>, revised edition</source>
          <year>1984</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Berarducci</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Infinite λ-calculus and non-sensible models, in Logic</article-title>
          and Algebra, eds. A. Ursini and
          <string-name>
            <given-names>P.</given-names>
            <surname>Agliano</surname>
          </string-name>
          ,
          <source>Lecture Notes in Pure and Applied Mathematics</source>
          <volume>180</volume>
          ,
          <string-name>
            <surname>Marcel</surname>
            <given-names>Dekker Inc.</given-names>
          </string-name>
          ,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Berarducci</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Intrigila</surname>
            ,
            <given-names>B.:</given-names>
          </string-name>
          <article-title>Some new results on easy λ-terms</article-title>
          ,
          <source>Theoretical Computer Science</source>
          <volume>121</volume>
          ,
          <fpage>71</fpage>
          -
          <lpage>88</lpage>
          ,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Berline</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>From Computation to foundations via functions and application: The lambda-calculus and its webbed models</article-title>
          ,
          <source>Theor. Comput. Sci</source>
          .
          <volume>249</volume>
          ,
          <fpage>81</fpage>
          -
          <lpage>161</lpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Berline</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Salibra</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Easiness in graph models</article-title>
          ,
          <source>Theoretical Computer Science</source>
          <volume>354</volume>
          (
          <issue>1</issue>
          ),
          <fpage>4</fpage>
          -
          <lpage>23</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Bucciarelli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Salibra</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>The minimal graph-model of lambda-calculus, 28th Internat</article-title>
          .
          <source>Symp. on Math. Foundations of Comput. Science, LNCS 2747, SpringerVerlag</source>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Bucciarelli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Salibra</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>The sensible graph theories of lambda-calculus</article-title>
          ,
          <source>LICS'04.</source>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Bucciarelli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Salibra</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <string-name>
            <surname>Graph</surname>
          </string-name>
          lambda-theories,
          <source>Mathematical Structures in Computer Science</source>
          <volume>18</volume>
          (
          <issue>5</issue>
          ),
          <fpage>975</fpage>
          -
          <lpage>1004</lpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Bucciarelli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Carraro</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Salibra</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Minimal lambda-theories by ultraproducts</article-title>
          ,
          <source>EPTCS 113</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Carraro</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Salibra</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Easy lambda-terms are not always simple</article-title>
          ,
          <source>RAIRO - Theor. Inform. and Applic</source>
          .
          <volume>46</volume>
          (
          <issue>2</issue>
          ),
          <fpage>291</fpage>
          -
          <lpage>314</lpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Engeler</surname>
          </string-name>
          , E.:
          <article-title>Algebras and combinators</article-title>
          , Alg. Univ.
          <volume>13</volume>
          (
          <issue>3</issue>
          ),
          <fpage>289</fpage>
          -
          <lpage>371</lpage>
          ,
          <year>1981</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Jacopini</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>A condition for identifying two elements in whatever model of combinatory logic</article-title>
          , in C. Bo¨hm, ed.,
          <source>LNCS 37</source>
          , Springer Verlag,
          <year>1975</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Jacopini</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Venturini-Zilli</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Easy terms in the lambda-calculus</article-title>
          ,
          <source>Fundamenta Informaticae VIII.2</source>
          ,
          <fpage>225</fpage>
          -
          <lpage>233</lpage>
          ,
          <year>1985</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Jiang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Consistency of a λ-theory with n-tuples and easy terms</article-title>
          ,
          <source>Archives of Math. Logic</source>
          ,
          <volume>34</volume>
          (
          <issue>2</issue>
          ),
          <fpage>79</fpage>
          -
          <lpage>96</lpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>