-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.txt
521 lines (517 loc) · 33.1 KB
/
output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
给定事实如下:
1: ~kill(A,A)
2: kill(A,A),kill(B,A),kill(C,A)
3: hate(x,y),~kill(x,y)
4: ~hate(A,x),~hate(C,x)
5: hate(A,A)
6: hate(A,C)
7: hate(B,x),richer(x,A)
8: hate(B,x),~hate(A,x)
9: ~hate(x,A),~hate(x,B),~hate(x,C)
10: ~kill(x,y),~richer(x,y)
11: ~richer(x,y),~richer(y,x)
12: ~richer(x,x)
开始归结:
0: ~kill(A,A) F=0
1: kill(A,A),kill(B,A),kill(C,A) F=0
2: hate(x,y),~kill(x,y) F=0
3: ~hate(A,x),~hate(C,x) F=0
4: hate(A,A) F=0
5: hate(A,C) F=0
6: hate(B,x),richer(x,A) F=0
7: hate(B,x),~hate(A,x) F=0
8: ~hate(x,A),~hate(x,B),~hate(x,C) F=0
9: ~kill(x,y),~richer(x,y) F=0
10: ~richer(x,y),~richer(y,x) F=0
11: ~richer(x,x) F=0
12: kill(B,A),kill(C,A) F=2 father1:0 father2:1
13: hate(A,y),~kill(A,y) F=1 father:2 {x/A}
14: hate(B,y),~kill(B,y) F=1 father:2 {x/B}
15: hate(C,y),~kill(C,y) F=1 father:2 {x/C}
16: hate(x,A),~kill(x,A) F=1 father:2 {y/A}
17: hate(x,B),~kill(x,B) F=1 father:2 {y/B}
18: hate(x,C),~kill(x,C) F=1 father:2 {y/C}
19: ~hate(A,A),~hate(C,A) F=1 father:3 {x/A}
20: ~hate(A,B),~hate(C,B) F=1 father:3 {x/B}
21: ~hate(A,C),~hate(C,C) F=1 father:3 {x/C}
22: hate(B,A),richer(A,A) F=1 father:6 {x/A}
23: hate(B,B),richer(B,A) F=1 father:6 {x/B}
24: hate(B,C),richer(C,A) F=1 father:6 {x/C}
25: hate(B,A),~hate(A,A) F=1 father:7 {x/A}
26: hate(B,B),~hate(A,B) F=1 father:7 {x/B}
27: hate(B,C),~hate(A,C) F=1 father:7 {x/C}
28: ~hate(A,A),~hate(A,B),~hate(A,C) F=1 father:8 {x/A}
29: ~hate(B,A),~hate(B,B),~hate(B,C) F=1 father:8 {x/B}
30: ~hate(C,A),~hate(C,B),~hate(C,C) F=1 father:8 {x/C}
31: ~kill(A,y),~richer(A,y) F=1 father:9 {x/A}
32: ~kill(B,y),~richer(B,y) F=1 father:9 {x/B}
33: ~kill(C,y),~richer(C,y) F=1 father:9 {x/C}
34: ~kill(x,A),~richer(x,A) F=1 father:9 {y/A}
35: ~kill(x,B),~richer(x,B) F=1 father:9 {y/B}
36: ~kill(x,C),~richer(x,C) F=1 father:9 {y/C}
37: ~richer(A,y),~richer(y,A) F=1 father:10 {x/A}
38: ~richer(B,y),~richer(y,B) F=1 father:10 {x/B}
39: ~richer(C,y),~richer(y,C) F=1 father:10 {x/C}
40: ~richer(x,A),~richer(A,x) F=1 father:10 {y/A}
41: ~richer(x,B),~richer(B,x) F=1 father:10 {y/B}
42: ~richer(x,C),~richer(C,x) F=1 father:10 {y/C}
43: ~richer(A,A) F=1 father:11 {x/A}
44: ~richer(B,B) F=1 father:11 {x/B}
45: ~richer(C,C) F=1 father:11 {x/C}
46: ~kill(A,x),~hate(C,x) F=2 father1:3 father2:13
47: hate(B,x),~kill(A,x) F=2 father1:7 father2:13
48: hate(A,A),~kill(A,A) F=1 father:13 {y/A}
49: hate(A,B),~kill(A,B) F=1 father:13 {y/B}
50: hate(A,C),~kill(A,C) F=1 father:13 {y/C}
51: hate(B,A),~kill(B,A) F=1 father:14 {y/A}
52: hate(B,B),~kill(B,B) F=1 father:14 {y/B}
53: hate(B,C),~kill(B,C) F=1 father:14 {y/C}
54: ~kill(C,x),~hate(A,x) F=2 father1:3 father2:15
55: hate(C,A),~kill(C,A) F=1 father:15 {y/A}
56: hate(C,B),~kill(C,B) F=1 father:15 {y/B}
57: hate(C,C),~kill(C,C) F=1 father:15 {y/C}
58: ~kill(x,A),~hate(x,B),~hate(x,C) F=2 father1:8 father2:16
59: ~kill(x,B),~hate(x,A),~hate(x,C) F=2 father1:8 father2:17
60: ~kill(x,C),~hate(x,A),~hate(x,B) F=2 father1:8 father2:18
61: ~hate(C,A) F=2 father1:4 father2:19
62: ~hate(C,C) F=2 father1:5 father2:21
63: hate(B,A) F=2 father1:4 father2:25
64: hate(B,C) F=2 father1:5 father2:27
65: ~hate(A,B),~hate(A,C) F=2 father1:4 father2:28
66: ~hate(A,A),~hate(A,B) F=2 father1:5 father2:28
67: richer(A,A),~hate(B,B),~hate(B,C) F=2 father1:22 father2:29
68: richer(B,A),~hate(B,A),~hate(B,C) F=2 father1:23 father2:29
69: richer(C,A),~hate(B,A),~hate(B,B) F=2 father1:24 father2:29
70: ~hate(A,A),~hate(B,B),~hate(B,C) F=2 father1:25 father2:29
71: ~hate(A,B),~hate(B,A),~hate(B,C) F=2 father1:26 father2:29
72: ~hate(A,C),~hate(B,A),~hate(B,B) F=2 father1:27 father2:29
73: ~kill(A,A),~richer(A,A) F=1 father:31 {y/A}
74: ~kill(A,B),~richer(A,B) F=1 father:31 {y/B}
75: ~kill(A,C),~richer(A,C) F=1 father:31 {y/C}
76: ~kill(B,A),~richer(B,A) F=1 father:32 {y/A}
77: ~kill(B,B),~richer(B,B) F=1 father:32 {y/B}
78: ~kill(B,C),~richer(B,C) F=1 father:32 {y/C}
79: ~kill(C,A),~richer(C,A) F=1 father:33 {y/A}
80: ~kill(C,B),~richer(C,B) F=1 father:33 {y/B}
81: ~kill(C,C),~richer(C,C) F=1 father:33 {y/C}
82: hate(B,x),~kill(x,A) F=2 father1:6 father2:34
83: hate(B,x),~richer(A,x) F=2 father1:6 father2:37
84: ~richer(A,A),~richer(A,A) F=1 father:37 {y/A}
85: ~richer(A,B),~richer(B,A) F=1 father:37 {y/B}
86: ~richer(A,C),~richer(C,A) F=1 father:37 {y/C}
87: ~richer(B,A),~richer(A,B) F=1 father:38 {y/A}
88: ~richer(B,B),~richer(B,B) F=1 father:38 {y/B}
89: ~richer(B,C),~richer(C,B) F=1 father:38 {y/C}
90: ~richer(C,A),~richer(A,C) F=1 father:39 {y/A}
91: ~richer(C,B),~richer(B,C) F=1 father:39 {y/B}
92: ~richer(C,C),~richer(C,C) F=1 father:39 {y/C}
93: ~kill(A,y),~kill(C,y) F=2 father1:15 father2:46
94: ~kill(A,A),~hate(C,A) F=1 father:46 {x/A}
95: ~kill(A,B),~hate(C,B) F=1 father:46 {x/B}
96: ~kill(A,C),~hate(C,C) F=1 father:46 {x/C}
97: hate(B,A),~kill(A,A) F=1 father:47 {x/A}
98: hate(B,B),~kill(A,B) F=1 father:47 {x/B}
99: hate(B,C),~kill(A,C) F=1 father:47 {x/C}
100: kill(B,A),kill(C,A),hate(A,A) F=2 father1:1 father2:48
101: ~kill(A,A),~hate(A,B),~hate(A,C) F=2 father1:28 father2:48
102: ~kill(A,B),~hate(A,A),~hate(A,C) F=2 father1:28 father2:49
103: ~kill(A,C),~hate(A,A),~hate(A,B) F=2 father1:28 father2:50
104: kill(A,A),kill(C,A),hate(B,A) F=2 father1:1 father2:51
105: kill(C,A),hate(B,A) F=2 father1:12 father2:51
106: ~kill(B,A),~hate(B,B),~hate(B,C) F=2 father1:29 father2:51
107: ~kill(B,B),~hate(B,A),~hate(B,C) F=2 father1:29 father2:52
108: ~kill(B,C),~hate(B,A),~hate(B,B) F=2 father1:29 father2:53
109: ~kill(C,A),~hate(A,A) F=1 father:54 {x/A}
110: ~kill(C,B),~hate(A,B) F=1 father:54 {x/B}
111: ~kill(C,C),~hate(A,C) F=1 father:54 {x/C}
112: kill(A,A),kill(B,A),hate(C,A) F=2 father1:1 father2:55
113: kill(B,A),hate(C,A) F=2 father1:12 father2:55
114: ~kill(C,A),~hate(C,B),~hate(C,C) F=2 father1:30 father2:55
115: ~kill(C,B),~hate(C,A),~hate(C,C) F=2 father1:30 father2:56
116: ~kill(C,C),~hate(C,A),~hate(C,B) F=2 father1:30 father2:57
117: ~kill(x,A),~kill(x,B),~hate(x,C) F=2 father1:17 father2:58
118: ~kill(x,A),~kill(x,C),~hate(x,B) F=2 father1:18 father2:58
119: ~kill(x,B),~kill(x,C),~hate(x,A) F=2 father1:18 father2:59
120: ~kill(C,A) F=2 father1:55 father2:61
121: ~kill(C,C) F=2 father1:57 father2:62
122: ~hate(B,B),~hate(B,C) F=2 father1:29 father2:63
123: ~hate(B,A),~hate(B,B) F=2 father1:29 father2:64
124: ~hate(A,B) F=2 father1:5 father2:65
125: ~kill(A,B),~hate(A,C) F=2 father1:49 father2:65
126: ~kill(A,C),~hate(A,B) F=2 father1:50 father2:65
127: ~kill(A,A),~hate(A,B) F=2 father1:48 father2:66
128: ~kill(A,B),~hate(A,A) F=2 father1:49 father2:66
129: richer(A,A),richer(B,A),~hate(B,C) F=2 father1:23 father2:67
130: richer(A,A),richer(C,A),~hate(B,B) F=2 father1:24 father2:67
131: richer(A,A),~hate(A,B),~hate(B,C) F=2 father1:26 father2:67
132: richer(A,A),~hate(A,C),~hate(B,B) F=2 father1:27 father2:67
133: richer(A,A),~kill(B,B),~hate(B,C) F=2 father1:52 father2:67
134: richer(A,A),~kill(B,C),~hate(B,B) F=2 father1:53 father2:67
135: richer(A,A),~hate(B,B) F=2 father1:64 father2:67
136: richer(B,A),richer(C,A),~hate(B,A) F=2 father1:24 father2:68
137: richer(B,A),~hate(A,A),~hate(B,C) F=2 father1:25 father2:68
138: richer(B,A),~hate(A,C),~hate(B,A) F=2 father1:27 father2:68
139: richer(B,A),~kill(B,A),~hate(B,C) F=2 father1:51 father2:68
140: richer(B,A),~kill(B,C),~hate(B,A) F=2 father1:53 father2:68
141: richer(B,A),~hate(B,C) F=2 father1:63 father2:68
142: richer(B,A),~hate(B,A) F=2 father1:64 father2:68
143: richer(C,A),~hate(A,A),~hate(B,B) F=2 father1:25 father2:69
144: richer(C,A),~hate(A,B),~hate(B,A) F=2 father1:26 father2:69
145: richer(C,A),~kill(B,A),~hate(B,B) F=2 father1:51 father2:69
146: richer(C,A),~kill(B,B),~hate(B,A) F=2 father1:52 father2:69
147: richer(C,A),~hate(B,B) F=2 father1:63 father2:69
148: ~hate(A,A),~hate(A,B),~hate(B,C) F=2 father1:26 father2:70
149: ~hate(A,A),~hate(A,C),~hate(B,B) F=2 father1:27 father2:70
150: ~kill(A,A),~hate(B,B),~hate(B,C) F=2 father1:48 father2:70
151: ~kill(B,B),~hate(A,A),~hate(B,C) F=2 father1:52 father2:70
152: ~kill(B,C),~hate(A,A),~hate(B,B) F=2 father1:53 father2:70
153: ~hate(A,A),~hate(B,B) F=2 father1:64 father2:70
154: ~hate(A,B),~hate(A,C),~hate(B,A) F=2 father1:27 father2:71
155: ~kill(A,B),~hate(B,A),~hate(B,C) F=2 father1:49 father2:71
156: ~kill(B,A),~hate(A,B),~hate(B,C) F=2 father1:51 father2:71
157: ~kill(B,C),~hate(A,B),~hate(B,A) F=2 father1:53 father2:71
158: ~hate(A,B),~hate(B,C) F=2 father1:63 father2:71
159: ~hate(A,B),~hate(B,A) F=2 father1:64 father2:71
160: ~kill(A,C),~hate(B,A),~hate(B,B) F=2 father1:50 father2:72
161: ~kill(B,A),~hate(A,C),~hate(B,B) F=2 father1:51 father2:72
162: ~kill(B,B),~hate(A,C),~hate(B,A) F=2 father1:52 father2:72
163: ~hate(A,C),~hate(B,B) F=2 father1:63 father2:72
164: kill(B,A),kill(C,A),~richer(A,A) F=2 father1:1 father2:73
165: kill(A,A),kill(C,A),~richer(B,A) F=2 father1:1 father2:76
166: kill(C,A),~richer(B,A) F=2 father1:12 father2:76
167: hate(B,B),~kill(B,A) F=2 father1:23 father2:76
168: ~kill(B,A),~hate(B,A),~hate(B,C) F=2 father1:68 father2:76
169: kill(A,A),kill(B,A),~richer(C,A) F=2 father1:1 father2:79
170: kill(B,A),~richer(C,A) F=2 father1:12 father2:79
171: hate(B,C),~kill(C,A) F=2 father1:24 father2:79
172: ~kill(C,A),~hate(B,A),~hate(B,B) F=2 father1:69 father2:79
173: hate(B,A),~richer(A,A) F=1 father:83 {x/A}
174: hate(B,B),~richer(A,B) F=1 father:83 {x/B}
175: hate(B,C),~richer(A,C) F=1 father:83 {x/C}
176: ~hate(B,B),~hate(B,C),~richer(A,A) F=2 father1:67 father2:84
177: ~hate(B,A),~hate(B,C),~richer(A,B) F=2 father1:68 father2:85
178: ~hate(B,A),~hate(B,B),~richer(A,C) F=2 father1:69 father2:86
179: ~kill(A,A),~kill(C,A) F=1 father:93 {y/A}
180: ~kill(A,B),~kill(C,B) F=1 father:93 {y/B}
181: ~kill(A,C),~kill(C,C) F=1 father:93 {y/C}
182: kill(B,A),kill(C,A),~hate(C,A) F=2 father1:1 father2:94
183: kill(B,A),kill(C,A),hate(B,A) F=2 father1:1 father2:97
184: richer(B,A),~kill(A,A),~hate(B,C) F=2 father1:68 father2:97
185: richer(C,A),~kill(A,A),~hate(B,B) F=2 father1:69 father2:97
186: ~kill(A,A),~hate(A,B),~hate(B,C) F=2 father1:71 father2:97
187: ~kill(A,A),~hate(A,C),~hate(B,B) F=2 father1:72 father2:97
188: richer(A,A),~kill(A,B),~hate(B,C) F=2 father1:67 father2:98
189: richer(C,A),~kill(A,B),~hate(B,A) F=2 father1:69 father2:98
190: ~kill(A,B),~hate(A,A),~hate(B,C) F=2 father1:70 father2:98
191: ~kill(A,B),~hate(A,C),~hate(B,A) F=2 father1:72 father2:98
192: richer(A,A),~kill(A,C),~hate(B,B) F=2 father1:67 father2:99
193: richer(B,A),~kill(A,C),~hate(B,A) F=2 father1:68 father2:99
194: ~kill(A,C),~hate(A,A),~hate(B,B) F=2 father1:70 father2:99
195: ~kill(A,C),~hate(A,B),~hate(B,A) F=2 father1:71 father2:99
196: kill(B,A),kill(C,A),~hate(A,B),~hate(A,C) F=2 father1:28 father2:100
197: kill(C,A),hate(A,A),hate(B,A) F=2 father1:51 father2:100
198: kill(B,A),hate(A,A),hate(C,A) F=2 father1:55 father2:100
199: kill(B,A),kill(C,A),~hate(A,B) F=2 father1:66 father2:100
200: kill(B,A),kill(C,A),~hate(B,B),~hate(B,C) F=2 father1:70 father2:100
201: kill(C,A),hate(A,A),~richer(B,A) F=2 father1:76 father2:100
202: kill(B,A),hate(A,A),~richer(C,A) F=2 father1:79 father2:100
203: ~kill(A,A),~kill(A,B),~hate(A,C) F=2 father1:49 father2:101
204: ~kill(A,A),~kill(A,C),~hate(A,B) F=2 father1:50 father2:101
205: ~kill(A,B),~kill(A,C),~hate(A,A) F=2 father1:50 father2:102
206: kill(B,A),kill(C,A),~kill(A,B),~hate(A,C) F=2 father1:100 father2:102
207: kill(B,A),kill(C,A),~kill(A,C),~hate(A,B) F=2 father1:100 father2:103
208: kill(A,A),kill(C,A),~hate(B,B),~hate(B,C) F=2 father1:29 father2:104
209: kill(A,A),hate(B,A),hate(C,A) F=2 father1:55 father2:104
210: kill(A,A),kill(C,A),richer(B,A),~hate(B,C) F=2 father1:68 father2:104
211: kill(A,A),kill(C,A),richer(C,A),~hate(B,B) F=2 father1:69 father2:104
212: kill(A,A),kill(C,A),~hate(A,B),~hate(B,C) F=2 father1:71 father2:104
213: kill(A,A),kill(C,A),~hate(A,C),~hate(B,B) F=2 father1:72 father2:104
214: kill(C,A),hate(B,A),~richer(A,A) F=2 father1:73 father2:104
215: kill(A,A),hate(B,A),~richer(C,A) F=2 father1:79 father2:104
216: kill(C,A),hate(B,A),~hate(C,A) F=2 father1:94 father2:104
217: kill(C,A),hate(B,A),hate(B,A) F=2 father1:97 father2:104
218: kill(C,A),hate(B,A),~hate(A,B),~hate(A,C) F=2 father1:101 father2:104
219: kill(C,A),~hate(B,B),~hate(B,C) F=2 father1:29 father2:105
220: hate(B,A),hate(C,A) F=2 father1:55 father2:105
221: kill(C,A),richer(B,A),~hate(B,C) F=2 father1:68 father2:105
222: kill(C,A),richer(C,A),~hate(B,B) F=2 father1:69 father2:105
223: kill(C,A),~hate(A,B),~hate(B,C) F=2 father1:71 father2:105
224: kill(C,A),~hate(A,C),~hate(B,B) F=2 father1:72 father2:105
225: hate(B,A),~richer(C,A) F=2 father1:79 father2:105
226: ~kill(B,A),~kill(B,B),~hate(B,C) F=2 father1:52 father2:106
227: ~kill(B,A),~kill(B,C),~hate(B,B) F=2 father1:53 father2:106
228: ~kill(B,A),~hate(B,B) F=2 father1:64 father2:106
229: ~kill(A,B),~kill(B,A),~hate(B,C) F=2 father1:98 father2:106
230: ~kill(A,C),~kill(B,A),~hate(B,B) F=2 father1:99 father2:106
231: kill(C,A),hate(A,A),~hate(B,B),~hate(B,C) F=2 father1:100 father2:106
232: ~kill(B,B),~kill(B,C),~hate(B,A) F=2 father1:53 father2:107
233: ~kill(B,B),~hate(B,C) F=2 father1:63 father2:107
234: ~kill(B,B),~hate(B,A) F=2 father1:64 father2:107
235: ~kill(A,A),~kill(B,B),~hate(B,C) F=2 father1:97 father2:107
236: ~kill(A,C),~kill(B,B),~hate(B,A) F=2 father1:99 father2:107
237: kill(A,A),kill(C,A),~kill(B,B),~hate(B,C) F=2 father1:104 father2:107
238: kill(C,A),~kill(B,B),~hate(B,C) F=2 father1:105 father2:107
239: ~kill(B,C),~hate(B,B) F=2 father1:63 father2:108
240: ~kill(A,A),~kill(B,C),~hate(B,B) F=2 father1:97 father2:108
241: ~kill(A,B),~kill(B,C),~hate(B,A) F=2 father1:98 father2:108
242: kill(A,A),kill(C,A),~kill(B,C),~hate(B,B) F=2 father1:104 father2:108
243: kill(C,A),~kill(B,C),~hate(B,B) F=2 father1:105 father2:108
244: kill(A,A),kill(B,A),~hate(A,A) F=2 father1:1 father2:109
245: kill(B,A),~hate(A,A) F=2 father1:12 father2:109
246: kill(B,A),hate(A,A),~hate(A,A) F=2 father1:100 father2:109
247: kill(A,A),hate(B,A),~hate(A,A) F=2 father1:104 father2:109
248: kill(A,A),kill(B,A),~hate(C,B),~hate(C,C) F=2 father1:30 father2:112
249: kill(A,A),kill(B,A) F=2 father1:61 father2:112
250: kill(B,A),hate(C,A),~richer(A,A) F=2 father1:73 father2:112
251: kill(A,A),hate(C,A),~richer(B,A) F=2 father1:76 father2:112
252: kill(B,A),hate(C,A),~hate(C,A) F=2 father1:94 father2:112
253: kill(B,A),hate(B,A),hate(C,A) F=2 father1:97 father2:112
254: kill(B,A),hate(C,A),~hate(A,B),~hate(A,C) F=2 father1:101 father2:112
255: kill(A,A),hate(C,A),~hate(B,B),~hate(B,C) F=2 father1:106 father2:112
256: kill(B,A),~hate(C,B),~hate(C,C) F=2 father1:30 father2:113
257: kill(B,A) F=2 father1:61 father2:113
258: hate(C,A),~richer(B,A) F=2 father1:76 father2:113
259: kill(B,A),~kill(A,A) F=2 father1:94 father2:113
260: hate(C,A),~hate(B,B),~hate(B,C) F=2 father1:106 father2:113
261: ~kill(C,A),~kill(C,B),~hate(C,C) F=2 father1:56 father2:114
262: ~kill(C,A),~kill(C,C),~hate(C,B) F=2 father1:57 father2:114
263: kill(B,A),hate(A,A),~hate(C,B),~hate(C,C) F=2 father1:100 father2:114
264: kill(A,A),hate(B,A),~hate(C,B),~hate(C,C) F=2 father1:104 father2:114
265: hate(B,A),~hate(C,B),~hate(C,C) F=2 father1:105 father2:114
266: ~kill(C,B),~kill(C,C),~hate(C,A) F=2 father1:57 father2:115
267: kill(A,A),kill(B,A),~kill(C,B),~hate(C,C) F=2 father1:112 father2:115
268: kill(B,A),~kill(C,B),~hate(C,C) F=2 father1:113 father2:115
269: kill(A,A),kill(B,A),~kill(C,C),~hate(C,B) F=2 father1:112 father2:116
270: kill(B,A),~kill(C,C),~hate(C,B) F=2 father1:113 father2:116
271: ~kill(x,A),~kill(x,B),~kill(x,C) F=2 father1:18 father2:117
272: kill(B,A),hate(A,A) F=2 father1:100 father2:120
273: kill(A,A),hate(B,A) F=2 father1:104 father2:120
274: ~hate(B,B) F=2 father1:64 father2:122
275: ~kill(A,B),~hate(B,C) F=2 father1:98 father2:122
276: ~kill(A,C),~hate(B,B) F=2 father1:99 father2:122
277: ~kill(A,A),~hate(B,B) F=2 father1:97 father2:123
278: ~kill(A,B),~hate(B,A) F=2 father1:98 father2:123
279: kill(A,A),kill(C,A),~hate(B,B) F=2 father1:104 father2:123
280: kill(C,A),~hate(B,B) F=2 father1:105 father2:123
281: ~kill(A,B) F=2 father1:49 father2:124
282: ~kill(A,B),~kill(A,C) F=2 father1:50 father2:125
283: ~kill(A,A),~kill(A,B) F=2 father1:49 father2:127
284: kill(C,A),hate(B,A),~hate(A,B) F=2 father1:104 father2:127
285: kill(B,A),hate(C,A),~hate(A,B) F=2 father1:112 father2:127
286: kill(B,A),kill(C,A),~kill(A,B) F=2 father1:100 father2:128
287: richer(A,A),richer(B,A),richer(C,A) F=2 father1:24 father2:129
288: richer(A,A),richer(B,A),~hate(A,C) F=2 father1:27 father2:129
289: richer(A,A),richer(B,A),~kill(B,C) F=2 father1:53 father2:129
290: richer(A,A),richer(B,A) F=2 father1:64 father2:129
291: richer(A,A),~kill(B,A),~hate(B,C) F=2 father1:76 father2:129
292: richer(B,A),~hate(B,C),~richer(A,A) F=2 father1:84 father2:129
293: richer(A,A),~hate(B,C),~richer(A,B) F=2 father1:85 father2:129
294: richer(A,A),richer(B,A),~kill(A,C) F=2 father1:99 father2:129
295: richer(A,A),richer(C,A),~hate(A,B) F=2 father1:26 father2:130
296: richer(A,A),richer(C,A),~kill(B,B) F=2 father1:52 father2:130
297: richer(A,A),~kill(C,A),~hate(B,B) F=2 father1:79 father2:130
298: richer(C,A),~hate(B,B),~richer(A,A) F=2 father1:84 father2:130
299: richer(A,A),~hate(B,B),~richer(A,C) F=2 father1:86 father2:130
300: richer(A,A),richer(C,A),~kill(A,B) F=2 father1:98 father2:130
301: richer(A,A),~hate(A,B),~hate(A,C) F=2 father1:27 father2:131
302: richer(A,A),~kill(B,C),~hate(A,B) F=2 father1:53 father2:131
303: richer(A,A),~hate(A,B) F=2 father1:64 father2:131
304: ~hate(A,B),~hate(B,C),~richer(A,A) F=2 father1:84 father2:131
305: richer(A,A),~kill(A,C),~hate(A,B) F=2 father1:99 father2:131
306: richer(A,A),~kill(B,B),~hate(A,C) F=2 father1:52 father2:132
307: ~hate(A,C),~hate(B,B),~richer(A,A) F=2 father1:84 father2:132
308: richer(A,A),~kill(A,B),~hate(A,C) F=2 father1:98 father2:132
309: richer(A,A),~kill(B,B),~kill(B,C) F=2 father1:53 father2:133
310: richer(A,A),~kill(B,B) F=2 father1:64 father2:133
311: ~kill(B,B),~hate(B,C),~richer(A,A) F=2 father1:84 father2:133
312: richer(A,A),~kill(A,C),~kill(B,B) F=2 father1:99 father2:133
313: ~kill(B,C),~hate(B,B),~richer(A,A) F=2 father1:84 father2:134
314: richer(A,A),~kill(A,B),~kill(B,C) F=2 father1:98 father2:134
315: ~hate(B,B),~richer(A,A) F=2 father1:84 father2:135
316: richer(A,A),~kill(A,B) F=2 father1:98 father2:135
317: richer(B,A),richer(C,A),~hate(A,A) F=2 father1:25 father2:136
318: richer(B,A),richer(C,A),~kill(B,A) F=2 father1:51 father2:136
319: richer(B,A),richer(C,A) F=2 father1:63 father2:136
320: richer(C,A),~kill(B,A),~hate(B,A) F=2 father1:76 father2:136
321: richer(B,A),~kill(C,A),~hate(B,A) F=2 father1:79 father2:136
322: richer(C,A),~hate(B,A),~richer(A,B) F=2 father1:85 father2:136
323: richer(B,A),~hate(B,A),~richer(A,C) F=2 father1:86 father2:136
324: richer(B,A),richer(C,A),~kill(A,A) F=2 father1:97 father2:136
325: kill(A,A),kill(C,A),richer(B,A),richer(C,A) F=2 father1:104 father2:136
326: kill(C,A),richer(B,A),richer(C,A) F=2 father1:105 father2:136
327: richer(B,A),~hate(A,A),~hate(A,C) F=2 father1:27 father2:137
328: richer(B,A),~kill(B,C),~hate(A,A) F=2 father1:53 father2:137
329: richer(B,A),~hate(A,A) F=2 father1:64 father2:137
330: ~kill(B,A),~hate(A,A),~hate(B,C) F=2 father1:76 father2:137
331: ~hate(A,A),~hate(B,C),~richer(A,B) F=2 father1:85 father2:137
332: richer(B,A),~kill(A,C),~hate(A,A) F=2 father1:99 father2:137
333: kill(B,A),kill(C,A),richer(B,A),~hate(B,C) F=2 father1:100 father2:137
334: richer(B,A),~kill(B,A),~hate(A,C) F=2 father1:51 father2:138
335: richer(B,A),~hate(A,C) F=2 father1:63 father2:138
336: ~kill(B,A),~hate(A,C),~hate(B,A) F=2 father1:76 father2:138
337: ~hate(A,C),~hate(B,A),~richer(A,B) F=2 father1:85 father2:138
338: richer(B,A),~kill(A,A),~hate(A,C) F=2 father1:97 father2:138
339: kill(A,A),kill(C,A),richer(B,A),~hate(A,C) F=2 father1:104 father2:138
340: kill(C,A),richer(B,A),~hate(A,C) F=2 father1:105 father2:138
341: richer(B,A),~kill(B,A),~kill(B,C) F=2 father1:53 father2:139
342: richer(B,A),~kill(B,A) F=2 father1:64 father2:139
343: ~kill(B,A),~kill(B,A),~hate(B,C) F=2 father1:76 father2:139
344: ~kill(B,A),~hate(B,C),~richer(A,B) F=2 father1:85 father2:139
345: richer(B,A),~kill(A,C),~kill(B,A) F=2 father1:99 father2:139
346: kill(C,A),hate(A,A),richer(B,A),~hate(B,C) F=2 father1:100 father2:139
347: kill(A,A),hate(C,A),richer(B,A),~hate(B,C) F=2 father1:112 father2:139
348: hate(C,A),richer(B,A),~hate(B,C) F=2 father1:113 father2:139
349: richer(B,A),~kill(B,C) F=2 father1:63 father2:140
350: ~kill(B,A),~kill(B,C),~hate(B,A) F=2 father1:76 father2:140
351: ~kill(B,C),~hate(B,A),~richer(A,B) F=2 father1:85 father2:140
352: richer(B,A),~kill(A,A),~kill(B,C) F=2 father1:97 father2:140
353: kill(A,A),kill(C,A),richer(B,A),~kill(B,C) F=2 father1:104 father2:140
354: kill(C,A),richer(B,A),~kill(B,C) F=2 father1:105 father2:140
355: richer(B,A) F=2 father1:64 father2:141
356: ~kill(B,A),~hate(B,C) F=2 father1:76 father2:141
357: ~hate(B,C),~richer(A,B) F=2 father1:85 father2:141
358: richer(B,A),~kill(A,C) F=2 father1:99 father2:141
359: ~kill(B,A),~hate(B,A) F=2 father1:76 father2:142
360: ~hate(B,A),~richer(A,B) F=2 father1:85 father2:142
361: richer(B,A),~kill(A,A) F=2 father1:97 father2:142
362: kill(A,A),kill(C,A),richer(B,A) F=2 father1:104 father2:142
363: kill(C,A),richer(B,A) F=2 father1:105 father2:142
364: richer(C,A),~hate(A,A),~hate(A,B) F=2 father1:26 father2:143
365: richer(C,A),~kill(B,B),~hate(A,A) F=2 father1:52 father2:143
366: ~kill(C,A),~hate(A,A),~hate(B,B) F=2 father1:79 father2:143
367: ~hate(A,A),~hate(B,B),~richer(A,C) F=2 father1:86 father2:143
368: richer(C,A),~kill(A,B),~hate(A,A) F=2 father1:98 father2:143
369: kill(B,A),kill(C,A),richer(C,A),~hate(B,B) F=2 father1:100 father2:143
370: richer(C,A),~kill(B,A),~hate(A,B) F=2 father1:51 father2:144
371: richer(C,A),~hate(A,B) F=2 father1:63 father2:144
372: ~kill(C,A),~hate(A,B),~hate(B,A) F=2 father1:79 father2:144
373: ~hate(A,B),~hate(B,A),~richer(A,C) F=2 father1:86 father2:144
374: richer(C,A),~kill(A,A),~hate(A,B) F=2 father1:97 father2:144
375: kill(A,A),kill(C,A),richer(C,A),~hate(A,B) F=2 father1:104 father2:144
376: kill(C,A),richer(C,A),~hate(A,B) F=2 father1:105 father2:144
377: richer(C,A),~kill(B,A),~kill(B,B) F=2 father1:52 father2:145
378: ~kill(B,A),~kill(C,A),~hate(B,B) F=2 father1:79 father2:145
379: ~kill(B,A),~hate(B,B),~richer(A,C) F=2 father1:86 father2:145
380: richer(C,A),~kill(A,B),~kill(B,A) F=2 father1:98 father2:145
381: kill(C,A),hate(A,A),richer(C,A),~hate(B,B) F=2 father1:100 father2:145
382: kill(A,A),hate(C,A),richer(C,A),~hate(B,B) F=2 father1:112 father2:145
383: hate(C,A),richer(C,A),~hate(B,B) F=2 father1:113 father2:145
384: richer(C,A),~kill(B,B) F=2 father1:63 father2:146
385: ~kill(B,B),~kill(C,A),~hate(B,A) F=2 father1:79 father2:146
386: ~kill(B,B),~hate(B,A),~richer(A,C) F=2 father1:86 father2:146
387: richer(C,A),~kill(A,A),~kill(B,B) F=2 father1:97 father2:146
388: kill(A,A),kill(C,A),richer(C,A),~kill(B,B) F=2 father1:104 father2:146
389: kill(C,A),richer(C,A),~kill(B,B) F=2 father1:105 father2:146
390: ~kill(C,A),~hate(B,B) F=2 father1:79 father2:147
391: ~hate(B,B),~richer(A,C) F=2 father1:86 father2:147
392: richer(C,A),~kill(A,B) F=2 father1:98 father2:147
393: ~kill(B,C),~hate(A,A),~hate(A,B) F=2 father1:53 father2:148
394: kill(B,A),kill(C,A),~hate(A,B),~hate(B,C) F=2 father1:100 father2:148
395: ~kill(B,B),~hate(A,A),~hate(A,C) F=2 father1:52 father2:149
396: kill(B,A),kill(C,A),~hate(A,C),~hate(B,B) F=2 father1:100 father2:149
397: ~kill(A,A),~kill(A,B),~hate(B,C) F=2 father1:98 father2:150
398: ~kill(A,A),~kill(A,C),~hate(B,B) F=2 father1:99 father2:150
399: kill(C,A),hate(B,A),~hate(B,B),~hate(B,C) F=2 father1:104 father2:150
400: kill(B,A),hate(C,A),~hate(B,B),~hate(B,C) F=2 father1:112 father2:150
401: ~kill(B,B),~kill(B,C),~hate(A,A) F=2 father1:53 father2:151
402: ~kill(B,B),~hate(A,A) F=2 father1:64 father2:151
403: ~kill(A,C),~kill(B,B),~hate(A,A) F=2 father1:99 father2:151
404: kill(B,A),kill(C,A),~kill(B,B),~hate(B,C) F=2 father1:100 father2:151
405: ~kill(A,B),~kill(B,C),~hate(A,A) F=2 father1:98 father2:152
406: kill(B,A),kill(C,A),~kill(B,C),~hate(B,B) F=2 father1:100 father2:152
407: kill(B,A),kill(C,A),~hate(B,B) F=2 father1:100 father2:153
408: ~kill(B,A),~hate(A,B),~hate(A,C) F=2 father1:51 father2:154
409: kill(A,A),kill(C,A),~hate(A,B),~hate(A,C) F=2 father1:104 father2:154
410: kill(C,A),~hate(A,B),~hate(A,C) F=2 father1:105 father2:154
411: ~kill(A,B),~kill(A,C),~hate(B,A) F=2 father1:99 father2:155
412: kill(A,A),kill(C,A),~kill(A,B),~hate(B,C) F=2 father1:104 father2:155
413: kill(C,A),~kill(A,B),~hate(B,C) F=2 father1:105 father2:155
414: ~kill(B,A),~kill(B,C),~hate(A,B) F=2 father1:53 father2:156
415: ~kill(B,A),~hate(A,B) F=2 father1:64 father2:156
416: ~kill(A,C),~kill(B,A),~hate(A,B) F=2 father1:99 father2:156
417: kill(C,A),hate(A,A),~hate(A,B),~hate(B,C) F=2 father1:100 father2:156
418: kill(A,A),hate(C,A),~hate(A,B),~hate(B,C) F=2 father1:112 father2:156
419: hate(C,A),~hate(A,B),~hate(B,C) F=2 father1:113 father2:156
420: ~kill(B,C),~hate(A,B) F=2 father1:63 father2:157
421: ~kill(A,A),~kill(B,C),~hate(A,B) F=2 father1:97 father2:157
422: kill(A,A),kill(C,A),~kill(B,C),~hate(A,B) F=2 father1:104 father2:157
423: kill(C,A),~kill(B,C),~hate(A,B) F=2 father1:105 father2:157
424: kill(A,A),kill(C,A),~hate(A,B) F=2 father1:104 father2:159
425: kill(C,A),~hate(A,B) F=2 father1:105 father2:159
426: kill(A,A),kill(C,A),~kill(A,C),~hate(B,B) F=2 father1:104 father2:160
427: kill(C,A),~kill(A,C),~hate(B,B) F=2 father1:105 father2:160
428: ~kill(B,A),~kill(B,B),~hate(A,C) F=2 father1:52 father2:161
429: ~kill(A,B),~kill(B,A),~hate(A,C) F=2 father1:98 father2:161
430: kill(C,A),hate(A,A),~hate(A,C),~hate(B,B) F=2 father1:100 father2:161
431: kill(A,A),hate(C,A),~hate(A,C),~hate(B,B) F=2 father1:112 father2:161
432: hate(C,A),~hate(A,C),~hate(B,B) F=2 father1:113 father2:161
433: ~kill(B,B),~hate(A,C) F=2 father1:63 father2:162
434: ~kill(A,A),~kill(B,B),~hate(A,C) F=2 father1:97 father2:162
435: kill(A,A),kill(C,A),~kill(B,B),~hate(A,C) F=2 father1:104 father2:162
436: kill(C,A),~kill(B,B),~hate(A,C) F=2 father1:105 father2:162
437: kill(C,A),~richer(A,A),~richer(B,A) F=2 father1:76 father2:164
438: kill(B,A),~richer(A,A),~richer(C,A) F=2 father1:79 father2:164
439: kill(C,A),~hate(B,B),~hate(B,C),~richer(A,A) F=2 father1:106 father2:164
440: kill(B,A),~hate(A,A),~richer(A,A) F=2 father1:109 father2:164
441: kill(B,A),~hate(C,B),~hate(C,C),~richer(A,A) F=2 father1:114 father2:164
442: kill(B,A),~richer(A,A) F=2 father1:120 father2:164
443: kill(C,A),richer(B,A),~hate(B,C),~richer(A,A) F=2 father1:139 father2:164
444: kill(C,A),richer(C,A),~hate(B,B),~richer(A,A) F=2 father1:145 father2:164
445: kill(C,A),~hate(A,B),~hate(B,C),~richer(A,A) F=2 father1:156 father2:164
446: kill(C,A),~hate(A,C),~hate(B,B),~richer(A,A) F=2 father1:161 father2:164
447: kill(A,A),kill(C,A),hate(B,B) F=2 father1:23 father2:165
448: kill(A,A),kill(C,A),~hate(B,A),~hate(B,C) F=2 father1:68 father2:165
449: kill(A,A),~richer(B,A),~richer(C,A) F=2 father1:79 father2:165
450: kill(C,A),~hate(C,A),~richer(B,A) F=2 father1:94 father2:165
451: kill(C,A),hate(B,A),~richer(B,A) F=2 father1:97 father2:165
452: kill(C,A),~hate(A,B),~hate(A,C),~richer(B,A) F=2 father1:101 father2:165
453: kill(A,A),~hate(A,A),~richer(B,A) F=2 father1:109 father2:165
454: kill(A,A),~hate(C,B),~hate(C,C),~richer(B,A) F=2 father1:114 father2:165
455: kill(A,A),~richer(B,A) F=2 father1:120 father2:165
456: kill(C,A),~hate(A,B),~richer(B,A) F=2 father1:127 father2:165
457: kill(A,A),kill(C,A),richer(A,A),~hate(B,C) F=2 father1:129 father2:165
458: kill(A,A),kill(C,A),richer(C,A),~hate(B,A) F=2 father1:136 father2:165
459: kill(A,A),kill(C,A),~hate(A,A),~hate(B,C) F=2 father1:137 father2:165
460: kill(A,A),kill(C,A),~hate(A,C),~hate(B,A) F=2 father1:138 father2:165
461: kill(A,A),kill(C,A),~kill(B,A),~hate(B,C) F=2 father1:139 father2:165
462: kill(A,A),kill(C,A),~kill(B,C),~hate(B,A) F=2 father1:140 father2:165
463: kill(A,A),kill(C,A),~hate(B,C) F=2 father1:141 father2:165
464: kill(A,A),kill(C,A),~hate(B,A) F=2 father1:142 father2:165
465: kill(C,A),~hate(B,B),~hate(B,C),~richer(B,A) F=2 father1:150 father2:165
466: kill(C,A),hate(B,B) F=2 father1:23 father2:166
467: kill(C,A),~hate(B,A),~hate(B,C) F=2 father1:68 father2:166
468: ~richer(B,A),~richer(C,A) F=2 father1:79 father2:166
469: ~hate(A,A),~richer(B,A) F=2 father1:109 father2:166
470: ~hate(C,B),~hate(C,C),~richer(B,A) F=2 father1:114 father2:166
471: ~richer(B,A) F=2 father1:120 father2:166
求解过程:
(5) hate(A,C)
(7) hate(B,x),~hate(A,x)
(27) hate(B,C),~hate(A,C) (7):{x/C}
(64) hate(B,C) (5)+(27)
(4) hate(A,A)
(7) hate(B,x),~hate(A,x)
(25) hate(B,A),~hate(A,A) (7):{x/A}
(63) hate(B,A) (4)+(25)
(6) hate(B,x),richer(x,A)
(23) hate(B,B),richer(B,A) (6):{x/B}
(8) ~hate(x,A),~hate(x,B),~hate(x,C)
(29) ~hate(B,A),~hate(B,B),~hate(B,C) (8):{x/B}
(68) richer(B,A),~hate(B,A),~hate(B,C) (23)+(29)
(141) richer(B,A),~hate(B,C) (63)+(68)
(355) richer(B,A) (64)+(141)
(2) hate(x,y),~kill(x,y)
(55) hate(C,A),~kill(C,A) (2):{y/A,x/C}
(4) hate(A,A)
(3) ~hate(A,x),~hate(C,x)
(19) ~hate(A,A),~hate(C,A) (3):{x/A}
(61) ~hate(C,A) (4)+(19)
(120) ~kill(C,A) (55)+(61)
(0) ~kill(A,A)
(1) kill(A,A),kill(B,A),kill(C,A)
(12) kill(B,A),kill(C,A) (0)+(1)
(9) ~kill(x,y),~richer(x,y)
(76) ~kill(B,A),~richer(B,A) (9):{y/A,x/B}
(166) kill(C,A),~richer(B,A) (12)+(76)
(471) ~richer(B,A) (120)+(166)
(5214) (355)+(471)