Converting Natural Language Statements to First-Order Logic: “All men are mortal. Socrates is a man.”
Converting Natural Language Statements to First-Order Logic: “All men are mortal. Socrates is a man.”
To convert a natural-language sentence into first-order logic (FOL), you (1) choose a domain of discourse, (2) pick predicates for the relevant properties, and (3) use quantifiers (especially for “all”) to match the sentence structure.
For the statements:
- “All men are mortal.”
- “Socrates is a man.”
A standard FOL setup uses:
- Domain: all individuals (e.g., people/objects of the relevant universe).
- Predicates: and .
- Constant: (or specifically “Socrates”) to denote the particular individual Socrates.
Then the translation is:
- “All men are mortal.”
- “Socrates is a man.”
This is the typical meaning-preserving formalization: any individual that is a man must also be mortal, and Socrates (a specific constant) is asserted to be a man.
Key keyword concepts: predicates, constants, quantifiers, implication.
First-Order Logic (FOL) Translation: Quantifiers and Predicates
Pro Tip: Map grammar to logic
For FOL translations, “all” usually means a universal quantifier , while “is” often becomes either predicate application (e.g., ) or part of an implication (e.g., ).
Step-by-step FOL conversion for the given statements
- 1Step 1
Let the domain be all individuals you are talking about (commonly, all people).
- 2Step 2
Use Man(x) for “x is a man” and Mortal(x) for “x is mortal.”
- 3Step 3
Let be a constant symbol meaning “Socrates.” Then “Socrates is a man” becomes Man(s).
- 4Step 4
Use to cover all individuals . Then “All men are mortal” becomes: .
- 5Step 5
The full set of translations is: and .
Final First-Order Logic (FOL) representation
Let:
- = “ is a man”
- = “ is mortal”
- = “Socrates” (a constant)
Then:
-
All men are mortal
-
Socrates is a man
Together (as a set of premises / conjunction), you can write:
Important keyword and keyword use is exactly what matches “all.”
Common mistake: using ∃ instead of ∀
Do not translate “All men are mortal” as . That would mean “there exists a man who is mortal,” which is weaker than “every man is mortal.”
| English | FOL form |
|---|---|
| All men are mortal | |
| Socrates is a man |
Translation workflow
Vocabulary
1Extract predicates and constants: , , and ."
Quantifiers
2Use for “all”."
Connectives
3Use for “All A are B” (A→B)."
Write final formulas
4Output and ."
Quick checks and edge cases
Knowledge Check
Which FOL formula best represents: “All men are mortal.”