This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
teaching:is:ind-solutions [2020/06/24 16:48] Franconi Enrico [12.6] |
teaching:is:ind-solutions [2020/06/24 17:11] (current) Franconi Enrico [12.9] |
||
---|---|---|---|
Line 142: | Line 142: | ||
| | ||
| | ||
- | yes(r11) ⇐ | + | yes(r111) ⇐ |
===== 12.8 ===== | ===== 12.8 ===== | ||
+ | |||
+ | (a) | ||
+ | f(X, | ||
+ | |||
+ | |||
+ | (b) | ||
+ | yes(c(l, | ||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | append(c(l, | ||
+ | | ||
===== 12.9 ===== | ===== 12.9 ===== | ||
+ | |||
+ | (a) | ||
+ | {Z/ | ||
+ | |||
+ | (b) | ||
+ | {W/ | ||
+ | |||
+ | < | ||
+ | |||
+ | {P/ | ||
===== 12.14 ===== | ===== 12.14 ===== | ||
+ | (a) Here is a top-down derivation: | ||
+ | |||
+ | yes(Y) ⇐ adj(b, | ||
+ | choose clause 3, with { A/ | ||
+ | | ||
+ | yes(Y) ⇐ ap(F1, | ||
+ | choose clause 2, under | ||
+ | { F1/ | ||
+ | | ||
+ | yes(Y) ⇐ ap(T2, | ||
+ | choose clause 1 under { T2/ | ||
+ | | ||
+ | yes(b) ⇐ | ||
+ | |||
+ | (b) Yes, there is one more answer . | ||
+ | at (*) | ||
+ | choose clause 2 under | ||
+ | { T2/ | ||
+ | | ||
+ | yes(Y) <- ap(T3, | ||
+ | choose clause 1 under { T3/ | ||
+ | | ||
+ | yes(a) <- |