Predicate logic builds up from propositional logic by introducing quantifiers and predicate-subject statements. It allows defining a domain or set that elements belong to, and create logical statements using those elements
Predicate logic consists of:
- Predicates
- Logical Quantifiers
- Terms, which include:
- Functions
- Variables
- Constants
Predicates
See Predicate
Terms
See Term
Logical Quantifiers
Converting Natural Language to Predicate Logic
- Identify parts of speech (nouns, verbs, adjectives, etc. )
- Map:
- Proper nouns to constants (“Rhonda”, “Paris”, etc.)
- Verbs (along with any adverbs or adjectives) to predicates (“Is mortal”, “runs quickly”)
- Relative clauses to functions (“(something) of”,“child of”)
- Indefinite pronouns & improper nouns to variables (“human”, “thing”)
- Connect Quantifying words to logical quantifiers:
- Every/all to universal quantifier (). Also nouns in plural ‘humans are mortal’ implies every human is mortal.
- ‘Some’, ‘there exists’ to existential quantifier ()
%%🖋 Edit in Excalidraw, and the dark exported image%%
Some examples: