An Example of First-order Predicate Calculus


The following are logical statements in English: A possible translation of these statements into first-order predicate calculus is as follows:
   mammal( horse ).
   mammal( human ).
     for all x, mammal( x )
   → legs(x, 4) and arms(x, 0) or legs(x, 2) and arms(x, 2).
   arms( horse, 0).
   not arms( human, 0 ).
   legs( human, 0 ).
In this example,