1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Juli2301 [7.4K]
3 years ago
8

What is 2 + 2? Its kinda important. for a very important school project.

Mathematics
2 answers:
Agata [3.3K]3 years ago
5 0

I do not know how to solve this incredibly difficult question. The complexity rivals those of the millennial problems. Instead, I’ll let reddit user u/sellopou speak his words.

Take a computational approach to the problem. Specifically, consider the encoding of natural numbers in the simply-typed lambda calculus called Church numerals. In this encoding, the number 2 is represented by a function that looks like this:

2 ≡ λf.λx.f (f x)  

In other words, the number two is a function that takes a function and some value (let's assume that we're comfortable with currying here), and applies the function twice to the value. In general, a number n is represented by a function that takes a function and some value and applies f to the value n times.

Using the Church encoding, you can define operations on the numbers as well. In this case, you're interested in plus, which takes two numbers and returns a number

plus ≡ λm.λn.λf.λx.???  

So what's in the body? Well, the body has to be n + m applications of f to the value x. If we pass f and x to n, we get n applications–call that r, and if we apply m to f and r, that'll be m + n applications of f:

plus ≡ λm.λn.λf.λx.m f (n f x)  

So the expression 2 + 2 using this encoding is:

plus 2 2 ≡ (λm.λn.λf.λx.m f (n f x)) (λf.λx.f (f x)) (λf.λx.f (f x))  

Now β-reduce until you get the result:

plus 2 2 ≡ (λm.λn.λf.λx.m f (n f x)) (λf.λx.f (f x)) (λf.λx.f (f x))  

        ↦ (λn.λf.λx.(λf.λx.f (f x)) f (n f x)) (λf.λx.f (f x))  

        ↦ (λf.λx.(λf.λx.f (f x)) f ((λf.λx.f (f x)) f x))  

        ↦ (λf.λx.(λx.f (f x)) ((λf.λx.f (f x)) f x))  

        ↦ (λf.λx.(λx.f (f x)) ((λx.f (f x)) x))  

        ↦ (λf.λx.(λx.f (f x)) (f (f x)))  

        ↦ (λf.λx.f (f (f (f x))))  

        ≡ 4.  

But now, let's bust out of this theoretical prison and say we have a number 0 in some representation that we can actually work with, as well as a function add1 that knows how to increment a number in that representation. Well, then we can get a useable representation out of our church numeral, by applying to the numeral to add1 and the value:

4 add1 0 = 4  

vladimir1956 [14]3 years ago
4 0
I mean you could know this but 2+2 is 4 you add two and two and get four.
You might be interested in
What can you conclude about the tangent lines and the diameter of a circle?
svetlana [45]

Answer:

B. perpendicular Hope this helps!

6 0
3 years ago
Write down a pair of integer whose sum is -6
Wittaler [7]
0 , -6 
6 , -12 
4 , -10 
-3 , -3 
These are the ones i could think of now 
8 0
3 years ago
In which of the expressions below will x = 3? Select all that apply.
Westkost [7]

Answer: b

Step-by-step explanation: 19 x 3 = 57 & 12 x 3= 36 so subtract 57 and 36 that’s going to give you 21 & 21 plus 6 is 27

7 0
3 years ago
What is the percent increase between 8,863,052 and 9,149,840?
kvasek [131]

Answer:

increase = 9149840 - 8863052 \\  = 286788 \\ \% \: increase =  \frac{286788}{8863052}  \times 100\% \\  = 3.24\%

4 0
3 years ago
Read 2 more answers
18/-3 please solve this
butalik [34]

Answer:

-6

Step-by-step explanation:

4 0
3 years ago
Other questions:
  • Find the lateral area the regular pyramid.
    13·2 answers
  • Evaluate the function rule for the given value. f(x)=3^x for x=-5
    10·1 answer
  • Determine the rate of change fr -2y- 16x=41
    12·1 answer
  • 15. Find the length of segment DE of the triangle ABC.
    9·1 answer
  • Simplify.<br><br> −1/2x+3−4x+5+3/2x<br><br> (the -1/2 and 3/2 are fractions)
    5·1 answer
  • one vertex of a polygon is located at (3,-2). After a rotation, the vertex is located at (2,3). which transformations could have
    5·2 answers
  • Which will result in a perfect square trimonial
    9·1 answer
  • Find the total surface area of the shape
    12·1 answer
  • 6 x 2 1/5 estimated please hurry
    7·2 answers
  • A farmer has 1,275 seeds. He plants them all in 15 equal rows. A crow comes and eats 5 seeds from each now. How many seeds are l
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!