1:-include(library('ec_planner/ec_test_incl')). 2:-expects_dialect(pfc). 3 % loading(always,'ectest/ec_reader_test_ecnet.e').
4%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5%; FILE: foundations/Root.e
6%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7%;
8%; Copyright (c) 2005 IBM Corporation and others.
9%; All rights reserved. This program and the accompanying materials
10%; are made available under the terms of the Common Public License v1.0
11%; which accompanies this distribution, and is available at
12%; http://www.eclipse.org/legal/cpl-v10.html
13%;
14%; Contributors:
15%; IBM - Initial implementation
16%;
17
18% sort boolean
19==> sort(boolean).
20
21% sort integer
22==> sort(integer).
23
24% reified sort predicate
25 % reified_sort(predicate).
26==> mpred_prop(predicate,reified_sort).
27
28% reified sort function
29 % reified_sort(function).
30==> mpred_prop(function,reified_sort).
31%; End of file.
32%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
33%; FILE: foundations/EC.e
34%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
35%;
36%; Copyright (c) 2005 IBM Corporation and others.
37%; All rights reserved. This program and the accompanying materials
38%; are made available under the terms of the Common Public License v1.0
39%; which accompanies this distribution, and is available at
40%; http://www.eclipse.org/legal/cpl-v10.html
41%;
42%; Contributors:
43%; IBM - Initial implementation
44%;
45%; Event Calculus (EC)
46%;
47%; @incollection{MillerShanahan:2002,
48%; author = "Rob Miller and Murray Shanahan",
49%; year = "2002",
50%; title = "Some alternative formulations of the event calculus",
51%; editor = "Antonis C. Kakas and Fariba Sadri",
52%; booktitle = "Computational Logic: Logic Programming and Beyond: Essays in Honour of \uppercase{R}obert \uppercase{A}. \uppercase{K}owalski, Part \uppercase{II}",
53%; series = "Lecture Notes in Computer Science",
54%; volume = "2408",
55%; pages = "452--490",
56%; address = "Berlin",
57%; publisher = "Springer",
58%; }
59%;
60
61% sort time: integer
62==> subsort(time,integer).
63
64% sort offset: integer
65==> subsort(offset,integer).
66
67% reified sort fluent
68 % reified_sort(fluent).
69==> mpred_prop(fluent,reified_sort).
70
71% reified sort event
72 % reified_sort(event).
73==> mpred_prop(event,reified_sort).
74
75% predicate Happens(event,time)
76 % predicate(happens(event,time)).
77==> mpred_prop(happens(event,time),predicate).
78==> meta_argtypes(happens(event,time)).
79
80% predicate HoldsAt(fluent,time)
81 % predicate(holds_at(fluent,time)).
82==> mpred_prop(holds_at(fluent,time),predicate).
83==> meta_argtypes(holds_at(fluent,time)).
84
85% predicate ReleasedAt(fluent,time)
86 % predicate(releasedAt(fluent,time)).
87==> mpred_prop(releasedAt(fluent,time),predicate).
88==> meta_argtypes(releasedAt(fluent,time)).
89
90% predicate Initiates(event,fluent,time)
91 % predicate(initiates(event,fluent,time)).
92==> mpred_prop(initiates(event,fluent,time),predicate).
93==> meta_argtypes(initiates(event,fluent,time)).
94
95% predicate Terminates(event,fluent,time)
96 % predicate(terminates(event,fluent,time)).
97==> mpred_prop(terminates(event,fluent,time),predicate).
98==> meta_argtypes(terminates(event,fluent,time)).
99
100% predicate Releases(event,fluent,time)
101 % predicate(releases(event,fluent,time)).
102==> mpred_prop(releases(event,fluent,time),predicate).
103==> meta_argtypes(releases(event,fluent,time)).
104
105% predicate Trajectory(fluent,time,fluent,offset)
106 % predicate(trajectory(fluent,time,fluent,offset)).
107==> mpred_prop(trajectory(fluent,time,fluent,offset),predicate).
108==> meta_argtypes(trajectory(fluent,time,fluent,offset)).
109
110
111% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:70
112%; End of file.
113%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
114%; FILE: foundations/DEC.e
115%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
116%;
117%; Copyright (c) 2005 IBM Corporation and others.
118%; All rights reserved. This program and the accompanying materials
119%; are made available under the terms of the Common Public License v1.0
120%; which accompanies this distribution, and is available at
121%; http://www.eclipse.org/legal/cpl-v10.html
122%;
123%; Contributors:
124%; IBM - Initial implementation
125%;
126%; Discrete Event Calculus (DEC)
127%;
128%; @article{Mueller:2004a,
129%; author = "Erik T. Mueller",
130%; year = "2004",
131%; title = "Event calculus reasoning through satisfiability",
132%; journal = "Journal of Logic and Computation",
133%; volume = "14",
134%; number = "5",
135%; pages = "703--730",
136%; }
137%;
138
139% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:101
140% sort time: integer
141% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:102
142==> subsort(time,integer).
143
144% sort offset: integer
145% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:103
146==> subsort(offset,integer).
147
148% reified sort fluent
149 % reified_sort(fluent).
150% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:105
151==> mpred_prop(fluent,reified_sort).
152
153% reified sort event
154 % reified_sort(event).
155% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:106
156==> mpred_prop(event,reified_sort).
157
158% predicate Happens(event,time)
159 % predicate(happens(event,time)).
160% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:108
161==> mpred_prop(happens(event,time),predicate).
162==> meta_argtypes(happens(event,time)).
163
164% predicate HoldsAt(fluent,time)
165 % predicate(holds_at(fluent,time)).
166% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:109
167==> mpred_prop(holds_at(fluent,time),predicate).
168==> meta_argtypes(holds_at(fluent,time)).
169
170% predicate ReleasedAt(fluent,time)
171 % predicate(releasedAt(fluent,time)).
172% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:110
173==> mpred_prop(releasedAt(fluent,time),predicate).
174==> meta_argtypes(releasedAt(fluent,time)).
175
176% predicate Initiates(event,fluent,time)
177 % predicate(initiates(event,fluent,time)).
178% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:112
179==> mpred_prop(initiates(event,fluent,time),predicate).
180==> meta_argtypes(initiates(event,fluent,time)).
181
182% predicate Terminates(event,fluent,time)
183 % predicate(terminates(event,fluent,time)).
184% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:113
185==> mpred_prop(terminates(event,fluent,time),predicate).
186==> meta_argtypes(terminates(event,fluent,time)).
187
188% predicate Releases(event,fluent,time)
189 % predicate(releases(event,fluent,time)).
190% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:114
191==> mpred_prop(releases(event,fluent,time),predicate).
192==> meta_argtypes(releases(event,fluent,time)).
193
194
202axiom(holds_at(Fluent, start),
203
204 [ not(happens(Event, t)),
205 holds_at(Fluent, t),
206 not(releasedAt(Fluent, t+1)),
207 b(t, start),
208 ignore(t+1=start)
209 ]).
210axiom(holds_at(Fluent, start),
211
212 [ not(terminates(Event, Fluent, t)),
213 holds_at(Fluent, t),
214 not(releasedAt(Fluent, t+1)),
215 b(t, start),
216 ignore(t+1=start)
217 ]).
218
219
227axiom(not(holds_at(Fluent, start)),
228
229 [ not(happens(Event, t)),
230 not(holds_at(Fluent, t)),
231 not(releasedAt(Fluent, t+1)),
232 b(t, start),
233 ignore(t+1=start)
234 ]).
235axiom(not(holds_at(Fluent, start)),
236
237 [ not(initiates(Event, Fluent, t)),
238 not(holds_at(Fluent, t)),
239 not(releasedAt(Fluent, t+1)),
240 b(t, start),
241 ignore(t+1=start)
242 ]).
243
244
251axiom(not(releasedAt(Fluent, Time+1)),
252
253 [ not(happens(Event, Time)),
254 not(releasedAt(Fluent, Time))
255 ]).
256axiom(not(releasedAt(Fluent, Time+1)),
257
258 [ not(releases(Event, Fluent, Time)),
259 not(releasedAt(Fluent, Time))
260 ]).
261
262
271axiom(releasedAt(Fluent, Time+1),
272 [not(happens(Event, Time)), releasedAt(Fluent, Time)]).
273axiom(releasedAt(Fluent, Time+1),
274
275 [ not(initiates(Event, Fluent, Time)),
276 not(terminates(Event, Fluent, Time)),
277 releasedAt(Fluent, Time)
278 ]).
279
280
285
286 289
290 297axiom(not(happens(Happens_Param, t)),
298
299 [ not(holds_at(Holds_at_Param, start)),
300 initiates(Happens_Param, Holds_at_Param, t),
301 b(t, start),
302 ignore(t+1=start)
303 ]).
304axiom(not(happens(Happens_Param, t)),
305
306 [ releasedAt(Holds_at_Param, t+1),
307 initiates(Happens_Param, Holds_at_Param, t)
308 ]).
309
310 316axiom(not(initiates(Initiates_Param, Holds_at_Param8, t)),
317
318 [ not(holds_at(Holds_at_Param8, start)),
319 happens(Initiates_Param, t),
320 b(t, start),
321 ignore(t+1=start)
322 ]).
323axiom(not(initiates(Initiates_Param, Holds_at_Param8, t)),
324 [releasedAt(Holds_at_Param8, t+1), happens(Initiates_Param, t)]).
325
326 330axiom(holds_at(Holds_at_Param10, start),
331
332 [ happens(Happens_Param11, t),
333 initiates(Happens_Param11, Holds_at_Param10, t),
334 b(t, start),
335 ignore(t+1=start)
336 ]).
337
338 342axiom(not(releasedAt(ReleasedAt_Param, Maptime12+1)),
343
344 [ happens(Happens_Param14, Maptime12),
345 initiates(Happens_Param14, ReleasedAt_Param, Maptime12)
346 ]).
347
348
353
354 357
358 365axiom(not(happens(Happens_Param, t)),
366
367 [ holds_at(Holds_at_Param, start),
368 terminates(Happens_Param, Holds_at_Param, t),
369 b(t, start),
370 ignore(t+1=start)
371 ]).
372axiom(not(happens(Happens_Param, t)),
373
374 [ releasedAt(Holds_at_Param, t+1),
375 terminates(Happens_Param, Holds_at_Param, t)
376 ]).
377
378 384axiom(not(terminates(Terminates_Param, Holds_at_Param8, t)),
385
386 [ holds_at(Holds_at_Param8, start),
387 happens(Terminates_Param, t),
388 b(t, start),
389 ignore(t+1=start)
390 ]).
391axiom(not(terminates(Terminates_Param, Holds_at_Param8, t)),
392 [releasedAt(Holds_at_Param8, t+1), happens(Terminates_Param, t)]).
393
394 398axiom(not(holds_at(Holds_at_Param10, start)),
399
400 [ happens(Happens_Param11, t),
401 terminates(Happens_Param11, Holds_at_Param10, t),
402 b(t, start),
403 ignore(t+1=start)
404 ]).
405
406 410axiom(not(releasedAt(ReleasedAt_Param, Maptime12+1)),
411
412 [ happens(Happens_Param14, Maptime12),
413 terminates(Happens_Param14, ReleasedAt_Param, Maptime12)
414 ]).
415
416
422axiom(releasedAt(Fluent, Time+1),
423
424 [ happens(Event, Time),
425 releases(Event, Fluent, Time)
426 ]).
427
428
429% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:151
430%; End of file.
431%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
432%; FILE: foundations/ECCausal.e
433%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
434%;
435%; Copyright (c) 2005 IBM Corporation and others.
436%; All rights reserved. This program and the accompanying materials
437%; are made available under the terms of the Common Public License v1.0
438%; which accompanies this distribution, and is available at
439%; http://www.eclipse.org/legal/cpl-v10.html
440%;
441%; Contributors:
442%; IBM - Initial implementation
443%;
444%; Causal Constraints
445%;
446%; @inproceedings{Shanahan:1999a,
447%; author = "Murray Shanahan",
448%; year = "1999",
449%; title = "The ramification problem in the event calculus",
450%; booktitle = "\uppercase{P}roceedings of the \uppercase{S}ixteenth \uppercase{I}nternational \uppercase{J}oint \uppercase{C}onference on \uppercase{A}rtificial \uppercase{I}ntelligence",
451%; pages = "140--146",
452%; address = "San Mateo, CA",
453%; publisher = "Morgan Kaufmann",
454%; }
455%;
456
457% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:182
458% predicate Started(fluent,time)
459 % predicate(started(fluent,time)).
460% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:183
461==> mpred_prop(started(fluent,time),predicate).
462==> meta_argtypes(started(fluent,time)).
463
464% predicate Stopped(fluent,time)
465 % predicate(stopped(fluent,time)).
466% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:184
467==> mpred_prop(stopped(fluent,time),predicate).
468==> meta_argtypes(stopped(fluent,time)).
469
470
476
477 484axiom(started(Fluent, Time),
485 [holds_at(Fluent, Time)]).
486axiom(started(Fluent, Time),
487
488 [ happens(Event, Time),
489 initiates(Event, Fluent, Time)
490 ]).
491
492 495
496 502axiom(not(started(Started_Param, Time3)),
503
504 [ not(happens(Happens_Param, Time3)),
505 not(holds_at(Started_Param, Time3))
506 ]).
507axiom(not(started(Started_Param, Time3)),
508
509 [ not(initiates(Happens_Param, Started_Param, Time3)),
510 not(holds_at(Started_Param, Time3))
511 ]).
512
513 519axiom(holds_at(Holds_at_Param, Time6),
520
521 [ not(happens(Happens_Param8, Time6)),
522 started(Holds_at_Param, Time6)
523 ]).
524axiom(holds_at(Holds_at_Param, Time6),
525
526 [ not(initiates(Happens_Param8, Holds_at_Param, Time6)),
527 started(Holds_at_Param, Time6)
528 ]).
529
530 534axiom(happens(Happens_Param10, Maptime),
535
536 [ not(holds_at(Holds_at_Param11, Maptime)),
537 started(Holds_at_Param11, Maptime)
538 ]).
539
540 544axiom(initiates(Initiates_Param, Holds_at_Param14, Time12),
545
546 [ not(holds_at(Holds_at_Param14, Time12)),
547 started(Holds_at_Param14, Time12)
548 ]).
549
550
556
557 564axiom(stopped(Fluent, Time),
565 [not(holds_at(Fluent, Time))]).
566axiom(stopped(Fluent, Time),
567
568 [ happens(Event, Time),
569 terminates(Event, Fluent, Time)
570 ]).
571
572 575
576 582axiom(not(stopped(Stopped_Param, Time3)),
583
584 [ not(happens(Happens_Param, Time3)),
585 holds_at(Stopped_Param, Time3)
586 ]).
587axiom(not(stopped(Stopped_Param, Time3)),
588
589 [ not(terminates(Happens_Param, Stopped_Param, Time3)),
590 holds_at(Stopped_Param, Time3)
591 ]).
592
593 599axiom(not(holds_at(Holds_at_Param, Time6)),
600
601 [ not(happens(Happens_Param8, Time6)),
602 stopped(Holds_at_Param, Time6)
603 ]).
604axiom(not(holds_at(Holds_at_Param, Time6)),
605
606 [ not(terminates(Happens_Param8, Holds_at_Param, Time6)),
607 stopped(Holds_at_Param, Time6)
608 ]).
609
610 614axiom(happens(Happens_Param10, Maptime),
615
616 [ holds_at(Holds_at_Param11, Maptime),
617 stopped(Holds_at_Param11, Maptime)
618 ]).
619
620 624axiom(terminates(Terminates_Param, Holds_at_Param14, Time12),
625
626 [ holds_at(Holds_at_Param14, Time12),
627 stopped(Holds_at_Param14, Time12)
628 ]).
629
630% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:195
631% predicate Initiated(fluent,time)
632 % predicate(initiated(fluent,time)).
633% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:196
634==> mpred_prop(initiated(fluent,time),predicate).
635==> meta_argtypes(initiated(fluent,time)).
636
637% predicate Terminated(fluent,time)
638 % predicate(terminated(fluent,time)).
639% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:197
640==> mpred_prop(terminated(fluent,time),predicate).
641==> meta_argtypes(terminated(fluent,time)).
642
643
649
650 656axiom(initiated(Fluent, Time),
657 [not(happens(Event, Time)), started(Fluent, Time)]).
658axiom(initiated(Fluent, Time),
659
660 [ not(terminates(Event, Fluent, Time)),
661 started(Fluent, Time)
662 ]).
663
664 667
668 674axiom(not(initiated(Initiated_Param, Maptime)),
675 [not(started(Initiated_Param, Maptime))]).
676axiom(not(initiated(Initiated_Param, Maptime)),
677
678 [ happens(Happens_Param, Maptime),
679 terminates(Happens_Param, Initiated_Param, Maptime)
680 ]).
681
682 685axiom(started(Started_Param, Started_Ret),
686 [initiated(Started_Param, Started_Ret)]).
687
688 692axiom(not(happens(Happens_Param9, Maptime8)),
693
694 [ terminates(Happens_Param9, Initiated_Param10, Maptime8),
695 initiated(Initiated_Param10, Maptime8)
696 ]).
697
698 702axiom(not(terminates(Terminates_Param, Initiated_Param13, Maptime11)),
703
704 [ happens(Terminates_Param, Maptime11),
705 initiated(Initiated_Param13, Maptime11)
706 ]).
707
708
714
715 721axiom(terminated(Fluent, Time),
722 [not(happens(Event, Time)), stopped(Fluent, Time)]).
723axiom(terminated(Fluent, Time),
724
725 [ not(initiates(Event, Fluent, Time)),
726 stopped(Fluent, Time)
727 ]).
728
729 732
733 739axiom(not(terminated(Terminated_Param, Maptime)),
740 [not(stopped(Terminated_Param, Maptime))]).
741axiom(not(terminated(Terminated_Param, Maptime)),
742
743 [ happens(Happens_Param, Maptime),
744 initiates(Happens_Param, Terminated_Param, Maptime)
745 ]).
746
747 750axiom(stopped(Stopped_Param, Stopped_Ret),
751 [terminated(Stopped_Param, Stopped_Ret)]).
752
753 757axiom(not(happens(Happens_Param9, Maptime8)),
758
759 [ initiates(Happens_Param9, Terminated_Param10, Maptime8),
760 terminated(Terminated_Param10, Maptime8)
761 ]).
762
763 767axiom(not(initiates(Initiates_Param, Terminated_Param13, Maptime11)),
768
769 [ happens(Initiates_Param, Maptime11),
770 terminated(Terminated_Param13, Maptime11)
771 ]).
772
773
774% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:208
775%; End of file.
776%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
777%; FILE: foundations/ECTraj.e
778%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
779%;
780%; Copyright (c) 2005 IBM Corporation and others.
781%; All rights reserved. This program and the accompanying materials
782%; are made available under the terms of the Common Public License v1.0
783%; which accompanies this distribution, and is available at
784%; http://www.eclipse.org/legal/cpl-v10.html
785%;
786%; Contributors:
787%; IBM - Initial implementation
788%;
789%; @incollection{MillerShanahan:2002,
790%; author = "Rob Miller and Murray Shanahan",
791%; year = "2002",
792%; title = "Some alternative formulations of the event calculus",
793%; editor = "Antonis C. Kakas and Fariba Sadri",
794%; booktitle = "Computational Logic: Logic Programming and Beyond: Essays in Honour of \uppercase{R}obert \uppercase{A}. \uppercase{K}owalski, Part \uppercase{II}",
795%; series = "Lecture Notes in Computer Science",
796%; volume = "2408",
797%; pages = "452--490",
798%; address = "Berlin",
799%; publisher = "Springer",
800%; }
801%;
802
803% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:240
804% predicate Clipped(time,fluent,time)
805 % predicate(clipped(time,fluent,time)).
806% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:241
807==> mpred_prop(clipped(time,fluent,time),predicate).
808==> meta_argtypes(clipped(time,fluent,time)).
809
810% predicate Declipped(time,fluent,time)
811 % predicate(declipped(time,fluent,time)).
812% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:242
813==> mpred_prop(declipped(time,fluent,time),predicate).
814==> meta_argtypes(declipped(time,fluent,time)).
815
816% predicate Trajectory(fluent,time,fluent,offset)
817 % predicate(trajectory(fluent,time,fluent,offset)).
818% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:244
819==> mpred_prop(trajectory(fluent,time,fluent,offset),predicate).
820==> meta_argtypes(trajectory(fluent,time,fluent,offset)).
821
822% predicate AntiTrajectory(fluent,time,fluent,offset)
823 % predicate(antiTrajectory(fluent,time,fluent,offset)).
824% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:245
825==> mpred_prop(antiTrajectory(fluent,time,fluent,offset),predicate).
826==> meta_argtypes(antiTrajectory(fluent,time,fluent,offset)).
827
828
838axiom(holds_at(Fluent2, Time),
839
840 [ happens(Event, Time),
841 initiates(Event, Fluent, Time),
842 comparison(0, 0, <),
843 trajectory(Fluent, Time, Fluent2, 0),
844 not(clipped(Time, Fluent, Time))
845 ]).
846
847
857axiom(holds_at(Fluent2, Time),
858
859 [ happens(Event, Time),
860 terminates(Event, Fluent, Time),
861 comparison(0, 0, <),
862 antiTrajectory(Fluent, Time, Fluent2, 0),
863 not(declipped(Time, Fluent, Time))
864 ]).
865
866
867% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:262
868%; End of file.
869%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
870%; FILE: ecnet/Ontology.e
871%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
872%;
873%; Copyright (c) 2005 IBM Corporation and others.
874%; All rights reserved. This program and the accompanying materials
875%; are made available under the terms of the Common Public License v1.0
876%; which accompanies this distribution, and is available at
877%; http://www.eclipse.org/legal/cpl-v10.html
878%;
879%; Contributors:
880%; IBM - Initial implementation
881%;
882%; integer
883%;
884
885% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:283
886% sort diameter: integer
887% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:284
888==> subsort(diameter,integer).
889%; object
890
891% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:287
892% sort object
893% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:288
894==> sort(object).
895
896% sort agent: object
897% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:290
898==> subsort(agent,object).
899
900% sort physobj: object
901% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:292
902==> subsort(physobj,object).
903
904% sort bed: physobj
905% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:293
906==> subsort(bed,physobj).
907
908% sort snowflake: physobj
909% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:294
910==> subsort(snowflake,physobj).
911
912% sort sky: physobj
913% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:295
914==> subsort(sky,physobj).
915
916% sort stuff: physobj
917% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:297
918==> subsort(stuff,physobj).
919
920% sort surface: physobj
921% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:299
922==> subsort(surface,physobj).
923
924% sort ground: surface
925% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:300
926==> subsort(ground,surface).
927
928% sort snow: stuff
929% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:302
930==> subsort(snow,stuff).
931
932% sort ball
933% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:303
934==> sort(ball).
935
936% sort food: physobj
937% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:305
938==> subsort(food,physobj).
939
940% sort fruit: food
941% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:306
942==> subsort(fruit,food).
943
944% sort orange: fruit
945% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:307
946==> subsort(orange,fruit).
947
948% sort salad: food
949% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:308
950==> subsort(salad,food).
951
952% sort clothing: physobj
953% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:310
954==> subsort(clothing,physobj).
955
956% sort scarf: clothing
957% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:311
958==> subsort(scarf,clothing).
959
960% sort hat: clothing
961% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:312
962==> subsort(hat,clothing).
963
964% sort vegetablematter: physobj
965% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:314
966==> subsort(vegetablematter,physobj).
967
968% sort coal: vegetablematter
969% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:315
970==> subsort(coal,vegetablematter).
971
972% sort bodypart: physobj
973% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:317
974==> subsort(bodypart,physobj).
975
976% sort hand: bodypart
977% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:318
978==> subsort(hand,bodypart).
979
980% sort papertowels: physobj
981% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:320
982==> subsort(papertowels,physobj).
983
984% sort device: physobj
985% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:321
986==> subsort(device,physobj).
987
988% sort electronicdevice: device
989% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:322
990==> subsort(electronicdevice,device).
991
992% sort lamp: electronicdevice
993% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:323
994==> subsort(lamp,electronicdevice).
995
996% sort cat: physobj
997% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:325
998==> subsort(cat,physobj).
999
1000% sort horse: physobj
1001% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:326
1002==> subsort(horse,physobj).
1003
1004% sort weapon: physobj
1005% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:328
1006==> subsort(weapon,physobj).
1007
1008% sort gun: weapon
1009% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:329
1010==> subsort(gun,weapon).
1011
1012% sort bomb: weapon
1013% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:330
1014==> subsort(bomb,weapon).
1015
1016% sort bullet: weapon
1017% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:331
1018==> subsort(bullet,weapon).
1019%; location
1020
1021% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:334
1022% sort location
1023% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:335
1024==> sort(location).
1025
1026% sort room: location, outside: location
1027% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:336
1028==> subsort(room,location).
1029==> subsort(outside,location).
1030%; portal
1031
1032% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:339
1033% sort portal
1034% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:340
1035==> sort(portal).
1036
1037% sort door: portal, staircase: portal
1038% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:341
1039==> subsort(door,portal).
1040==> subsort(staircase,portal).
1041
1042% sort street: portal
1043% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:342
1044==> subsort(street,portal).
1045
1046% sort track: portal
1047% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:343
1048==> subsort(track,portal).
1049
1050% sort building
1051% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:345
1052==> sort(building).
1053
1054% sort fire: object
1055% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:347
1056==> subsort(fire,object).
1057
1058% sort smoke: physobj
1059% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:348
1060==> subsort(smoke,physobj).
1061
1062% sort furniture: physobj
1063% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:350
1064==> subsort(furniture,physobj).
1065
1066% sort chair: furniture
1067% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:351
1068==> subsort(chair,furniture).
1069
1070% sort table: furniture
1071% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:352
1072==> subsort(table,furniture).
1073
1074% sort bill: physobj
1075% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:354
1076==> subsort(bill,physobj).
1077
1078% sort ticket: physobj
1079% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:355
1080==> subsort(ticket,physobj).
1081
1082% sort envelope: physobj
1083% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:356
1084==> subsort(envelope,physobj).
1085
1086% sort text: physobj
1087% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:358
1088==> subsort(text,physobj).
1089
1090% sort book: text
1091% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:359
1092==> subsort(book,text).
1093
1094% sort letter: text
1095% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:360
1096==> subsort(letter,text).
1097
1098% sort menu: text
1099% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:361
1100==> subsort(menu,text).
1101
1102% sort paper: physobj
1103% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:363
1104==> subsort(paper,physobj).
1105
1106% sort content
1107% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:365
1108==> sort(content).
1109
1110% sort script
1111% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:366
1112==> sort(script).
1113
1114% sort container: physobj
1115% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:368
1116==> subsort(container,physobj).
1117
1118% sort cigarette: physobj
1119% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:369
1120==> subsort(cigarette,physobj).
1121
1122% sort ashtray: physobj
1123% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:370
1124==> subsort(ashtray,physobj).
1125
1126% sort umbrella: physobj
1127% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:371
1128==> subsort(umbrella,physobj).
1129
1130% sort pen: physobj
1131% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:373
1132==> subsort(pen,physobj).
1133%; End of file.
1134%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1135%; FILE: ecnet/RTSpace.e
1136%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1137%;
1138%; Copyright (c) 2005 IBM Corporation and others.
1139%; All rights reserved. This program and the accompanying materials
1140%; are made available under the terms of the Common Public License v1.0
1141%; which accompanies this distribution, and is available at
1142%; http://www.eclipse.org/legal/cpl-v10.html
1143%;
1144%; Contributors:
1145%; IBM - Initial implementation
1146%;
1147%; RTSpace: room-scale topological space
1148%;
1149%; We use topological and metric representations of space,
1150%; at two levels of granularity---room-scale and object-scale.
1151%; The RTSpace representation deals with topological space at
1152%; the scale of rooms and outdoor locations.
1153%; This representation of space consists of locations, which
1154%; are connected by portals. There are two types of locations:
1155%; rooms and outside areas (outsides).
1156%;
1157%; object is at location.
1158
1159% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:404
1160% fluent At(object,location)
1161 % fluent(at(object,location)).
1162% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:405
1163==> mpred_prop(at(object,location),fluent).
1164==> meta_argtypes(at(object,location)).
1165
1168manualrelease(at).
1169
1170
1177
1178 1182
1183 1189axiom(releasedAt(at(At_Param, Location5), Time6),
1190
1191 [ partOf(At_Param, Some_Param),
1192 some(Some_Param,
1193 '$kolem_Fn_286'(At_Param, Location5, Time6))
1194 ]).
1195
1196 1201axiom(not(partOf(PartOf_Param, Some_Param12)),
1202
1203 [ not(releasedAt(at(PartOf_Param, Location9), Time10)),
1204 some(Some_Param12,
1205 '$kolem_Fn_286'(PartOf_Param, Location9, Time10))
1206 ]).
1207
1208 1212axiom(not(some(Some_Param15, '$kolem_Fn_286'(Fn_286_Param, Location13, Time14))),
1213
1214 [ not(releasedAt(at(Fn_286_Param, Location13), Time14)),
1215 partOf(Fn_286_Param, Some_Param15)
1216 ]).
1217
1218
1228axiom(Location1=Location2,
1229
1230 [ holds_at(at(Object, Location1), Time),
1231 holds_at(at(Object, Location2), Time)
1232 ]).
1233
1234
1235% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:418
1236%; connectivity
1237%; Side one of portal is location.
1238
1239% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:421
1240% function Side1(portal): location
1241 % functional_predicate(side1(portal,location)).
1242% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:422
1243==> mpred_prop(side1(portal,location),functional_predicate).
1244==> meta_argtypes(side1(portal,location)).
1245resultIsa(side1,location).
1246%; Side two of portal is location.
1247
1248% function Side2(portal): location
1249 % functional_predicate(side2(portal,location)).
1250% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:424
1251==> mpred_prop(side2(portal,location),functional_predicate).
1252==> meta_argtypes(side2(portal,location)).
1253resultIsa(side2,location).
1254%; The building of room is building.
1255
1256% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:426
1257% function BuildingOf(room): building
1258 % functional_predicate(buildingOf(room,building)).
1259% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:427
1260==> mpred_prop(buildingOf(room,building),functional_predicate).
1261==> meta_argtypes(buildingOf(room,building)).
1262resultIsa(buildingOf,building).
1263%; object is at a location that has portal.
1264
1265% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:429
1266% fluent NearPortal(object,portal)
1267 % fluent(nearPortal(object,portal)).
1268% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:430
1269==> mpred_prop(nearPortal(object,portal),fluent).
1270==> meta_argtypes(nearPortal(object,portal)).
1271
1272% noninertial NearPortal
1273% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:431
1274==> noninertial(nearPortal).
1287
1288 1292
1293 1309axiom(not(some(Location6, '$kolem_Fn_287'(Fn_287_Param, NearPortal_Ret, Time5))),
1310
1311 [ not(equals(side1(NearPortal_Ret), Location6)),
1312 not(equals(side2(NearPortal_Ret), Location6)),
1313 holds_at(nearPortal(Fn_287_Param, NearPortal_Ret),
1314 Time5)
1315 ]).
1316axiom(not(some(Location6, '$kolem_Fn_287'(Fn_287_Param, NearPortal_Ret, Time5))),
1317
1318 [ not(holds_at(at(Fn_287_Param, Location6), Time5)),
1319 holds_at(nearPortal(Fn_287_Param, NearPortal_Ret),
1320 Time5)
1321 ]).
1322axiom(not(some(Location6, '$kolem_Fn_287'(Fn_287_Param, NearPortal_Ret, Time5))),
1323
1324 [ equals(side1(NearPortal_Ret), Location6),
1325 not(holds_at(nearPortal(Fn_287_Param, NearPortal_Ret),
1326 Time5)),
1327 holds_at(at(Fn_287_Param, Location6), Time5)
1328 ]).
1329axiom(not(some(Location6, '$kolem_Fn_287'(Fn_287_Param, NearPortal_Ret, Time5))),
1330
1331 [ equals(side2(NearPortal_Ret), Location6),
1332 not(holds_at(nearPortal(Fn_287_Param, NearPortal_Ret),
1333 Time5)),
1334 holds_at(at(Fn_287_Param, Location6), Time5)
1335 ]).
1336
1337 1347axiom(not(holds_at(nearPortal(NearPortal_Param, NearPortal_Ret12), Time9)),
1348
1349 [ not(equals(side1(NearPortal_Ret12), Location10)),
1350 not(equals(side2(NearPortal_Ret12), Location10)),
1351 some(Location10,
1352 '$kolem_Fn_287'(NearPortal_Param,
1353 NearPortal_Ret12,
1354 Time9))
1355 ]).
1356axiom(not(holds_at(nearPortal(NearPortal_Param, NearPortal_Ret12), Time9)),
1357
1358 [ not(holds_at(at(NearPortal_Param, Location10), Time9)),
1359 some(Location10,
1360 '$kolem_Fn_287'(NearPortal_Param,
1361 NearPortal_Ret12,
1362 Time9))
1363 ]).
1364
1365 1372axiom(equals(side1(Side1_Ret), Some_Param),
1373
1374 [ not(equals(side2(Side1_Ret), Some_Param)),
1375 holds_at(nearPortal(NearPortal_Param14, Side1_Ret),
1376 Time13),
1377 some(Some_Param,
1378 '$kolem_Fn_287'(NearPortal_Param14,
1379 Side1_Ret,
1380 Time13))
1381 ]).
1382
1383 1390axiom(equals(side2(Side2_Ret), Some_Param19),
1391
1392 [ not(equals(side1(Side2_Ret), Some_Param19)),
1393 holds_at(nearPortal(NearPortal_Param18, Side2_Ret),
1394 Time17),
1395 some(Some_Param19,
1396 '$kolem_Fn_287'(NearPortal_Param18,
1397 Side2_Ret,
1398 Time17))
1399 ]).
1400
1401 1406axiom(holds_at(at(At_Param, Location21), Time22),
1407
1408 [ holds_at(nearPortal(At_Param, NearPortal_Ret24), Time22),
1409 some(Location21,
1410 '$kolem_Fn_287'(At_Param, NearPortal_Ret24, Time22))
1411 ]).
1412
1413 1424axiom(holds_at(nearPortal(NearPortal_Param27, NearPortal_Ret28), Time25),
1425
1426 [ equals(side1(NearPortal_Ret28), Location26),
1427 holds_at(at(NearPortal_Param27, Location26), Time25),
1428 some(Location26,
1429 '$kolem_Fn_287'(NearPortal_Param27,
1430 NearPortal_Ret28,
1431 Time25))
1432 ]).
1433axiom(holds_at(nearPortal(NearPortal_Param27, NearPortal_Ret28), Time25),
1434
1435 [ equals(side2(NearPortal_Ret28), Location26),
1436 holds_at(at(NearPortal_Param27, Location26), Time25),
1437 some(Location26,
1438 '$kolem_Fn_287'(NearPortal_Param27,
1439 NearPortal_Ret28,
1440 Time25))
1441 ]).
1442
1443 1451axiom(not(holds_at(at(At_Param31, Location29), Time30)),
1452
1453 [ equals(side1(Side1_Ret32), Location29),
1454 not(holds_at(nearPortal(At_Param31, Side1_Ret32),
1455 Time30)),
1456 some(Location29,
1457 '$kolem_Fn_287'(At_Param31, Side1_Ret32, Time30))
1458 ]).
1459axiom(not(holds_at(at(At_Param31, Location29), Time30)),
1460
1461 [ equals(side2(Side1_Ret32), Location29),
1462 not(holds_at(nearPortal(At_Param31, Side1_Ret32),
1463 Time30)),
1464 some(Location29,
1465 '$kolem_Fn_287'(At_Param31, Side1_Ret32, Time30))
1466 ]).
1467
1468 1474axiom(not(equals(side1(Side1_Ret36), Location33)),
1475
1476 [ holds_at(at(At_Param35, Location33), Time34),
1477 not(holds_at(nearPortal(At_Param35, Side1_Ret36),
1478 Time34)),
1479 some(Location33,
1480 '$kolem_Fn_287'(At_Param35, Side1_Ret36, Time34))
1481 ]).
1482
1483 1489axiom(not(equals(side2(Side2_Ret40), Location37)),
1490
1491 [ holds_at(at(At_Param39, Location37), Time38),
1492 not(holds_at(nearPortal(At_Param39, Side2_Ret40),
1493 Time38)),
1494 some(Location37,
1495 '$kolem_Fn_287'(At_Param39, Side2_Ret40, Time38))
1496 ]).
1497
1498
1499% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:443
1500%; locking and unlocking doors
1501%; agent unlocks door.
1502
1503% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:446
1504% event DoorUnlock(agent,door)
1505 % event(doorUnlock(agent,door)).
1506% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:447
1507==> mpred_prop(doorUnlock(agent,door),event).
1508==> meta_argtypes(doorUnlock(agent,door)).
1509
1510
1511% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:447
1512%; agent locks door.
1513
1514% event DoorLock(agent,door)
1515 % event(doorLock(agent,door)).
1516% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:449
1517==> mpred_prop(doorLock(agent,door),event).
1518==> meta_argtypes(doorLock(agent,door)).
1519
1520
1521% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:449
1522%; door is unlocked.
1523
1524% fluent DoorUnlocked(door)
1525 % fluent(doorUnlocked(door)).
1526% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:451
1527==> mpred_prop(doorUnlocked(door),fluent).
1528==> meta_argtypes(doorUnlocked(door)).
1529
1530
1544axiom(requires(doorUnlock(Agent, Door), Time),
1545
1546 [ holds_at(awake(Agent), Time),
1547 not(holds_at(doorUnlocked(Door), Time)),
1548 holds_at(nearPortal(Agent, Door), Time)
1549 ]).
1550
1551
1559axiom(initiates(doorUnlock(Agent, Door), doorUnlocked(Door), Time),
1560 []).
1561
1562
1576axiom(requires(doorLock(Agent, Door), Time),
1577
1578 [ holds_at(awake(Agent), Time),
1579 holds_at(doorUnlocked(Door), Time),
1580 holds_at(nearPortal(Agent, Door), Time)
1581 ]).
1582
1583
1591axiom(terminates(doorLock(Agent, Door), doorUnlocked(Door), Time),
1592 []).
1593
1594
1601axiom(holds_at(doorUnlocked(Door), Time),
1602 [holds_at(doorIsOpen(Door), Time)]).
1603
1604
1605% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:491
1606%; opening and closing doors
1607%; agent opens door.
1608
1609% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:494
1610% event DoorOpen(agent,door)
1611 % event(doorOpen(agent,door)).
1612% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:495
1613==> mpred_prop(doorOpen(agent,door),event).
1614==> meta_argtypes(doorOpen(agent,door)).
1615
1616
1617% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:495
1618%; agent closes door.
1619
1620% event DoorClose(agent,door)
1621 % event(doorClose(agent,door)).
1622% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:497
1623==> mpred_prop(doorClose(agent,door),event).
1624==> meta_argtypes(doorClose(agent,door)).
1625
1626
1627% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:497
1628%; door is open.
1629
1630% fluent DoorIsOpen(door)
1631 % fluent(doorIsOpen(door)).
1632% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:499
1633==> mpred_prop(doorIsOpen(door),fluent).
1634==> meta_argtypes(doorIsOpen(door)).
1635
1636
1652axiom(requires(doorOpen(Agent, Door), Time),
1653
1654 [ holds_at(awake(Agent), Time),
1655 not(holds_at(doorIsOpen(Door), Time)),
1656 holds_at(doorUnlocked(Door), Time),
1657 holds_at(nearPortal(Agent, Door), Time)
1658 ]).
1659
1660
1668axiom(initiates(doorOpen(Agent, Door), doorIsOpen(Door), Time),
1669 []).
1670
1671
1687axiom(requires(doorClose(Agent, Door), Time),
1688
1689 [ holds_at(awake(Agent), Time),
1690 holds_at(doorIsOpen(Door), Time),
1691 holds_at(doorUnlocked(Door), Time),
1692 holds_at(nearPortal(Agent, Door), Time)
1693 ]).
1694
1695
1703axiom(terminates(doorClose(Agent, Door), doorIsOpen(Door), Time),
1704 []).
1705
1706
1707% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:538
1708%; passing through doors
1709%; agent walks through side one of door.
1710
1711% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:541
1712% event WalkThroughDoor12(agent,door)
1713 % event(walkThroughDoor12(agent,door)).
1714% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:542
1715==> mpred_prop(walkThroughDoor12(agent,door),event).
1716==> meta_argtypes(walkThroughDoor12(agent,door)).
1717
1718
1719% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:542
1720%; agent walks through side two of door.
1721
1722% event WalkThroughDoor21(agent,door)
1723 % event(walkThroughDoor21(agent,door)).
1724% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:544
1725==> mpred_prop(walkThroughDoor21(agent,door),event).
1726==> meta_argtypes(walkThroughDoor21(agent,door)).
1727
1728
1744axiom(requires(walkThroughDoor12(Agent, Door), Time),
1745
1746 [ holds_at(awake(Agent), Time),
1747 holds_at(standing(Agent), Time),
1748 holds_at(doorIsOpen(Door), Time),
1749 holds_at(at(Agent, side1(Door)), Time)
1750 ]).
1751
1752
1761axiom(requires(walkThroughDoor21(Agent, Door), Time),
1762
1763 [ holds_at(awake(Agent), Time),
1764 holds_at(standing(Agent), Time),
1765 holds_at(doorIsOpen(Door), Time),
1766 holds_at(at(Agent, side2(Door)), Time)
1767 ]).
1768
1769
1779axiom(initiates(walkThroughDoor12(Agent, Door), at(Agent, Location), Time),
1780 [equals(side2(Door), Location)]).
1781
1782
1788axiom(initiates(walkThroughDoor21(Agent, Door), at(Agent, Location), Time),
1789 [equals(side1(Door), Location)]).
1790
1791
1797axiom(terminates(walkThroughDoor12(Agent, Door), at(Agent, Location), Time),
1798 [equals(side1(Door), Location)]).
1799
1800
1806axiom(terminates(walkThroughDoor21(Agent, Door), at(Agent, Location), Time),
1807 [equals(side2(Door), Location)]).
1808
1809
1810% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:584
1811%; walking from one end of a street to another
1812%; agent walks from the first end of street to the second end.
1813
1814% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:587
1815% event WalkStreet12(agent,street)
1816 % event(walkStreet12(agent,street)).
1817% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:588
1818==> mpred_prop(walkStreet12(agent,street),event).
1819==> meta_argtypes(walkStreet12(agent,street)).
1820
1821
1822% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:588
1823%; agent walks from the second end of street to the first end.
1824
1825% event WalkStreet21(agent,street)
1826 % event(walkStreet21(agent,street)).
1827% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:590
1828==> mpred_prop(walkStreet21(agent,street),event).
1829==> meta_argtypes(walkStreet21(agent,street)).
1830
1831
1845axiom(requires(walkStreet12(Agent, Street), Time),
1846
1847 [ holds_at(awake(Agent), Time),
1848 holds_at(standing(Agent), Time),
1849 holds_at(at(Agent, side1(Street)), Time)
1850 ]).
1851
1852
1860axiom(requires(walkStreet21(Agent, Street), Time),
1861
1862 [ holds_at(awake(Agent), Time),
1863 holds_at(standing(Agent), Time),
1864 holds_at(at(Agent, side2(Street)), Time)
1865 ]).
1866
1867
1877axiom(initiates(walkStreet12(Agent, Street), at(Agent, Location), Time),
1878 [equals(side2(Street), Location)]).
1879
1880
1886axiom(initiates(walkStreet21(Agent, Street), at(Agent, Location), Time),
1887 [equals(side1(Street), Location)]).
1888
1889
1895axiom(terminates(walkStreet12(Agent, Street), at(Agent, Location), Time),
1896 [equals(side1(Street), Location)]).
1897
1898
1904axiom(terminates(walkStreet21(Agent, Street), at(Agent, Location), Time),
1905 [equals(side2(Street), Location)]).
1906
1907
1908% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:627
1909%; floors
1910%; The floor of room is integer.
1911
1912% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:630
1913% function Floor(room): integer
1914 % functional_predicate(floor(room,integer)).
1915% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:631
1916==> mpred_prop(floor(room,integer),functional_predicate).
1917==> meta_argtypes(floor(room,integer)).
1918resultIsa(floor,integer).
1919%; walking up and down staircases
1920%; agent walks down staircase.
1921
1922% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:635
1923% event WalkDownStaircase(agent,staircase)
1924 % event(walkDownStaircase(agent,staircase)).
1925% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:636
1926==> mpred_prop(walkDownStaircase(agent,staircase),event).
1927==> meta_argtypes(walkDownStaircase(agent,staircase)).
1928
1929
1930% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:636
1931%; agent walks up staircase.
1932
1933% event WalkUpStaircase(agent,staircase)
1934 % event(walkUpStaircase(agent,staircase)).
1935% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:638
1936==> mpred_prop(walkUpStaircase(agent,staircase),event).
1937==> meta_argtypes(walkUpStaircase(agent,staircase)).
1938
1939
1952axiom(requires(walkDownStaircase(Agent, Staircase), Time),
1953
1954 [ holds_at(awake(Agent), Time),
1955 holds_at(standing(Agent), Time),
1956 holds_at(at(Agent, side2(Staircase)), Time)
1957 ]).
1958
1959
1967axiom(requires(walkUpStaircase(Agent, Staircase), Time),
1968
1969 [ holds_at(awake(Agent), Time),
1970 holds_at(standing(Agent), Time),
1971 holds_at(at(Agent, side1(Staircase)), Time)
1972 ]).
1973
1974
1984axiom(initiates(walkDownStaircase(Agent, Staircase), at(Agent, Room), Time),
1985 [equals(side1(Staircase), Room)]).
1986
1987
1993axiom(terminates(walkDownStaircase(Agent, Staircase), at(Agent, Room), Time),
1994 [equals(side2(Staircase), Room)]).
1995
1996
2002axiom(initiates(walkUpStaircase(Agent, Staircase), at(Agent, Room), Time),
2003 [equals(side2(Staircase), Room)]).
2004
2005
2011axiom(terminates(walkUpStaircase(Agent, Staircase), at(Agent, Room), Time),
2012 [equals(side1(Staircase), Room)]).
2013
2014
2023axiom(holds_at(dressed(Agent), Time),
2024 [holds_at(at(Agent, Outside), Time)]).
2025
2026
2027% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:680
2028%; room looks out onto outside.
2029
2030% function LookOutOnto(room): outside
2031 % functional_predicate(lookOutOnto(room,outside)).
2032% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:682
2033==> mpred_prop(lookOutOnto(room,outside),functional_predicate).
2034==> meta_argtypes(lookOutOnto(room,outside)).
2035resultIsa(lookOutOnto,outside).
2036%; location1 is adjacent to location2.
2037
2038% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:684
2039% predicate Adjacent(location,location)
2040 % predicate(adjacent(location,location)).
2041% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:685
2042==> mpred_prop(adjacent(location,location),predicate).
2043==> meta_argtypes(adjacent(location,location)).
2044
2045
2051
2060
2061 2065
2066 2083axiom(not(some(Some_Param, '$kolem_Fn_288'(Fn_288_Param, Fn_288_Ret))),
2084
2085 [ equals(side1(Some_Param), Fn_288_Param),
2086 equals(side2(Some_Param), Fn_288_Ret),
2087 not(adjacent(Fn_288_Param, Fn_288_Ret))
2088 ]).
2089axiom(not(some(Some_Param, '$kolem_Fn_288'(Fn_288_Param, Fn_288_Ret))),
2090
2091 [ equals(side2(Some_Param), Fn_288_Param),
2092 equals(side1(Some_Param), Fn_288_Ret),
2093 not(adjacent(Fn_288_Param, Fn_288_Ret))
2094 ]).
2095axiom(not(some(Some_Param, '$kolem_Fn_288'(Fn_288_Param, Fn_288_Ret))),
2096
2097 [ not(equals(side2(Some_Param), Fn_288_Param)),
2098 not(equals(side1(Some_Param), Fn_288_Param)),
2099 adjacent(Fn_288_Param, Fn_288_Ret)
2100 ]).
2101axiom(not(some(Some_Param, '$kolem_Fn_288'(Fn_288_Param, Fn_288_Ret))),
2102
2103 [ not(equals(side1(Some_Param), Fn_288_Ret)),
2104 not(equals(side1(Some_Param), Fn_288_Param)),
2105 adjacent(Fn_288_Param, Fn_288_Ret)
2106 ]).
2107axiom(not(some(Some_Param, '$kolem_Fn_288'(Fn_288_Param, Fn_288_Ret))),
2108
2109 [ not(equals(side2(Some_Param), Fn_288_Param)),
2110 not(equals(side2(Some_Param), Fn_288_Ret)),
2111 adjacent(Fn_288_Param, Fn_288_Ret)
2112 ]).
2113axiom(not(some(Some_Param, '$kolem_Fn_288'(Fn_288_Param, Fn_288_Ret))),
2114
2115 [ not(equals(side1(Some_Param), Fn_288_Ret)),
2116 not(equals(side2(Some_Param), Fn_288_Ret)),
2117 adjacent(Fn_288_Param, Fn_288_Ret)
2118 ]).
2119
2120 2129axiom(adjacent(Adjacent_Param, Adjacent_Ret),
2130
2131 [ equals(side1(Some_Param8), Adjacent_Param),
2132 equals(side2(Some_Param8), Adjacent_Ret),
2133 some(Some_Param8,
2134 '$kolem_Fn_288'(Adjacent_Param, Adjacent_Ret))
2135 ]).
2136axiom(adjacent(Adjacent_Param, Adjacent_Ret),
2137
2138 [ equals(side2(Some_Param8), Adjacent_Param),
2139 equals(side1(Some_Param8), Adjacent_Ret),
2140 some(Some_Param8,
2141 '$kolem_Fn_288'(Adjacent_Param, Adjacent_Ret))
2142 ]).
2143
2144 2150axiom(not(equals(side1(Some_Param11), Adjacent_Param10)),
2151
2152 [ equals(side2(Some_Param11), Equals_Ret),
2153 not(adjacent(Adjacent_Param10, Equals_Ret)),
2154 some(Some_Param11,
2155 '$kolem_Fn_288'(Adjacent_Param10, Equals_Ret))
2156 ]).
2157
2158 2164axiom(not(equals(side2(Some_Param14), Equals_Ret15)),
2165
2166 [ equals(side1(Some_Param14), Adjacent_Param13),
2167 not(adjacent(Adjacent_Param13, Equals_Ret15)),
2168 some(Some_Param14,
2169 '$kolem_Fn_288'(Adjacent_Param13, Equals_Ret15))
2170 ]).
2171
2172 2178axiom(not(equals(side2(Some_Param17), Adjacent_Param16)),
2179
2180 [ equals(side1(Some_Param17), Equals_Ret18),
2181 not(adjacent(Adjacent_Param16, Equals_Ret18)),
2182 some(Some_Param17,
2183 '$kolem_Fn_288'(Adjacent_Param16, Equals_Ret18))
2184 ]).
2185
2186 2192axiom(not(equals(side1(Some_Param20), Equals_Ret21)),
2193
2194 [ equals(side2(Some_Param20), Adjacent_Param19),
2195 not(adjacent(Adjacent_Param19, Equals_Ret21)),
2196 some(Some_Param20,
2197 '$kolem_Fn_288'(Adjacent_Param19, Equals_Ret21))
2198 ]).
2199
2200 2211axiom(not(adjacent(Adjacent_Param22, Adjacent_Ret24)),
2212
2213 [ not(equals(side2(Some_Param23), Adjacent_Param22)),
2214 not(equals(side1(Some_Param23), Adjacent_Param22)),
2215 some(Some_Param23,
2216 '$kolem_Fn_288'(Adjacent_Param22, Adjacent_Ret24))
2217 ]).
2218axiom(not(adjacent(Adjacent_Param22, Adjacent_Ret24)),
2219
2220 [ not(equals(side1(Some_Param23), Adjacent_Ret24)),
2221 not(equals(side1(Some_Param23), Adjacent_Param22)),
2222 some(Some_Param23,
2223 '$kolem_Fn_288'(Adjacent_Param22, Adjacent_Ret24))
2224 ]).
2225axiom(not(adjacent(Adjacent_Param22, Adjacent_Ret24)),
2226
2227 [ not(equals(side2(Some_Param23), Adjacent_Param22)),
2228 not(equals(side2(Some_Param23), Adjacent_Ret24)),
2229 some(Some_Param23,
2230 '$kolem_Fn_288'(Adjacent_Param22, Adjacent_Ret24))
2231 ]).
2232axiom(not(adjacent(Adjacent_Param22, Adjacent_Ret24)),
2233
2234 [ not(equals(side1(Some_Param23), Adjacent_Ret24)),
2235 not(equals(side2(Some_Param23), Adjacent_Ret24)),
2236 some(Some_Param23,
2237 '$kolem_Fn_288'(Adjacent_Param22, Adjacent_Ret24))
2238 ]).
2239
2240 2248axiom(equals(side1(Some_Param26), Adjacent_Param25),
2249
2250 [ not(equals(side2(Some_Param26), Adjacent_Param25)),
2251 adjacent(Adjacent_Param25, Equals_Ret27),
2252 some(Some_Param26,
2253 '$kolem_Fn_288'(Adjacent_Param25, Equals_Ret27))
2254 ]).
2255axiom(equals(side1(Some_Param26), Adjacent_Param25),
2256
2257 [ not(equals(side1(Some_Param26), Equals_Ret27)),
2258 adjacent(Adjacent_Param25, Equals_Ret27),
2259 some(Some_Param26,
2260 '$kolem_Fn_288'(Adjacent_Param25, Equals_Ret27))
2261 ]).
2262
2263 2271axiom(equals(side2(Some_Param29), Equals_Ret30),
2272
2273 [ not(equals(side2(Some_Param29), Adjacent_Param28)),
2274 adjacent(Adjacent_Param28, Equals_Ret30),
2275 some(Some_Param29,
2276 '$kolem_Fn_288'(Adjacent_Param28, Equals_Ret30))
2277 ]).
2278axiom(equals(side2(Some_Param29), Equals_Ret30),
2279
2280 [ not(equals(side1(Some_Param29), Equals_Ret30)),
2281 adjacent(Adjacent_Param28, Equals_Ret30),
2282 some(Some_Param29,
2283 '$kolem_Fn_288'(Adjacent_Param28, Equals_Ret30))
2284 ]).
2285
2286 2294axiom(equals(side2(Some_Param32), Adjacent_Param31),
2295
2296 [ not(equals(side1(Some_Param32), Adjacent_Param31)),
2297 adjacent(Adjacent_Param31, Equals_Ret33),
2298 some(Some_Param32,
2299 '$kolem_Fn_288'(Adjacent_Param31, Equals_Ret33))
2300 ]).
2301axiom(equals(side2(Some_Param32), Adjacent_Param31),
2302
2303 [ not(equals(side2(Some_Param32), Equals_Ret33)),
2304 adjacent(Adjacent_Param31, Equals_Ret33),
2305 some(Some_Param32,
2306 '$kolem_Fn_288'(Adjacent_Param31, Equals_Ret33))
2307 ]).
2308
2309 2317axiom(equals(side1(Some_Param35), Equals_Ret36),
2318
2319 [ not(equals(side1(Some_Param35), Adjacent_Param34)),
2320 adjacent(Adjacent_Param34, Equals_Ret36),
2321 some(Some_Param35,
2322 '$kolem_Fn_288'(Adjacent_Param34, Equals_Ret36))
2323 ]).
2324axiom(equals(side1(Some_Param35), Equals_Ret36),
2325
2326 [ not(equals(side2(Some_Param35), Equals_Ret36)),
2327 adjacent(Adjacent_Param34, Equals_Ret36),
2328 some(Some_Param35,
2329 '$kolem_Fn_288'(Adjacent_Param34, Equals_Ret36))
2330 ]).
2331
2332
2333% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:696
2334%; The ground of outside is ground.
2335
2336% function GroundOf(outside): ground
2337 % functional_predicate(groundOf(outside,ground)).
2338% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:698
2339==> mpred_prop(groundOf(outside,ground),functional_predicate).
2340==> meta_argtypes(groundOf(outside,ground)).
2341resultIsa(groundOf,ground).
2342%; The sky of outside is sky.
2343
2344% function SkyOf(outside): sky
2345 % functional_predicate(skyOf(outside,sky)).
2346% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:700
2347==> mpred_prop(skyOf(outside,sky),functional_predicate).
2348==> meta_argtypes(skyOf(outside,sky)).
2349resultIsa(skyOf,sky).
2356axiom(holds_at(at(Ground, Outside), Time),
2357 [equals(groundOf(Outside), Ground)]).
2358
2359
2365axiom(holds_at(at(Sky, Outside), Time),
2366 [equals(skyOf(Outside), Sky)]).
2367
2368
2369% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:710
2370%; End of file.
2371%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2372%; FILE: ecnet/OTSpace.e
2373%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2374%;
2375%; Copyright (c) 2005 IBM Corporation and others.
2376%; All rights reserved. This program and the accompanying materials
2377%; are made available under the terms of the Common Public License v1.0
2378%; which accompanies this distribution, and is available at
2379%; http://www.eclipse.org/legal/cpl-v10.html
2380%;
2381%; Contributors:
2382%; IBM - Initial implementation
2383%;
2384%; OTSpace: object-scale topological space
2385%;
2386%; The OTSpace representation deals with topological space at
2387%; the scale of objects such as agents (humans and animals)
2388%; and physical objects.
2389%;
2390%; PartOf
2391%; physobj is a part of object.
2392
2393% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:738
2394% predicate PartOf(physobj,object)
2395 % predicate(partOf(physobj,object)).
2396% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:739
2397==> mpred_prop(partOf(physobj,object),predicate).
2398==> meta_argtypes(partOf(physobj,object)).
2399
2400
2411axiom(holds_at(at(Physobj, Location), Time),
2412
2413 [ partOf(Physobj, Object),
2414 holds_at(at(Object, Location), Time)
2415 ]).
2416
2417
2418% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:748
2419%; rolling a snowball bigger
2420%; agent rolls stuff1 along stuff2.
2421
2422% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:751
2423% event RollAlong(agent,stuff,stuff)
2424 % event(rollAlong(agent,stuff,stuff)).
2425% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:752
2426==> mpred_prop(rollAlong(agent,stuff,stuff),event).
2427==> meta_argtypes(rollAlong(agent,stuff,stuff)).
2428
2429
2430% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:752
2431%; The diameter of ball is diameter.
2432
2433% fluent Diameter(ball,diameter)
2434 % fluent(diameter(ball,diameter)).
2435% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:754
2436==> mpred_prop(diameter(ball,diameter),fluent).
2437==> meta_argtypes(diameter(ball,diameter)).
2438
2439
2447axiom(Diameter1=Diameter2,
2448
2449 [ holds_at(diameter(Ball, Diameter1), Time),
2450 holds_at(diameter(Ball, Diameter2), Time)
2451 ]).
2452
2453
2465axiom(initiates(rollAlong(Agent, Snow1, Snow2), diameter(Snow1, Diameter2), Time),
2466
2467 [ holds_at(diameter(Snow1, Diameter1), Time),
2468 equals(Diameter2, Diameter1+1)
2469 ]).
2470
2471
2479axiom(terminates(rollAlong(Agent, Snow1, Snow2), diameter(Snow1, Diameter1), Time),
2480 [holds_at(diameter(Snow1, Diameter1), Time)]).
2481
2482
2483% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:776
2484%; A precondition axiom states that
2485%; for an agent to roll some snow along some other snow,
2486%; there must be a location such that
2487%; the agent is at the location,
2488%; the first snow is at the location, and
2489%; the second snow is at the location:
2490%;[agent,snow1,snow2,time]
2491%;Happens(RollAlong(agent,snow1,snow2),time) ->
2492%;{location}
2493%;HoldsAt(At(agent,location),time) &
2494%;HoldsAt(At(snow1,location),time) &
2495%;HoldsAt(At(snow2,location),time).
2496%; motion
2497%; object moves (in place).
2498
2499% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:792
2500% event Move(object)
2501 % event(move(object)).
2502% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:793
2503==> mpred_prop(move(object),event).
2504==> meta_argtypes(move(object)).
2505
2506
2507% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:794
2508%; Holding
2509%; agent is holding physobj.
2510
2511% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:797
2512% fluent Holding(agent,physobj)
2513 % fluent(holding(agent,physobj)).
2514% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:798
2515==> mpred_prop(holding(agent,physobj),fluent).
2516==> meta_argtypes(holding(agent,physobj)).
2517
2518
2519% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:798
2520%; agent holds or picks up physobj.
2521
2522% event Hold(agent,physobj)
2523 % event(hold(agent,physobj)).
2524% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:800
2525==> mpred_prop(hold(agent,physobj),event).
2526==> meta_argtypes(hold(agent,physobj)).
2527
2528
2529% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:800
2530%; agent picks up some stuff1 from stuff2.
2531
2532% event HoldSome(agent,stuff,stuff)
2533 % event(holdSome(agent,stuff,stuff)).
2534% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:802
2535==> mpred_prop(holdSome(agent,stuff,stuff),event).
2536==> meta_argtypes(holdSome(agent,stuff,stuff)).
2537
2538
2539% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:802
2540%; agent releases or lets go of physobj.
2541
2542% event LetGoOf(agent,physobj)
2543 % event(letGoOf(agent,physobj)).
2544% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:804
2545==> mpred_prop(letGoOf(agent,physobj),event).
2546==> meta_argtypes(letGoOf(agent,physobj)).
2547
2548
2556axiom(initiates(hold(Agent, Physobj), holding(Agent, Physobj), Time),
2557 []).
2558
2559
2577axiom(terminates(letGoOf(Agent, Physobj), holding(Agent, Physobj), Time),
2578 []).
2579
2580
2590axiom(requires(letGoOf(Agent, Physobj), Time),
2591 [holds_at(holding(Agent, Physobj), Time)]).
2592
2593
2602axiom(releases(hold(Agent, Physobj), at(Physobj, Location), Time),
2603 []).
2604
2605
2616axiom(holds_at(at(Physobj, Location), Time),
2617
2618 [ holds_at(holding(Agent, Physobj), Time),
2619 holds_at(at(Agent, Location), Time)
2620 ]).
2621
2622
2633axiom(releases(hold(Agent, Physobj2), at(Physobj1, Location), Time),
2634 [partOf(Physobj1, Physobj2)]).
2635
2636
2647axiom(releases(hold(Agent, Physobj1), at(Physobj2, Location), Time),
2648 [partOf(Physobj1, Physobj2)]).
2649
2650
2663axiom(initiates(letGoOf(Agent, Physobj), at(Physobj, Location), Time),
2664
2665 [ not(partOf(Physobj, Object)),
2666 holds_at(at(Agent, Location), Time)
2667 ]).
2668
2669
2684axiom(initiates(letGoOf(Agent, Physobj1), at(Physobj2, Location), Time),
2685
2686 [ partOf(Physobj1, Physobj2),
2687 not(partOf(Physobj2, Object)),
2688 holds_at(at(Agent, Location), Time)
2689 ]).
2690
2691
2701axiom(initiates(letGoOf(Agent, Physobj), at(Physobj, Location), Time),
2702 [holds_at(at(Agent, Location), Time)]).
2703
2704
2715axiom(initiates(holdSome(Agent, Stuff1, Stuff2), holding(Agent, Stuff1), Time),
2716 []).
2717
2718
2735
2736 2741
2742 2752axiom(not(some(Location7, '$kolem_Fn_291'(Fn_291_Param, PartOf_Param, At_Param, Maptime))),
2753
2754 [ not(partOf(PartOf_Param, At_Param)),
2755 happens(holdSome(Fn_291_Param, PartOf_Param, At_Param),
2756 Maptime)
2757 ]).
2758axiom(not(some(Location7, '$kolem_Fn_291'(Fn_291_Param, PartOf_Param, At_Param, Maptime))),
2759
2760 [ not(holds_at(at(Fn_291_Param, Location7), Maptime)),
2761 happens(holdSome(Fn_291_Param, PartOf_Param, At_Param),
2762 Maptime)
2763 ]).
2764axiom(not(some(Location7, '$kolem_Fn_291'(Fn_291_Param, PartOf_Param, At_Param, Maptime))),
2765
2766 [ not(holds_at(at(PartOf_Param, Location7), Maptime)),
2767 happens(holdSome(Fn_291_Param, PartOf_Param, At_Param),
2768 Maptime)
2769 ]).
2770axiom(not(some(Location7, '$kolem_Fn_291'(Fn_291_Param, PartOf_Param, At_Param, Maptime))),
2771
2772 [ not(holds_at(at(At_Param, Location7), Maptime)),
2773 happens(holdSome(Fn_291_Param, PartOf_Param, At_Param),
2774 Maptime)
2775 ]).
2776
2777 2791axiom(not(happens(holdSome(HoldSome_Param, PartOf_Param14, At_Param15), Maptime11)),
2792
2793 [ not(partOf(PartOf_Param14, At_Param15)),
2794 some(Location12,
2795 '$kolem_Fn_291'(HoldSome_Param,
2796 PartOf_Param14,
2797 At_Param15,
2798 Maptime11))
2799 ]).
2800axiom(not(happens(holdSome(HoldSome_Param, PartOf_Param14, At_Param15), Maptime11)),
2801
2802 [ not(holds_at(at(HoldSome_Param, Location12), Maptime11)),
2803 some(Location12,
2804 '$kolem_Fn_291'(HoldSome_Param,
2805 PartOf_Param14,
2806 At_Param15,
2807 Maptime11))
2808 ]).
2809axiom(not(happens(holdSome(HoldSome_Param, PartOf_Param14, At_Param15), Maptime11)),
2810
2811 [ not(holds_at(at(PartOf_Param14, Location12), Maptime11)),
2812 some(Location12,
2813 '$kolem_Fn_291'(HoldSome_Param,
2814 PartOf_Param14,
2815 At_Param15,
2816 Maptime11))
2817 ]).
2818axiom(not(happens(holdSome(HoldSome_Param, PartOf_Param14, At_Param15), Maptime11)),
2819
2820 [ not(holds_at(at(At_Param15, Location12), Maptime11)),
2821 some(Location12,
2822 '$kolem_Fn_291'(HoldSome_Param,
2823 PartOf_Param14,
2824 At_Param15,
2825 Maptime11))
2826 ]).
2827
2828 2839axiom(partOf(PartOf_Param17, PartOf_Ret),
2840
2841 [ happens(holdSome(HoldSome_Param18,
2842 PartOf_Param17,
2843 PartOf_Ret),
2844 Maptime16),
2845 some(Some_Param,
2846 '$kolem_Fn_291'(HoldSome_Param18,
2847 PartOf_Param17,
2848 PartOf_Ret,
2849 Maptime16))
2850 ]).
2851
2852 2861axiom(holds_at(at(At_Param23, Location21), Time22),
2862
2863 [ happens(holdSome(At_Param23, A, HoldSome_Ret),
2864 Time22),
2865 some(Location21,
2866 '$kolem_Fn_291'(At_Param23,
2867 A,
2868 HoldSome_Ret,
2869 Time22))
2870 ]).
2871
2872 2883axiom(holds_at(at(At_Param27, Location25), Time26),
2884
2885 [ happens(holdSome(HoldSome_Param28,
2886 At_Param27,
2887 HoldSome_Ret29),
2888 Time26),
2889 some(Location25,
2890 '$kolem_Fn_291'(HoldSome_Param28,
2891 At_Param27,
2892 HoldSome_Ret29,
2893 Time26))
2894 ]).
2895
2896 2905axiom(holds_at(at(At_Param32, Location30), Time31),
2906
2907 [ happens(holdSome(HoldSome_Param33, A, At_Param32),
2908 Time31),
2909 some(Location30,
2910 '$kolem_Fn_291'(HoldSome_Param33,
2911 A,
2912 At_Param32,
2913 Time31))
2914 ]).
2915
2916
2925axiom(releases(holdSome(Agent, Stuff1, Stuff2), at(Stuff1, Location), Time),
2926 []).
2927
2928
2929% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:926
2930%; Inside
2931%; physobj1 is inside physobj2.
2932
2933% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:929
2934% fluent Inside(physobj,physobj)
2935 % fluent(inside(physobj,physobj)).
2936% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:930
2937==> mpred_prop(inside(physobj,physobj),fluent).
2938==> meta_argtypes(inside(physobj,physobj)).
2939
2940
2941% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:930
2942%; agent puts physobj1 inside physobj2.
2943
2944% event PutInside(agent,physobj,physobj)
2945 % event(putInside(agent,physobj,physobj)).
2946% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:932
2947==> mpred_prop(putInside(agent,physobj,physobj),event).
2948==> meta_argtypes(putInside(agent,physobj,physobj)).
2949
2950
2951% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:932
2952%; agent takes physobj1 out of physobj2.
2953
2954% event TakeOutOf(agent,physobj,physobj)
2955 % event(takeOutOf(agent,physobj,physobj)).
2956% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:934
2957==> mpred_prop(takeOutOf(agent,physobj,physobj),event).
2958==> meta_argtypes(takeOutOf(agent,physobj,physobj)).
2959
2960
2969axiom(Physobj1\=Physobj2,
2970 [holds_at(inside(Physobj1, Physobj2), Time)]).
2971
2972
2982axiom(not(holds_at(inside(Physobj2, Physobj1), Time)),
2983 [holds_at(inside(Physobj1, Physobj2), Time)]).
2984
2985
2995axiom(initiates(putInside(Agent, Physobj1, Physobj2), inside(Physobj1, Physobj2), Time),
2996 []).
2997
2998
3008axiom(terminates(putInside(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
3009 []).
3010
3011
3035axiom(terminates(takeOutOf(Agent, Physobj1, Physobj2), inside(Physobj1, Physobj2), Time),
3036 []).
3037
3038
3057
3058 3063
3064 3074axiom(not(some(Location7, '$kolem_Fn_292'(Fn_292_Param, Inside_Param, At_Param, Maptime))),
3075
3076 [ not(holds_at(inside(Inside_Param, At_Param), Maptime)),
3077 happens(takeOutOf(Fn_292_Param, Inside_Param, At_Param),
3078 Maptime)
3079 ]).
3080axiom(not(some(Location7, '$kolem_Fn_292'(Fn_292_Param, Inside_Param, At_Param, Maptime))),
3081
3082 [ not(holds_at(at(Fn_292_Param, Location7), Maptime)),
3083 happens(takeOutOf(Fn_292_Param, Inside_Param, At_Param),
3084 Maptime)
3085 ]).
3086axiom(not(some(Location7, '$kolem_Fn_292'(Fn_292_Param, Inside_Param, At_Param, Maptime))),
3087
3088 [ not(holds_at(at(Inside_Param, Location7), Maptime)),
3089 happens(takeOutOf(Fn_292_Param, Inside_Param, At_Param),
3090 Maptime)
3091 ]).
3092axiom(not(some(Location7, '$kolem_Fn_292'(Fn_292_Param, Inside_Param, At_Param, Maptime))),
3093
3094 [ not(holds_at(at(At_Param, Location7), Maptime)),
3095 happens(takeOutOf(Fn_292_Param, Inside_Param, At_Param),
3096 Maptime)
3097 ]).
3098
3099 3114axiom(not(happens(takeOutOf(TakeOutOf_Param, Inside_Param14, At_Param15), Maptime11)),
3115
3116 [ not(holds_at(inside(Inside_Param14, At_Param15),
3117 Maptime11)),
3118 some(Location12,
3119 '$kolem_Fn_292'(TakeOutOf_Param,
3120 Inside_Param14,
3121 At_Param15,
3122 Maptime11))
3123 ]).
3124axiom(not(happens(takeOutOf(TakeOutOf_Param, Inside_Param14, At_Param15), Maptime11)),
3125
3126 [ not(holds_at(at(TakeOutOf_Param, Location12), Maptime11)),
3127 some(Location12,
3128 '$kolem_Fn_292'(TakeOutOf_Param,
3129 Inside_Param14,
3130 At_Param15,
3131 Maptime11))
3132 ]).
3133axiom(not(happens(takeOutOf(TakeOutOf_Param, Inside_Param14, At_Param15), Maptime11)),
3134
3135 [ not(holds_at(at(Inside_Param14, Location12), Maptime11)),
3136 some(Location12,
3137 '$kolem_Fn_292'(TakeOutOf_Param,
3138 Inside_Param14,
3139 At_Param15,
3140 Maptime11))
3141 ]).
3142axiom(not(happens(takeOutOf(TakeOutOf_Param, Inside_Param14, At_Param15), Maptime11)),
3143
3144 [ not(holds_at(at(At_Param15, Location12), Maptime11)),
3145 some(Location12,
3146 '$kolem_Fn_292'(TakeOutOf_Param,
3147 Inside_Param14,
3148 At_Param15,
3149 Maptime11))
3150 ]).
3151
3152 3163axiom(holds_at(inside(Inside_Param17, Inside_Ret), Time16),
3164
3165 [ happens(takeOutOf(TakeOutOf_Param18,
3166 Inside_Param17,
3167 Inside_Ret),
3168 Time16),
3169 some(Some_Param,
3170 '$kolem_Fn_292'(TakeOutOf_Param18,
3171 Inside_Param17,
3172 Inside_Ret,
3173 Time16))
3174 ]).
3175
3176 3185axiom(holds_at(at(At_Param23, Location21), Time22),
3186
3187 [ happens(takeOutOf(At_Param23, A, TakeOutOf_Ret),
3188 Time22),
3189 some(Location21,
3190 '$kolem_Fn_292'(At_Param23,
3191 A,
3192 TakeOutOf_Ret,
3193 Time22))
3194 ]).
3195
3196 3207axiom(holds_at(at(At_Param27, Location25), Time26),
3208
3209 [ happens(takeOutOf(TakeOutOf_Param28,
3210 At_Param27,
3211 TakeOutOf_Ret29),
3212 Time26),
3213 some(Location25,
3214 '$kolem_Fn_292'(TakeOutOf_Param28,
3215 At_Param27,
3216 TakeOutOf_Ret29,
3217 Time26))
3218 ]).
3219
3220 3229axiom(holds_at(at(At_Param32, Location30), Time31),
3230
3231 [ happens(takeOutOf(TakeOutOf_Param33, A, At_Param32),
3232 Time31),
3233 some(Location30,
3234 '$kolem_Fn_292'(TakeOutOf_Param33,
3235 A,
3236 At_Param32,
3237 Time31))
3238 ]).
3239
3240
3251axiom(releases(putInside(Agent, Physobj1, Physobj2), at(Physobj1, Location), Time),
3252 []).
3253
3254
3265axiom(holds_at(at(Physobj1, Location), Time),
3266
3267 [ holds_at(inside(Physobj1, Physobj2), Time),
3268 holds_at(at(Physobj2, Location), Time)
3269 ]).
3270
3271
3282axiom(initiates(takeOutOf(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
3283 []).
3284
3285
3286% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1024
3287%; On
3288%; physobj1 is on physobj2.
3289
3290% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1027
3291% fluent On(physobj,physobj)
3292 % fluent(on(physobj,physobj)).
3293% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1028
3294==> mpred_prop(on(physobj,physobj),fluent).
3295==> meta_argtypes(on(physobj,physobj)).
3296
3297
3298% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1029
3299%; agent places physobj1 on physobj2.
3300
3301% event PlaceOn(agent,physobj,physobj)
3302 % event(placeOn(agent,physobj,physobj)).
3303% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1031
3304==> mpred_prop(placeOn(agent,physobj,physobj),event).
3305==> meta_argtypes(placeOn(agent,physobj,physobj)).
3306
3307
3308% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1031
3309%; agent takes physobj1 off of physobj2.
3310
3311% event TakeOffOf(agent,physobj,physobj)
3312 % event(takeOffOf(agent,physobj,physobj)).
3313% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1033
3314==> mpred_prop(takeOffOf(agent,physobj,physobj),event).
3315==> meta_argtypes(takeOffOf(agent,physobj,physobj)).
3316
3317
3326axiom(Physobj1\=Physobj2,
3327 [holds_at(on(Physobj1, Physobj2), Time)]).
3328
3329
3339axiom(not(holds_at(on(Physobj2, Physobj1), Time)),
3340 [holds_at(on(Physobj1, Physobj2), Time)]).
3341
3342
3352axiom(initiates(placeOn(Agent, Physobj1, Physobj2), on(Physobj1, Physobj2), Time),
3353 []).
3354
3355
3365axiom(terminates(placeOn(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
3366 []).
3367
3368
3392axiom(terminates(takeOffOf(Agent, Physobj1, Physobj2), on(Physobj1, Physobj2), Time),
3393 []).
3394
3395
3405axiom(initiates(takeOffOf(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
3406 []).
3407
3408
3427
3428 3433
3434 3444axiom(not(some(Location7, '$kolem_Fn_293'(Fn_293_Param, On_Param, At_Param, Maptime))),
3445
3446 [ not(holds_at(on(On_Param, At_Param), Maptime)),
3447 happens(takeOffOf(Fn_293_Param, On_Param, At_Param),
3448 Maptime)
3449 ]).
3450axiom(not(some(Location7, '$kolem_Fn_293'(Fn_293_Param, On_Param, At_Param, Maptime))),
3451
3452 [ not(holds_at(at(Fn_293_Param, Location7), Maptime)),
3453 happens(takeOffOf(Fn_293_Param, On_Param, At_Param),
3454 Maptime)
3455 ]).
3456axiom(not(some(Location7, '$kolem_Fn_293'(Fn_293_Param, On_Param, At_Param, Maptime))),
3457
3458 [ not(holds_at(at(On_Param, Location7), Maptime)),
3459 happens(takeOffOf(Fn_293_Param, On_Param, At_Param),
3460 Maptime)
3461 ]).
3462axiom(not(some(Location7, '$kolem_Fn_293'(Fn_293_Param, On_Param, At_Param, Maptime))),
3463
3464 [ not(holds_at(at(At_Param, Location7), Maptime)),
3465 happens(takeOffOf(Fn_293_Param, On_Param, At_Param),
3466 Maptime)
3467 ]).
3468
3469 3482axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
3483
3484 [ not(holds_at(on(On_Param14, At_Param15), Maptime11)),
3485 some(Location12,
3486 '$kolem_Fn_293'(TakeOffOf_Param,
3487 On_Param14,
3488 At_Param15,
3489 Maptime11))
3490 ]).
3491axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
3492
3493 [ not(holds_at(at(TakeOffOf_Param, Location12), Maptime11)),
3494 some(Location12,
3495 '$kolem_Fn_293'(TakeOffOf_Param,
3496 On_Param14,
3497 At_Param15,
3498 Maptime11))
3499 ]).
3500axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
3501
3502 [ not(holds_at(at(On_Param14, Location12), Maptime11)),
3503 some(Location12,
3504 '$kolem_Fn_293'(TakeOffOf_Param,
3505 On_Param14,
3506 At_Param15,
3507 Maptime11))
3508 ]).
3509axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
3510
3511 [ not(holds_at(at(At_Param15, Location12), Maptime11)),
3512 some(Location12,
3513 '$kolem_Fn_293'(TakeOffOf_Param,
3514 On_Param14,
3515 At_Param15,
3516 Maptime11))
3517 ]).
3518
3519 3528axiom(holds_at(on(On_Param17, On_Ret), Time16),
3529
3530 [ happens(takeOffOf(TakeOffOf_Param18, On_Param17, On_Ret),
3531 Time16),
3532 some(Some_Param,
3533 '$kolem_Fn_293'(TakeOffOf_Param18,
3534 On_Param17,
3535 On_Ret,
3536 Time16))
3537 ]).
3538
3539 3548axiom(holds_at(at(At_Param23, Location21), Time22),
3549
3550 [ happens(takeOffOf(At_Param23, A, TakeOffOf_Ret),
3551 Time22),
3552 some(Location21,
3553 '$kolem_Fn_293'(At_Param23,
3554 A,
3555 TakeOffOf_Ret,
3556 Time22))
3557 ]).
3558
3559 3570axiom(holds_at(at(At_Param27, Location25), Time26),
3571
3572 [ happens(takeOffOf(TakeOffOf_Param28,
3573 At_Param27,
3574 TakeOffOf_Ret29),
3575 Time26),
3576 some(Location25,
3577 '$kolem_Fn_293'(TakeOffOf_Param28,
3578 At_Param27,
3579 TakeOffOf_Ret29,
3580 Time26))
3581 ]).
3582
3583 3592axiom(holds_at(at(At_Param32, Location30), Time31),
3593
3594 [ happens(takeOffOf(TakeOffOf_Param33, A, At_Param32),
3595 Time31),
3596 some(Location30,
3597 '$kolem_Fn_293'(TakeOffOf_Param33,
3598 A,
3599 At_Param32,
3600 Time31))
3601 ]).
3602
3603
3615axiom(releases(placeOn(Agent, Physobj1, Physobj2), at(Physobj1, Location), Time),
3616 []).
3617
3618
3629axiom(holds_at(at(Physobj1, Location), Time),
3630
3631 [ holds_at(on(Physobj1, Physobj2), Time),
3632 holds_at(at(Physobj2, Location), Time)
3633 ]).
3634
3635% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1123
3636% fluent Near(agent,object)
3637 % fluent(near(agent,object)).
3638% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1124
3639==> mpred_prop(near(agent,object),fluent).
3640==> meta_argtypes(near(agent,object)).
3641
3642% event WalkFromTo(agent,object,object)
3643 % event(walkFromTo(agent,object,object)).
3644% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1125
3645==> mpred_prop(walkFromTo(agent,object,object),event).
3646==> meta_argtypes(walkFromTo(agent,object,object)).
3647
3648% event WalkFrom(agent,object)
3649 % event(walkFrom(agent,object)).
3650% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1126
3651==> mpred_prop(walkFrom(agent,object),event).
3652==> meta_argtypes(walkFrom(agent,object)).
3653
3654% event RunFromTo(agent,object,object)
3655 % event(runFromTo(agent,object,object)).
3656% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1127
3657==> mpred_prop(runFromTo(agent,object,object),event).
3658==> meta_argtypes(runFromTo(agent,object,object)).
3659
3660
3667axiom(initiates(walkFromTo(Agent, Object1, Object2), near(Agent, Object2), Time),
3668 []).
3669
3670
3677axiom(terminates(walkFromTo(Agent, Object1, Object2), near(Agent, Object1), Time),
3678 []).
3679
3680
3689
3690 3695
3696 3705axiom(not(some(Location7, '$kolem_Fn_294'(Fn_294_Param, At_Param, At_Param10, Maptime))),
3706
3707 [ not(holds_at(at(Fn_294_Param, Location7), Maptime)),
3708 happens(walkFromTo(Fn_294_Param, At_Param, At_Param10),
3709 Maptime)
3710 ]).
3711axiom(not(some(Location7, '$kolem_Fn_294'(Fn_294_Param, At_Param, At_Param10, Maptime))),
3712
3713 [ not(holds_at(at(At_Param, Location7), Maptime)),
3714 happens(walkFromTo(Fn_294_Param, At_Param, At_Param10),
3715 Maptime)
3716 ]).
3717axiom(not(some(Location7, '$kolem_Fn_294'(Fn_294_Param, At_Param, At_Param10, Maptime))),
3718
3719 [ not(holds_at(at(At_Param10, Location7), Maptime)),
3720 happens(walkFromTo(Fn_294_Param, At_Param, At_Param10),
3721 Maptime)
3722 ]).
3723
3724 3736axiom(not(happens(walkFromTo(WalkFromTo_Param, At_Param14, At_Param15), Maptime11)),
3737
3738 [ not(holds_at(at(WalkFromTo_Param, Location12),
3739 Maptime11)),
3740 some(Location12,
3741 '$kolem_Fn_294'(WalkFromTo_Param,
3742 At_Param14,
3743 At_Param15,
3744 Maptime11))
3745 ]).
3746axiom(not(happens(walkFromTo(WalkFromTo_Param, At_Param14, At_Param15), Maptime11)),
3747
3748 [ not(holds_at(at(At_Param14, Location12), Maptime11)),
3749 some(Location12,
3750 '$kolem_Fn_294'(WalkFromTo_Param,
3751 At_Param14,
3752 At_Param15,
3753 Maptime11))
3754 ]).
3755axiom(not(happens(walkFromTo(WalkFromTo_Param, At_Param14, At_Param15), Maptime11)),
3756
3757 [ not(holds_at(at(At_Param15, Location12), Maptime11)),
3758 some(Location12,
3759 '$kolem_Fn_294'(WalkFromTo_Param,
3760 At_Param14,
3761 At_Param15,
3762 Maptime11))
3763 ]).
3764
3765 3774axiom(holds_at(at(At_Param18, Location16), Time17),
3775
3776 [ happens(walkFromTo(At_Param18, A, WalkFromTo_Ret),
3777 Time17),
3778 some(Location16,
3779 '$kolem_Fn_294'(At_Param18,
3780 A,
3781 WalkFromTo_Ret,
3782 Time17))
3783 ]).
3784
3785 3796axiom(holds_at(at(At_Param22, Location20), Time21),
3797
3798 [ happens(walkFromTo(WalkFromTo_Param23,
3799 At_Param22,
3800 WalkFromTo_Ret24),
3801 Time21),
3802 some(Location20,
3803 '$kolem_Fn_294'(WalkFromTo_Param23,
3804 At_Param22,
3805 WalkFromTo_Ret24,
3806 Time21))
3807 ]).
3808
3809 3818axiom(holds_at(at(At_Param27, Location25), Time26),
3819
3820 [ happens(walkFromTo(WalkFromTo_Param28, A, At_Param27),
3821 Time26),
3822 some(Location25,
3823 '$kolem_Fn_294'(WalkFromTo_Param28,
3824 A,
3825 At_Param27,
3826 Time26))
3827 ]).
3828
3829
3836axiom(initiates(runFromTo(Agent, Object1, Object2), near(Agent, Object2), Time),
3837 []).
3838
3839
3846axiom(terminates(runFromTo(Agent, Object1, Object2), near(Agent, Object1), Time),
3847 []).
3848
3849
3858
3859 3864
3865 3874axiom(not(some(Location7, '$kolem_Fn_295'(Fn_295_Param, At_Param, At_Param10, Maptime))),
3875
3876 [ not(holds_at(at(Fn_295_Param, Location7), Maptime)),
3877 happens(runFromTo(Fn_295_Param, At_Param, At_Param10),
3878 Maptime)
3879 ]).
3880axiom(not(some(Location7, '$kolem_Fn_295'(Fn_295_Param, At_Param, At_Param10, Maptime))),
3881
3882 [ not(holds_at(at(At_Param, Location7), Maptime)),
3883 happens(runFromTo(Fn_295_Param, At_Param, At_Param10),
3884 Maptime)
3885 ]).
3886axiom(not(some(Location7, '$kolem_Fn_295'(Fn_295_Param, At_Param, At_Param10, Maptime))),
3887
3888 [ not(holds_at(at(At_Param10, Location7), Maptime)),
3889 happens(runFromTo(Fn_295_Param, At_Param, At_Param10),
3890 Maptime)
3891 ]).
3892
3893 3905axiom(not(happens(runFromTo(RunFromTo_Param, At_Param14, At_Param15), Maptime11)),
3906
3907 [ not(holds_at(at(RunFromTo_Param, Location12), Maptime11)),
3908 some(Location12,
3909 '$kolem_Fn_295'(RunFromTo_Param,
3910 At_Param14,
3911 At_Param15,
3912 Maptime11))
3913 ]).
3914axiom(not(happens(runFromTo(RunFromTo_Param, At_Param14, At_Param15), Maptime11)),
3915
3916 [ not(holds_at(at(At_Param14, Location12), Maptime11)),
3917 some(Location12,
3918 '$kolem_Fn_295'(RunFromTo_Param,
3919 At_Param14,
3920 At_Param15,
3921 Maptime11))
3922 ]).
3923axiom(not(happens(runFromTo(RunFromTo_Param, At_Param14, At_Param15), Maptime11)),
3924
3925 [ not(holds_at(at(At_Param15, Location12), Maptime11)),
3926 some(Location12,
3927 '$kolem_Fn_295'(RunFromTo_Param,
3928 At_Param14,
3929 At_Param15,
3930 Maptime11))
3931 ]).
3932
3933 3942axiom(holds_at(at(At_Param18, Location16), Time17),
3943
3944 [ happens(runFromTo(At_Param18, A, RunFromTo_Ret),
3945 Time17),
3946 some(Location16,
3947 '$kolem_Fn_295'(At_Param18,
3948 A,
3949 RunFromTo_Ret,
3950 Time17))
3951 ]).
3952
3953 3964axiom(holds_at(at(At_Param22, Location20), Time21),
3965
3966 [ happens(runFromTo(RunFromTo_Param23,
3967 At_Param22,
3968 RunFromTo_Ret24),
3969 Time21),
3970 some(Location20,
3971 '$kolem_Fn_295'(RunFromTo_Param23,
3972 At_Param22,
3973 RunFromTo_Ret24,
3974 Time21))
3975 ]).
3976
3977 3986axiom(holds_at(at(At_Param27, Location25), Time26),
3987
3988 [ happens(runFromTo(RunFromTo_Param28, A, At_Param27),
3989 Time26),
3990 some(Location25,
3991 '$kolem_Fn_295'(RunFromTo_Param28,
3992 A,
3993 At_Param27,
3994 Time26))
3995 ]).
3996
3997
4004axiom(terminates(walkFrom(Agent, Object), near(Agent, Object), Time),
4005 []).
4006
4007
4017axiom(happens(walkFrom(Agent, Object), Time),
4018
4019 [ holds_at(near(Agent, Object), Time),
4020 holds_at(at(Agent, Location), Time),
4021 holds_at(at(Object, Location), Time),
4022 equals(side1(Door), Location),
4023 happens(walkThroughDoor12(Agent, Door), Time)
4024 ]).
4025
4026
4036axiom(happens(walkFrom(Agent, Object), Time),
4037
4038 [ holds_at(near(Agent, Object), Time),
4039 holds_at(at(Agent, Location), Time),
4040 holds_at(at(Object, Location), Time),
4041 equals(side2(Door), Location),
4042 happens(walkThroughDoor21(Agent, Door), Time)
4043 ]).
4044
4045
4055axiom(happens(walkFrom(Agent, Object), Time),
4056
4057 [ holds_at(near(Agent, Object), Time),
4058 holds_at(at(Agent, Room), Time),
4059 holds_at(at(Object, Room), Time),
4060 equals(side1(Staircase), Room),
4061 happens(walkUpStaircase(Agent, Staircase), Time)
4062 ]).
4063
4064
4074axiom(happens(walkFrom(Agent, Object), Time),
4075
4076 [ holds_at(near(Agent, Object), Time),
4077 holds_at(at(Agent, Room), Time),
4078 holds_at(at(Object, Room), Time),
4079 equals(side2(Staircase), Room),
4080 happens(walkDownStaircase(Agent, Staircase), Time)
4081 ]).
4082
4083
4084% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1199
4085%; End of file.
4086%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4087%; FILE: ecnet/OMSpace.e
4088%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4089%;
4090%; Copyright (c) 2005 IBM Corporation and others.
4091%; All rights reserved. This program and the accompanying materials
4092%; are made available under the terms of the Common Public License v1.0
4093%; which accompanies this distribution, and is available at
4094%; http://www.eclipse.org/legal/cpl-v10.html
4095%;
4096%; Contributors:
4097%; IBM - Initial implementation
4098%;
4099%; OMSpace: object-scale metric space
4100%;
4101%; The OMSpace representation deals with metric space at
4102%; the scale of objects.
4103%;
4104%; @article{Morgenstern:2001,
4105%; author = "Morgenstern, Leora",
4106%; year = "2001",
4107%; title = "Mid-sized axiomatizations of commonsense problems: A case study in egg cracking",
4108%; journal = "Studia Logica",
4109%; volume = "67",
4110%; pages = "333--384",
4111%; }
4112%;
4113%; @article{Shanahan:2003,
4114%; author = "Shanahan, Murray",
4115%; year = "2004",
4116%; title = "An attempt to formalise a non-trivial benchmark problem in common sense reasoning",
4117%; journal = "Artificial Intelligence",
4118%; volume = "153",
4119%; pages = "141--165",
4120%; }
4121%;
4122
4123% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1241
4124% sort height: integer
4125% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1242
4126==> subsort(height,integer).
4127
4128% sort distance: integer
4129% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1243
4130==> subsort(distance,integer).
4131%; Height
4132%; The height of object is height.
4133
4134% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1247
4135% fluent Height(object,height)
4136 % fluent(height(object,height)).
4137% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1248
4138==> mpred_prop(height(object,height),fluent).
4139==> meta_argtypes(height(object,height)).
4140
4141
4151axiom(Height1=Height2,
4152
4153 [ holds_at(height(Object, Height1), Time),
4154 holds_at(height(Object, Height2), Time)
4155 ]).
4156
4157
4162
4163 4166
4167 4171axiom(holds_at(height(Height_Param, Some_Param), Time4),
4172 [some(Some_Param, '$kolem_Fn_296'(Height_Param, Time4))]).
4173
4174 4177axiom(not(some(Some_Param8, '$kolem_Fn_296'(Fn_296_Param, Time7))),
4178 [not(holds_at(height(Fn_296_Param, Some_Param8), Time7))]).
4179
4180
4181% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1260
4182%; falling
4183%; physobj1 is falling from physobj2 to physobj3.
4184
4185% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1263
4186% fluent FallingFromTo(physobj,physobj,physobj)
4187 % fluent(fallingFromTo(physobj,physobj,physobj)).
4188% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1264
4189==> mpred_prop(fallingFromTo(physobj,physobj,physobj),fluent).
4190==> meta_argtypes(fallingFromTo(physobj,physobj,physobj)).
4191
4192
4193% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1264
4194%; physobj1 starts falling from physobj2 to physobj3.
4195
4196% event StartFallingFromTo(physobj,physobj,physobj)
4197 % event(startFallingFromTo(physobj,physobj,physobj)).
4198% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1266
4199==> mpred_prop(startFallingFromTo(physobj,physobj,physobj),event).
4200==> meta_argtypes(startFallingFromTo(physobj,physobj,physobj)).
4201
4202
4203% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1266
4204%; physobj1 collides with physobj2.
4205
4206% event CollideWith(physobj,physobj)
4207 % event(collideWith(physobj,physobj)).
4208% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1268
4209==> mpred_prop(collideWith(physobj,physobj),event).
4210==> meta_argtypes(collideWith(physobj,physobj)).
4211
4212
4224axiom(initiates(startFallingFromTo(Physobj1, Physobj2, Physobj3), fallingFromTo(Physobj1, Physobj2, Physobj3), Time),
4225 []).
4226
4227
4242axiom(Height1=Height2,
4243
4244 [ happens(startFallingFromTo(Physobj1, Physobj2, Physobj3),
4245 Time),
4246 holds_at(height(Physobj1, Height1), Time),
4247 holds_at(height(Physobj2, Height2), Time)
4248 ]).
4249
4250
4261
4262 4266
4267 4274axiom(not(holds_at(fallingFromTo(FallingFromTo_Param, Dif_Param, FallingFromTo_Ret), Time4)),
4275 [not({dif(FallingFromTo_Param, Dif_Param)})]).
4276axiom(not(holds_at(fallingFromTo(FallingFromTo_Param, Dif_Param, FallingFromTo_Ret), Time4)),
4277 [not({dif(FallingFromTo_Param, FallingFromTo_Ret)})]).
4278axiom(not(holds_at(fallingFromTo(FallingFromTo_Param, Dif_Param, FallingFromTo_Ret), Time4)),
4279 [not({dif(Dif_Param, FallingFromTo_Ret)})]).
4280
4281 4288axiom({ dif(Dif_Param9, Dif_Ret)
4289},
4290
4291 [ holds_at(fallingFromTo(Dif_Param9,
4292 Dif_Ret,
4293 FallingFromTo_Ret11),
4294 Time8)
4295 ]).
4296
4297 4302axiom({ dif(Dif_Param13, Dif_Ret14)
4303},
4304
4305 [ holds_at(fallingFromTo(Dif_Param13, _, Dif_Ret14),
4306 Time12)
4307 ]).
4308
4309 4316axiom({ dif(Dif_Param16, Dif_Ret18)
4317},
4318
4319 [ holds_at(fallingFromTo(FallingFromTo_Param17,
4320 Dif_Param16,
4321 Dif_Ret18),
4322 Time15)
4323 ]).
4324
4325
4330
4331 4335axiom(not(holds_at(fallingFromTo(FallingFromTo_Param, _, FallingFromTo_Ret), Time4)),
4336 []).
4337
4338
4351axiom(releases(startFallingFromTo(Physobj1, Physobj2, Physobj3), height(Physobj1, Height), Time),
4352 []).
4353
4354
4372axiom(trajectory(fallingFromTo(Physobj1, Physobj2, Physobj3), Time, height(Physobj1, Height2), Offset),
4373
4374 [ holds_at(height(Physobj1, Height1), Time),
4375 equals(Height2, Height1-Offset)
4376 ]).
4377
4378
4395axiom(happens(collideWith(Physobj1, Physobj3), Time),
4396
4397 [ holds_at(fallingFromTo(Physobj1, Physobj2, Physobj3),
4398 Time),
4399 holds_at(height(Physobj1, Height), Time),
4400 holds_at(height(Physobj3, Height), Time)
4401 ]).
4402
4403
4419axiom(initiates(collideWith(Physobj1, Physobj3), on(Physobj1, Physobj3), Time),
4420
4421 [ holds_at(fallingFromTo(Physobj1, Physobj2, Physobj3),
4422 Time)
4423 ]).
4424
4425
4439axiom(initiates(collideWith(Physobj1, Physobj2), height(Physobj1, Height), Time),
4440 [holds_at(height(Physobj2, Height), Time)]).
4441
4442
4466axiom(terminates(collideWith(Physobj1, Physobj3), fallingFromTo(Physobj1, Physobj2, Physobj3), Time),
4467
4468 [ holds_at(fallingFromTo(Physobj1, Physobj2, Physobj3),
4469 Time)
4470 ]).
4471
4472
4473% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1388
4474%; flying
4475%; agent is flying from physobj1 to physobj2.
4476
4477% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1391
4478% fluent FlyingFromTo(agent,physobj,physobj)
4479 % fluent(flyingFromTo(agent,physobj,physobj)).
4480% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1392
4481==> mpred_prop(flyingFromTo(agent,physobj,physobj),fluent).
4482==> meta_argtypes(flyingFromTo(agent,physobj,physobj)).
4483
4484
4485% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1392
4486%; agent starts flying from physobj1 to physobj2.
4487
4488% event StartFlyingFromTo(agent,physobj,physobj)
4489 % event(startFlyingFromTo(agent,physobj,physobj)).
4490% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1394
4491==> mpred_prop(startFlyingFromTo(agent,physobj,physobj),event).
4492==> meta_argtypes(startFlyingFromTo(agent,physobj,physobj)).
4493
4494
4495% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1394
4496%; agent reaches physobj.
4497
4498% event Reach(agent,physobj)
4499 % event(reach(agent,physobj)).
4500% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1396
4501==> mpred_prop(reach(agent,physobj),event).
4502==> meta_argtypes(reach(agent,physobj)).
4503
4504
4516axiom(initiates(startFlyingFromTo(Agent, Physobj1, Physobj2), flyingFromTo(Agent, Physobj1, Physobj2), Time),
4517 []).
4518
4519
4533axiom(Height1=Height2,
4534
4535 [ happens(startFlyingFromTo(Agent, Physobj1, Physobj2),
4536 Time),
4537 holds_at(height(Agent, Height1), Time),
4538 holds_at(height(Physobj1, Height2), Time)
4539 ]).
4540
4541
4550axiom(Physobj1\=Physobj2,
4551
4552 [ holds_at(flyingFromTo(Agent, Physobj1, Physobj2),
4553 Time)
4554 ]).
4555
4556
4568axiom(releases(startFlyingFromTo(Agent, Physobj1, Physobj2), height(Agent, Height), Time),
4569 []).
4570
4571
4589axiom(trajectory(flyingFromTo(Agent, Physobj1, Physobj2), Time, height(Agent, Height2), Offset),
4590
4591 [ holds_at(height(Agent, Height1), Time),
4592 equals(Height2, Height1+Offset)
4593 ]).
4594
4595
4611axiom(happens(reach(Agent, Physobj2), Time),
4612
4613 [ holds_at(flyingFromTo(Agent, Physobj1, Physobj2),
4614 Time),
4615 holds_at(height(Agent, Height), Time),
4616 holds_at(height(Physobj2, Height), Time)
4617 ]).
4618
4619
4630axiom(initiates(reach(Agent, Physobj), height(Agent, Height), Time),
4631 [holds_at(height(Physobj, Height), Time)]).
4632
4633
4654axiom(terminates(reach(Agent, Physobj2), flyingFromTo(Agent, Physobj1, Physobj2), Time),
4655
4656 [ holds_at(flyingFromTo(Agent, Physobj1, Physobj2),
4657 Time)
4658 ]).
4659
4660
4668axiom(releases(hold(Agent, Physobj), height(Physobj, Height), Time),
4669 []).
4670
4671
4684axiom(initiates(letGoOf(Agent, Physobj), height(Physobj, Height), Time),
4685
4686 [ not(partOf(Physobj, Object)),
4687 holds_at(height(Physobj, Height), Time)
4688 ]).
4689
4690
4702axiom(holds_at(height(Physobj, Height), Time),
4703
4704 [ holds_at(holding(Agent, Physobj), Time),
4705 holds_at(height(Agent, Height), Time)
4706 ]).
4707
4708
4720axiom(holds_at(height(Physobj, Height), Time),
4721
4722 [ partOf(Physobj, Object),
4723 holds_at(height(Object, Height), Time)
4724 ]).
4725
4726
4727% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1522
4728%;event Catch(agent,physobj)
4729%;event HitFromTo(agent,physobj,object,object)
4730%;fluent Distance(physobj,physobj,distance)
4731%;fluent FlyingAcrossFromTo(physobj,object,object)
4732%;[agent,physobj1,physobj2,physobj3,time]
4733%;Initiates(HitFromTo(agent,physobj1,physobj2,physobj3),
4734%; FlyingAcrossFromTo(physobj1,physobj2,physobj3),
4735%; time).
4736%;[agent,physobj1,physobj2,physobj3,distance,time]
4737%;Releases(HitFromTo(agent,physobj1,physobj2,physobj3),
4738%; Distance(physobj1,physobj2,distance),
4739%; time).
4740%;[agent,physobj1,physobj2,physobj3,distance,time]
4741%;Releases(HitFromTo(agent,physobj1,physobj2,physobj3),
4742%; Distance(physobj1,physobj3,distance),
4743%; time).
4744%;[physobj1,physobj2,physobj3,offset,time]
4745%;Trajectory(FlyingAcrossFromTo(physobj1,physobj2,physobj3),time,
4746%; Distance(physobj1,physobj2,offset),offset).
4747%;[physobj1,physobj2,physobj3,distance1,distance2,offset,time]
4748%;HoldsAt(Distance(physobj2,physobj3,distance1),time) &
4749%;distance2 = distance1 - time ->
4750%;Trajectory(FlyingAcrossFromTo(physobj1,physobj2,physobj3),time,
4751%; Distance(physobj1,physobj3,distance2),offset).
4752%;[agent,physobj1,physobj2,physobj3,time]
4753%;HoldsAt(FlyingAcrossFromTo(physobj1,physobj2,physobj3),time) ->
4754%;Initiates(Catch(agent,physobj1),
4755%; Holding(agent,physobj1),
4756%; time).
4757%;[agent,physobj1,physobj2,physobj3,time]
4758%;HoldsAt(FlyingAcrossFromTo(physobj1,physobj2,physobj3),time) ->
4759%;Terminates(Catch(agent,physobj1),
4760%; FlyingAcrossFromTo(physobj1,physobj2,physobj3),
4761%; time).
4762%; End of file.
4763%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4764%; FILE: ecnet/GSpace.e
4765%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4766%;
4767%; Copyright (c) 2005 IBM Corporation and others.
4768%; All rights reserved. This program and the accompanying materials
4769%; are made available under the terms of the Common Public License v1.0
4770%; which accompanies this distribution, and is available at
4771%; http://www.eclipse.org/legal/cpl-v10.html
4772%;
4773%; Contributors:
4774%; IBM - Initial implementation
4775%;
4776%; GSpace: grid space
4777%;
4778%; @book{Mueller:1998,
4779%; author = "Erik T. Mueller",
4780%; year = "1998",
4781%; title = "Natural Language Processing with \uppercase{T}hought\uppercase{T}reasure",
4782%; address = "New York",
4783%; publisher = "Signiform",
4784%; }
4785%;
4786
4787% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1593
4788% sort coord: integer
4789% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1594
4790==> subsort(coord,integer).
4791
4792% sort grid
4793% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1595
4794==> sort(grid).
4795%; object is at (coord1, coord2) in grid.
4796
4797% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1597
4798% fluent GridAt(grid,object,coord,coord)
4799 % fluent(gridAt(grid,object,coord,coord)).
4800% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1598
4801==> mpred_prop(gridAt(grid,object,coord,coord),fluent).
4802==> meta_argtypes(gridAt(grid,object,coord,coord)).
4803
4804
4805% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1599
4806%; agent walks from (coord1, coord2)
4807%; to (coord3, coord4) in grid.
4808
4809% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1601
4810% event GridWalk(grid,agent,coord,coord,coord,coord)
4811 % event(gridWalk(grid,agent,coord,coord,coord,coord)).
4812% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1602
4813==> mpred_prop(gridWalk(grid,agent,coord,coord,coord,coord),event).
4814==> meta_argtypes(gridWalk(grid,agent,coord,coord,coord,coord)).
4815
4816
4825
4826 4829
4830 4841axiom(not(holds_at(gridAt(GridAt_Param, A, Equals_Param, Equals_Param10), Time7)),
4842
4843 [ not(equals(Equals_Param, Equals_Ret)),
4844 holds_at(gridAt(GridAt_Param,
4845 A,
4846 Equals_Ret,
4847 GridAt_Ret),
4848 Time7)
4849 ]).
4850axiom(not(holds_at(gridAt(GridAt_Param, A, Equals_Param, Equals_Param10), Time7)),
4851
4852 [ not(equals(Equals_Param10, GridAt_Ret)),
4853 holds_at(gridAt(GridAt_Param,
4854 A,
4855 Equals_Ret,
4856 GridAt_Ret),
4857 Time7)
4858 ]).
4859
4860 4870axiom(not(holds_at(gridAt(GridAt_Param14, A, Equals_Ret18, GridAt_Ret17), Time13)),
4871
4872 [ not(equals(Equals_Param15, Equals_Ret18)),
4873 holds_at(gridAt(GridAt_Param14,
4874 A,
4875 Equals_Param15,
4876 Equals_Param16),
4877 Time13)
4878 ]).
4879axiom(not(holds_at(gridAt(GridAt_Param14, A, Equals_Ret18, GridAt_Ret17), Time13)),
4880
4881 [ not(equals(Equals_Param16, GridAt_Ret17)),
4882 holds_at(gridAt(GridAt_Param14,
4883 A,
4884 Equals_Param15,
4885 Equals_Param16),
4886 Time13)
4887 ]).
4888
4889 4901axiom(equals(Equals_Param20, Equals_Ret22),
4902
4903 [ holds_at(gridAt(GridAt_Param21,
4904 A,
4905 Equals_Param20,
4906 GridAt_Ret23),
4907 Time19),
4908 holds_at(gridAt(GridAt_Param21,
4909 A,
4910 Equals_Ret22,
4911 GridAt_Ret24),
4912 Time19)
4913 ]).
4914
4915 4921axiom(equals(Equals_Param26, Equals_Ret28),
4922
4923 [ holds_at(gridAt(GridAt_Param27,
4924 A,
4925 _,
4926 Equals_Param26),
4927 Time25),
4928 holds_at(gridAt(GridAt_Param27, A, _, Equals_Ret28),
4929 Time25)
4930 ]).
4931
4932
4943axiom(initiates(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), gridAt(Grid, Agent, Coord3, Coord4), Time),
4944 []).
4945
4946
4957axiom(terminates(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), gridAt(Grid, Agent, Coord1, Coord2), Time),
4958 []).
4959
4960
4979axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
4980
4981 [ equals(Coord2, Coord4),
4982 equals(Coord1, Coord3),
4983 holds_at(gridAt(Grid, Agent, Coord1, Coord2),
4984 Time),
4985 not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
4986 Time))
4987 ]).
4988axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
4989
4990 [ equals(Coord2, Coord4+1),
4991 equals(Coord1, Coord3),
4992 holds_at(gridAt(Grid, Agent, Coord1, Coord2),
4993 Time),
4994 not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
4995 Time))
4996 ]).
4997axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
4998
4999 [ equals(Coord2, Coord4-1),
5000 equals(Coord1, Coord3),
5001 holds_at(gridAt(Grid, Agent, Coord1, Coord2),
5002 Time),
5003 not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
5004 Time))
5005 ]).
5006axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
5007
5008 [ equals(Coord2, Coord4),
5009 equals(Coord1, Coord3+1),
5010 holds_at(gridAt(Grid, Agent, Coord1, Coord2),
5011 Time),
5012 not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
5013 Time))
5014 ]).
5015axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
5016
5017 [ equals(Coord2, Coord4+1),
5018 equals(Coord1, Coord3+1),
5019 holds_at(gridAt(Grid, Agent, Coord1, Coord2),
5020 Time),
5021 not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
5022 Time))
5023 ]).
5024axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
5025
5026 [ equals(Coord2, Coord4-1),
5027 equals(Coord1, Coord3+1),
5028 holds_at(gridAt(Grid, Agent, Coord1, Coord2),
5029 Time),
5030 not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
5031 Time))
5032 ]).
5033axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
5034
5035 [ equals(Coord2, Coord4),
5036 equals(Coord1, Coord3-1),
5037 holds_at(gridAt(Grid, Agent, Coord1, Coord2),
5038 Time),
5039 not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
5040 Time))
5041 ]).
5042axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
5043
5044 [ equals(Coord2, Coord4+1),
5045 equals(Coord1, Coord3-1),
5046 holds_at(gridAt(Grid, Agent, Coord1, Coord2),
5047 Time),
5048 not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
5049 Time))
5050 ]).
5051axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
5052
5053 [ equals(Coord2, Coord4-1),
5054 equals(Coord1, Coord3-1),
5055 holds_at(gridAt(Grid, Agent, Coord1, Coord2),
5056 Time),
5057 not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
5058 Time))
5059 ]).
5060
5061
5062% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1642
5063%; End of file.
5064%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5065%; FILE: ecnet/PolySpace.e
5066%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5067%;
5068%; Copyright (c) 2005 IBM Corporation and others.
5069%; All rights reserved. This program and the accompanying materials
5070%; are made available under the terms of the Common Public License v1.0
5071%; which accompanies this distribution, and is available at
5072%; http://www.eclipse.org/legal/cpl-v10.html
5073%;
5074%; Contributors:
5075%; IBM - Initial implementation
5076%;
5077%; @phdthesis{Cassimatis:2002,
5078%; author = "Nicholas L. Cassimatis",
5079%; year = "2002",
5080%; title = "Polyscheme: A Cognitive Architecture for Integrating Multiple Representation and Inference Schemes",
5081%; address = "Cambridge, MA",
5082%; school = "Program in Media Arts and Sciences, School of Architecture and Planning, Massachusetts Institute of Technology",
5083%; }
5084%;
5085%; sorts
5086
5087% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1670
5088% sort object
5089% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1671
5090==> sort(object).
5091
5092% sort xcoord: integer
5093% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1672
5094==> subsort(xcoord,integer).
5095
5096% sort ycoord: integer
5097% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1673
5098==> subsort(ycoord,integer).
5099
5100% sort grid
5101% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1674
5102==> sort(grid).
5103
5104% sort shape
5105% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1675
5106==> sort(shape).
5107
5108% sort color
5109% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1676
5110==> sort(color).
5111%; constants
5112
5113% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1678
5114% shape Round,Square
5115% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1679
5116==> t(shape,round).
5117==> t(shape,square).
5118
5119% color Red,Green
5120% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1680
5121==> t(color,red).
5122==> t(color,green).
5123%; predicates, fluents, and events
5124
5125% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1682
5126% predicate Equal(object,object)
5127 % predicate(equal(object,object)).
5128% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1683
5129==> mpred_prop(equal(object,object),predicate).
5130==> meta_argtypes(equal(object,object)).
5131
5132% predicate Shape(object,shape)
5133 % predicate(shape(object,shape)).
5134% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1684
5135==> mpred_prop(shape(object,shape),predicate).
5136==> meta_argtypes(shape(object,shape)).
5137
5138% predicate Color(object,color)
5139 % predicate(color(object,color)).
5140% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1685
5141==> mpred_prop(color(object,color),predicate).
5142==> meta_argtypes(color(object,color)).
5143
5144% fluent Location(grid,object,xcoord,ycoord)
5145 % fluent(location(grid,object,xcoord,ycoord)).
5146% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1686
5147==> mpred_prop(location(grid,object,xcoord,ycoord),fluent).
5148==> meta_argtypes(location(grid,object,xcoord,ycoord)).
5149
5150% event Move(grid,object,xcoord,ycoord,xcoord,ycoord)
5151 % event(move(grid,object,xcoord,ycoord,xcoord,ycoord)).
5152% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1687
5153==> mpred_prop(move(grid,object,xcoord,ycoord,xcoord,ycoord),event).
5154==> meta_argtypes(move(grid,object,xcoord,ycoord,xcoord,ycoord)).
5155
5156
5160 5162axiom(equal(Object2, Object1),
5163 [equal(Object1, Object2)]).
5164
5165
5172axiom(Shape1=Shape2,
5173 [shape(Object, Shape1), shape(Object, Shape2)]).
5174
5175
5182axiom(Color1=Color2,
5183 [color(Object, Color1), color(Object, Color2)]).
5184
5185
5191
5192 5196
5197 5203axiom(not(equal(Equal_Param, Shape_Param)),
5204 [not(shape(Equal_Param, Shape_Ret))]).
5205axiom(not(equal(Equal_Param, Shape_Param)),
5206 [not(shape(Shape_Param, Shape_Ret))]).
5207
5208 5211axiom(shape(Shape_Param6, Shape_Ret7),
5212 [equal(Shape_Param6, Equal_Ret)]).
5213
5214 5217axiom(shape(Shape_Param9, Shape_Ret11),
5218 [equal(Equal_Param10, Shape_Param9)]).
5219
5220
5226
5227 5231
5232 5238axiom(not(equal(Equal_Param, Color_Param)),
5239 [not(color(Equal_Param, Color_Ret))]).
5240axiom(not(equal(Equal_Param, Color_Param)),
5241 [not(color(Color_Param, Color_Ret))]).
5242
5243 5246axiom(color(Color_Param6, Color_Ret7),
5247 [equal(Color_Param6, Equal_Ret)]).
5248
5249 5252axiom(color(Color_Param9, Color_Ret11),
5253 [equal(Equal_Param10, Color_Param9)]).
5254
5255
5263
5264 5268
5269 5286axiom(not(equal(Equal_Param, Equal_Ret)),
5287
5288 [ not(equals(Equals_Param, Equals_Ret)),
5289 holds_at(location(Location_Param,
5290 Equal_Param,
5291 Equals_Param,
5292 Equals_Param12),
5293 Time8),
5294 holds_at(location(Location_Param,
5295 Equal_Ret,
5296 Equals_Ret,
5297 Location_Ret),
5298 Time8)
5299 ]).
5300axiom(not(equal(Equal_Param, Equal_Ret)),
5301
5302 [ not(equals(Equals_Param12, Location_Ret)),
5303 holds_at(location(Location_Param,
5304 Equal_Param,
5305 Equals_Param,
5306 Equals_Param12),
5307 Time8),
5308 holds_at(location(Location_Param,
5309 Equal_Ret,
5310 Equals_Ret,
5311 Location_Ret),
5312 Time8)
5313 ]).
5314
5315 5326axiom(not(holds_at(location(Location_Param17, Equal_Param20, Equals_Param18, Equals_Param19), Time16)),
5327
5328 [ not(equals(Equals_Param18, Equals_Ret22)),
5329 holds_at(location(Location_Param17,
5330 Equal_Ret23,
5331 Equals_Ret22,
5332 Location_Ret21),
5333 Time16),
5334 equal(Equal_Param20, Equal_Ret23)
5335 ]).
5336axiom(not(holds_at(location(Location_Param17, Equal_Param20, Equals_Param18, Equals_Param19), Time16)),
5337
5338 [ not(equals(Equals_Param19, Location_Ret21)),
5339 holds_at(location(Location_Param17,
5340 Equal_Ret23,
5341 Equals_Ret22,
5342 Location_Ret21),
5343 Time16),
5344 equal(Equal_Param20, Equal_Ret23)
5345 ]).
5346
5347 5358axiom(not(holds_at(location(Location_Param25, Equal_Ret31, Equals_Ret30, Location_Ret29), Time24)),
5359
5360 [ not(equals(Equals_Param26, Equals_Ret30)),
5361 holds_at(location(Location_Param25,
5362 Equal_Param28,
5363 Equals_Param26,
5364 Equals_Param27),
5365 Time24),
5366 equal(Equal_Param28, Equal_Ret31)
5367 ]).
5368axiom(not(holds_at(location(Location_Param25, Equal_Ret31, Equals_Ret30, Location_Ret29), Time24)),
5369
5370 [ not(equals(Equals_Param27, Location_Ret29)),
5371 holds_at(location(Location_Param25,
5372 Equal_Param28,
5373 Equals_Param26,
5374 Equals_Param27),
5375 Time24),
5376 equal(Equal_Param28, Equal_Ret31)
5377 ]).
5378
5379 5393axiom(equals(Equals_Param33, Equals_Ret36),
5394
5395 [ holds_at(location(Location_Param34,
5396 Equal_Param35,
5397 Equals_Param33,
5398 Location_Ret37),
5399 Time32),
5400 holds_at(location(Location_Param34,
5401 Equal_Ret39,
5402 Equals_Ret36,
5403 Location_Ret38),
5404 Time32),
5405 equal(Equal_Param35, Equal_Ret39)
5406 ]).
5407
5408 5422axiom(equals(Equals_Param41, Equals_Ret44),
5423
5424 [ holds_at(location(Location_Param42,
5425 Equal_Param43,
5426 _,
5427 Equals_Param41),
5428 Time40),
5429 holds_at(location(Location_Param42,
5430 Equal_Ret45,
5431 _,
5432 Equals_Ret44),
5433 Time40),
5434 equal(Equal_Param43, Equal_Ret45)
5435 ]).
5436
5437
5444
5445 5448
5449 5460axiom(not(holds_at(location(Location_Param, A, Equals_Param, Equals_Param10), Time7)),
5461
5462 [ not(equals(Equals_Param, Equals_Ret)),
5463 holds_at(location(Location_Param,
5464 A,
5465 Equals_Ret,
5466 Location_Ret),
5467 Time7)
5468 ]).
5469axiom(not(holds_at(location(Location_Param, A, Equals_Param, Equals_Param10), Time7)),
5470
5471 [ not(equals(Equals_Param10, Location_Ret)),
5472 holds_at(location(Location_Param,
5473 A,
5474 Equals_Ret,
5475 Location_Ret),
5476 Time7)
5477 ]).
5478
5479 5489axiom(not(holds_at(location(Location_Param14, A, Equals_Ret18, Location_Ret17), Time13)),
5490
5491 [ not(equals(Equals_Param15, Equals_Ret18)),
5492 holds_at(location(Location_Param14,
5493 A,
5494 Equals_Param15,
5495 Equals_Param16),
5496 Time13)
5497 ]).
5498axiom(not(holds_at(location(Location_Param14, A, Equals_Ret18, Location_Ret17), Time13)),
5499
5500 [ not(equals(Equals_Param16, Location_Ret17)),
5501 holds_at(location(Location_Param14,
5502 A,
5503 Equals_Param15,
5504 Equals_Param16),
5505 Time13)
5506 ]).
5507
5508 5520axiom(equals(Equals_Param20, Equals_Ret22),
5521
5522 [ holds_at(location(Location_Param21,
5523 A,
5524 Equals_Param20,
5525 Location_Ret23),
5526 Time19),
5527 holds_at(location(Location_Param21,
5528 A,
5529 Equals_Ret22,
5530 Location_Ret24),
5531 Time19)
5532 ]).
5533
5534 5546axiom(equals(Equals_Param26, Equals_Ret28),
5547
5548 [ holds_at(location(Location_Param27,
5549 A,
5550 _,
5551 Equals_Param26),
5552 Time25),
5553 holds_at(location(Location_Param27,
5554 A,
5555 _,
5556 Equals_Ret28),
5557 Time25)
5558 ]).
5559
5560
5567
5568 5575axiom(holds_at(location(Location_Param, _, _, Location_Ret), Time5),
5576 []).
5577
5578
5586axiom(equal(Object1, Object2),
5587
5588 [ holds_at(location(Grid, Object1, Xcoord1, Ycoord1),
5589 Time),
5590 holds_at(location(Grid, Object2, Xcoord1, Ycoord1),
5591 Time)
5592 ]).
5593
5594
5602axiom(initiates(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), location(Grid, Object, Xcoord2, Ycoord2), Time),
5603 []).
5604
5605
5615axiom(terminates(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), location(Grid, Object, Xcoord1, Ycoord1), Time),
5616 []).
5617
5618
5638axiom(requires(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), Time),
5639
5640 [ equals(Ycoord1, Ycoord2+1),
5641 equals(Xcoord1, Xcoord2),
5642 holds_at(location(Grid, Object, Xcoord1, Ycoord1),
5643 Time)
5644 ]).
5645axiom(requires(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), Time),
5646
5647 [ equals(Ycoord1, Ycoord2-1),
5648 equals(Xcoord1, Xcoord2),
5649 holds_at(location(Grid, Object, Xcoord1, Ycoord1),
5650 Time)
5651 ]).
5652axiom(requires(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), Time),
5653
5654 [ equals(Xcoord1, Xcoord2+1),
5655 equals(Ycoord1, Ycoord2),
5656 holds_at(location(Grid, Object, Xcoord1, Ycoord1),
5657 Time)
5658 ]).
5659axiom(requires(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), Time),
5660
5661 [ equals(Xcoord1, Xcoord2-1),
5662 equals(Ycoord1, Ycoord2),
5663 holds_at(location(Grid, Object, Xcoord1, Ycoord1),
5664 Time)
5665 ]).
5666
5667
5668% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1766
5669%; End of file.
5670%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5671%; FILE: ecnet/HandTo.e
5672%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5673%;
5674%; Copyright (c) 2005 IBM Corporation and others.
5675%; All rights reserved. This program and the accompanying materials
5676%; are made available under the terms of the Common Public License v1.0
5677%; which accompanies this distribution, and is available at
5678%; http://www.eclipse.org/legal/cpl-v10.html
5679%;
5680%; Contributors:
5681%; IBM - Initial implementation
5682%;
5683
5684% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1785
5685% event HandTo(agent,agent,physobj)
5686 % event(handTo(agent,agent,physobj)).
5687% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1786
5688==> mpred_prop(handTo(agent,agent,physobj),event).
5689==> meta_argtypes(handTo(agent,agent,physobj)).
5690
5691
5698axiom(initiates(handTo(Agent1, Agent2, Physobj), holding(Agent2, Physobj), Time),
5699 []).
5700
5701
5708axiom(terminates(handTo(Agent1, Agent2, Physobj), holding(Agent1, Physobj), Time),
5709 []).
5710
5711
5717axiom(requires(handTo(Agent1, Agent2, Physobj), Time),
5718 [holds_at(holding(Agent1, Physobj), Time)]).
5719
5720% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1801
5721% event ShakeHands(agent,agent)
5722 % event(shakeHands(agent,agent)).
5723% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1802
5724==> mpred_prop(shakeHands(agent,agent),event).
5725==> meta_argtypes(shakeHands(agent,agent)).
5726
5727% event WriteOn(agent,paper,pen)
5728 % event(writeOn(agent,paper,pen)).
5729% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1804
5730==> mpred_prop(writeOn(agent,paper,pen),event).
5731==> meta_argtypes(writeOn(agent,paper,pen)).
5732
5733
5757axiom(requires(takeOutOf(Agent, Container1, Container2), Time),
5758 [holds_at(containerIsOpen(Container2), Time)]).
5759
5760
5766axiom(requires(putInside(Agent, Container1, Container2), Time),
5767 [holds_at(containerIsOpen(Container2), Time)]).
5768
5769
5770% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1834
5771%; agent opens container.
5772
5773% event ContainerOpen(agent,container)
5774 % event(containerOpen(agent,container)).
5775% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1836
5776==> mpred_prop(containerOpen(agent,container),event).
5777==> meta_argtypes(containerOpen(agent,container)).
5778
5779
5780% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1837
5781%; agent closes container.
5782
5783% event ContainerClose(agent,container)
5784 % event(containerClose(agent,container)).
5785% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1839
5786==> mpred_prop(containerClose(agent,container),event).
5787==> meta_argtypes(containerClose(agent,container)).
5788
5789
5790% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1840
5791%; container is open.
5792
5793% fluent ContainerIsOpen(container)
5794 % fluent(containerIsOpen(container)).
5795% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1842
5796==> mpred_prop(containerIsOpen(container),fluent).
5797==> meta_argtypes(containerIsOpen(container)).
5798
5799% fluent ContainerClosed(container)
5800 % fluent(containerClosed(container)).
5801% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1844
5802==> mpred_prop(containerClosed(container),fluent).
5803==> meta_argtypes(containerClosed(container)).
5804
5805% noninertial ContainerClosed
5806% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1845
5807==> noninertial(containerClosed).
5808
5809
5814
5815 5819axiom(holds_at(containerClosed(Container), Time),
5820 [not(holds_at(containerIsOpen(Container), Time))]).
5821axiom(not(holds_at(containerIsOpen(Container), Time)),
5822 [holds_at(containerClosed(Container), Time)]).
5823
5824
5838axiom(requires(containerOpen(Agent, Container), Time),
5839
5840 [ holds_at(awake(Agent), Time),
5841 not(holds_at(containerIsOpen(Container), Time)),
5842 holds_at(holding(Agent, Container), Time)
5843 ]).
5844
5845
5853axiom(initiates(containerOpen(Agent, Container), containerIsOpen(Container), Time),
5854 []).
5855
5856
5870axiom(requires(containerClose(Agent, Container), Time),
5871
5872 [ holds_at(awake(Agent), Time),
5873 holds_at(containerIsOpen(Container), Time),
5874 holds_at(holding(Agent, Container), Time)
5875 ]).
5876
5877
5885axiom(terminates(containerClose(Agent, Container), containerIsOpen(Container), Time),
5886 []).
5887
5888
5889% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1884
5890%; End of file.
5891%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5892%; FILE: ecnet/SpeechAct.e
5893%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
5894%;
5895%; Copyright (c) 2005 IBM Corporation and others.
5896%; All rights reserved. This program and the accompanying materials
5897%; are made available under the terms of the Common Public License v1.0
5898%; which accompanies this distribution, and is available at
5899%; http://www.eclipse.org/legal/cpl-v10.html
5900%;
5901%; Contributors:
5902%; IBM - Initial implementation
5903%;
5904%; The SpeechAct representation deals with a few speech acts
5905%; \fullcite{Searle:1969}.
5906%;
5907%; @book{Searle:1969,
5908%; author = "John R. Searle",
5909%; year = "1969",
5910%; title = "Speech Acts: An Essay in the Philosophy of Language",
5911%; address = "Cambridge",
5912%; publisher = "Cambridge University Press",
5913%; }
5914%;
5915%; We handle
5916%; the illocutionary acts of
5917%; inviting someone into one's house (a form of request) and
5918%; greeting someone,
5919%; and the expressive speech act of crying for joy.
5920%;
5921%; inviting in
5922%; agent1 invites agent2 into room.
5923
5924% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1923
5925% event InviteIn(agent,agent,room)
5926 % event(inviteIn(agent,agent,room)).
5927% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1924
5928==> mpred_prop(inviteIn(agent,agent,room),event).
5929==> meta_argtypes(inviteIn(agent,agent,room)).
5930
5931
5932% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1924
5933%; agent1 is invited into room by agent2.
5934
5935% fluent InvitedIn(agent,room,agent)
5936 % fluent(invitedIn(agent,room,agent)).
5937% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1926
5938==> mpred_prop(invitedIn(agent,room,agent),fluent).
5939==> meta_argtypes(invitedIn(agent,room,agent)).
5940
5941
5957
5958 5963
5964 5973axiom(not(some(Location8, '$kolem_Fn_302'(Fn_302_Param, At_Param, Location, Maptime))),
5974
5975 [ not(holds_at(at(Fn_302_Param, Location), Maptime)),
5976 happens(inviteIn(Fn_302_Param, At_Param, Location),
5977 Maptime)
5978 ]).
5979axiom(not(some(Location8, '$kolem_Fn_302'(Fn_302_Param, At_Param, Location, Maptime))),
5980
5981 [ not(holds_at(at(At_Param, Location8), Maptime)),
5982 happens(inviteIn(Fn_302_Param, At_Param, Location),
5983 Maptime)
5984 ]).
5985axiom(not(some(Location8, '$kolem_Fn_302'(Fn_302_Param, At_Param, Location, Maptime))),
5986
5987 [ not(adjacent(Location, Location8)),
5988 happens(inviteIn(Fn_302_Param, At_Param, Location),
5989 Maptime)
5990 ]).
5991
5992 6004axiom(not(happens(inviteIn(InviteIn_Param, At_Param15, Location12), Maptime11)),
6005
6006 [ not(holds_at(at(InviteIn_Param, Location12), Maptime11)),
6007 some(Location13,
6008 '$kolem_Fn_302'(InviteIn_Param,
6009 At_Param15,
6010 Location12,
6011 Maptime11))
6012 ]).
6013axiom(not(happens(inviteIn(InviteIn_Param, At_Param15, Location12), Maptime11)),
6014
6015 [ not(holds_at(at(At_Param15, Location13), Maptime11)),
6016 some(Location13,
6017 '$kolem_Fn_302'(InviteIn_Param,
6018 At_Param15,
6019 Location12,
6020 Maptime11))
6021 ]).
6022axiom(not(happens(inviteIn(InviteIn_Param, At_Param15, Location12), Maptime11)),
6023
6024 [ not(adjacent(Location12, Location13)),
6025 some(Location13,
6026 '$kolem_Fn_302'(InviteIn_Param,
6027 At_Param15,
6028 Location12,
6029 Maptime11))
6030 ]).
6031
6032 6037axiom(holds_at(at(At_Param18, Location16), Time17),
6038
6039 [ happens(inviteIn(At_Param18, A, Location16),
6040 Time17),
6041 some(Some_Param,
6042 '$kolem_Fn_302'(At_Param18,
6043 A,
6044 Location16,
6045 Time17))
6046 ]).
6047
6048 6059axiom(holds_at(at(At_Param22, Location20), Time21),
6060
6061 [ happens(inviteIn(InviteIn_Param23,
6062 At_Param22,
6063 InviteIn_Ret),
6064 Time21),
6065 some(Location20,
6066 '$kolem_Fn_302'(InviteIn_Param23,
6067 At_Param22,
6068 InviteIn_Ret,
6069 Time21))
6070 ]).
6071
6072 6081axiom(adjacent(Adjacent_Param, Some_Param28),
6082
6083 [ happens(inviteIn(InviteIn_Param27, A, Adjacent_Param),
6084 Maptime25),
6085 some(Some_Param28,
6086 '$kolem_Fn_302'(InviteIn_Param27,
6087 A,
6088 Adjacent_Param,
6089 Maptime25))
6090 ]).
6091
6092
6103axiom(initiates(inviteIn(Agent1, Agent2, Room), invitedIn(Agent2, Room, Agent1), Time),
6104 []).
6105
6106
6107% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1948
6108%; agent intends to walk into room.
6109
6110% event IntendToWalkIn(agent,room)
6111 % event(intendToWalkIn(agent,room)).
6112% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1950
6113==> mpred_prop(intendToWalkIn(agent,room),event).
6114==> meta_argtypes(intendToWalkIn(agent,room)).
6115
6116
6117% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1950
6118%; agent has the intention to walk into room.
6119
6120% fluent IntentionToWalkIn(agent,room)
6121 % fluent(intentionToWalkIn(agent,room)).
6122% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1952
6123==> mpred_prop(intentionToWalkIn(agent,room),fluent).
6124==> meta_argtypes(intentionToWalkIn(agent,room)).
6125
6126
6127% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1952
6128%; agent acts on the intention to walk into room.
6129
6130% fluent ActOnIntentionToWalkIn(agent,room)
6131 % fluent(actOnIntentionToWalkIn(agent,room)).
6132% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1954
6133==> mpred_prop(actOnIntentionToWalkIn(agent,room),fluent).
6134==> meta_argtypes(actOnIntentionToWalkIn(agent,room)).
6135
6136% noninertial ActOnIntentionToWalkIn
6137% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:1955
6138==> noninertial(actOnIntentionToWalkIn).
6152axiom(happens(intendToWalkIn(Agent1, Room), Time),
6153
6154 [ holds_at(invitedIn(Agent1, Room, Agent2), Time),
6155 holds_at(like(Agent1, Agent2), Time),
6156 not(holds_at(intentionToWalkIn(Agent1, Room), Time))
6157 ]).
6158
6159
6170axiom(initiates(intendToWalkIn(Agent, Room), intentionToWalkIn(Agent, Room), Time),
6171 []).
6172
6173
6191axiom(happens(walkThroughDoor21(Agent, Door), Time),
6192
6193 [ holds_at(intentionToWalkIn(Agent, Room), Time),
6194 holds_at(actOnIntentionToWalkIn(Agent, Room), Time),
6195 holds_at(at(Agent, Location), Time),
6196 equals(side1(Door), Room),
6197 equals(side2(Door), Location)
6198 ]).
6199
6200
6210axiom(happens(walkThroughDoor12(Agent, Door), Time),
6211
6212 [ holds_at(intentionToWalkIn(Agent, Room), Time),
6213 holds_at(actOnIntentionToWalkIn(Agent, Room), Time),
6214 holds_at(at(Agent, Location), Time),
6215 equals(side2(Door), Room),
6216 equals(side1(Door), Location)
6217 ]).
6218
6219
6233axiom(terminates(walkThroughDoor21(Agent, Door), intentionToWalkIn(Agent, Room), Time),
6234 [equals(side1(Door), Room)]).
6235
6236
6244axiom(terminates(walkThroughDoor12(Agent, Door), intentionToWalkIn(Agent, Room), Time),
6245 [equals(side2(Door), Room)]).
6246
6247
6248% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2016
6249%; agent greets object.
6250
6251% event Greet(agent,object)
6252 % event(greet(agent,object)).
6253% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2018
6254==> mpred_prop(greet(agent,object),event).
6255==> meta_argtypes(greet(agent,object)).
6256
6257% event SayPleasedToMeet(agent,agent)
6258 % event(sayPleasedToMeet(agent,agent)).
6259% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2020
6260==> mpred_prop(sayPleasedToMeet(agent,agent),event).
6261==> meta_argtypes(sayPleasedToMeet(agent,agent)).
6262
6263
6264% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2021
6265%; agent says goodbye to object.
6266
6267% event SayGoodbye(agent,object)
6268 % event(sayGoodbye(agent,object)).
6269% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2023
6270==> mpred_prop(sayGoodbye(agent,object),event).
6271==> meta_argtypes(sayGoodbye(agent,object)).
6272
6273% event TalkAbout(agent,content)
6274 % event(talkAbout(agent,content)).
6275% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2025
6276==> mpred_prop(talkAbout(agent,content),event).
6277==> meta_argtypes(talkAbout(agent,content)).
6278
6279% event Converse(agent,agent)
6280 % event(converse(agent,agent)).
6281% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2027
6282==> mpred_prop(converse(agent,agent),event).
6283==> meta_argtypes(converse(agent,agent)).
6284
6285
6293
6294 6298
6299 6306axiom(not(some(Location6, '$kolem_Fn_303'(Fn_303_Param, At_Param, Maptime))),
6307
6308 [ not(holds_at(at(Fn_303_Param, Location6), Maptime)),
6309 happens(converse(Fn_303_Param, At_Param), Maptime)
6310 ]).
6311axiom(not(some(Location6, '$kolem_Fn_303'(Fn_303_Param, At_Param, Maptime))),
6312
6313 [ not(holds_at(at(At_Param, Location6), Maptime)),
6314 happens(converse(Fn_303_Param, At_Param), Maptime)
6315 ]).
6316
6317 6324axiom(not(happens(converse(Converse_Param, At_Param12), Maptime9)),
6325
6326 [ not(holds_at(at(Converse_Param, Location10), Maptime9)),
6327 some(Location10,
6328 '$kolem_Fn_303'(Converse_Param, At_Param12, Maptime9))
6329 ]).
6330axiom(not(happens(converse(Converse_Param, At_Param12), Maptime9)),
6331
6332 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
6333 some(Location10,
6334 '$kolem_Fn_303'(Converse_Param, At_Param12, Maptime9))
6335 ]).
6336
6337 6342axiom(holds_at(at(At_Param15, Location13), Time14),
6343
6344 [ happens(converse(At_Param15, Converse_Ret), Time14),
6345 some(Location13,
6346 '$kolem_Fn_303'(At_Param15, Converse_Ret, Time14))
6347 ]).
6348
6349 6354axiom(holds_at(at(At_Param19, Location17), Time18),
6355
6356 [ happens(converse(Converse_Param20, At_Param19), Time18),
6357 some(Location17,
6358 '$kolem_Fn_303'(Converse_Param20, At_Param19, Time18))
6359 ]).
6360
6361
6375
6376 6380
6381 6388axiom(not(some(Location6, '$kolem_Fn_304'(Fn_304_Param, At_Param, Maptime))),
6389
6390 [ not(holds_at(at(Fn_304_Param, Location6), Maptime)),
6391 happens(greet(Fn_304_Param, At_Param), Maptime)
6392 ]).
6393axiom(not(some(Location6, '$kolem_Fn_304'(Fn_304_Param, At_Param, Maptime))),
6394
6395 [ not(holds_at(at(At_Param, Location6), Maptime)),
6396 happens(greet(Fn_304_Param, At_Param), Maptime)
6397 ]).
6398
6399 6406axiom(not(happens(greet(Greet_Param, At_Param12), Maptime9)),
6407
6408 [ not(holds_at(at(Greet_Param, Location10), Maptime9)),
6409 some(Location10,
6410 '$kolem_Fn_304'(Greet_Param, At_Param12, Maptime9))
6411 ]).
6412axiom(not(happens(greet(Greet_Param, At_Param12), Maptime9)),
6413
6414 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
6415 some(Location10,
6416 '$kolem_Fn_304'(Greet_Param, At_Param12, Maptime9))
6417 ]).
6418
6419 6424axiom(holds_at(at(At_Param15, Location13), Time14),
6425
6426 [ happens(greet(At_Param15, Greet_Ret), Time14),
6427 some(Location13,
6428 '$kolem_Fn_304'(At_Param15, Greet_Ret, Time14))
6429 ]).
6430
6431 6436axiom(holds_at(at(At_Param19, Location17), Time18),
6437
6438 [ happens(greet(Greet_Param20, At_Param19), Time18),
6439 some(Location17,
6440 '$kolem_Fn_304'(Greet_Param20, At_Param19, Time18))
6441 ]).
6442
6443
6451
6452 6456
6457 6464axiom(not(some(Location6, '$kolem_Fn_305'(Fn_305_Param, At_Param, Maptime))),
6465
6466 [ not(holds_at(at(Fn_305_Param, Location6), Maptime)),
6467 happens(sayGoodbye(Fn_305_Param, At_Param), Maptime)
6468 ]).
6469axiom(not(some(Location6, '$kolem_Fn_305'(Fn_305_Param, At_Param, Maptime))),
6470
6471 [ not(holds_at(at(At_Param, Location6), Maptime)),
6472 happens(sayGoodbye(Fn_305_Param, At_Param), Maptime)
6473 ]).
6474
6475 6483axiom(not(happens(sayGoodbye(SayGoodbye_Param, At_Param12), Maptime9)),
6484
6485 [ not(holds_at(at(SayGoodbye_Param, Location10), Maptime9)),
6486 some(Location10,
6487 '$kolem_Fn_305'(SayGoodbye_Param,
6488 At_Param12,
6489 Maptime9))
6490 ]).
6491axiom(not(happens(sayGoodbye(SayGoodbye_Param, At_Param12), Maptime9)),
6492
6493 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
6494 some(Location10,
6495 '$kolem_Fn_305'(SayGoodbye_Param,
6496 At_Param12,
6497 Maptime9))
6498 ]).
6499
6500 6505axiom(holds_at(at(At_Param15, Location13), Time14),
6506
6507 [ happens(sayGoodbye(At_Param15, SayGoodbye_Ret), Time14),
6508 some(Location13,
6509 '$kolem_Fn_305'(At_Param15, SayGoodbye_Ret, Time14))
6510 ]).
6511
6512 6518axiom(holds_at(at(At_Param19, Location17), Time18),
6519
6520 [ happens(sayGoodbye(SayGoodbye_Param20, At_Param19),
6521 Time18),
6522 some(Location17,
6523 '$kolem_Fn_305'(SayGoodbye_Param20,
6524 At_Param19,
6525 Time18))
6526 ]).
6527
6528
6529% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2051
6530%; speech: expression of emotions
6531%; agent cries for joy.
6532
6533% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2054
6534% event CryForJoy(agent)
6535 % event(cryForJoy(agent)).
6536% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2055
6537==> mpred_prop(cryForJoy(agent),event).
6538==> meta_argtypes(cryForJoy(agent)).
6539
6540
6550axiom(requires(cryForJoy(Agent), Time),
6551 [holds_at(happy(Agent), Time)]).
6552
6553% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2063
6554% event Threaten(agent,agent,weapon)
6555 % event(threaten(agent,agent,weapon)).
6556% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2064
6557==> mpred_prop(threaten(agent,agent,weapon),event).
6558==> meta_argtypes(threaten(agent,agent,weapon)).
6559
6560% event ReleaseFromThreat(agent,agent)
6561 % event(releaseFromThreat(agent,agent)).
6562% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2066
6563==> mpred_prop(releaseFromThreat(agent,agent),event).
6564==> meta_argtypes(releaseFromThreat(agent,agent)).
6565
6566% fluent ThreatenedBy(agent,agent)
6567 % fluent(threatenedBy(agent,agent)).
6568% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2068
6569==> mpred_prop(threatenedBy(agent,agent),fluent).
6570==> meta_argtypes(threatenedBy(agent,agent)).
6571
6572
6581
6582 6587
6588 6598axiom(not(some(Location7, '$kolem_Fn_306'(Fn_306_Param, At_Param, Threaten_Ret, Maptime))),
6599
6600 [ not(holds_at(holding(Fn_306_Param, Threaten_Ret),
6601 Maptime)),
6602 happens(threaten(Fn_306_Param, At_Param, Threaten_Ret),
6603 Maptime)
6604 ]).
6605axiom(not(some(Location7, '$kolem_Fn_306'(Fn_306_Param, At_Param, Threaten_Ret, Maptime))),
6606
6607 [ not(holds_at(at(Fn_306_Param, Location7), Maptime)),
6608 happens(threaten(Fn_306_Param, At_Param, Threaten_Ret),
6609 Maptime)
6610 ]).
6611axiom(not(some(Location7, '$kolem_Fn_306'(Fn_306_Param, At_Param, Threaten_Ret, Maptime))),
6612
6613 [ not(holds_at(at(At_Param, Location7), Maptime)),
6614 happens(threaten(Fn_306_Param, At_Param, Threaten_Ret),
6615 Maptime)
6616 ]).
6617
6618 6631axiom(not(happens(threaten(Threaten_Param, At_Param14, Threaten_Ret15), Maptime11)),
6632
6633 [ not(holds_at(holding(Threaten_Param, Threaten_Ret15),
6634 Maptime11)),
6635 some(Location12,
6636 '$kolem_Fn_306'(Threaten_Param,
6637 At_Param14,
6638 Threaten_Ret15,
6639 Maptime11))
6640 ]).
6641axiom(not(happens(threaten(Threaten_Param, At_Param14, Threaten_Ret15), Maptime11)),
6642
6643 [ not(holds_at(at(Threaten_Param, Location12), Maptime11)),
6644 some(Location12,
6645 '$kolem_Fn_306'(Threaten_Param,
6646 At_Param14,
6647 Threaten_Ret15,
6648 Maptime11))
6649 ]).
6650axiom(not(happens(threaten(Threaten_Param, At_Param14, Threaten_Ret15), Maptime11)),
6651
6652 [ not(holds_at(at(At_Param14, Location12), Maptime11)),
6653 some(Location12,
6654 '$kolem_Fn_306'(Threaten_Param,
6655 At_Param14,
6656 Threaten_Ret15,
6657 Maptime11))
6658 ]).
6659
6660 6669axiom(holds_at(holding(Holding_Param, Holding_Ret), Time16),
6670
6671 [ happens(threaten(Holding_Param, A, Holding_Ret),
6672 Time16),
6673 some(Some_Param,
6674 '$kolem_Fn_306'(Holding_Param,
6675 A,
6676 Holding_Ret,
6677 Time16))
6678 ]).
6679
6680 6689axiom(holds_at(at(At_Param22, Location20), Time21),
6690
6691 [ happens(threaten(At_Param22, A, Threaten_Ret23),
6692 Time21),
6693 some(Location20,
6694 '$kolem_Fn_306'(At_Param22,
6695 A,
6696 Threaten_Ret23,
6697 Time21))
6698 ]).
6699
6700 6711axiom(holds_at(at(At_Param26, Location24), Time25),
6712
6713 [ happens(threaten(Threaten_Param27,
6714 At_Param26,
6715 Threaten_Ret28),
6716 Time25),
6717 some(Location24,
6718 '$kolem_Fn_306'(Threaten_Param27,
6719 At_Param26,
6720 Threaten_Ret28,
6721 Time25))
6722 ]).
6723
6724
6730axiom(happens(becomeAngryAt(Agent2, Agent1), Time),
6731 [happens(threaten(Agent1, Agent2, Weapon), Time)]).
6732
6733
6740axiom(initiates(threaten(Agent1, Agent2, Weapon), threatenedBy(Agent2, Agent1), Time),
6741 []).
6742
6743
6750axiom(terminates(releaseFromThreat(Agent1, Agent2), threatenedBy(Agent2, Agent1), Time),
6751 []).
6752
6753% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2090
6754% event Order(agent,agent,physobj)
6755 % event(order(agent,agent,physobj)).
6756% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2091
6757==> mpred_prop(order(agent,agent,physobj),event).
6758==> meta_argtypes(order(agent,agent,physobj)).
6759
6760% fluent KnowOrder(agent,agent,physobj)
6761 % fluent(knowOrder(agent,agent,physobj)).
6762% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2093
6763==> mpred_prop(knowOrder(agent,agent,physobj),fluent).
6764==> meta_argtypes(knowOrder(agent,agent,physobj)).
6765
6766
6773axiom(initiates(order(Agent1, Agent2, Physobj), knowOrder(Agent2, Agent1, Physobj), Time),
6774 []).
6775
6776
6784
6785 6790
6791 6799axiom(not(some(Location7, '$kolem_Fn_307'(Fn_307_Param, At_Param, Order_Ret, Maptime))),
6800
6801 [ not(holds_at(at(Fn_307_Param, Location7), Maptime)),
6802 happens(order(Fn_307_Param, At_Param, Order_Ret),
6803 Maptime)
6804 ]).
6805axiom(not(some(Location7, '$kolem_Fn_307'(Fn_307_Param, At_Param, Order_Ret, Maptime))),
6806
6807 [ not(holds_at(at(At_Param, Location7), Maptime)),
6808 happens(order(Fn_307_Param, At_Param, Order_Ret),
6809 Maptime)
6810 ]).
6811
6812 6822axiom(not(happens(order(Order_Param, At_Param14, Order_Ret15), Maptime11)),
6823
6824 [ not(holds_at(at(Order_Param, Location12), Maptime11)),
6825 some(Location12,
6826 '$kolem_Fn_307'(Order_Param,
6827 At_Param14,
6828 Order_Ret15,
6829 Maptime11))
6830 ]).
6831axiom(not(happens(order(Order_Param, At_Param14, Order_Ret15), Maptime11)),
6832
6833 [ not(holds_at(at(At_Param14, Location12), Maptime11)),
6834 some(Location12,
6835 '$kolem_Fn_307'(Order_Param,
6836 At_Param14,
6837 Order_Ret15,
6838 Maptime11))
6839 ]).
6840
6841 6849axiom(holds_at(at(At_Param18, Location16), Time17),
6850
6851 [ happens(order(At_Param18, A, Order_Ret19), Time17),
6852 some(Location16,
6853 '$kolem_Fn_307'(At_Param18,
6854 A,
6855 Order_Ret19,
6856 Time17))
6857 ]).
6858
6859 6868axiom(holds_at(at(At_Param22, Location20), Time21),
6869
6870 [ happens(order(Order_Param23, At_Param22, Order_Ret24),
6871 Time21),
6872 some(Location20,
6873 '$kolem_Fn_307'(Order_Param23,
6874 At_Param22,
6875 Order_Ret24,
6876 Time21))
6877 ]).
6878
6879% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2105
6880% event Request(agent,agent,physobj)
6881 % event(request(agent,agent,physobj)).
6882% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2106
6883==> mpred_prop(request(agent,agent,physobj),event).
6884==> meta_argtypes(request(agent,agent,physobj)).
6885
6886% fluent KnowRequest(agent,agent,physobj)
6887 % fluent(knowRequest(agent,agent,physobj)).
6888% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2108
6889==> mpred_prop(knowRequest(agent,agent,physobj),fluent).
6890==> meta_argtypes(knowRequest(agent,agent,physobj)).
6891
6892
6899axiom(initiates(request(Agent1, Agent2, Physobj), knowRequest(Agent2, Agent1, Physobj), Time),
6900 []).
6901
6902
6910
6911 6916
6917 6925axiom(not(some(Location7, '$kolem_Fn_308'(Fn_308_Param, At_Param, Request_Ret, Maptime))),
6926
6927 [ not(holds_at(at(Fn_308_Param, Location7), Maptime)),
6928 happens(request(Fn_308_Param, At_Param, Request_Ret),
6929 Maptime)
6930 ]).
6931axiom(not(some(Location7, '$kolem_Fn_308'(Fn_308_Param, At_Param, Request_Ret, Maptime))),
6932
6933 [ not(holds_at(at(At_Param, Location7), Maptime)),
6934 happens(request(Fn_308_Param, At_Param, Request_Ret),
6935 Maptime)
6936 ]).
6937
6938 6948axiom(not(happens(request(Request_Param, At_Param14, Request_Ret15), Maptime11)),
6949
6950 [ not(holds_at(at(Request_Param, Location12), Maptime11)),
6951 some(Location12,
6952 '$kolem_Fn_308'(Request_Param,
6953 At_Param14,
6954 Request_Ret15,
6955 Maptime11))
6956 ]).
6957axiom(not(happens(request(Request_Param, At_Param14, Request_Ret15), Maptime11)),
6958
6959 [ not(holds_at(at(At_Param14, Location12), Maptime11)),
6960 some(Location12,
6961 '$kolem_Fn_308'(Request_Param,
6962 At_Param14,
6963 Request_Ret15,
6964 Maptime11))
6965 ]).
6966
6967 6976axiom(holds_at(at(At_Param18, Location16), Time17),
6977
6978 [ happens(request(At_Param18, A, Request_Ret19),
6979 Time17),
6980 some(Location16,
6981 '$kolem_Fn_308'(At_Param18,
6982 A,
6983 Request_Ret19,
6984 Time17))
6985 ]).
6986
6987 6998axiom(holds_at(at(At_Param22, Location20), Time21),
6999
7000 [ happens(request(Request_Param23,
7001 At_Param22,
7002 Request_Ret24),
7003 Time21),
7004 some(Location20,
7005 '$kolem_Fn_308'(Request_Param23,
7006 At_Param22,
7007 Request_Ret24,
7008 Time21))
7009 ]).
7010
7011
7012% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2120
7013%; End of file.
7014%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7015%; FILE: ecnet/Sleep.e
7016%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7017%;
7018%; Copyright (c) 2005 IBM Corporation and others.
7019%; All rights reserved. This program and the accompanying materials
7020%; are made available under the terms of the Common Public License v1.0
7021%; which accompanies this distribution, and is available at
7022%; http://www.eclipse.org/legal/cpl-v10.html
7023%;
7024%; Contributors:
7025%; IBM - Initial implementation
7026%;
7027%; The Sleep representation deals with the activity of sleeping and
7028%; body posture.
7029%; It is similar to the finite automaton representation of sleep
7030%; used in ThoughtTreasure \fullcite[chap. 7]{Mueller:1998}.
7031%;
7032%; @book{Mueller:1998,
7033%; author = "Erik T. Mueller",
7034%; year = "1998",
7035%; title = "Natural Language Processing with \uppercase{T}hought\uppercase{T}reasure",
7036%; address = "New York",
7037%; publisher = "Signiform",
7038%; }
7039%;
7040%; sleep
7041%; agent wakes up.
7042
7043% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2155
7044% event WakeUp(agent)
7045 % event(wakeUp(agent)).
7046% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2156
7047==> mpred_prop(wakeUp(agent),event).
7048==> meta_argtypes(wakeUp(agent)).
7049
7050
7051% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2157
7052%; agent gets tired.
7053
7054% event GetTired(agent)
7055 % event(getTired(agent)).
7056% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2159
7057==> mpred_prop(getTired(agent),event).
7058==> meta_argtypes(getTired(agent)).
7059
7060
7061% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2160
7062%; agent falls asleep.
7063
7064% event FallAsleep(agent)
7065 % event(fallAsleep(agent)).
7066% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2162
7067==> mpred_prop(fallAsleep(agent),event).
7068==> meta_argtypes(fallAsleep(agent)).
7069
7070
7071% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2163
7072%; agent is asleep.
7073
7074% fluent Sleep0(agent)
7075 % fluent(sleep0(agent)).
7076% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2165
7077==> mpred_prop(sleep0(agent),fluent).
7078==> meta_argtypes(sleep0(agent)).
7079
7080
7081% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2165
7082%; agent is awake and in bed.
7083
7084% fluent Sleep1(agent)
7085 % fluent(sleep1(agent)).
7086% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2167
7087==> mpred_prop(sleep1(agent),fluent).
7088==> meta_argtypes(sleep1(agent)).
7089
7090
7091% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2167
7092%; agent is awake, out of bed, and undressed.
7093
7094% fluent Sleep2(agent)
7095 % fluent(sleep2(agent)).
7096% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2169
7097==> mpred_prop(sleep2(agent),fluent).
7098==> meta_argtypes(sleep2(agent)).
7099
7100
7101% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2169
7102%; agent is awake and dressed.
7103
7104% fluent Sleep3(agent)
7105 % fluent(sleep3(agent)).
7106% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2171
7107==> mpred_prop(sleep3(agent),fluent).
7108==> meta_argtypes(sleep3(agent)).
7109
7110
7111% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2171
7112%; agent is tired and dressed.
7113
7114% fluent Sleep4(agent)
7115 % fluent(sleep4(agent)).
7116% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2173
7117==> mpred_prop(sleep4(agent),fluent).
7118==> meta_argtypes(sleep4(agent)).
7119
7120
7121% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2173
7122%; agent is tired and undressed.
7123
7124% fluent Sleep5(agent)
7125 % fluent(sleep5(agent)).
7126% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2175
7127==> mpred_prop(sleep5(agent),fluent).
7128==> meta_argtypes(sleep5(agent)).
7129
7130
7131% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2175
7132%; agent is in bed, waiting to fall asleep.
7133
7134% fluent Sleep6(agent)
7135 % fluent(sleep6(agent)).
7136% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2177
7137==> mpred_prop(sleep6(agent),fluent).
7138==> meta_argtypes(sleep6(agent)).
7139
7140
7143
7146xor([sleep0,sleep1,sleep2,sleep3,sleep4,sleep5,sleep6]).
7147%; constraints
7148%; agent is asleep.
7149
7150% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2184
7151% fluent Asleep(agent)
7152 % fluent(asleep(agent)).
7153% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2185
7154==> mpred_prop(asleep(agent),fluent).
7155==> meta_argtypes(asleep(agent)).
7156
7157
7158% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2185
7159%; agent is awake.
7160
7161% fluent Awake(agent)
7162 % fluent(awake(agent)).
7163% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2187
7164==> mpred_prop(awake(agent),fluent).
7165==> meta_argtypes(awake(agent)).
7166
7167% noninertial Asleep
7168% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2188
7169==> noninertial(asleep).
7170
7171% noninertial Awake
7172% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2189
7173==> noninertial(awake).
7176 7177
7178 7182axiom(holds_at(asleep(Agent), Time),
7183 [holds_at(sleep0(Agent), Time)]).
7184axiom(holds_at(sleep0(Agent), Time),
7185 [holds_at(asleep(Agent), Time)]).
7186
7187
7198
7199 7209axiom(holds_at(awake(Agent), Time),
7210 [holds_at(sleep1(Agent), Time)]).
7211axiom(holds_at(awake(Agent), Time),
7212 [holds_at(sleep2(Agent), Time)]).
7213axiom(holds_at(awake(Agent), Time),
7214 [holds_at(sleep3(Agent), Time)]).
7215axiom(holds_at(awake(Agent), Time),
7216 [holds_at(sleep4(Agent), Time)]).
7217axiom(holds_at(awake(Agent), Time),
7218 [holds_at(sleep5(Agent), Time)]).
7219axiom(holds_at(awake(Agent), Time),
7220 [holds_at(sleep6(Agent), Time)]).
7221
7222 7225
7226 7235axiom(holds_at(sleep1(Sleep1_Ret), Time2),
7236
7237 [ not(holds_at(sleep2(Sleep1_Ret), Time2)),
7238 not(holds_at(sleep3(Sleep1_Ret), Time2)),
7239 not(holds_at(sleep4(Sleep1_Ret), Time2)),
7240 not(holds_at(sleep5(Sleep1_Ret), Time2)),
7241 not(holds_at(sleep6(Sleep1_Ret), Time2)),
7242 holds_at(awake(Sleep1_Ret), Time2)
7243 ]).
7244
7245 7254axiom(holds_at(sleep2(Sleep2_Ret), Time4),
7255
7256 [ not(holds_at(sleep3(Sleep2_Ret), Time4)),
7257 not(holds_at(sleep4(Sleep2_Ret), Time4)),
7258 not(holds_at(sleep5(Sleep2_Ret), Time4)),
7259 not(holds_at(sleep6(Sleep2_Ret), Time4)),
7260 not(holds_at(sleep1(Sleep2_Ret), Time4)),
7261 holds_at(awake(Sleep2_Ret), Time4)
7262 ]).
7263
7264 7273axiom(holds_at(sleep3(Sleep3_Ret), Time6),
7274
7275 [ not(holds_at(sleep4(Sleep3_Ret), Time6)),
7276 not(holds_at(sleep5(Sleep3_Ret), Time6)),
7277 not(holds_at(sleep6(Sleep3_Ret), Time6)),
7278 not(holds_at(sleep2(Sleep3_Ret), Time6)),
7279 not(holds_at(sleep1(Sleep3_Ret), Time6)),
7280 holds_at(awake(Sleep3_Ret), Time6)
7281 ]).
7282
7283 7292axiom(holds_at(sleep4(Sleep4_Ret), Time8),
7293
7294 [ not(holds_at(sleep5(Sleep4_Ret), Time8)),
7295 not(holds_at(sleep6(Sleep4_Ret), Time8)),
7296 not(holds_at(sleep3(Sleep4_Ret), Time8)),
7297 not(holds_at(sleep2(Sleep4_Ret), Time8)),
7298 not(holds_at(sleep1(Sleep4_Ret), Time8)),
7299 holds_at(awake(Sleep4_Ret), Time8)
7300 ]).
7301
7302 7310axiom(holds_at(sleep5(Sleep5_Ret), Time10),
7311
7312 [ not(holds_at(sleep6(Sleep5_Ret), Time10)),
7313 not(holds_at(sleep4(Sleep5_Ret), Time10)),
7314 not(holds_at(sleep3(Sleep5_Ret), Time10)),
7315 not(holds_at(sleep2(Sleep5_Ret), Time10)),
7316 not(holds_at(sleep1(Sleep5_Ret), Time10)),
7317 holds_at(awake(Sleep5_Ret), Time10)
7318 ]).
7319
7320 7328axiom(holds_at(sleep6(Sleep6_Ret), Time12),
7329
7330 [ not(holds_at(sleep5(Sleep6_Ret), Time12)),
7331 not(holds_at(sleep4(Sleep6_Ret), Time12)),
7332 not(holds_at(sleep3(Sleep6_Ret), Time12)),
7333 not(holds_at(sleep2(Sleep6_Ret), Time12)),
7334 not(holds_at(sleep1(Sleep6_Ret), Time12)),
7335 holds_at(awake(Sleep6_Ret), Time12)
7336 ]).
7337
7338 7346axiom(not(holds_at(awake(Awake_Ret), Time14)),
7347
7348 [ not(holds_at(sleep1(Awake_Ret), Time14)),
7349 not(holds_at(sleep2(Awake_Ret), Time14)),
7350 not(holds_at(sleep3(Awake_Ret), Time14)),
7351 not(holds_at(sleep4(Awake_Ret), Time14)),
7352 not(holds_at(sleep5(Awake_Ret), Time14)),
7353 not(holds_at(sleep6(Awake_Ret), Time14))
7354 ]).
7355
7356
7364
7367axiom(terminates(wakeUp(Agent), sleep0(Agent), Time),
7368 []).
7369
7370
7373 7374axiom(initiates(wakeUp(Agent), sleep1(Agent), Time),
7375 []).
7376
7377
7380 7381axiom(requires(wakeUp(Agent), Time),
7382 [holds_at(sleep0(Agent), Time)]).
7383
7384
7390
7393axiom(terminates(riseFrom(Agent, Bed), sleep1(Agent), Time),
7394 []).
7395
7396
7399 7400axiom(initiates(riseFrom(Agent, Bed), sleep2(Agent), Time),
7401 []).
7402
7403
7408axiom(requires(riseFrom(Agent, Bed), Time),
7409 [holds_at(sleep1(Agent), Time)]).
7410
7411
7417
7420axiom(terminates(getDressed(Agent), sleep2(Agent), Time),
7421 []).
7422
7423
7426 7427axiom(initiates(getDressed(Agent), sleep3(Agent), Time),
7428 []).
7429
7430
7433 7434axiom(requires(getDressed(Agent), Time),
7435 [holds_at(sleep2(Agent), Time)]).
7436
7437
7443
7446axiom(terminates(getTired(Agent), sleep3(Agent), Time),
7447 []).
7448
7449
7452 7453axiom(initiates(getTired(Agent), sleep4(Agent), Time),
7454 []).
7455
7456
7459 7460axiom(requires(getTired(Agent), Time),
7461 [holds_at(sleep3(Agent), Time)]).
7462
7463
7469
7472axiom(terminates(getUndressed(Agent), sleep4(Agent), Time),
7473 []).
7474
7475
7478 7479axiom(initiates(getUndressed(Agent), sleep5(Agent), Time),
7480 []).
7481
7482
7485 7486axiom(requires(getUndressed(Agent), Time),
7487 [holds_at(sleep4(Agent), Time)]).
7488
7489
7495
7498axiom(terminates(lieOn(Agent, Bed), sleep5(Agent), Time),
7499 []).
7500
7501
7504 7505axiom(initiates(lieOn(Agent, Bed), sleep6(Agent), Time),
7506 []).
7507
7508
7511 7512axiom(requires(lieOn(Agent, Bed), Time),
7513 [holds_at(sleep5(Agent), Time)]).
7514
7515
7521
7524axiom(terminates(fallAsleep(Agent), sleep6(Agent), Time),
7525 []).
7526
7527
7530 7531axiom(initiates(fallAsleep(Agent), sleep0(Agent), Time),
7532 []).
7533
7534
7537 7538axiom(requires(fallAsleep(Agent), Time),
7539 [holds_at(sleep6(Agent), Time)]).
7540
7541
7542% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2276
7543%;--
7544%; agent acts on being in state Sleep5.
7545
7546% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2279
7547% fluent ActOnSleep5(agent)
7548 % fluent(actOnSleep5(agent)).
7549% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2280
7550==> mpred_prop(actOnSleep5(agent),fluent).
7551==> meta_argtypes(actOnSleep5(agent)).
7552
7553% noninertial ActOnSleep5
7554% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2281
7555==> noninertial(actOnSleep5).
7564axiom(not(holds_at(actOnSleep5(Agent), Time)),
7565 [not(holds_at(sleep5(Agent), Time))]).
7566
7567
7582axiom(happens(lieOn(Agent, Bed), Time),
7583
7584 [ holds_at(sleep5(Agent), Time),
7585 holds_at(actOnSleep5(Agent), Time),
7586 holds_at(at(Agent, Room), Time),
7587 holds_at(at(Bed, Room), Time)
7588 ]).
7589
7590
7607
7608 7612
7613 7622axiom(not(some(Location, '$kolem_Fn_309'(Fn_309_Param, At_Param, Maptime))),
7623
7624 [ not(holds_at(sleep5(Fn_309_Param), Maptime)),
7625 happens(lieOn(Fn_309_Param, At_Param), Maptime)
7626 ]).
7627axiom(not(some(Location, '$kolem_Fn_309'(Fn_309_Param, At_Param, Maptime))),
7628
7629 [ not(holds_at(actOnSleep5(Fn_309_Param), Maptime)),
7630 happens(lieOn(Fn_309_Param, At_Param), Maptime)
7631 ]).
7632axiom(not(some(Location, '$kolem_Fn_309'(Fn_309_Param, At_Param, Maptime))),
7633
7634 [ not(holds_at(at(Fn_309_Param, Location), Maptime)),
7635 happens(lieOn(Fn_309_Param, At_Param), Maptime)
7636 ]).
7637axiom(not(some(Location, '$kolem_Fn_309'(Fn_309_Param, At_Param, Maptime))),
7638
7639 [ not(holds_at(at(At_Param, Location), Maptime)),
7640 happens(lieOn(Fn_309_Param, At_Param), Maptime)
7641 ]).
7642
7643 7652axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
7653
7654 [ not(holds_at(sleep5(LieOn_Param), Maptime9)),
7655 some(Location10,
7656 '$kolem_Fn_309'(LieOn_Param, At_Param12, Maptime9))
7657 ]).
7658axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
7659
7660 [ not(holds_at(actOnSleep5(LieOn_Param), Maptime9)),
7661 some(Location10,
7662 '$kolem_Fn_309'(LieOn_Param, At_Param12, Maptime9))
7663 ]).
7664axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
7665
7666 [ not(holds_at(at(LieOn_Param, Location10), Maptime9)),
7667 some(Location10,
7668 '$kolem_Fn_309'(LieOn_Param, At_Param12, Maptime9))
7669 ]).
7670axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
7671
7672 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
7673 some(Location10,
7674 '$kolem_Fn_309'(LieOn_Param, At_Param12, Maptime9))
7675 ]).
7676
7677 7682axiom(holds_at(sleep5(LieOn_Param14), Time13),
7683
7684 [ happens(lieOn(LieOn_Param14, LieOn_Ret), Time13),
7685 some(Some_Param,
7686 '$kolem_Fn_309'(LieOn_Param14, LieOn_Ret, Time13))
7687 ]).
7688
7689 7694axiom(holds_at(actOnSleep5(LieOn_Param18), Time17),
7695
7696 [ happens(lieOn(LieOn_Param18, LieOn_Ret20), Time17),
7697 some(Some_Param19,
7698 '$kolem_Fn_309'(LieOn_Param18, LieOn_Ret20, Time17))
7699 ]).
7700
7701 7706axiom(holds_at(at(At_Param23, Location21), Time22),
7707
7708 [ happens(lieOn(At_Param23, LieOn_Ret24), Time22),
7709 some(Location21,
7710 '$kolem_Fn_309'(At_Param23, LieOn_Ret24, Time22))
7711 ]).
7712
7713 7718axiom(holds_at(at(At_Param27, Location25), Time26),
7719
7720 [ happens(lieOn(LieOn_Param28, At_Param27), Time26),
7721 some(Location25,
7722 '$kolem_Fn_309'(LieOn_Param28, At_Param27, Time26))
7723 ]).
7724
7725
7726% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2316
7727%; (body) posture
7728%; agent lies on physobj.
7729
7730% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2319
7731% event LieOn(agent,physobj)
7732 % event(lieOn(agent,physobj)).
7733% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2320
7734==> mpred_prop(lieOn(agent,physobj),event).
7735==> meta_argtypes(lieOn(agent,physobj)).
7736
7737
7738% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2321
7739%; agent sits on physobj.
7740
7741% event SitOn(agent,physobj)
7742 % event(sitOn(agent,physobj)).
7743% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2323
7744==> mpred_prop(sitOn(agent,physobj),event).
7745==> meta_argtypes(sitOn(agent,physobj)).
7746
7747
7755
7756 7760
7761 7768axiom(not(some(Location6, '$kolem_Fn_310'(Fn_310_Param, At_Param, Maptime))),
7769
7770 [ not(holds_at(at(Fn_310_Param, Location6), Maptime)),
7771 happens(sitOn(Fn_310_Param, At_Param), Maptime)
7772 ]).
7773axiom(not(some(Location6, '$kolem_Fn_310'(Fn_310_Param, At_Param, Maptime))),
7774
7775 [ not(holds_at(at(At_Param, Location6), Maptime)),
7776 happens(sitOn(Fn_310_Param, At_Param), Maptime)
7777 ]).
7778
7779 7786axiom(not(happens(sitOn(SitOn_Param, At_Param12), Maptime9)),
7787
7788 [ not(holds_at(at(SitOn_Param, Location10), Maptime9)),
7789 some(Location10,
7790 '$kolem_Fn_310'(SitOn_Param, At_Param12, Maptime9))
7791 ]).
7792axiom(not(happens(sitOn(SitOn_Param, At_Param12), Maptime9)),
7793
7794 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
7795 some(Location10,
7796 '$kolem_Fn_310'(SitOn_Param, At_Param12, Maptime9))
7797 ]).
7798
7799 7804axiom(holds_at(at(At_Param15, Location13), Time14),
7805
7806 [ happens(sitOn(At_Param15, SitOn_Ret), Time14),
7807 some(Location13,
7808 '$kolem_Fn_310'(At_Param15, SitOn_Ret, Time14))
7809 ]).
7810
7811 7816axiom(holds_at(at(At_Param19, Location17), Time18),
7817
7818 [ happens(sitOn(SitOn_Param20, At_Param19), Time18),
7819 some(Location17,
7820 '$kolem_Fn_310'(SitOn_Param20, At_Param19, Time18))
7821 ]).
7822
7823
7824% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2330
7825%; agent rises from physobj.
7826
7827% event RiseFrom(agent,physobj)
7828 % event(riseFrom(agent,physobj)).
7829% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2332
7830==> mpred_prop(riseFrom(agent,physobj),event).
7831==> meta_argtypes(riseFrom(agent,physobj)).
7832
7833
7834% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2333
7835%; agent is lying on physobj.
7836
7837% fluent LyingOn(agent,physobj)
7838 % fluent(lyingOn(agent,physobj)).
7839% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2335
7840==> mpred_prop(lyingOn(agent,physobj),fluent).
7841==> meta_argtypes(lyingOn(agent,physobj)).
7842
7843
7844% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2335
7845%; agent is sitting on physobj.
7846
7847% fluent SittingOn(agent,physobj)
7848 % fluent(sittingOn(agent,physobj)).
7849% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2337
7850==> mpred_prop(sittingOn(agent,physobj),fluent).
7851==> meta_argtypes(sittingOn(agent,physobj)).
7852
7853
7854% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2337
7855%; agent is standing.
7856
7857% fluent Standing(agent)
7858 % fluent(standing(agent)).
7859% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2339
7860==> mpred_prop(standing(agent),fluent).
7861==> meta_argtypes(standing(agent)).
7862
7863
7864% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2340
7865%; agent is lying down.
7866
7867% fluent Lying(agent)
7868 % fluent(lying(agent)).
7869% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2342
7870==> mpred_prop(lying(agent),fluent).
7871==> meta_argtypes(lying(agent)).
7872
7873
7874% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2342
7875%; agent is sitting.
7876
7877% fluent Sitting(agent)
7878 % fluent(sitting(agent)).
7879% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2344
7880==> mpred_prop(sitting(agent),fluent).
7881==> meta_argtypes(sitting(agent)).
7882
7883% noninertial Lying
7884% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2345
7885==> noninertial(lying).
7886
7887% noninertial Sitting
7888% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2346
7889==> noninertial(sitting).
7891
7895xor([lying,sitting,standing]).
7896
7897
7903axiom(holds_at(lying(Agent), Time),
7904 [holds_at(lyingOn(Agent, Physobj), Time)]).
7905
7906
7912axiom(holds_at(sitting(Agent), Time),
7913 [holds_at(sittingOn(Agent, Physobj), Time)]).
7914
7915
7925axiom(Physobj1=Physobj2,
7926
7927 [ holds_at(lyingOn(Agent, Physobj1), Time),
7928 holds_at(lyingOn(Agent, Physobj2), Time)
7929 ]).
7930
7931
7938axiom(Physobj1=Physobj2,
7939
7940 [ holds_at(sittingOn(Agent, Physobj1), Time),
7941 holds_at(sittingOn(Agent, Physobj2), Time)
7942 ]).
7943
7944
7956axiom(initiates(lieOn(Agent, Physobj), lyingOn(Agent, Physobj), Time),
7957 [holds_at(standing(Agent), Time)]).
7958
7959
7970axiom(terminates(lieOn(Agent, Physobj), standing(Agent), Time),
7971 []).
7972
7973
7985axiom(initiates(sitOn(Agent, Physobj), sittingOn(Agent, Physobj), Time),
7986 [holds_at(standing(Agent), Time)]).
7987
7988
7999axiom(terminates(sitOn(Agent, Physobj), standing(Agent), Time),
8000 []).
8001
8002
8016axiom(initiates(riseFrom(Agent, Physobj), standing(Agent), Time),
8017 [holds_at(sittingOn(Agent, Physobj), Time)]).
8018axiom(initiates(riseFrom(Agent, Physobj), standing(Agent), Time),
8019 [holds_at(lyingOn(Agent, Physobj), Time)]).
8020
8021
8034axiom(terminates(riseFrom(Agent, Physobj), sittingOn(Agent, Physobj), Time),
8035 [holds_at(sittingOn(Agent, Physobj), Time)]).
8036
8037
8050axiom(terminates(riseFrom(Agent, Physobj), lyingOn(Agent, Physobj), Time),
8051 [holds_at(lyingOn(Agent, Physobj), Time)]).
8052
8053
8054% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2435
8055%; dressing
8056%; agent gets undressed.
8057
8058% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2438
8059% event GetDressed(agent)
8060 % event(getDressed(agent)).
8061% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2439
8062==> mpred_prop(getDressed(agent),event).
8063==> meta_argtypes(getDressed(agent)).
8064
8065
8066% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2439
8067%; agent gets dressed.
8068
8069% event GetUndressed(agent)
8070 % event(getUndressed(agent)).
8071% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2441
8072==> mpred_prop(getUndressed(agent),event).
8073==> meta_argtypes(getUndressed(agent)).
8074
8075
8076% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2441
8077%; agent is dressed.
8078
8079% fluent Dressed(agent)
8080 % fluent(dressed(agent)).
8081% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2443
8082==> mpred_prop(dressed(agent),fluent).
8083==> meta_argtypes(dressed(agent)).
8084
8085
8089 8091axiom(initiates(getDressed(Agent), dressed(Agent), Time),
8092 []).
8093
8094
8097 8098axiom(terminates(getUndressed(Agent), dressed(Agent), Time),
8099 []).
8100
8101
8127
8131:- set_ec_option(modeldiff, on). 8132
8135ignore(love).
8136ignore(threatenedBy).
8137
8140ignore(lookOutOnto).
8141ignore(floor).
8142ignore(buildingOf).
8143ignore(skyOf).
8144ignore(groundOf).
8145
8148ignore(inside).
8149ignore(near).
8150
8153ignore(see).
8154
8157ignore(actOnSleep5).
8158
8161:- set_ec_option(renaming, off). 8162
8164
8167
8170load('answers/Mueller2003/Ontology.e').
8171
8174load('answers/Mueller2004c/RTSpaceM.e').
8175
8178load('answers/Mueller2004c/OTSpaceM.e').
8179
8182load('answers/Mueller2004c/Cognition.e').
8183
8186load('answers/Mueller2003/Sleep.e').
8187
8188% door Door1
8189% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2497
8190==> t(door,door1).
8191
8192% room Room0
8193% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2499
8194==> t(room,room0).
8195
8196% room Room1
8197% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2501
8198==> t(room,room1).
8199
8200
8203side1(door1,room0).
8204
8205
8208side2(door1,room1).
8209
8210% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2505
8211% agent Sleeper1
8212% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2506
8213==> t(agent,sleeper1).
8214
8215% bed Bed1
8216% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2508
8217==> t(bed,bed1).
8218
8219% outside Outside1
8220% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2510
8221==> t(outside,outside1).
8224 8225 8227axiom(not(initially(holding(Holding_Param, Holding_Ret))),
8228 []).
8229
8230
8233 8234 8235axiom(not(initially(sittingOn(SittingOn_Param, SittingOn_Ret))),
8236 []).
8237
8238
8241 8242 8243axiom(not(initially(lyingOn(LyingOn_Param, LyingOn_Ret))),
8244 []).
8245
8246
8249axiom(initially(dressed(sleeper1)),
8250 []).
8251
8252
8255axiom(initially(awake(sleeper1)),
8256 []).
8257
8258
8261axiom(initially(sleep3(sleeper1)),
8262 []).
8263
8264
8267axiom(initially(standing(sleeper1)),
8268 []).
8269
8270
8273axiom(initially(doorUnlocked(door1)),
8274 []).
8275
8276
8279axiom(initially(doorIsOpen(door1)),
8280 []).
8281
8282
8285axiom(initially(at(sleeper1, room0)),
8286 []).
8287
8288
8291axiom(initially(at(bed1, room1)),
8292 []).
8293
8294
8297
8298
8301axiom(happens(getTired(sleeper1), t),
8302 [is_time(0)]).
8303
8304
8307axiom(happens(walkThroughDoor12(sleeper1, door1), start),
8308 [is_time(1), b(t, start), ignore(t+1=start)]).
8309
8310
8313axiom(happens(getUndressed(sleeper1), t2),
8314 [is_time(2), b(t, t2), ignore(t+2=t2)]).
8315
8316
8319axiom(happens(lieOn(sleeper1, bed1), t3),
8320 [is_time(3), b(t, t3), ignore(t+3=t3)]).
8321
8322
8325axiom(happens(fallAsleep(sleeper1), t4),
8326 [is_time(4), b(t, t4), ignore(t+4=t4)]).
8327
8328
8331axiom(happens(dream(sleeper1), t5),
8332 [is_time(5), b(t, t5), ignore(t+5=t5)]).
8333
8334
8337axiom(happens(wakeUp(sleeper1), t6),
8338 [is_time(6), b(t, t6), ignore(t+6=t6)]).
8339
8340
8343axiom(happens(riseFrom(sleeper1, bed1), t7),
8344 [is_time(7), b(t, t7), ignore(t+7=t7)]).
8345
8346
8349axiom(happens(getDressed(sleeper1), t8),
8350 [is_time(8), b(t, t8), ignore(t+8=t8)]).
8351
8352
8355axiom(happens(walkThroughDoor21(sleeper1, door1), t9),
8356 [is_time(9), b(t, t9), ignore(t+9=t9)]).
8357
8358% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2536
8359% range time 0 10
8360% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2537
8361==> range(time,0,10).
8362
8363% range offset 0 0
8364% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2538
8365==> range(offset,0,0).
8366
8367% range diameter 0 0
8368% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2539
8369==> range(diameter,0,0).
8370
8371% completion Happens
8372% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2541
8373==> completion(happens).
8395
8399:- set_ec_option(renaming, off). 8400
8403:- set_ec_option(encoding, 3). 8404
8406
8409
8412load('answers/Mueller2003/Ontology.e').
8413
8416load('answers/MuellerInPress/RepRest.e').
8417
8418% door MainEntrance1
8419% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2577
8420==> t(door,mainEntrance1).
8421%; room-scale topological space
8422
8423% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2579
8424% outside Street1
8425% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2580
8426==> t(outside,street1).
8427
8428% room DiningRoom1
8429% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2581
8430==> t(room,diningRoom1).
8431
8432% door KitchenDoor1
8433% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2582
8434==> t(door,kitchenDoor1).
8435
8436% room Kitchen1
8437% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2583
8438==> t(room,kitchen1).
8439
8440
8443side1(mainEntrance1,street1).
8444
8445
8448side2(mainEntrance1,diningRoom1).
8449
8450
8453side1(kitchenDoor1,diningRoom1).
8454
8455
8458side2(kitchenDoor1,kitchen1).
8459
8460% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2588
8461% agent Customer1
8462% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2589
8463==> t(agent,customer1).
8464
8465% menu Menu1
8466% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2590
8467==> t(menu,menu1).
8468
8469% chair Chair1
8470% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2591
8471==> t(chair,chair1).
8472
8473% food Food1
8474% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2592
8475==> t(food,food1).
8476
8477
8480axiom(initially(at(customer1, street1)),
8481 []).
8482
8483
8486axiom(initially(hungry(customer1)),
8487 []).
8488
8489
8492axiom(initially(at(chair1, diningRoom1)),
8493 []).
8494
8495
8498axiom(initially(at(menu1, diningRoom1)),
8499 []).
8500
8501
8504axiom(initially(on(menu1, table1)),
8505 []).
8506
8507
8510axiom(initially(at(food1, kitchen1)),
8511 []).
8512
8513% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2599
8514% waiter Waiter1
8515% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2600
8516==> t(waiter,waiter1).
8517
8518% cook Cook1
8519% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2601
8520==> t(cook,cook1).
8521%; props
8522
8523% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2603
8524% table Table1
8525% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2604
8526==> t(table,table1).
8527
8528% bill Bill1
8529% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2605
8530==> t(bill,bill1).
8531%; restaurant
8532
8533% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2607
8534% restaurant Restaurant1
8535% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2608
8536==> t(restaurant,restaurant1).
8537
8538
8541cookOf(restaurant1,cook1).
8542
8543
8546tableOf(restaurant1,table1).
8547
8548
8551waiterOf(restaurant1,waiter1).
8552
8553
8556kitchenDoorOf(restaurant1,kitchenDoor1).
8557
8558
8561billOf(restaurant1,bill1).
8562
8563
8564% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2614
8565%; prune
8566
8567% sort ona, onb
8568% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2616
8569==> sort(ona).
8570==> sort(onb).
8571
8572% fluent! On(ona,onb)
8573 % fluent(on(ona,onb)).
8574% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2617
8575==> mpred_prop(on(ona,onb),fluent).
8576==> meta_argtypes(on(ona,onb)).
8577
8578% event! PlaceOn(agent,ona,onb)
8579 % event(placeOn(agent,ona,onb)).
8580% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2618
8581==> mpred_prop(placeOn(agent,ona,onb),event).
8582==> meta_argtypes(placeOn(agent,ona,onb)).
8583
8584% event! TakeOffOf(agent,ona,onb)
8585 % event(takeOffOf(agent,ona,onb)).
8586% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2619
8587==> mpred_prop(takeOffOf(agent,ona,onb),event).
8588==> meta_argtypes(takeOffOf(agent,ona,onb)).
8589
8590% sort ordera, orderb, orderc
8591% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2621
8592==> sort(ordera).
8593==> sort(orderb).
8594==> sort(orderc).
8595
8596% event! Order(ordera,orderb,orderc)
8597 % event(order(ordera,orderb,orderc)).
8598% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2622
8599==> mpred_prop(order(ordera,orderb,orderc),event).
8600==> meta_argtypes(order(ordera,orderb,orderc)).
8601
8602% fluent! KnowOrder(orderb,ordera,orderc)
8603 % fluent(knowOrder(orderb,ordera,orderc)).
8604% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2623
8605==> mpred_prop(knowOrder(orderb,ordera,orderc),fluent).
8606==> meta_argtypes(knowOrder(orderb,ordera,orderc)).
8607
8608% sort requesta, requestb, requestc
8609% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2625
8610==> sort(requesta).
8611==> sort(requestb).
8612==> sort(requestc).
8613
8614% event! Request(requesta,requestb,requestc)
8615 % event(request(requesta,requestb,requestc)).
8616% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2626
8617==> mpred_prop(request(requesta,requestb,requestc),event).
8618==> meta_argtypes(request(requesta,requestb,requestc)).
8619
8620% fluent! KnowRequest(requestb,requesta,requestc)
8621 % fluent(knowRequest(requestb,requesta,requestc)).
8622% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2627
8623==> mpred_prop(knowRequest(requestb,requesta,requestc),fluent).
8624==> meta_argtypes(knowRequest(requestb,requesta,requestc)).
8625
8626% sort holda, holdb, holdc
8627% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2629
8628==> sort(holda).
8629==> sort(holdb).
8630==> sort(holdc).
8631
8632% event! TakeOffOf(holda,holdb,holdc)
8633 % event(takeOffOf(holda,holdb,holdc)).
8634% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2630
8635==> mpred_prop(takeOffOf(holda,holdb,holdc),event).
8636==> meta_argtypes(takeOffOf(holda,holdb,holdc)).
8637
8638% event! PickUp(holda,holdb)
8639 % event(pickUp(holda,holdb)).
8640% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2631
8641==> mpred_prop(pickUp(holda,holdb),event).
8642==> meta_argtypes(pickUp(holda,holdb)).
8643
8644% event! LetGoOf(holda,holdb)
8645 % event(letGoOf(holda,holdb)).
8646% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2632
8647==> mpred_prop(letGoOf(holda,holdb),event).
8648==> meta_argtypes(letGoOf(holda,holdb)).
8649
8650% event! Hold(holda,holdb)
8651 % event(hold(holda,holdb)).
8652% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2633
8653==> mpred_prop(hold(holda,holdb),event).
8654==> meta_argtypes(hold(holda,holdb)).
8655
8656% fluent! Holding(holda,holdb)
8657 % fluent(holding(holda,holdb)).
8658% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2634
8659==> mpred_prop(holding(holda,holdb),fluent).
8660==> meta_argtypes(holding(holda,holdb)).
8661
8662% sort sita, sitb
8663% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2636
8664==> sort(sita).
8665==> sort(sitb).
8666
8667% event! LieOn(sita,sitb)
8668 % event(lieOn(sita,sitb)).
8669% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2637
8670==> mpred_prop(lieOn(sita,sitb),event).
8671==> meta_argtypes(lieOn(sita,sitb)).
8672
8673% event! SitOn(sita,sitb)
8674 % event(sitOn(sita,sitb)).
8675% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2638
8676==> mpred_prop(sitOn(sita,sitb),event).
8677==> meta_argtypes(sitOn(sita,sitb)).
8678
8679% event! RiseFrom(sita,sitb)
8680 % event(riseFrom(sita,sitb)).
8681% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2639
8682==> mpred_prop(riseFrom(sita,sitb),event).
8683==> meta_argtypes(riseFrom(sita,sitb)).
8684
8685% fluent! LyingOn(sita,sitb)
8686 % fluent(lyingOn(sita,sitb)).
8687% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2640
8688==> mpred_prop(lyingOn(sita,sitb),fluent).
8689==> meta_argtypes(lyingOn(sita,sitb)).
8690
8691% fluent! SittingOn(sita,sitb)
8692 % fluent(sittingOn(sita,sitb)).
8693% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2641
8694==> mpred_prop(sittingOn(sita,sitb),fluent).
8695==> meta_argtypes(sittingOn(sita,sitb)).
8696
8697% sort greeta, greetb
8698% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2643
8699==> sort(greeta).
8700==> sort(greetb).
8701
8702% event! Greet(greeta,greetb)
8703 % event(greet(greeta,greetb)).
8704% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2644
8705==> mpred_prop(greet(greeta,greetb),event).
8706==> meta_argtypes(greet(greeta,greetb)).
8707
8708% ona! Menu1, Food1, Bill1
8709% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2646
8710==> t(ona,menu1).
8711==> t(ona,food1).
8712==> t(ona,bill1).
8713
8714% onb! Table1
8715% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2647
8716==> t(onb,table1).
8717
8718% ordera! Customer1, Waiter1
8719% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2648
8720==> t(ordera,customer1).
8721==> t(ordera,waiter1).
8722
8723% orderb! Waiter1, Cook1
8724% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2649
8725==> t(orderb,waiter1).
8726==> t(orderb,cook1).
8727
8728% orderc! Food1
8729% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2650
8730==> t(orderc,food1).
8731
8732% requesta! Customer1
8733% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2651
8734==> t(requesta,customer1).
8735
8736% requestb! Waiter1
8737% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2652
8738==> t(requestb,waiter1).
8739
8740% requestc! Bill1
8741% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2653
8742==> t(requestc,bill1).
8743
8744% holda! Customer1, Waiter1
8745% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2654
8746==> t(holda,customer1).
8747==> t(holda,waiter1).
8748
8749% holdb! Menu1, Food1, Bill1
8750% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2655
8751==> t(holdb,menu1).
8752==> t(holdb,food1).
8753==> t(holdb,bill1).
8754
8755% holdc! Table1
8756% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2656
8757==> t(holdc,table1).
8758
8759% sita! Customer1
8760% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2657
8761==> t(sita,customer1).
8762
8763% sitb! Chair1
8764% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2658
8765==> t(sitb,chair1).
8766
8767% greeta! Customer1, Waiter1
8768% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2659
8769==> t(greeta,customer1).
8770==> t(greeta,waiter1).
8771
8772% greetb! Customer1, Waiter1
8773% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2660
8774==> t(greetb,customer1).
8775==> t(greetb,waiter1).
8777
8778
8781axiom(initially(at(waiter1, diningRoom1)),
8782 []).
8783
8784
8787axiom(initially(at(cook1, kitchen1)),
8788 []).
8789
8790
8793axiom(initially(at(table1, diningRoom1)),
8794 []).
8795
8796
8799 8800axiom(not(initially(on(bill1, table1))),
8801 []).
8802
8803
8806axiom(initially(at(bill1, diningRoom1)),
8807 []).
8808
8809
8812 8813axiom(initially(standing(Agent)),
8814 []).
8815
8816
8819 8820 8821axiom(not(initially(holding(Holding_Param, Holding_Ret))),
8822 []).
8823
8824
8827 8828 8829axiom(not(initially(knowOrder(KnowOrder_Param, _, KnowOrder_Ret))),
8830 []).
8831
8832
8835 8836 8837axiom(not(initially(knowRequest(KnowRequest_Param, _, KnowRequest_Ret))),
8838 []).
8839
8840
8843axiom(initially(beWaiter0(waiter1)),
8844 []).
8845
8846
8849axiom(initially(beCook0(cook1)),
8850 []).
8851
8852
8855 8856 8857axiom(not(initially(foodPrepared(FoodPrepared_Ret))),
8858 []).
8859
8860
8863 8864axiom(not(initially(hungry(cook1))),
8865 []).
8866
8867
8870 8871axiom(not(initially(hungry(waiter1))),
8872 []).
8873
8874
8877axiom(happens(walkThroughDoor12(customer1, mainEntrance1), t),
8878 [is_time(0)]).
8879
8880
8883axiom(happens(greet(waiter1, customer1), start),
8884 [is_time(1), b(t, start), ignore(t+1=start)]).
8885
8886
8889axiom(happens(sitOn(customer1, chair1), t2),
8890 [is_time(2), b(t, t2), ignore(t+2=t2)]).
8891
8892
8895axiom(happens(takeOffOf(customer1, menu1, table1), t3),
8896 [is_time(3), b(t, t3), ignore(t+3=t3)]).
8897
8898
8901axiom(happens(order(customer1, waiter1, food1), t4),
8902 [is_time(4), b(t, t4), ignore(t+4=t4)]).
8903
8904
8907axiom(happens(placeOn(customer1, menu1, table1), t5),
8908 [is_time(5), b(t, t5), ignore(t+5=t5)]).
8909
8910
8913axiom(happens(eat(customer1, food1), t11),
8914 [is_time(11), b(t, t11), ignore(t+11=t11)]).
8915
8916
8919axiom(happens(request(customer1, waiter1, bill1), t12),
8920 [is_time(12), b(t, t12), ignore(t+12=t12)]).
8921
8922
8925axiom(happens(pay(customer1, waiter1), t15),
8926 [is_time(15), b(t, t15), ignore(t+15=t15)]).
8927
8928
8931axiom(happens(tip(customer1, waiter1), t15),
8932 [is_time(15), b(t, t15), ignore(t+15=t15)]).
8933
8934
8937axiom(happens(riseFrom(customer1, chair1), t16),
8938 [is_time(16), b(t, t16), ignore(t+16=t16)]).
8939
8940
8943axiom(happens(sayGoodbye(customer1, waiter1), t17),
8944 [is_time(17), b(t, t17), ignore(t+17=t17)]).
8945
8946
8949axiom(happens(walkThroughDoor21(customer1, mainEntrance1), t18),
8950 [is_time(18), b(t, t18), ignore(t+18=t18)]).
8951
8952% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2691
8953% range time 0 19
8954% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2692
8955==> range(time,0,19).
8956
8957% range offset 0 0
8958% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2693
8959==> range(offset,0,0).
8960
8961% range diameter 0 0
8962% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2694
8963==> range(diameter,0,0).
8964
8965% completion Happens
8966% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2696
8967==> completion(happens).
8968%; End of file.
8969%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8970%; FILE: ecnet/RepRest.e
8971%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
8972%;
8973%; Copyright (c) 2005 IBM Corporation and others.
8974%; All rights reserved. This program and the accompanying materials
8975%; are made available under the terms of the Common Public License v1.0
8976%; which accompanies this distribution, and is available at
8977%; http://www.eclipse.org/legal/cpl-v10.html
8978%;
8979%; Contributors:
8980%; IBM - Initial implementation
8981%;
8982%; @article{Mueller:InPress,
8983%; author = "Erik T. Mueller",
8984%; year = "in press",
8985%; title = "Modelling space and time in narratives about restaurants",
8986%; journal = "Literary and Linguistic Computing",
8987%; }
8988%;
8989%;sort boolean
8990%;sort integer
8991%;reified sort predicate
8992%;reified sort function
8993%;
8994%;sort time: integer
8995%;sort offset: integer
8996%;
8997%;reified sort fluent
8998%;reified sort event
8999%;
9000%;predicate Happens(event,time)
9001%;predicate HoldsAt(fluent,time)
9002%;predicate ReleasedAt(fluent,time)
9003%;predicate Initiates(event,fluent,time)
9004%;predicate Terminates(event,fluent,time)
9005%;predicate Releases(event,fluent,time)
9006%;
9007%;sort diameter: integer
9008%;
9009%;sort object
9010%;
9011%;sort agent: object
9012%;
9013%;sort physobj: object
9014%;sort bed: physobj
9015%;sort snowflake: physobj
9016%;sort sky: physobj
9017%;
9018%;sort stuff: physobj
9019%;
9020%;sort surface: physobj
9021%;sort ground: surface
9022%;
9023%;sort snow: stuff
9024%;sort ball
9025%;
9026%;sort food: physobj
9027%;sort fruit: food
9028%;sort orange: fruit
9029%;sort salad: food
9030%;
9031%;sort clothing: physobj
9032%;sort scarf: clothing
9033%;sort hat: clothing
9034%;
9035%;sort vegetablematter: physobj
9036%;sort coal: vegetablematter
9037%;
9038%;sort bodypart: physobj
9039%;sort hand: bodypart
9040%;
9041%;sort papertowels: physobj
9042%;sort device: physobj
9043%;sort electronicdevice: device
9044%;sort lamp: electronicdevice
9045%;
9046%;sort cat: physobj
9047%;
9048%;sort weapon: physobj
9049%;sort gun: weapon
9050%;sort bomb: weapon
9051%;sort bullet: weapon
9052%;
9053%;sort location
9054%;sort room: location, outside: location
9055%;
9056%;sort portal
9057%;sort door: portal, staircase: portal
9058%;sort street: portal
9059%;
9060%;sort building
9061%;
9062%;sort fire: object
9063%;
9064%;sort furniture: physobj
9065%;sort chair: furniture
9066%;sort table: furniture
9067%;
9068%;sort menu: physobj
9069%;sort bill: physobj
9070%;
9071%;sort script
9072%;
9073
9074% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2807
9075% fluent Holding(agent,physobj)
9076 % fluent(holding(agent,physobj)).
9077% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2808
9078==> mpred_prop(holding(agent,physobj),fluent).
9079==> meta_argtypes(holding(agent,physobj)).
9080
9081% event PickUp(agent,physobj)
9082 % event(pickUp(agent,physobj)).
9083% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2809
9084==> mpred_prop(pickUp(agent,physobj),event).
9085==> meta_argtypes(pickUp(agent,physobj)).
9086
9087% event LetGoOf(agent,physobj)
9088 % event(letGoOf(agent,physobj)).
9089% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2810
9090==> mpred_prop(letGoOf(agent,physobj),event).
9091==> meta_argtypes(letGoOf(agent,physobj)).
9092
9093
9098axiom(initiates(pickUp(Agent, Physobj), holding(Agent, Physobj), Time),
9099 []).
9100
9101
9109
9110 9114
9115 9122axiom(not(some(Location6, '$kolem_Fn_311'(Fn_311_Param, At_Param, Maptime))),
9123
9124 [ not(holds_at(at(Fn_311_Param, Location6), Maptime)),
9125 happens(pickUp(Fn_311_Param, At_Param), Maptime)
9126 ]).
9127axiom(not(some(Location6, '$kolem_Fn_311'(Fn_311_Param, At_Param, Maptime))),
9128
9129 [ not(holds_at(at(At_Param, Location6), Maptime)),
9130 happens(pickUp(Fn_311_Param, At_Param), Maptime)
9131 ]).
9132
9133 9140axiom(not(happens(pickUp(PickUp_Param, At_Param12), Maptime9)),
9141
9142 [ not(holds_at(at(PickUp_Param, Location10), Maptime9)),
9143 some(Location10,
9144 '$kolem_Fn_311'(PickUp_Param, At_Param12, Maptime9))
9145 ]).
9146axiom(not(happens(pickUp(PickUp_Param, At_Param12), Maptime9)),
9147
9148 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
9149 some(Location10,
9150 '$kolem_Fn_311'(PickUp_Param, At_Param12, Maptime9))
9151 ]).
9152
9153 9158axiom(holds_at(at(At_Param15, Location13), Time14),
9159
9160 [ happens(pickUp(At_Param15, PickUp_Ret), Time14),
9161 some(Location13,
9162 '$kolem_Fn_311'(At_Param15, PickUp_Ret, Time14))
9163 ]).
9164
9165 9170axiom(holds_at(at(At_Param19, Location17), Time18),
9171
9172 [ happens(pickUp(PickUp_Param20, At_Param19), Time18),
9173 some(Location17,
9174 '$kolem_Fn_311'(PickUp_Param20, At_Param19, Time18))
9175 ]).
9176
9177
9182axiom(terminates(letGoOf(Agent, Physobj), holding(Agent, Physobj), Time),
9183 []).
9184
9185
9191axiom(requires(letGoOf(Agent, Physobj), Time),
9192 [holds_at(holding(Agent, Physobj), Time)]).
9193
9194
9199axiom(releases(pickUp(Agent, Physobj), at(Physobj, Location), Time),
9200 []).
9201
9202
9209axiom(holds_at(at(Physobj, Location), Time),
9210
9211 [ holds_at(holding(Agent, Physobj), Time),
9212 holds_at(at(Agent, Location), Time)
9213 ]).
9214
9215
9226axiom(initiates(letGoOf(Agent, Physobj), at(Physobj, Location), Time),
9227 [holds_at(at(Agent, Location), Time)]).
9228
9229% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2844
9230% fluent On(physobj,physobj)
9231 % fluent(on(physobj,physobj)).
9232% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2845
9233==> mpred_prop(on(physobj,physobj),fluent).
9234==> meta_argtypes(on(physobj,physobj)).
9235
9236% event PlaceOn(agent,physobj,physobj)
9237 % event(placeOn(agent,physobj,physobj)).
9238% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2847
9239==> mpred_prop(placeOn(agent,physobj,physobj),event).
9240==> meta_argtypes(placeOn(agent,physobj,physobj)).
9241
9242% event TakeOffOf(agent,physobj,physobj)
9243 % event(takeOffOf(agent,physobj,physobj)).
9244% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2849
9245==> mpred_prop(takeOffOf(agent,physobj,physobj),event).
9246==> meta_argtypes(takeOffOf(agent,physobj,physobj)).
9247
9248
9254axiom(Physobj1\=Physobj2,
9255 [holds_at(on(Physobj1, Physobj2), Time)]).
9256
9257
9263axiom(not(holds_at(on(Physobj2, Physobj1), Time)),
9264 [holds_at(on(Physobj1, Physobj2), Time)]).
9265
9266
9272axiom(initiates(placeOn(Agent, Physobj1, Physobj2), on(Physobj1, Physobj2), Time),
9273 []).
9274
9275
9281axiom(terminates(placeOn(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
9282 []).
9283
9284
9293
9294 9299
9300 9310axiom(not(some(Location7, '$kolem_Fn_312'(Fn_312_Param, Holding_Ret, At_Param, Maptime))),
9311
9312 [ not(holds_at(holding(Fn_312_Param, Holding_Ret),
9313 Maptime)),
9314 happens(placeOn(Fn_312_Param, Holding_Ret, At_Param),
9315 Maptime)
9316 ]).
9317axiom(not(some(Location7, '$kolem_Fn_312'(Fn_312_Param, Holding_Ret, At_Param, Maptime))),
9318
9319 [ not(holds_at(at(Fn_312_Param, Location7), Maptime)),
9320 happens(placeOn(Fn_312_Param, Holding_Ret, At_Param),
9321 Maptime)
9322 ]).
9323axiom(not(some(Location7, '$kolem_Fn_312'(Fn_312_Param, Holding_Ret, At_Param, Maptime))),
9324
9325 [ not(holds_at(at(At_Param, Location7), Maptime)),
9326 happens(placeOn(Fn_312_Param, Holding_Ret, At_Param),
9327 Maptime)
9328 ]).
9329
9330 9342axiom(not(happens(placeOn(PlaceOn_Param, Holding_Ret15, At_Param14), Maptime11)),
9343
9344 [ not(holds_at(holding(PlaceOn_Param, Holding_Ret15),
9345 Maptime11)),
9346 some(Location12,
9347 '$kolem_Fn_312'(PlaceOn_Param,
9348 Holding_Ret15,
9349 At_Param14,
9350 Maptime11))
9351 ]).
9352axiom(not(happens(placeOn(PlaceOn_Param, Holding_Ret15, At_Param14), Maptime11)),
9353
9354 [ not(holds_at(at(PlaceOn_Param, Location12), Maptime11)),
9355 some(Location12,
9356 '$kolem_Fn_312'(PlaceOn_Param,
9357 Holding_Ret15,
9358 At_Param14,
9359 Maptime11))
9360 ]).
9361axiom(not(happens(placeOn(PlaceOn_Param, Holding_Ret15, At_Param14), Maptime11)),
9362
9363 [ not(holds_at(at(At_Param14, Location12), Maptime11)),
9364 some(Location12,
9365 '$kolem_Fn_312'(PlaceOn_Param,
9366 Holding_Ret15,
9367 At_Param14,
9368 Maptime11))
9369 ]).
9370
9371 9380axiom(holds_at(holding(Holding_Param, Holding_Ret19), Time16),
9381
9382 [ happens(placeOn(Holding_Param,
9383 Holding_Ret19,
9384 PlaceOn_Ret),
9385 Time16),
9386 some(Some_Param,
9387 '$kolem_Fn_312'(Holding_Param,
9388 Holding_Ret19,
9389 PlaceOn_Ret,
9390 Time16))
9391 ]).
9392
9393 9402axiom(holds_at(at(At_Param23, Location21), Time22),
9403
9404 [ happens(placeOn(At_Param23, A, PlaceOn_Ret24),
9405 Time22),
9406 some(Location21,
9407 '$kolem_Fn_312'(At_Param23,
9408 A,
9409 PlaceOn_Ret24,
9410 Time22))
9411 ]).
9412
9413 9422axiom(holds_at(at(At_Param27, Location25), Time26),
9423
9424 [ happens(placeOn(PlaceOn_Param28, A, At_Param27),
9425 Time26),
9426 some(Location25,
9427 '$kolem_Fn_312'(PlaceOn_Param28,
9428 A,
9429 At_Param27,
9430 Time26))
9431 ]).
9432
9433
9439axiom(terminates(takeOffOf(Agent, Physobj1, Physobj2), on(Physobj1, Physobj2), Time),
9440 []).
9441
9442
9448axiom(initiates(takeOffOf(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
9449 []).
9450
9451
9458axiom(releases(takeOffOf(Agent, Physobj1, Physobj2), at(Physobj1, Location), Time),
9459 []).
9460
9461
9471
9472 9477
9478 9488axiom(not(some(Location7, '$kolem_Fn_313'(Fn_313_Param, On_Param, At_Param, Maptime))),
9489
9490 [ not(holds_at(on(On_Param, At_Param), Maptime)),
9491 happens(takeOffOf(Fn_313_Param, On_Param, At_Param),
9492 Maptime)
9493 ]).
9494axiom(not(some(Location7, '$kolem_Fn_313'(Fn_313_Param, On_Param, At_Param, Maptime))),
9495
9496 [ not(holds_at(at(Fn_313_Param, Location7), Maptime)),
9497 happens(takeOffOf(Fn_313_Param, On_Param, At_Param),
9498 Maptime)
9499 ]).
9500axiom(not(some(Location7, '$kolem_Fn_313'(Fn_313_Param, On_Param, At_Param, Maptime))),
9501
9502 [ not(holds_at(at(On_Param, Location7), Maptime)),
9503 happens(takeOffOf(Fn_313_Param, On_Param, At_Param),
9504 Maptime)
9505 ]).
9506axiom(not(some(Location7, '$kolem_Fn_313'(Fn_313_Param, On_Param, At_Param, Maptime))),
9507
9508 [ not(holds_at(at(At_Param, Location7), Maptime)),
9509 happens(takeOffOf(Fn_313_Param, On_Param, At_Param),
9510 Maptime)
9511 ]).
9512
9513 9526axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
9527
9528 [ not(holds_at(on(On_Param14, At_Param15), Maptime11)),
9529 some(Location12,
9530 '$kolem_Fn_313'(TakeOffOf_Param,
9531 On_Param14,
9532 At_Param15,
9533 Maptime11))
9534 ]).
9535axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
9536
9537 [ not(holds_at(at(TakeOffOf_Param, Location12), Maptime11)),
9538 some(Location12,
9539 '$kolem_Fn_313'(TakeOffOf_Param,
9540 On_Param14,
9541 At_Param15,
9542 Maptime11))
9543 ]).
9544axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
9545
9546 [ not(holds_at(at(On_Param14, Location12), Maptime11)),
9547 some(Location12,
9548 '$kolem_Fn_313'(TakeOffOf_Param,
9549 On_Param14,
9550 At_Param15,
9551 Maptime11))
9552 ]).
9553axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
9554
9555 [ not(holds_at(at(At_Param15, Location12), Maptime11)),
9556 some(Location12,
9557 '$kolem_Fn_313'(TakeOffOf_Param,
9558 On_Param14,
9559 At_Param15,
9560 Maptime11))
9561 ]).
9562
9563 9572axiom(holds_at(on(On_Param17, On_Ret), Time16),
9573
9574 [ happens(takeOffOf(TakeOffOf_Param18, On_Param17, On_Ret),
9575 Time16),
9576 some(Some_Param,
9577 '$kolem_Fn_313'(TakeOffOf_Param18,
9578 On_Param17,
9579 On_Ret,
9580 Time16))
9581 ]).
9582
9583 9592axiom(holds_at(at(At_Param23, Location21), Time22),
9593
9594 [ happens(takeOffOf(At_Param23, A, TakeOffOf_Ret),
9595 Time22),
9596 some(Location21,
9597 '$kolem_Fn_313'(At_Param23,
9598 A,
9599 TakeOffOf_Ret,
9600 Time22))
9601 ]).
9602
9603 9614axiom(holds_at(at(At_Param27, Location25), Time26),
9615
9616 [ happens(takeOffOf(TakeOffOf_Param28,
9617 At_Param27,
9618 TakeOffOf_Ret29),
9619 Time26),
9620 some(Location25,
9621 '$kolem_Fn_313'(TakeOffOf_Param28,
9622 At_Param27,
9623 TakeOffOf_Ret29,
9624 Time26))
9625 ]).
9626
9627 9636axiom(holds_at(at(At_Param32, Location30), Time31),
9637
9638 [ happens(takeOffOf(TakeOffOf_Param33, A, At_Param32),
9639 Time31),
9640 some(Location30,
9641 '$kolem_Fn_313'(TakeOffOf_Param33,
9642 A,
9643 At_Param32,
9644 Time31))
9645 ]).
9646
9647
9654axiom(releases(placeOn(Agent, Physobj1, Physobj2), at(Physobj1, Location), Time),
9655 []).
9656
9657
9664axiom(holds_at(at(Physobj1, Location), Time),
9665
9666 [ holds_at(on(Physobj1, Physobj2), Time),
9667 holds_at(at(Physobj2, Location), Time)
9668 ]).
9669
9670% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2904
9671% fluent At(object,location)
9672 % fluent(at(object,location)).
9673% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2905
9674==> mpred_prop(at(object,location),fluent).
9675==> meta_argtypes(at(object,location)).
9676
9677
9682
9683 9686
9687 9690axiom(holds_at(at(At_Param, Location4), Time5),
9691 [some(Location4, '$kolem_Fn_314'(At_Param, Time5))]).
9692
9693 9696axiom(not(some(Location7, '$kolem_Fn_314'(Fn_314_Param, Time8))),
9697 [not(holds_at(at(Fn_314_Param, Location7), Time8))]).
9698
9699
9706axiom(Location1=Location2,
9707
9708 [ holds_at(at(Object, Location1), Time),
9709 holds_at(at(Object, Location2), Time)
9710 ]).
9711
9712% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2914
9713% function Side1(portal): location
9714 % functional_predicate(side1(portal,location)).
9715% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2915
9716==> mpred_prop(side1(portal,location),functional_predicate).
9717==> meta_argtypes(side1(portal,location)).
9718resultIsa(side1,location).
9719
9720% function Side2(portal): location
9721 % functional_predicate(side2(portal,location)).
9722% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2916
9723==> mpred_prop(side2(portal,location),functional_predicate).
9724==> meta_argtypes(side2(portal,location)).
9725resultIsa(side2,location).
9726
9727% fluent NearPortal(object,portal)
9728 % fluent(nearPortal(object,portal)).
9729% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2918
9730==> mpred_prop(nearPortal(object,portal),fluent).
9731==> meta_argtypes(nearPortal(object,portal)).
9732
9733% noninertial NearPortal
9734% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2919
9735==> noninertial(nearPortal).
9736
9737
9746
9747 9751
9752 9768axiom(not(some(Location6, '$kolem_Fn_315'(Fn_315_Param, NearPortal_Ret, Time5))),
9769
9770 [ not(equals(side1(NearPortal_Ret), Location6)),
9771 not(equals(side2(NearPortal_Ret), Location6)),
9772 holds_at(nearPortal(Fn_315_Param, NearPortal_Ret),
9773 Time5)
9774 ]).
9775axiom(not(some(Location6, '$kolem_Fn_315'(Fn_315_Param, NearPortal_Ret, Time5))),
9776
9777 [ not(holds_at(at(Fn_315_Param, Location6), Time5)),
9778 holds_at(nearPortal(Fn_315_Param, NearPortal_Ret),
9779 Time5)
9780 ]).
9781axiom(not(some(Location6, '$kolem_Fn_315'(Fn_315_Param, NearPortal_Ret, Time5))),
9782
9783 [ equals(side1(NearPortal_Ret), Location6),
9784 not(holds_at(nearPortal(Fn_315_Param, NearPortal_Ret),
9785 Time5)),
9786 holds_at(at(Fn_315_Param, Location6), Time5)
9787 ]).
9788axiom(not(some(Location6, '$kolem_Fn_315'(Fn_315_Param, NearPortal_Ret, Time5))),
9789
9790 [ equals(side2(NearPortal_Ret), Location6),
9791 not(holds_at(nearPortal(Fn_315_Param, NearPortal_Ret),
9792 Time5)),
9793 holds_at(at(Fn_315_Param, Location6), Time5)
9794 ]).
9795
9796 9806axiom(not(holds_at(nearPortal(NearPortal_Param, NearPortal_Ret12), Time9)),
9807
9808 [ not(equals(side1(NearPortal_Ret12), Location10)),
9809 not(equals(side2(NearPortal_Ret12), Location10)),
9810 some(Location10,
9811 '$kolem_Fn_315'(NearPortal_Param,
9812 NearPortal_Ret12,
9813 Time9))
9814 ]).
9815axiom(not(holds_at(nearPortal(NearPortal_Param, NearPortal_Ret12), Time9)),
9816
9817 [ not(holds_at(at(NearPortal_Param, Location10), Time9)),
9818 some(Location10,
9819 '$kolem_Fn_315'(NearPortal_Param,
9820 NearPortal_Ret12,
9821 Time9))
9822 ]).
9823
9824 9831axiom(equals(side1(Side1_Ret), Some_Param),
9832
9833 [ not(equals(side2(Side1_Ret), Some_Param)),
9834 holds_at(nearPortal(NearPortal_Param14, Side1_Ret),
9835 Time13),
9836 some(Some_Param,
9837 '$kolem_Fn_315'(NearPortal_Param14,
9838 Side1_Ret,
9839 Time13))
9840 ]).
9841
9842 9849axiom(equals(side2(Side2_Ret), Some_Param19),
9850
9851 [ not(equals(side1(Side2_Ret), Some_Param19)),
9852 holds_at(nearPortal(NearPortal_Param18, Side2_Ret),
9853 Time17),
9854 some(Some_Param19,
9855 '$kolem_Fn_315'(NearPortal_Param18,
9856 Side2_Ret,
9857 Time17))
9858 ]).
9859
9860 9865axiom(holds_at(at(At_Param, Location21), Time22),
9866
9867 [ holds_at(nearPortal(At_Param, NearPortal_Ret24), Time22),
9868 some(Location21,
9869 '$kolem_Fn_315'(At_Param, NearPortal_Ret24, Time22))
9870 ]).
9871
9872 9883axiom(holds_at(nearPortal(NearPortal_Param27, NearPortal_Ret28), Time25),
9884
9885 [ equals(side1(NearPortal_Ret28), Location26),
9886 holds_at(at(NearPortal_Param27, Location26), Time25),
9887 some(Location26,
9888 '$kolem_Fn_315'(NearPortal_Param27,
9889 NearPortal_Ret28,
9890 Time25))
9891 ]).
9892axiom(holds_at(nearPortal(NearPortal_Param27, NearPortal_Ret28), Time25),
9893
9894 [ equals(side2(NearPortal_Ret28), Location26),
9895 holds_at(at(NearPortal_Param27, Location26), Time25),
9896 some(Location26,
9897 '$kolem_Fn_315'(NearPortal_Param27,
9898 NearPortal_Ret28,
9899 Time25))
9900 ]).
9901
9902 9910axiom(not(holds_at(at(At_Param31, Location29), Time30)),
9911
9912 [ equals(side1(Side1_Ret32), Location29),
9913 not(holds_at(nearPortal(At_Param31, Side1_Ret32),
9914 Time30)),
9915 some(Location29,
9916 '$kolem_Fn_315'(At_Param31, Side1_Ret32, Time30))
9917 ]).
9918axiom(not(holds_at(at(At_Param31, Location29), Time30)),
9919
9920 [ equals(side2(Side1_Ret32), Location29),
9921 not(holds_at(nearPortal(At_Param31, Side1_Ret32),
9922 Time30)),
9923 some(Location29,
9924 '$kolem_Fn_315'(At_Param31, Side1_Ret32, Time30))
9925 ]).
9926
9927 9933axiom(not(equals(side1(Side1_Ret36), Location33)),
9934
9935 [ holds_at(at(At_Param35, Location33), Time34),
9936 not(holds_at(nearPortal(At_Param35, Side1_Ret36),
9937 Time34)),
9938 some(Location33,
9939 '$kolem_Fn_315'(At_Param35, Side1_Ret36, Time34))
9940 ]).
9941
9942 9948axiom(not(equals(side2(Side2_Ret40), Location37)),
9949
9950 [ holds_at(at(At_Param39, Location37), Time38),
9951 not(holds_at(nearPortal(At_Param39, Side2_Ret40),
9952 Time38)),
9953 some(Location37,
9954 '$kolem_Fn_315'(At_Param39, Side2_Ret40, Time38))
9955 ]).
9956
9957% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2927
9958% event WalkThroughDoor12(agent,door)
9959 % event(walkThroughDoor12(agent,door)).
9960% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2928
9961==> mpred_prop(walkThroughDoor12(agent,door),event).
9962==> meta_argtypes(walkThroughDoor12(agent,door)).
9963
9964% event WalkThroughDoor21(agent,door)
9965 % event(walkThroughDoor21(agent,door)).
9966% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2929
9967==> mpred_prop(walkThroughDoor21(agent,door),event).
9968==> meta_argtypes(walkThroughDoor21(agent,door)).
9969
9970
9977axiom(requires(walkThroughDoor12(Agent, Door), Time),
9978
9979 [ holds_at(standing(Agent), Time),
9980 holds_at(at(Agent, side1(Door)), Time)
9981 ]).
9982
9983
9990axiom(requires(walkThroughDoor21(Agent, Door), Time),
9991
9992 [ holds_at(standing(Agent), Time),
9993 holds_at(at(Agent, side2(Door)), Time)
9994 ]).
9995
9996
10002axiom(initiates(walkThroughDoor12(Agent, Door), at(Agent, Location), Time),
10003 [equals(side2(Door), Location)]).
10004
10005
10011axiom(initiates(walkThroughDoor21(Agent, Door), at(Agent, Location), Time),
10012 [equals(side1(Door), Location)]).
10013
10014
10020axiom(terminates(walkThroughDoor12(Agent, Door), at(Agent, Location), Time),
10021 [equals(side1(Door), Location)]).
10022
10023
10029axiom(terminates(walkThroughDoor21(Agent, Door), at(Agent, Location), Time),
10030 [equals(side2(Door), Location)]).
10031
10032% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2956
10033% fluent Hungry(agent)
10034 % fluent(hungry(agent)).
10035% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2957
10036==> mpred_prop(hungry(agent),fluent).
10037==> meta_argtypes(hungry(agent)).
10038
10039% fluent Satiated(agent)
10040 % fluent(satiated(agent)).
10041% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2959
10042==> mpred_prop(satiated(agent),fluent).
10043==> meta_argtypes(satiated(agent)).
10044
10045% noninertial Satiated
10046% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2960
10047==> noninertial(satiated).
10048
10049
10052 10053
10054 10057axiom(holds_at(hungry(Agent), Time),
10058 [not(holds_at(satiated(Agent), Time))]).
10059axiom(not(holds_at(satiated(Agent), Time)),
10060 [holds_at(hungry(Agent), Time)]).
10061
10062% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2963
10063% event Eat(agent,food)
10064 % event(eat(agent,food)).
10065% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2964
10066==> mpred_prop(eat(agent,food),event).
10067==> meta_argtypes(eat(agent,food)).
10068
10069
10077
10078 10082
10083 10090axiom(not(some(Location6, '$kolem_Fn_316'(Fn_316_Param, At_Param, Maptime))),
10091
10092 [ not(holds_at(at(Fn_316_Param, Location6), Maptime)),
10093 happens(eat(Fn_316_Param, At_Param), Maptime)
10094 ]).
10095axiom(not(some(Location6, '$kolem_Fn_316'(Fn_316_Param, At_Param, Maptime))),
10096
10097 [ not(holds_at(at(At_Param, Location6), Maptime)),
10098 happens(eat(Fn_316_Param, At_Param), Maptime)
10099 ]).
10100
10101 10108axiom(not(happens(eat(Eat_Param, At_Param12), Maptime9)),
10109
10110 [ not(holds_at(at(Eat_Param, Location10), Maptime9)),
10111 some(Location10,
10112 '$kolem_Fn_316'(Eat_Param, At_Param12, Maptime9))
10113 ]).
10114axiom(not(happens(eat(Eat_Param, At_Param12), Maptime9)),
10115
10116 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
10117 some(Location10,
10118 '$kolem_Fn_316'(Eat_Param, At_Param12, Maptime9))
10119 ]).
10120
10121 10126axiom(holds_at(at(At_Param15, Location13), Time14),
10127
10128 [ happens(eat(At_Param15, Eat_Ret), Time14),
10129 some(Location13,
10130 '$kolem_Fn_316'(At_Param15, Eat_Ret, Time14))
10131 ]).
10132
10133 10138axiom(holds_at(at(At_Param19, Location17), Time18),
10139
10140 [ happens(eat(Eat_Param20, At_Param19), Time18),
10141 some(Location17,
10142 '$kolem_Fn_316'(Eat_Param20, At_Param19, Time18))
10143 ]).
10144
10145
10150axiom(terminates(eat(Agent, Food), hungry(Agent), Time),
10151 []).
10152
10153% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2974
10154% sort restaurant: script
10155% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2975
10156==> subsort(restaurant,script).
10157
10158% sort waiter: agent
10159% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2976
10160==> subsort(waiter,agent).
10161
10162% sort cook: agent
10163% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2977
10164==> subsort(cook,agent).
10165
10166% function BillOf(restaurant): bill
10167 % functional_predicate(billOf(restaurant,bill)).
10168% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2979
10169==> mpred_prop(billOf(restaurant,bill),functional_predicate).
10170==> meta_argtypes(billOf(restaurant,bill)).
10171resultIsa(billOf,bill).
10172
10173% function CookOf(restaurant): cook
10174 % functional_predicate(cookOf(restaurant,cook)).
10175% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2980
10176==> mpred_prop(cookOf(restaurant,cook),functional_predicate).
10177==> meta_argtypes(cookOf(restaurant,cook)).
10178resultIsa(cookOf,cook).
10179
10180% function TableOf(restaurant): table
10181 % functional_predicate(tableOf(restaurant,table)).
10182% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2981
10183==> mpred_prop(tableOf(restaurant,table),functional_predicate).
10184==> meta_argtypes(tableOf(restaurant,table)).
10185resultIsa(tableOf,table).
10186
10187% function WaiterOf(restaurant): waiter
10188 % functional_predicate(waiterOf(restaurant,waiter)).
10189% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2982
10190==> mpred_prop(waiterOf(restaurant,waiter),functional_predicate).
10191==> meta_argtypes(waiterOf(restaurant,waiter)).
10192resultIsa(waiterOf,waiter).
10193
10194% function KitchenDoorOf(restaurant): door
10195 % functional_predicate(kitchenDoorOf(restaurant,door)).
10196% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2983
10197==> mpred_prop(kitchenDoorOf(restaurant,door),functional_predicate).
10198==> meta_argtypes(kitchenDoorOf(restaurant,door)).
10199resultIsa(kitchenDoorOf,door).
10200
10201% fluent BeWaiter0(waiter)
10202 % fluent(beWaiter0(waiter)).
10203% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2985
10204==> mpred_prop(beWaiter0(waiter),fluent).
10205==> meta_argtypes(beWaiter0(waiter)).
10206
10207% fluent BeWaiter1(waiter)
10208 % fluent(beWaiter1(waiter)).
10209% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2987
10210==> mpred_prop(beWaiter1(waiter),fluent).
10211==> meta_argtypes(beWaiter1(waiter)).
10212
10213% fluent BeWaiter2(waiter)
10214 % fluent(beWaiter2(waiter)).
10215% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2989
10216==> mpred_prop(beWaiter2(waiter),fluent).
10217==> meta_argtypes(beWaiter2(waiter)).
10218
10219% fluent BeWaiter3(waiter)
10220 % fluent(beWaiter3(waiter)).
10221% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2991
10222==> mpred_prop(beWaiter3(waiter),fluent).
10223==> meta_argtypes(beWaiter3(waiter)).
10224
10225% fluent BeWaiter4(waiter)
10226 % fluent(beWaiter4(waiter)).
10227% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2993
10228==> mpred_prop(beWaiter4(waiter),fluent).
10229==> meta_argtypes(beWaiter4(waiter)).
10230
10231% fluent BeWaiter5(waiter)
10232 % fluent(beWaiter5(waiter)).
10233% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2995
10234==> mpred_prop(beWaiter5(waiter),fluent).
10235==> meta_argtypes(beWaiter5(waiter)).
10236
10237% fluent BeWaiter6(waiter)
10238 % fluent(beWaiter6(waiter)).
10239% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2997
10240==> mpred_prop(beWaiter6(waiter),fluent).
10241==> meta_argtypes(beWaiter6(waiter)).
10242
10243% fluent BeWaiter7(waiter)
10244 % fluent(beWaiter7(waiter)).
10245% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:2999
10246==> mpred_prop(beWaiter7(waiter),fluent).
10247==> meta_argtypes(beWaiter7(waiter)).
10248
10249% fluent BeWaiter8(waiter)
10250 % fluent(beWaiter8(waiter)).
10251% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3001
10252==> mpred_prop(beWaiter8(waiter),fluent).
10253==> meta_argtypes(beWaiter8(waiter)).
10254
10255% fluent BeWaiter9(waiter)
10256 % fluent(beWaiter9(waiter)).
10257% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3003
10258==> mpred_prop(beWaiter9(waiter),fluent).
10259==> meta_argtypes(beWaiter9(waiter)).
10260
10263xor([ beWaiter0,
10264 beWaiter1,
10265 beWaiter2,
10266 beWaiter3,
10267 beWaiter4,
10268 beWaiter5,
10269 beWaiter6,
10270 beWaiter7,
10271 beWaiter8,
10272 beWaiter9
10273 ]).
10274
10275
10283axiom(terminates(greet(Waiter, Agent), beWaiter0(Waiter), Time),
10284 [holds_at(beWaiter0(Waiter), Time)]).
10285
10286
10294axiom(initiates(greet(Waiter, Agent), beWaiter1(Waiter), Time),
10295 [holds_at(beWaiter0(Waiter), Time)]).
10296
10297
10305axiom(terminates(order(Agent, Waiter, Food), beWaiter1(Waiter), Time),
10306 [holds_at(beWaiter1(Waiter), Time)]).
10307
10308
10316axiom(initiates(order(Agent, Waiter, Food), beWaiter2(Waiter), Time),
10317 [holds_at(beWaiter1(Waiter), Time)]).
10318
10319
10326axiom(happens(walkThroughDoor12(Waiter, kitchenDoorOf(Restaurant)), Time),
10327
10328 [ equals(waiterOf(Restaurant), Waiter),
10329 holds_at(beWaiter2(Waiter), Time)
10330 ]).
10331
10332
10342axiom(terminates(walkThroughDoor12(Waiter, Door), beWaiter2(Waiter), Time),
10343
10344 [ holds_at(beWaiter2(Waiter), Time),
10345 equals(waiterOf(Restaurant), Waiter),
10346 equals(kitchenDoorOf(Restaurant), Door)
10347 ]).
10348
10349
10359axiom(initiates(walkThroughDoor12(Waiter, Door), beWaiter3(Waiter), Time),
10360
10361 [ holds_at(beWaiter2(Waiter), Time),
10362 equals(waiterOf(Restaurant), Waiter),
10363 equals(kitchenDoorOf(Restaurant), Door)
10364 ]).
10365
10366
10373axiom(happens(order(waiterOf(Restaurant), cookOf(Restaurant), Food), Time),
10374
10375 [ holds_at(beWaiter3(waiterOf(Restaurant)), Time),
10376 holds_at(knowOrder(waiterOf(Restaurant), Agent, Food),
10377 Time)
10378 ]).
10379
10380
10390axiom(terminates(order(Waiter, Cook, Food), beWaiter3(Waiter), Time),
10391
10392 [ equals(waiterOf(Restaurant), Waiter),
10393 equals(cookOf(Restaurant), Cook),
10394 holds_at(beWaiter3(Waiter), Time)
10395 ]).
10396
10397
10407axiom(initiates(order(Waiter, Cook, Food), beWaiter4(Waiter), Time),
10408
10409 [ equals(waiterOf(Restaurant), Waiter),
10410 equals(cookOf(Restaurant), Cook),
10411 holds_at(beWaiter3(Waiter), Time)
10412 ]).
10413
10414
10422axiom(happens(pickUp(Waiter, Food), Time),
10423
10424 [ holds_at(beWaiter4(Waiter), Time),
10425 holds_at(knowOrder(Waiter, Agent, Food), Time),
10426 holds_at(foodPrepared(Food), Time)
10427 ]).
10428
10429
10438axiom(terminates(pickUp(Waiter, Food), beWaiter4(Waiter), Time),
10439
10440 [ holds_at(beWaiter4(Waiter), Time),
10441 holds_at(knowOrder(Waiter, Agent, Food), Time)
10442 ]).
10443
10444
10453axiom(initiates(pickUp(Waiter, Food), beWaiter5(Waiter), Time),
10454
10455 [ holds_at(beWaiter4(Waiter), Time),
10456 holds_at(knowOrder(Waiter, Agent, Food), Time)
10457 ]).
10458
10459
10466axiom(happens(walkThroughDoor21(Waiter, kitchenDoorOf(Restaurant)), Time),
10467
10468 [ equals(waiterOf(Restaurant), Waiter),
10469 holds_at(beWaiter5(Waiter), Time)
10470 ]).
10471
10472
10482axiom(terminates(walkThroughDoor21(Waiter, Door), beWaiter5(Waiter), Time),
10483
10484 [ holds_at(beWaiter5(Waiter), Time),
10485 equals(waiterOf(Restaurant), Waiter),
10486 equals(kitchenDoorOf(Restaurant), Door)
10487 ]).
10488
10489
10499axiom(initiates(walkThroughDoor21(Waiter, Door), beWaiter6(Waiter), Time),
10500
10501 [ holds_at(beWaiter5(Waiter), Time),
10502 equals(waiterOf(Restaurant), Waiter),
10503 equals(kitchenDoorOf(Restaurant), Door)
10504 ]).
10505
10506
10515axiom(happens(placeOn(Waiter, Food, Table), Time),
10516
10517 [ equals(waiterOf(Restaurant), Waiter),
10518 equals(tableOf(Restaurant), Table),
10519 holds_at(beWaiter6(Waiter), Time),
10520 holds_at(holding(Waiter, Food), Time)
10521 ]).
10522
10523
10531axiom(terminates(placeOn(Waiter, Food, Table), beWaiter6(Waiter), Time),
10532 [holds_at(beWaiter6(Waiter), Time)]).
10533
10534
10542axiom(initiates(placeOn(Waiter, Food, Table), beWaiter7(Waiter), Time),
10543 [holds_at(beWaiter6(Waiter), Time)]).
10544
10545
10553axiom(terminates(request(Agent, Waiter, Bill), beWaiter7(Waiter), Time),
10554 [holds_at(beWaiter7(Waiter), Time)]).
10555
10556
10564axiom(initiates(request(Agent, Waiter, Bill), beWaiter8(Waiter), Time),
10565 [holds_at(beWaiter7(Waiter), Time)]).
10566
10567
10575axiom(happens(pickUp(Waiter, Bill), Time),
10576
10577 [ equals(waiterOf(Restaurant), Waiter),
10578 equals(billOf(Restaurant), Bill),
10579 holds_at(beWaiter8(Waiter), Time)
10580 ]).
10581
10582
10590axiom(terminates(pickUp(Waiter, Bill), beWaiter8(Waiter), Time),
10591 [holds_at(beWaiter8(Waiter), Time)]).
10592
10593
10601axiom(initiates(pickUp(Waiter, Bill), beWaiter9(Waiter), Time),
10602 [holds_at(beWaiter8(Waiter), Time)]).
10603
10604
10613axiom(happens(placeOn(Waiter, Bill, Table), Time),
10614
10615 [ equals(waiterOf(Restaurant), Waiter),
10616 equals(billOf(Restaurant), Bill),
10617 equals(tableOf(Restaurant), Table),
10618 holds_at(beWaiter9(Waiter), Time)
10619 ]).
10620
10621
10629axiom(terminates(placeOn(Waiter, Bill, Table), beWaiter9(Waiter), Time),
10630 [holds_at(beWaiter9(Waiter), Time)]).
10631
10632
10640axiom(initiates(placeOn(Waiter, Bill, Table), beWaiter0(Waiter), Time),
10641 [holds_at(beWaiter9(Waiter), Time)]).
10642
10643% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3181
10644% fluent BeCook0(cook)
10645 % fluent(beCook0(cook)).
10646% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3182
10647==> mpred_prop(beCook0(cook),fluent).
10648==> meta_argtypes(beCook0(cook)).
10649
10650% fluent BeCook1(cook)
10651 % fluent(beCook1(cook)).
10652% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3184
10653==> mpred_prop(beCook1(cook),fluent).
10654==> meta_argtypes(beCook1(cook)).
10655
10658xor([beCook0,beCook1]).
10659
10660
10668axiom(terminates(order(Agent, Cook, Food), beCook0(Cook), Time),
10669 [holds_at(beCook0(Cook), Time)]).
10670
10671
10679axiom(initiates(order(Agent, Cook, Food), beCook1(Cook), Time),
10680 [holds_at(beCook0(Cook), Time)]).
10681
10682% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3199
10683% event FoodPrepare(agent,food)
10684 % event(foodPrepare(agent,food)).
10685% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3200
10686==> mpred_prop(foodPrepare(agent,food),event).
10687==> meta_argtypes(foodPrepare(agent,food)).
10688
10689% fluent FoodPrepared(food)
10690 % fluent(foodPrepared(food)).
10691% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3202
10692==> mpred_prop(foodPrepared(food),fluent).
10693==> meta_argtypes(foodPrepared(food)).
10694
10695
10702axiom(initiates(foodPrepare(Agent, Food), foodPrepared(Food), Time),
10703 []).
10704
10705
10713
10714 10718
10719 10726axiom(not(some(Location6, '$kolem_Fn_321'(Fn_321_Param, At_Param, Maptime))),
10727
10728 [ not(holds_at(at(Fn_321_Param, Location6), Maptime)),
10729 happens(foodPrepare(Fn_321_Param, At_Param), Maptime)
10730 ]).
10731axiom(not(some(Location6, '$kolem_Fn_321'(Fn_321_Param, At_Param, Maptime))),
10732
10733 [ not(holds_at(at(At_Param, Location6), Maptime)),
10734 happens(foodPrepare(Fn_321_Param, At_Param), Maptime)
10735 ]).
10736
10737 10747axiom(not(happens(foodPrepare(FoodPrepare_Param, At_Param12), Maptime9)),
10748
10749 [ not(holds_at(at(FoodPrepare_Param, Location10),
10750 Maptime9)),
10751 some(Location10,
10752 '$kolem_Fn_321'(FoodPrepare_Param,
10753 At_Param12,
10754 Maptime9))
10755 ]).
10756axiom(not(happens(foodPrepare(FoodPrepare_Param, At_Param12), Maptime9)),
10757
10758 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
10759 some(Location10,
10760 '$kolem_Fn_321'(FoodPrepare_Param,
10761 At_Param12,
10762 Maptime9))
10763 ]).
10764
10765 10770axiom(holds_at(at(At_Param15, Location13), Time14),
10771
10772 [ happens(foodPrepare(At_Param15, FoodPrepare_Ret),
10773 Time14),
10774 some(Location13,
10775 '$kolem_Fn_321'(At_Param15, FoodPrepare_Ret, Time14))
10776 ]).
10777
10778 10786axiom(holds_at(at(At_Param19, Location17), Time18),
10787
10788 [ happens(foodPrepare(FoodPrepare_Param20, At_Param19),
10789 Time18),
10790 some(Location17,
10791 '$kolem_Fn_321'(FoodPrepare_Param20,
10792 At_Param19,
10793 Time18))
10794 ]).
10795
10796
10803axiom(happens(foodPrepare(Cook, Food), Time),
10804
10805 [ holds_at(beCook1(Cook), Time),
10806 holds_at(knowOrder(Cook, Agent, Food), Time)
10807 ]).
10808
10809
10817axiom(terminates(foodPrepare(Cook, Food), beCook1(Cook), Time),
10818 [holds_at(beCook1(Cook), Time)]).
10819
10820
10828axiom(initiates(foodPrepare(Cook, Food), beCook0(Cook), Time),
10829 [holds_at(beCook1(Cook), Time)]).
10830
10831% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3231
10832% event Pay(agent,agent)
10833 % event(pay(agent,agent)).
10834% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3232
10835==> mpred_prop(pay(agent,agent),event).
10836==> meta_argtypes(pay(agent,agent)).
10837
10838% event Tip(agent,agent)
10839 % event(tip(agent,agent)).
10840% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3234
10841==> mpred_prop(tip(agent,agent),event).
10842==> meta_argtypes(tip(agent,agent)).
10843
10844
10852
10853 10857
10858 10865axiom(not(some(Location, '$kolem_Fn_322'(Fn_322_Param, At_Param, Maptime))),
10866
10867 [ not(holds_at(at(Fn_322_Param, Location), Maptime)),
10868 happens(lieOn(Fn_322_Param, At_Param), Maptime)
10869 ]).
10870axiom(not(some(Location, '$kolem_Fn_322'(Fn_322_Param, At_Param, Maptime))),
10871
10872 [ not(holds_at(at(At_Param, Location), Maptime)),
10873 happens(lieOn(Fn_322_Param, At_Param), Maptime)
10874 ]).
10875
10876 10883axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
10884
10885 [ not(holds_at(at(LieOn_Param, Location10), Maptime9)),
10886 some(Location10,
10887 '$kolem_Fn_322'(LieOn_Param, At_Param12, Maptime9))
10888 ]).
10889axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
10890
10891 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
10892 some(Location10,
10893 '$kolem_Fn_322'(LieOn_Param, At_Param12, Maptime9))
10894 ]).
10895
10896 10901axiom(holds_at(at(At_Param15, Location13), Time14),
10902
10903 [ happens(lieOn(At_Param15, LieOn_Ret), Time14),
10904 some(Location13,
10905 '$kolem_Fn_322'(At_Param15, LieOn_Ret, Time14))
10906 ]).
10907
10908 10913axiom(holds_at(at(At_Param19, Location17), Time18),
10914
10915 [ happens(lieOn(LieOn_Param20, At_Param19), Time18),
10916 some(Location17,
10917 '$kolem_Fn_322'(LieOn_Param20, At_Param19, Time18))
10918 ]).
10919
10920
10928
10929 10933
10934 10941axiom(not(some(Location, '$kolem_Fn_323'(Fn_323_Param, At_Param, Maptime))),
10942
10943 [ not(holds_at(at(Fn_323_Param, Location), Maptime)),
10944 happens(sitOn(Fn_323_Param, At_Param), Maptime)
10945 ]).
10946axiom(not(some(Location, '$kolem_Fn_323'(Fn_323_Param, At_Param, Maptime))),
10947
10948 [ not(holds_at(at(At_Param, Location), Maptime)),
10949 happens(sitOn(Fn_323_Param, At_Param), Maptime)
10950 ]).
10951
10952 10959axiom(not(happens(sitOn(SitOn_Param, At_Param12), Maptime9)),
10960
10961 [ not(holds_at(at(SitOn_Param, Location10), Maptime9)),
10962 some(Location10,
10963 '$kolem_Fn_323'(SitOn_Param, At_Param12, Maptime9))
10964 ]).
10965axiom(not(happens(sitOn(SitOn_Param, At_Param12), Maptime9)),
10966
10967 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
10968 some(Location10,
10969 '$kolem_Fn_323'(SitOn_Param, At_Param12, Maptime9))
10970 ]).
10971
10972 10977axiom(holds_at(at(At_Param15, Location13), Time14),
10978
10979 [ happens(sitOn(At_Param15, SitOn_Ret), Time14),
10980 some(Location13,
10981 '$kolem_Fn_323'(At_Param15, SitOn_Ret, Time14))
10982 ]).
10983
10984 10989axiom(holds_at(at(At_Param19, Location17), Time18),
10990
10991 [ happens(sitOn(SitOn_Param20, At_Param19), Time18),
10992 some(Location17,
10993 '$kolem_Fn_323'(SitOn_Param20, At_Param19, Time18))
10994 ]).
10995
10996% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3247
10997% event LieOn(agent,physobj)
10998 % event(lieOn(agent,physobj)).
10999% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3248
11000==> mpred_prop(lieOn(agent,physobj),event).
11001==> meta_argtypes(lieOn(agent,physobj)).
11002
11003% event SitOn(agent,physobj)
11004 % event(sitOn(agent,physobj)).
11005% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3250
11006==> mpred_prop(sitOn(agent,physobj),event).
11007==> meta_argtypes(sitOn(agent,physobj)).
11008
11009% event RiseFrom(agent,physobj)
11010 % event(riseFrom(agent,physobj)).
11011% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3252
11012==> mpred_prop(riseFrom(agent,physobj),event).
11013==> meta_argtypes(riseFrom(agent,physobj)).
11014
11015% fluent LyingOn(agent,physobj)
11016 % fluent(lyingOn(agent,physobj)).
11017% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3254
11018==> mpred_prop(lyingOn(agent,physobj),fluent).
11019==> meta_argtypes(lyingOn(agent,physobj)).
11020
11021% fluent SittingOn(agent,physobj)
11022 % fluent(sittingOn(agent,physobj)).
11023% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3255
11024==> mpred_prop(sittingOn(agent,physobj),fluent).
11025==> meta_argtypes(sittingOn(agent,physobj)).
11026
11027% fluent Standing(agent)
11028 % fluent(standing(agent)).
11029% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3256
11030==> mpred_prop(standing(agent),fluent).
11031==> meta_argtypes(standing(agent)).
11032
11033% fluent Lying(agent)
11034 % fluent(lying(agent)).
11035% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3258
11036==> mpred_prop(lying(agent),fluent).
11037==> meta_argtypes(lying(agent)).
11038
11039% fluent Sitting(agent)
11040 % fluent(sitting(agent)).
11041% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3259
11042==> mpred_prop(sitting(agent),fluent).
11043==> meta_argtypes(sitting(agent)).
11044
11045% noninertial Lying
11046% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3260
11047==> noninertial(lying).
11048
11049% noninertial Sitting
11050% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3261
11051==> noninertial(sitting).
11052
11055xor([lying,sitting,standing]).
11056
11057
11063axiom(holds_at(lying(Agent), Time),
11064 [holds_at(lyingOn(Agent, Physobj), Time)]).
11065
11066
11072axiom(holds_at(sitting(Agent), Time),
11073 [holds_at(sittingOn(Agent, Physobj), Time)]).
11074
11075
11082axiom(Physobj1=Physobj2,
11083
11084 [ holds_at(lyingOn(Agent, Physobj1), Time),
11085 holds_at(lyingOn(Agent, Physobj2), Time)
11086 ]).
11087
11088
11095axiom(Physobj1=Physobj2,
11096
11097 [ holds_at(sittingOn(Agent, Physobj1), Time),
11098 holds_at(sittingOn(Agent, Physobj2), Time)
11099 ]).
11100
11101
11109axiom(initiates(lieOn(Agent, Physobj), lyingOn(Agent, Physobj), Time),
11110 [holds_at(standing(Agent), Time)]).
11111
11112
11119axiom(terminates(lieOn(Agent, Physobj), standing(Agent), Time),
11120 []).
11121
11122
11130axiom(initiates(sitOn(Agent, Physobj), sittingOn(Agent, Physobj), Time),
11131 [holds_at(standing(Agent), Time)]).
11132
11133
11140axiom(terminates(sitOn(Agent, Physobj), standing(Agent), Time),
11141 []).
11142
11143
11152axiom(initiates(riseFrom(Agent, Physobj), standing(Agent), Time),
11153 [holds_at(sittingOn(Agent, Physobj), Time)]).
11154axiom(initiates(riseFrom(Agent, Physobj), standing(Agent), Time),
11155 [holds_at(lyingOn(Agent, Physobj), Time)]).
11156
11157
11165axiom(terminates(riseFrom(Agent, Physobj), lyingOn(Agent, Physobj), Time),
11166 [holds_at(lyingOn(Agent, Physobj), Time)]).
11167
11168
11176axiom(terminates(riseFrom(Agent, Physobj), sittingOn(Agent, Physobj), Time),
11177 [holds_at(sittingOn(Agent, Physobj), Time)]).
11178
11179% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3323
11180% event Greet(agent,agent)
11181 % event(greet(agent,agent)).
11182% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3324
11183==> mpred_prop(greet(agent,agent),event).
11184==> meta_argtypes(greet(agent,agent)).
11185
11186% event SayGoodbye(agent,agent)
11187 % event(sayGoodbye(agent,agent)).
11188% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3326
11189==> mpred_prop(sayGoodbye(agent,agent),event).
11190==> meta_argtypes(sayGoodbye(agent,agent)).
11191
11192
11200
11201 11205
11206 11213axiom(not(some(Location6, '$kolem_Fn_324'(Fn_324_Param, At_Param, Maptime))),
11214
11215 [ not(holds_at(at(Fn_324_Param, Location6), Maptime)),
11216 happens(greet(Fn_324_Param, At_Param), Maptime)
11217 ]).
11218axiom(not(some(Location6, '$kolem_Fn_324'(Fn_324_Param, At_Param, Maptime))),
11219
11220 [ not(holds_at(at(At_Param, Location6), Maptime)),
11221 happens(greet(Fn_324_Param, At_Param), Maptime)
11222 ]).
11223
11224 11231axiom(not(happens(greet(Greet_Param, At_Param12), Maptime9)),
11232
11233 [ not(holds_at(at(Greet_Param, Location10), Maptime9)),
11234 some(Location10,
11235 '$kolem_Fn_324'(Greet_Param, At_Param12, Maptime9))
11236 ]).
11237axiom(not(happens(greet(Greet_Param, At_Param12), Maptime9)),
11238
11239 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
11240 some(Location10,
11241 '$kolem_Fn_324'(Greet_Param, At_Param12, Maptime9))
11242 ]).
11243
11244 11249axiom(holds_at(at(At_Param15, Location13), Time14),
11250
11251 [ happens(greet(At_Param15, Greet_Ret), Time14),
11252 some(Location13,
11253 '$kolem_Fn_324'(At_Param15, Greet_Ret, Time14))
11254 ]).
11255
11256 11261axiom(holds_at(at(At_Param19, Location17), Time18),
11262
11263 [ happens(greet(Greet_Param20, At_Param19), Time18),
11264 some(Location17,
11265 '$kolem_Fn_324'(Greet_Param20, At_Param19, Time18))
11266 ]).
11267
11268
11276
11277 11281
11282 11289axiom(not(some(Location6, '$kolem_Fn_325'(Fn_325_Param, At_Param, Maptime))),
11290
11291 [ not(holds_at(at(Fn_325_Param, Location6), Maptime)),
11292 happens(sayGoodbye(Fn_325_Param, At_Param), Maptime)
11293 ]).
11294axiom(not(some(Location6, '$kolem_Fn_325'(Fn_325_Param, At_Param, Maptime))),
11295
11296 [ not(holds_at(at(At_Param, Location6), Maptime)),
11297 happens(sayGoodbye(Fn_325_Param, At_Param), Maptime)
11298 ]).
11299
11300 11308axiom(not(happens(sayGoodbye(SayGoodbye_Param, At_Param12), Maptime9)),
11309
11310 [ not(holds_at(at(SayGoodbye_Param, Location10), Maptime9)),
11311 some(Location10,
11312 '$kolem_Fn_325'(SayGoodbye_Param,
11313 At_Param12,
11314 Maptime9))
11315 ]).
11316axiom(not(happens(sayGoodbye(SayGoodbye_Param, At_Param12), Maptime9)),
11317
11318 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
11319 some(Location10,
11320 '$kolem_Fn_325'(SayGoodbye_Param,
11321 At_Param12,
11322 Maptime9))
11323 ]).
11324
11325 11330axiom(holds_at(at(At_Param15, Location13), Time14),
11331
11332 [ happens(sayGoodbye(At_Param15, SayGoodbye_Ret), Time14),
11333 some(Location13,
11334 '$kolem_Fn_325'(At_Param15, SayGoodbye_Ret, Time14))
11335 ]).
11336
11337 11343axiom(holds_at(at(At_Param19, Location17), Time18),
11344
11345 [ happens(sayGoodbye(SayGoodbye_Param20, At_Param19),
11346 Time18),
11347 some(Location17,
11348 '$kolem_Fn_325'(SayGoodbye_Param20,
11349 At_Param19,
11350 Time18))
11351 ]).
11352
11353% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3339
11354% event Order(agent,agent,physobj)
11355 % event(order(agent,agent,physobj)).
11356% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3340
11357==> mpred_prop(order(agent,agent,physobj),event).
11358==> meta_argtypes(order(agent,agent,physobj)).
11359
11360% fluent KnowOrder(agent,agent,physobj)
11361 % fluent(knowOrder(agent,agent,physobj)).
11362% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3342
11363==> mpred_prop(knowOrder(agent,agent,physobj),fluent).
11364==> meta_argtypes(knowOrder(agent,agent,physobj)).
11365
11366
11373axiom(initiates(order(Agent1, Agent2, Physobj), knowOrder(Agent2, Agent1, Physobj), Time),
11374 []).
11375
11376
11384
11385 11390
11391 11399axiom(not(some(Location7, '$kolem_Fn_326'(Fn_326_Param, At_Param, Order_Ret, Maptime))),
11400
11401 [ not(holds_at(at(Fn_326_Param, Location7), Maptime)),
11402 happens(order(Fn_326_Param, At_Param, Order_Ret),
11403 Maptime)
11404 ]).
11405axiom(not(some(Location7, '$kolem_Fn_326'(Fn_326_Param, At_Param, Order_Ret, Maptime))),
11406
11407 [ not(holds_at(at(At_Param, Location7), Maptime)),
11408 happens(order(Fn_326_Param, At_Param, Order_Ret),
11409 Maptime)
11410 ]).
11411
11412 11422axiom(not(happens(order(Order_Param, At_Param14, Order_Ret15), Maptime11)),
11423
11424 [ not(holds_at(at(Order_Param, Location12), Maptime11)),
11425 some(Location12,
11426 '$kolem_Fn_326'(Order_Param,
11427 At_Param14,
11428 Order_Ret15,
11429 Maptime11))
11430 ]).
11431axiom(not(happens(order(Order_Param, At_Param14, Order_Ret15), Maptime11)),
11432
11433 [ not(holds_at(at(At_Param14, Location12), Maptime11)),
11434 some(Location12,
11435 '$kolem_Fn_326'(Order_Param,
11436 At_Param14,
11437 Order_Ret15,
11438 Maptime11))
11439 ]).
11440
11441 11449axiom(holds_at(at(At_Param18, Location16), Time17),
11450
11451 [ happens(order(At_Param18, A, Order_Ret19), Time17),
11452 some(Location16,
11453 '$kolem_Fn_326'(At_Param18,
11454 A,
11455 Order_Ret19,
11456 Time17))
11457 ]).
11458
11459 11468axiom(holds_at(at(At_Param22, Location20), Time21),
11469
11470 [ happens(order(Order_Param23, At_Param22, Order_Ret24),
11471 Time21),
11472 some(Location20,
11473 '$kolem_Fn_326'(Order_Param23,
11474 At_Param22,
11475 Order_Ret24,
11476 Time21))
11477 ]).
11478
11479% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3354
11480% event Request(agent,agent,physobj)
11481 % event(request(agent,agent,physobj)).
11482% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3355
11483==> mpred_prop(request(agent,agent,physobj),event).
11484==> meta_argtypes(request(agent,agent,physobj)).
11485
11486% fluent KnowRequest(agent,agent,physobj)
11487 % fluent(knowRequest(agent,agent,physobj)).
11488% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3357
11489==> mpred_prop(knowRequest(agent,agent,physobj),fluent).
11490==> meta_argtypes(knowRequest(agent,agent,physobj)).
11491
11492
11499axiom(initiates(request(Agent1, Agent2, Physobj), knowRequest(Agent2, Agent1, Physobj), Time),
11500 []).
11501
11502
11510
11511 11516
11517 11525axiom(not(some(Location7, '$kolem_Fn_327'(Fn_327_Param, At_Param, Request_Ret, Maptime))),
11526
11527 [ not(holds_at(at(Fn_327_Param, Location7), Maptime)),
11528 happens(request(Fn_327_Param, At_Param, Request_Ret),
11529 Maptime)
11530 ]).
11531axiom(not(some(Location7, '$kolem_Fn_327'(Fn_327_Param, At_Param, Request_Ret, Maptime))),
11532
11533 [ not(holds_at(at(At_Param, Location7), Maptime)),
11534 happens(request(Fn_327_Param, At_Param, Request_Ret),
11535 Maptime)
11536 ]).
11537
11538 11548axiom(not(happens(request(Request_Param, At_Param14, Request_Ret15), Maptime11)),
11549
11550 [ not(holds_at(at(Request_Param, Location12), Maptime11)),
11551 some(Location12,
11552 '$kolem_Fn_327'(Request_Param,
11553 At_Param14,
11554 Request_Ret15,
11555 Maptime11))
11556 ]).
11557axiom(not(happens(request(Request_Param, At_Param14, Request_Ret15), Maptime11)),
11558
11559 [ not(holds_at(at(At_Param14, Location12), Maptime11)),
11560 some(Location12,
11561 '$kolem_Fn_327'(Request_Param,
11562 At_Param14,
11563 Request_Ret15,
11564 Maptime11))
11565 ]).
11566
11567 11576axiom(holds_at(at(At_Param18, Location16), Time17),
11577
11578 [ happens(request(At_Param18, A, Request_Ret19),
11579 Time17),
11580 some(Location16,
11581 '$kolem_Fn_327'(At_Param18,
11582 A,
11583 Request_Ret19,
11584 Time17))
11585 ]).
11586
11587 11598axiom(holds_at(at(At_Param22, Location20), Time21),
11599
11600 [ happens(request(Request_Param23,
11601 At_Param22,
11602 Request_Ret24),
11603 Time21),
11604 some(Location20,
11605 '$kolem_Fn_327'(Request_Param23,
11606 At_Param22,
11607 Request_Ret24,
11608 Time21))
11609 ]).
11610
11611
11612% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3369
11613%; End of file.
11614%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
11615%; FILE: ecnet/Diving.e
11616%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
11617%;
11618%; Copyright (c) 2005 IBM Corporation and others.
11619%; All rights reserved. This program and the accompanying materials
11620%; are made available under the terms of the Common Public License v1.0
11621%; which accompanies this distribution, and is available at
11622%; http://www.eclipse.org/legal/cpl-v10.html
11623%;
11624%; Contributors:
11625%; IBM - Initial implementation
11626%;
11627%; scuba diving
11628%;
11629
11630% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3390
11631% sort object
11632% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3391
11633==> sort(object).
11634
11635% sort agent: object
11636% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3392
11637==> subsort(agent,object).
11638
11639% sort diver: agent
11640% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3393
11641==> subsort(diver,agent).
11642
11643% sort depth: integer
11644% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3394
11645==> subsort(depth,integer).
11646
11647% sort boat: object
11648% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3395
11649==> subsort(boat,object).
11650%; reference line, anchor line, shotline, SMB line, ...
11651
11652% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3397
11653% sort line: object
11654% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3398
11655==> subsort(line,object).
11656
11657% sort equipment: object
11658% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3400
11659==> subsort(equipment,object).
11660
11661% sort weight: equipment
11662% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3401
11663==> subsort(weight,equipment).
11664
11665% sort fin: equipment
11666% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3402
11667==> subsort(fin,equipment).
11668
11669% sort airtank: equipment
11670% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3403
11671==> subsort(airtank,equipment).
11672%; buoyancy compensator (BC)
11673%; buoyancy control device (BCD)
11674
11675% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3406
11676% sort computer: equipment
11677% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3407
11678==> subsort(computer,equipment).
11679
11680% sort bc: equipment
11681% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3408
11682==> subsort(bc,equipment).
11683
11684% fluent AtDepth(object,depth)
11685 % fluent(atDepth(object,depth)).
11686% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3410
11687==> mpred_prop(atDepth(object,depth),fluent).
11688==> meta_argtypes(atDepth(object,depth)).
11689
11690
11697axiom(Depth1=Depth2,
11698
11699 [ holds_at(atDepth(Object, Depth1), Time),
11700 holds_at(atDepth(Object, Depth2), Time)
11701 ]).
11702
11703% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3416
11704% event Ascend(diver,depth)
11705 % event(ascend(diver,depth)).
11706% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3417
11707==> mpred_prop(ascend(diver,depth),event).
11708==> meta_argtypes(ascend(diver,depth)).
11709
11710% event Descend(diver,depth)
11711 % event(descend(diver,depth)).
11712% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3419
11713==> mpred_prop(descend(diver,depth),event).
11714==> meta_argtypes(descend(diver,depth)).
11715
11716
11723axiom(Depth2>Depth1,
11724
11725 [ holds_at(atDepth(Diver, Depth1), Time),
11726 happens(descend(Diver, Depth2), Time)
11727 ]).
11728
11729
11736axiom(Depth2<Depth1,
11737
11738 [ holds_at(atDepth(Diver, Depth1), Time),
11739 happens(ascend(Diver, Depth2), Time)
11740 ]).
11741
11742
11747axiom(initiates(descend(Diver, Depth), atDepth(Diver, Depth), Time),
11748 []).
11749
11750
11756axiom(terminates(descend(Diver, Depth2), atDepth(Diver, Depth1), Time),
11757 [holds_at(atDepth(Diver, Depth1), Time)]).
11758
11759
11764axiom(initiates(ascend(Diver, Depth), atDepth(Diver, Depth), Time),
11765 []).
11766
11767
11773axiom(terminates(ascend(Diver, Depth2), atDepth(Diver, Depth1), Time),
11774 [holds_at(atDepth(Diver, Depth1), Time)]).
11775
11776% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3444
11777% fluent Wearing(diver,equipment)
11778 % fluent(wearing(diver,equipment)).
11779% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3445
11780==> mpred_prop(wearing(diver,equipment),fluent).
11781==> meta_argtypes(wearing(diver,equipment)).
11782
11783% event PutOn(diver,equipment)
11784 % event(putOn(diver,equipment)).
11785% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3447
11786==> mpred_prop(putOn(diver,equipment),event).
11787==> meta_argtypes(putOn(diver,equipment)).
11788
11789% event TakeOff(diver,equipment)
11790 % event(takeOff(diver,equipment)).
11791% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3449
11792==> mpred_prop(takeOff(diver,equipment),event).
11793==> meta_argtypes(takeOff(diver,equipment)).
11794
11795% event Lose(diver,equipment)
11796 % event(lose(diver,equipment)).
11797% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3451
11798==> mpred_prop(lose(diver,equipment),event).
11799==> meta_argtypes(lose(diver,equipment)).
11800
11801
11806axiom(releases(putOn(Diver, Equipment), atDepth(Equipment, Depth), Time),
11807 []).
11808
11809
11814axiom(releases(putOn(Diver, Equipment), underWater(Equipment), Time),
11815 []).
11816
11817
11823axiom(requires(putOn(Diver, Equipment), Time),
11824 [not(holds_at(wearing(Diver1, Equipment), Time))]).
11825
11826
11832
11833 11837
11838 11848axiom(not(holds_at(wearing(Wearing_Param, AtDepth_Param), Time4)),
11849
11850 [ not(holds_at(atDepth(AtDepth_Param, AtDepth_Ret), Time4)),
11851 holds_at(atDepth(Wearing_Param, AtDepth_Ret), Time4)
11852 ]).
11853axiom(not(holds_at(wearing(Wearing_Param, AtDepth_Param), Time4)),
11854
11855 [ not(holds_at(atDepth(Wearing_Param, AtDepth_Ret), Time4)),
11856 holds_at(atDepth(AtDepth_Param, AtDepth_Ret), Time4)
11857 ]).
11858
11859 11863axiom(holds_at(atDepth(AtDepth_Param9, AtDepth_Ret11), Time8),
11864
11865 [ holds_at(atDepth(AtDepth_Param10, AtDepth_Ret11), Time8),
11866 holds_at(wearing(AtDepth_Param10, AtDepth_Param9),
11867 Time8)
11868 ]).
11869
11870 11876axiom(not(holds_at(atDepth(AtDepth_Param13, AtDepth_Ret15), Time12)),
11877
11878 [ not(holds_at(atDepth(AtDepth_Param14, AtDepth_Ret15),
11879 Time12)),
11880 holds_at(wearing(AtDepth_Param13, AtDepth_Param14),
11881 Time12)
11882 ]).
11883
11884 11889axiom(holds_at(atDepth(AtDepth_Param17, AtDepth_Ret19), Time16),
11890
11891 [ holds_at(atDepth(AtDepth_Param18, AtDepth_Ret19),
11892 Time16),
11893 holds_at(wearing(AtDepth_Param17, AtDepth_Param18),
11894 Time16)
11895 ]).
11896
11897 11903axiom(not(holds_at(atDepth(AtDepth_Param21, AtDepth_Ret23), Time20)),
11904
11905 [ not(holds_at(atDepth(AtDepth_Param22, AtDepth_Ret23),
11906 Time20)),
11907 holds_at(wearing(AtDepth_Param22, AtDepth_Param21),
11908 Time20)
11909 ]).
11910
11911
11917
11918 11922
11923 11933axiom(not(holds_at(holding(Holding_Param, AtDepth_Param), Time4)),
11934
11935 [ not(holds_at(atDepth(AtDepth_Param, AtDepth_Ret), Time4)),
11936 holds_at(atDepth(Holding_Param, AtDepth_Ret), Time4)
11937 ]).
11938axiom(not(holds_at(holding(Holding_Param, AtDepth_Param), Time4)),
11939
11940 [ not(holds_at(atDepth(Holding_Param, AtDepth_Ret), Time4)),
11941 holds_at(atDepth(AtDepth_Param, AtDepth_Ret), Time4)
11942 ]).
11943
11944 11948axiom(holds_at(atDepth(AtDepth_Param9, AtDepth_Ret11), Time8),
11949
11950 [ holds_at(atDepth(AtDepth_Param10, AtDepth_Ret11), Time8),
11951 holds_at(holding(AtDepth_Param10, AtDepth_Param9),
11952 Time8)
11953 ]).
11954
11955 11961axiom(not(holds_at(atDepth(AtDepth_Param13, AtDepth_Ret15), Time12)),
11962
11963 [ not(holds_at(atDepth(AtDepth_Param14, AtDepth_Ret15),
11964 Time12)),
11965 holds_at(holding(AtDepth_Param13, AtDepth_Param14),
11966 Time12)
11967 ]).
11968
11969 11974axiom(holds_at(atDepth(AtDepth_Param17, AtDepth_Ret19), Time16),
11975
11976 [ holds_at(atDepth(AtDepth_Param18, AtDepth_Ret19),
11977 Time16),
11978 holds_at(holding(AtDepth_Param17, AtDepth_Param18),
11979 Time16)
11980 ]).
11981
11982 11988axiom(not(holds_at(atDepth(AtDepth_Param21, AtDepth_Ret23), Time20)),
11989
11990 [ not(holds_at(atDepth(AtDepth_Param22, AtDepth_Ret23),
11991 Time20)),
11992 holds_at(holding(AtDepth_Param22, AtDepth_Param21),
11993 Time20)
11994 ]).
11995
11996
12002
12003 12007
12008 12016axiom(not(holds_at(wearing(Wearing_Param, Wearing_Ret), Time3)),
12017
12018 [ not(holds_at(underWater(Wearing_Ret), Time3)),
12019 holds_at(underWater(Wearing_Param), Time3)
12020 ]).
12021axiom(not(holds_at(wearing(Wearing_Param, Wearing_Ret), Time3)),
12022
12023 [ not(holds_at(underWater(Wearing_Param), Time3)),
12024 holds_at(underWater(Wearing_Ret), Time3)
12025 ]).
12026
12027 12031axiom(holds_at(underWater(UnderWater_Ret), Time6),
12032
12033 [ holds_at(underWater(Wearing_Param7), Time6),
12034 holds_at(wearing(Wearing_Param7, UnderWater_Ret), Time6)
12035 ]).
12036
12037 12042axiom(not(holds_at(underWater(Wearing_Param10), Time9)),
12043
12044 [ not(holds_at(underWater(UnderWater_Ret11), Time9)),
12045 holds_at(wearing(Wearing_Param10, UnderWater_Ret11),
12046 Time9)
12047 ]).
12048
12049 12054axiom(holds_at(underWater(Wearing_Param13), Time12),
12055
12056 [ holds_at(underWater(UnderWater_Ret14), Time12),
12057 holds_at(wearing(Wearing_Param13, UnderWater_Ret14),
12058 Time12)
12059 ]).
12060
12061 12066axiom(not(holds_at(underWater(UnderWater_Ret17), Time15)),
12067
12068 [ not(holds_at(underWater(Wearing_Param16), Time15)),
12069 holds_at(wearing(Wearing_Param16, UnderWater_Ret17),
12070 Time15)
12071 ]).
12072
12073
12079
12080 12084
12085 12093axiom(not(holds_at(holding(Holding_Param, Holding_Ret), Time3)),
12094
12095 [ not(holds_at(underWater(Holding_Ret), Time3)),
12096 holds_at(underWater(Holding_Param), Time3)
12097 ]).
12098axiom(not(holds_at(holding(Holding_Param, Holding_Ret), Time3)),
12099
12100 [ not(holds_at(underWater(Holding_Param), Time3)),
12101 holds_at(underWater(Holding_Ret), Time3)
12102 ]).
12103
12104 12108axiom(holds_at(underWater(UnderWater_Ret), Time6),
12109
12110 [ holds_at(underWater(Holding_Param7), Time6),
12111 holds_at(holding(Holding_Param7, UnderWater_Ret), Time6)
12112 ]).
12113
12114 12119axiom(not(holds_at(underWater(Holding_Param10), Time9)),
12120
12121 [ not(holds_at(underWater(UnderWater_Ret11), Time9)),
12122 holds_at(holding(Holding_Param10, UnderWater_Ret11),
12123 Time9)
12124 ]).
12125
12126 12131axiom(holds_at(underWater(Holding_Param13), Time12),
12132
12133 [ holds_at(underWater(UnderWater_Ret14), Time12),
12134 holds_at(holding(Holding_Param13, UnderWater_Ret14),
12135 Time12)
12136 ]).
12137
12138 12143axiom(not(holds_at(underWater(UnderWater_Ret17), Time15)),
12144
12145 [ not(holds_at(underWater(Holding_Param16), Time15)),
12146 holds_at(holding(Holding_Param16, UnderWater_Ret17),
12147 Time15)
12148 ]).
12149
12150
12157axiom(initiates(takeOff(Diver, Equipment), atDepth(Equipment, Depth), Time),
12158
12159 [ holds_at(atDepth(Diver, Depth), Time),
12160 holds_at(wearing(Diver, Equipment), Time)
12161 ]).
12162
12163
12170axiom(terminates(takeOff(Diver, Equipment), atDepth(Equipment, Depth), Time),
12171
12172 [ not(holds_at(atDepth(Diver, Depth), Time)),
12173 holds_at(wearing(Diver, Equipment), Time)
12174 ]).
12175
12176
12182axiom(initiates(takeOff(Diver, Equipment), underWater(Equipment), Time),
12183 [holds_at(underWater(Diver), Time)]).
12184
12185
12191axiom(terminates(takeOff(Diver, Equipment), underWater(Equipment), Time),
12192 [not(holds_at(underWater(Diver), Time))]).
12193
12194
12201axiom(initiates(lose(Diver, Equipment), atDepth(Equipment, Depth), Time),
12202
12203 [ holds_at(atDepth(Diver, Depth), Time),
12204 holds_at(wearing(Diver, Equipment), Time)
12205 ]).
12206
12207
12214axiom(terminates(lose(Diver, Equipment), atDepth(Equipment, Depth), Time),
12215
12216 [ not(holds_at(atDepth(Diver, Depth), Time)),
12217 holds_at(wearing(Diver, Equipment), Time)
12218 ]).
12219
12220
12226axiom(initiates(lose(Diver, Equipment), underWater(Equipment), Time),
12227 [holds_at(underWater(Diver), Time)]).
12228
12229
12235axiom(terminates(lose(Diver, Equipment), underWater(Equipment), Time),
12236 [not(holds_at(underWater(Diver), Time))]).
12237
12238% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3518
12239% fluent Holding(diver,object)
12240 % fluent(holding(diver,object)).
12241% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3519
12242==> mpred_prop(holding(diver,object),fluent).
12243==> meta_argtypes(holding(diver,object)).
12244
12245
12251axiom(not(holds_at(holding(Diver2, Diver1), Time)),
12252 [holds_at(holding(Diver1, Diver2), Time)]).
12253
12254% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3524
12255% event Grab(diver,object)
12256 % event(grab(diver,object)).
12257% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3525
12258==> mpred_prop(grab(diver,object),event).
12259==> meta_argtypes(grab(diver,object)).
12260
12261% event LetGoOf(diver,object)
12262 % event(letGoOf(diver,object)).
12263% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3527
12264==> mpred_prop(letGoOf(diver,object),event).
12265==> meta_argtypes(letGoOf(diver,object)).
12266
12267
12272axiom(initiates(grab(Diver, Object), holding(Diver, Object), Time),
12273 []).
12274
12275
12280axiom(terminates(letGoOf(Diver, Object), holding(Diver, Object), Time),
12281 []).
12282
12283
12288axiom(releases(grab(Diver, Object), atDepth(Object, Depth), Time),
12289 []).
12290
12291
12296axiom(releases(grab(Diver, Object), underWater(Object), Time),
12297 []).
12298
12299
12306axiom(initiates(letGoOf(Diver, Object), atDepth(Object, Depth), Time),
12307
12308 [ holds_at(atDepth(Diver, Depth), Time),
12309 holds_at(holding(Diver, Object), Time)
12310 ]).
12311
12312
12319axiom(terminates(letGoOf(Diver, Object), atDepth(Object, Depth), Time),
12320
12321 [ not(holds_at(atDepth(Diver, Depth), Time)),
12322 holds_at(holding(Diver, Object), Time)
12323 ]).
12324
12325
12331axiom(initiates(letGoOf(Diver, Object), underWater(Object), Time),
12332 [holds_at(underWater(Diver), Time)]).
12333
12334
12340axiom(terminates(letGoOf(Diver, Object), underWater(Object), Time),
12341 [not(holds_at(underWater(Diver), Time))]).
12342
12343
12348axiom(initiates(putOn(Diver, Equipment), wearing(Diver, Equipment), Time),
12349 []).
12350
12351
12357axiom(requires(putOn(Diver, Equipment), Time),
12358 [not(holds_at(underWater(Diver), Time))]).
12359
12360
12365axiom(terminates(takeOff(Diver, Equipment), wearing(Diver, Equipment), Time),
12366 []).
12367
12368
12373axiom(terminates(lose(Diver, Equipment), wearing(Diver, Equipment), Time),
12374 []).
12375
12376% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3571
12377% fluent Vertical(diver)
12378 % fluent(vertical(diver)).
12379% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3572
12380==> mpred_prop(vertical(diver),fluent).
12381==> meta_argtypes(vertical(diver)).
12382
12383% fluent HorizontalDown(diver)
12384 % fluent(horizontalDown(diver)).
12385% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3574
12386==> mpred_prop(horizontalDown(diver),fluent).
12387==> meta_argtypes(horizontalDown(diver)).
12388
12389% fluent Inverted(diver)
12390 % fluent(inverted(diver)).
12391% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3576
12392==> mpred_prop(inverted(diver),fluent).
12393==> meta_argtypes(inverted(diver)).
12394
12395% fluent HorizontalUp(diver)
12396 % fluent(horizontalUp(diver)).
12397% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3578
12398==> mpred_prop(horizontalUp(diver),fluent).
12399==> meta_argtypes(horizontalUp(diver)).
12400
12403xor([vertical,horizontalDown,inverted,horizontalUp]).
12404
12405% event RotatePitch(diver)
12406 % event(rotatePitch(diver)).
12407% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3582
12408==> mpred_prop(rotatePitch(diver),event).
12409==> meta_argtypes(rotatePitch(diver)).
12410
12411
12417axiom(initiates(rotatePitch(Diver), horizontalDown(Diver), Time),
12418 [holds_at(vertical(Diver), Time)]).
12419
12420
12426axiom(initiates(rotatePitch(Diver), inverted(Diver), Time),
12427 [holds_at(horizontalDown(Diver), Time)]).
12428
12429
12435axiom(terminates(rotatePitch(Diver), horizontalDown(Diver), Time),
12436 [holds_at(horizontalDown(Diver), Time)]).
12437
12438
12444axiom(initiates(rotatePitch(Diver), horizontalUp(Diver), Time),
12445 [holds_at(inverted(Diver), Time)]).
12446
12447
12453axiom(terminates(rotatePitch(Diver), inverted(Diver), Time),
12454 [holds_at(inverted(Diver), Time)]).
12455
12456
12462axiom(initiates(rotatePitch(Diver), vertical(Diver), Time),
12463 [holds_at(horizontalUp(Diver), Time)]).
12464
12465
12471axiom(terminates(rotatePitch(Diver), horizontalUp(Diver), Time),
12472 [holds_at(horizontalUp(Diver), Time)]).
12473
12474% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3611
12475% event RotateYaw(diver)
12476 % event(rotateYaw(diver)).
12477% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3612
12478==> mpred_prop(rotateYaw(diver),event).
12479==> meta_argtypes(rotateYaw(diver)).
12480
12481
12490axiom(happens(rotateYaw(Diver), Time),
12491
12492 [ happens(ascend1(Diver), Time),
12493 not(happens(rapidAscendToSurface(Diver), Time)),
12494 not(holds_at(holding(Diver, Diver1), Time))
12495 ]).
12496
12497% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3620
12498% fluent UnderWater(object)
12499 % fluent(underWater(object)).
12500% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3621
12501==> mpred_prop(underWater(object),fluent).
12502==> meta_argtypes(underWater(object)).
12503
12504
12511axiom(holds_at(underWater(Object), Time),
12512
12513 [ comparison(Depth, 0, >),
12514 holds_at(atDepth(Object, Depth), Time)
12515 ]).
12516
12517% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3627
12518% event EnterWater(object)
12519 % event(enterWater(object)).
12520% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3628
12521==> mpred_prop(enterWater(object),event).
12522==> meta_argtypes(enterWater(object)).
12523
12524% event Surface(object)
12525 % event(surface(object)).
12526% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3630
12527==> mpred_prop(surface(object),event).
12528==> meta_argtypes(surface(object)).
12529
12530
12535axiom(initiates(enterWater(Object), underWater(Object), Time),
12536 []).
12537
12538
12544axiom(requires(enterWater(Diver), Time),
12545 [not(holds_at(holding(Diver1, Diver), Time))]).
12546
12547
12553axiom(initiates(enterWater(Object), atDepth(Object, Depth), Time),
12554 [equals(Depth, 0)]).
12555
12556
12561axiom(terminates(surface(Object), underWater(Object), Time),
12562 []).
12563
12564
12569axiom(terminates(surface(Diver), positivelyBuoyant(Diver), Time),
12570 []).
12571
12572
12577axiom(terminates(surface(Diver), negativelyBuoyant(Diver), Time),
12578 []).
12579
12580
12585axiom(terminates(surface(Diver), neutrallyBuoyant(Diver), Time),
12586 []).
12587
12588
12593axiom(terminates(surface(Object), atDepth(Object, Depth), Time),
12594 []).
12595
12596
12599 12602axiom(requires(enterWater(Diver), Time),
12603 [holds_at(vertical(Diver), Time)]).
12604
12605% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3660
12606% fluent StandingOn(diver,boat)
12607 % fluent(standingOn(diver,boat)).
12608% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3661
12609==> mpred_prop(standingOn(diver,boat),fluent).
12610==> meta_argtypes(standingOn(diver,boat)).
12611
12612% event StandOn(diver,boat)
12613 % event(standOn(diver,boat)).
12614% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3663
12615==> mpred_prop(standOn(diver,boat),event).
12616==> meta_argtypes(standOn(diver,boat)).
12617
12618
12623axiom(terminates(enterWater(Diver), standingOn(Diver, Boat), Time),
12624 []).
12625
12626
12631axiom(initiates(standOn(Diver, Boat), standingOn(Diver, Boat), Time),
12632 []).
12633
12634% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3670
12635% fluent PositivelyBuoyant(diver)
12636 % fluent(positivelyBuoyant(diver)).
12637% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3671
12638==> mpred_prop(positivelyBuoyant(diver),fluent).
12639==> meta_argtypes(positivelyBuoyant(diver)).
12640
12641% fluent NeutrallyBuoyant(diver)
12642 % fluent(neutrallyBuoyant(diver)).
12643% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3673
12644==> mpred_prop(neutrallyBuoyant(diver),fluent).
12645==> meta_argtypes(neutrallyBuoyant(diver)).
12646
12647% fluent NegativelyBuoyant(diver)
12648 % fluent(negativelyBuoyant(diver)).
12649% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3675
12650==> mpred_prop(negativelyBuoyant(diver),fluent).
12651==> meta_argtypes(negativelyBuoyant(diver)).
12652
12655mutex(positivelyBuoyant).
12656mutex(neutrallyBuoyant).
12657mutex(negativelyBuoyant).
12658
12659
12665axiom(holds_at(underWater(Diver), Time),
12666 [holds_at(positivelyBuoyant(Diver), Time)]).
12667
12668
12674axiom(holds_at(underWater(Diver), Time),
12675 [holds_at(neutrallyBuoyant(Diver), Time)]).
12676
12677
12683axiom(holds_at(underWater(Diver), Time),
12684 [holds_at(negativelyBuoyant(Diver), Time)]).
12685
12686% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3690
12687% event PressDeflateButton(diver,bc)
12688 % event(pressDeflateButton(diver,bc)).
12689% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3691
12690==> mpred_prop(pressDeflateButton(diver,bc),event).
12691==> meta_argtypes(pressDeflateButton(diver,bc)).
12692
12693% event PressDumpButton(diver,bc)
12694 % event(pressDumpButton(diver,bc)).
12695% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3693
12696==> mpred_prop(pressDumpButton(diver,bc),event).
12697==> meta_argtypes(pressDumpButton(diver,bc)).
12698
12699% event PressInflateButton(diver,bc)
12700 % event(pressInflateButton(diver,bc)).
12701% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3695
12702==> mpred_prop(pressInflateButton(diver,bc),event).
12703==> meta_argtypes(pressInflateButton(diver,bc)).
12704
12705
12712axiom(requires(pressDeflateButton(Diver, Bc), Time),
12713
12714 [ holds_at(vertical(Diver), Time),
12715 holds_at(underWater(Bc), Time)
12716 ]).
12717
12718
12725axiom(requires(pressDumpButton(Diver, Bc), Time),
12726
12727 [ holds_at(vertical(Diver), Time),
12728 holds_at(underWater(Bc), Time)
12729 ]).
12730
12731
12734 12737axiom(requires(pressDumpButton(Diver, Bc), Time),
12738 [holds_at(uncontrolledBuoyancy(Diver), Time)]).
12739
12740
12746axiom(initiates(pressDeflateButton(Diver, Bc), negativelyBuoyant(Diver), Time),
12747 [holds_at(wearing(Diver, Bc), Time)]).
12748
12749
12755axiom(terminates(pressDeflateButton(Diver, Bc), neutrallyBuoyant(Diver), Time),
12756 [holds_at(wearing(Diver, Bc), Time)]).
12757
12758
12764axiom(terminates(pressDeflateButton(Diver, Bc), positivelyBuoyant(Diver), Time),
12765 [holds_at(wearing(Diver, Bc), Time)]).
12766
12767
12773axiom(initiates(pressDumpButton(Diver, Bc), negativelyBuoyant(Diver), Time),
12774 [holds_at(wearing(Diver, Bc), Time)]).
12775
12776
12782axiom(terminates(pressDumpButton(Diver, Bc), neutrallyBuoyant(Diver), Time),
12783 [holds_at(wearing(Diver, Bc), Time)]).
12784
12785
12791axiom(terminates(pressDumpButton(Diver, Bc), positivelyBuoyant(Diver), Time),
12792 [holds_at(wearing(Diver, Bc), Time)]).
12793
12794
12800axiom(initiates(pressInflateButton(Diver, Bc), neutrallyBuoyant(Diver), Time),
12801 [holds_at(wearing(Diver, Bc), Time)]).
12802
12803
12809axiom(terminates(pressInflateButton(Diver, Bc), positivelyBuoyant(Diver), Time),
12810 [holds_at(wearing(Diver, Bc), Time)]).
12811
12812
12818axiom(terminates(pressInflateButton(Diver, Bc), negativelyBuoyant(Diver), Time),
12819 [holds_at(wearing(Diver, Bc), Time)]).
12820
12821
12827axiom(initiates(takeOff(Diver, Weight), positivelyBuoyant(Diver), Time),
12828 [holds_at(wearing(Diver, Weight), Time)]).
12829
12830
12836axiom(terminates(takeOff(Diver, Weight), negativelyBuoyant(Diver), Time),
12837 [holds_at(wearing(Diver, Weight), Time)]).
12838
12839
12845axiom(terminates(takeOff(Diver, Weight), neutrallyBuoyant(Diver), Time),
12846 [holds_at(wearing(Diver, Weight), Time)]).
12847
12848% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3757
12849% fluent UncontrolledBuoyancy(diver)
12850 % fluent(uncontrolledBuoyancy(diver)).
12851% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3758
12852==> mpred_prop(uncontrolledBuoyancy(diver),fluent).
12853==> meta_argtypes(uncontrolledBuoyancy(diver)).
12854
12855% event LoseBuoyancyControl(diver)
12856 % event(loseBuoyancyControl(diver)).
12857% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3760
12858==> mpred_prop(loseBuoyancyControl(diver),event).
12859==> meta_argtypes(loseBuoyancyControl(diver)).
12860
12861% predicate IsInexperiencedDiver(diver)
12862 % predicate(isInexperiencedDiver(diver)).
12863% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3762
12864==> mpred_prop(isInexperiencedDiver(diver),predicate).
12865==> meta_argtypes(isInexperiencedDiver(diver)).
12866
12867
12873axiom(requires(loseBuoyancyControl(Diver), Time),
12874 [isInexperiencedDiver(Diver)]).
12875
12876
12881axiom(initiates(loseBuoyancyControl(Diver), uncontrolledBuoyancy(Diver), Time),
12882 []).
12883
12884
12889axiom(initiates(loseBuoyancyControl(Diver), positivelyBuoyant(Diver), Time),
12890 []).
12891
12892
12897axiom(terminates(loseBuoyancyControl(Diver), negativelyBuoyant(Diver), Time),
12898 []).
12899
12900
12905axiom(terminates(loseBuoyancyControl(Diver), neutrallyBuoyant(Diver), Time),
12906 []).
12907
12908
12909% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3779
12910%; determining fluent
12911
12912% fluent AscendDescendAmount(diver,depth)
12913 % fluent(ascendDescendAmount(diver,depth)).
12914% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3781
12915==> mpred_prop(ascendDescendAmount(diver,depth),fluent).
12916==> meta_argtypes(ascendDescendAmount(diver,depth)).
12917
12918% noninertial AscendDescendAmount
12919% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3782
12920==> noninertial(ascendDescendAmount).
12921
12922
12929axiom(Depth1=Depth2,
12930
12931 [ holds_at(ascendDescendAmount(Diver, Depth1), Time),
12932 holds_at(ascendDescendAmount(Diver, Depth2), Time)
12933 ]).
12934
12935
12944axiom(requires(descend(Diver, Depth), Time),
12945
12946 [ holds_at(negativelyBuoyant(Diver), Time),
12947 holds_at(ascendDescendAmount(Diver, Depth1), Time),
12948 holds_at(atDepth(Diver, Depth-Depth1), Time)
12949 ]).
12950
12951% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3795
12952% event KickUp(diver)
12953 % event(kickUp(diver)).
12954% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3796
12955==> mpred_prop(kickUp(diver),event).
12956==> meta_argtypes(kickUp(diver)).
12957
12958
12968axiom(requires(ascend(Diver, Depth), Time),
12969
12970 [ holds_at(positivelyBuoyant(Diver), Time),
12971 holds_at(ascendDescendAmount(Diver, Depth1), Time),
12972 holds_at(atDepth(Diver, Depth+Depth1), Time)
12973 ]).
12974axiom(requires(ascend(Diver, Depth), Time),
12975
12976 [ holds_at(neutrallyBuoyant(Diver), Time),
12977 happens(kickUp(Diver), Time),
12978 holds_at(ascendDescendAmount(Diver, Depth1), Time),
12979 holds_at(atDepth(Diver, Depth+Depth1), Time)
12980 ]).
12981
12982
12988axiom(requires(kickUp(Diver), Time),
12989 [holds_at(vertical(Diver), Time)]).
12990
12991% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3809
12992% event SwimAround(diver)
12993 % event(swimAround(diver)).
12994% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3810
12995==> mpred_prop(swimAround(diver),event).
12996==> meta_argtypes(swimAround(diver)).
12997
12998
13004axiom(requires(swimAround(Diver), Time),
13005 [holds_at(horizontalDown(Diver), Time)]).
13006
13007
13008% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3815
13009%; signaling
13010
13011% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3817
13012% event SignalDescend(diver,diver)
13013 % event(signalDescend(diver,diver)).
13014% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3818
13015==> mpred_prop(signalDescend(diver,diver),event).
13016==> meta_argtypes(signalDescend(diver,diver)).
13017
13018% event SignalOutOfTime(diver,diver)
13019 % event(signalOutOfTime(diver,diver)).
13020% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3820
13021==> mpred_prop(signalOutOfTime(diver,diver),event).
13022==> meta_argtypes(signalOutOfTime(diver,diver)).
13023
13024% event SignalAscend(diver,diver)
13025 % event(signalAscend(diver,diver)).
13026% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3822
13027==> mpred_prop(signalAscend(diver,diver),event).
13028==> meta_argtypes(signalAscend(diver,diver)).
13029
13030
13031% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3823
13032%;[diver1,diver2,time]
13033%;Happens(SignalAscend(diver1,diver2),time) ->
13034%;Happens(SignalOutOfTime(diver1,diver2),time-1).
13035%;[diver1,diver2,time]
13036%;Happens(SignalDescend(diver1,diver2),time) ->
13037%;HoldsAt(See(diver1,diver2),time) &
13038%;HoldsAt(See(diver2,diver1),time).
13039%;[diver1,diver2,time]
13040%;Happens(SignalOutOfTime(diver1,diver2),time) ->
13041%;HoldsAt(See(diver1,diver2),time) &
13042%;HoldsAt(See(diver2,diver1),time).
13043%;[diver1,diver2,time]
13044%;Happens(SignalAscend(diver1,diver2),time) ->
13045%;HoldsAt(See(diver1,diver2),time) &
13046%;HoldsAt(See(diver2,diver1),time).
13047%;event LookAt(agent,object)
13048%;fluent See(agent,object)
13049%;[agent,object,time]
13050%;Initiates(LookAt(agent,object),See(agent,object),time).
13051%;[agent,object1,object2,time]
13052%;object1!=object2 ->
13053%;Terminates(LookAt(agent,object1),
13054%; See(agent,object2),
13055%; time).
13056
13057% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3855
13058% event Descend1(diver)
13059 % event(descend1(diver)).
13060% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3856
13061==> mpred_prop(descend1(diver),event).
13062==> meta_argtypes(descend1(diver)).
13063
13064% event Ascend1(diver)
13065 % event(ascend1(diver)).
13066% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3858
13067==> mpred_prop(ascend1(diver),event).
13068==> meta_argtypes(ascend1(diver)).
13069
13070
13071% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3859
13072%;[diver,object,time]
13073%;Terminates(Descend1(diver),See(diver,object),time).
13074%;[diver,object,time]
13075%;Terminates(Ascend1(diver),See(diver,object),time).
13076%;[diver,object,time]
13077%;Terminates(RotateYaw(diver),See(diver,object),time).
13078
13079% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3868
13080% event RapidAscendToSurface(diver)
13081 % event(rapidAscendToSurface(diver)).
13082% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3869
13083==> mpred_prop(rapidAscendToSurface(diver),event).
13084==> meta_argtypes(rapidAscendToSurface(diver)).
13085
13086
13091
13092 13096axiom(happens(descend1(Diver), Time),
13097 [happens(descend(Diver, Depth), Time)]).
13098
13099 13103
13104 13107axiom(happens(descend(Descend_Param, Descend_Ret), Maptime),
13108 [happens(descend1(Descend_Param), Maptime)]).
13109
13110 13114axiom(not(happens(descend1(Descend_Param7), Maptime6)),
13115
13116 [ not(happens(descend(Descend_Param7, Descend_Ret8),
13117 Maptime6))
13118 ]).
13119
13120
13125
13126 13130axiom(happens(ascend1(Diver), Time),
13131 [happens(ascend(Diver, Depth), Time)]).
13132
13133 13137
13138 13141axiom(happens(ascend(Ascend_Param, Ascend_Ret), Maptime),
13142 [happens(ascend1(Ascend_Param), Maptime)]).
13143
13144 13147axiom(not(happens(ascend1(Ascend_Param7), Maptime6)),
13148
13149 [ not(happens(ascend(Ascend_Param7, Ascend_Ret8),
13150 Maptime6))
13151 ]).
13152
13153
13159axiom(happens(ascend(Diver, 0), Time),
13160 [happens(rapidAscendToSurface(Diver), Time)]).
13161
13162% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3882
13163% event AscendLine(diver,line)
13164 % event(ascendLine(diver,line)).
13165% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3883
13166==> mpred_prop(ascendLine(diver,line),event).
13167==> meta_argtypes(ascendLine(diver,line)).
13168
13169
13175axiom(happens(ascend1(Diver), Time),
13176 [happens(ascendLine(Diver, Line), Time)]).
13177
13178% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3888
13179% fluent Disoriented(diver)
13180 % fluent(disoriented(diver)).
13181% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3889
13182==> mpred_prop(disoriented(diver),fluent).
13183==> meta_argtypes(disoriented(diver)).
13184
13185% event BecomeDisoriented(diver)
13186 % event(becomeDisoriented(diver)).
13187% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3891
13188==> mpred_prop(becomeDisoriented(diver),event).
13189==> meta_argtypes(becomeDisoriented(diver)).
13190
13191% event BecomeReoriented(diver)
13192 % event(becomeReoriented(diver)).
13193% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3893
13194==> mpred_prop(becomeReoriented(diver),event).
13195==> meta_argtypes(becomeReoriented(diver)).
13196
13197
13202axiom(initiates(becomeDisoriented(Diver), disoriented(Diver), Time),
13203 []).
13204
13205
13210axiom(terminates(becomeReoriented(Diver), disoriented(Diver), Time),
13211 []).
13212
13213% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3900
13214% fluent DisturbedSilt()
13215 % fluent(disturbedSilt()).
13216% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3901
13217==> mpred_prop(disturbedSilt(),fluent).
13218==> meta_argtypes(disturbedSilt()).
13219
13220% event DisturbSilt(diver)
13221 % event(disturbSilt(diver)).
13222% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3903
13223==> mpred_prop(disturbSilt(diver),event).
13224==> meta_argtypes(disturbSilt(diver)).
13225
13226
13231axiom(initiates(disturbSilt(Diver), disturbedSilt(), Time),
13232 []).
13233
13234
13241axiom(requires(becomeDisoriented(Diver), start),
13242
13243 [ not(holds_at(disturbedSilt(), t)),
13244 holds_at(disturbedSilt(), start),
13245 b(t, start),
13246 ignore(start-1=t)
13247 ]).
13248
13249% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3912
13250% event Panic(diver)
13251 % event(panic(diver)).
13252% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3913
13253==> mpred_prop(panic(diver),event).
13254==> meta_argtypes(panic(diver)).
13255
13256
13259 13265axiom(requires(panic(Diver), Time),
13266 [holds_at(disoriented(Diver), Time)]).
13267axiom(requires(panic(Diver), Time),
13268 [holds_at(uncontrolledBuoyancy(Diver), Time)]).
13269axiom(requires(lose(Diver, Equipment), Time-1),
13270 [requires(panic(Diver), Time)]).
13271axiom(requires(vomit(Diver), Time-1),
13272 [requires(panic(Diver), Time)]).
13273
13274% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3920
13275% event Vomit(diver)
13276 % event(vomit(diver)).
13277% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3921
13278==> mpred_prop(vomit(diver),event).
13279==> meta_argtypes(vomit(diver)).
13280
13281
13282% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3922
13283%; conditions
13284
13285% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3924
13286% fluent Unconscious(diver)
13287 % fluent(unconscious(diver)).
13288% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3925
13289==> mpred_prop(unconscious(diver),fluent).
13290==> meta_argtypes(unconscious(diver)).
13291
13292% event GoUnconscious(diver)
13293 % event(goUnconscious(diver)).
13294% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3927
13295==> mpred_prop(goUnconscious(diver),event).
13296==> meta_argtypes(goUnconscious(diver)).
13297
13298% event RegainConsciousness(diver)
13299 % event(regainConsciousness(diver)).
13300% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3929
13301==> mpred_prop(regainConsciousness(diver),event).
13302==> meta_argtypes(regainConsciousness(diver)).
13303
13304
13309axiom(initiates(goUnconscious(Diver), unconscious(Diver), Time),
13310 []).
13311
13312
13317axiom(terminates(regainConsciousness(Diver), unconscious(Diver), Time),
13318 []).
13319
13320
13326axiom(happens(rapidAscendToSurface(Diver), Time),
13327 [happens(goUnconscious(Diver), Time)]).
13328
13329% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3940
13330% fluent HasEarPain(diver)
13331 % fluent(hasEarPain(diver)).
13332% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3941
13333==> mpred_prop(hasEarPain(diver),fluent).
13334==> meta_argtypes(hasEarPain(diver)).
13335
13336% event StartEarPain(diver)
13337 % event(startEarPain(diver)).
13338% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3943
13339==> mpred_prop(startEarPain(diver),event).
13340==> meta_argtypes(startEarPain(diver)).
13341
13342
13345 13346axiom(initiates(startEarPain(Diver), hasEarPain(Diver), Time),
13347 []).
13348
13349% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3946
13350% fluent HasRupturedEardrum(diver)
13351 % fluent(hasRupturedEardrum(diver)).
13352% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3947
13353==> mpred_prop(hasRupturedEardrum(diver),fluent).
13354==> meta_argtypes(hasRupturedEardrum(diver)).
13355
13356% event RuptureEardrum(diver)
13357 % event(ruptureEardrum(diver)).
13358% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3949
13359==> mpred_prop(ruptureEardrum(diver),event).
13360==> meta_argtypes(ruptureEardrum(diver)).
13361
13362
13367axiom(initiates(ruptureEardrum(Diver), hasRupturedEardrum(Diver), Time),
13368 []).
13369
13370% fluent ConditionOK(diver)
13371 % fluent(conditionOK(diver)).
13372% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3953
13373==> mpred_prop(conditionOK(diver),fluent).
13374==> meta_argtypes(conditionOK(diver)).
13375
13376% fluent HasDecompressionIllness(diver)
13377 % fluent(hasDecompressionIllness(diver)).
13378% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3955
13379==> mpred_prop(hasDecompressionIllness(diver),fluent).
13380==> meta_argtypes(hasDecompressionIllness(diver)).
13381
13382% event StartDecompressionIllness(diver)
13383 % event(startDecompressionIllness(diver)).
13384% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3957
13385==> mpred_prop(startDecompressionIllness(diver),event).
13386==> meta_argtypes(startDecompressionIllness(diver)).
13387
13388
13395axiom(initiates(startDecompressionIllness(Diver), hasDecompressionIllness(Diver), Time),
13396 []).
13397
13398% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3963
13399% fluent SignalingDecompress(computer,diver)
13400 % fluent(signalingDecompress(computer,diver)).
13401% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3964
13402==> mpred_prop(signalingDecompress(computer,diver),fluent).
13403==> meta_argtypes(signalingDecompress(computer,diver)).
13404
13405% fluent SignalingLowOnAir(computer,airtank,diver)
13406 % fluent(signalingLowOnAir(computer,airtank,diver)).
13407% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3966
13408==> mpred_prop(signalingLowOnAir(computer,airtank,diver),fluent).
13409==> meta_argtypes(signalingLowOnAir(computer,airtank,diver)).
13410
13411
13417axiom(holds_at(lowOnAir(Airtank), Time),
13418
13419 [ holds_at(signalingLowOnAir(Computer, Airtank, Diver),
13420 Time)
13421 ]).
13422
13423
13429axiom(not(exists([Time1], (Time1<Time, happens(decompress(Diver), Time1)))),
13430 [holds_at(signalingDecompress(Computer, Diver), Time)]).
13431
13432% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3975
13433% event Decompress(diver)
13434 % event(decompress(diver)).
13435% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3976
13436==> mpred_prop(decompress(diver),event).
13437==> meta_argtypes(decompress(diver)).
13438
13439% event EqualizeEars(diver)
13440 % event(equalizeEars(diver)).
13441% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:3978
13442==> mpred_prop(equalizeEars(diver),event).
13443==> meta_argtypes(equalizeEars(diver)).
13444
13445
13452
13453 13456
13457 13464axiom(happens(startEarPain(StartEarPain_Ret), Maptime),
13465
13466 [ happens(descend1(StartEarPain_Ret), Maptime),
13467 not(happens(equalizeEars(StartEarPain_Ret), Maptime))
13468 ]).
13469axiom(happens(startEarPain(StartEarPain_Ret), Maptime),
13470
13471 [ happens(ascend1(StartEarPain_Ret), Maptime),
13472 not(happens(equalizeEars(StartEarPain_Ret), Maptime))
13473 ]).
13474
13475 13481axiom(happens(ruptureEardrum(RuptureEardrum_Ret), Maptime4),
13482
13483 [ happens(descend1(RuptureEardrum_Ret), Maptime4),
13484 not(happens(equalizeEars(RuptureEardrum_Ret), Maptime4))
13485 ]).
13486axiom(happens(ruptureEardrum(RuptureEardrum_Ret), Maptime4),
13487
13488 [ happens(ascend1(RuptureEardrum_Ret), Maptime4),
13489 not(happens(equalizeEars(RuptureEardrum_Ret), Maptime4))
13490 ]).
13491
13492 13500axiom(happens(equalizeEars(EqualizeEars_Ret), Maptime6),
13501
13502 [ not(happens(startEarPain(EqualizeEars_Ret), Maptime6)),
13503 happens(descend1(EqualizeEars_Ret), Maptime6)
13504 ]).
13505axiom(happens(equalizeEars(EqualizeEars_Ret), Maptime6),
13506
13507 [ not(happens(ruptureEardrum(EqualizeEars_Ret), Maptime6)),
13508 happens(descend1(EqualizeEars_Ret), Maptime6)
13509 ]).
13510axiom(happens(equalizeEars(EqualizeEars_Ret), Maptime6),
13511
13512 [ not(happens(startEarPain(EqualizeEars_Ret), Maptime6)),
13513 happens(ascend1(EqualizeEars_Ret), Maptime6)
13514 ]).
13515axiom(happens(equalizeEars(EqualizeEars_Ret), Maptime6),
13516
13517 [ not(happens(ruptureEardrum(EqualizeEars_Ret), Maptime6)),
13518 happens(ascend1(EqualizeEars_Ret), Maptime6)
13519 ]).
13520
13521 13527axiom(not(happens(descend1(Descend1_Ret), Maptime8)),
13528
13529 [ not(happens(startEarPain(Descend1_Ret), Maptime8)),
13530 not(happens(equalizeEars(Descend1_Ret), Maptime8))
13531 ]).
13532axiom(not(happens(descend1(Descend1_Ret), Maptime8)),
13533
13534 [ not(happens(ruptureEardrum(Descend1_Ret), Maptime8)),
13535 not(happens(equalizeEars(Descend1_Ret), Maptime8))
13536 ]).
13537
13538 13544axiom(not(happens(ascend1(Ascend1_Ret), Maptime10)),
13545
13546 [ not(happens(startEarPain(Ascend1_Ret), Maptime10)),
13547 not(happens(equalizeEars(Ascend1_Ret), Maptime10))
13548 ]).
13549axiom(not(happens(ascend1(Ascend1_Ret), Maptime10)),
13550
13551 [ not(happens(ruptureEardrum(Ascend1_Ret), Maptime10)),
13552 not(happens(equalizeEars(Ascend1_Ret), Maptime10))
13553 ]).
13554
13555
13562axiom(happens(startDecompressionIllness(Diver), Time),
13563
13564 [ happens(ascend1(Diver), Time),
13565 not(happens(decompress(Diver), Time))
13566 ]).
13567
13568
13576axiom(happens(startDecompressionIllness(Diver2), Time),
13577
13578 [ holds_at(holding(Diver1, Diver2), Time),
13579 happens(ascend1(Diver1), Time),
13580 not(happens(decompress(Diver2), Time))
13581 ]).
13582
13583
13590axiom(requires(decompress(Diver), Time),
13591
13592 [ comparison(Depth, 0, >),
13593 holds_at(atDepth(Diver, Depth), Time),
13594 not(holds_at(uncontrolledBuoyancy(Diver), Time))
13595 ]).
13596
13597% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4001
13598% fluent HasHeadache(diver)
13599 % fluent(hasHeadache(diver)).
13600% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4002
13601==> mpred_prop(hasHeadache(diver),fluent).
13602==> meta_argtypes(hasHeadache(diver)).
13603
13604
13613
13614 13617
13618 13627axiom(not(holds_at(conditionOK(ConditionOK_Ret), Time2)),
13628 [holds_at(unconscious(ConditionOK_Ret), Time2)]).
13629axiom(not(holds_at(conditionOK(ConditionOK_Ret), Time2)),
13630 [holds_at(hasEarPain(ConditionOK_Ret), Time2)]).
13631axiom(not(holds_at(conditionOK(ConditionOK_Ret), Time2)),
13632 [holds_at(hasRupturedEardrum(ConditionOK_Ret), Time2)]).
13633axiom(not(holds_at(conditionOK(ConditionOK_Ret), Time2)),
13634 [holds_at(hasDecompressionIllness(ConditionOK_Ret), Time2)]).
13635axiom(not(holds_at(conditionOK(ConditionOK_Ret), Time2)),
13636 [holds_at(hasHeadache(ConditionOK_Ret), Time2)]).
13637
13638 13641axiom(not(holds_at(unconscious(Unconscious_Ret), Time4)),
13642 [holds_at(conditionOK(Unconscious_Ret), Time4)]).
13643
13644 13647axiom(not(holds_at(hasEarPain(HasEarPain_Ret), Time6)),
13648 [holds_at(conditionOK(HasEarPain_Ret), Time6)]).
13649
13650 13653axiom(not(holds_at(hasRupturedEardrum(HasRupturedEardrum_Ret), Time8)),
13654 [holds_at(conditionOK(HasRupturedEardrum_Ret), Time8)]).
13655
13656 13659axiom(not(holds_at(hasDecompressionIllness(HasDecompressionIllness_Ret), Time10)),
13660 [holds_at(conditionOK(HasDecompressionIllness_Ret), Time10)]).
13661
13662 13665axiom(not(holds_at(hasHeadache(HasHeadache_Ret), Time12)),
13666 [holds_at(conditionOK(HasHeadache_Ret), Time12)]).
13667
13668% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4011
13669% event BeAirlifted(diver)
13670 % event(beAirlifted(diver)).
13671% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4012
13672==> mpred_prop(beAirlifted(diver),event).
13673==> meta_argtypes(beAirlifted(diver)).
13674
13675% event TakeInWater(diver)
13676 % event(takeInWater(diver)).
13677% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4014
13678==> mpred_prop(takeInWater(diver),event).
13679==> meta_argtypes(takeInWater(diver)).
13680
13681% fluent LowOnAir(airtank)
13682 % fluent(lowOnAir(airtank)).
13683% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4016
13684==> mpred_prop(lowOnAir(airtank),fluent).
13685==> meta_argtypes(lowOnAir(airtank)).
13686
13687% event BecomeLowOnAir(airtank)
13688 % event(becomeLowOnAir(airtank)).
13689% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4018
13690==> mpred_prop(becomeLowOnAir(airtank),event).
13691==> meta_argtypes(becomeLowOnAir(airtank)).
13692
13693
13698axiom(initiates(becomeLowOnAir(Airtank), lowOnAir(Airtank), Time),
13699 []).
13700
13701
13705 13707axiom(initially(conditionOK(Diver)),
13708 []).
13709
13710
13713 13714axiom(initially(vertical(Diver)),
13715 []).
13716
13717
13720 13721axiom(not(initially(disturbedSilt())),
13722 []).
13723
13724
13727 13728 13729axiom(not(initially(uncontrolledBuoyancy(UncontrolledBuoyancy_Ret))),
13730 []).
13731
13732
13735 13736 13737axiom(not(initially(disoriented(Disoriented_Ret))),
13738 []).
13739
13740
13743 13746
13747 13752axiom(not(holds_at(positivelyBuoyant(PositivelyBuoyant_Ret), t)),
13753 []).
13754axiom(not(holds_at(neutrallyBuoyant(NeutrallyBuoyant_Ret), t)),
13755 []).
13756axiom(not(holds_at(negativelyBuoyant(NegativelyBuoyant_Ret), t)),
13757 []).
13758
13759
13762 13763 13764axiom(not(initially(wearing(Wearing_Param, Wearing_Ret))),
13765 []).
13766
13767
13770 13771 13772axiom(not(initially(holding(Holding_Param, Holding_Ret))),
13773 []).
13774
13775
13778 13779 13780axiom(not(initially(separated(Separated_Param, Separated_Ret))),
13781 []).
13782
13783
13784% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4034
13785%;[agent,object] !HoldsAt(See(agent,object),0).
13786
13787% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4036
13788% fluent Separated(diver,diver)
13789 % fluent(separated(diver,diver)).
13790% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4037
13791==> mpred_prop(separated(diver,diver),fluent).
13792==> meta_argtypes(separated(diver,diver)).
13793
13794
13800axiom(holds_at(separated(Diver2, Diver1), Time),
13801 [holds_at(separated(Diver1, Diver2), Time)]).
13802
13803% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4042
13804% event BecomeSeparated(diver,diver)
13805 % event(becomeSeparated(diver,diver)).
13806% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4043
13807==> mpred_prop(becomeSeparated(diver,diver),event).
13808==> meta_argtypes(becomeSeparated(diver,diver)).
13809
13810% event BeReunitedWith(diver,diver)
13811 % event(beReunitedWith(diver,diver)).
13812% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4045
13813==> mpred_prop(beReunitedWith(diver,diver),event).
13814==> meta_argtypes(beReunitedWith(diver,diver)).
13815
13816
13821axiom(initiates(becomeSeparated(Diver1, Diver2), separated(Diver1, Diver2), Time),
13822 []).
13823
13824
13829axiom(initiates(becomeSeparated(Diver1, Diver2), separated(Diver2, Diver1), Time),
13830 []).
13831
13832
13837axiom(terminates(beReunitedWith(Diver1, Diver2), separated(Diver1, Diver2), Time),
13838 []).
13839
13840
13845axiom(terminates(beReunitedWith(Diver1, Diver2), separated(Diver2, Diver1), Time),
13846 []).
13847
13848
13849% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4058
13850%; End of file.
13851%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13852%; FILE: ecnet/Dress.e
13853%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13854%;
13855%; Copyright (c) 2005 IBM Corporation and others.
13856%; All rights reserved. This program and the accompanying materials
13857%; are made available under the terms of the Common Public License v1.0
13858%; which accompanies this distribution, and is available at
13859%; http://www.eclipse.org/legal/cpl-v10.html
13860%;
13861%; Contributors:
13862%; IBM - Initial implementation
13863%;
13864%; Dress
13865%; (cf Sleep)
13866%;
13867
13868% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4080
13869% event PutOn(agent,clothing)
13870 % event(putOn(agent,clothing)).
13871% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4081
13872==> mpred_prop(putOn(agent,clothing),event).
13873==> meta_argtypes(putOn(agent,clothing)).
13874
13875% event TakeOff(agent,clothing)
13876 % event(takeOff(agent,clothing)).
13877% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4083
13878==> mpred_prop(takeOff(agent,clothing),event).
13879==> meta_argtypes(takeOff(agent,clothing)).
13880
13881% fluent Wearing(agent,clothing)
13882 % fluent(wearing(agent,clothing)).
13883% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4085
13884==> mpred_prop(wearing(agent,clothing),fluent).
13885==> meta_argtypes(wearing(agent,clothing)).
13886
13887
13894axiom(initiates(putOn(Agent, Clothing), wearing(Agent, Clothing), Time),
13895 []).
13896
13897
13905
13906 13910
13911 13919axiom(not(some(Location6, '$kolem_Fn_341'(Fn_341_Param, At_Param, Maptime))),
13920
13921 [ holds_at(wearing(Fn_341_Param, At_Param), Maptime),
13922 happens(putOn(Fn_341_Param, At_Param), Maptime)
13923 ]).
13924axiom(not(some(Location6, '$kolem_Fn_341'(Fn_341_Param, At_Param, Maptime))),
13925
13926 [ not(holds_at(at(Fn_341_Param, Location6), Maptime)),
13927 happens(putOn(Fn_341_Param, At_Param), Maptime)
13928 ]).
13929axiom(not(some(Location6, '$kolem_Fn_341'(Fn_341_Param, At_Param, Maptime))),
13930
13931 [ not(holds_at(at(At_Param, Location6), Maptime)),
13932 happens(putOn(Fn_341_Param, At_Param), Maptime)
13933 ]).
13934
13935 13943axiom(not(happens(putOn(PutOn_Param, At_Param12), Maptime9)),
13944
13945 [ holds_at(wearing(PutOn_Param, At_Param12), Maptime9),
13946 some(Location10,
13947 '$kolem_Fn_341'(PutOn_Param, At_Param12, Maptime9))
13948 ]).
13949axiom(not(happens(putOn(PutOn_Param, At_Param12), Maptime9)),
13950
13951 [ not(holds_at(at(PutOn_Param, Location10), Maptime9)),
13952 some(Location10,
13953 '$kolem_Fn_341'(PutOn_Param, At_Param12, Maptime9))
13954 ]).
13955axiom(not(happens(putOn(PutOn_Param, At_Param12), Maptime9)),
13956
13957 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
13958 some(Location10,
13959 '$kolem_Fn_341'(PutOn_Param, At_Param12, Maptime9))
13960 ]).
13961
13962 13967axiom(not(holds_at(wearing(Wearing_Param, Wearing_Ret), Time13)),
13968
13969 [ happens(putOn(Wearing_Param, Wearing_Ret), Time13),
13970 some(Some_Param,
13971 '$kolem_Fn_341'(Wearing_Param, Wearing_Ret, Time13))
13972 ]).
13973
13974 13979axiom(holds_at(at(At_Param19, Location17), Time18),
13980
13981 [ happens(putOn(At_Param19, PutOn_Ret), Time18),
13982 some(Location17,
13983 '$kolem_Fn_341'(At_Param19, PutOn_Ret, Time18))
13984 ]).
13985
13986 13991axiom(holds_at(at(At_Param23, Location21), Time22),
13992
13993 [ happens(putOn(PutOn_Param24, At_Param23), Time22),
13994 some(Location21,
13995 '$kolem_Fn_341'(PutOn_Param24, At_Param23, Time22))
13996 ]).
13997
13998
14005axiom(terminates(takeOff(Agent, Clothing), wearing(Agent, Clothing), Time),
14006 []).
14007
14008
14014axiom(requires(takeOff(Agent, Clothing), Time),
14015 [holds_at(wearing(Agent, Clothing), Time)]).
14016
14017
14022axiom(releases(putOn(Agent, Clothing), at(Clothing, Location), Time),
14023 []).
14024
14025
14032axiom(holds_at(at(Clothing, Location), Time),
14033
14034 [ holds_at(wearing(Agent, Clothing), Time),
14035 holds_at(at(Agent, Location), Time)
14036 ]).
14037
14038
14049axiom(initiates(takeOff(Agent, Clothing), at(Clothing, Location), Time),
14050 [holds_at(at(Agent, Location), Time)]).
14051
14052
14053% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4123
14054%; End of file.
14055%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14056%; FILE: ecnet/HungerNeed.e
14057%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14058%;
14059%; Copyright (c) 2005 IBM Corporation and others.
14060%; All rights reserved. This program and the accompanying materials
14061%; are made available under the terms of the Common Public License v1.0
14062%; which accompanies this distribution, and is available at
14063%; http://www.eclipse.org/legal/cpl-v10.html
14064%;
14065%; Contributors:
14066%; IBM - Initial implementation
14067%;
14068%; hunger need
14069%;
14070
14071% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4144
14072% fluent Hungry(agent)
14073 % fluent(hungry(agent)).
14074% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4145
14075==> mpred_prop(hungry(agent),fluent).
14076==> meta_argtypes(hungry(agent)).
14077
14078% fluent Satiated(agent)
14079 % fluent(satiated(agent)).
14080% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4147
14081==> mpred_prop(satiated(agent),fluent).
14082==> meta_argtypes(satiated(agent)).
14083
14084% noninertial Satiated
14085% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4148
14086==> noninertial(satiated).
14087
14088
14091 14092
14093 14096axiom(holds_at(hungry(Agent), Time),
14097 [not(holds_at(satiated(Agent), Time))]).
14098axiom(not(holds_at(satiated(Agent), Time)),
14099 [holds_at(hungry(Agent), Time)]).
14100
14101% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4151
14102% event Eat(agent,food)
14103 % event(eat(agent,food)).
14104% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4152
14105==> mpred_prop(eat(agent,food),event).
14106==> meta_argtypes(eat(agent,food)).
14107
14108
14116
14117 14121
14122 14129axiom(not(some(Location6, '$kolem_Fn_342'(Fn_342_Param, At_Param, Maptime))),
14130
14131 [ not(holds_at(at(Fn_342_Param, Location6), Maptime)),
14132 happens(eat(Fn_342_Param, At_Param), Maptime)
14133 ]).
14134axiom(not(some(Location6, '$kolem_Fn_342'(Fn_342_Param, At_Param, Maptime))),
14135
14136 [ not(holds_at(at(At_Param, Location6), Maptime)),
14137 happens(eat(Fn_342_Param, At_Param), Maptime)
14138 ]).
14139
14140 14147axiom(not(happens(eat(Eat_Param, At_Param12), Maptime9)),
14148
14149 [ not(holds_at(at(Eat_Param, Location10), Maptime9)),
14150 some(Location10,
14151 '$kolem_Fn_342'(Eat_Param, At_Param12, Maptime9))
14152 ]).
14153axiom(not(happens(eat(Eat_Param, At_Param12), Maptime9)),
14154
14155 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
14156 some(Location10,
14157 '$kolem_Fn_342'(Eat_Param, At_Param12, Maptime9))
14158 ]).
14159
14160 14165axiom(holds_at(at(At_Param15, Location13), Time14),
14166
14167 [ happens(eat(At_Param15, Eat_Ret), Time14),
14168 some(Location13,
14169 '$kolem_Fn_342'(At_Param15, Eat_Ret, Time14))
14170 ]).
14171
14172 14177axiom(holds_at(at(At_Param19, Location17), Time18),
14178
14179 [ happens(eat(Eat_Param20, At_Param19), Time18),
14180 some(Location17,
14181 '$kolem_Fn_342'(Eat_Param20, At_Param19, Time18))
14182 ]).
14183
14184
14189axiom(terminates(eat(Agent, Food), hungry(Agent), Time),
14190 []).
14191
14192
14193% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4162
14194%; End of file.
14195%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14196%; FILE: ecnet/Restaurant.e
14197%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14198%;
14199%; Copyright (c) 2005 IBM Corporation and others.
14200%; All rights reserved. This program and the accompanying materials
14201%; are made available under the terms of the Common Public License v1.0
14202%; which accompanies this distribution, and is available at
14203%; http://www.eclipse.org/legal/cpl-v10.html
14204%;
14205%; Contributors:
14206%; IBM - Initial implementation
14207%;
14208
14209% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4180
14210% sort restaurant: script
14211% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4181
14212==> subsort(restaurant,script).
14213
14214% sort waiter: agent
14215% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4182
14216==> subsort(waiter,agent).
14217
14218% sort cook: agent
14219% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4183
14220==> subsort(cook,agent).
14221
14222% function BillOf(restaurant): bill
14223 % functional_predicate(billOf(restaurant,bill)).
14224% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4185
14225==> mpred_prop(billOf(restaurant,bill),functional_predicate).
14226==> meta_argtypes(billOf(restaurant,bill)).
14227resultIsa(billOf,bill).
14228
14229% function CookOf(restaurant): cook
14230 % functional_predicate(cookOf(restaurant,cook)).
14231% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4186
14232==> mpred_prop(cookOf(restaurant,cook),functional_predicate).
14233==> meta_argtypes(cookOf(restaurant,cook)).
14234resultIsa(cookOf,cook).
14235
14236% function TableOf(restaurant): table
14237 % functional_predicate(tableOf(restaurant,table)).
14238% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4187
14239==> mpred_prop(tableOf(restaurant,table),functional_predicate).
14240==> meta_argtypes(tableOf(restaurant,table)).
14241resultIsa(tableOf,table).
14242
14243% function WaiterOf(restaurant): waiter
14244 % functional_predicate(waiterOf(restaurant,waiter)).
14245% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4188
14246==> mpred_prop(waiterOf(restaurant,waiter),functional_predicate).
14247==> meta_argtypes(waiterOf(restaurant,waiter)).
14248resultIsa(waiterOf,waiter).
14249
14250% function KitchenDoorOf(restaurant): door
14251 % functional_predicate(kitchenDoorOf(restaurant,door)).
14252% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4189
14253==> mpred_prop(kitchenDoorOf(restaurant,door),functional_predicate).
14254==> meta_argtypes(kitchenDoorOf(restaurant,door)).
14255resultIsa(kitchenDoorOf,door).
14256%; awaiting customer/waiter has set down bill on customer's table
14257
14258% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4191
14259% fluent BeWaiter0(waiter)
14260 % fluent(beWaiter0(waiter)).
14261% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4192
14262==> mpred_prop(beWaiter0(waiter),fluent).
14263==> meta_argtypes(beWaiter0(waiter)).
14264
14265
14266% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4193
14267%; awaiting customer order
14268
14269% fluent BeWaiter1(waiter)
14270 % fluent(beWaiter1(waiter)).
14271% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4195
14272==> mpred_prop(beWaiter1(waiter),fluent).
14273==> meta_argtypes(beWaiter1(waiter)).
14274
14275
14276% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4196
14277%; has customer order
14278
14279% fluent BeWaiter2(waiter)
14280 % fluent(beWaiter2(waiter)).
14281% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4198
14282==> mpred_prop(beWaiter2(waiter),fluent).
14283==> meta_argtypes(beWaiter2(waiter)).
14284
14285
14286% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4199
14287%; in kitchen
14288
14289% fluent BeWaiter3(waiter)
14290 % fluent(beWaiter3(waiter)).
14291% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4201
14292==> mpred_prop(beWaiter3(waiter),fluent).
14293==> meta_argtypes(beWaiter3(waiter)).
14294
14295
14296% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4202
14297%; awaiting preparation of order
14298
14299% fluent BeWaiter4(waiter)
14300 % fluent(beWaiter4(waiter)).
14301% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4204
14302==> mpred_prop(beWaiter4(waiter),fluent).
14303==> meta_argtypes(beWaiter4(waiter)).
14304
14305
14306% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4205
14307%; has order
14308
14309% fluent BeWaiter5(waiter)
14310 % fluent(beWaiter5(waiter)).
14311% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4207
14312==> mpred_prop(beWaiter5(waiter),fluent).
14313==> meta_argtypes(beWaiter5(waiter)).
14314
14315
14316% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4208
14317%; back in dining room
14318
14319% fluent BeWaiter6(waiter)
14320 % fluent(beWaiter6(waiter)).
14321% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4210
14322==> mpred_prop(beWaiter6(waiter),fluent).
14323==> meta_argtypes(beWaiter6(waiter)).
14324
14325
14326% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4211
14327%; order delivered to customer (can ask if all is OK)
14328
14329% fluent BeWaiter7(waiter)
14330 % fluent(beWaiter7(waiter)).
14331% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4213
14332==> mpred_prop(beWaiter7(waiter),fluent).
14333==> meta_argtypes(beWaiter7(waiter)).
14334
14335
14336% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4214
14337%; customer has requested bill
14338
14339% fluent BeWaiter8(waiter)
14340 % fluent(beWaiter8(waiter)).
14341% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4216
14342==> mpred_prop(beWaiter8(waiter),fluent).
14343==> meta_argtypes(beWaiter8(waiter)).
14344
14345
14346% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4217
14347%; waiter is holding bill
14348
14349% fluent BeWaiter9(waiter)
14350 % fluent(beWaiter9(waiter)).
14351% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4219
14352==> mpred_prop(beWaiter9(waiter),fluent).
14353==> meta_argtypes(beWaiter9(waiter)).
14354
14357xor([ beWaiter0,
14358 beWaiter1,
14359 beWaiter2,
14360 beWaiter3,
14361 beWaiter4,
14362 beWaiter5,
14363 beWaiter6,
14364 beWaiter7,
14365 beWaiter8,
14366 beWaiter9
14367 ]).
14368
14369
14377axiom(terminates(greet(Waiter, Agent), beWaiter0(Waiter), Time),
14378 [holds_at(beWaiter0(Waiter), Time)]).
14379
14380
14388axiom(initiates(greet(Waiter, Agent), beWaiter1(Waiter), Time),
14389 [holds_at(beWaiter0(Waiter), Time)]).
14390
14391
14399axiom(terminates(order(Agent, Waiter, Food), beWaiter1(Waiter), Time),
14400 [holds_at(beWaiter1(Waiter), Time)]).
14401
14402
14410axiom(initiates(order(Agent, Waiter, Food), beWaiter2(Waiter), Time),
14411 [holds_at(beWaiter1(Waiter), Time)]).
14412
14413
14420axiom(happens(walkThroughDoor12(Waiter, kitchenDoorOf(Restaurant)), Time),
14421
14422 [ equals(waiterOf(Restaurant), Waiter),
14423 holds_at(beWaiter2(Waiter), Time)
14424 ]).
14425
14426
14436axiom(terminates(walkThroughDoor12(Waiter, Door), beWaiter2(Waiter), Time),
14437
14438 [ holds_at(beWaiter2(Waiter), Time),
14439 equals(waiterOf(Restaurant), Waiter),
14440 equals(kitchenDoorOf(Restaurant), Door)
14441 ]).
14442
14443
14453axiom(initiates(walkThroughDoor12(Waiter, Door), beWaiter3(Waiter), Time),
14454
14455 [ holds_at(beWaiter2(Waiter), Time),
14456 equals(waiterOf(Restaurant), Waiter),
14457 equals(kitchenDoorOf(Restaurant), Door)
14458 ]).
14459
14460
14467axiom(happens(order(waiterOf(Restaurant), cookOf(Restaurant), Food), Time),
14468
14469 [ holds_at(beWaiter3(waiterOf(Restaurant)), Time),
14470 holds_at(knowOrder(waiterOf(Restaurant), Agent, Food),
14471 Time)
14472 ]).
14473
14474
14484axiom(terminates(order(Waiter, Cook, Food), beWaiter3(Waiter), Time),
14485
14486 [ equals(waiterOf(Restaurant), Waiter),
14487 equals(cookOf(Restaurant), Cook),
14488 holds_at(beWaiter3(Waiter), Time)
14489 ]).
14490
14491
14501axiom(initiates(order(Waiter, Cook, Food), beWaiter4(Waiter), Time),
14502
14503 [ equals(waiterOf(Restaurant), Waiter),
14504 equals(cookOf(Restaurant), Cook),
14505 holds_at(beWaiter3(Waiter), Time)
14506 ]).
14507
14508
14516axiom(happens(pickUp(Waiter, Food), Time),
14517
14518 [ holds_at(beWaiter4(Waiter), Time),
14519 holds_at(knowOrder(Waiter, Agent, Food), Time),
14520 holds_at(foodPrepared(Food), Time)
14521 ]).
14522
14523
14532axiom(terminates(pickUp(Waiter, Food), beWaiter4(Waiter), Time),
14533
14534 [ holds_at(beWaiter4(Waiter), Time),
14535 holds_at(knowOrder(Waiter, Agent, Food), Time)
14536 ]).
14537
14538
14547axiom(initiates(pickUp(Waiter, Food), beWaiter5(Waiter), Time),
14548
14549 [ holds_at(beWaiter4(Waiter), Time),
14550 holds_at(knowOrder(Waiter, Agent, Food), Time)
14551 ]).
14552
14553
14560axiom(happens(walkThroughDoor21(Waiter, kitchenDoorOf(Restaurant)), Time),
14561
14562 [ equals(waiterOf(Restaurant), Waiter),
14563 holds_at(beWaiter5(Waiter), Time)
14564 ]).
14565
14566
14576axiom(terminates(walkThroughDoor21(Waiter, Door), beWaiter5(Waiter), Time),
14577
14578 [ holds_at(beWaiter5(Waiter), Time),
14579 equals(waiterOf(Restaurant), Waiter),
14580 equals(kitchenDoorOf(Restaurant), Door)
14581 ]).
14582
14583
14593axiom(initiates(walkThroughDoor21(Waiter, Door), beWaiter6(Waiter), Time),
14594
14595 [ holds_at(beWaiter5(Waiter), Time),
14596 equals(waiterOf(Restaurant), Waiter),
14597 equals(kitchenDoorOf(Restaurant), Door)
14598 ]).
14599
14600
14609axiom(happens(placeOn(Waiter, Food, Table), Time),
14610
14611 [ equals(waiterOf(Restaurant), Waiter),
14612 equals(tableOf(Restaurant), Table),
14613 holds_at(beWaiter6(Waiter), Time),
14614 holds_at(holding(Waiter, Food), Time)
14615 ]).
14616
14617
14625axiom(terminates(placeOn(Waiter, Food, Table), beWaiter6(Waiter), Time),
14626 [holds_at(beWaiter6(Waiter), Time)]).
14627
14628
14636axiom(initiates(placeOn(Waiter, Food, Table), beWaiter7(Waiter), Time),
14637 [holds_at(beWaiter6(Waiter), Time)]).
14638
14639
14647axiom(terminates(request(Agent, Waiter, Bill), beWaiter7(Waiter), Time),
14648 [holds_at(beWaiter7(Waiter), Time)]).
14649
14650
14658axiom(initiates(request(Agent, Waiter, Bill), beWaiter8(Waiter), Time),
14659 [holds_at(beWaiter7(Waiter), Time)]).
14660
14661
14669axiom(happens(pickUp(Waiter, Bill), Time),
14670
14671 [ equals(waiterOf(Restaurant), Waiter),
14672 equals(billOf(Restaurant), Bill),
14673 holds_at(beWaiter8(Waiter), Time)
14674 ]).
14675
14676
14684axiom(terminates(pickUp(Waiter, Bill), beWaiter8(Waiter), Time),
14685 [holds_at(beWaiter8(Waiter), Time)]).
14686
14687
14695axiom(initiates(pickUp(Waiter, Bill), beWaiter9(Waiter), Time),
14696 [holds_at(beWaiter8(Waiter), Time)]).
14697
14698
14707axiom(happens(placeOn(Waiter, Bill, Table), Time),
14708
14709 [ equals(waiterOf(Restaurant), Waiter),
14710 equals(billOf(Restaurant), Bill),
14711 equals(tableOf(Restaurant), Table),
14712 holds_at(beWaiter9(Waiter), Time)
14713 ]).
14714
14715
14723axiom(terminates(placeOn(Waiter, Bill, Table), beWaiter9(Waiter), Time),
14724 [holds_at(beWaiter9(Waiter), Time)]).
14725
14726
14734axiom(initiates(placeOn(Waiter, Bill, Table), beWaiter0(Waiter), Time),
14735 [holds_at(beWaiter9(Waiter), Time)]).
14736
14737
14738% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4397
14739%; awaiting next waiter order
14740
14741% fluent BeCook0(cook)
14742 % fluent(beCook0(cook)).
14743% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4399
14744==> mpred_prop(beCook0(cook),fluent).
14745==> meta_argtypes(beCook0(cook)).
14746
14747
14748% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4400
14749%; waiter order received
14750
14751% fluent BeCook1(cook)
14752 % fluent(beCook1(cook)).
14753% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4402
14754==> mpred_prop(beCook1(cook),fluent).
14755==> meta_argtypes(beCook1(cook)).
14756
14759xor([beCook0,beCook1]).
14760
14761
14769axiom(terminates(order(Agent, Cook, Food), beCook0(Cook), Time),
14770 [holds_at(beCook0(Cook), Time)]).
14771
14772
14780axiom(initiates(order(Agent, Cook, Food), beCook1(Cook), Time),
14781 [holds_at(beCook0(Cook), Time)]).
14782
14783% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4417
14784% event FoodPrepare(agent,food)
14785 % event(foodPrepare(agent,food)).
14786% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4418
14787==> mpred_prop(foodPrepare(agent,food),event).
14788==> meta_argtypes(foodPrepare(agent,food)).
14789
14790% fluent FoodPrepared(food)
14791 % fluent(foodPrepared(food)).
14792% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4420
14793==> mpred_prop(foodPrepared(food),fluent).
14794==> meta_argtypes(foodPrepared(food)).
14795
14796
14803axiom(initiates(foodPrepare(Agent, Food), foodPrepared(Food), Time),
14804 []).
14805
14806
14814
14815 14819
14820 14827axiom(not(some(Location6, '$kolem_Fn_347'(Fn_347_Param, At_Param, Maptime))),
14828
14829 [ not(holds_at(at(Fn_347_Param, Location6), Maptime)),
14830 happens(foodPrepare(Fn_347_Param, At_Param), Maptime)
14831 ]).
14832axiom(not(some(Location6, '$kolem_Fn_347'(Fn_347_Param, At_Param, Maptime))),
14833
14834 [ not(holds_at(at(At_Param, Location6), Maptime)),
14835 happens(foodPrepare(Fn_347_Param, At_Param), Maptime)
14836 ]).
14837
14838 14848axiom(not(happens(foodPrepare(FoodPrepare_Param, At_Param12), Maptime9)),
14849
14850 [ not(holds_at(at(FoodPrepare_Param, Location10),
14851 Maptime9)),
14852 some(Location10,
14853 '$kolem_Fn_347'(FoodPrepare_Param,
14854 At_Param12,
14855 Maptime9))
14856 ]).
14857axiom(not(happens(foodPrepare(FoodPrepare_Param, At_Param12), Maptime9)),
14858
14859 [ not(holds_at(at(At_Param12, Location10), Maptime9)),
14860 some(Location10,
14861 '$kolem_Fn_347'(FoodPrepare_Param,
14862 At_Param12,
14863 Maptime9))
14864 ]).
14865
14866 14871axiom(holds_at(at(At_Param15, Location13), Time14),
14872
14873 [ happens(foodPrepare(At_Param15, FoodPrepare_Ret),
14874 Time14),
14875 some(Location13,
14876 '$kolem_Fn_347'(At_Param15, FoodPrepare_Ret, Time14))
14877 ]).
14878
14879 14887axiom(holds_at(at(At_Param19, Location17), Time18),
14888
14889 [ happens(foodPrepare(FoodPrepare_Param20, At_Param19),
14890 Time18),
14891 some(Location17,
14892 '$kolem_Fn_347'(FoodPrepare_Param20,
14893 At_Param19,
14894 Time18))
14895 ]).
14896
14897
14904axiom(happens(foodPrepare(Cook, Food), Time),
14905
14906 [ holds_at(beCook1(Cook), Time),
14907 holds_at(knowOrder(Cook, Agent, Food), Time)
14908 ]).
14909
14910
14918axiom(terminates(foodPrepare(Cook, Food), beCook1(Cook), Time),
14919 [holds_at(beCook1(Cook), Time)]).
14920
14921
14929axiom(initiates(foodPrepare(Cook, Food), beCook0(Cook), Time),
14930 [holds_at(beCook1(Cook), Time)]).
14931
14932
14958
14962:- set_ec_option(modeldiff, on).14963
14966:- set_ec_option(encoding, 3).14967
14970:- set_ec_option(renaming, off).14971
14974ignore(love).
14975ignore(threatenedBy).
14976
14979ignore(lookOutOnto).
14980ignore(floor).
14981ignore(buildingOf).
14982ignore(skyOf).
14983ignore(groundOf).
14984
14987ignore(inside).
14988
14991ignore(near).
14992ignore(walkFrom).
14993ignore(walkFromTo).
14994ignore(runFromTo).
14995
14998ignore(billOf).
14999ignore(cookOf).
15000ignore(tableOf).
15001ignore(waiterOf).
15002ignore(kitchenDoorOf).
15003
15006ignore(beWaiter0).
15007ignore(beWaiter1).
15008ignore(beWaiter2).
15009ignore(beWaiter3).
15010ignore(beWaiter4).
15011
15014ignore(beWaiter5).
15015ignore(beWaiter6).
15016ignore(beWaiter7).
15017ignore(beWaiter8).
15018ignore(beWaiter9).
15019
15022ignore(beCook0).
15023ignore(beCook1).
15024
15027ignore(inviteIn).
15028ignore(invitedIn).
15029ignore(intendToWalkIn).
15030ignore(intentionToWalkIn).
15031
15034ignore(actOnIntentionToWalkIn).
15035ignore(greet).
15036ignore(sayGoodbye).
15037ignore(cryForJoy).
15038
15041ignore(threaten).
15042ignore(releaseFromThreat).
15043ignore(threatenedBy).
15044
15047ignore(order).
15048ignore(knowOrder).
15049ignore(request).
15050ignore(knowRequest).
15051
15054ignore(putInside).
15055ignore(takeOutOf).
15056
15059ignore(sayPleaseToMeet).
15060ignore(move).
15061
15063
15066
15069load('answers/Mueller2003/Ontology.e').
15070
15073load('answers/Mueller2004c/RTSpaceM.e').
15074
15077load('answers/Mueller2004c/OTSpaceM.e').
15078
15081load('answers/Mueller2004c/HungerNeed.e').
15082
15085load('answers/Mueller2004c/Restaurant.e').
15086
15089load('answers/Mueller2003/Sleep.e').
15090
15093load('answers/Mueller2003/SpeechAct.e').
15094
15097load('answers/Mueller2004c/Dress.e').
15098
15099% room Upstairs1
15100% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4509
15101==> t(room,upstairs1).
15102
15103% staircase Staircase1
15104% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4511
15105==> t(staircase,staircase1).
15106
15107% room Hallway1
15108% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4513
15109==> t(room,hallway1).
15110
15111
15114side1(staircase1,hallway1).
15115
15116
15119side2(staircase1,upstairs1).
15120
15121% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4517
15122% door DiningRoomDoor1
15123% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4518
15124==> t(door,diningRoomDoor1).
15125
15126% room DiningRoom1
15127% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4520
15128==> t(room,diningRoom1).
15129
15130
15133side1(diningRoomDoor1,hallway1).
15134
15135
15138side2(diningRoomDoor1,diningRoom1).
15139
15140% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4524
15141% door KitchenDoor1
15142% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4525
15143==> t(door,kitchenDoor1).
15144
15145% room Kitchen1
15146% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4527
15147==> t(room,kitchen1).
15148
15149
15152side1(kitchenDoor1,diningRoom1).
15153
15154
15157side2(kitchenDoor1,kitchen1).
15158
15159% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4531
15160% agent Eater1
15161% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4532
15162==> t(agent,eater1).
15163
15164% agent Eater2
15165% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4534
15166==> t(agent,eater2).
15167
15168% clothing Clothing1
15169% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4536
15170==> t(clothing,clothing1).
15171
15172% clothing Clothing2
15173% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4538
15174==> t(clothing,clothing2).
15175
15176% chair Chair1
15177% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4540
15178==> t(chair,chair1).
15179
15180% chair Chair2
15181% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4542
15182==> t(chair,chair2).
15183
15184% food Food1
15185% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4544
15186==> t(food,food1).
15187
15188% agent Cook1
15189% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4546
15190==> t(agent,cook1).
15191
15192% table Table1
15193% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4548
15194==> t(table,table1).
15195
15196% content Content1
15197% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4550
15198==> t(content,content1).
15199
15200% content Content2
15201% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4552
15202==> t(content,content2).
15203
15204% outside DummyOutside1
15205% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4554
15206==> t(outside,dummyOutside1).
15207%; prune
15208
15209% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4556
15210% sort ona, onb
15211% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4557
15212==> sort(ona).
15213==> sort(onb).
15214
15215% fluent! On(ona,onb)
15216 % fluent(on(ona,onb)).
15217% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4558
15218==> mpred_prop(on(ona,onb),fluent).
15219==> meta_argtypes(on(ona,onb)).
15220
15221% event! PlaceOn(agent,ona,onb)
15222 % event(placeOn(agent,ona,onb)).
15223% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4559
15224==> mpred_prop(placeOn(agent,ona,onb),event).
15225==> meta_argtypes(placeOn(agent,ona,onb)).
15226
15227% event! TakeOffOf(agent,ona,onb)
15228 % event(takeOffOf(agent,ona,onb)).
15229% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4560
15230==> mpred_prop(takeOffOf(agent,ona,onb),event).
15231==> meta_argtypes(takeOffOf(agent,ona,onb)).
15232
15233% sort ordera, orderb, orderc
15234% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4562
15235==> sort(ordera).
15236==> sort(orderb).
15237==> sort(orderc).
15238
15239% event! Order(ordera,orderb,orderc)
15240 % event(order(ordera,orderb,orderc)).
15241% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4563
15242==> mpred_prop(order(ordera,orderb,orderc),event).
15243==> meta_argtypes(order(ordera,orderb,orderc)).
15244
15245% fluent! KnowOrder(orderb,ordera,orderc)
15246 % fluent(knowOrder(orderb,ordera,orderc)).
15247% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4564
15248==> mpred_prop(knowOrder(orderb,ordera,orderc),fluent).
15249==> meta_argtypes(knowOrder(orderb,ordera,orderc)).
15250
15251% sort requesta, requestb, requestc
15252% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4566
15253==> sort(requesta).
15254==> sort(requestb).
15255==> sort(requestc).
15256
15257% event! Request(requesta,requestb,requestc)
15258 % event(request(requesta,requestb,requestc)).
15259% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4567
15260==> mpred_prop(request(requesta,requestb,requestc),event).
15261==> meta_argtypes(request(requesta,requestb,requestc)).
15262
15263% fluent! KnowRequest(requestb,requesta,requestc)
15264 % fluent(knowRequest(requestb,requesta,requestc)).
15265% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4568
15266==> mpred_prop(knowRequest(requestb,requesta,requestc),fluent).
15267==> meta_argtypes(knowRequest(requestb,requesta,requestc)).
15268
15269% sort holda, holdb, holdc
15270% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4570
15271==> sort(holda).
15272==> sort(holdb).
15273==> sort(holdc).
15274
15275% event! TakeOffOf(holda,holdb,holdc)
15276 % event(takeOffOf(holda,holdb,holdc)).
15277% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4571
15278==> mpred_prop(takeOffOf(holda,holdb,holdc),event).
15279==> meta_argtypes(takeOffOf(holda,holdb,holdc)).
15280
15281% event! PickUp(holda,holdb)
15282 % event(pickUp(holda,holdb)).
15283% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4572
15284==> mpred_prop(pickUp(holda,holdb),event).
15285==> meta_argtypes(pickUp(holda,holdb)).
15286
15287% event! LetGoOf(holda,holdb)
15288 % event(letGoOf(holda,holdb)).
15289% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4573
15290==> mpred_prop(letGoOf(holda,holdb),event).
15291==> meta_argtypes(letGoOf(holda,holdb)).
15292
15293% event! Hold(holda,holdb)
15294 % event(hold(holda,holdb)).
15295% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4574
15296==> mpred_prop(hold(holda,holdb),event).
15297==> meta_argtypes(hold(holda,holdb)).
15298
15299% fluent! Holding(holda,holdb)
15300 % fluent(holding(holda,holdb)).
15301% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4575
15302==> mpred_prop(holding(holda,holdb),fluent).
15303==> meta_argtypes(holding(holda,holdb)).
15304
15305% sort sita, sitb
15306% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4577
15307==> sort(sita).
15308==> sort(sitb).
15309
15310% event! LieOn(sita,sitb)
15311 % event(lieOn(sita,sitb)).
15312% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4578
15313==> mpred_prop(lieOn(sita,sitb),event).
15314==> meta_argtypes(lieOn(sita,sitb)).
15315
15316% event! SitOn(sita,sitb)
15317 % event(sitOn(sita,sitb)).
15318% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4579
15319==> mpred_prop(sitOn(sita,sitb),event).
15320==> meta_argtypes(sitOn(sita,sitb)).
15321
15322% event! RiseFrom(sita,sitb)
15323 % event(riseFrom(sita,sitb)).
15324% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4580
15325==> mpred_prop(riseFrom(sita,sitb),event).
15326==> meta_argtypes(riseFrom(sita,sitb)).
15327
15328% fluent! LyingOn(sita,sitb)
15329 % fluent(lyingOn(sita,sitb)).
15330% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4581
15331==> mpred_prop(lyingOn(sita,sitb),fluent).
15332==> meta_argtypes(lyingOn(sita,sitb)).
15333
15334% fluent! SittingOn(sita,sitb)
15335 % fluent(sittingOn(sita,sitb)).
15336% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4582
15337==> mpred_prop(sittingOn(sita,sitb),fluent).
15338==> meta_argtypes(sittingOn(sita,sitb)).
15339
15340% ona! Food1
15341% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4584
15342==> t(ona,food1).
15343
15344% onb! Table1
15345% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4585
15346==> t(onb,table1).
15347
15348% holda! Cook1
15349% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4586
15350==> t(holda,cook1).
15351
15352% holdb! Food1
15353% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4587
15354==> t(holdb,food1).
15355
15356% holdc! Table1
15357% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4588
15358==> t(holdc,table1).
15359
15360% sita! Eater1
15361% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4589
15362==> t(sita,eater1).
15363
15364% sitb! Chair1
15365% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4590
15366==> t(sitb,chair1).
15369 15371axiom(initially(dressed(Agent)),
15372 []).
15373
15374
15377 15378axiom(initially(awake(Agent)),
15379 []).
15380
15381
15384 15385axiom(initially(sleep3(Agent)),
15386 []).
15387
15388
15391 15392axiom(initially(standing(Agent)),
15393 []).
15394
15395
15398 15399axiom(initially(standing(Agent)),
15400 []).
15401
15402
15405 15406 15407axiom(not(initially(holding(Holding_Param, Holding_Ret))),
15408 []).
15409
15410
15413 15414axiom(initially(at(Food, kitchen1)),
15415 []).
15416
15417
15420 15421 15422axiom(not(initially(foodPrepared(FoodPrepared_Ret))),
15423 []).
15424
15425
15428 15429axiom(initially(hungry(Agent)),
15430 []).
15431
15432
15435 15436axiom(initially(doorIsOpen(Door)),
15437 []).
15438
15439
15442 15443axiom(initially(at(Clothing, upstairs1)),
15444 []).
15445
15446
15449 15450axiom(initially(at(Chair, diningRoom1)),
15451 []).
15452
15453
15456axiom(initially(at(cook1, kitchen1)),
15457 []).
15458
15459
15462axiom(initially(at(table1, diningRoom1)),
15463 []).
15464
15465
15468 15469 15470axiom(not(initially(wearing(Wearing_Param, Wearing_Ret))),
15471 []).
15472
15473
15476
15477
15480axiom(initially(at(cook1, kitchen1)),
15481 []).
15482
15483
15486axiom(initially(at(eater1, upstairs1)),
15487 []).
15488
15489
15492axiom(initially(at(eater2, upstairs1)),
15493 []).
15494
15495
15498axiom(happens(foodPrepare(cook1, food1), t),
15499 [is_time(0)]).
15500
15501
15504axiom(happens(putOn(eater1, clothing1), start),
15505 [is_time(1), b(t, start), ignore(t+1=start)]).
15506
15507
15510axiom(happens(putOn(eater2, clothing2), t2),
15511 [is_time(2), b(t, t2), ignore(t+2=t2)]).
15512
15513
15516axiom(happens(walkDownStaircase(eater1, staircase1), t3),
15517 [is_time(3), b(t, t3), ignore(t+3=t3)]).
15518
15519
15522axiom(happens(walkDownStaircase(eater2, staircase1), t4),
15523 [is_time(4), b(t, t4), ignore(t+4=t4)]).
15524
15525
15528axiom(happens(walkThroughDoor12(eater1, diningRoomDoor1), t5),
15529 [is_time(5), b(t, t5), ignore(t+5=t5)]).
15530
15531
15534axiom(happens(walkThroughDoor12(eater2, diningRoomDoor1), t6),
15535 [is_time(6), b(t, t6), ignore(t+6=t6)]).
15536
15537
15540axiom(happens(sitOn(eater1, chair1), t7),
15541 [is_time(7), b(t, t7), ignore(t+7=t7)]).
15542
15543
15546axiom(happens(sitOn(eater2, chair2), t8),
15547 [is_time(8), b(t, t8), ignore(t+8=t8)]).
15548
15549
15552axiom(happens(pickUp(cook1, food1), t9),
15553 [is_time(9), b(t, t9), ignore(t+9=t9)]).
15554
15555
15558axiom(happens(walkThroughDoor21(cook1, kitchenDoor1), t10),
15559 [is_time(10), b(t, t10), ignore(t+10=t10)]).
15560
15561
15564axiom(happens(placeOn(cook1, food1, table1), t11),
15565 [is_time(11), b(t, t11), ignore(t+11=t11)]).
15566
15567
15570axiom(happens(walkThroughDoor12(cook1, kitchenDoor1), t12),
15571 [is_time(12), b(t, t12), ignore(t+12=t12)]).
15572
15573
15576axiom(happens(eat(eater1, food1), t13),
15577 [is_time(13), b(t, t13), ignore(t+13=t13)]).
15578
15579
15582axiom(happens(eat(eater2, food1), t14),
15583 [is_time(14), b(t, t14), ignore(t+14=t14)]).
15584
15585
15588axiom(happens(converse(eater1, eater2), t15),
15589 [is_time(15), b(t, t15), ignore(t+15=t15)]).
15590
15591
15594axiom(happens(talkAbout(eater1, content1), t16),
15595 [is_time(16), b(t, t16), ignore(t+16=t16)]).
15596
15597
15600axiom(happens(talkAbout(eater2, content2), t17),
15601 [is_time(17), b(t, t17), ignore(t+17=t17)]).
15602
15603
15606axiom(happens(riseFrom(eater1, chair1), t18),
15607 [is_time(18), b(t, t18), ignore(t+18=t18)]).
15608
15609
15612axiom(happens(riseFrom(eater2, chair2), t19),
15613 [is_time(19), b(t, t19), ignore(t+19=t19)]).
15614
15615% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4633
15616% range time 0 20
15617% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4634
15618==> range(time,0,20).
15619
15620% range offset 0 0
15621% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4635
15622==> range(offset,0,0).
15623
15624% range diameter 0 0
15625% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4636
15626==> range(diameter,0,0).
15627
15628% completion Happens
15629% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test_ecnet.e:4638
15630==> completion(happens).