Debian Codegraph @

tests/Meta/metaNarrow.expected

raw
1 ==========================================
2 unify in FOO : f(X, X) =? f(Y, Z, Z) .
3
4 Unifier 1
5 X --> f(#1:Foo, #2:Foo, #2:Foo, #1:Foo, #2:Foo)
6 Y --> f(#1:Foo, #2:Foo, #2:Foo, #1:Foo)
7 Z --> f(#2:Foo, #1:Foo, #2:Foo)
8 Warning: Unification modulo the theory of operator f has encountered an
9 instance for which it may not be complete.
10
11 Unifier 2
12 X --> f(#1:Foo, #1:Foo, #1:Foo)
13 Y --> f(#1:Foo, #1:Foo)
14 Z --> f(#1:Foo, #1:Foo)
15
16 Unifier 3
17 X --> f(#2:Foo, #1:Foo, #1:Foo)
18 Y --> f(#2:Foo, #1:Foo, #1:Foo, #2:Foo)
19 Z --> #1:Foo
20
21 Unifier 4
22 X --> f(#1:Foo, #1:Foo)
23 Y --> f(#1:Foo, #1:Foo)
24 Z --> #1:Foo
25 Warning: Some unifiers may have been missed due to incomplete unification
26 algorithm(s).
27 ==========================================
28 reduce in META-LEVEL : metaNarrow(['FOO], 'g['f['Y:Foo, 'Z:Foo, 'Z:Foo]],
29 'W:Foo, '+, unbounded, 0) .
30 rewrites: 3
31 result ResultTriple: {'h['f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo]],
32 'Foo,
33 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo]]}
34 ==========================================
35 reduce in META-LEVEL : metaNarrow(['FOO], 'g['f['Y:Foo, 'Z:Foo, 'Z:Foo]],
36 'W:Foo, '+, unbounded, 1) .
37 Warning: Unification modulo the theory of operator f has encountered an
38 instance for which it may not be complete.
39 rewrites: 3
40 result ResultTriple: {'h['f['%1:Foo, '%1:Foo, '%1:Foo]], 'Foo,
41 'W:Foo <- 'h['f['%1:Foo, '%1:Foo, '%1:Foo]]}
42 ==========================================
43 reduce in META-LEVEL : metaNarrow(['FOO], 'g['f['Y:Foo, 'Z:Foo, 'Z:Foo]],
44 'W:Foo, '+, unbounded, 2) .
45 rewrites: 3
46 result ResultTriple: {'h['f['%2:Foo, '%1:Foo, '%1:Foo]], 'Foo,
47 'W:Foo <- 'h['f['%2:Foo, '%1:Foo, '%1:Foo]]}
48 ==========================================
49 reduce in META-LEVEL : metaNarrow(['FOO], 'g['f['Y:Foo, 'Z:Foo, 'Z:Foo]],
50 'W:Foo, '+, unbounded, 3) .
51 rewrites: 3
52 result ResultTriple: {'h['f['%1:Foo, '%1:Foo]], 'Foo,
53 'W:Foo <- 'h['f['%1:Foo, '%1:Foo]]}
54 ==========================================
55 reduce in META-LEVEL : metaNarrow(['FOO], 'g['f['Y:Foo, 'Z:Foo, 'Z:Foo]],
56 'W:Foo, '+, unbounded, 4) .
57 rewrites: 2
58 result ResultTriple?: (failureIncomplete).ResultTriple?
59 ==========================================
60 reduce in META-LEVEL : metaNarrowingApply(['FOO], 'g['f['Y:Foo, 'Z:Foo,
61 'Z:Foo]], empty, '#, 0) .
62 Warning: Unification modulo the theory of operator f has encountered an
63 instance for which it may not be complete.
64 rewrites: 4
65 result NarrowingApplyResult: {
66 'h['f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo]], 'Foo,
67 [],
68 ',
69 'Y:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
70 'Z:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo],
71 'X:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo],
72 '@
73 }
74 ==========================================
75 reduce in META-LEVEL : metaNarrowingApply(['FOO], 'g['f['Y:Foo, 'Z:Foo,
76 'Z:Foo]], empty, '#, 1) .
77 rewrites: 4
78 result NarrowingApplyResult: {
79 'h['f['@1:Foo, '@1:Foo, '@1:Foo]], 'Foo,
80 [],
81 ',
82 'Y:Foo <- 'f['@1:Foo, '@1:Foo] ;
83 'Z:Foo <- 'f['@1:Foo, '@1:Foo],
84 'X:Foo <- 'f['@1:Foo, '@1:Foo, '@1:Foo],
85 '@
86 }
87 ==========================================
88 reduce in META-LEVEL : metaNarrowingApply(['FOO], 'g['f['Y:Foo, 'Z:Foo,
89 'Z:Foo]], empty, '#, 2) .
90 rewrites: 4
91 result NarrowingApplyResult: {
92 'h['f['@2:Foo, '@1:Foo, '@1:Foo]], 'Foo,
93 [],
94 ',
95 'Y:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
96 'Z:Foo <- '@1:Foo,
97 'X:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo],
98 '@
99 }
100 ==========================================
101 reduce in META-LEVEL : metaNarrowingApply(['FOO], 'g['f['Y:Foo, 'Z:Foo,
102 'Z:Foo]], empty, '#, 3) .
103 rewrites: 4
104 result NarrowingApplyResult: {
105 'h['f['@1:Foo, '@1:Foo]], 'Foo,
106 [],
107 ',
108 'Y:Foo <- 'f['@1:Foo, '@1:Foo] ;
109 'Z:Foo <- '@1:Foo,
110 'X:Foo <- 'f['@1:Foo, '@1:Foo],
111 '@
112 }
113 ==========================================
114 reduce in META-LEVEL : metaNarrowingApply(['FOO], 'g['f['Y:Foo, 'Z:Foo,
115 'Z:Foo]], empty, '#, 4) .
116 rewrites: 3
117 result NarrowingApplyResult?: (failureIncomplete).NarrowingApplyResult?
118 ==========================================
119 reduce in META-LEVEL : metaNarrowingApply(['FOO], 'g['f['#22:Foo, '#23:Foo,
120 '#23:Foo]], empty, '#, 0) .
121 Warning: Unification modulo the theory of operator f has encountered an
122 instance for which it may not be complete.
123 rewrites: 4
124 result NarrowingApplyResult: {
125 'h['f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo]], 'Foo,
126 [],
127 ',
128 '#22:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
129 '#23:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo],
130 'X:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo],
131 '@
132 }
133 ==========================================
134 reduce in META-LEVEL : metaNarrowingApply(['FOO], 'g['f['#22:Foo, '#23:Foo,
135 '#23:Foo]], empty, '#, 1) .
136 rewrites: 4
137 result NarrowingApplyResult: {
138 'h['f['@1:Foo, '@1:Foo, '@1:Foo]], 'Foo,
139 [],
140 ',
141 '#22:Foo <- 'f['@1:Foo, '@1:Foo] ;
142 '#23:Foo <- 'f['@1:Foo, '@1:Foo],
143 'X:Foo <- 'f['@1:Foo, '@1:Foo, '@1:Foo],
144 '@
145 }
146 ==========================================
147 reduce in META-LEVEL : metaNarrowingApply(['FOO], 'g['f['#22:Foo, '#23:Foo,
148 '#23:Foo]], empty, '#, 2) .
149 rewrites: 4
150 result NarrowingApplyResult: {
151 'h['f['@2:Foo, '@1:Foo, '@1:Foo]], 'Foo,
152 [],
153 ',
154 '#22:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
155 '#23:Foo <- '@1:Foo,
156 'X:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo],
157 '@
158 }
159 ==========================================
160 reduce in META-LEVEL : metaNarrowingApply(['FOO], 'g['f['#22:Foo, '#23:Foo,
161 '#23:Foo]], empty, '#, 3) .
162 rewrites: 4
163 result NarrowingApplyResult: {
164 'h['f['@1:Foo, '@1:Foo]], 'Foo,
165 [],
166 ',
167 '#22:Foo <- 'f['@1:Foo, '@1:Foo] ;
168 '#23:Foo <- '@1:Foo,
169 'X:Foo <- 'f['@1:Foo, '@1:Foo],
170 '@
171 }
172 ==========================================
173 reduce in META-LEVEL : metaNarrowingApply(['FOO], 'g['f['#22:Foo, '#23:Foo,
174 '#23:Foo]], empty, '#, 4) .
175 rewrites: 3
176 result NarrowingApplyResult?: (failureIncomplete).NarrowingApplyResult?
177 ==========================================
178 variant unify in BAR : h(X) =? g(f(Y, Z, Z)) .
179 Warning: Unification modulo the theory of operator f has encountered an
180 instance for which it may not be complete.
181
182 Unifier 1
183 rewrites: 4
184 X --> f(#1:Foo, #2:Foo, #2:Foo, #1:Foo, #2:Foo)
185 Y --> f(#1:Foo, #2:Foo, #2:Foo, #1:Foo)
186 Z --> f(#2:Foo, #1:Foo, #2:Foo)
187
188 Unifier 2
189 rewrites: 4
190 X --> f(#1:Foo, #1:Foo, #1:Foo)
191 Y --> f(#1:Foo, #1:Foo)
192 Z --> f(#1:Foo, #1:Foo)
193
194 Unifier 3
195 rewrites: 4
196 X --> f(#1:Foo, #2:Foo, #2:Foo)
197 Y --> f(#1:Foo, #2:Foo, #2:Foo, #1:Foo)
198 Z --> #2:Foo
199
200 Unifier 4
201 rewrites: 4
202 X --> f(#1:Foo, #1:Foo)
203 Y --> f(#1:Foo, #1:Foo)
204 Z --> #1:Foo
205
206 No more unifiers.
207 rewrites: 4
208 Warning: Some unifiers may have been missed due to incomplete unification
209 algorithm(s).
210 ==========================================
211 reduce in META-LEVEL : metaNarrowingApply(['BAR], 'g['f['Y:Foo, 'Z:Foo,
212 'Z:Foo]], empty, '#, 0) .
213 Warning: Unification modulo the theory of operator f has encountered an
214 instance for which it may not be complete.
215 rewrites: 8
216 result NarrowingApplyResult: {
217 'i['f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo]], 'Foo,
218 [],
219 ',
220 'Y:Foo <- 'f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo] ;
221 'Z:Foo <- 'f['%2:Foo, '%1:Foo, '%2:Foo],
222 'X:Foo <- 'f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo],
223 '%
224 }
225 ==========================================
226 reduce in META-LEVEL : metaNarrowingApply(['BAR], 'g['f['Y:Foo, 'Z:Foo,
227 'Z:Foo]], empty, '#, 1) .
228 rewrites: 4
229 result NarrowingApplyResult: {
230 'i['f['%1:Foo, '%1:Foo, '%1:Foo]], 'Foo,
231 [],
232 ',
233 'Y:Foo <- 'f['%1:Foo, '%1:Foo] ;
234 'Z:Foo <- 'f['%1:Foo, '%1:Foo],
235 'X:Foo <- 'f['%1:Foo, '%1:Foo, '%1:Foo],
236 '%
237 }
238 ==========================================
239 reduce in META-LEVEL : metaNarrowingApply(['BAR], 'g['f['Y:Foo, 'Z:Foo,
240 'Z:Foo]], empty, '#, 2) .
241 rewrites: 4
242 result NarrowingApplyResult: {
243 'i['f['%1:Foo, '%2:Foo, '%2:Foo]], 'Foo,
244 [],
245 ',
246 'Y:Foo <- 'f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo] ;
247 'Z:Foo <- '%2:Foo,
248 'X:Foo <- 'f['%1:Foo, '%2:Foo, '%2:Foo],
249 '%
250 }
251 ==========================================
252 reduce in META-LEVEL : metaNarrowingApply(['BAR], 'g['f['Y:Foo, 'Z:Foo,
253 'Z:Foo]], empty, '#, 3) .
254 rewrites: 4
255 result NarrowingApplyResult: {
256 'i['f['%1:Foo, '%1:Foo]], 'Foo,
257 [],
258 ',
259 'Y:Foo <- 'f['%1:Foo, '%1:Foo] ;
260 'Z:Foo <- '%1:Foo,
261 'X:Foo <- 'f['%1:Foo, '%1:Foo],
262 '%
263 }
264 ==========================================
265 reduce in META-LEVEL : metaNarrowingApply(['BAR], 'g['f['Y:Foo, 'Z:Foo,
266 'Z:Foo]], empty, '#, 4) .
267 rewrites: 3
268 result NarrowingApplyResult?: (failureIncomplete).NarrowingApplyResult?
269 ==========================================
270 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['W:Expr,
271 'b.Elt]], 'Z:Expr], '_+_['W:Expr, 'b.Elt], '#, 0) .
272 rewrites: 10
273 result NarrowingApplyResult: {
274 'f['h['_+_['b.Elt, '@1:Expr]], '@2:Expr], 'Expr,
275 'f[[], 'Z:Expr],
276 ',
277 'W:Expr <- '_+_['a.Elt, '@1:Expr] ;
278 'Z:Expr <- '@2:Expr,
279 'Y:Expr <- '_+_['b.Elt, '@1:Expr],
280 '@
281 }
282 ==========================================
283 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['W:Expr,
284 'b.Elt]], 'Z:Expr], '_+_['W:Expr, 'b.Elt], '#, 1) .
285 rewrites: 4
286 result NarrowingApplyResult: {
287 'f['h['b.Elt], '@1:Expr], 'Expr,
288 'f[[], 'Z:Expr],
289 ',
290 'W:Expr <- 'a.Elt ;
291 'Z:Expr <- '@1:Expr,
292 'Y:Expr <- 'b.Elt,
293 '@
294 }
295 ==========================================
296 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['W:Expr,
297 'b.Elt]], 'Z:Expr], '_+_['W:Expr, 'b.Elt], '#, 2) .
298 rewrites: 4
299 result NarrowingApplyResult: {
300 'f['h['_+_['a.Elt, 'b.Elt, '%1:Expr]], '%2:Expr], 'Expr,
301 'f[[], 'Z:Expr],
302 ',
303 'W:Expr <- '%1:Expr ;
304 'Z:Expr <- '%2:Expr,
305 'Y:Expr <- '_+_['a.Elt, 'b.Elt, '%1:Expr],
306 '%
307 }
308 ==========================================
309 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['W:Expr,
310 'b.Elt]], 'Z:Expr], '_+_['W:Expr, 'b.Elt], '#, 3) .
311 rewrites: 9
312 result NarrowingApplyResult?: (failure).NarrowingApplyResult?
313 ==========================================
314 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['W:Expr,
315 'b.Elt]], 'Z:Expr], '_+_['W:Expr, 'b.Elt], '#, delay filter, 0) .
316 rewrites: 19
317 result NarrowingApplyResult: {
318 'f['h['_+_['b.Elt, '@1:Expr]], '@2:Expr], 'Expr,
319 'f[[], 'Z:Expr],
320 ',
321 'W:Expr <- '_+_['a.Elt, '@1:Expr] ;
322 'Z:Expr <- '@2:Expr,
323 'Y:Expr <- '_+_['b.Elt, '@1:Expr],
324 '@
325 }
326 ==========================================
327 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['W:Expr,
328 'b.Elt]], 'Z:Expr], '_+_['W:Expr, 'b.Elt], '#, delay filter, 1) .
329 rewrites: 8
330 result NarrowingApplyResult?: (failure).NarrowingApplyResult?
331 ==========================================
332 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['W:Expr,
333 'b.Elt]], 'Z:Expr], '_+_['X:Expr, 'b.Elt], '#, 0) .
334 rewrites: 34
335 result NarrowingApplyResult: {
336 'f['h['_+_['b.Elt, '@1:Expr]], '@2:Expr], 'Expr,
337 'f[[], 'Z:Expr],
338 ',
339 'W:Expr <- '_+_['a.Elt, '@1:Expr] ;
340 'Z:Expr <- '@2:Expr,
341 'Y:Expr <- '_+_['b.Elt, '@1:Expr],
342 '@
343 }
344 ==========================================
345 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['W:Expr,
346 'b.Elt]], 'Z:Expr], '_+_['X:Expr, 'b.Elt], '#, 11) .
347 rewrites: 46
348 result NarrowingApplyResult: {
349 'f['g['h['_+_['a.Elt, '@1:Expr]]], '@2:Expr], 'Expr,
350 'f['g[[]], 'Z:Expr],
351 ',
352 'W:Expr <- '_+_['b.Elt, 'g['@1:Expr]] ;
353 'Z:Expr <- '@2:Expr,
354 'Y:Expr <- '_+_['a.Elt, '@1:Expr],
355 '@
356 }
357 ==========================================
358 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['W:Expr,
359 'b.Elt]], 'Z:Expr], '_+_['X:Expr, 'b.Elt], '#, 12) .
360 rewrites: 6
361 result NarrowingApplyResult?: (failure).NarrowingApplyResult?
362 ==========================================
363 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['#1:Expr,
364 'b.Elt]], '#2:Expr], '_+_['#3:Expr, 'b.Elt], '#, 0) .
365 rewrites: 34
366 result NarrowingApplyResult: {
367 'f['h['_+_['b.Elt, '@1:Expr]], '@2:Expr], 'Expr,
368 'f[[], '#2:Expr],
369 ',
370 '#1:Expr <- '_+_['a.Elt, '@1:Expr] ;
371 '#2:Expr <- '@2:Expr,
372 'Y:Expr <- '_+_['b.Elt, '@1:Expr],
373 '@
374 }
375 ==========================================
376 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['#1:Expr,
377 'b.Elt]], '#2:Expr], '_+_['#3:Expr, 'b.Elt], '#, 11) .
378 rewrites: 46
379 result NarrowingApplyResult: {
380 'f['g['h['_+_['a.Elt, '@1:Expr]]], '@2:Expr], 'Expr,
381 'f['g[[]], '#2:Expr],
382 ',
383 '#1:Expr <- '_+_['b.Elt, 'g['@1:Expr]] ;
384 '#2:Expr <- '@2:Expr,
385 'Y:Expr <- '_+_['a.Elt, '@1:Expr],
386 '@
387 }
388 ==========================================
389 reduce in META-LEVEL : metaNarrowingApply(['XOR-TEST], 'f['g['_+_['#1:Expr,
390 'b.Elt]], '#2:Expr], '_+_['#3:Expr, 'b.Elt], '#, 12) .
391 rewrites: 6
392 result NarrowingApplyResult?: (failure).NarrowingApplyResult?
393 ==========================================
394 reduce in META-LEVEL : metaNarrowingSearch(['FOO], 'g['j['A:Foo, 'B:Foo]],
395 'C:Foo, '*, unbounded, 'none, 0) .
396 rewrites: 4
397 result NarrowingSearchResult: {
398 'g['j['#1:Foo, '#2:Foo]], 'Foo,
399 'A:Foo <- '#1:Foo ;
400 'B:Foo <- '#2:Foo,
401 '#,
402 '#1:Foo <- '@1:Foo ;
403 '#2:Foo <- '@2:Foo ;
404 'C:Foo <- 'g['j['@1:Foo, '@2:Foo]],
405 '@
406 }
407 ==========================================
408 reduce in META-LEVEL : metaNarrowingSearch(['FOO], 'g['j['A:Foo, 'B:Foo]],
409 'C:Foo, '*, unbounded, 'none, 1) .
410 rewrites: 3
411 result NarrowingSearchResult: {
412 'g['j['#1:Foo, '#2:Foo]], 'Foo,
413 'A:Foo <- '#1:Foo ;
414 'B:Foo <- '#2:Foo,
415 '#,
416 '#1:Foo <- 'f['%2:Foo] ;
417 '#2:Foo <- '%1:Foo ;
418 'C:Foo <- 'g['i['f['%1:Foo], '%2:Foo]],
419 '%
420 }
421 ==========================================
422 reduce in META-LEVEL : metaNarrowingSearch(['FOO], 'g['j['A:Foo, 'B:Foo]],
423 'C:Foo, '*, unbounded, 'none, 2) .
424 rewrites: 5
425 result NarrowingSearchResult: {
426 'f['k['%2:Foo, 'f['%3:Foo]]], 'Foo,
427 'A:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
428 'B:Foo <- '%3:Foo,
429 '%,
430 '%2:Foo <- '@1:Foo ;
431 '%3:Foo <- '@2:Foo ;
432 'C:Foo <- 'f['k['@1:Foo, 'f['@2:Foo]]],
433 '@
434 }
435 ==========================================
436 reduce in META-LEVEL : metaNarrowingSearch(['FOO], 'g['j['A:Foo, 'B:Foo]],
437 'C:Foo, '*, unbounded, 'none, 3) .
438 rewrites: 4
439 result NarrowingSearchResult?: (failure).NarrowingSearchResult?
440 ==========================================
441 reduce in META-LEVEL : metaNarrowingSearch(['FOO], 'g['j['A:Foo, 'B:Foo]],
442 'C:Foo, '*, unbounded, 'match, 0) .
443 rewrites: 4
444 result NarrowingSearchResult: {
445 'g['j['#1:Foo, '#2:Foo]], 'Foo,
446 'A:Foo <- '#1:Foo ;
447 'B:Foo <- '#2:Foo,
448 '#,
449 '#1:Foo <- '@1:Foo ;
450 '#2:Foo <- '@2:Foo ;
451 'C:Foo <- 'g['j['@1:Foo, '@2:Foo]],
452 '@
453 }
454 ==========================================
455 reduce in META-LEVEL : metaNarrowingSearch(['FOO], 'g['j['A:Foo, 'B:Foo]],
456 'C:Foo, '*, unbounded, 'match, 1) .
457 rewrites: 3
458 result NarrowingSearchResult: {
459 'g['j['#1:Foo, '#2:Foo]], 'Foo,
460 'A:Foo <- '#1:Foo ;
461 'B:Foo <- '#2:Foo,
462 '#,
463 '#1:Foo <- 'f['%2:Foo] ;
464 '#2:Foo <- '%1:Foo ;
465 'C:Foo <- 'g['i['f['%1:Foo], '%2:Foo]],
466 '%
467 }
468 ==========================================
469 reduce in META-LEVEL : metaNarrowingSearch(['FOO], 'g['j['A:Foo, 'B:Foo]],
470 'C:Foo, '*, unbounded, 'match, 2) .
471 rewrites: 5
472 result NarrowingSearchResult: {
473 'f['k['%2:Foo, 'f['%3:Foo]]], 'Foo,
474 'A:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
475 'B:Foo <- '%3:Foo,
476 '%,
477 '%2:Foo <- '@1:Foo ;
478 '%3:Foo <- '@2:Foo ;
479 'C:Foo <- 'f['k['@1:Foo, 'f['@2:Foo]]],
480 '@
481 }
482 ==========================================
483 reduce in META-LEVEL : metaNarrowingSearch(['FOO], 'g['j['A:Foo, 'B:Foo]],
484 'C:Foo, '*, unbounded, 'match, 3) .
485 rewrites: 4
486 result NarrowingSearchResult?: (failure).NarrowingSearchResult?
487 ==========================================
488 reduce in META-LEVEL : metaNarrowingSearchPath(['FOO], 'g['j['A:Foo, 'B:Foo]],
489 'C:Foo, '*, unbounded, 'none, 0) .
490 rewrites: 4
491 result NarrowingSearchPathResult: {
492 'g['j['#1:Foo, '#2:Foo]], 'Foo,
493 'A:Foo <- '#1:Foo ;
494 'B:Foo <- '#2:Foo, (nil).NarrowingTrace,
495 '#1:Foo <- '@1:Foo ;
496 '#2:Foo <- '@2:Foo ;
497 'C:Foo <- 'g['j['@1:Foo, '@2:Foo]],
498 '@
499 }
500 ==========================================
501 reduce in META-LEVEL : metaNarrowingSearchPath(['FOO], 'g['j['A:Foo, 'B:Foo]],
502 'C:Foo, '*, unbounded, 'none, 1) .
503 rewrites: 3
504 result NarrowingSearchPathResult: {
505 'g['j['#1:Foo, '#2:Foo]], 'Foo,
506 'A:Foo <- '#1:Foo ;
507 'B:Foo <- '#2:Foo, (nil).NarrowingTrace,
508 '#1:Foo <- 'f['%2:Foo] ;
509 '#2:Foo <- '%1:Foo ;
510 'C:Foo <- 'g['i['f['%1:Foo], '%2:Foo]],
511 '%
512 }
513 ==========================================
514 reduce in META-LEVEL : metaNarrowingSearchPath(['FOO], 'g['j['A:Foo, 'B:Foo]],
515 'C:Foo, '*, unbounded, 'none, 2) .
516 rewrites: 5
517 result NarrowingSearchPathResult: {
518 'g['j['#1:Foo, '#2:Foo]], 'Foo,
519 'A:Foo <- '#1:Foo ;
520 'B:Foo <- '#2:Foo,
521 {
522 [],
523 ',
524 '#1:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
525 '#2:Foo <- '%3:Foo ;
526 'X:Foo <- 'f['%3:Foo] ;
527 'Y:Foo <- '%1:Foo ;
528 'Z:Foo <- '%2:Foo,
529 '%,
530 'f['k['%2:Foo, 'f['%3:Foo]]], 'Foo,
531 'A:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
532 'B:Foo <- '%3:Foo
533 },
534 '%2:Foo <- '@1:Foo ;
535 '%3:Foo <- '@2:Foo ;
536 'C:Foo <- 'f['k['@1:Foo, 'f['@2:Foo]]],
537 '@
538 }
539 ==========================================
540 reduce in META-LEVEL : metaNarrowingSearchPath(['FOO], 'g['j['A:Foo, 'B:Foo]],
541 'C:Foo, '*, unbounded, 'none, 3) .
542 rewrites: 4
543 result NarrowingSearchPathResult?: (failure).NarrowingSearchPathResult?
544 ==========================================
545 reduce in META-LEVEL : metaNarrowingSearchPath(['FOO], 'g['j['A:Foo, 'B:Foo]],
546 'C:Foo, '*, unbounded, 'match, 0) .
547 rewrites: 4
548 result NarrowingSearchPathResult: {
549 'g['j['#1:Foo, '#2:Foo]], 'Foo,
550 'A:Foo <- '#1:Foo ;
551 'B:Foo <- '#2:Foo, (nil).NarrowingTrace,
552 '#1:Foo <- '@1:Foo ;
553 '#2:Foo <- '@2:Foo ;
554 'C:Foo <- 'g['j['@1:Foo, '@2:Foo]],
555 '@
556 }
557 ==========================================
558 reduce in META-LEVEL : metaNarrowingSearchPath(['FOO], 'g['j['A:Foo, 'B:Foo]],
559 'C:Foo, '*, unbounded, 'match, 1) .
560 rewrites: 3
561 result NarrowingSearchPathResult: {
562 'g['j['#1:Foo, '#2:Foo]], 'Foo,
563 'A:Foo <- '#1:Foo ;
564 'B:Foo <- '#2:Foo, (nil).NarrowingTrace,
565 '#1:Foo <- 'f['%2:Foo] ;
566 '#2:Foo <- '%1:Foo ;
567 'C:Foo <- 'g['i['f['%1:Foo], '%2:Foo]],
568 '%
569 }
570 ==========================================
571 reduce in META-LEVEL : metaNarrowingSearchPath(['FOO], 'g['j['A:Foo, 'B:Foo]],
572 'C:Foo, '*, unbounded, 'match, 2) .
573 rewrites: 5
574 result NarrowingSearchPathResult: {
575 'g['j['#1:Foo, '#2:Foo]], 'Foo,
576 'A:Foo <- '#1:Foo ;
577 'B:Foo <- '#2:Foo,
578 {
579 [],
580 ',
581 '#1:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
582 '#2:Foo <- '%3:Foo ;
583 'X:Foo <- 'f['%3:Foo] ;
584 'Y:Foo <- '%1:Foo ;
585 'Z:Foo <- '%2:Foo,
586 '%,
587 'f['k['%2:Foo, 'f['%3:Foo]]], 'Foo,
588 'A:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
589 'B:Foo <- '%3:Foo
590 },
591 '%2:Foo <- '@1:Foo ;
592 '%3:Foo <- '@2:Foo ;
593 'C:Foo <- 'f['k['@1:Foo, 'f['@2:Foo]]],
594 '@
595 }
596 ==========================================
597 reduce in META-LEVEL : metaNarrowingSearchPath(['FOO], 'g['j['A:Foo, 'B:Foo]],
598 'C:Foo, '*, unbounded, 'match, 3) .
599 rewrites: 4
600 result NarrowingSearchPathResult?: (failure).NarrowingSearchPathResult?
601 ==========================================
602 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
603 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 0) .
604 rewrites: 3
605 result NarrowingSearchResult: {
606 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
607 'A:Foo <- '#1:Foo ;
608 'B:Foo <- '#2:Foo,
609 '#,
610 '#1:Foo <- '@1:Foo ;
611 '#2:Foo <- '@2:Foo ;
612 'W:Foo <- 'g['f['@1:Foo, '@2:Foo, '@2:Foo]],
613 '@
614 }
615 ==========================================
616 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
617 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 1) .
618 Warning: Unification modulo the theory of operator f has encountered an
619 instance for which it may not be complete.
620 rewrites: 4
621 result NarrowingSearchResult: {
622 'h['f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo]], 'Foo,
623 'A:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
624 'B:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo],
625 '@,
626 '@1:Foo <- '%1:Foo ;
627 '@2:Foo <- '%2:Foo ;
628 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo]],
629 '%
630 }
631 ==========================================
632 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
633 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 2) .
634 rewrites: 4
635 result NarrowingSearchResult: {
636 'h['f['@1:Foo, '@1:Foo, '@1:Foo]], 'Foo,
637 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
638 'B:Foo <- 'f['@1:Foo, '@1:Foo],
639 '@,
640 '@1:Foo <- '%1:Foo ;
641 'W:Foo <- 'h['f['%1:Foo, '%1:Foo, '%1:Foo]],
642 '%
643 }
644 ==========================================
645 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
646 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 3) .
647 rewrites: 4
648 result NarrowingSearchResult: {
649 'h['f['@2:Foo, '@1:Foo, '@1:Foo]], 'Foo,
650 'A:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
651 'B:Foo <- '@1:Foo,
652 '@,
653 '@1:Foo <- '%2:Foo ;
654 '@2:Foo <- '%1:Foo ;
655 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo]],
656 '%
657 }
658 ==========================================
659 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
660 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 4) .
661 rewrites: 4
662 result NarrowingSearchResult: {
663 'h['f['@1:Foo, '@1:Foo]], 'Foo,
664 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
665 'B:Foo <- '@1:Foo,
666 '@,
667 '@1:Foo <- '%1:Foo ;
668 'W:Foo <- 'h['f['%1:Foo, '%1:Foo]],
669 '%
670 }
671 ==========================================
672 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
673 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 5) .
674 rewrites: 3
675 result NarrowingSearchResult?: (failureIncomplete).NarrowingSearchResult?
676 ==========================================
677 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
678 'B:Foo]], 'W:Foo, '!, unbounded, 'none, 0) .
679 Warning: Unification modulo the theory of operator f has encountered an
680 instance for which it may not be complete.
681 rewrites: 7
682 result NarrowingSearchResult: {
683 'h['f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo]], 'Foo,
684 'A:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
685 'B:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo],
686 '@,
687 '@1:Foo <- '%1:Foo ;
688 '@2:Foo <- '%2:Foo ;
689 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo]],
690 '%
691 }
692 ==========================================
693 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
694 'B:Foo]], 'W:Foo, '!, unbounded, 'none, 1) .
695 rewrites: 3
696 result NarrowingSearchResult: {
697 'h['f['@1:Foo, '@1:Foo, '@1:Foo]], 'Foo,
698 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
699 'B:Foo <- 'f['@1:Foo, '@1:Foo],
700 '@,
701 '@1:Foo <- '%1:Foo ;
702 'W:Foo <- 'h['f['%1:Foo, '%1:Foo, '%1:Foo]],
703 '%
704 }
705 ==========================================
706 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
707 'B:Foo]], 'W:Foo, '!, unbounded, 'none, 2) .
708 rewrites: 3
709 result NarrowingSearchResult: {
710 'h['f['@2:Foo, '@1:Foo, '@1:Foo]], 'Foo,
711 'A:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
712 'B:Foo <- '@1:Foo,
713 '@,
714 '@1:Foo <- '%2:Foo ;
715 '@2:Foo <- '%1:Foo ;
716 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo]],
717 '%
718 }
719 ==========================================
720 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
721 'B:Foo]], 'W:Foo, '!, unbounded, 'none, 3) .
722 rewrites: 3
723 result NarrowingSearchResult: {
724 'h['f['@1:Foo, '@1:Foo]], 'Foo,
725 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
726 'B:Foo <- '@1:Foo,
727 '@,
728 '@1:Foo <- '%1:Foo ;
729 'W:Foo <- 'h['f['%1:Foo, '%1:Foo]],
730 '%
731 }
732 ==========================================
733 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
734 'B:Foo]], 'W:Foo, '!, unbounded, 'none, 4) .
735 rewrites: 3
736 result NarrowingSearchResult?: (failureIncomplete).NarrowingSearchResult?
737 ==========================================
738 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
739 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 0) .
740 rewrites: 3
741 result NarrowingSearchResult: {
742 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
743 'A:Foo <- '#1:Foo ;
744 'B:Foo <- '#2:Foo,
745 '#,
746 '#1:Foo <- '@1:Foo ;
747 '#2:Foo <- '@2:Foo ;
748 'W:Foo <- 'g['f['@1:Foo, '@2:Foo, '@2:Foo]],
749 '@
750 }
751 ==========================================
752 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
753 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 1) .
754 Warning: Unification modulo the theory of operator f has encountered an
755 instance for which it may not be complete.
756 rewrites: 4
757 result NarrowingSearchResult: {
758 'h['f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo]], 'Foo,
759 'A:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
760 'B:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo],
761 '@,
762 '@1:Foo <- '%1:Foo ;
763 '@2:Foo <- '%2:Foo ;
764 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo]],
765 '%
766 }
767 ==========================================
768 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
769 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 2) .
770 rewrites: 4
771 result NarrowingSearchResult: {
772 'h['f['@1:Foo, '@1:Foo, '@1:Foo]], 'Foo,
773 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
774 'B:Foo <- 'f['@1:Foo, '@1:Foo],
775 '@,
776 '@1:Foo <- '%1:Foo ;
777 'W:Foo <- 'h['f['%1:Foo, '%1:Foo, '%1:Foo]],
778 '%
779 }
780 ==========================================
781 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
782 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 3) .
783 rewrites: 4
784 result NarrowingSearchResult: {
785 'h['f['@2:Foo, '@1:Foo, '@1:Foo]], 'Foo,
786 'A:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
787 'B:Foo <- '@1:Foo,
788 '@,
789 '@1:Foo <- '%2:Foo ;
790 '@2:Foo <- '%1:Foo ;
791 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo]],
792 '%
793 }
794 ==========================================
795 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
796 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 4) .
797 rewrites: 4
798 result NarrowingSearchResult: {
799 'h['f['@1:Foo, '@1:Foo]], 'Foo,
800 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
801 'B:Foo <- '@1:Foo,
802 '@,
803 '@1:Foo <- '%1:Foo ;
804 'W:Foo <- 'h['f['%1:Foo, '%1:Foo]],
805 '%
806 }
807 ==========================================
808 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
809 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 5) .
810 rewrites: 3
811 result NarrowingSearchResult?: (failureIncomplete).NarrowingSearchResult?
812 ==========================================
813 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
814 'B:Foo]], 'W:Foo, '!, unbounded, 'match, 0) .
815 Warning: Unification modulo the theory of operator f has encountered an
816 instance for which it may not be complete.
817 rewrites: 7
818 result NarrowingSearchResult: {
819 'h['f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo]], 'Foo,
820 'A:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
821 'B:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo],
822 '@,
823 '@1:Foo <- '%1:Foo ;
824 '@2:Foo <- '%2:Foo ;
825 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo]],
826 '%
827 }
828 ==========================================
829 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
830 'B:Foo]], 'W:Foo, '!, unbounded, 'match, 1) .
831 rewrites: 3
832 result NarrowingSearchResult: {
833 'h['f['@2:Foo, '@1:Foo, '@1:Foo]], 'Foo,
834 'A:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
835 'B:Foo <- '@1:Foo,
836 '@,
837 '@1:Foo <- '%2:Foo ;
838 '@2:Foo <- '%1:Foo ;
839 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo]],
840 '%
841 }
842 ==========================================
843 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
844 'B:Foo]], 'W:Foo, '!, unbounded, 'match, 2) .
845 rewrites: 3
846 result NarrowingSearchResult: {
847 'h['f['@1:Foo, '@1:Foo]], 'Foo,
848 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
849 'B:Foo <- '@1:Foo,
850 '@,
851 '@1:Foo <- '%1:Foo ;
852 'W:Foo <- 'h['f['%1:Foo, '%1:Foo]],
853 '%
854 }
855 ==========================================
856 reduce in META-LEVEL : metaNarrowingSearch(['BAR], 'g['f['A:Foo, 'B:Foo,
857 'B:Foo]], 'W:Foo, '!, unbounded, 'match, 3) .
858 rewrites: 3
859 result NarrowingSearchResult?: (failureIncomplete).NarrowingSearchResult?
860 ==========================================
861 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
862 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 0) .
863 rewrites: 3
864 result NarrowingSearchPathResult: {
865 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
866 'A:Foo <- '#1:Foo ;
867 'B:Foo <- '#2:Foo, (nil).NarrowingTrace,
868 '#1:Foo <- '@1:Foo ;
869 '#2:Foo <- '@2:Foo ;
870 'W:Foo <- 'g['f['@1:Foo, '@2:Foo, '@2:Foo]],
871 '@
872 }
873 ==========================================
874 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
875 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 1) .
876 Warning: Unification modulo the theory of operator f has encountered an
877 instance for which it may not be complete.
878 rewrites: 4
879 result NarrowingSearchPathResult: {
880 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
881 'A:Foo <- '#1:Foo ;
882 'B:Foo <- '#2:Foo,
883 {
884 [],
885 ',
886 '#1:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
887 '#2:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo] ;
888 'X:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo],
889 '@,
890 'h['f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo]], 'Foo,
891 'A:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
892 'B:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo]
893 },
894 '@1:Foo <- '%1:Foo ;
895 '@2:Foo <- '%2:Foo ;
896 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo]],
897 '%
898 }
899 ==========================================
900 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
901 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 2) .
902 rewrites: 4
903 result NarrowingSearchPathResult: {
904 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
905 'A:Foo <- '#1:Foo ;
906 'B:Foo <- '#2:Foo,
907 {
908 [],
909 ',
910 '#1:Foo <- 'f['@1:Foo, '@1:Foo] ;
911 '#2:Foo <- 'f['@1:Foo, '@1:Foo] ;
912 'X:Foo <- 'f['@1:Foo, '@1:Foo, '@1:Foo],
913 '@,
914 'h['f['@1:Foo, '@1:Foo, '@1:Foo]], 'Foo,
915 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
916 'B:Foo <- 'f['@1:Foo, '@1:Foo]
917 },
918 '@1:Foo <- '%1:Foo ;
919 'W:Foo <- 'h['f['%1:Foo, '%1:Foo, '%1:Foo]],
920 '%
921 }
922 ==========================================
923 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
924 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 3) .
925 rewrites: 4
926 result NarrowingSearchPathResult: {
927 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
928 'A:Foo <- '#1:Foo ;
929 'B:Foo <- '#2:Foo,
930 {
931 [],
932 ',
933 '#1:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
934 '#2:Foo <- '@1:Foo ;
935 'X:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo],
936 '@,
937 'h['f['@2:Foo, '@1:Foo, '@1:Foo]], 'Foo,
938 'A:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
939 'B:Foo <- '@1:Foo
940 },
941 '@1:Foo <- '%2:Foo ;
942 '@2:Foo <- '%1:Foo ;
943 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo]],
944 '%
945 }
946 ==========================================
947 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
948 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 4) .
949 rewrites: 4
950 result NarrowingSearchPathResult: {
951 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
952 'A:Foo <- '#1:Foo ;
953 'B:Foo <- '#2:Foo,
954 {
955 [],
956 ',
957 '#1:Foo <- 'f['@1:Foo, '@1:Foo] ;
958 '#2:Foo <- '@1:Foo ;
959 'X:Foo <- 'f['@1:Foo, '@1:Foo],
960 '@,
961 'h['f['@1:Foo, '@1:Foo]], 'Foo,
962 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
963 'B:Foo <- '@1:Foo
964 },
965 '@1:Foo <- '%1:Foo ;
966 'W:Foo <- 'h['f['%1:Foo, '%1:Foo]],
967 '%
968 }
969 ==========================================
970 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
971 'B:Foo]], 'W:Foo, '*, unbounded, 'none, 5) .
972 rewrites: 3
973 result NarrowingSearchPathResult?: (
974 failureIncomplete).NarrowingSearchPathResult?
975 ==========================================
976 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
977 'B:Foo]], 'W:Foo, '!, unbounded, 'none, 0) .
978 Warning: Unification modulo the theory of operator f has encountered an
979 instance for which it may not be complete.
980 rewrites: 7
981 result NarrowingSearchPathResult: {
982 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
983 'A:Foo <- '#1:Foo ;
984 'B:Foo <- '#2:Foo,
985 {
986 [],
987 ',
988 '#1:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
989 '#2:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo] ;
990 'X:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo],
991 '@,
992 'h['f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo]], 'Foo,
993 'A:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
994 'B:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo]
995 },
996 '@1:Foo <- '%1:Foo ;
997 '@2:Foo <- '%2:Foo ;
998 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo]],
999 '%
1000 }
1001 ==========================================
1002 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1003 'B:Foo]], 'W:Foo, '!, unbounded, 'none, 1) .
1004 rewrites: 3
1005 result NarrowingSearchPathResult: {
1006 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
1007 'A:Foo <- '#1:Foo ;
1008 'B:Foo <- '#2:Foo,
1009 {
1010 [],
1011 ',
1012 '#1:Foo <- 'f['@1:Foo, '@1:Foo] ;
1013 '#2:Foo <- 'f['@1:Foo, '@1:Foo] ;
1014 'X:Foo <- 'f['@1:Foo, '@1:Foo, '@1:Foo],
1015 '@,
1016 'h['f['@1:Foo, '@1:Foo, '@1:Foo]], 'Foo,
1017 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
1018 'B:Foo <- 'f['@1:Foo, '@1:Foo]
1019 },
1020 '@1:Foo <- '%1:Foo ;
1021 'W:Foo <- 'h['f['%1:Foo, '%1:Foo, '%1:Foo]],
1022 '%
1023 }
1024 ==========================================
1025 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1026 'B:Foo]], 'W:Foo, '!, unbounded, 'none, 2) .
1027 rewrites: 3
1028 result NarrowingSearchPathResult: {
1029 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
1030 'A:Foo <- '#1:Foo ;
1031 'B:Foo <- '#2:Foo,
1032 {
1033 [],
1034 ',
1035 '#1:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
1036 '#2:Foo <- '@1:Foo ;
1037 'X:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo],
1038 '@,
1039 'h['f['@2:Foo, '@1:Foo, '@1:Foo]], 'Foo,
1040 'A:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
1041 'B:Foo <- '@1:Foo
1042 },
1043 '@1:Foo <- '%2:Foo ;
1044 '@2:Foo <- '%1:Foo ;
1045 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo]],
1046 '%
1047 }
1048 ==========================================
1049 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1050 'B:Foo]], 'W:Foo, '!, unbounded, 'none, 3) .
1051 rewrites: 3
1052 result NarrowingSearchPathResult: {
1053 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
1054 'A:Foo <- '#1:Foo ;
1055 'B:Foo <- '#2:Foo,
1056 {
1057 [],
1058 ',
1059 '#1:Foo <- 'f['@1:Foo, '@1:Foo] ;
1060 '#2:Foo <- '@1:Foo ;
1061 'X:Foo <- 'f['@1:Foo, '@1:Foo],
1062 '@,
1063 'h['f['@1:Foo, '@1:Foo]], 'Foo,
1064 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
1065 'B:Foo <- '@1:Foo
1066 },
1067 '@1:Foo <- '%1:Foo ;
1068 'W:Foo <- 'h['f['%1:Foo, '%1:Foo]],
1069 '%
1070 }
1071 ==========================================
1072 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1073 'B:Foo]], 'W:Foo, '!, unbounded, 'none, 4) .
1074 rewrites: 3
1075 result NarrowingSearchPathResult?: (
1076 failureIncomplete).NarrowingSearchPathResult?
1077 ==========================================
1078 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1079 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 0) .
1080 rewrites: 3
1081 result NarrowingSearchPathResult: {
1082 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
1083 'A:Foo <- '#1:Foo ;
1084 'B:Foo <- '#2:Foo, (nil).NarrowingTrace,
1085 '#1:Foo <- '@1:Foo ;
1086 '#2:Foo <- '@2:Foo ;
1087 'W:Foo <- 'g['f['@1:Foo, '@2:Foo, '@2:Foo]],
1088 '@
1089 }
1090 ==========================================
1091 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1092 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 1) .
1093 Warning: Unification modulo the theory of operator f has encountered an
1094 instance for which it may not be complete.
1095 rewrites: 4
1096 result NarrowingSearchPathResult: {
1097 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
1098 'A:Foo <- '#1:Foo ;
1099 'B:Foo <- '#2:Foo,
1100 {
1101 [],
1102 ',
1103 '#1:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
1104 '#2:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo] ;
1105 'X:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo],
1106 '@,
1107 'h['f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo]], 'Foo,
1108 'A:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
1109 'B:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo]
1110 },
1111 '@1:Foo <- '%1:Foo ;
1112 '@2:Foo <- '%2:Foo ;
1113 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo]],
1114 '%
1115 }
1116 ==========================================
1117 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1118 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 2) .
1119 rewrites: 4
1120 result NarrowingSearchPathResult: {
1121 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
1122 'A:Foo <- '#1:Foo ;
1123 'B:Foo <- '#2:Foo,
1124 {
1125 [],
1126 ',
1127 '#1:Foo <- 'f['@1:Foo, '@1:Foo] ;
1128 '#2:Foo <- 'f['@1:Foo, '@1:Foo] ;
1129 'X:Foo <- 'f['@1:Foo, '@1:Foo, '@1:Foo],
1130 '@,
1131 'h['f['@1:Foo, '@1:Foo, '@1:Foo]], 'Foo,
1132 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
1133 'B:Foo <- 'f['@1:Foo, '@1:Foo]
1134 },
1135 '@1:Foo <- '%1:Foo ;
1136 'W:Foo <- 'h['f['%1:Foo, '%1:Foo, '%1:Foo]],
1137 '%
1138 }
1139 ==========================================
1140 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1141 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 3) .
1142 rewrites: 4
1143 result NarrowingSearchPathResult: {
1144 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
1145 'A:Foo <- '#1:Foo ;
1146 'B:Foo <- '#2:Foo,
1147 {
1148 [],
1149 ',
1150 '#1:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
1151 '#2:Foo <- '@1:Foo ;
1152 'X:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo],
1153 '@,
1154 'h['f['@2:Foo, '@1:Foo, '@1:Foo]], 'Foo,
1155 'A:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
1156 'B:Foo <- '@1:Foo
1157 },
1158 '@1:Foo <- '%2:Foo ;
1159 '@2:Foo <- '%1:Foo ;
1160 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo]],
1161 '%
1162 }
1163 ==========================================
1164 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1165 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 4) .
1166 rewrites: 4
1167 result NarrowingSearchPathResult: {
1168 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
1169 'A:Foo <- '#1:Foo ;
1170 'B:Foo <- '#2:Foo,
1171 {
1172 [],
1173 ',
1174 '#1:Foo <- 'f['@1:Foo, '@1:Foo] ;
1175 '#2:Foo <- '@1:Foo ;
1176 'X:Foo <- 'f['@1:Foo, '@1:Foo],
1177 '@,
1178 'h['f['@1:Foo, '@1:Foo]], 'Foo,
1179 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
1180 'B:Foo <- '@1:Foo
1181 },
1182 '@1:Foo <- '%1:Foo ;
1183 'W:Foo <- 'h['f['%1:Foo, '%1:Foo]],
1184 '%
1185 }
1186 ==========================================
1187 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1188 'B:Foo]], 'W:Foo, '*, unbounded, 'match, 5) .
1189 rewrites: 3
1190 result NarrowingSearchPathResult?: (
1191 failureIncomplete).NarrowingSearchPathResult?
1192 ==========================================
1193 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1194 'B:Foo]], 'W:Foo, '!, unbounded, 'match, 0) .
1195 Warning: Unification modulo the theory of operator f has encountered an
1196 instance for which it may not be complete.
1197 rewrites: 7
1198 result NarrowingSearchPathResult: {
1199 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
1200 'A:Foo <- '#1:Foo ;
1201 'B:Foo <- '#2:Foo,
1202 {
1203 [],
1204 ',
1205 '#1:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
1206 '#2:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo] ;
1207 'X:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo],
1208 '@,
1209 'h['f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo, '@2:Foo]], 'Foo,
1210 'A:Foo <- 'f['@1:Foo, '@2:Foo, '@2:Foo, '@1:Foo] ;
1211 'B:Foo <- 'f['@2:Foo, '@1:Foo, '@2:Foo]
1212 },
1213 '@1:Foo <- '%1:Foo ;
1214 '@2:Foo <- '%2:Foo ;
1215 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo, '%1:Foo, '%2:Foo]],
1216 '%
1217 }
1218 ==========================================
1219 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1220 'B:Foo]], 'W:Foo, '!, unbounded, 'match, 1) .
1221 rewrites: 3
1222 result NarrowingSearchPathResult: {
1223 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
1224 'A:Foo <- '#1:Foo ;
1225 'B:Foo <- '#2:Foo,
1226 {
1227 [],
1228 ',
1229 '#1:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
1230 '#2:Foo <- '@1:Foo ;
1231 'X:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo],
1232 '@,
1233 'h['f['@2:Foo, '@1:Foo, '@1:Foo]], 'Foo,
1234 'A:Foo <- 'f['@2:Foo, '@1:Foo, '@1:Foo, '@2:Foo] ;
1235 'B:Foo <- '@1:Foo
1236 },
1237 '@1:Foo <- '%2:Foo ;
1238 '@2:Foo <- '%1:Foo ;
1239 'W:Foo <- 'h['f['%1:Foo, '%2:Foo, '%2:Foo]],
1240 '%
1241 }
1242 ==========================================
1243 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1244 'B:Foo]], 'W:Foo, '!, unbounded, 'match, 2) .
1245 rewrites: 3
1246 result NarrowingSearchPathResult: {
1247 'g['f['#1:Foo, '#2:Foo, '#2:Foo]], 'Foo,
1248 'A:Foo <- '#1:Foo ;
1249 'B:Foo <- '#2:Foo,
1250 {
1251 [],
1252 ',
1253 '#1:Foo <- 'f['@1:Foo, '@1:Foo] ;
1254 '#2:Foo <- '@1:Foo ;
1255 'X:Foo <- 'f['@1:Foo, '@1:Foo],
1256 '@,
1257 'h['f['@1:Foo, '@1:Foo]], 'Foo,
1258 'A:Foo <- 'f['@1:Foo, '@1:Foo] ;
1259 'B:Foo <- '@1:Foo
1260 },
1261 '@1:Foo <- '%1:Foo ;
1262 'W:Foo <- 'h['f['%1:Foo, '%1:Foo]],
1263 '%
1264 }
1265 ==========================================
1266 reduce in META-LEVEL : metaNarrowingSearchPath(['BAR], 'g['f['A:Foo, 'B:Foo,
1267 'B:Foo]], 'W:Foo, '!, unbounded, 'match, 3) .
1268 rewrites: 3
1269 result NarrowingSearchPathResult?: (
1270 failureIncomplete).NarrowingSearchPathResult?
1271 ==========================================
1272 reduce in META-LEVEL : metaNarrowingSearch(['BAZ], 'g['j['A:Foo, 'B:Foo]],
1273 'C:Foo, '!, unbounded, 'none, 0) .
1274 rewrites: 12
1275 result NarrowingSearchResult: {
1276 'h['h['%1:Foo]], 'Foo,
1277 'A:Foo <- 'f['k['%2:Foo, 'f['k['%1:Foo, '%1:Foo]]]] ;
1278 'B:Foo <- 'k['%1:Foo, '%1:Foo],
1279 '%,
1280 '%1:Foo <- '@1:Foo ;
1281 'C:Foo <- 'h['h['@1:Foo]],
1282 '@
1283 }
1284 ==========================================
1285 reduce in META-LEVEL : metaNarrowingSearch(['BAZ], 'g['j['A:Foo, 'B:Foo]],
1286 'C:Foo, '!, unbounded, 'none, 1) .
1287 rewrites: 3
1288 result NarrowingSearchResult: {
1289 'h['h['%1:Foo]], 'Foo,
1290 'A:Foo <- 'f['k['%2:Foo, 'h['%1:Foo]]] ;
1291 'B:Foo <- 'k['%1:Foo, '%1:Foo],
1292 '%,
1293 '%1:Foo <- '@1:Foo ;
1294 'C:Foo <- 'h['h['@1:Foo]],
1295 '@
1296 }
1297 ==========================================
1298 reduce in META-LEVEL : metaNarrowingSearch(['BAZ], 'g['j['A:Foo, 'B:Foo]],
1299 'C:Foo, '!, unbounded, 'none, 2) .
1300 rewrites: 3
1301 result NarrowingSearchResult?: (failure).NarrowingSearchResult?
1302 ==========================================
1303 reduce in META-LEVEL : metaNarrowingSearch(['BAZ], 'g['j['A:Foo, 'B:Foo]],
1304 'C:Foo, '!, unbounded, 'match, 0) .
1305 rewrites: 12
1306 result NarrowingSearchResult: {
1307 'h['h['%1:Foo]], 'Foo,
1308 'A:Foo <- 'f['k['%2:Foo, 'f['k['%1:Foo, '%1:Foo]]]] ;
1309 'B:Foo <- 'k['%1:Foo, '%1:Foo],
1310 '%,
1311 '%1:Foo <- '@1:Foo ;
1312 'C:Foo <- 'h['h['@1:Foo]],
1313 '@
1314 }
1315 ==========================================
1316 reduce in META-LEVEL : metaNarrowingSearch(['BAZ], 'g['j['A:Foo, 'B:Foo]],
1317 'C:Foo, '!, unbounded, 'match, 1) .
1318 rewrites: 3
1319 result NarrowingSearchResult?: (failure).NarrowingSearchResult?
1320 ==========================================
1321 reduce in META-LEVEL : metaNarrowingSearchPath(['BAZ], 'g['j['A:Foo, 'B:Foo]],
1322 'C:Foo, '!, unbounded, 'none, 0) .
1323 rewrites: 12
1324 result NarrowingSearchPathResult: {
1325 'g['j['#1:Foo, '#2:Foo]], 'Foo,
1326 'A:Foo <- '#1:Foo ;
1327 'B:Foo <- '#2:Foo,
1328 {
1329 [],
1330 ',
1331 '#1:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
1332 '#2:Foo <- '%3:Foo ;
1333 'X:Foo <- 'f['%3:Foo] ;
1334 'Y:Foo <- '%1:Foo ;
1335 'Z:Foo <- '%2:Foo,
1336 '%,
1337 'f['k['%2:Foo, 'f['%3:Foo]]], 'Foo,
1338 'A:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
1339 'B:Foo <- '%3:Foo
1340 }
1341 {
1342 [],
1343 ',
1344 '%1:Foo <- '@2:Foo ;
1345 '%2:Foo <- 'f['@1:Foo] ;
1346 '%3:Foo <- '@1:Foo ;
1347 'X:Foo <- 'f['@1:Foo],
1348 '@,
1349 'h['f['@1:Foo]], 'Foo,
1350 'A:Foo <- 'f['k['@2:Foo, 'f['@1:Foo]]] ;
1351 'B:Foo <- '@1:Foo
1352 }
1353 {
1354 'h[[]],
1355 ',
1356 '@1:Foo <- 'k['%1:Foo, '%1:Foo] ;
1357 '@2:Foo <- '%2:Foo ;
1358 'X:Foo <- '%1:Foo,
1359 '%,
1360 'h['h['%1:Foo]], 'Foo,
1361 'A:Foo <- 'f['k['%2:Foo, 'f['k['%1:Foo, '%1:Foo]]]] ;
1362 'B:Foo <- 'k['%1:Foo, '%1:Foo]
1363 },
1364 '%1:Foo <- '@1:Foo ;
1365 'C:Foo <- 'h['h['@1:Foo]],
1366 '@
1367 }
1368 ==========================================
1369 reduce in META-LEVEL : metaNarrowingSearchPath(['BAZ], 'g['j['A:Foo, 'B:Foo]],
1370 'C:Foo, '!, unbounded, 'none, 1) .
1371 rewrites: 3
1372 result NarrowingSearchPathResult: {
1373 'g['j['#1:Foo, '#2:Foo]], 'Foo,
1374 'A:Foo <- '#1:Foo ;
1375 'B:Foo <- '#2:Foo,
1376 {
1377 [],
1378 ',
1379 '#1:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
1380 '#2:Foo <- '%3:Foo ;
1381 'X:Foo <- 'f['%3:Foo] ;
1382 'Y:Foo <- '%1:Foo ;
1383 'Z:Foo <- '%2:Foo,
1384 '%,
1385 'f['k['%2:Foo, 'f['%3:Foo]]], 'Foo,
1386 'A:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
1387 'B:Foo <- '%3:Foo
1388 }
1389 {
1390 'f['k['%2:Foo, []]],
1391 ',
1392 '%1:Foo <- '@3:Foo ;
1393 '%2:Foo <- '@2:Foo ;
1394 '%3:Foo <- 'k['@1:Foo, '@1:Foo] ;
1395 'X:Foo <- '@1:Foo,
1396 '@,
1397 'f['k['@2:Foo, 'h['@1:Foo]]], 'Foo,
1398 'A:Foo <- 'f['k['@3:Foo, '@2:Foo]] ;
1399 'B:Foo <- 'k['@1:Foo, '@1:Foo]
1400 }
1401 {
1402 [],
1403 ',
1404 '@1:Foo <- '%1:Foo ;
1405 '@2:Foo <- 'h['%1:Foo] ;
1406 '@3:Foo <- '%2:Foo ;
1407 'X:Foo <- 'h['%1:Foo],
1408 '%,
1409 'h['h['%1:Foo]], 'Foo,
1410 'A:Foo <- 'f['k['%2:Foo, 'h['%1:Foo]]] ;
1411 'B:Foo <- 'k['%1:Foo, '%1:Foo]
1412 },
1413 '%1:Foo <- '@1:Foo ;
1414 'C:Foo <- 'h['h['@1:Foo]],
1415 '@
1416 }
1417 ==========================================
1418 reduce in META-LEVEL : metaNarrowingSearchPath(['BAZ], 'g['j['A:Foo, 'B:Foo]],
1419 'C:Foo, '!, unbounded, 'none, 2) .
1420 rewrites: 3
1421 result NarrowingSearchPathResult?: (failure).NarrowingSearchPathResult?
1422 ==========================================
1423 reduce in META-LEVEL : metaNarrowingSearchPath(['BAZ], 'g['j['A:Foo, 'B:Foo]],
1424 'C:Foo, '!, unbounded, 'match, 0) .
1425 rewrites: 12
1426 result NarrowingSearchPathResult: {
1427 'g['j['#1:Foo, '#2:Foo]], 'Foo,
1428 'A:Foo <- '#1:Foo ;
1429 'B:Foo <- '#2:Foo,
1430 {
1431 [],
1432 ',
1433 '#1:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
1434 '#2:Foo <- '%3:Foo ;
1435 'X:Foo <- 'f['%3:Foo] ;
1436 'Y:Foo <- '%1:Foo ;
1437 'Z:Foo <- '%2:Foo,
1438 '%,
1439 'f['k['%2:Foo, 'f['%3:Foo]]], 'Foo,
1440 'A:Foo <- 'f['k['%1:Foo, '%2:Foo]] ;
1441 'B:Foo <- '%3:Foo
1442 }
1443 {
1444 [],
1445 ',
1446 '%1:Foo <- '@2:Foo ;
1447 '%2:Foo <- 'f['@1:Foo] ;
1448 '%3:Foo <- '@1:Foo ;
1449 'X:Foo <- 'f['@1:Foo],
1450 '@,
1451 'h['f['@1:Foo]], 'Foo,
1452 'A:Foo <- 'f['k['@2:Foo, 'f['@1:Foo]]] ;
1453 'B:Foo <- '@1:Foo
1454 }
1455 {
1456 'h[[]],
1457 ',
1458 '@1:Foo <- 'k['%1:Foo, '%1:Foo] ;
1459 '@2:Foo <- '%2:Foo ;
1460 'X:Foo <- '%1:Foo,
1461 '%,
1462 'h['h['%1:Foo]], 'Foo,
1463 'A:Foo <- 'f['k['%2:Foo, 'f['k['%1:Foo, '%1:Foo]]]] ;
1464 'B:Foo <- 'k['%1:Foo, '%1:Foo]
1465 },
1466 '%1:Foo <- '@1:Foo ;
1467 'C:Foo <- 'h['h['@1:Foo]],
1468 '@
1469 }
1470 ==========================================
1471 reduce in META-LEVEL : metaNarrowingSearchPath(['BAZ], 'g['j['A:Foo, 'B:Foo]],
1472 'C:Foo, '!, unbounded, 'match, 1) .
1473 rewrites: 3
1474 result NarrowingSearchPathResult?: (failure).NarrowingSearchPathResult?
1475 Bye.