Predicate Logic Flashcards

1
Q

What is predicate logic?

A

Logic that builds heavily upon the ideas of proposition logic to provide more

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What do predicate logic consists of?

A

Predicates + Logical connective + Quantifies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a predicate?

A

A statement containing variables that describes a property of a thing or a relationship between things

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which is the subject and predicate in the sentence: Aquaman is a movie

A

Subject: Aquaman
Predicate: is a movie

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which is the subject/object and predicate in the sentence: Smith hates Cats

A

Subject/Object: Smith, Cats
Predicate: hates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the structure of a predication?

A

It starts with a predicate followed by a set of arguments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Give the predication if the proposition is: Aquaman is a movie

A

Movie(Aquaman) or M(a)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Give the predication if the proposition is: Smith hates Cats

A

Hates(Smith, Cats) or H(s,c)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are arguments in predicate logic?

A

The letters or variables in the bracket

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are individual variables in predicate logic?

A

Single letters such as x, y and z in an argument with any value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a statement in predicate logic?

A

The predicate and argument together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are individual constants in predicate logic?

A

Single letters representing specific entities (subject/object) in a predication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Individual variables vs Individual constants

A

Individual variables doesn’t have a constant reference to a specific entity. They can take any value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

When does a predication become a proporsition?

A

When the variables are assigned to specific values, resulting true or false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are logical connectives?

A

Connectives that combine predicates together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Examples of logical connectives

A

if, and, then, not, or, either or, if and only if…

17
Q

Examples of quantifiers

A

some, no one, any, all, at least

18
Q

What are the 2 types of quantifiers?

A

Existential and Universal

19
Q

Existential quantifiers

A

∃ meaning at least one member

20
Q

Universal quantifiers

A

∀ meaning all members

21
Q

How would you write “There is at least one employee who is a programmer”

A

∃ e ∈ Emp: Programmer(e)

22
Q

What’s the literal translation for “∃ e ∈ Emp: Programmer(e)”

A

at least one
employee
is an element/member of
set of employees
such that
employee is a programmer

23
Q

Other ways to write “∃ e ∈ Emp: Programmer(e)”

A

There exists an employee, “e”, such that “e” is a programmer OR Some employees are a programmer

24
Q

How would you write “Every student is at
least 18 years old”

A

∀ s ∈ Stud: Age(S)>=18

25
Q

What’s the literal translation for “∀ s ∈ Stud: Age(s)>=18”

A

Every
student
is an element/member of
the set of students
such that
student is >= 18