Question: Lambda calculus question: Define terms first , second , such that first N 1 , N 2 N 1 second N 1 , N 2

Lambda calculus question:

Define terms first , second , such that

first N1, N2 N1 second N1, N2 N2

Define terms swap and incsnd such that

swap N1, N2 N2, N1 incsnd N1, N2 N2, N2 + 1

Verify their correct functioning when applied to the pair 3, 1 . (Here, means reduction by any number of -steps, and N2 + 1 stands for succ N2 ).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!