Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 7.1. -Expression for Boolean Truth Values and Connectives. Consider: if b then c else a end. Think of c and a in if b

Exercise 7.1. -Expression for Boolean Truth Values and Connectives. Consider:

if b then c else a end. Think of c and a in if b then c else a end as a pair, or more generally, as a list and b as a selector into that list. If b is true then c is selected. If b is false then a is selected. This determines our representation of true and false in the -calculus.

T, true : x.y.x

F, false : x.y.y -calculus representation of the Boolean connectives are now suggested: ~ : x((xF)T)

: x.y.((xy)F)

: x.y.((xT)y) 1. Writing out T and F in full (i.e., as -expressions), show apply ~ to F to get T, and apply ~ to T to get F.

2. Writing out T and F in full apply to all four combinations of T and F and get what you expect.

3. Similarly for .

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

1583474013, 978-1583474013

More Books

Students also viewed these Databases questions

Question

=+ (c) Find a bounded negligible set that is not trifling.

Answered: 1 week ago

Question

8. Explain the difference between translation and interpretation.

Answered: 1 week ago

Question

10. Discuss the complexities of language policies.

Answered: 1 week ago

Question

1. Understand how verbal and nonverbal communication differ.

Answered: 1 week ago