Eta-Reduction in Type-Theory of Acyclic Recursion

Roussanka Loukanova

Institute of Mathematics and Informatics, Bulgarian Academy of Sciences, Sofia, Bulgaria
rloukanova@gmail.com

ABSTRACT

We investigate the applicability of the classic eta-conversion in the type-theory of acyclic algorithms. While denotationally valid, classic eta-conversion is not algorithmically valid in the type theory of algorithms, with the exception of few limited cases. The paper shows how the restricted, algorithmic eta-rule can recover algorithmic eta-conversion in the reduction calculi of type-theory of algorithms.

KEYWORD

algorithm; denotation; reduction

1. Background

1.1. Overview of the Algorithmic Eta-Conversion

The work presented in this paper is part of theoretical development of a new approach to the mathematical notion of algorithm that was introduced with the formal languages of recursion (FLR), by Moschovakis in a sequence of papers (Moschovakis, 1989; Moschovakis, 1993; Moschovakis, 1997). The formal languages of recursion FLR are untyped systems. They formalise algorithmic computations of denotations in untyped domains of recursive functions. Their theoretical strength is that they allow full recursion with cyclicity and are equivalent to any of the classic theories of the mathematical notion of algorithm.

Moschovakis introduced the class of the simply-typed formal languages and theories of full and acyclic recursion, and designated them by Lrλ and Larλ, respectively, see (Moschovakis, 2006). The theory Lrλ is a proper, strict extension of (Gallin, 1975) logic TY2, and thus, of Montague Intensional Logic (IL), (Thomason, 1974).

Type theory Larλ (Moschovakis, 2006) is based on a simply-typed formal language, its syntax, semantics, and reduction calculus. By extending the mathematical notions of FLR, Larλ is restricted to recursion terms with acyclicity. Thus, Larλ formalises algorithms that end after finite steps of computations. Typed languages of full recursion Lrλ have the syntax of Larλ, without the acyclicity requirement. In general, the classes of languages of recursion (FLR, Lrλ, and Larλ ) have two semantic layers: denotational semantics and algorithmic semantics. The recursion terms of Larλ belong to a distinctive, new kind of formal terms, which are essential for representing algorithmic computations of semantic information, and storing it in memory slots. By this, Larλ sets a new approach to the mathematical concepts of algorithm.

This paper has in its focus the simply-typed theory of acyclic algorithms Larλ, from the perspective of its potential applications. The formal languages and calculi of Larλ provide new approaches to intelligent theoretical foundations, with already existing applications. Here, we extend the original reduction calculus of Larλ introduced in (Moschovakis, 2006), by adding an additional η-rule operating on recursion terms formed by the specialised recursion operator of Larλ. We consider that the new η-rule and the induced η-reduction, are important for applications of Larλ, especially to computational syntax-semantics interfaces of formal and natural languages, as well as in the various areas of Artificial Intelligence (AI).

Among the potential applications of the type theory of recursion Larλ are intelligent software systems, e.g., in robotics and in AI, that perform algorithmic procedures, which also provide reliable performance. Prominent applications of Larλ are to computational semantics of formal and natural languages, and, in particular, to algorithmic semantics of programming and other specification languages in Computer Science. There are already established applications of the formal languages of recursion, in functional and relational versions, to Natural Language Processing (NLP) and computational grammars that cover computational semantics.

This paper presents a restricted η-reduction in Larλ, which simplifies terms in canonical forms. The new η-rule introduced in Larλ is specialised for operating over recursion terms of Larλ. This η-rule does not preserve the strictest algorithmic equivalence (i.e., the strictest algorithmic synonymy) of its input and output terms, both of which are required in canonical forms. Importantly, the η-rule closely maintains the algorithmic meaning of the terms, while reducing the computational complexity caused by excessive, superfluous λ-abstractions, which are coupled with corresponding functional applications. The η-rule preserves the types and denotations of the input and reduced terms. The papers (Loukanova, 2019d; Loukanova, 2019c) introduce and investigate the properties of more intricate rules and reduction calculi for removing other redundant λ-abstractions. The η-rule, as presented in this paper, is also interesting, by extending the original reduction calculus of Larλ, because it is applied directly, only to terms in canonical forms.

We should stress that the η-rule introduced in this paper for the type-theory Larλ is about terms of acyclic recursion and the algorithms designated by them. The canonical forms of the terms determine the algorithms for computations of their denotations, which provide iteration steps, according to a computational rank of the parts of algorithms.

Note that the standard η-rule, from traditional λ-calculi, when expressed in Lrλ and Larλ, is only denotationally valid, and, in general, it is not algorithmically valid. The η-reduction in Larλ, presented in this paper, closely maintains the algorithmic computations determined by recursion Larλ- terms, by also reducing needless λ-abstractions. While both are related, the η-rule in Larλ is different from the version of the classic, denotational η-rule. This is the reason for the name of the η-rule and its corresponding reduction presented in this paper. See the (η) rule. Sect. 2 provides an overview of Larλ with references for a more detailed introduction. Sect. 3 gives information about the reduction calculi of the type theory Larλ, and references to the papers in which it had been introduced in detail, which is essential for algorithmic semantics, especially in selected, specific, semantic domains of data. In Sect. 3.3, we provide some key theoretical results of Larλ. On their basis, Sect. 4 briefly introduces the algorithmic semantics of Larλ with some intuitions.

The second part of the paper is devoted to the possibility of simplifying vacuous λ-abstractions and corresponding applications in recursion terms, by an extended η-reduction relation in Larλ. Sect. 6 introduces the algorithmic, restricted (η) rule in Larλ, while Sect. 7 uses it to provide the extended η-reduction calculus of Larλ.

The central focus of the paper is on the introduction of the new, additional η-rule for the reduction of Larλ-terms, which are in canonical forms, to simpler η-canonical forms that formalise more efficient algorithmic computations.

The new η-rule can be seen as a generalisation of the classic η-rule from λ-calculi, while these are essentially different. The new η-rule provides η-conversion for a major portion of the Larλ -terms, with the exception of the class of λ-immediate terms.

1.2. Related Work

There have been works in procedural semantics, on ideas similar to those of the author, relating to distinguishing the procedural components of meanings from denotations.

A grounding work on procedural semantics, also in harmony with the author’s work, including this paper, has been (Plotkin, 1975; Plotkin, 1977). It points to the potential problems caused by β-reductions in semantics of programming languages, by a focus on untyped formal language. By the type theory of algorithms, e.g., presented in this paper, the distinctions between denotational and algorithmic meanings are maintained.

As demonstrated in (Loukanova, 2009), the denotational β-reductions play significant roles in both layers, denotational and algorithmic semantics of Larλ and Lrλ. In general, β-conversion does not preserve the algorithmic semantics of Larλ terms, with the exception of a restricted version of β-rule for special cases of explicit, irreducible, λ-terms applied to pure variables.

By underlining the effects of partial functions, (Tichý, 1995; Tichý, 1988) grounded a paradigm of an approach, which is in harmony with the author’s work, both the present one and others. Tichý procedural semantics has been provided by the extensive work of (Duží, 2019). The approach uses structured propositions as structured procedures. Structured propositions are assigned to expressions as their meanings. Their constituents are sub-procedures. Significantly, in procedural semantics of hyperintensional Transparent Intensional Logic (TIL), β-reduction does not hold, as shown by the work of Marie Duží. The work (Duží and Jespersen, 2012; Duží and Kosterec, 2017) applied the approach to problems of natural language, such as anaphora resolution.

Similarly, in type-theory of algorithms Larλ and Lrλ, β-reduction does not preserve algorithmic semantics, in general. The two approaches, Tichý TIL and Moschovakis type-theory of algorithms are essentially different in their fundamental details, while they target and solve similar problems in semantics. A comparison would be an interesting future work, outside of the topic of this paper.

To the best of the author’s knowledge, the study that for the very first time addressed similar problems was performed on relational, dependent-type theory of situated, partial information, by situation semantics (Loukanova, 2001; Loukanova, 2002a; Loukanova, 2002b) in situated, model-theoretic structures, i.e., at purely semantic level. A new development, by a formal language of dependent-type theory of situated information, which incorporates Larλ, has been initiated (Loukanova, 2019b), and enhanced by two layers of numerical assessments (Loukanova, 2023).

A more detailed introduction to the mathematics of Larλ, including the denotational and algorithmic semantics of Larλ, and the relations between them, is provided, e.g., in (Moschovakis, 2006) and (Loukanova, 2019d; Loukanova, 2019c).

2. Introduction to Type Theory of Acyclic Recursion

2.1. Types

The set Types is the smallest set defined recursively as follows, by using a wide-spread notation in computer science:

τ : ≡e|t|s(τ1τ2)                          (Types)

The type e is associated with entities, also called individuals, of the semantic domain, and for the Larλ-terms denoting individuals. The type s is for states consisting of various pieces of information, e.g., such as possible worlds, context, time and/or space locations, and some agents, e.g., a speaker; t is for truth values. For an elaboration of possible choices of context information, by specialised objects called states in semantic domains Ds of type s, which include speaker agents (Loukanova, 2011a). The type (s → τ ) is specialised for context dependent objects, i.e., for any state dependent object f, which maps any given sate s to an object f(s) = a of type τ.

2.2. Syntax of the Language of Acyclic Recursion

Vocabulary It consists of typed, pairwise disjoint, sets of typed constants and variables:

Constants: K = ∪τ∈Types Kτ, where, for every τ ∈ Types, Kτ is the set of constants of type τ : Kτ={c0τ,,ckττ} (a finite set, kτ ∈ ℕ)

Pure Variables: PureV = ∪τ∈Types PureVτ, and for every τ ∈ Types, PureVτ = {v0τ, … } is a countably infinite set (i.e., an infinite, denumerable set)

Recursion Variables (which we also call memory slots or memory locations): RecV = ∪τ∈Types RecVτ, and for every τ ∈ Types, RecVτ = { p0τ,… } is a countably infinite set (i.e., an infinite, denumerable set)

Notation 1. Sometimes, for clarity, we use a verbose designation Consts for the set of the constants, i.e., by assuming Consts = K, and, for each τ ∈ Types, Kτ, we may use Constsτ for the set of the constants of type τ, i.e., Constsτ = Kτ.

Terms We express the recursive rules for the set Terms(K) of the terms of Larλ(K) by using a notational style of typed Backus–Naur forms (TBNF), in Def. 1. In it, as typically, we use A, B, C, A0, …, An as meta-variables for terms; cτKτ as a meta-variable for constants of type τ; xτ ∈ PureVτ ∪RecVτ, for pure and recursion variables of any type τ ; vσ ∈ PureVσ for pure variables of type σ; pi ∈ RecVσi (i = 1, …, n, n ≥ 0) for recursion variables.

Note 1 (Meta Type Assignment to Terms at Meta-Level). The assumed types of the given terms are presented as superscripts, and the types of the resulting terms with colon, but they are not per se parts of the term expressions.

In general, the type assignments in Def. 1 can be part of the terms, in specific cases of a language of Larλ. Here, we assume that they are at the meta level of the notational style of typed TBNF and can be derived given the typed vocabulary (constants and variables), from Def. 1.

Definition 1 (Terms). The set Terms of Larλ is defined by the following recursive rules (1)–(3):

A : ≡cτ : τ|xτ : τ|B(στ)(Cσ) : τ                          (1)

λ(vσ)(Bτ) : (στ)                          (2)

A0σ where {p1σ1 : = A1σ1,,pnσn : = Anσn} : σ                          (3)

given that in (3): A1 : σ1, …, An : σn are terms (n ≥ 0), i.e., Ai ∈ Termsσi; p1 : σ1, …, pn : σn are pairwise different recursion variables (memory slots), i.e., pi ∈ RecVσi ; pipj, for all i, j, such that ij and 1 ≤ i, jn; and, the sequence of assignments { p1 := A1, …, pn := An } satisfies the Acyclicity Constraint (AC) given below.

Note 2 (Dependence of Recursion on rank). Intuitively, an acyclic system (sequence) of assignments (3), { p1 :=A1, …, pn := An }, defines algorithmic computations of the values den(A1), …, den(An), which are saved in the corresponding memory slots p1,…, pn, via := for the assignment operator.

An acyclic system { p1 := A1, …, pn := An } defines recursive computations of the values to be assigned to the locations p1, …, pn, which close-off after a finite number of steps.

The denotation of Ai is “saved” in pi and can be dependent on the values saved in the memory variables pj ∈ FreeV(Ai), i.e., rank(pj) < rank(pi).

Note 3. Definition 1, without the acyclicity requirement, determines an extended language Lrλ that admits full recursion that ca be cyclic. This topic is not in the subject of this paper.

Notation 2. Throughout the paper, we use the following notational agreements:

(N1) The symbol “≡” is a meta-symbol (i.e., it is not in the language Larλ), for orthographic, i.e., literal identity between expressions of Larλ, e.g., used to introduce abbreviations and aliases

(N2) The symbol “:≡” is a meta-symbol that we use in definitions, e.g., of types and terms, and for the replacement operation

(N3) Often, we skip some “understood” parentheses, use different shapes and sizes of parentheses, and some extra parentheses, for clarity

(N4) The type σ of a term A may be depicted either as a superscript, Aσ, or by a colon, A : σ, for clarity and convenience

Notation 3. We use the following abbreviations for “folding” and “unfolding” sequences of assignments:

(Ab1) For any pi ∈ RecVσi, C, D ∈ Termsτ and Ai ∈ Termsσi, i = 1,…,n (n ≥ 0):

p : = Ap1 : = A1,,pn : = An                          (4a)

p : = A{C : ≡D}p1 : = A1{C : ≡D},,pn : = An{C : ≡D}                          (4b)

where Ai { C :≡ D } is the result of the replacement of all occurrences of C with D in Ai, usually without causing variable clashes

Denotational Semantics of the Language of Algorithms The language Larλ has denotational semantics provided by a denotational function den𝔄, for semantic structures 𝔄 consisting of typed semantic domains and variable assignments g in 𝔄. The definition of the denotational values den𝔄 (A), for all terms A, in any given semantic structure 𝔄 of data, is by structural induction on the terms. For more details, see (Moschovakis, 2006) and (Loukanova, 2019d; Loukanova, 2019c).

3. The Original Reduction Calculus of Acyclic Recursion

The algorithmic semantics in the theories of acyclic Larλ and full Lrλ recursion are determined by the concept of canonical forms of terms. The canonical form cf(A) of each term A is effectively obtained by the reduction calculi of Larλ and full Lrλ.

3.1. Proper versus Immediate Terms

An important distinction of the formal language and theory of Larλ is the division of the Larλ-terms between proper and immediate terms. Intuitively, the canonical form cf(A) of each proper term A designates the algorithm for computing its denotation den(cf (A)) = den(A).

On the other hand, the immediate terms are very simple terms that denote their values immediately via any given valuation function of variables.

Definition 2 (Immediate and Proper Terms). The immediate terms are all the terms that have one of the forms (5a)–(5b):

u, for u  PureV                          (5a)

λ(u1)[λ(un)((p(v1))(vm))],for p  RecV, u1, , un, v1, , vm  PureV (n, m  0)                          (5b)

The terms that are not immediate are proper.

Intuitively, the denotations of the immediate terms are obtained immediately, by being available from any given valuation function gG in the given semantic structure 𝔄. For a detailed discussion on a distinction between immediate terms and constants, see (Moschovakis, 2006). On the other hand, the denotations of the proper terms are computed by algorithmic steps, even if they may be very simple, by evoking the interpretation function for some simple constants.

3.2. Original Reduction Rules of the Theory of Acyclic Recursion

The set of the Larλ-reduction rules is as follows:

Congruence

If Ac B, then AB                          (cong)

Transitivity

If AB and BC, then AC                          (trans)

Compositionality

If AA and BB, then A(B)A(B)                          (ap-comp)

If AB, then λ(u)(A)λ(u)(B)                          (λ-comp)

If AiBi, for i=0,,n, thenA0 where {p1 : = A1,,pn  : = An}B0 where {p1  : = B1,,pn  : = Bn}                          (wh-comp)

The Head Rule

(A0 where {p : = A}) where {q : = B}A0 where {p : = A, q : = B}                          (head)

given that no pi occurs freely in any Bj, for i = 1, …, n, j = 1, …, m

The Bekič-Scott Rule

A0 where {p : = (B0 where {q  : = B}), p : = A}A0 where {p :  = B0, q : =B, p :  = A}                          (B-S)

given that no qj occurs freely in any Ai, for i = 0, …, n, j = 1, …, m

The Recursion-Application Rule

(A0 where {p : = A})(B)A0(B) where {p  : = A}                          (recap)

given that no pi occurs freely in B, for i = 1, …, n

The Application Rule

A(B)A(p) where {p : = B}                          (ap)

given that B is a proper term and p is a fresh (recursion) memory variable

The λ-Rule

λ(u)(A0 where {p1 : = A1,,pn : = An})λ(u)A0 where {p1 : = λ(u)A1,,pn : = λ(u)An}λ(u)A0{p : ≡p(u)} where {p : = λ(u)A{p : ≡p(u)}}                          (λ)

where:

(1) u ∈ PureVσ

(2) for all i = 1, …, n, pi ∈ RecVσi,

piRecV(σσi) is a fresh recursion variable

(3) for all i = 0, …, n, Ai ∈ Termsσi,

Ai is the result of the replacement of the free occurrences of p1, …, pn in Ai with p1(u),,pn(u), respectively, i.e.:

Ai : ≡Ai{p1 : ≡p1(u),...,pn : ≡pn(u)}                          (7a)

Ai : ≡Ai{p : ≡p(u)}                          (7b)

3.3. Some Major Properties of Type Theory of Acyclic Recursion

In this section, we shall present some of the properties of the type theory Larλ, which are important for the algorithmic semantics of Larλ and the Larλ-terms.

Definition 3 (Irreducible Terms). We say that A ∈ Terms is irreducible if and only if

for all BTerms, AB  A c B                          (8)

When A ∈ Terms is explicit and irreducible, we use an abbreviation, e.g., by writing “A is e.i.”

Theorem 1 (Criteria for Irreducibility). (See Moschovakis (Moschovakis, 2006), § 3.12.)

(1) If A ∈ Consts ∪Vars, then A is irreducible

(2) An application term A(B) is irreducible if and only if A is explicit and irreducible and B is immediate

(3) A λ-term λ(x)(A) is irreducible if and only if A is explicit and irreducible

(4) A recursion term A0 where {p1 := A1, …, pn := An} (n ≥ 0) is irreducible if and only if all of its parts A0, …, An are explicit and irreducible

Proof. The proof is by structural induction on Def. 1 of the Larλ-terms, by using the rules of the reduction calculus, defined in Sect. 3. See Theorem §3.12 in (Moschovakis, 2006).

Theorem 2 (Canonical Form Theorem). For more details, see (Moschovakis, 2006) and (Loukanova, 2019d; Loukanova, 2019c).

For each term A, there is a unique, up to congruence, irreducible term Cc cf(A) called the canonical form of A, such that:

(1) cf(A) ≡ A0 where { p1 := A1, …, pn := An } for some explicit, irreducible terms A1, …, An (n ≥ 0)

(2) A ⇒ cf(A)

(3) (Uniqueness of the Canonical Form) If AB and B is irreducible, then Bc cf(A), i.e., cf(A) is the unique, up to congruence, irreducible term to which A can be reduced

(4) FreeV(A) = FreeV(cf(A))

(5) For every constant cK, c occurs in A iff c occurs in cf(A)

Theorem 3. (See (Moschovakis, 2006), § 3.11.) For any given Larλ-terms A, B ∈ Terms:

if AB, then den(A)=den(B)                          (9a)

den(A)=den(cf(A))                          (9b)

Proof. is long, by induction on the reduction relation induced by the reduction rules, see Sect. 3.2 and the denotation function.

Note 4. The recursion operator designated by the operator constant where is one of the important binding operators, which has been used in different ways in Mathematics and Computer Science, taken for granted, by default, without formalisation.

We underline that the symbol where in the Moschovakis formal languages of recursion, including in the simply typed theory of acyclic recursion Larλ is a specialised constant symbol, but different from the typed constants of the formal languages of Larλ and Lrλ. The constant symbol where has a specialised role for designating recursion operator. Similarly, the usual logic constants designate logic or computation operators, including the symbol λ designating binding, abstraction operator, and the binding operators of quantification.

The canonical forms have a distinguished feature that is part of their computational (algorithmic) role: they provide algorithmic patterns of semantic computations. The more general terms provide algorithmic patterns that consist of sub-terms with components that are recursion variables; the most basic assignments of recursion variables (of lowest ranks) provide the specific basic data that feeds-up the general computational patterns. The more general terms and sub-terms classify language expressions with respect to their semantics and determine the algorithms for computing the denotations of the expressions.

4. On the Algorithmic Semantics in the Theory of Acyclic Recursion

The notion of algorithmic semantics, i.e., algorithmic intension, in the languages of recursion, (Moschovakis, 2006), covers the essential, computational aspect of the concept of meaning. The referential intension, int(A), of a meaningful term A is the tuple of functions (a recursor) that is defined by the denotations den(Ai) (i ∈ { 0, … n }) of the parts (i.e., the head sub-term A0 and of the terms A1, …, An in the system of assignments) of its canonical form:

cf(A)A0 where {p1 : = A1,,pn : = An}

Intuitively, for each meaningful term A, the intension of A, int(A), is the algorithm for computing its denotation den(A). Two meaningful expressions are synonymous if their referential intensions are naturally isomorphic, i.e., they are the same algorithm. Thus, the algorithmic meaning of a meaningful term (i.e., its sense) is the information about how to compute its denotation step-by-step: a meaningful term carries instructions within its structure, which are revealed by its canonical form, for acquiring what they denote in a model. The canonical form cf(A) of a meaningful term A encodes its intension, i.e., the algorithm for computing its denotation, via: (1) the basic instructions (facts), which consist of { p1 := A1, …, pn := An } and the head term A0, which are needed for computing the denotation den(A), and (2) a terminating rank order of the recursive steps that compute each den(Ai), for i ∈ { 0, …, n }, for incremental computation of the denotation den(A) = den(A0).

Definition 4 (Algorithmic Equivalence in 𝔄). (In (Moschovakis, 2006), this is Theorem § 3.4, in an equivalent way, without discussion of the detailes here, because this paper does not depend strictly on them.) Two terms A, B, are algorithmically equivalent, AB, with respect to a given semantic structure 𝔄, i.e., referentially synonymous in 𝔄, iff

(A) A and B are both immediate, or

(B) A and B are both proper

and there are explicit, irreducible terms (of appropriate types), A0, …, An, B0, …, Bn, n ≥ 0, such that:

(1) Acf A0 where {p1 := A1, …, pn := An }

(2) Bcf B0 where {p1 := B1, …, pn := Bn }

(3) (a) for every x ∈ PureV ∪ RecV,

xFreeV(Ai) iff xFreeV(Bi), for i{0,,n}                          (10)

(b) for all gG:

den(Ai)(g)=den(Bi)(g),  for i{0,,n}                          (11)

Informally, AB iff one of the cases (A) or (B) holds:

(A) when A and B do not have algorithmic senses, i.e., when A and B are both immediate, A and B have the same denotations (obtained immediately via variable valuations, since both have no algorithmic sense)

(B) otherwise, i.e., when A and B have algorithmic senses, i.e., A and B are both proper, their denotations (which are equal) are computed by the same algorithm represented by their canonical forms

In Larλ, the β-conversion is valid only denotationally, as it is, normally applicable, in traditional λ-calculus. Detailed arguments against a general β-conversion for the algorithmic semantics, and special cases when it is valid are provided by (Loukanova, 2011b; Loukanova, 2019d; Loukanova, 2019c).

5. Classic Eta-Conversion in the Original Reduction Calculus

In what follows, when we refer to the denotational function, we assume that 𝔄 is a given, while arbitrary semantic structure, without any specific features.

The classic η-conversion is not algorithmically valid, in general in Larλ (and in Lrλ), according to the original reduction calculus. It is valid only denotationally, which is determined by the denotational function, i.e., (12a)–(12c) hold.

Theorem 4 (Denotational η-Conversion). For all A ∈ Terms, such that (12a), the denotational η-conversions (12b) and (12c) are valid:

xFreeV(A)                          (12a)

den(λ(x)(A(x)))(g)=den(A)(g), for all variable valuations g  G in 𝕬                          (12b)

den(λ(x)(A(x)))=den(A)                          (12c)

Proof. The denotational equivalence (12b) is proved by structural induction on the formation rules of A, see Def. 1. The denotational equality (12c) follows from (12b), for all valuations gG in 𝔄.

6. The Restricted Eta-Rule in Type-Theory of Recursion

In general, the algorithmic η-conversion for recursion terms is not valid. In this session, we shall use a counterexample to demonstrate it.

6.1. The Motivation of a New, Algorithmic Eta-Rule

In Sect. 6.2, we shall introduce an η-rule. Then, in the rest of the paper, we present the corresponding extended reduction calculus and its properties.

Motivation from Computational Semantics of Natural Language We present a typical example from human language, which while simple, represents a pattern for a large class of expressions with varieties of similar phenomena. We consider this example as a strong motivation for the usefulness of additional reduction rules, similar to the η-rule introduced in this paper.

Example 6.1. The detailed steps of rendering a sentence, such as (13) into a term A, and a reduction of A to its canonical form cf(A) in Larλ, as in (14a)–(14d), are given in (Loukanova, 2019c). Canonical forms similar to cf(A) in (14a)–(14d), having assignments as in (14d), provide a motivation for the γ-rule and the induced by it γ-reduction. The γ-rule and its γ -reductions are more general and complex than the η-rule and the corresponding η-reduction. The same example is handled similarly by the simpler η-rule, which applies only to terms in canonical forms.

Kim hugs some dogrender A                          (13)

By applying the rules of the Larλ-reduction calculus, the term A reduces to its canonical form cf(A) in (14a)–(14d):

Acf(A)c[λyk(some(d(yk))(h(yk)))](k)where                          (14a)

{k : = kim,                          (14b)

h : = λykλxdhugs(xd)(yk),                          (14c)

d : = λykdog}                          (14d)

Then, by the Algorithmic Equivalence Definition 4, it follows that cf(A) is not algorithmically equivalent to the term B in (15b)–(15e). Therefore, cf(A) is not equivalent to any term B′ that is congruent to the term B:

cf(A)BcB                          (15a)

B[ λyk some(d) (h(yk)) ](k) where                          (15b)

{k : = kim,                          (15c)

h : = λykλxdhugs(xd)(yk),                          (15d)

d′ : = dog}                          (15e)

The term B in (15b)–(15e) is in a canonical form, but it is not algorithmically equivalent (synonymous) to the term (14a)–(14d), by the Larλ-reduction calculus and the Algorithmic Equivalence Definition 4. This is because the term parts in (14d) and (15e) are not denotationally equivalent, i.e.:

den(λyk dog)den(dog)                          (16)

That is, the two terms (14a)–(14d) and (15b)–(15e) are not algorithmically equivalent with respect to the strictest notion of algorithm introduced in (Moschovakis, 2006).

6.2. A Restricted Eta-Rule in Type Theory of Acyclic Recursion

Definition 5 (η-condition). Any given recursion term A ∈ Terms satisfies the η-condition with respect to an assignment p := λ(v)P in its where-scope, if and only if the clauses (C1)–(C3) hold:1

(C1) A is of the form (17), i.e., A is a recursion term in a canonical form:

AA0 where {a : = A, p : = λ(v)P, b :  = B} ccf (A)                          (17)

(C2) The term P ∈ Termsτ, in p := λ(v)P, does not have any free occurrences of v in it, i.e., vFreeV(P)

(C3) Each of the free occurrences of p in any of the term parts A0, Ai, Bj, i.e., in A0, A and B, is an occurrence in a subterm p(v ) that is in the scope of λ(v) (modulo congruence with respect to renaming the variable v)

for:

(P1) vPureVσ, pRecV(στ)

(P2) PTermsτ, and thus, λ(v)PTerms(στ)

(P3) A0, AA1,,AnTerms, a a1,,anRecV (n0), of correspondingly matching types

(P4) B B1,,BkTerms, bb1,,bkRecV (k0), of correspondingly matching types

We say that the assignment p := λ(v)P and the memory variable p satisfy the η-condition for A, given in Def. 5, and that A satisfies the η-condition for p in its where-scope.

The (η) Rule For any A ∈ Terms (18a), i.e., (18b) (n ≥ 0, k ≥ 0), which satisfies the η-condition in Def. 5, with respect to the assignment p := λvP in its where-scope

Acf(A)A0 where {p1 : = A1,,pn : = An,p : = λvP,q1 : = B1,,qk : = Bk}                          (18a)

A0 where {p : = A, p : = λvP, q : = B}                          (18b)

the (η) rule is the following one-step reduction applied to A:

Acf(A) A0 where {p : = A, p : = λvP, q : = B}η A0{p(v) : ≡p} where {p : = A{p(v) : ≡p},p : = P,q : = B{p(v)  : ≡p}}                          (η)

given that:

(R1) p′ ∈ RecVτ is a fresh recursion variable for A, i.e.:

p'Vars(A)                          (19)

(R2) X{p(v) : ≡p'} is the sequence of the terms that are the result of the replacements Xi{ p(v) :≡ p′ }, of all occurrences of p(v) with p′, in all terms Xi, for Xi ∈ {Ai | i = 0, …, n } ∪ { Bi | i = 1, …, k }, modulo congruence with respect to renaming the bound occurrences of the scope variable v:

Xi{p(v) : ≡p′} is replacement modulo renaming bound v                          (20)

Note 5. In the η-rule and its applications in reductions, for all i ∈ {0, …, n} and j ∈ { 0, …, k }, the replacements Ai{ p(v) :≡ p′ } and Bj{ p(v) :≡ p′ }, are such that the occurrences of the term p(v) in Ai and Bj are within the scope of the abstraction λv, modulo appropriate renaming of v. By this condition (C3), the (η) rule maintains the pure, free variables of the reduced terms:

if AnB,then FreeV(A)=FreeV (B)                          (21)

Example 6.2. Assume that p, p′ ∈ RecV, x ∈ PureV, p′ is fresh for A, C ∈ Terms, x ∉ FreeV(C), C is explicit, irreducible. We assume that these variables and terms are of suitable types. For example, bookConsts(e˜t˜). For instance, Cbook. Then, λ(x)(C) ≡ λ(x)(book), We may need to reduce such vacuous λ-abstractions, and corresponding applications: [λ(x)(C)](y) ≡ [λ(x)(book)](y):

[ λ(x)(C) ](y)C,forx,yFreeV(C),yFreeV([ λ(x)(C) ](y))                          (22a)

[λ(x)(C) ](x)C,forxFreeV(C),xFreeV([ λ(x)(C) ](x))                          (22b)

[ λ(x)(book) ](y)book,yFreeV[ λ(x)(book) ](y),yFreeV(book)                          (22c)

λ(x)(book(x))book,xFreeV(λ(x)(book)(x))),xFreeV(book)den(λ(x)(book(x)))=den(book)                          (22d)

by Algorithmic Equivalence Definition 4, (10)

Example 6.3. Assume that p, p′ ∈ RecV, x ∈ PureV, p′ is fresh for A, C ∈ Terms, x ∉ FreeV(C),and C is explicit, irreducible, which are of suitable types. For example, C ∈ Consts.

λ(x)[p2 where {p2 : = P(p1(x)), p1 : = C}]                          (23a)

λ(x)(p2(x)) where {p2 : = λ(x)[ P(p1(x)(x)) ],p1 : = λ(x)(C)}by (λ)                          (23b)

ηλ(x)(p2(x)) where {p2 : = λ(x)[ P(p1(x)) ],p1 : = C}by (η)                          (23c)

λ(x)(p2(x)) where p2 : = λ(x)[ P(p1(x)) ], p1 : = Cby (cong)                          (23d)

p2 where {p2 : =λ(x)[ P(p1(x)) ], p1 : =C}by Algorithmic Equivalence Definition 4                          (23e)

Example 6.4. Assume that book ∈ Consts, C ∈ Terms, x ∉ FreeV(C), and C is explicit, irreducible. Then (η) rule is not applicable to A, B, D, E, since by Def. 5, the condition (C3) is not satisfied:

Ap where {p : = λ(x) book}                          (24a)

Bp where {p :  = λ(x)C}                          (24b)

Dp(v) where {p : = λ(x)book, vFreeV(D)                          (24c)

Ep(v) where {p : = λ(x)C, vFreeV(E)                          (24d)

Without requiring p(v) to be in the scope of binding λ(v), by the condition (C3), in Def. 5, a tentative application of the (η), would remove v from the free variables of the reduced term:

EηEp where {p : = C}, vFreeV(E),vFreeV(E)                          (25)

Depending on applications of Larλ, this conditions can be adjusted, by releasing the binding requirement.

Example 6.5. Assume that p, q ∈ PureV, pq, book ∈ Consts, C ∈ Terms, x ∉ FreeV(C) and C is explicit, irreducible. Then, by Def. 5, the conditions, including (C3), are satisfied for the (η) rule:

Aq where {p : = λ(x)book}ηq where {p : = book}                          (26a)

Bq where {p : = λ(x)C}ηq where {p : = C}                          (26b)

6.3. Denotational Equivalence of Canonical Forms Reduced by Eta-Rule

In this section, we shall consider terms in canonical forms.

Theorem 5 (Denotational Equivalence by η-rule). Let A ∈ Terms be a term in a canonical form:

Acf(A)A0 where {p : = A, pn+1 : = λ(v)An+1, q : = B}                          (27)

(n ≥ 0), such that:

(P1) v : σ is a pure variable and pn+1 : (στ) is a recursion variable.

(P2) The explicit, irreducible term An+1 : τ does not have any (free) occurrences of v (and pn+1)

(P3) All the occurrences of pn+1, in A0, A, and B, are occurrences of the term pn+1 (v), which are in the scope of λ(v) (modulo appropriate renaming of v)

Let p′n+1: τ be a fresh recursion variable, and A′ be the term as in (28d)(28g) (by the η-rule):

A[A0 where {p : = A                          (28a)

pn+1 : = λ(v)An+1,                          (28b)

q : = B}]                          (28c)

ηA[A0{pn+1(v) : ≡pn+1} where {                          (28d)

p : = A{pn+1(v) : ≡pn+1},                          (28e)

pn+1 : = An+1,                          (28f)

q : = B {pn+1(v)  : ≡pn+1}}]                          (28g)

Then,

AA                          (29a)

cf(A)cA                          (29b)

and, for all gG, i ∈ { 0, …, n }, and j ∈ { 1, …, k }, the following denotational equalities hold:

den(A)(g) = den(A)(g)                          (30)

Proof. It is very long and we do not include it in this paper. It will be provided in a separate paper on the mathematical properties of η-reduction.

Note 6. While the equality (30) is about denotations, its proof is not based on the traditional β-conversion over application terms without recursion assignments.

Notice that there are no other syntactical manipulations over the terms A and A′, except for the replacements used according to the (η) rule in Aη A′. The term A′ designates an algorithm that is very close to the algorithm by A, simplified by reducing the needless λ-abstractions and corresponding functional applications.

7. Eta-Reduction in the Theory of Acyclic Recursion

In this section, the reduction calculus of Larλ was extended by adding the (η) rule to the set of the rules given in Sect. 3.

Definition 6 (η-reduction). The η-reduction relation in Larλ is the smallest relation η* between Larλ-terms, such that:

(1) For any Larλ-terms A, B ∈ Terms:

if cf(A)ηBby(η)rule, then AηB

(2) The relation η*, between Larλ-terms is closed under the reduction rules of Larλ, including the original ones, see Sect. 3.2, and (η), i.e., η* is closed under transitivity, congruence, compositionality with respect to term formation rules, (head), (B-S), (recap), (ap), (λ), and (η).

Often, we write Aη B instead of A η* B, when the (η) rule has been applied at least once.

Theorem 6. For any A, B ∈ Terms:

if Acfcf(A)ηBby(η)rulethen den(A)=den(cf(A))=den(B)                          (31)

Proof. The denotational equality den(A) = den(cf (A)) is by Theorem 3. The equality den(cf (A)) = den(B) is by Theorem 5.

Definition 7 (η-Irreducibility). A ∈ Terms is η-irreducible iff it is irreducible, see Def 3, and does not satisfies the η-condition Def. 5.

Definition 8 (η-Equivalence Relation ≈η). For all terms A, B ∈ Terms

AηBfor some C, AηC and CB                          (32)

Corollary 6.1. For any Larλ-terms A and B,

(1) if A η* B, then den(A) = den(B)

(2) if Aη B, then den(A) = den(B)

Proof. (1) is proven by induction on the number of the applications of the (η) rule and Theorem 6. Then, (2) follows by Def. 8 of η-equivalence relation ≈η.

Definition 9 (Syntactic Equivalence ≈s). For any Larλ-terms A and B

AsBcf(A)ccf(B)                          (33)

Some details about syntactic equivalence (synonymy) are given in (Moschovakis, 2006) and (Loukanova, 2019d; Loukanova, 2019c). The difference is that the syntactic synonymy does not qualify for algorithmic equivalence of denotationally equal constants and syntactic constructs of λ-abstraction. For instance, assuming that dog is a constant, then den(dog) = den(λ(x)dog(x)) (by the denotation function); dogλ(x)dog(x) (by the Algorithmic Equivalence Definition 4, because both terms are in canonical forms); dogs λ(x)dog(x).

Corollary 6.2. For any two Larλ -terms A, B ∈ Terms:

ABAsBcf(A)ccf(B)AηBden(A)=den(B)                          (34)

Proof. Follows from the definitions.

Corollary 6.3. There exist (many) Larλ-terms A, B, C, E ∈ Terms, such that:

ABηCAηBηC                          (35a)

while CBand CA                          (35b)

BE, while CB and CE                          (35c)

8. Algorithmic Eta-Conversion

Theorem 7 (Algorithmic η-Conversion of Explicit, Irreducible Terms). For every C ∈ Terms, the algorithmic equivalences (36a)(36b) are valid, given that the restrictions (36c), (36d), (36e) hold:

λ(x)(C(x))C(Algorithmic Equivalence)                          (36a)

λ(x)C(x)ηC(Restricted Algorithmic EtaConversion)                          (36b)

for C ∈ Terms, such that:                                   

C is explicit, irreducible                          (36c)

xFreeV(C)                          (36d)

λ(x)(C(x)) and C are both immediate or both proper                          (36e)

Proof. Note that FreeV(λ(x)(C(x))) = FreeV(C) follows by the definitions of free and bound variables. The denotational equality (37), which is a denotational η-conversion, follows from the definitions of the denotational function.

den (λ(x)(C(x))) (g)=den(C)(g), for every variable valuation g  G                          (37)

These definitions are provided, e.g., in (Moschovakis, 2006) and (Loukanova, 2019c).

By the Criteria for Irreducibility, Theorem 1, since C ∈ Terms is explicit, irreducible, the term λ(x) C(x) is also explicit, irreducible. Thus, by the Canonical Form Theorem 2, both terms C and λ(x)(C(x)) are in canonical forms, i.e., (38a)–(38b) hold:

cf(C)C                          (38a)

cf(λ(x)(C(x)))λ(x)(C(x))                          (38b)

The algorithmic equivalence (36a) follows from (38a)–(38b), by Definition 4. The restricted algorithmic η- conversion (36b) follows from Def. 8 of the η-equivalence relation ≈η.

Note 7 (Generalised, algorithmic (η) rule of Larλ). The (η) rule presented in this paper is a generalisation of the denotational version of the standard η-rule of traditional λ-calculi. Here, in Larλ, the algorithmic (η) rule is applicable across recursion assignments, in recursion terms in canonical forms. In simple cases, the (η) rule can be applied as in Lemma 1.

Lemma 1. Assume that D0 ∈ Terms is in canonical form, such that (39) and (1) hold:

D0cf(D0)λ(v) (p(v)) where { p : = λ(v)A}                          (39)

(1) A ∈ Terms does not have any free occurrences of the pure variable v (and of p, by the acyclicity), i.e., v ∉ FreeV(A)

Then, the (η) rule can be applied as in (40a)(40b):

D0λ(v)(p(v)) where { p : = λ(v)A}                          (40a)

ηD0λ(v)(p) where {p : = A}                          (40b)

Proof. By (39) and (1), the term D0 satisfies the condition for applicability of the η-rule, according to Def. 5. The (η) rule can be applied as in (40a)–(40b).

9. Conclusions and Future Work

In this paper, we have introduced the new η-rule in Larλ to simplify recursion terms in canonical forms, by removing occurrences of vacuous λ-abstractions and reducing the corresponding functional applications. The η-rule closely preserves all other structural components of the canonical terms, and by that, the algorithmic steps in the computations of denotations. The denotations of the reduced terms are strictly preserved.

We have demonstrated that a restricted version of the algorithmic η-conversion, applicable to canonical forms, is valid in Larλ theory, by using the introduced in this paper algorithmic η-rule in the theory of acyclic recursion Larλ.

This paper is part of an extended work on the developments of type theory of parametric algorithms and applications.

Theoretical Development In a separate work, we shall present details of various mathematical properties of the extended η-reduction and proofs of the properties presented here, e.g., of Lemma 1.

Applications The η-rule maximally preserves the algorithmic computations of the term to which it applies, while reducing computationally needless λ-abstractions p : = λ(v)A and subsequent applications λ(v)(p(v)).

Theorem 5, which is extended to the ≈η equivalence by Corollary 6.1, shows that the ≈η equivalence is one of the many equivalence relations between terms, which is stronger than denotational equality and weaker than the strict algorithmic synonymy in Larλ focussed on specific semantic structures 𝔄.

Applications to Computational Grammar of Natural Language The presented η-rule has applications to computational semantics of human languages and to semantics of programs and compilers.

In the analyses of certain classes of human language expressions, which we have been covering in recent work, the η-rule provides simplification of canonical terms that are otherwise irreducible by the Larλ-reduction calculus. In particular, the η-reduction is a simplified expression of the innermost γ-reduction introduced in (Loukanova, 2019c). Thus, for applications of the Larλ, the η-reduction is easier to apply, directly to the canonical forms of the sub-terms, from inside-out, and combine them, by the compositionality rules, (ap-comp), (λ-comp), (wh-comp).

The reduction calculus of Larλ extended to η-reduction is useful in applications, especially for reducing algorithmic complexity, by the algorithmic η-conversion across recursion assignments.

In computational grammar, by covering syntax-semantics interfaces, the η-canonical forms of sub-terms can be combined together compositionally, from the η-canonical forms of the renderings of subexpressions, e.g., as in (Loukanova, 2019a).

The extended η-reduction is useful for various tasks, e.g., in translations between natural language expressions and generation of natural language from semantic representations.

10. Acknowledgements

The work in this paper is an essential extension of (Loukanova, 2020), which introduces the η-rule, for the purpose of applying it to semantic representations of human language, without looking into its properties and details of reductions. In this extended paper, we reformulate the (η) rule. Then we present some of the theoretical properties of the η-rule, and the induced η-reduction calculus, with respect to existing and potential applications of Larλ to the areas of Artificial Intelligence (AI), especially AI technologies evolving syntax-semantics interfaces in formal and natural languages.

11. Vitae

Roussanka Loukanova has a PhD degree in mathematics from Moscow State University. She has been teaching at Sofia University (Bulgaria), Indiana University Bloomington (US), University of Minnesota (US), Illinois Wesleyan University (US), Uppsala and Stockholm Universities (Sweden). Her research is in the areas of Typed Theory of Situated Information, Type Theory of Algorithms, Computational Syntax, Computational Semantics, and Computational Syntax-Semantics Interface. Currently, she is senior assistant professor in mathematics at the Department of Algebra and Logic, Institute of Mathematics and Informatics (IMI), Bulgarian Academy of Sciences (BAS), Sofia, Bulgaria.

12. References

Duží, M., 2019. If structured propositions are logical procedures then how are procedures individuated? Synthese, 196(4):1249–1283.

Duží, M. and Kosterec, M., 2017. A Valid Rule of β-conversion for the Logic of Partial Functions. Organon F, 24(1):10–36.

Duží, M. and Jespersen, B., 2012. Procedural isomorphism, analytic information and β-conversion by value. Logic Journal of the IGPL, 21(2):291–308. ISSN 1367-0751. doi:10.1093/jigpal/jzs044.

Gallin, D., 1975. Intensional and Higher-Order Modal Logic: With Applications to Montague Semantics. North-Holland Publishing Company, Amsterdam and Oxford, and American Elsevier Publishing Company. ISBN 0 7204 0360 X.

Loukanova, R., 2001. Russellian and Strawsonian Definite Descriptions in Situation Semantics. In Gelbukh, A., editor, Computational Linguistics and Intelligent Text Processing. CICLing 2001, volume 2004 of Lecture Notes in Computer Science, pages 69–79. Springer, Berlin, Heidelberg. ISBN 978-3-540-44686-6.

Loukanova, R., 2002a. Generalized Quantification in Situation Semantics. In Gelbukh, A., editor, Computational Linguistics and Intelligent Text Processing, volume 2276 of Lecture Notes in Computer Science, pages 46–57. Springer, Berlin, Heidelberg. ISBN 978-3-540-45715-2.

Loukanova, R., 2002b. Quantification and Intensionality in Situation Semantics. In Gelbukh, A., editor, Computational Linguistics and Intelligent Text Processing. CICLing 2002, volume 2276 of Lecture Notes in Computer Science, pages 32–45. Springer, Berlin, Heidelberg. ISBN 978-3-540-45715-2.

Loukanova, R., 2009. β-Reduction and Antecedent-Anaphora Relations in the Language of Acyclic Recursion. In Cabestany, J., Sandoval, F., Prieto, A., and Rodríguez, J. M. C., editors, Bio-Inspired Systems: Computational and Ambient Intelligence. IWANN 2009, volume 5517 of Lecture Notes in Computer Science, pages 496–503. Springer, Berlin, Heidelberg, Salamanca, Spain. doi:10.1007/978-3-642-02478-8.

Loukanova, R., 2011a. Modeling Context Information for Computational Semantics with the Language of Acyclic Recursion. In Pérez, J. B., Corchado, J. M., Moreno, M., Julián, V., Mathieu, P., Canada-Bago, J., Ortega, A., and Fernández-Caballero, A., editors, Highlights in Practical Applications of Agents and Multiagent Systems, volume 89 of Advances in Intelligent and Soft Computing, pages 265–274. Springer Berlin Heidelberg.

Loukanova, R., 2011b. Reference, Co-reference and Antecedent-anaphora in the Type Theory of Acyclic Recursion. In Bel-Enguix, G. and Jiménez-López, M. D., editors, Bio-Inspired Models for Natural and Formal Languages, pages 81–102. Cambridge Scholars Publishing.

Loukanova, R., 2019a. Computational Syntax-Semantics Interface with Type-Theory of Acyclic Recursion for Underspecified Semantics. In Osswald, R., Retoré, C., and Sutton, P., editors, IWCS 2019 Workshop on Computing Semantics with Types, Frames and Related Structures. Proceedings of the Workshop, pages 37–48. The Association for Computational Linguistics (ACL), Gothenburg, Sweden.

Loukanova, R., 2019b. Formalisation of Situated Dependent-Type Theory with Underspecified Assessments. In Bucciarelli, E., Chen, S.-H., and Corchado, J. M., editors, Decision Economics. Designs, Models, and Techniques for Boundedly Rational Decisions. DCAI 2018, volume 805 of Advances in Intelligent Systems and Computing, pages 49–56. Springer International Publishing, Cham. ISBN 978-3-319-99698-1.

Loukanova, R., 2019c. Gamma-Reduction in Type Theory of Acyclic Recursion. Fundamenta Informaticae, 170(4):367–411. ISSN 0169-2968 (P) 1875-8681 (E).

Loukanova, R., 2019d. Gamma-Star Canonical Forms in the Type-Theory of Acyclic Algorithms. In van den Herik, J. and Rocha, A. P., editors, Agents and Artificial Intelligence, pages 383–407. Springer International Publishing, Cham.

Loukanova, R., 2020. Algorithmic Eta-Reduction in Type-Theory of Acyclic Recursion. In Rocha, A., Steels, L., and van den Herik, J., editors, Proceedings of the 12th International Conference on Agents and Artificial Intelligence (ICAART 2020), volume 2, pages 1003–1010. INSTICC, CITEPRESS – Science and Technology Publications, Lda. ISBN 978-989-758-395-7.

Loukanova, R., 2023. Algorithmic Dependent-Type Theory of Situated Information and Context Assessments. In Omatu, S., Mehmood, R., Sitek, P., Cicerone, S., and Rodríguez, S., editors, Distributed Computing and Artificial Intelligence, 19th International Conference, volume 583, pages 31–41. Springer International Publishing, Cham. ISBN 978-3-031-20859-1. doi:10.1007/978-3-031-20859-1_4.

Moschovakis, Y. N., 1989. The formal language of recursion. Journal of Symbolic Logic, 54(4):1216–1252.

Moschovakis, Y. N., 1993. Sense and denotation as algorithm and value. In Oikkonen, J. and Väänänen, J., editors, Logic Colloquium ’90: ASL Summer Meeting in Helsinki, volume Volume 2 of Lecture Notes in Logic, pages 210–249. Springer-Verlag, Berlin.

Moschovakis, Y. N., 1997. The logic of functional recursion. In Dalla Chiara, M. L., Doets, K., Mundici, D., and van Benthem, J., editors, Logic and Scientific Methods, volume 259, pages 179–207. Springer, Dordrecht.

Moschovakis, Y. N., 2006. A Logical Calculus of Meaning and Synonymy. Linguistics and Philosophy, 29(1):27–89. ISSN 1573-0549.

Plotkin, G., 1975. Call-by-name, call-by-value and the λ-calculus. Theoretical Computer Science, 1(2):125–159. ISSN 0304-3975. doi:10.1016/0304-3975(75)90017-1.

Plotkin, G. D., 1977. LCF considered as a programming language. Theoretical Computer Science, 5(3):223–255.

Thomason, R. H., editor, 1974. Formal Philosophy: Selected Papers of Richard Montague. Yale University Press, New Haven, Connecticut.

Tichý, P., 1988. The foundations of Frege’s logic. In The Foundations of Frege’s Logic. Berlin: De Gruyter.

Tichý, P., 1995. Constructions as the Subject Matter of Mathematics. In Depauli-Schimanovich, W., Köhler, E., and Stadler, F., editors, The Foundational Debate: Complexity and Constructivity in Mathematics and Physics, pages 175–185. Springer Netherlands, Dordrecht. ISBN 978-94-017-3327-4. doi:10.1007/978-94-017-3327-4_13.

_______________________________

1 One may also add the restriction: The recursion variable p occurs in at least one part of A, i.e., in at least one of the terms A0, A, B. We shall refrain from such a version of the η-condition and its corresponding η-rule in this paper.