Question: Question 4 ) [ 5 points ] By filling in the blanks in the knowledge base below, give facts / rules which introduce a relation
Question points By filling in the blanks in the knowledge base below, give factsrules which
introduce a relation subst. This relation has arity Given an old element ld a new element New, and
two lists and subst New Old, X Y holds if is the same list as except where every occurrence
of the old element Old in is replaced by an occurrence of the new element New in Y
KNOWLEDGE BASE
substdots,
substNew Old T T : substNew Old
EXAMPLE QUERIES
subst
Yes
subst
No
subst
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
