Question: 2 [1.5 marks] Recall in lambda calculus, logic connectives NOT and OR can be defined as: where T (Ary | x) and F (Ary |
![2 [1.5 marks] Recall in lambda calculus, logic connectives NOT and](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f167fc4e28e_82766f167fbc4a1c.jpg)

2 [1.5 marks] Recall in lambda calculus, logic connectives NOT and OR can be defined as: where T (Ary | x) and F (Ary | y). y (or in some textbooks. x y or x-> y) In logic, that "x implies y" is written x Denote this function by IMP (a) Give a lambda expression that defines IMP, i.e., write what is missing at the right hand side of the vertical bar below IMP = (Ary ! ) Make sure that your answer is a normal form, 1.e., t cannot contain still reducible. expressions that are Hint: In logic, we know x y V y. (b) Using your definition, for each expression below, reduce it to a normal form. Here, the order of reduction is unimportant. 2 [1.5 marks] Recall in lambda calculus, logic connectives NOT and OR can be defined as: where T (Ary | x) and F (Ary | y). y (or in some textbooks. x y or x-> y) In logic, that "x implies y" is written x Denote this function by IMP (a) Give a lambda expression that defines IMP, i.e., write what is missing at the right hand side of the vertical bar below IMP = (Ary ! ) Make sure that your answer is a normal form, 1.e., t cannot contain still reducible. expressions that are Hint: In logic, we know x y V y. (b) Using your definition, for each expression below, reduce it to a normal form. Here, the order of reduction is unimportant
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
