First-Order Logic

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/12

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

13 Terms

1
New cards

First-Order Logic (FOL): What it Models

First-Order Logic (FOL) models: 1) Objects (individual entities with distinct identities). 2) Properties (attributes that distinguish objects). 3) Relations (connections that hold among sets of objects). 4) Functions (a special type of relation where each input maps to a single output value). 5) Quantifiers (∀ for "all", ∃ for "exists") to make statements about groups of objects.

2
New cards

FOL: Constant Symbols

Constant Symbols in FOL represent specific, named individual objects in the domain. Examples: Mary, 3, Green, London. They are the formal analogs of proper nouns or specific values.

3
New cards

FOL: Function Symbols

Function Symbols represent mappings from objects to objects. They take one or more terms (constants, variables, or other function results) as arguments and return a single object. Examples: father-of(Mary), color-of(Grass), plus(2,3).

4
New cards

FOL: Predicate Symbols

Predicate Symbols represent relations or properties that can be true or false of objects. They take one or more terms as arguments and denote a statement. Examples: Greater(5,3) (a relation), Green(Grass) (a property), Color(Grass, Green) (a relation).

5
New cards

Term in FOL

A Term in FOL is defined recursively: 1) A constant symbol is a term. 2) A variable symbol is a term. 3) If f is an n-place function symbol and t₁, …, tₙ are terms, then f(t₁, …, tₙ) is a term. Terms denote objects in the domain. Example: father-of(father-of(John)).

6
New cards

Atomic Sentence in FOL

An Atomic Sentence (or atomic formula) is formed by applying an n-place predicate symbol to n terms. It represents a basic fact that can be true or false. Examples: Greater(5,3), Sibling(John, Mary), Color(Grass, Green). It is the FOL analog of a propositional symbol.

7
New cards

Complex Sentence in FOL

A Complex Sentence is formed by combining atomic sentences (or other complex sentences) using logical connectives:

8
New cards

(not), ∧ (and), ∨ (or), ⇒ (implies), ⇔ (iff). Example: *Sibling(John, Mary) ∧

9
New cards

Sibling(John, Alice)*.

10
New cards

Quantified Sentence in FOL

A Quantified Sentence contains a quantifier (∀ or ∃) applied to a variable in a formula. Universal Quantification (∀x): "For all x, …". Existential Quantification (∃x): "There exists an x such that …". Example: ∀x (Cat(x) ⇒ Mammal(x)). The variable bound by the quantifier is called a bound variable.

11
New cards

Well-Formed Formula (WFF) in FOL

A Well-Formed Formula (WFF) in FOL is a syntactically correct sentence where every variable is either: 1) Bound by a quantifier within the formula, or 2) Appears as an argument in a function or predicate but is introduced in a properly quantified context. A sentence with no free variables (unquantified variables) is a closed formula.

12
New cards

Universal Quantifier (∀)

The Universal Quantifier (∀x) φ(x) asserts that the formula φ holds for every object x in the domain. Example: ∀x (Student(x) ⇒ HasID(x)) means "Every student has an ID." It is logically equivalent to a conjunction over all domain objects.

13
New cards

Existential Quantifier (∃)

The Existential Quantifier (∃x) φ(x) asserts that there exists at least one object x in the domain for which φ(x) is true. Example: ∃x (Student(x) ∧ TopGrade(x)) means "There is a student who has a top grade." It is logically equivalent to a disjunction over all domain objects.