Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8030791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:53:02+00:00 2026-06-05T00:53:02+00:00

Recall that the K combinator is a constant function. It always returns its first

  • 0

Recall that the K combinator is a constant function. It always returns its first argument:

Kxy = x for all y

In the book To Mock a Mockingbird the author presents an example of an enchanted forest containing talking birds. The birds have behavior:

Given any birds A and B, if you call out the name of B to A, then A will respond by calling out the name of some bird to you: this bird we will designate by AB.

Suppose the forest consists of three birds, A, B, and C. Is it possible for at least one of the birds to behave like the K combinator?

Below is a table that shows one possible set of behaviors for the birds in the enchanted forest. The first column has the name of each bird in the forest. The top row has the names that may be called out to each bird. The body is the response of a bird to a name. For example, if you call out the name of A to bird A, then bird A will respond with C (see row 2, column 2). Succinctly, AA = C. If you call out the name of B to bird A, then bird A will respond with B (see row 2, column 3). Succinctly, AB = B. What value should go into the empty slot for AC?

   | A    B    C
------------------
A  | C    B
B  | B    B    B
C  | A    A    A

Let’s see if we can make bird A behave like the K combinator. The above set of values look promising:

  • AA = C and Cy = A for all y. That is, (AA)y = A for all y.

  • AB = B and By = B for all y. That is, (AB)y = B for all y.

What value should be placed in the empty slot (AC)? Consider all the cases:

  • If AC = A then the value of Ay must be C for all y, which is clearly
    false. Therefore A cannot be the correct value for the empty slot.

  • If AC = B then the value of By must be C for all y, which is clearly
    false. Therefore B cannot be the correct value for the empty slot.

  • If AC = C then the value of Cy must be C for all y, which is clearly
    false. Therefore C cannot be the correct value for the empty slot.

Therefore no value can be placed in the empty slot to satisfy the condition (AC)y = C, for every y.

As far as I can tell, it is impossible to make any bird behave like a K combinator. I hope you will prove me wrong.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:53:03+00:00Added an answer on June 5, 2026 at 12:53 am

    I like Judge Mental’s answer, so for those who are having problems getting it, I’ll spell it out more.


    Let G be the set of all functions.

    Let F be a subset G such that |F| > 1 and ∀f ∈ F (f : F → F). (F is your set of birds.)

    Let 1F be the identity function of F.

    Suppose for a contradiction that there ∃k ∈ F (∀(f,g) ∈ (F×F) (kfg = f)). Fix such a k. In other words, ∀f ∈ F (kf is constant). By definition, ∀f ∈ F (kkf = k). So ∀f ∈ F (kf = 1F because k has a left inverse by Lemma below). Thus we have ∀f ∈ F (kf is constant and kf = 1F), which is clearly absurd because |F| > 1.

    Lemma:
    Let (f,g) ∈ (F×F) such that kf = kg. By definition of k, ∀h ∈ F (kfh = f). So ∀h ∈ F (f = kfh = (kf)h = (kg)h = kgh = g). This can only happen if f = g. Thus k injective. Thus k must have a left inverse.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When the iPad first came out, I recall that Apple frowned upon the use
I recall when I first read Pragmatic Programmer that they suggested using scripting languages
I recall that one should always avoid using recursive method calls in Java .
I recall having read somewhere that it is better (in terms of performance) to
I recall in Oracle it is possible to index based on a function, e.g.
Is there a function in numpy that determines whether strings should be integers or
My memory is fuzzy but I seem to recall that Windows Vista introduced an
I recall that there was this one method that could piece together an image,
I seem to recall that there is an HTML tag that escapes absolutely everything
I seem to recall that after the publicized privacy concern with Facebook Apps and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.