How to define arithmetic operations using church numerals

Assignment Help Mathematics
Reference no: EM132325337

Assignment

1. Different notions of normal form have been discussed in the literature, including the full normal form (or simply normal form) and weak head normal form.

a. What is the difference between a term having a normal form and being a normal form? Write down some example terms.

A term has a normal form when there are still redexes possbile through reduction. A term such as λabc.(( λx.a(λy.xy))b c ) for example can still be normalized.

When a term is in normal form, that means thare are no redexes left for it. Going with the example I mentioned above, λabc.(a(λy.by)c) for example, would be in normal form since there are no further redexes left for the term.

b. If a closed term is a weak head normal form, it has to be an abstraction "λx.M". Why?

c. Indicate whether the following λ-terms have a normal form:

-- (λx.(λy.yx)z)v

-- (λx.xxy)(λx.xxy)

d. Show that the term Ω = (λx.xx)(λx.xx) does not have a normal form. Find a term different from Ω that is not normalizing (i.e., a term such that every reduction sequence starting from it is infinite).

2. It has been shown how to define arithmetic operations using Church numerals.

a. Check that the term ADD = λxyab.(xa)(yab) behaves like the addition function; that is, show that when we apply ADD to two Church numerals, the Church numeral representing their sum is obtained. Hint: Reduce the term (λx.λy.λa.λb.(xa)(yab)nm.

b. Show that the λ-term MULT = λx.λy.λz.x(yz) applied to two Church numerals m and n computes their product m x n.

c. Which arithmetic operation does the term λn.λm.m (MULT n)1 compute?

3. Compute the normal forms of the following terms (Where I = λx.x and K = λxy.x):

a. λy.(λx.x)y


b. λy.y(λx.x)

c. II

d. KI

e. KKK

Reference no: EM132325337

Questions Cloud

Discuss the leadership and management strengths : Assignment 1: Contemporary Educational Management. Discuss the leadership and management strengths of your Principal or HOD or Manager
Evaluate and describe your personal learning style : BSBLED503-Maintain and enhance professional practice-Victoria University-Australia-Evaluate the skills you have that match the organisation’s goals.
What is responsible for experts superior performance : Are experts better at solving problems than non-experts? If so, what is responsible for experts' superior performance? Is their superiority general or limited.
What are the characteristics of communication : Purpose of this paper is to articulate your development as a leader from a Christian worldview. Paper must be 2,500-2,700 words and be APA formatted.
How to define arithmetic operations using church numerals : Different notions of normal form have been discussed in the literature, including the full normal form (or simply normal form) and weak head normal form.
What steps you can take to overcome challenges : Elaborate on specific areas that you anticipate to be a challenge in developing a portfolio and what steps you can take to overcome those challenges.
How specifics will be applied in your degree : You have covered a lot in these past eight weeks. Your new-found ability to impact others through coaching is now a tangible tool you can use.
How government insurers impact actual reimbursement : Write a 750-1,000 word synopsis describing the different types of payment that are taken for health care. Describe how private and government insurers.
Define a problem on the dataset : CISC520 Data Engineering and Mining-Harrisburg University of Science & Technology-US-Define a problem on the dataset and describe it.

Reviews

Write a Review

Mathematics Questions & Answers

  Problem related to choosing programming languages

There are 2504 computer science students at a school. Of these, 1876 have taken a course in Java, 999 have taken a course in Linux, and 345 have taken a course.

  Evaluate the manufacturing capacity operating rate

The operating rate (expressed as a percent) of factories, mines, and utilities in a certain region of the country on the tth day of 2008 is given.

  Process of predicting future conditions

Forecasting is a process of predicting future conditions, that will influence and guide the activities, behavior and performance of the organization. What are some of the forecasting techniques organizations may utilize?

  Write down the required elementary matrices

In given statements, write down the required elementary matrices, When I is the 3 × 3 unit matrix, write down E12, E2(3), and E12(6).

  What are three suggestions for caregivers of patients

As a MA, how can caregivers be supported and involved as part of the patient's care team? What are three suggestions for caregivers of patients with Alzheimer's

  Which values of x will cause this series to converge

a) The function has Taylor Series (a=0) of 1+x+x^2+x^3+x^4 Which values of x will cause this series to converge?

  Describe the path of the particle

A particle has position function r(t). If r'(t)=c x r(t), where c is a constant vector, describe the path of the particle.

  How fast is the length of her shadow increasing

How fast is the length of her shadow increasing?

  Linearly independent or linearly dependent

In the following case, state if the following set of vectors are linearly independent or linearly dependent. Justify your answer.

  Discuss key issues in benefit planning

Identify and discuss key issues in benefit planning, design, and administration. Be certain to discuss the four major administrative issues that arise on setting up a benefit package.

  Write the equation of the tangent lines

The graph of x^2 + y^2 =100 is a circle having center at the origin and radius 10.

  Describe anything that makes the graphs hard to read

How many states considered legislation to allow self-driving cars and how many fatalities were there per 100 million miles traveled?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd