CS245 Lecture : Assignment #3 + Solution Winter 2009
Document Summary
Due: thu 5 feb 2009 10am in the cs245 drop boxes. There may be multiple correct answers to some of these questions: (10 marks) formalization in predicate logic (a) (6 marks) express each of the following sentences as a predicate logic formula. Do not use sets. (b) (4 marks) redo your formalizations of part (a) with appropriate types. For both parts, choose meaningful names for your predicates, constants, types, and functions. If the meaning of your identi ers is not obvious, show the. 1: there is only one canadian whose age is greater than 115. X canadian(x) (age(x) > 115) y canadian(y) (age(y) > 115) (x = y: an mvp is a player who scores more goals than any other player. Y mvp(y) player(y) x player(x) (x = y) goals(y) > goals(x) With types: there is only one canadian whose age is greater than 115.