More Logic Exercises-Answers
More Logic Exercises-Answers
More Logic Exercises-Answers
1. Convert the following to standard predicate logic using the predicates indicated
Paper_clip x comes_in x y made_of x y Metal x ductile x Conduction x has_quality x y well x poorly x Box x
2. Convert the following to standard predicate logic using the predicates indicated
Swimming_pool x Large x Noisy x (for quiet use Noisy x) Steamy x Unpleasant x Place x
All noisy and steam places except swimming pools are unpleasant
x Noisy x Steamy x Swimming_pool x Unpleasant x
3. Convert the following to standard predicate logic using the predicates indicated
Person x Femur x Sinus_rhythm x Eye x
90323489.doc
14/03/2001 02:10:00 PM
3.4 3.5
4. Convert the following to standard predicate logic using the predicates indicated
Patient x has x Heart_attack x Cholesterol x High x level x y Murmur x Ventricle x Valve x at_risk_of x y Normal x
All patients who have high cholesterol are at risk of heart attack
x y . Patient x Cholesterol y High y has x y ( z . Heart_attack z at_risk_of x z)
4.6
90323489.doc
14/03/2001 02:10:00 PM
5. Convert the following to standard predicate logic using the predicates indicated
Person x Child x parent x y Male x Female x ancestor x y sibling x y
All people have one male parent and one female parent
x . Person x ( y z . Person y Male y parent y x Person z Female z parent z x)
5.4 Ancestors of a person are defined as the persons parents or the persons parents ancestors.
x y . Person y (ancestor x y (parent x y ( z . parent z y ancestor x z)))
5.5
One child is a sibling of another if they both have the same two parents
x y . Child x Child y ( z w . z w Parent z x Parent z y Parent w x Parent w y) Sibling x y
90323489.doc
14/03/2001 02:10:00 PM