Description of First-Order Logic (FOL)
First-Order Logic (FOL) is an extension of propositional logic that enhances its expressive capability by incorporating variables, quantifiers, predicates, constants, and functions. Here are the key components of FOL:
- Variables: Represent objects in the domain (e.g., x, y).
- Quantifiers:
- Universal Quantifier (โx): Indicates that a property holds for all elements in the domain.
- Existential Quantifier (โx): States that there exists at least one element in the domain for which the property holds.
- Predicates: Describe properties of objects or relationships between them (e.g., Loves(x, y)).
- Functions and Constants: Allow more complex expressions.
Key Examples:
- An example of a universal quantifier: โx (Human(x) โ Mortal(x)) - This reads as