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
Combinatory logic
(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!
==== 畏-reduction ==== The combinators generated by the ''T''[ ] transformation can be made smaller if we take into account the ''畏-reduction'' rule: :''T''[''位x''.(''E'' ''x'')] = ''T''[''E''] (if ''x'' is not free in ''E'') ''位x''.(''E'' x) is the function which takes an argument, ''x'', and applies the function ''E'' to it; this is extensionally equal to the function ''E'' itself. It is therefore sufficient to convert ''E'' to combinatorial form. Taking this simplification into account, the example above becomes: :{{spaces|2}}''T''[''位x''.''位y''.(''y'' ''x'')] := ... := ('''S''' ('''K''' ('''S I''')) ''T''[''位x''.('''K''' ''x'')]) := ('''S''' ('''K''' ('''S I''')) '''K''') (by 畏-reduction) This combinator is equivalent to the earlier, longer one: :{{spaces|2}}('''S''' ('''K''' ('''S I''')) '''K''' ''x y'') := ('''K''' ('''S I''') ''x'' ('''K''' ''x'') ''y'') := ('''S I''' ('''K''' ''x'') ''y'') := ('''I''' ''y'' ('''K''' ''x y'')) := (''y'' ('''K''' ''x y'')) := (''y x'') Similarly, the original version of the ''T''[ ] transformation transformed the identity function ''位f''.''位x''.(''f'' ''x'') into ('''S''' ('''S''' ('''K S''') ('''S''' ('''K K''') '''I''')) ('''K I''')). With the 畏-reduction rule, ''位f''.''位x''.(''f'' ''x'') is transformed into '''I'''.
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)