Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

(Additional problem #4) Were working in first-order logic again. W

Rating
-
Sold
-
Pages
1
Grade
A
Uploaded on
26-06-2023
Written in
2022/2023

(Additional problem #4) We're working in first-order logic again. We use only quantifiers (V,d). boolean connectives , Boolean connective , variables (x, y, z, and so on), and the following list of symbols and relations. You can assume that all variables represent integers. (You may want to review Section 1.4.) O(x): x is odd P(x): x is prime = x | ("divides") Why does the statement P(x) have no truth value? Why is Ungrammatical? What is the difference between and Write each of these as a sentence in English and explain why they do not have the same meaning. Solution (a) P(x): x is prime P(x) is a predicate and not a proposition or statement.The truth of a predicate depends on the value assigned to its variables.The predicate would have had a truth value is we had given some values to x. Given a predicate P(x), the statement “for some x, P(x)” (or “there is some x such that p(x)”), represented “x P(x)”, has a denite truth value, so it is a proposition in the usual sense. (b) (x)(xO(x)) The English transformation of this statement is "For all x, x belongs to x is odd". The construction should have been "For all x, x is odd" , hence the statement would be (x)(O(x)) (c)(x)(y)(y|x) This statement means "For all x , there exists some y such that y divides x" (y)(x)(y|x) This statement means "There exist some y such that for all x, y divides x" There is a basic difference between the two statements.The first one says that every x has some factor y which is different for different x values, while the second statement says that y is a universal factor of all x , that is why it divides all x.

Show more Read less
Institution
Course

Content preview

(Additional problem #4) We\'re working in first-order logic again. We use only quantifiers
(V,d). boolean connectives , Boolean connective , variables (x, y, z, and so on), and the
following list of symbols and relations. You can assume that all variables represent integers.
(You may want to review Section 1.4.) O(x): x is odd P(x): x is prime = x | (\"divides\") Why
does the statement P(x) have no truth value? Why is Ungrammatical? What is the difference
between and Write each of these as a sentence in English and explain why they do not have the
same meaning.


Solution


(a) P(x): x is prime
P(x) is a predicate and not a proposition or statement.The truth of a predicate depends on the
value assigned to its variables.The predicate would have had a truth value is we had given some
values to x. Given a predicate P(x), the statement “for some x, P(x)” (or “there is some x such
that p(x)”), represented “x P(x)”, has a denite truth value, so it is a proposition in the usual sense.
(b) (x)(xO(x))
The English transformation of this statement is \"For all x, x belongs to x is odd\". The
construction should have been \"For all x, x is odd\" , hence the statement would be
(x)(O(x))
(c)(x)(y)(y|x)
This statement means \"For all x , there exists some y such that y divides x\"
(y)(x)(y|x)
This statement means \"There exist some y such that for all x, y divides x\"
There is a basic difference between the two statements.The first one says that every x has some
factor y which is different for different x values, while the second statement says that y is a
universal factor of all x , that is why it divides all x.

Written for

Course

Document information

Uploaded on
June 26, 2023
Number of pages
1
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.39
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
meejuhaszjasmynspe52866

Get to know the seller

Seller avatar
meejuhaszjasmynspe52866 Self
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
338
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions