Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Lambda calculus
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Definition === Lambda expressions are composed of: * variables ''v''<sub>1</sub>, ''v''<sub>2</sub>, ...; * the abstraction symbols λ (lambda) and . (dot); * parentheses (). The set of lambda expressions, {{math|Λ}}, can be [[Recursive definition|defined inductively]]: # If ''x'' is a variable, then {{math|''x'' ∈ Λ.}} # If ''x'' is a variable and {{math|''M'' ∈ Λ,}} then {{math|(λ''x''.''M'') ∈ Λ.}} # If {{math|''M'', ''N'' ∈ Λ,}} then {{math|(''M N'') ∈ Λ.}} Instances of rule 2 are known as ''abstractions'' and instances of rule 3 are known as ''applications''.<ref>{{Cite book|url= https://www.elsevier.com/books/the-lambda-calculus/barendregt/978-0-444-87508-2|last1=Barendregt|first1=Hendrik Pieter|author1-link=Henk Barendregt|title=The Lambda Calculus: Its Syntax and Semantics|publisher=North Holland|year=1984|volume=103|series=Studies in Logic and the Foundations of Mathematics|edition=Revised|isbn=0-444-87508-5}} ([https://ftp.science.ru.nl/CSI/CompMath.Found/ErrataLCalculus.pdf Corrections]).</ref> ''See [[#redex|§ reducible expression]]'' This set of rules may be written in [[Backus–Naur form]] as: <syntaxhighlight lang="bnf"> <expression> ::= <abstraction> | <application> | <variable> <abstraction> ::= λ <variable> . <expression> <application> ::= ( <expression> <expression> ) <variable> ::= v1 | v2 | ... </syntaxhighlight>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)