Activity 3
Write definitions of the outputs of the programs
noOnString(P,I)
,
noOnSelf(P)
(similar to the
yesOnString
example from page 34).
If the programs
noOnSelf
and
notYesOnSelf
existed, would they be equivalent programs?
Can
noOnSelf
exist? If it cannot, prove it. If it can, write it!
Exercise 3.3