Skip to main content

Questions tagged [lambda-calculus]

For questions on the formal system in mathematical logic for expressing effective functions, programs and computation, and proofs, using abstract notions of functions and combining them through binding and substitution.

Filter by
Sorted by
Tagged with
9 votes
0 answers
258 views

There are theorems characterizing Kleene's realizability$\def\realize{\mathbin{\textbf{r}}}$ in various systems. For example, $$\textsf{HA} \vdash \exists n,n \realize \varphi \iff \exists n. \textsf{...
Trebor's user avatar
  • 2,166
2 votes
2 answers
245 views

De Bruijn invented the first explicit substitution calculus in the 1970s. I saw this calculus in some article, but now I can't find it. Help me please.
George Cherevichenko's user avatar
-5 votes
1 answer
193 views

In "PRINCIPLES AND IMPLEMENTATION OF DEDUCTIVE PARSING" by STUART M. SHIEBER, YVES SCHABES, AND FERNANDO C. N. PEREIRA, they say "We present a system for generating parsers based ...
Ellis D Cooper's user avatar
1 vote
0 answers
161 views

I'm trying to understand exactly why it is that https://ncatlab.org/nlab/show/computational+trilogy states that quantification requires dependent types, and why this wouldn't be possible to achieve ...
shintuku's user avatar
  • 113
2 votes
1 answer
205 views

I happened to stumble upon this sequence. It defines the function $BB_{\lambda}(n)$, which is the maximum normal form size of any closed lambda term of size $n$. However, I noticed this sequence only ...
undefned's user avatar
2 votes
1 answer
209 views

Altenkirch wrote (in the unpublished draft α-conversion is easy): I leave it to the reader to show that (some natural translation function) preserves substitution, i.e. it maps substitutions on named ...
Pavel Shuhray's user avatar
1 vote
1 answer
144 views

In the untyped $\lambda$-calculus, are there terms $S$ and $T$ such that for any $n$ and any terms $t_1, \dotsc, t_n$, $$S(T(t_1)\dots(t_n)) \twoheadrightarrow_{\beta} t_1$$ Of course, if $n$ is fixed ...
provocateur's user avatar
6 votes
1 answer
377 views

Summary My question is about how (i) a certain presentation of pure type systems in the $\lambda$-cube, bears on (ii) a standard definition of consistency in pure type systems. In short, I'm ...
Spaceka13's user avatar
3 votes
1 answer
212 views

I'll try to describe the subject I am looking for literature on, or concept names that I can Google. For each $n \geq 1$, let $\mathbf{STLC}_n$ be the category where the objects are all simply typed ...
Johan Thiborg-Ericson's user avatar
1 vote
0 answers
139 views

Simply typed lambda calculus in one type variable in a Cartesian closed category $\mathbf{C}$ can be interpreted as a family of Cartesian closed functors (described below, do they have a name?) from ...
Johan Thiborg-Ericson's user avatar
1 vote
0 answers
94 views

To evaluate some typed lambda calculus applications, the type of the function might have to be "lifted" in order to match the type of the value it is applied to. For example, in the ...
Johan Thiborg-Ericson's user avatar
7 votes
1 answer
257 views

Let $\mathbf{C}$ be a Cartesian closed category. Then simply typed lambda calculus in $\mathbf{C}$ in one type variable can be interpreted as a category $\mathbf{STLC}_{\mathbf C}$ where the objects ...
Johan Thiborg-Ericson's user avatar
12 votes
2 answers
1k views

Crossposted on Mathematics SE I am an undergraduate mathematics student with a keen interest in pursuing research in the formalization of natural languages (from a more mathematical-logical approach),...
Heleyrine Brookvinth's user avatar
1 vote
0 answers
105 views

Let $\textbf{CART}$ be a category where the objects are all Cartesian closed categories (henceforth shortened as CCC). Is there any way to define the arrows so that $\textbf{CART}$ itself becomes ...
Johan Thiborg-Ericson's user avatar
2 votes
1 answer
222 views

I'm working with an idempotent semiring which contains elements $C_i, \hat{C_i}$ with the following properties: $$ {C}_i \hat{C_j} = 0 \quad\text{where}\quad i \neq j \quad\quad\quad\quad(\beta_0)$$ $$...
Łukasz Lew's user avatar
1 vote
0 answers
104 views

The set of untyped $\lambda$-terms is obviously context-free. But, according to Barendregt's paper Discriminating coded lambda terms (six lines before Theorem 1.5), the set of closed untyped $\lambda$...
Paul Blain Levy's user avatar
0 votes
0 answers
123 views

In appendix A1 of the homotopy type theory book by the Univalent Foundations Project, the authors give a formal presentation of Martin-Löf type theory in lambda calculus. However, they did not give ...
user avatar
3 votes
0 answers
186 views

Is there a possibility to get strong normalization for some kind of $\lambda$-calculus out of weak normalization with some other assumptions? For example: The term $(\lambda_y z)((\lambda_x xx)(\...
Zermelo-Fraenkel's user avatar
12 votes
2 answers
1k views

I am currently trying to find a proof for strong normalisation of an extension of $\lambda$-calculus. I've tried several approaches and one would be to assign an ordinal number $\operatorname{cs}(t)$ ...
Zermelo-Fraenkel's user avatar
8 votes
1 answer
300 views

In Plotkin's 'The $\lambda$-Calculus is $\omega$-Incomplete', an example is given of two (untyped) $\lambda$-terms $M$ and $N$ such that for each closed (untyped) $\lambda$-term $c$, $Mc$ and $Nc$ are ...
provocateur's user avatar
24 votes
2 answers
1k views

All the known bases of combinatory logic, such as $\{S,K\}$, or $\{K,W,B,C\}$, have one or more combinators using 3 variables: \begin{align*} S ={} & \lambda x\lambda y\lambda z. x z(y z), \\ B ={}...
John Tromp's user avatar
  • 1,834
5 votes
1 answer
313 views

This proof of Lawvere's fixed point theorem suggests (since it uses $\lambda$ notation) that it is written in the internal language of cartesian closed categories (which is the $\lambda$-calculus, as ...
user1005113's user avatar
1 vote
0 answers
120 views

To be precise, given a monoidal signature $S$ (i.e, a set of generating objects $O$ and morphisms with source and target taken in the free monoid over $O$) , we can generate the free Cartesian closed ...
FeralX's user avatar
  • 73
3 votes
0 answers
262 views

In Ralph Loader's lecture notes on lambda calculus (section 3.3), he states that a combinatorial proof of the SN of simply typed lambda calculus uses a technique that is "in essence that used by ...
Trebor's user avatar
  • 2,166
7 votes
1 answer
468 views

Pure type systems are characterized in an almost combinatorial way: a set of axioms $\star_i : \star_j$, and a set of triples $(\star_i, \star_j, \star_k)$ saying when the dependent product $\prod_{x :...
Trebor's user avatar
  • 2,166
1 vote
0 answers
275 views

Godel's system $T$ means different, although equivalent, things to different people. To people working in the traditon of mathematical logic, $T$ is a quantifier-free equational theory of arithmetic ...
Not_Here's user avatar
  • 482
7 votes
0 answers
207 views

The models of some computational calculi are in a correspondence with Cartesian Closed Categories with an object $U$ that has some relationship to its exponential object $U^U$ e.g. a retraction ...
alessio-b-zak's user avatar
0 votes
0 answers
129 views

In https://link.springer.com/content/pdf/10.1007/s10670-019-00128-z.pdf , page 16, the following clause is given for a modal operator $\langle R_k \rangle$ (see definition 4.2 for the definition of a ...
user65526's user avatar
  • 639
10 votes
0 answers
396 views

I stumbled upon "the geometry of quantum computation" --- to quote the abstract: Determining the quantum circuit complexity of a unitary operation is closely related to the problem of finding ...
Siddharth Bhat's user avatar
25 votes
0 answers
4k views

For Turing Machines, the question of halting behavior of small TMs has been well studied in the context of the Busy Beaver function, which maps n to the longest output or running time of any halting n ...
John Tromp's user avatar
  • 1,834
3 votes
0 answers
167 views

(crosspost from math stackexchange) While working through Barendreght's book on the Lambda Calculus, and Abramsky's notes on Domain Theory, I had the following realization: It's often stated that ...
Alex Appel's user avatar
4 votes
0 answers
150 views

The category CPO of cpos and continuous functions has a reflexive object, i.e. an object $A$ such that $A\times A\simeq A$ and $A\simeq A^A$. Since CPO has countable products, my question is whether ...
Steve K.'s user avatar
  • 111
1 vote
0 answers
84 views

Let $(X, {\sqsubset}, {\circ}, {\ast})$ be a set $X$ with a strict partial order $\sqsubset$ and two partial binary operations $\circ$ and $\ast$ such that for any $a, b, c \in X$: $a \circ b$ and $a \...
Anton Salikhmetov's user avatar
2 votes
0 answers
305 views

It is possible to interpret typed lambda calculus a-la Church as logical operations (because of Curry-Howard correspondence). Also, there is a isomorphism between logical and set-theoretic operations. ...
семен антонов's user avatar
13 votes
2 answers
4k views

It is well-known that the simply typed lambda calculus is strongly normalizing (for instance, Wikipedia). Hence, it is not strong enough to be Turing-complete, as also mentioned on the Wikipedia page ...
Mike Battaglia's user avatar
3 votes
0 answers
289 views

The lambda calculus is not upward confluent, counterexamples being known for a long time. Now, what about the interaction calculus? Specifically, I am looking for configurations $c_1$ and $c_2$ such ...
Anton Salikhmetov's user avatar
20 votes
1 answer
2k views

I${}^{*}$ have randomly come across a couple of websites (Chemlambda project, chorasimilarity) that seem to be about a certain "thing" (a computer program, I think) called Chemlambda that does "stuff" ...
Qfwfq's user avatar
  • 23.7k
23 votes
1 answer
1k views

In various places it is stated that the continuation monad can simulate all monads in some sense (see for example http://lambda1.jimpryor.net/manipulating_trees_with_monads/)) In particular, in http://...
user65526's user avatar
  • 639
3 votes
0 answers
173 views

Each topological space $A$ with fixed-point property is connected (all clopen subsets are trivial). This is an analog of Rice theorem (all decidable subsets are trivial). Suppose, we have a space $A$ ...
George Cherevichenko's user avatar
9 votes
0 answers
598 views

My question regards the Curry Howard Isomorphism and how it constrains models in the case of a particular logic. Consider quantified Lax Logic $QLL$. https://pdfs.semanticscholar.org/468e/...
user65526's user avatar
  • 639
2 votes
0 answers
206 views

I'm reading the book 'The lambda calculus its syntax and semantics'. In part 5, chapter 19: Local structure of Models, more specifically 19.2 Local structure of $D_\infty$, the notation $D_\infty \...
tpsp_lcs's user avatar
10 votes
0 answers
205 views

Every computable (total) function $f : \mathbb{N} \to \mathbb{N}$ is definable in untyped pure lambda calculus in the sense that there is a term $F$ such that, for every Church's numeral $c_n = \...
Valery Isaev's user avatar
  • 4,679
8 votes
1 answer
398 views

$\newcommand{\nat}{\mathbb{N}}$ $\newcommand{\then}{\ \Longrightarrow\ }$ A partial function $f : \mathbb{N} \to \mathbb{N}$ is said to be $\lambda$-definable if there is a term $F \in \Lambda$ such ...
Andrew Polonsky's user avatar
11 votes
3 answers
1k views

I've been reading Girard et al's 'Proofs and Types', which in Chapter 6 presents a proof of strong normalisation for the simply typed lambda calculus with products and base types. The proof is based ...
RAC's user avatar
  • 113
2 votes
1 answer
383 views

It's well known that the simply-typed lambda calculus corresponds to a cartesian closed category. How would substructural type systems be characterized in category theory? For example, linear type ...
C. Bednarz's user avatar
9 votes
2 answers
2k views

There are many sources cite that simply typed lambda calculus extended with fixed-point combinator is Turing complete. For example, Does there exist a Turing complete typed lambda calculus? or the ...
kittyphon's user avatar
  • 101
8 votes
3 answers
2k views

I just started reading "The calculi of lambda conversion" by Church. Church defines functions like: id x = x, and says the domain and range are understood to be as permissible as possible. ...
Polymer's user avatar
  • 191
5 votes
0 answers
262 views

Let $N$ be the standard full model of the simply typed lambda calculus with infinite base type $o$ and let $X$ be an infinite and coinfinite subset of $N(o)$. I want to know if there's a full ...
Andrew Bacon's user avatar
3 votes
0 answers
333 views

Roughly, the strong normalization property for Martin-Löf Intensional Type Theory (MITT) tells us that every closed term $t$ of type $M$ will eventually reach a canonical normal form $t’$ such that it ...
StudentType's user avatar
8 votes
1 answer
963 views

System U is an inconsistent PTS in that one has a term of type $\bot = \forall p\colon \ast \ldotp p$, and such a term is explicitly constructed in Hurkens' A Simplification of Girard's Paradox. One-...
H Koba's user avatar
  • 369