José A. Alonso · @Jose_A_Alonso
856 followers · 1817 posts · Server mathstodon.xyz
Counting Is Hard · @counting_is_hard
67 followers · 123 posts · Server mathstodon.xyz

Hindley and Seldin had an exercise that says to find two lambda terms P, Q which do not have β normal forms but PQ does.

It's not the hardest exercise once you have the idea of passing stuff around in the usual Ω fashion until you can shuffle a constant function onto the front, but I think it could be a fun challenge for a lazy afternoon.

My first attempt was
\[ P= (\lambda xy.y (\lambda x yz.z)(x x))(\lambda xy.y (\lambda x yz.z)(x x)) \] \[Q = (\lambda x y z. y (x x)z)(\lambda x y z. y (x x)z)\]

#lambdacalculus #codegolf

Last updated 1 year ago

José A. Alonso · @Jose_A_Alonso
744 followers · 1367 posts · Server mathstodon.xyz
hxameer :qed: · @xameer
198 followers · 5264 posts · Server mathstodon.xyz

If it β-reduces to 2 ≤ 1 in stlc , its type ought to be

#lambdacalculus

Last updated 1 year ago

hxameer :qed: · @xameer
193 followers · 5053 posts · Server mathstodon.xyz

IN λx.x(λy.y) x, y are Both x and y are bound and not free

#lambdacalculus

Last updated 1 year ago

José A. Alonso · @Jose_A_Alonso
693 followers · 1115 posts · Server mathstodon.xyz
Jon Awbrey · @Inquiry
165 followers · 970 posts · Server mathstodon.xyz

Propositions As Types • 1
inquiryintoinquiry.com/2013/01

One of my favorite mathematical tricks — it almost seems too tricky to be true — is the . Moreover, I see hints the 2-part analogy can be extended to a 3-part analogy, as follows.

\[\text{proof hint : proof : proposition ~::~ untyped term : typed term : type}\]

See my notes on for more information.
oeis.org/wiki/Propositions_As_

#typetheory #ProofTheory #lambdacalculus #CurryHowardIsomorphism #propositionsastypes #propositionsastypesanalogy

Last updated 2 years ago

Jevko 🌲 · @jevko
18 followers · 74 posts · Server layer8.space

Did you know you could use DNA to store your lambda calculus programs?

github.com/jevko/writing/blob/

#programming #lambdacalculus #dna

Last updated 2 years ago

nilesh · @nilesh
1 followers · 8 posts · Server mathstodon.xyz

I stumbled upon one guy proposing a new foundation for computer mathematics called "Abstraction logic". As a newbie, I found it far more more comprehensible than usual any material on intuitionistic type theory versions.

But there's no social proof of it.

Any of people who are willing to have a look to weight on it?

Links:
arxiv.org/pdf/2207.05610.pdf
youtu.be/LbFKSaPhBSA
obua.com/publications/philosop

#ProofTheory #automatedreasoning #mathematics #foundation #lambdacalculus #typetheory #logic

Last updated 2 years ago

Zelphir Kaltstahl · @zelphirkaltstahl
15 followers · 62 posts · Server mastodon.social

From time to time I become interested in lambda calculus again. Finally started to maintain a repository with notes about lambda calculus in it: notabug.org/ZelphirKaltstahl/l

It is not much yet, but maybe I will add more notes in the future.

#lambda #lambdacalculus

Last updated 2 years ago

tc · @cappallo
16 followers · 89 posts · Server mathstodon.xyz

Many people's vote for most construct in is \[e^{i\pi}+1=0 \].

Yeah, maybe. But I think a close contender (if you include the realm) is \[ \lambda b.\lambda e.eb \].

This serves as the complete encoding of in , driving home subtler points about and ordered pairs and the primacy of exponentiation over add/mult, both of which have uglier representations.

en.wikipedia.org/wiki/Lambda_c

#lc #mapping #function #lambdacalculus #exponentiation #church #cs #math #beautiful #functionalprogramming

Last updated 2 years ago

tc · @cappallo
14 followers · 51 posts · Server mathstodon.xyz

@jsiehler Man, I love ... and when I see expressions like this, it reminds me of my /#MUX days... languages feel so hacky to me now. 🙃

Here's an old implementation of factorial using more-or-less :

fact := k |-> k[p |-> p[a |-> b |-> g |-> g[f |-> x |-> f[a[f][x]]][f |-> a[b[f]] ]]][g |-> g[h |-> h][h |-> h]][a |-> b |-> b]

#lambdacalculus #procedural #code #mush #mathematica

Last updated 2 years ago

Wact B. Prot · @wactbprot
50 followers · 105 posts · Server functional.cafe

Inspired by @rosactrl background picture I once again took the guided
tour by Eric Normand

through the paper Can Programming Be Liberated from the von Neumann Style?

Reminded me of the question raised by @glebec in his (here again) recommended presentation

Especially this slide

#lambdacalculus #functionalcafe

Last updated 2 years ago

Jevko · @jevko
12 followers · 37 posts · Server layer8.space

Did you know that some unary encodings for numbers in lambda calculus have been worked out without the use of laughing gas?

xtao.org/blog/lambda-numbers.h

#lambda #calculus #lambdacalculus #encoding #numbers #unary

Last updated 2 years ago

Jeko · @jeko
236 followers · 2866 posts · Server framapiaf.org
Jevko · @jevko
12 followers · 37 posts · Server layer8.space
Antonio Hdez. Blas 🔵 · @nihilipster
105 followers · 264 posts · Server fosstodon.org

"A , after all, is not (and was never meant to be) a ! The is both a programming language in itself and the foundation of all other functional languages."

boarders.github.io/posts/halti

#programminglanguage #turingmachine #lambdacalculus #haskell

Last updated 4 years ago