4. First-Order Logic Flashcards

1
Q

Whats the definition of a well formed term for first-order logic?

A

The smallest set such that

  • variable v in V is a term
  • if f in F has arity n and t1, … tn are terms, so is f(t1, …, tn)

Where:

  • V is a countably infinite set of variables
  • F is a finite/countably infinite set of function letters each with an arity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a constant in first order logic?

A

A function with an arity of zero

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

What is the definition for a wff in first-order logic?

A

The smallest set such that

  • if A in P has arity n and t1, …, tn are terms then A(t1, …, tn) is a wff
  • if P and Q are wff, so are ¬P, P ∨ Q, P ∧ Q, P → Q, P ↔ Q
  • if P is a wff, so are ∃x. P and ∀x. P for any x in V

where P is a countable infinite set of predicates each with an arity

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

Whats the binding strength or ∀, ∃?

A

Weaker than any of the propositional connectives

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

What is a bound variable (FOL)?

A

A variable x in formula P is bound if its within the scope of a quantifier

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

What is a free variable (FOL)?

A

A variable that is not bound

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

What does P[s/x] mean?

A

The formula obtained by substituting s for all free occurrences of x in P

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

How can a relation r(x, y) be represented as a function in FOL?

A

f_r(x) = {y | r(x, y)}

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