1:-include(library('ec_planner/ec_test_incl')).    2:-expects_dialect(pfc).    3 %  loading(always,'ectest/ec_reader_test.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.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.e:101
  140% sort time: integer
  141% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.e:283
  886% sort diameter: integer
  887% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.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.e:287
  892% sort object
  893% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.e:334
 1022% sort location
 1023% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.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.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.e:339
 1033% sort portal
 1034% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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_212'(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_212'(PartOf_Param, Location9, Time10))
 1206    ]).
 1207
 1208  1212axiom(not(some(Some_Param15, '$kolem_Fn_212'(Fn_212_Param, Location13, Time14))),
 1213   
 1214    [ not(releasedAt(at(Fn_212_Param, Location13), Time14)),
 1215      partOf(Fn_212_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.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.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.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.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.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.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.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.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.e:431
 1274==> noninertial(nearPortal).
 1287
 1288  1292
 1293  1309axiom(not(some(Location6, '$kolem_Fn_213'(Fn_213_Param, NearPortal_Ret, Time5))),
 1310   
 1311    [ not(equals(side1(NearPortal_Ret), Location6)),
 1312      not(equals(side2(NearPortal_Ret), Location6)),
 1313      holds_at(nearPortal(Fn_213_Param, NearPortal_Ret),
 1314               Time5)
 1315    ]).
 1316axiom(not(some(Location6, '$kolem_Fn_213'(Fn_213_Param, NearPortal_Ret, Time5))),
 1317   
 1318    [ not(holds_at(at(Fn_213_Param, Location6), Time5)),
 1319      holds_at(nearPortal(Fn_213_Param, NearPortal_Ret),
 1320               Time5)
 1321    ]).
 1322axiom(not(some(Location6, '$kolem_Fn_213'(Fn_213_Param, NearPortal_Ret, Time5))),
 1323   
 1324    [ equals(side1(NearPortal_Ret), Location6),
 1325      not(holds_at(nearPortal(Fn_213_Param, NearPortal_Ret),
 1326                   Time5)),
 1327      holds_at(at(Fn_213_Param, Location6), Time5)
 1328    ]).
 1329axiom(not(some(Location6, '$kolem_Fn_213'(Fn_213_Param, NearPortal_Ret, Time5))),
 1330   
 1331    [ equals(side2(NearPortal_Ret), Location6),
 1332      not(holds_at(nearPortal(Fn_213_Param, NearPortal_Ret),
 1333                   Time5)),
 1334      holds_at(at(Fn_213_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_213'(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_213'(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_213'(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_213'(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_213'(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_213'(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_213'(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_213'(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_213'(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_213'(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_213'(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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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_214'(Fn_214_Param, Fn_214_Ret))),
 2084   
 2085    [ equals(side1(Some_Param), Fn_214_Param),
 2086      equals(side2(Some_Param), Fn_214_Ret),
 2087      not(adjacent(Fn_214_Param, Fn_214_Ret))
 2088    ]).
 2089axiom(not(some(Some_Param, '$kolem_Fn_214'(Fn_214_Param, Fn_214_Ret))),
 2090   
 2091    [ equals(side2(Some_Param), Fn_214_Param),
 2092      equals(side1(Some_Param), Fn_214_Ret),
 2093      not(adjacent(Fn_214_Param, Fn_214_Ret))
 2094    ]).
 2095axiom(not(some(Some_Param, '$kolem_Fn_214'(Fn_214_Param, Fn_214_Ret))),
 2096   
 2097    [ not(equals(side2(Some_Param), Fn_214_Param)),
 2098      not(equals(side1(Some_Param), Fn_214_Param)),
 2099      adjacent(Fn_214_Param, Fn_214_Ret)
 2100    ]).
 2101axiom(not(some(Some_Param, '$kolem_Fn_214'(Fn_214_Param, Fn_214_Ret))),
 2102   
 2103    [ not(equals(side1(Some_Param), Fn_214_Ret)),
 2104      not(equals(side1(Some_Param), Fn_214_Param)),
 2105      adjacent(Fn_214_Param, Fn_214_Ret)
 2106    ]).
 2107axiom(not(some(Some_Param, '$kolem_Fn_214'(Fn_214_Param, Fn_214_Ret))),
 2108   
 2109    [ not(equals(side2(Some_Param), Fn_214_Param)),
 2110      not(equals(side2(Some_Param), Fn_214_Ret)),
 2111      adjacent(Fn_214_Param, Fn_214_Ret)
 2112    ]).
 2113axiom(not(some(Some_Param, '$kolem_Fn_214'(Fn_214_Param, Fn_214_Ret))),
 2114   
 2115    [ not(equals(side1(Some_Param), Fn_214_Ret)),
 2116      not(equals(side2(Some_Param), Fn_214_Ret)),
 2117      adjacent(Fn_214_Param, Fn_214_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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(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_214'(Adjacent_Param34, Equals_Ret36))
 2330    ]).
 2331
 2332
 2333% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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_217'(Fn_217_Param, PartOf_Param, At_Param, Maptime))),
 2753   
 2754    [ not(partOf(PartOf_Param, At_Param)),
 2755      happens(holdSome(Fn_217_Param, PartOf_Param, At_Param),
 2756              Maptime)
 2757    ]).
 2758axiom(not(some(Location7, '$kolem_Fn_217'(Fn_217_Param, PartOf_Param, At_Param, Maptime))),
 2759   
 2760    [ not(holds_at(at(Fn_217_Param, Location7), Maptime)),
 2761      happens(holdSome(Fn_217_Param, PartOf_Param, At_Param),
 2762              Maptime)
 2763    ]).
 2764axiom(not(some(Location7, '$kolem_Fn_217'(Fn_217_Param, PartOf_Param, At_Param, Maptime))),
 2765   
 2766    [ not(holds_at(at(PartOf_Param, Location7), Maptime)),
 2767      happens(holdSome(Fn_217_Param, PartOf_Param, At_Param),
 2768              Maptime)
 2769    ]).
 2770axiom(not(some(Location7, '$kolem_Fn_217'(Fn_217_Param, PartOf_Param, At_Param, Maptime))),
 2771   
 2772    [ not(holds_at(at(At_Param, Location7), Maptime)),
 2773      happens(holdSome(Fn_217_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_217'(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_217'(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_217'(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_217'(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_217'(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_217'(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_217'(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_217'(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.e:928
 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.e:931
 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.e:932
 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.e:932
 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.e:934
 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.e:934
 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.e:936
 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
 2975axiom(physobj1\=physobj2,
 2976    [holds_at(inside(physobj1, physobj2), time)]).
 2977
 2978
 2988axiom(not(holds_at(inside(Physobj2, Physobj1), Time)),
 2989    [holds_at(inside(Physobj1, Physobj2), Time)]).
 2990
 2991
 3001axiom(initiates(putInside(Agent, Physobj1, Physobj2), inside(Physobj1, Physobj2), Time),
 3002    []).
 3003
 3004
 3014axiom(terminates(putInside(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
 3015    []).
 3016
 3017
 3041axiom(terminates(takeOutOf(Agent, Physobj1, Physobj2), inside(Physobj1, Physobj2), Time),
 3042    []).
 3043
 3044
 3063
 3064  3069
 3070  3080axiom(not(some(Location7, '$kolem_Fn_218'(Fn_218_Param, Inside_Param, At_Param, Maptime))),
 3081   
 3082    [ not(holds_at(inside(Inside_Param, At_Param), Maptime)),
 3083      happens(takeOutOf(Fn_218_Param, Inside_Param, At_Param),
 3084              Maptime)
 3085    ]).
 3086axiom(not(some(Location7, '$kolem_Fn_218'(Fn_218_Param, Inside_Param, At_Param, Maptime))),
 3087   
 3088    [ not(holds_at(at(Fn_218_Param, Location7), Maptime)),
 3089      happens(takeOutOf(Fn_218_Param, Inside_Param, At_Param),
 3090              Maptime)
 3091    ]).
 3092axiom(not(some(Location7, '$kolem_Fn_218'(Fn_218_Param, Inside_Param, At_Param, Maptime))),
 3093   
 3094    [ not(holds_at(at(Inside_Param, Location7), Maptime)),
 3095      happens(takeOutOf(Fn_218_Param, Inside_Param, At_Param),
 3096              Maptime)
 3097    ]).
 3098axiom(not(some(Location7, '$kolem_Fn_218'(Fn_218_Param, Inside_Param, At_Param, Maptime))),
 3099   
 3100    [ not(holds_at(at(At_Param, Location7), Maptime)),
 3101      happens(takeOutOf(Fn_218_Param, Inside_Param, At_Param),
 3102              Maptime)
 3103    ]).
 3104
 3105  3120axiom(not(happens(takeOutOf(TakeOutOf_Param, Inside_Param14, At_Param15), Maptime11)),
 3121   
 3122    [ not(holds_at(inside(Inside_Param14, At_Param15),
 3123                   Maptime11)),
 3124      some(Location12,
 3125           '$kolem_Fn_218'(TakeOutOf_Param,
 3126                           Inside_Param14,
 3127                           At_Param15,
 3128                           Maptime11))
 3129    ]).
 3130axiom(not(happens(takeOutOf(TakeOutOf_Param, Inside_Param14, At_Param15), Maptime11)),
 3131   
 3132    [ not(holds_at(at(TakeOutOf_Param, Location12), Maptime11)),
 3133      some(Location12,
 3134           '$kolem_Fn_218'(TakeOutOf_Param,
 3135                           Inside_Param14,
 3136                           At_Param15,
 3137                           Maptime11))
 3138    ]).
 3139axiom(not(happens(takeOutOf(TakeOutOf_Param, Inside_Param14, At_Param15), Maptime11)),
 3140   
 3141    [ not(holds_at(at(Inside_Param14, Location12), Maptime11)),
 3142      some(Location12,
 3143           '$kolem_Fn_218'(TakeOutOf_Param,
 3144                           Inside_Param14,
 3145                           At_Param15,
 3146                           Maptime11))
 3147    ]).
 3148axiom(not(happens(takeOutOf(TakeOutOf_Param, Inside_Param14, At_Param15), Maptime11)),
 3149   
 3150    [ not(holds_at(at(At_Param15, Location12), Maptime11)),
 3151      some(Location12,
 3152           '$kolem_Fn_218'(TakeOutOf_Param,
 3153                           Inside_Param14,
 3154                           At_Param15,
 3155                           Maptime11))
 3156    ]).
 3157
 3158  3169axiom(holds_at(inside(Inside_Param17, Inside_Ret), Time16),
 3170   
 3171    [ happens(takeOutOf(TakeOutOf_Param18,
 3172                        Inside_Param17,
 3173                        Inside_Ret),
 3174              Time16),
 3175      some(Some_Param,
 3176           '$kolem_Fn_218'(TakeOutOf_Param18,
 3177                           Inside_Param17,
 3178                           Inside_Ret,
 3179                           Time16))
 3180    ]).
 3181
 3182  3191axiom(holds_at(at(At_Param23, Location21), Time22),
 3192   
 3193    [ happens(takeOutOf(At_Param23, A, TakeOutOf_Ret),
 3194              Time22),
 3195      some(Location21,
 3196           '$kolem_Fn_218'(At_Param23,
 3197                           A,
 3198                           TakeOutOf_Ret,
 3199                           Time22))
 3200    ]).
 3201
 3202  3213axiom(holds_at(at(At_Param27, Location25), Time26),
 3214   
 3215    [ happens(takeOutOf(TakeOutOf_Param28,
 3216                        At_Param27,
 3217                        TakeOutOf_Ret29),
 3218              Time26),
 3219      some(Location25,
 3220           '$kolem_Fn_218'(TakeOutOf_Param28,
 3221                           At_Param27,
 3222                           TakeOutOf_Ret29,
 3223                           Time26))
 3224    ]).
 3225
 3226  3235axiom(holds_at(at(At_Param32, Location30), Time31),
 3236   
 3237    [ happens(takeOutOf(TakeOutOf_Param33, A, At_Param32),
 3238              Time31),
 3239      some(Location30,
 3240           '$kolem_Fn_218'(TakeOutOf_Param33,
 3241                           A,
 3242                           At_Param32,
 3243                           Time31))
 3244    ]).
 3245
 3246
 3257axiom(releases(putInside(Agent, Physobj1, Physobj2), at(Physobj1, Location), Time),
 3258    []).
 3259
 3260
 3271axiom(holds_at(at(Physobj1, Location), Time),
 3272   
 3273    [ holds_at(inside(Physobj1, Physobj2), Time),
 3274      holds_at(at(Physobj2, Location), Time)
 3275    ]).
 3276
 3277
 3288axiom(initiates(takeOutOf(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
 3289    []).
 3290
 3291
 3292% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1030
 3293%; On
 3294%; physobj1 is on physobj2.
 3295
 3296% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1033
 3297% fluent On(physobj,physobj)
 3298 %  fluent(on(physobj,physobj)).
 3299% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1034
 3300==> mpred_prop(on(physobj,physobj),fluent).
 3301==> meta_argtypes(on(physobj,physobj)).
 3302
 3303
 3304% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1035
 3305%; agent places physobj1 on physobj2.
 3306
 3307% event PlaceOn(agent,physobj,physobj)
 3308 %  event(placeOn(agent,physobj,physobj)).
 3309% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1037
 3310==> mpred_prop(placeOn(agent,physobj,physobj),event).
 3311==> meta_argtypes(placeOn(agent,physobj,physobj)).
 3312
 3313
 3314% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1037
 3315%; agent takes physobj1 off of physobj2.
 3316
 3317% event TakeOffOf(agent,physobj,physobj)
 3318 %  event(takeOffOf(agent,physobj,physobj)).
 3319% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1039
 3320==> mpred_prop(takeOffOf(agent,physobj,physobj),event).
 3321==> meta_argtypes(takeOffOf(agent,physobj,physobj)).
 3322
 3323
 3332axiom(Physobj1\=Physobj2,
 3333    [holds_at(on(Physobj1, Physobj2), Time)]).
 3334
 3335
 3345axiom(not(holds_at(on(Physobj2, Physobj1), Time)),
 3346    [holds_at(on(Physobj1, Physobj2), Time)]).
 3347
 3348
 3358axiom(initiates(placeOn(Agent, Physobj1, Physobj2), on(Physobj1, Physobj2), Time),
 3359    []).
 3360
 3361
 3371axiom(terminates(placeOn(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
 3372    []).
 3373
 3374
 3398axiom(terminates(takeOffOf(Agent, Physobj1, Physobj2), on(Physobj1, Physobj2), Time),
 3399    []).
 3400
 3401
 3411axiom(initiates(takeOffOf(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
 3412    []).
 3413
 3414
 3433
 3434  3439
 3440  3450axiom(not(some(Location7, '$kolem_Fn_219'(Fn_219_Param, On_Param, At_Param, Maptime))),
 3451   
 3452    [ not(holds_at(on(On_Param, At_Param), Maptime)),
 3453      happens(takeOffOf(Fn_219_Param, On_Param, At_Param),
 3454              Maptime)
 3455    ]).
 3456axiom(not(some(Location7, '$kolem_Fn_219'(Fn_219_Param, On_Param, At_Param, Maptime))),
 3457   
 3458    [ not(holds_at(at(Fn_219_Param, Location7), Maptime)),
 3459      happens(takeOffOf(Fn_219_Param, On_Param, At_Param),
 3460              Maptime)
 3461    ]).
 3462axiom(not(some(Location7, '$kolem_Fn_219'(Fn_219_Param, On_Param, At_Param, Maptime))),
 3463   
 3464    [ not(holds_at(at(On_Param, Location7), Maptime)),
 3465      happens(takeOffOf(Fn_219_Param, On_Param, At_Param),
 3466              Maptime)
 3467    ]).
 3468axiom(not(some(Location7, '$kolem_Fn_219'(Fn_219_Param, On_Param, At_Param, Maptime))),
 3469   
 3470    [ not(holds_at(at(At_Param, Location7), Maptime)),
 3471      happens(takeOffOf(Fn_219_Param, On_Param, At_Param),
 3472              Maptime)
 3473    ]).
 3474
 3475  3488axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
 3489   
 3490    [ not(holds_at(on(On_Param14, At_Param15), Maptime11)),
 3491      some(Location12,
 3492           '$kolem_Fn_219'(TakeOffOf_Param,
 3493                           On_Param14,
 3494                           At_Param15,
 3495                           Maptime11))
 3496    ]).
 3497axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
 3498   
 3499    [ not(holds_at(at(TakeOffOf_Param, Location12), Maptime11)),
 3500      some(Location12,
 3501           '$kolem_Fn_219'(TakeOffOf_Param,
 3502                           On_Param14,
 3503                           At_Param15,
 3504                           Maptime11))
 3505    ]).
 3506axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
 3507   
 3508    [ not(holds_at(at(On_Param14, Location12), Maptime11)),
 3509      some(Location12,
 3510           '$kolem_Fn_219'(TakeOffOf_Param,
 3511                           On_Param14,
 3512                           At_Param15,
 3513                           Maptime11))
 3514    ]).
 3515axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
 3516   
 3517    [ not(holds_at(at(At_Param15, Location12), Maptime11)),
 3518      some(Location12,
 3519           '$kolem_Fn_219'(TakeOffOf_Param,
 3520                           On_Param14,
 3521                           At_Param15,
 3522                           Maptime11))
 3523    ]).
 3524
 3525  3534axiom(holds_at(on(On_Param17, On_Ret), Time16),
 3535   
 3536    [ happens(takeOffOf(TakeOffOf_Param18, On_Param17, On_Ret),
 3537              Time16),
 3538      some(Some_Param,
 3539           '$kolem_Fn_219'(TakeOffOf_Param18,
 3540                           On_Param17,
 3541                           On_Ret,
 3542                           Time16))
 3543    ]).
 3544
 3545  3554axiom(holds_at(at(At_Param23, Location21), Time22),
 3555   
 3556    [ happens(takeOffOf(At_Param23, A, TakeOffOf_Ret),
 3557              Time22),
 3558      some(Location21,
 3559           '$kolem_Fn_219'(At_Param23,
 3560                           A,
 3561                           TakeOffOf_Ret,
 3562                           Time22))
 3563    ]).
 3564
 3565  3576axiom(holds_at(at(At_Param27, Location25), Time26),
 3577   
 3578    [ happens(takeOffOf(TakeOffOf_Param28,
 3579                        At_Param27,
 3580                        TakeOffOf_Ret29),
 3581              Time26),
 3582      some(Location25,
 3583           '$kolem_Fn_219'(TakeOffOf_Param28,
 3584                           At_Param27,
 3585                           TakeOffOf_Ret29,
 3586                           Time26))
 3587    ]).
 3588
 3589  3598axiom(holds_at(at(At_Param32, Location30), Time31),
 3599   
 3600    [ happens(takeOffOf(TakeOffOf_Param33, A, At_Param32),
 3601              Time31),
 3602      some(Location30,
 3603           '$kolem_Fn_219'(TakeOffOf_Param33,
 3604                           A,
 3605                           At_Param32,
 3606                           Time31))
 3607    ]).
 3608
 3609
 3621axiom(releases(placeOn(Agent, Physobj1, Physobj2), at(Physobj1, Location), Time),
 3622    []).
 3623
 3624
 3635axiom(holds_at(at(Physobj1, Location), Time),
 3636   
 3637    [ holds_at(on(Physobj1, Physobj2), Time),
 3638      holds_at(at(Physobj2, Location), Time)
 3639    ]).
 3640
 3641% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1129
 3642% fluent Near(agent,object)
 3643 %  fluent(near(agent,object)).
 3644% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1130
 3645==> mpred_prop(near(agent,object),fluent).
 3646==> meta_argtypes(near(agent,object)).
 3647
 3648% event WalkFromTo(agent,object,object)
 3649 %  event(walkFromTo(agent,object,object)).
 3650% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1131
 3651==> mpred_prop(walkFromTo(agent,object,object),event).
 3652==> meta_argtypes(walkFromTo(agent,object,object)).
 3653
 3654% event WalkFrom(agent,object)
 3655 %  event(walkFrom(agent,object)).
 3656% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1132
 3657==> mpred_prop(walkFrom(agent,object),event).
 3658==> meta_argtypes(walkFrom(agent,object)).
 3659
 3660% event RunFromTo(agent,object,object)
 3661 %  event(runFromTo(agent,object,object)).
 3662% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1133
 3663==> mpred_prop(runFromTo(agent,object,object),event).
 3664==> meta_argtypes(runFromTo(agent,object,object)).
 3665
 3666
 3673axiom(initiates(walkFromTo(Agent, Object1, Object2), near(Agent, Object2), Time),
 3674    []).
 3675
 3676
 3683axiom(terminates(walkFromTo(Agent, Object1, Object2), near(Agent, Object1), Time),
 3684    []).
 3685
 3686
 3695
 3696  3701
 3702  3711axiom(not(some(Location7, '$kolem_Fn_220'(Fn_220_Param, At_Param, At_Param10, Maptime))),
 3712   
 3713    [ not(holds_at(at(Fn_220_Param, Location7), Maptime)),
 3714      happens(walkFromTo(Fn_220_Param, At_Param, At_Param10),
 3715              Maptime)
 3716    ]).
 3717axiom(not(some(Location7, '$kolem_Fn_220'(Fn_220_Param, At_Param, At_Param10, Maptime))),
 3718   
 3719    [ not(holds_at(at(At_Param, Location7), Maptime)),
 3720      happens(walkFromTo(Fn_220_Param, At_Param, At_Param10),
 3721              Maptime)
 3722    ]).
 3723axiom(not(some(Location7, '$kolem_Fn_220'(Fn_220_Param, At_Param, At_Param10, Maptime))),
 3724   
 3725    [ not(holds_at(at(At_Param10, Location7), Maptime)),
 3726      happens(walkFromTo(Fn_220_Param, At_Param, At_Param10),
 3727              Maptime)
 3728    ]).
 3729
 3730  3742axiom(not(happens(walkFromTo(WalkFromTo_Param, At_Param14, At_Param15), Maptime11)),
 3743   
 3744    [ not(holds_at(at(WalkFromTo_Param, Location12),
 3745                   Maptime11)),
 3746      some(Location12,
 3747           '$kolem_Fn_220'(WalkFromTo_Param,
 3748                           At_Param14,
 3749                           At_Param15,
 3750                           Maptime11))
 3751    ]).
 3752axiom(not(happens(walkFromTo(WalkFromTo_Param, At_Param14, At_Param15), Maptime11)),
 3753   
 3754    [ not(holds_at(at(At_Param14, Location12), Maptime11)),
 3755      some(Location12,
 3756           '$kolem_Fn_220'(WalkFromTo_Param,
 3757                           At_Param14,
 3758                           At_Param15,
 3759                           Maptime11))
 3760    ]).
 3761axiom(not(happens(walkFromTo(WalkFromTo_Param, At_Param14, At_Param15), Maptime11)),
 3762   
 3763    [ not(holds_at(at(At_Param15, Location12), Maptime11)),
 3764      some(Location12,
 3765           '$kolem_Fn_220'(WalkFromTo_Param,
 3766                           At_Param14,
 3767                           At_Param15,
 3768                           Maptime11))
 3769    ]).
 3770
 3771  3780axiom(holds_at(at(At_Param18, Location16), Time17),
 3781   
 3782    [ happens(walkFromTo(At_Param18, A, WalkFromTo_Ret),
 3783              Time17),
 3784      some(Location16,
 3785           '$kolem_Fn_220'(At_Param18,
 3786                           A,
 3787                           WalkFromTo_Ret,
 3788                           Time17))
 3789    ]).
 3790
 3791  3802axiom(holds_at(at(At_Param22, Location20), Time21),
 3803   
 3804    [ happens(walkFromTo(WalkFromTo_Param23,
 3805                         At_Param22,
 3806                         WalkFromTo_Ret24),
 3807              Time21),
 3808      some(Location20,
 3809           '$kolem_Fn_220'(WalkFromTo_Param23,
 3810                           At_Param22,
 3811                           WalkFromTo_Ret24,
 3812                           Time21))
 3813    ]).
 3814
 3815  3824axiom(holds_at(at(At_Param27, Location25), Time26),
 3825   
 3826    [ happens(walkFromTo(WalkFromTo_Param28, A, At_Param27),
 3827              Time26),
 3828      some(Location25,
 3829           '$kolem_Fn_220'(WalkFromTo_Param28,
 3830                           A,
 3831                           At_Param27,
 3832                           Time26))
 3833    ]).
 3834
 3835
 3842axiom(initiates(runFromTo(Agent, Object1, Object2), near(Agent, Object2), Time),
 3843    []).
 3844
 3845
 3852axiom(terminates(runFromTo(Agent, Object1, Object2), near(Agent, Object1), Time),
 3853    []).
 3854
 3855
 3864
 3865  3870
 3871  3880axiom(not(some(Location7, '$kolem_Fn_221'(Fn_221_Param, At_Param, At_Param10, Maptime))),
 3881   
 3882    [ not(holds_at(at(Fn_221_Param, Location7), Maptime)),
 3883      happens(runFromTo(Fn_221_Param, At_Param, At_Param10),
 3884              Maptime)
 3885    ]).
 3886axiom(not(some(Location7, '$kolem_Fn_221'(Fn_221_Param, At_Param, At_Param10, Maptime))),
 3887   
 3888    [ not(holds_at(at(At_Param, Location7), Maptime)),
 3889      happens(runFromTo(Fn_221_Param, At_Param, At_Param10),
 3890              Maptime)
 3891    ]).
 3892axiom(not(some(Location7, '$kolem_Fn_221'(Fn_221_Param, At_Param, At_Param10, Maptime))),
 3893   
 3894    [ not(holds_at(at(At_Param10, Location7), Maptime)),
 3895      happens(runFromTo(Fn_221_Param, At_Param, At_Param10),
 3896              Maptime)
 3897    ]).
 3898
 3899  3911axiom(not(happens(runFromTo(RunFromTo_Param, At_Param14, At_Param15), Maptime11)),
 3912   
 3913    [ not(holds_at(at(RunFromTo_Param, Location12), Maptime11)),
 3914      some(Location12,
 3915           '$kolem_Fn_221'(RunFromTo_Param,
 3916                           At_Param14,
 3917                           At_Param15,
 3918                           Maptime11))
 3919    ]).
 3920axiom(not(happens(runFromTo(RunFromTo_Param, At_Param14, At_Param15), Maptime11)),
 3921   
 3922    [ not(holds_at(at(At_Param14, Location12), Maptime11)),
 3923      some(Location12,
 3924           '$kolem_Fn_221'(RunFromTo_Param,
 3925                           At_Param14,
 3926                           At_Param15,
 3927                           Maptime11))
 3928    ]).
 3929axiom(not(happens(runFromTo(RunFromTo_Param, At_Param14, At_Param15), Maptime11)),
 3930   
 3931    [ not(holds_at(at(At_Param15, Location12), Maptime11)),
 3932      some(Location12,
 3933           '$kolem_Fn_221'(RunFromTo_Param,
 3934                           At_Param14,
 3935                           At_Param15,
 3936                           Maptime11))
 3937    ]).
 3938
 3939  3948axiom(holds_at(at(At_Param18, Location16), Time17),
 3949   
 3950    [ happens(runFromTo(At_Param18, A, RunFromTo_Ret),
 3951              Time17),
 3952      some(Location16,
 3953           '$kolem_Fn_221'(At_Param18,
 3954                           A,
 3955                           RunFromTo_Ret,
 3956                           Time17))
 3957    ]).
 3958
 3959  3970axiom(holds_at(at(At_Param22, Location20), Time21),
 3971   
 3972    [ happens(runFromTo(RunFromTo_Param23,
 3973                        At_Param22,
 3974                        RunFromTo_Ret24),
 3975              Time21),
 3976      some(Location20,
 3977           '$kolem_Fn_221'(RunFromTo_Param23,
 3978                           At_Param22,
 3979                           RunFromTo_Ret24,
 3980                           Time21))
 3981    ]).
 3982
 3983  3992axiom(holds_at(at(At_Param27, Location25), Time26),
 3993   
 3994    [ happens(runFromTo(RunFromTo_Param28, A, At_Param27),
 3995              Time26),
 3996      some(Location25,
 3997           '$kolem_Fn_221'(RunFromTo_Param28,
 3998                           A,
 3999                           At_Param27,
 4000                           Time26))
 4001    ]).
 4002
 4003
 4010axiom(terminates(walkFrom(Agent, Object), near(Agent, Object), Time),
 4011    []).
 4012
 4013
 4023axiom(happens(walkFrom(Agent, Object), Time),
 4024   
 4025    [ holds_at(near(Agent, Object), Time),
 4026      holds_at(at(Agent, Location), Time),
 4027      holds_at(at(Object, Location), Time),
 4028      equals(side1(Door), Location),
 4029      happens(walkThroughDoor12(Agent, Door), Time)
 4030    ]).
 4031
 4032
 4042axiom(happens(walkFrom(Agent, Object), Time),
 4043   
 4044    [ holds_at(near(Agent, Object), Time),
 4045      holds_at(at(Agent, Location), Time),
 4046      holds_at(at(Object, Location), Time),
 4047      equals(side2(Door), Location),
 4048      happens(walkThroughDoor21(Agent, Door), Time)
 4049    ]).
 4050
 4051
 4061axiom(happens(walkFrom(Agent, Object), Time),
 4062   
 4063    [ holds_at(near(Agent, Object), Time),
 4064      holds_at(at(Agent, Room), Time),
 4065      holds_at(at(Object, Room), Time),
 4066      equals(side1(Staircase), Room),
 4067      happens(walkUpStaircase(Agent, Staircase), Time)
 4068    ]).
 4069
 4070
 4080axiom(happens(walkFrom(Agent, Object), Time),
 4081   
 4082    [ holds_at(near(Agent, Object), Time),
 4083      holds_at(at(Agent, Room), Time),
 4084      holds_at(at(Object, Room), Time),
 4085      equals(side2(Staircase), Room),
 4086      happens(walkDownStaircase(Agent, Staircase), Time)
 4087    ]).
 4088
 4089
 4090% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1205
 4091%; End of file.
 4092%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 4093%; FILE: ecnet/OMSpace.e
 4094%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 4095%;
 4096%; Copyright (c) 2005 IBM Corporation and others.
 4097%; All rights reserved. This program and the accompanying materials
 4098%; are made available under the terms of the Common Public License v1.0
 4099%; which accompanies this distribution, and is available at
 4100%; http://www.eclipse.org/legal/cpl-v10.html
 4101%;
 4102%; Contributors:
 4103%; IBM - Initial implementation
 4104%;
 4105%; OMSpace: object-scale metric space
 4106%;
 4107%; The OMSpace representation deals with metric space at
 4108%; the scale of objects.
 4109%;
 4110%; @article{Morgenstern:2001,
 4111%;   author = "Morgenstern, Leora",
 4112%;   year = "2001",
 4113%;   title = "Mid-sized axiomatizations of commonsense problems: A case study in egg cracking",
 4114%;   journal = "Studia Logica",
 4115%;   volume = "67",
 4116%;   pages = "333--384",
 4117%; }
 4118%;
 4119%; @article{Shanahan:2003,
 4120%;   author = "Shanahan, Murray",
 4121%;   year = "2004",
 4122%;   title = "An attempt to formalise a non-trivial benchmark problem in common sense reasoning",
 4123%;   journal = "Artificial Intelligence",
 4124%;   volume = "153",
 4125%;   pages = "141--165",
 4126%; }
 4127%;
 4128
 4129% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1247
 4130% sort height: integer
 4131% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1248
 4132==> subsort(height,integer).
 4133
 4134% sort distance: integer
 4135% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1249
 4136==> subsort(distance,integer).
 4137%; Height
 4138%; The height of object is height.
 4139
 4140% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1253
 4141% fluent Height(object,height)
 4142 %  fluent(height(object,height)).
 4143% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1254
 4144==> mpred_prop(height(object,height),fluent).
 4145==> meta_argtypes(height(object,height)).
 4146
 4147
 4157axiom(Height1=Height2,
 4158   
 4159    [ holds_at(height(Object, Height1), Time),
 4160      holds_at(height(Object, Height2), Time)
 4161    ]).
 4162
 4163
 4168
 4169  4172
 4173  4177axiom(holds_at(height(Height_Param, Some_Param), Time4),
 4178    [some(Some_Param, '$kolem_Fn_222'(Height_Param, Time4))]).
 4179
 4180  4183axiom(not(some(Some_Param8, '$kolem_Fn_222'(Fn_222_Param, Time7))),
 4184    [not(holds_at(height(Fn_222_Param, Some_Param8), Time7))]).
 4185
 4186
 4187% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1266
 4188%; falling
 4189%; physobj1 is falling from physobj2 to physobj3.
 4190
 4191% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1269
 4192% fluent FallingFromTo(physobj,physobj,physobj)
 4193 %  fluent(fallingFromTo(physobj,physobj,physobj)).
 4194% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1270
 4195==> mpred_prop(fallingFromTo(physobj,physobj,physobj),fluent).
 4196==> meta_argtypes(fallingFromTo(physobj,physobj,physobj)).
 4197
 4198
 4199% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1270
 4200%; physobj1 starts falling from physobj2 to physobj3.
 4201
 4202% event StartFallingFromTo(physobj,physobj,physobj)
 4203 %  event(startFallingFromTo(physobj,physobj,physobj)).
 4204% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1272
 4205==> mpred_prop(startFallingFromTo(physobj,physobj,physobj),event).
 4206==> meta_argtypes(startFallingFromTo(physobj,physobj,physobj)).
 4207
 4208
 4209% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1272
 4210%; physobj1 collides with physobj2.
 4211
 4212% event CollideWith(physobj,physobj)
 4213 %  event(collideWith(physobj,physobj)).
 4214% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1274
 4215==> mpred_prop(collideWith(physobj,physobj),event).
 4216==> meta_argtypes(collideWith(physobj,physobj)).
 4217
 4218
 4230axiom(initiates(startFallingFromTo(Physobj1, Physobj2, Physobj3), fallingFromTo(Physobj1, Physobj2, Physobj3), Time),
 4231    []).
 4232
 4233
 4248axiom(Height1=Height2,
 4249   
 4250    [ happens(startFallingFromTo(Physobj1, Physobj2, Physobj3),
 4251              Time),
 4252      holds_at(height(Physobj1, Height1), Time),
 4253      holds_at(height(Physobj2, Height2), Time)
 4254    ]).
 4255
 4256
 4267
 4268  4272
 4273  4280axiom(not(holds_at(fallingFromTo(FallingFromTo_Param, Dif_Param, FallingFromTo_Ret), Time4)),
 4281    [not({dif(FallingFromTo_Param, Dif_Param)})]).
 4282axiom(not(holds_at(fallingFromTo(FallingFromTo_Param, Dif_Param, FallingFromTo_Ret), Time4)),
 4283    [not({dif(FallingFromTo_Param, FallingFromTo_Ret)})]).
 4284axiom(not(holds_at(fallingFromTo(FallingFromTo_Param, Dif_Param, FallingFromTo_Ret), Time4)),
 4285    [not({dif(Dif_Param, FallingFromTo_Ret)})]).
 4286
 4287  4294axiom({ dif(Dif_Param9, Dif_Ret)
 4295},
 4296   
 4297    [ holds_at(fallingFromTo(Dif_Param9,
 4298                             Dif_Ret,
 4299                             FallingFromTo_Ret11),
 4300               Time8)
 4301    ]).
 4302
 4303  4308axiom({ dif(Dif_Param13, Dif_Ret14)
 4309},
 4310   
 4311    [ holds_at(fallingFromTo(Dif_Param13, _, Dif_Ret14),
 4312               Time12)
 4313    ]).
 4314
 4315  4322axiom({ dif(Dif_Param16, Dif_Ret18)
 4323},
 4324   
 4325    [ holds_at(fallingFromTo(FallingFromTo_Param17,
 4326                             Dif_Param16,
 4327                             Dif_Ret18),
 4328               Time15)
 4329    ]).
 4330
 4331
 4336
 4337  4341axiom(not(holds_at(fallingFromTo(FallingFromTo_Param, _, FallingFromTo_Ret), Time4)),
 4342    []).
 4343
 4344
 4357axiom(releases(startFallingFromTo(Physobj1, Physobj2, Physobj3), height(Physobj1, Height), Time),
 4358    []).
 4359
 4360
 4378axiom(trajectory(fallingFromTo(Physobj1, Physobj2, Physobj3), Time, height(Physobj1, Height2), Offset),
 4379   
 4380    [ holds_at(height(Physobj1, Height1), Time),
 4381      equals(Height2, Height1-Offset)
 4382    ]).
 4383
 4384
 4401axiom(happens(collideWith(Physobj1, Physobj3), Time),
 4402   
 4403    [ holds_at(fallingFromTo(Physobj1, Physobj2, Physobj3),
 4404               Time),
 4405      holds_at(height(Physobj1, Height), Time),
 4406      holds_at(height(Physobj3, Height), Time)
 4407    ]).
 4408
 4409
 4425axiom(initiates(collideWith(Physobj1, Physobj3), on(Physobj1, Physobj3), Time),
 4426   
 4427    [ holds_at(fallingFromTo(Physobj1, Physobj2, Physobj3),
 4428               Time)
 4429    ]).
 4430
 4431
 4445axiom(initiates(collideWith(Physobj1, Physobj2), height(Physobj1, Height), Time),
 4446    [holds_at(height(Physobj2, Height), Time)]).
 4447
 4448
 4472axiom(terminates(collideWith(Physobj1, Physobj3), fallingFromTo(Physobj1, Physobj2, Physobj3), Time),
 4473   
 4474    [ holds_at(fallingFromTo(Physobj1, Physobj2, Physobj3),
 4475               Time)
 4476    ]).
 4477
 4478
 4479% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1394
 4480%; flying
 4481%; agent is flying from physobj1 to physobj2.
 4482
 4483% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1397
 4484% fluent FlyingFromTo(agent,physobj,physobj)
 4485 %  fluent(flyingFromTo(agent,physobj,physobj)).
 4486% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1398
 4487==> mpred_prop(flyingFromTo(agent,physobj,physobj),fluent).
 4488==> meta_argtypes(flyingFromTo(agent,physobj,physobj)).
 4489
 4490
 4491% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1398
 4492%; agent starts flying from physobj1 to physobj2.
 4493
 4494% event StartFlyingFromTo(agent,physobj,physobj)
 4495 %  event(startFlyingFromTo(agent,physobj,physobj)).
 4496% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1400
 4497==> mpred_prop(startFlyingFromTo(agent,physobj,physobj),event).
 4498==> meta_argtypes(startFlyingFromTo(agent,physobj,physobj)).
 4499
 4500
 4501% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1400
 4502%; agent reaches physobj.
 4503
 4504% event Reach(agent,physobj)
 4505 %  event(reach(agent,physobj)).
 4506% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1402
 4507==> mpred_prop(reach(agent,physobj),event).
 4508==> meta_argtypes(reach(agent,physobj)).
 4509
 4510
 4522axiom(initiates(startFlyingFromTo(Agent, Physobj1, Physobj2), flyingFromTo(Agent, Physobj1, Physobj2), Time),
 4523    []).
 4524
 4525
 4539axiom(Height1=Height2,
 4540   
 4541    [ happens(startFlyingFromTo(Agent, Physobj1, Physobj2),
 4542              Time),
 4543      holds_at(height(Agent, Height1), Time),
 4544      holds_at(height(Physobj1, Height2), Time)
 4545    ]).
 4546
 4547
 4556axiom(Physobj1\=Physobj2,
 4557   
 4558    [ holds_at(flyingFromTo(Agent, Physobj1, Physobj2),
 4559               Time)
 4560    ]).
 4561
 4562
 4574axiom(releases(startFlyingFromTo(Agent, Physobj1, Physobj2), height(Agent, Height), Time),
 4575    []).
 4576
 4577
 4595axiom(trajectory(flyingFromTo(Agent, Physobj1, Physobj2), Time, height(Agent, Height2), Offset),
 4596   
 4597    [ holds_at(height(Agent, Height1), Time),
 4598      equals(Height2, Height1+Offset)
 4599    ]).
 4600
 4601
 4617axiom(happens(reach(Agent, Physobj2), Time),
 4618   
 4619    [ holds_at(flyingFromTo(Agent, Physobj1, Physobj2),
 4620               Time),
 4621      holds_at(height(Agent, Height), Time),
 4622      holds_at(height(Physobj2, Height), Time)
 4623    ]).
 4624
 4625
 4636axiom(initiates(reach(Agent, Physobj), height(Agent, Height), Time),
 4637    [holds_at(height(Physobj, Height), Time)]).
 4638
 4639
 4660axiom(terminates(reach(Agent, Physobj2), flyingFromTo(Agent, Physobj1, Physobj2), Time),
 4661   
 4662    [ holds_at(flyingFromTo(Agent, Physobj1, Physobj2),
 4663               Time)
 4664    ]).
 4665
 4666
 4674axiom(releases(hold(Agent, Physobj), height(Physobj, Height), Time),
 4675    []).
 4676
 4677
 4690axiom(initiates(letGoOf(Agent, Physobj), height(Physobj, Height), Time),
 4691   
 4692    [ not(partOf(Physobj, Object)),
 4693      holds_at(height(Physobj, Height), Time)
 4694    ]).
 4695
 4696
 4708axiom(holds_at(height(Physobj, Height), Time),
 4709   
 4710    [ holds_at(holding(Agent, Physobj), Time),
 4711      holds_at(height(Agent, Height), Time)
 4712    ]).
 4713
 4714
 4726axiom(holds_at(height(Physobj, Height), Time),
 4727   
 4728    [ partOf(Physobj, Object),
 4729      holds_at(height(Object, Height), Time)
 4730    ]).
 4731
 4732
 4733% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1528
 4734%;event Catch(agent,physobj)
 4735%;event HitFromTo(agent,physobj,object,object)
 4736%;fluent Distance(physobj,physobj,distance)
 4737%;fluent FlyingAcrossFromTo(physobj,object,object)
 4738%;[agent,physobj1,physobj2,physobj3,time]
 4739%;Initiates(HitFromTo(agent,physobj1,physobj2,physobj3),
 4740%;          FlyingAcrossFromTo(physobj1,physobj2,physobj3),
 4741%;          time).
 4742%;[agent,physobj1,physobj2,physobj3,distance,time]
 4743%;Releases(HitFromTo(agent,physobj1,physobj2,physobj3),
 4744%;         Distance(physobj1,physobj2,distance),
 4745%;         time).
 4746%;[agent,physobj1,physobj2,physobj3,distance,time]
 4747%;Releases(HitFromTo(agent,physobj1,physobj2,physobj3),
 4748%;         Distance(physobj1,physobj3,distance),
 4749%;         time).
 4750%;[physobj1,physobj2,physobj3,offset,time]
 4751%;Trajectory(FlyingAcrossFromTo(physobj1,physobj2,physobj3),time,
 4752%;           Distance(physobj1,physobj2,offset),offset).
 4753%;[physobj1,physobj2,physobj3,distance1,distance2,offset,time]
 4754%;HoldsAt(Distance(physobj2,physobj3,distance1),time) &
 4755%;distance2 = distance1 - time ->
 4756%;Trajectory(FlyingAcrossFromTo(physobj1,physobj2,physobj3),time,
 4757%;           Distance(physobj1,physobj3,distance2),offset).
 4758%;[agent,physobj1,physobj2,physobj3,time]
 4759%;HoldsAt(FlyingAcrossFromTo(physobj1,physobj2,physobj3),time) ->
 4760%;Initiates(Catch(agent,physobj1),
 4761%;          Holding(agent,physobj1),
 4762%;          time).
 4763%;[agent,physobj1,physobj2,physobj3,time]
 4764%;HoldsAt(FlyingAcrossFromTo(physobj1,physobj2,physobj3),time) ->
 4765%;Terminates(Catch(agent,physobj1),
 4766%;           FlyingAcrossFromTo(physobj1,physobj2,physobj3),
 4767%;           time).
 4768%; End of file.
 4769%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 4770%; FILE: ecnet/GSpace.e
 4771%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 4772%;
 4773%; Copyright (c) 2005 IBM Corporation and others.
 4774%; All rights reserved. This program and the accompanying materials
 4775%; are made available under the terms of the Common Public License v1.0
 4776%; which accompanies this distribution, and is available at
 4777%; http://www.eclipse.org/legal/cpl-v10.html
 4778%;
 4779%; Contributors:
 4780%; IBM - Initial implementation
 4781%;
 4782%; GSpace: grid space
 4783%;
 4784%; @book{Mueller:1998,
 4785%;   author = "Erik T. Mueller",
 4786%;   year = "1998",
 4787%;   title = "Natural Language Processing with \uppercase{T}hought\uppercase{T}reasure",
 4788%;   address = "New York",
 4789%;   publisher = "Signiform",
 4790%; }
 4791%;
 4792
 4793% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1599
 4794% sort coord: integer
 4795% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1600
 4796==> subsort(coord,integer).
 4797
 4798% sort grid
 4799% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1601
 4800==> sort(grid).
 4801%; object is at (coord1, coord2) in grid.
 4802
 4803% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1603
 4804% fluent GridAt(grid,object,coord,coord)
 4805 %  fluent(gridAt(grid,object,coord,coord)).
 4806% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1604
 4807==> mpred_prop(gridAt(grid,object,coord,coord),fluent).
 4808==> meta_argtypes(gridAt(grid,object,coord,coord)).
 4809
 4810
 4811% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1605
 4812%; agent walks from (coord1, coord2)
 4813%; to (coord3, coord4) in grid.
 4814
 4815% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1607
 4816% event GridWalk(grid,agent,coord,coord,coord,coord)
 4817 %  event(gridWalk(grid,agent,coord,coord,coord,coord)).
 4818% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1608
 4819==> mpred_prop(gridWalk(grid,agent,coord,coord,coord,coord),event).
 4820==> meta_argtypes(gridWalk(grid,agent,coord,coord,coord,coord)).
 4821
 4822
 4831
 4832  4835
 4836  4847axiom(not(holds_at(gridAt(GridAt_Param, A, Equals_Param, Equals_Param10), Time7)),
 4848   
 4849    [ not(equals(Equals_Param, Equals_Ret)),
 4850      holds_at(gridAt(GridAt_Param,
 4851                      A,
 4852                      Equals_Ret,
 4853                      GridAt_Ret),
 4854               Time7)
 4855    ]).
 4856axiom(not(holds_at(gridAt(GridAt_Param, A, Equals_Param, Equals_Param10), Time7)),
 4857   
 4858    [ not(equals(Equals_Param10, GridAt_Ret)),
 4859      holds_at(gridAt(GridAt_Param,
 4860                      A,
 4861                      Equals_Ret,
 4862                      GridAt_Ret),
 4863               Time7)
 4864    ]).
 4865
 4866  4876axiom(not(holds_at(gridAt(GridAt_Param14, A, Equals_Ret18, GridAt_Ret17), Time13)),
 4877   
 4878    [ not(equals(Equals_Param15, Equals_Ret18)),
 4879      holds_at(gridAt(GridAt_Param14,
 4880                      A,
 4881                      Equals_Param15,
 4882                      Equals_Param16),
 4883               Time13)
 4884    ]).
 4885axiom(not(holds_at(gridAt(GridAt_Param14, A, Equals_Ret18, GridAt_Ret17), Time13)),
 4886   
 4887    [ not(equals(Equals_Param16, GridAt_Ret17)),
 4888      holds_at(gridAt(GridAt_Param14,
 4889                      A,
 4890                      Equals_Param15,
 4891                      Equals_Param16),
 4892               Time13)
 4893    ]).
 4894
 4895  4907axiom(equals(Equals_Param20, Equals_Ret22),
 4908   
 4909    [ holds_at(gridAt(GridAt_Param21,
 4910                      A,
 4911                      Equals_Param20,
 4912                      GridAt_Ret23),
 4913               Time19),
 4914      holds_at(gridAt(GridAt_Param21,
 4915                      A,
 4916                      Equals_Ret22,
 4917                      GridAt_Ret24),
 4918               Time19)
 4919    ]).
 4920
 4921  4927axiom(equals(Equals_Param26, Equals_Ret28),
 4928   
 4929    [ holds_at(gridAt(GridAt_Param27,
 4930                      A,
 4931                      _,
 4932                      Equals_Param26),
 4933               Time25),
 4934      holds_at(gridAt(GridAt_Param27, A, _, Equals_Ret28),
 4935               Time25)
 4936    ]).
 4937
 4938
 4949axiom(initiates(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), gridAt(Grid, Agent, Coord3, Coord4), Time),
 4950    []).
 4951
 4952
 4963axiom(terminates(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), gridAt(Grid, Agent, Coord1, Coord2), Time),
 4964    []).
 4965
 4966
 4985axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
 4986   
 4987    [ equals(Coord2, Coord4),
 4988      equals(Coord1, Coord3),
 4989      holds_at(gridAt(Grid, Agent, Coord1, Coord2),
 4990               Time),
 4991      not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
 4992                   Time))
 4993    ]).
 4994axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
 4995   
 4996    [ equals(Coord2, Coord4+1),
 4997      equals(Coord1, Coord3),
 4998      holds_at(gridAt(Grid, Agent, Coord1, Coord2),
 4999               Time),
 5000      not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
 5001                   Time))
 5002    ]).
 5003axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
 5004   
 5005    [ equals(Coord2, Coord4-1),
 5006      equals(Coord1, Coord3),
 5007      holds_at(gridAt(Grid, Agent, Coord1, Coord2),
 5008               Time),
 5009      not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
 5010                   Time))
 5011    ]).
 5012axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
 5013   
 5014    [ equals(Coord2, Coord4),
 5015      equals(Coord1, Coord3+1),
 5016      holds_at(gridAt(Grid, Agent, Coord1, Coord2),
 5017               Time),
 5018      not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
 5019                   Time))
 5020    ]).
 5021axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
 5022   
 5023    [ equals(Coord2, Coord4+1),
 5024      equals(Coord1, Coord3+1),
 5025      holds_at(gridAt(Grid, Agent, Coord1, Coord2),
 5026               Time),
 5027      not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
 5028                   Time))
 5029    ]).
 5030axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
 5031   
 5032    [ equals(Coord2, Coord4-1),
 5033      equals(Coord1, Coord3+1),
 5034      holds_at(gridAt(Grid, Agent, Coord1, Coord2),
 5035               Time),
 5036      not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
 5037                   Time))
 5038    ]).
 5039axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
 5040   
 5041    [ equals(Coord2, Coord4),
 5042      equals(Coord1, Coord3-1),
 5043      holds_at(gridAt(Grid, Agent, Coord1, Coord2),
 5044               Time),
 5045      not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
 5046                   Time))
 5047    ]).
 5048axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
 5049   
 5050    [ equals(Coord2, Coord4+1),
 5051      equals(Coord1, Coord3-1),
 5052      holds_at(gridAt(Grid, Agent, Coord1, Coord2),
 5053               Time),
 5054      not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
 5055                   Time))
 5056    ]).
 5057axiom(requires(gridWalk(Grid, Agent, Coord1, Coord2, Coord3, Coord4), Time),
 5058   
 5059    [ equals(Coord2, Coord4-1),
 5060      equals(Coord1, Coord3-1),
 5061      holds_at(gridAt(Grid, Agent, Coord1, Coord2),
 5062               Time),
 5063      not(holds_at(gridAt(Grid, Object, Coord3, Coord4),
 5064                   Time))
 5065    ]).
 5066
 5067
 5068% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1648
 5069%; End of file.
 5070%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 5071%; FILE: ecnet/PolySpace.e
 5072%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 5073%;
 5074%; Copyright (c) 2005 IBM Corporation and others.
 5075%; All rights reserved. This program and the accompanying materials
 5076%; are made available under the terms of the Common Public License v1.0
 5077%; which accompanies this distribution, and is available at
 5078%; http://www.eclipse.org/legal/cpl-v10.html
 5079%;
 5080%; Contributors:
 5081%; IBM - Initial implementation
 5082%;
 5083%; @phdthesis{Cassimatis:2002,
 5084%;   author = "Nicholas L. Cassimatis",
 5085%;   year = "2002",
 5086%;   title = "Polyscheme: A Cognitive Architecture for Integrating Multiple Representation and Inference Schemes",
 5087%;   address = "Cambridge, MA",
 5088%;   school = "Program in Media Arts and Sciences, School of Architecture and Planning, Massachusetts Institute of Technology",
 5089%; }
 5090%;
 5091%; sorts
 5092
 5093% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1676
 5094% sort object
 5095% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1677
 5096==> sort(object).
 5097
 5098% sort xcoord: integer
 5099% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1678
 5100==> subsort(xcoord,integer).
 5101
 5102% sort ycoord: integer
 5103% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1679
 5104==> subsort(ycoord,integer).
 5105
 5106% sort grid
 5107% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1680
 5108==> sort(grid).
 5109
 5110% sort shape
 5111% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1681
 5112==> sort(shape).
 5113
 5114% sort color
 5115% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1682
 5116==> sort(color).
 5117%; constants
 5118
 5119% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1684
 5120% shape Round,Square
 5121% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1685
 5122==> t(shape,round).
 5123==> t(shape,square).
 5124
 5125% color Red,Green
 5126% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1686
 5127==> t(color,red).
 5128==> t(color,green).
 5129%; predicates, fluents, and events
 5130
 5131% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1688
 5132% predicate Equal(object,object)
 5133 %  predicate(equal(object,object)).
 5134% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1689
 5135==> mpred_prop(equal(object,object),predicate).
 5136==> meta_argtypes(equal(object,object)).
 5137
 5138% predicate Shape(object,shape)
 5139 %  predicate(shape(object,shape)).
 5140% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1690
 5141==> mpred_prop(shape(object,shape),predicate).
 5142==> meta_argtypes(shape(object,shape)).
 5143
 5144% predicate Color(object,color)
 5145 %  predicate(color(object,color)).
 5146% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1691
 5147==> mpred_prop(color(object,color),predicate).
 5148==> meta_argtypes(color(object,color)).
 5149
 5150% fluent Location(grid,object,xcoord,ycoord)
 5151 %  fluent(location(grid,object,xcoord,ycoord)).
 5152% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1692
 5153==> mpred_prop(location(grid,object,xcoord,ycoord),fluent).
 5154==> meta_argtypes(location(grid,object,xcoord,ycoord)).
 5155
 5156% event Move(grid,object,xcoord,ycoord,xcoord,ycoord)
 5157 %  event(move(grid,object,xcoord,ycoord,xcoord,ycoord)).
 5158% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1693
 5159==> mpred_prop(move(grid,object,xcoord,ycoord,xcoord,ycoord),event).
 5160==> meta_argtypes(move(grid,object,xcoord,ycoord,xcoord,ycoord)).
 5161
 5162
 5166  5168axiom(equal(Object2, Object1),
 5169    [equal(Object1, Object2)]).
 5170
 5171
 5178axiom(Shape1=Shape2,
 5179    [shape(Object, Shape1), shape(Object, Shape2)]).
 5180
 5181
 5188axiom(Color1=Color2,
 5189    [color(Object, Color1), color(Object, Color2)]).
 5190
 5191
 5197
 5198  5202
 5203  5209axiom(not(equal(Equal_Param, Shape_Param)),
 5210    [not(shape(Equal_Param, Shape_Ret))]).
 5211axiom(not(equal(Equal_Param, Shape_Param)),
 5212    [not(shape(Shape_Param, Shape_Ret))]).
 5213
 5214  5217axiom(shape(Shape_Param6, Shape_Ret7),
 5218    [equal(Shape_Param6, Equal_Ret)]).
 5219
 5220  5223axiom(shape(Shape_Param9, Shape_Ret11),
 5224    [equal(Equal_Param10, Shape_Param9)]).
 5225
 5226
 5232
 5233  5237
 5238  5244axiom(not(equal(Equal_Param, Color_Param)),
 5245    [not(color(Equal_Param, Color_Ret))]).
 5246axiom(not(equal(Equal_Param, Color_Param)),
 5247    [not(color(Color_Param, Color_Ret))]).
 5248
 5249  5252axiom(color(Color_Param6, Color_Ret7),
 5253    [equal(Color_Param6, Equal_Ret)]).
 5254
 5255  5258axiom(color(Color_Param9, Color_Ret11),
 5259    [equal(Equal_Param10, Color_Param9)]).
 5260
 5261
 5269
 5270  5274
 5275  5292axiom(not(equal(Equal_Param, Equal_Ret)),
 5293   
 5294    [ not(equals(Equals_Param, Equals_Ret)),
 5295      holds_at(location(Location_Param,
 5296                        Equal_Param,
 5297                        Equals_Param,
 5298                        Equals_Param12),
 5299               Time8),
 5300      holds_at(location(Location_Param,
 5301                        Equal_Ret,
 5302                        Equals_Ret,
 5303                        Location_Ret),
 5304               Time8)
 5305    ]).
 5306axiom(not(equal(Equal_Param, Equal_Ret)),
 5307   
 5308    [ not(equals(Equals_Param12, Location_Ret)),
 5309      holds_at(location(Location_Param,
 5310                        Equal_Param,
 5311                        Equals_Param,
 5312                        Equals_Param12),
 5313               Time8),
 5314      holds_at(location(Location_Param,
 5315                        Equal_Ret,
 5316                        Equals_Ret,
 5317                        Location_Ret),
 5318               Time8)
 5319    ]).
 5320
 5321  5332axiom(not(holds_at(location(Location_Param17, Equal_Param20, Equals_Param18, Equals_Param19), Time16)),
 5333   
 5334    [ not(equals(Equals_Param18, Equals_Ret22)),
 5335      holds_at(location(Location_Param17,
 5336                        Equal_Ret23,
 5337                        Equals_Ret22,
 5338                        Location_Ret21),
 5339               Time16),
 5340      equal(Equal_Param20, Equal_Ret23)
 5341    ]).
 5342axiom(not(holds_at(location(Location_Param17, Equal_Param20, Equals_Param18, Equals_Param19), Time16)),
 5343   
 5344    [ not(equals(Equals_Param19, Location_Ret21)),
 5345      holds_at(location(Location_Param17,
 5346                        Equal_Ret23,
 5347                        Equals_Ret22,
 5348                        Location_Ret21),
 5349               Time16),
 5350      equal(Equal_Param20, Equal_Ret23)
 5351    ]).
 5352
 5353  5364axiom(not(holds_at(location(Location_Param25, Equal_Ret31, Equals_Ret30, Location_Ret29), Time24)),
 5365   
 5366    [ not(equals(Equals_Param26, Equals_Ret30)),
 5367      holds_at(location(Location_Param25,
 5368                        Equal_Param28,
 5369                        Equals_Param26,
 5370                        Equals_Param27),
 5371               Time24),
 5372      equal(Equal_Param28, Equal_Ret31)
 5373    ]).
 5374axiom(not(holds_at(location(Location_Param25, Equal_Ret31, Equals_Ret30, Location_Ret29), Time24)),
 5375   
 5376    [ not(equals(Equals_Param27, Location_Ret29)),
 5377      holds_at(location(Location_Param25,
 5378                        Equal_Param28,
 5379                        Equals_Param26,
 5380                        Equals_Param27),
 5381               Time24),
 5382      equal(Equal_Param28, Equal_Ret31)
 5383    ]).
 5384
 5385  5399axiom(equals(Equals_Param33, Equals_Ret36),
 5400   
 5401    [ holds_at(location(Location_Param34,
 5402                        Equal_Param35,
 5403                        Equals_Param33,
 5404                        Location_Ret37),
 5405               Time32),
 5406      holds_at(location(Location_Param34,
 5407                        Equal_Ret39,
 5408                        Equals_Ret36,
 5409                        Location_Ret38),
 5410               Time32),
 5411      equal(Equal_Param35, Equal_Ret39)
 5412    ]).
 5413
 5414  5428axiom(equals(Equals_Param41, Equals_Ret44),
 5429   
 5430    [ holds_at(location(Location_Param42,
 5431                        Equal_Param43,
 5432                        _,
 5433                        Equals_Param41),
 5434               Time40),
 5435      holds_at(location(Location_Param42,
 5436                        Equal_Ret45,
 5437                        _,
 5438                        Equals_Ret44),
 5439               Time40),
 5440      equal(Equal_Param43, Equal_Ret45)
 5441    ]).
 5442
 5443
 5450
 5451  5454
 5455  5466axiom(not(holds_at(location(Location_Param, A, Equals_Param, Equals_Param10), Time7)),
 5467   
 5468    [ not(equals(Equals_Param, Equals_Ret)),
 5469      holds_at(location(Location_Param,
 5470                        A,
 5471                        Equals_Ret,
 5472                        Location_Ret),
 5473               Time7)
 5474    ]).
 5475axiom(not(holds_at(location(Location_Param, A, Equals_Param, Equals_Param10), Time7)),
 5476   
 5477    [ not(equals(Equals_Param10, Location_Ret)),
 5478      holds_at(location(Location_Param,
 5479                        A,
 5480                        Equals_Ret,
 5481                        Location_Ret),
 5482               Time7)
 5483    ]).
 5484
 5485  5495axiom(not(holds_at(location(Location_Param14, A, Equals_Ret18, Location_Ret17), Time13)),
 5496   
 5497    [ not(equals(Equals_Param15, Equals_Ret18)),
 5498      holds_at(location(Location_Param14,
 5499                        A,
 5500                        Equals_Param15,
 5501                        Equals_Param16),
 5502               Time13)
 5503    ]).
 5504axiom(not(holds_at(location(Location_Param14, A, Equals_Ret18, Location_Ret17), Time13)),
 5505   
 5506    [ not(equals(Equals_Param16, Location_Ret17)),
 5507      holds_at(location(Location_Param14,
 5508                        A,
 5509                        Equals_Param15,
 5510                        Equals_Param16),
 5511               Time13)
 5512    ]).
 5513
 5514  5526axiom(equals(Equals_Param20, Equals_Ret22),
 5527   
 5528    [ holds_at(location(Location_Param21,
 5529                        A,
 5530                        Equals_Param20,
 5531                        Location_Ret23),
 5532               Time19),
 5533      holds_at(location(Location_Param21,
 5534                        A,
 5535                        Equals_Ret22,
 5536                        Location_Ret24),
 5537               Time19)
 5538    ]).
 5539
 5540  5552axiom(equals(Equals_Param26, Equals_Ret28),
 5553   
 5554    [ holds_at(location(Location_Param27,
 5555                        A,
 5556                        _,
 5557                        Equals_Param26),
 5558               Time25),
 5559      holds_at(location(Location_Param27,
 5560                        A,
 5561                        _,
 5562                        Equals_Ret28),
 5563               Time25)
 5564    ]).
 5565
 5566
 5573
 5574  5581axiom(holds_at(location(Location_Param, _, _, Location_Ret), Time5),
 5582    []).
 5583
 5584
 5592axiom(equal(Object1, Object2),
 5593   
 5594    [ holds_at(location(Grid, Object1, Xcoord1, Ycoord1),
 5595               Time),
 5596      holds_at(location(Grid, Object2, Xcoord1, Ycoord1),
 5597               Time)
 5598    ]).
 5599
 5600
 5608axiom(initiates(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), location(Grid, Object, Xcoord2, Ycoord2), Time),
 5609    []).
 5610
 5611
 5621axiom(terminates(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), location(Grid, Object, Xcoord1, Ycoord1), Time),
 5622    []).
 5623
 5624
 5644axiom(requires(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), Time),
 5645   
 5646    [ equals(Ycoord1, Ycoord2+1),
 5647      equals(Xcoord1, Xcoord2),
 5648      holds_at(location(Grid, Object, Xcoord1, Ycoord1),
 5649               Time)
 5650    ]).
 5651axiom(requires(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), Time),
 5652   
 5653    [ equals(Ycoord1, Ycoord2-1),
 5654      equals(Xcoord1, Xcoord2),
 5655      holds_at(location(Grid, Object, Xcoord1, Ycoord1),
 5656               Time)
 5657    ]).
 5658axiom(requires(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), Time),
 5659   
 5660    [ equals(Xcoord1, Xcoord2+1),
 5661      equals(Ycoord1, Ycoord2),
 5662      holds_at(location(Grid, Object, Xcoord1, Ycoord1),
 5663               Time)
 5664    ]).
 5665axiom(requires(move(Grid, Object, Xcoord1, Ycoord1, Xcoord2, Ycoord2), Time),
 5666   
 5667    [ equals(Xcoord1, Xcoord2-1),
 5668      equals(Ycoord1, Ycoord2),
 5669      holds_at(location(Grid, Object, Xcoord1, Ycoord1),
 5670               Time)
 5671    ]).
 5672
 5673
 5674% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1772
 5675%; End of file.
 5676%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 5677%; FILE: ecnet/HandTo.e
 5678%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 5679%;
 5680%; Copyright (c) 2005 IBM Corporation and others.
 5681%; All rights reserved. This program and the accompanying materials
 5682%; are made available under the terms of the Common Public License v1.0
 5683%; which accompanies this distribution, and is available at
 5684%; http://www.eclipse.org/legal/cpl-v10.html
 5685%;
 5686%; Contributors:
 5687%; IBM - Initial implementation
 5688%;
 5689
 5690% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1791
 5691% event HandTo(agent,agent,physobj)
 5692 %  event(handTo(agent,agent,physobj)).
 5693% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1792
 5694==> mpred_prop(handTo(agent,agent,physobj),event).
 5695==> meta_argtypes(handTo(agent,agent,physobj)).
 5696
 5697
 5704axiom(initiates(handTo(Agent1, Agent2, Physobj), holding(Agent2, Physobj), Time),
 5705    []).
 5706
 5707
 5714axiom(terminates(handTo(Agent1, Agent2, Physobj), holding(Agent1, Physobj), Time),
 5715    []).
 5716
 5717
 5723axiom(requires(handTo(Agent1, Agent2, Physobj), Time),
 5724    [holds_at(holding(Agent1, Physobj), Time)]).
 5725
 5726% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1807
 5727% event ShakeHands(agent,agent)
 5728 %  event(shakeHands(agent,agent)).
 5729% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1808
 5730==> mpred_prop(shakeHands(agent,agent),event).
 5731==> meta_argtypes(shakeHands(agent,agent)).
 5732
 5733% event WriteOn(agent,paper,pen)
 5734 %  event(writeOn(agent,paper,pen)).
 5735% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1810
 5736==> mpred_prop(writeOn(agent,paper,pen),event).
 5737==> meta_argtypes(writeOn(agent,paper,pen)).
 5738
 5739
 5763axiom(requires(takeOutOf(Agent, Container1, Container2), Time),
 5764    [holds_at(containerIsOpen(Container2), Time)]).
 5765
 5766
 5772axiom(requires(putInside(Agent, Container1, Container2), Time),
 5773    [holds_at(containerIsOpen(Container2), Time)]).
 5774
 5775
 5776% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1840
 5777%; agent opens container.
 5778
 5779% event ContainerOpen(agent,container)
 5780 %  event(containerOpen(agent,container)).
 5781% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1842
 5782==> mpred_prop(containerOpen(agent,container),event).
 5783==> meta_argtypes(containerOpen(agent,container)).
 5784
 5785
 5786% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1843
 5787%; agent closes container.
 5788
 5789% event ContainerClose(agent,container)
 5790 %  event(containerClose(agent,container)).
 5791% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1845
 5792==> mpred_prop(containerClose(agent,container),event).
 5793==> meta_argtypes(containerClose(agent,container)).
 5794
 5795
 5796% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1846
 5797%; container is open.
 5798
 5799% fluent ContainerIsOpen(container)
 5800 %  fluent(containerIsOpen(container)).
 5801% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1848
 5802==> mpred_prop(containerIsOpen(container),fluent).
 5803==> meta_argtypes(containerIsOpen(container)).
 5804
 5805% fluent ContainerClosed(container)
 5806 %  fluent(containerClosed(container)).
 5807% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1850
 5808==> mpred_prop(containerClosed(container),fluent).
 5809==> meta_argtypes(containerClosed(container)).
 5810
 5811% noninertial ContainerClosed
 5812% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1851
 5813==> noninertial(containerClosed).
 5814
 5815
 5820
 5821  5825axiom(holds_at(containerClosed(Container), Time),
 5826    [not(holds_at(containerIsOpen(Container), Time))]).
 5827axiom(not(holds_at(containerIsOpen(Container), Time)),
 5828    [holds_at(containerClosed(Container), Time)]).
 5829
 5830
 5844axiom(requires(containerOpen(Agent, Container), Time),
 5845   
 5846    [ holds_at(awake(Agent), Time),
 5847      not(holds_at(containerIsOpen(Container), Time)),
 5848      holds_at(holding(Agent, Container), Time)
 5849    ]).
 5850
 5851
 5859axiom(initiates(containerOpen(Agent, Container), containerIsOpen(Container), Time),
 5860    []).
 5861
 5862
 5876axiom(requires(containerClose(Agent, Container), Time),
 5877   
 5878    [ holds_at(awake(Agent), Time),
 5879      holds_at(containerIsOpen(Container), Time),
 5880      holds_at(holding(Agent, Container), Time)
 5881    ]).
 5882
 5883
 5891axiom(terminates(containerClose(Agent, Container), containerIsOpen(Container), Time),
 5892    []).
 5893
 5894
 5895% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1890
 5896%; End of file.
 5897%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 5898%; FILE: ecnet/SpeechAct.e
 5899%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 5900%;
 5901%; Copyright (c) 2005 IBM Corporation and others.
 5902%; All rights reserved. This program and the accompanying materials
 5903%; are made available under the terms of the Common Public License v1.0
 5904%; which accompanies this distribution, and is available at
 5905%; http://www.eclipse.org/legal/cpl-v10.html
 5906%;
 5907%; Contributors:
 5908%; IBM - Initial implementation
 5909%;
 5910%; The SpeechAct representation deals with a few speech acts
 5911%; \fullcite{Searle:1969}.
 5912%;
 5913%; @book{Searle:1969,
 5914%;   author = "John R. Searle",
 5915%;   year = "1969",
 5916%;   title = "Speech Acts: An Essay in the Philosophy of Language",
 5917%;   address = "Cambridge",
 5918%;   publisher = "Cambridge University Press",
 5919%; }
 5920%;
 5921%; We handle
 5922%; the illocutionary acts of
 5923%; inviting someone into one's house (a form of request) and
 5924%; greeting someone,
 5925%; and the expressive speech act of crying for joy.
 5926%;
 5927%; inviting in
 5928%; agent1 invites agent2 into room.
 5929
 5930% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1929
 5931% event InviteIn(agent,agent,room)
 5932 %  event(inviteIn(agent,agent,room)).
 5933% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1930
 5934==> mpred_prop(inviteIn(agent,agent,room),event).
 5935==> meta_argtypes(inviteIn(agent,agent,room)).
 5936
 5937
 5938% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1930
 5939%; agent1 is invited into room by agent2.
 5940
 5941% fluent InvitedIn(agent,room,agent)
 5942 %  fluent(invitedIn(agent,room,agent)).
 5943% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1932
 5944==> mpred_prop(invitedIn(agent,room,agent),fluent).
 5945==> meta_argtypes(invitedIn(agent,room,agent)).
 5946
 5947
 5963
 5964  5969
 5970  5979axiom(not(some(Location8, '$kolem_Fn_228'(Fn_228_Param, At_Param, Location, Maptime))),
 5980   
 5981    [ not(holds_at(at(Fn_228_Param, Location), Maptime)),
 5982      happens(inviteIn(Fn_228_Param, At_Param, Location),
 5983              Maptime)
 5984    ]).
 5985axiom(not(some(Location8, '$kolem_Fn_228'(Fn_228_Param, At_Param, Location, Maptime))),
 5986   
 5987    [ not(holds_at(at(At_Param, Location8), Maptime)),
 5988      happens(inviteIn(Fn_228_Param, At_Param, Location),
 5989              Maptime)
 5990    ]).
 5991axiom(not(some(Location8, '$kolem_Fn_228'(Fn_228_Param, At_Param, Location, Maptime))),
 5992   
 5993    [ not(adjacent(Location, Location8)),
 5994      happens(inviteIn(Fn_228_Param, At_Param, Location),
 5995              Maptime)
 5996    ]).
 5997
 5998  6010axiom(not(happens(inviteIn(InviteIn_Param, At_Param15, Location12), Maptime11)),
 6011   
 6012    [ not(holds_at(at(InviteIn_Param, Location12), Maptime11)),
 6013      some(Location13,
 6014           '$kolem_Fn_228'(InviteIn_Param,
 6015                           At_Param15,
 6016                           Location12,
 6017                           Maptime11))
 6018    ]).
 6019axiom(not(happens(inviteIn(InviteIn_Param, At_Param15, Location12), Maptime11)),
 6020   
 6021    [ not(holds_at(at(At_Param15, Location13), Maptime11)),
 6022      some(Location13,
 6023           '$kolem_Fn_228'(InviteIn_Param,
 6024                           At_Param15,
 6025                           Location12,
 6026                           Maptime11))
 6027    ]).
 6028axiom(not(happens(inviteIn(InviteIn_Param, At_Param15, Location12), Maptime11)),
 6029   
 6030    [ not(adjacent(Location12, Location13)),
 6031      some(Location13,
 6032           '$kolem_Fn_228'(InviteIn_Param,
 6033                           At_Param15,
 6034                           Location12,
 6035                           Maptime11))
 6036    ]).
 6037
 6038  6043axiom(holds_at(at(At_Param18, Location16), Time17),
 6044   
 6045    [ happens(inviteIn(At_Param18, A, Location16),
 6046              Time17),
 6047      some(Some_Param,
 6048           '$kolem_Fn_228'(At_Param18,
 6049                           A,
 6050                           Location16,
 6051                           Time17))
 6052    ]).
 6053
 6054  6065axiom(holds_at(at(At_Param22, Location20), Time21),
 6066   
 6067    [ happens(inviteIn(InviteIn_Param23,
 6068                       At_Param22,
 6069                       InviteIn_Ret),
 6070              Time21),
 6071      some(Location20,
 6072           '$kolem_Fn_228'(InviteIn_Param23,
 6073                           At_Param22,
 6074                           InviteIn_Ret,
 6075                           Time21))
 6076    ]).
 6077
 6078  6087axiom(adjacent(Adjacent_Param, Some_Param28),
 6088   
 6089    [ happens(inviteIn(InviteIn_Param27, A, Adjacent_Param),
 6090              Maptime25),
 6091      some(Some_Param28,
 6092           '$kolem_Fn_228'(InviteIn_Param27,
 6093                           A,
 6094                           Adjacent_Param,
 6095                           Maptime25))
 6096    ]).
 6097
 6098
 6109axiom(initiates(inviteIn(Agent1, Agent2, Room), invitedIn(Agent2, Room, Agent1), Time),
 6110    []).
 6111
 6112
 6113% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1954
 6114%; agent intends to walk into room.
 6115
 6116% event IntendToWalkIn(agent,room)
 6117 %  event(intendToWalkIn(agent,room)).
 6118% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1956
 6119==> mpred_prop(intendToWalkIn(agent,room),event).
 6120==> meta_argtypes(intendToWalkIn(agent,room)).
 6121
 6122
 6123% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1956
 6124%; agent has the intention to walk into room.
 6125
 6126% fluent IntentionToWalkIn(agent,room)
 6127 %  fluent(intentionToWalkIn(agent,room)).
 6128% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1958
 6129==> mpred_prop(intentionToWalkIn(agent,room),fluent).
 6130==> meta_argtypes(intentionToWalkIn(agent,room)).
 6131
 6132
 6133% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1958
 6134%; agent acts on the intention to walk into room.
 6135
 6136% fluent ActOnIntentionToWalkIn(agent,room)
 6137 %  fluent(actOnIntentionToWalkIn(agent,room)).
 6138% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1960
 6139==> mpred_prop(actOnIntentionToWalkIn(agent,room),fluent).
 6140==> meta_argtypes(actOnIntentionToWalkIn(agent,room)).
 6141
 6142% noninertial ActOnIntentionToWalkIn
 6143% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:1961
 6144==> noninertial(actOnIntentionToWalkIn).
 6158axiom(happens(intendToWalkIn(Agent1, Room), Time),
 6159   
 6160    [ holds_at(invitedIn(Agent1, Room, Agent2), Time),
 6161      holds_at(like(Agent1, Agent2), Time),
 6162      not(holds_at(intentionToWalkIn(Agent1, Room), Time))
 6163    ]).
 6164
 6165
 6176axiom(initiates(intendToWalkIn(Agent, Room), intentionToWalkIn(Agent, Room), Time),
 6177    []).
 6178
 6179
 6197axiom(happens(walkThroughDoor21(Agent, Door), Time),
 6198   
 6199    [ holds_at(intentionToWalkIn(Agent, Room), Time),
 6200      holds_at(actOnIntentionToWalkIn(Agent, Room), Time),
 6201      holds_at(at(Agent, Location), Time),
 6202      equals(side1(Door), Room),
 6203      equals(side2(Door), Location)
 6204    ]).
 6205
 6206
 6216axiom(happens(walkThroughDoor12(Agent, Door), Time),
 6217   
 6218    [ holds_at(intentionToWalkIn(Agent, Room), Time),
 6219      holds_at(actOnIntentionToWalkIn(Agent, Room), Time),
 6220      holds_at(at(Agent, Location), Time),
 6221      equals(side2(Door), Room),
 6222      equals(side1(Door), Location)
 6223    ]).
 6224
 6225
 6239axiom(terminates(walkThroughDoor21(Agent, Door), intentionToWalkIn(Agent, Room), Time),
 6240    [equals(side1(Door), Room)]).
 6241
 6242
 6250axiom(terminates(walkThroughDoor12(Agent, Door), intentionToWalkIn(Agent, Room), Time),
 6251    [equals(side2(Door), Room)]).
 6252
 6253
 6254% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2022
 6255%; agent greets object.
 6256
 6257% event Greet(agent,object)
 6258 %  event(greet(agent,object)).
 6259% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2024
 6260==> mpred_prop(greet(agent,object),event).
 6261==> meta_argtypes(greet(agent,object)).
 6262
 6263% event SayPleasedToMeet(agent,agent)
 6264 %  event(sayPleasedToMeet(agent,agent)).
 6265% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2026
 6266==> mpred_prop(sayPleasedToMeet(agent,agent),event).
 6267==> meta_argtypes(sayPleasedToMeet(agent,agent)).
 6268
 6269
 6270% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2027
 6271%; agent says goodbye to object.
 6272
 6273% event SayGoodbye(agent,object)
 6274 %  event(sayGoodbye(agent,object)).
 6275% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2029
 6276==> mpred_prop(sayGoodbye(agent,object),event).
 6277==> meta_argtypes(sayGoodbye(agent,object)).
 6278
 6279% event TalkAbout(agent,content)
 6280 %  event(talkAbout(agent,content)).
 6281% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2031
 6282==> mpred_prop(talkAbout(agent,content),event).
 6283==> meta_argtypes(talkAbout(agent,content)).
 6284
 6285% event Converse(agent,agent)
 6286 %  event(converse(agent,agent)).
 6287% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2033
 6288==> mpred_prop(converse(agent,agent),event).
 6289==> meta_argtypes(converse(agent,agent)).
 6290
 6291
 6299
 6300  6304
 6305  6312axiom(not(some(Location6, '$kolem_Fn_229'(Fn_229_Param, At_Param, Maptime))),
 6313   
 6314    [ not(holds_at(at(Fn_229_Param, Location6), Maptime)),
 6315      happens(converse(Fn_229_Param, At_Param), Maptime)
 6316    ]).
 6317axiom(not(some(Location6, '$kolem_Fn_229'(Fn_229_Param, At_Param, Maptime))),
 6318   
 6319    [ not(holds_at(at(At_Param, Location6), Maptime)),
 6320      happens(converse(Fn_229_Param, At_Param), Maptime)
 6321    ]).
 6322
 6323  6330axiom(not(happens(converse(Converse_Param, At_Param12), Maptime9)),
 6331   
 6332    [ not(holds_at(at(Converse_Param, Location10), Maptime9)),
 6333      some(Location10,
 6334           '$kolem_Fn_229'(Converse_Param, At_Param12, Maptime9))
 6335    ]).
 6336axiom(not(happens(converse(Converse_Param, At_Param12), Maptime9)),
 6337   
 6338    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
 6339      some(Location10,
 6340           '$kolem_Fn_229'(Converse_Param, At_Param12, Maptime9))
 6341    ]).
 6342
 6343  6348axiom(holds_at(at(At_Param15, Location13), Time14),
 6349   
 6350    [ happens(converse(At_Param15, Converse_Ret), Time14),
 6351      some(Location13,
 6352           '$kolem_Fn_229'(At_Param15, Converse_Ret, Time14))
 6353    ]).
 6354
 6355  6360axiom(holds_at(at(At_Param19, Location17), Time18),
 6361   
 6362    [ happens(converse(Converse_Param20, At_Param19), Time18),
 6363      some(Location17,
 6364           '$kolem_Fn_229'(Converse_Param20, At_Param19, Time18))
 6365    ]).
 6366
 6367
 6381
 6382  6386
 6387  6394axiom(not(some(Location6, '$kolem_Fn_230'(Fn_230_Param, At_Param, Maptime))),
 6395   
 6396    [ not(holds_at(at(Fn_230_Param, Location6), Maptime)),
 6397      happens(greet(Fn_230_Param, At_Param), Maptime)
 6398    ]).
 6399axiom(not(some(Location6, '$kolem_Fn_230'(Fn_230_Param, At_Param, Maptime))),
 6400   
 6401    [ not(holds_at(at(At_Param, Location6), Maptime)),
 6402      happens(greet(Fn_230_Param, At_Param), Maptime)
 6403    ]).
 6404
 6405  6412axiom(not(happens(greet(Greet_Param, At_Param12), Maptime9)),
 6413   
 6414    [ not(holds_at(at(Greet_Param, Location10), Maptime9)),
 6415      some(Location10,
 6416           '$kolem_Fn_230'(Greet_Param, At_Param12, Maptime9))
 6417    ]).
 6418axiom(not(happens(greet(Greet_Param, At_Param12), Maptime9)),
 6419   
 6420    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
 6421      some(Location10,
 6422           '$kolem_Fn_230'(Greet_Param, At_Param12, Maptime9))
 6423    ]).
 6424
 6425  6430axiom(holds_at(at(At_Param15, Location13), Time14),
 6431   
 6432    [ happens(greet(At_Param15, Greet_Ret), Time14),
 6433      some(Location13,
 6434           '$kolem_Fn_230'(At_Param15, Greet_Ret, Time14))
 6435    ]).
 6436
 6437  6442axiom(holds_at(at(At_Param19, Location17), Time18),
 6443   
 6444    [ happens(greet(Greet_Param20, At_Param19), Time18),
 6445      some(Location17,
 6446           '$kolem_Fn_230'(Greet_Param20, At_Param19, Time18))
 6447    ]).
 6448
 6449
 6457
 6458  6462
 6463  6470axiom(not(some(Location6, '$kolem_Fn_231'(Fn_231_Param, At_Param, Maptime))),
 6471   
 6472    [ not(holds_at(at(Fn_231_Param, Location6), Maptime)),
 6473      happens(sayGoodbye(Fn_231_Param, At_Param), Maptime)
 6474    ]).
 6475axiom(not(some(Location6, '$kolem_Fn_231'(Fn_231_Param, At_Param, Maptime))),
 6476   
 6477    [ not(holds_at(at(At_Param, Location6), Maptime)),
 6478      happens(sayGoodbye(Fn_231_Param, At_Param), Maptime)
 6479    ]).
 6480
 6481  6489axiom(not(happens(sayGoodbye(SayGoodbye_Param, At_Param12), Maptime9)),
 6490   
 6491    [ not(holds_at(at(SayGoodbye_Param, Location10), Maptime9)),
 6492      some(Location10,
 6493           '$kolem_Fn_231'(SayGoodbye_Param,
 6494                           At_Param12,
 6495                           Maptime9))
 6496    ]).
 6497axiom(not(happens(sayGoodbye(SayGoodbye_Param, At_Param12), Maptime9)),
 6498   
 6499    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
 6500      some(Location10,
 6501           '$kolem_Fn_231'(SayGoodbye_Param,
 6502                           At_Param12,
 6503                           Maptime9))
 6504    ]).
 6505
 6506  6511axiom(holds_at(at(At_Param15, Location13), Time14),
 6512   
 6513    [ happens(sayGoodbye(At_Param15, SayGoodbye_Ret), Time14),
 6514      some(Location13,
 6515           '$kolem_Fn_231'(At_Param15, SayGoodbye_Ret, Time14))
 6516    ]).
 6517
 6518  6524axiom(holds_at(at(At_Param19, Location17), Time18),
 6525   
 6526    [ happens(sayGoodbye(SayGoodbye_Param20, At_Param19),
 6527              Time18),
 6528      some(Location17,
 6529           '$kolem_Fn_231'(SayGoodbye_Param20,
 6530                           At_Param19,
 6531                           Time18))
 6532    ]).
 6533
 6534
 6535% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2057
 6536%; speech: expression of emotions
 6537%; agent cries for joy.
 6538
 6539% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2060
 6540% event CryForJoy(agent)
 6541 %  event(cryForJoy(agent)).
 6542% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2061
 6543==> mpred_prop(cryForJoy(agent),event).
 6544==> meta_argtypes(cryForJoy(agent)).
 6545
 6546
 6556axiom(requires(cryForJoy(Agent), Time),
 6557    [holds_at(happy(Agent), Time)]).
 6558
 6559% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2070
 6560% event Threaten(agent,agent,weapon)
 6561 %  event(threaten(agent,agent,weapon)).
 6562% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2071
 6563==> mpred_prop(threaten(agent,agent,weapon),event).
 6564==> meta_argtypes(threaten(agent,agent,weapon)).
 6565
 6566% event ReleaseFromThreat(agent,agent)
 6567 %  event(releaseFromThreat(agent,agent)).
 6568% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2073
 6569==> mpred_prop(releaseFromThreat(agent,agent),event).
 6570==> meta_argtypes(releaseFromThreat(agent,agent)).
 6571
 6572% fluent ThreatenedBy(agent,agent)
 6573 %  fluent(threatenedBy(agent,agent)).
 6574% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2075
 6575==> mpred_prop(threatenedBy(agent,agent),fluent).
 6576==> meta_argtypes(threatenedBy(agent,agent)).
 6577
 6578
 6587
 6588  6593
 6594  6604axiom(not(some(Location7, '$kolem_Fn_232'(Fn_232_Param, At_Param, Threaten_Ret, Maptime))),
 6605   
 6606    [ not(holds_at(holding(Fn_232_Param, Threaten_Ret),
 6607                   Maptime)),
 6608      happens(threaten(Fn_232_Param, At_Param, Threaten_Ret),
 6609              Maptime)
 6610    ]).
 6611axiom(not(some(Location7, '$kolem_Fn_232'(Fn_232_Param, At_Param, Threaten_Ret, Maptime))),
 6612   
 6613    [ not(holds_at(at(Fn_232_Param, Location7), Maptime)),
 6614      happens(threaten(Fn_232_Param, At_Param, Threaten_Ret),
 6615              Maptime)
 6616    ]).
 6617axiom(not(some(Location7, '$kolem_Fn_232'(Fn_232_Param, At_Param, Threaten_Ret, Maptime))),
 6618   
 6619    [ not(holds_at(at(At_Param, Location7), Maptime)),
 6620      happens(threaten(Fn_232_Param, At_Param, Threaten_Ret),
 6621              Maptime)
 6622    ]).
 6623
 6624  6637axiom(not(happens(threaten(Threaten_Param, At_Param14, Threaten_Ret15), Maptime11)),
 6638   
 6639    [ not(holds_at(holding(Threaten_Param, Threaten_Ret15),
 6640                   Maptime11)),
 6641      some(Location12,
 6642           '$kolem_Fn_232'(Threaten_Param,
 6643                           At_Param14,
 6644                           Threaten_Ret15,
 6645                           Maptime11))
 6646    ]).
 6647axiom(not(happens(threaten(Threaten_Param, At_Param14, Threaten_Ret15), Maptime11)),
 6648   
 6649    [ not(holds_at(at(Threaten_Param, Location12), Maptime11)),
 6650      some(Location12,
 6651           '$kolem_Fn_232'(Threaten_Param,
 6652                           At_Param14,
 6653                           Threaten_Ret15,
 6654                           Maptime11))
 6655    ]).
 6656axiom(not(happens(threaten(Threaten_Param, At_Param14, Threaten_Ret15), Maptime11)),
 6657   
 6658    [ not(holds_at(at(At_Param14, Location12), Maptime11)),
 6659      some(Location12,
 6660           '$kolem_Fn_232'(Threaten_Param,
 6661                           At_Param14,
 6662                           Threaten_Ret15,
 6663                           Maptime11))
 6664    ]).
 6665
 6666  6675axiom(holds_at(holding(Holding_Param, Holding_Ret), Time16),
 6676   
 6677    [ happens(threaten(Holding_Param, A, Holding_Ret),
 6678              Time16),
 6679      some(Some_Param,
 6680           '$kolem_Fn_232'(Holding_Param,
 6681                           A,
 6682                           Holding_Ret,
 6683                           Time16))
 6684    ]).
 6685
 6686  6695axiom(holds_at(at(At_Param22, Location20), Time21),
 6696   
 6697    [ happens(threaten(At_Param22, A, Threaten_Ret23),
 6698              Time21),
 6699      some(Location20,
 6700           '$kolem_Fn_232'(At_Param22,
 6701                           A,
 6702                           Threaten_Ret23,
 6703                           Time21))
 6704    ]).
 6705
 6706  6717axiom(holds_at(at(At_Param26, Location24), Time25),
 6718   
 6719    [ happens(threaten(Threaten_Param27,
 6720                       At_Param26,
 6721                       Threaten_Ret28),
 6722              Time25),
 6723      some(Location24,
 6724           '$kolem_Fn_232'(Threaten_Param27,
 6725                           At_Param26,
 6726                           Threaten_Ret28,
 6727                           Time25))
 6728    ]).
 6729
 6730
 6736axiom(happens(becomeAngryAt(Agent2, Agent1), Time),
 6737    [happens(threaten(Agent1, Agent2, Weapon), Time)]).
 6738
 6739
 6746axiom(initiates(threaten(Agent1, Agent2, Weapon), threatenedBy(Agent2, Agent1), Time),
 6747    []).
 6748
 6749
 6756axiom(terminates(releaseFromThreat(Agent1, Agent2), threatenedBy(Agent2, Agent1), Time),
 6757    []).
 6758
 6759% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2097
 6760% event Order(agent,agent,physobj)
 6761 %  event(order(agent,agent,physobj)).
 6762% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2098
 6763==> mpred_prop(order(agent,agent,physobj),event).
 6764==> meta_argtypes(order(agent,agent,physobj)).
 6765
 6766% fluent KnowOrder(agent,agent,physobj)
 6767 %  fluent(knowOrder(agent,agent,physobj)).
 6768% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2100
 6769==> mpred_prop(knowOrder(agent,agent,physobj),fluent).
 6770==> meta_argtypes(knowOrder(agent,agent,physobj)).
 6771
 6772
 6779axiom(initiates(order(Agent1, Agent2, Physobj), knowOrder(Agent2, Agent1, Physobj), Time),
 6780    []).
 6781
 6782
 6790
 6791  6796
 6797  6805axiom(not(some(Location7, '$kolem_Fn_233'(Fn_233_Param, At_Param, Order_Ret, Maptime))),
 6806   
 6807    [ not(holds_at(at(Fn_233_Param, Location7), Maptime)),
 6808      happens(order(Fn_233_Param, At_Param, Order_Ret),
 6809              Maptime)
 6810    ]).
 6811axiom(not(some(Location7, '$kolem_Fn_233'(Fn_233_Param, At_Param, Order_Ret, Maptime))),
 6812   
 6813    [ not(holds_at(at(At_Param, Location7), Maptime)),
 6814      happens(order(Fn_233_Param, At_Param, Order_Ret),
 6815              Maptime)
 6816    ]).
 6817
 6818  6828axiom(not(happens(order(Order_Param, At_Param14, Order_Ret15), Maptime11)),
 6829   
 6830    [ not(holds_at(at(Order_Param, Location12), Maptime11)),
 6831      some(Location12,
 6832           '$kolem_Fn_233'(Order_Param,
 6833                           At_Param14,
 6834                           Order_Ret15,
 6835                           Maptime11))
 6836    ]).
 6837axiom(not(happens(order(Order_Param, At_Param14, Order_Ret15), Maptime11)),
 6838   
 6839    [ not(holds_at(at(At_Param14, Location12), Maptime11)),
 6840      some(Location12,
 6841           '$kolem_Fn_233'(Order_Param,
 6842                           At_Param14,
 6843                           Order_Ret15,
 6844                           Maptime11))
 6845    ]).
 6846
 6847  6855axiom(holds_at(at(At_Param18, Location16), Time17),
 6856   
 6857    [ happens(order(At_Param18, A, Order_Ret19), Time17),
 6858      some(Location16,
 6859           '$kolem_Fn_233'(At_Param18,
 6860                           A,
 6861                           Order_Ret19,
 6862                           Time17))
 6863    ]).
 6864
 6865  6874axiom(holds_at(at(At_Param22, Location20), Time21),
 6875   
 6876    [ happens(order(Order_Param23, At_Param22, Order_Ret24),
 6877              Time21),
 6878      some(Location20,
 6879           '$kolem_Fn_233'(Order_Param23,
 6880                           At_Param22,
 6881                           Order_Ret24,
 6882                           Time21))
 6883    ]).
 6884
 6885% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2112
 6886% event Request(agent,agent,physobj)
 6887 %  event(request(agent,agent,physobj)).
 6888% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2113
 6889==> mpred_prop(request(agent,agent,physobj),event).
 6890==> meta_argtypes(request(agent,agent,physobj)).
 6891
 6892% fluent KnowRequest(agent,agent,physobj)
 6893 %  fluent(knowRequest(agent,agent,physobj)).
 6894% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2115
 6895==> mpred_prop(knowRequest(agent,agent,physobj),fluent).
 6896==> meta_argtypes(knowRequest(agent,agent,physobj)).
 6897
 6898
 6905axiom(initiates(request(Agent1, Agent2, Physobj), knowRequest(Agent2, Agent1, Physobj), Time),
 6906    []).
 6907
 6908
 6916
 6917  6922
 6923  6931axiom(not(some(Location7, '$kolem_Fn_234'(Fn_234_Param, At_Param, Request_Ret, Maptime))),
 6932   
 6933    [ not(holds_at(at(Fn_234_Param, Location7), Maptime)),
 6934      happens(request(Fn_234_Param, At_Param, Request_Ret),
 6935              Maptime)
 6936    ]).
 6937axiom(not(some(Location7, '$kolem_Fn_234'(Fn_234_Param, At_Param, Request_Ret, Maptime))),
 6938   
 6939    [ not(holds_at(at(At_Param, Location7), Maptime)),
 6940      happens(request(Fn_234_Param, At_Param, Request_Ret),
 6941              Maptime)
 6942    ]).
 6943
 6944  6954axiom(not(happens(request(Request_Param, At_Param14, Request_Ret15), Maptime11)),
 6955   
 6956    [ not(holds_at(at(Request_Param, Location12), Maptime11)),
 6957      some(Location12,
 6958           '$kolem_Fn_234'(Request_Param,
 6959                           At_Param14,
 6960                           Request_Ret15,
 6961                           Maptime11))
 6962    ]).
 6963axiom(not(happens(request(Request_Param, At_Param14, Request_Ret15), Maptime11)),
 6964   
 6965    [ not(holds_at(at(At_Param14, Location12), Maptime11)),
 6966      some(Location12,
 6967           '$kolem_Fn_234'(Request_Param,
 6968                           At_Param14,
 6969                           Request_Ret15,
 6970                           Maptime11))
 6971    ]).
 6972
 6973  6982axiom(holds_at(at(At_Param18, Location16), Time17),
 6983   
 6984    [ happens(request(At_Param18, A, Request_Ret19),
 6985              Time17),
 6986      some(Location16,
 6987           '$kolem_Fn_234'(At_Param18,
 6988                           A,
 6989                           Request_Ret19,
 6990                           Time17))
 6991    ]).
 6992
 6993  7004axiom(holds_at(at(At_Param22, Location20), Time21),
 7005   
 7006    [ happens(request(Request_Param23,
 7007                      At_Param22,
 7008                      Request_Ret24),
 7009              Time21),
 7010      some(Location20,
 7011           '$kolem_Fn_234'(Request_Param23,
 7012                           At_Param22,
 7013                           Request_Ret24,
 7014                           Time21))
 7015    ]).
 7016
 7017
 7018% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2127
 7019%; End of file.
 7020%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 7021%; FILE: ecnet/Sleep.e
 7022%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 7023%;
 7024%; Copyright (c) 2005 IBM Corporation and others.
 7025%; All rights reserved. This program and the accompanying materials
 7026%; are made available under the terms of the Common Public License v1.0
 7027%; which accompanies this distribution, and is available at
 7028%; http://www.eclipse.org/legal/cpl-v10.html
 7029%;
 7030%; Contributors:
 7031%; IBM - Initial implementation
 7032%;
 7033%; The Sleep representation deals with the activity of sleeping and
 7034%; body posture.
 7035%; It is similar to the finite automaton representation of sleep
 7036%; used in ThoughtTreasure \fullcite[chap. 7]{Mueller:1998}.
 7037%;
 7038%; @book{Mueller:1998,
 7039%;   author = "Erik T. Mueller",
 7040%;   year = "1998",
 7041%;   title = "Natural Language Processing with \uppercase{T}hought\uppercase{T}reasure",
 7042%;   address = "New York",
 7043%;   publisher = "Signiform",
 7044%; }
 7045%;
 7046%; sleep
 7047%; agent wakes up.
 7048
 7049% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2162
 7050% event WakeUp(agent)
 7051 %  event(wakeUp(agent)).
 7052% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2163
 7053==> mpred_prop(wakeUp(agent),event).
 7054==> meta_argtypes(wakeUp(agent)).
 7055
 7056
 7057% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2164
 7058%; agent gets tired.
 7059
 7060% event GetTired(agent)
 7061 %  event(getTired(agent)).
 7062% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2166
 7063==> mpred_prop(getTired(agent),event).
 7064==> meta_argtypes(getTired(agent)).
 7065
 7066
 7067% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2167
 7068%; agent falls asleep.
 7069
 7070% event FallAsleep(agent)
 7071 %  event(fallAsleep(agent)).
 7072% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2169
 7073==> mpred_prop(fallAsleep(agent),event).
 7074==> meta_argtypes(fallAsleep(agent)).
 7075
 7076
 7077% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2170
 7078%; agent is asleep.
 7079
 7080% fluent Sleep0(agent)
 7081 %  fluent(sleep0(agent)).
 7082% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2172
 7083==> mpred_prop(sleep0(agent),fluent).
 7084==> meta_argtypes(sleep0(agent)).
 7085
 7086
 7087% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2172
 7088%; agent is awake and in bed.
 7089
 7090% fluent Sleep1(agent)
 7091 %  fluent(sleep1(agent)).
 7092% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2174
 7093==> mpred_prop(sleep1(agent),fluent).
 7094==> meta_argtypes(sleep1(agent)).
 7095
 7096
 7097% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2174
 7098%; agent is awake, out of bed, and undressed.
 7099
 7100% fluent Sleep2(agent)
 7101 %  fluent(sleep2(agent)).
 7102% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2176
 7103==> mpred_prop(sleep2(agent),fluent).
 7104==> meta_argtypes(sleep2(agent)).
 7105
 7106
 7107% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2176
 7108%; agent is awake and dressed.
 7109
 7110% fluent Sleep3(agent)
 7111 %  fluent(sleep3(agent)).
 7112% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2178
 7113==> mpred_prop(sleep3(agent),fluent).
 7114==> meta_argtypes(sleep3(agent)).
 7115
 7116
 7117% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2178
 7118%; agent is tired and dressed.
 7119
 7120% fluent Sleep4(agent)
 7121 %  fluent(sleep4(agent)).
 7122% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2180
 7123==> mpred_prop(sleep4(agent),fluent).
 7124==> meta_argtypes(sleep4(agent)).
 7125
 7126
 7127% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2180
 7128%; agent is tired and undressed.
 7129
 7130% fluent Sleep5(agent)
 7131 %  fluent(sleep5(agent)).
 7132% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2182
 7133==> mpred_prop(sleep5(agent),fluent).
 7134==> meta_argtypes(sleep5(agent)).
 7135
 7136
 7137% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2182
 7138%; agent is in bed, waiting to fall asleep.
 7139
 7140% fluent Sleep6(agent)
 7141 %  fluent(sleep6(agent)).
 7142% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2184
 7143==> mpred_prop(sleep6(agent),fluent).
 7144==> meta_argtypes(sleep6(agent)).
 7145
 7146
 7149
 7152xor([sleep0,sleep1,sleep2,sleep3,sleep4,sleep5,sleep6]).
 7153%; constraints
 7154%; agent is asleep.
 7155
 7156% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2191
 7157% fluent Asleep(agent)
 7158 %  fluent(asleep(agent)).
 7159% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2192
 7160==> mpred_prop(asleep(agent),fluent).
 7161==> meta_argtypes(asleep(agent)).
 7162
 7163
 7164% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2192
 7165%; agent is awake.
 7166
 7167% fluent Awake(agent)
 7168 %  fluent(awake(agent)).
 7169% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2194
 7170==> mpred_prop(awake(agent),fluent).
 7171==> meta_argtypes(awake(agent)).
 7172
 7173% noninertial Asleep
 7174% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2195
 7175==> noninertial(asleep).
 7176
 7177% noninertial Awake
 7178% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2196
 7179==> noninertial(awake).
 7182  7183
 7184  7188axiom(holds_at(asleep(Agent), Time),
 7189    [holds_at(sleep0(Agent), Time)]).
 7190axiom(holds_at(sleep0(Agent), Time),
 7191    [holds_at(asleep(Agent), Time)]).
 7192
 7193
 7204
 7205  7215axiom(holds_at(awake(Agent), Time),
 7216    [holds_at(sleep1(Agent), Time)]).
 7217axiom(holds_at(awake(Agent), Time),
 7218    [holds_at(sleep2(Agent), Time)]).
 7219axiom(holds_at(awake(Agent), Time),
 7220    [holds_at(sleep3(Agent), Time)]).
 7221axiom(holds_at(awake(Agent), Time),
 7222    [holds_at(sleep4(Agent), Time)]).
 7223axiom(holds_at(awake(Agent), Time),
 7224    [holds_at(sleep5(Agent), Time)]).
 7225axiom(holds_at(awake(Agent), Time),
 7226    [holds_at(sleep6(Agent), Time)]).
 7227
 7228  7231
 7232  7241axiom(holds_at(sleep1(Sleep1_Ret), Time2),
 7242   
 7243    [ not(holds_at(sleep2(Sleep1_Ret), Time2)),
 7244      not(holds_at(sleep3(Sleep1_Ret), Time2)),
 7245      not(holds_at(sleep4(Sleep1_Ret), Time2)),
 7246      not(holds_at(sleep5(Sleep1_Ret), Time2)),
 7247      not(holds_at(sleep6(Sleep1_Ret), Time2)),
 7248      holds_at(awake(Sleep1_Ret), Time2)
 7249    ]).
 7250
 7251  7260axiom(holds_at(sleep2(Sleep2_Ret), Time4),
 7261   
 7262    [ not(holds_at(sleep3(Sleep2_Ret), Time4)),
 7263      not(holds_at(sleep4(Sleep2_Ret), Time4)),
 7264      not(holds_at(sleep5(Sleep2_Ret), Time4)),
 7265      not(holds_at(sleep6(Sleep2_Ret), Time4)),
 7266      not(holds_at(sleep1(Sleep2_Ret), Time4)),
 7267      holds_at(awake(Sleep2_Ret), Time4)
 7268    ]).
 7269
 7270  7279axiom(holds_at(sleep3(Sleep3_Ret), Time6),
 7280   
 7281    [ not(holds_at(sleep4(Sleep3_Ret), Time6)),
 7282      not(holds_at(sleep5(Sleep3_Ret), Time6)),
 7283      not(holds_at(sleep6(Sleep3_Ret), Time6)),
 7284      not(holds_at(sleep2(Sleep3_Ret), Time6)),
 7285      not(holds_at(sleep1(Sleep3_Ret), Time6)),
 7286      holds_at(awake(Sleep3_Ret), Time6)
 7287    ]).
 7288
 7289  7298axiom(holds_at(sleep4(Sleep4_Ret), Time8),
 7299   
 7300    [ not(holds_at(sleep5(Sleep4_Ret), Time8)),
 7301      not(holds_at(sleep6(Sleep4_Ret), Time8)),
 7302      not(holds_at(sleep3(Sleep4_Ret), Time8)),
 7303      not(holds_at(sleep2(Sleep4_Ret), Time8)),
 7304      not(holds_at(sleep1(Sleep4_Ret), Time8)),
 7305      holds_at(awake(Sleep4_Ret), Time8)
 7306    ]).
 7307
 7308  7316axiom(holds_at(sleep5(Sleep5_Ret), Time10),
 7317   
 7318    [ not(holds_at(sleep6(Sleep5_Ret), Time10)),
 7319      not(holds_at(sleep4(Sleep5_Ret), Time10)),
 7320      not(holds_at(sleep3(Sleep5_Ret), Time10)),
 7321      not(holds_at(sleep2(Sleep5_Ret), Time10)),
 7322      not(holds_at(sleep1(Sleep5_Ret), Time10)),
 7323      holds_at(awake(Sleep5_Ret), Time10)
 7324    ]).
 7325
 7326  7334axiom(holds_at(sleep6(Sleep6_Ret), Time12),
 7335   
 7336    [ not(holds_at(sleep5(Sleep6_Ret), Time12)),
 7337      not(holds_at(sleep4(Sleep6_Ret), Time12)),
 7338      not(holds_at(sleep3(Sleep6_Ret), Time12)),
 7339      not(holds_at(sleep2(Sleep6_Ret), Time12)),
 7340      not(holds_at(sleep1(Sleep6_Ret), Time12)),
 7341      holds_at(awake(Sleep6_Ret), Time12)
 7342    ]).
 7343
 7344  7352axiom(not(holds_at(awake(Awake_Ret), Time14)),
 7353   
 7354    [ not(holds_at(sleep1(Awake_Ret), Time14)),
 7355      not(holds_at(sleep2(Awake_Ret), Time14)),
 7356      not(holds_at(sleep3(Awake_Ret), Time14)),
 7357      not(holds_at(sleep4(Awake_Ret), Time14)),
 7358      not(holds_at(sleep5(Awake_Ret), Time14)),
 7359      not(holds_at(sleep6(Awake_Ret), Time14))
 7360    ]).
 7361
 7362
 7370 
 7373axiom(terminates(wakeUp(Agent), sleep0(Agent), Time),
 7374    []).
 7375
 7376
 7379  7380axiom(initiates(wakeUp(Agent), sleep1(Agent), Time),
 7381    []).
 7382
 7383
 7386  7387axiom(requires(wakeUp(Agent), Time),
 7388    [holds_at(sleep0(Agent), Time)]).
 7389
 7390
 7396 
 7399axiom(terminates(riseFrom(Agent, Bed), sleep1(Agent), Time),
 7400    []).
 7401
 7402
 7405  7406axiom(initiates(riseFrom(Agent, Bed), sleep2(Agent), Time),
 7407    []).
 7408
 7409
 7414axiom(requires(riseFrom(Agent, Bed), Time),
 7415    [holds_at(sleep1(Agent), Time)]).
 7416
 7417
 7423 
 7426axiom(terminates(getDressed(Agent), sleep2(Agent), Time),
 7427    []).
 7428
 7429
 7432  7433axiom(initiates(getDressed(Agent), sleep3(Agent), Time),
 7434    []).
 7435
 7436
 7439  7440axiom(requires(getDressed(Agent), Time),
 7441    [holds_at(sleep2(Agent), Time)]).
 7442
 7443
 7449 
 7452axiom(terminates(getTired(Agent), sleep3(Agent), Time),
 7453    []).
 7454
 7455
 7458  7459axiom(initiates(getTired(Agent), sleep4(Agent), Time),
 7460    []).
 7461
 7462
 7465  7466axiom(requires(getTired(Agent), Time),
 7467    [holds_at(sleep3(Agent), Time)]).
 7468
 7469
 7475 
 7478axiom(terminates(getUndressed(Agent), sleep4(Agent), Time),
 7479    []).
 7480
 7481
 7484  7485axiom(initiates(getUndressed(Agent), sleep5(Agent), Time),
 7486    []).
 7487
 7488
 7491  7492axiom(requires(getUndressed(Agent), Time),
 7493    [holds_at(sleep4(Agent), Time)]).
 7494
 7495
 7501 
 7504axiom(terminates(lieOn(Agent, Bed), sleep5(Agent), Time),
 7505    []).
 7506
 7507
 7510  7511axiom(initiates(lieOn(Agent, Bed), sleep6(Agent), Time),
 7512    []).
 7513
 7514
 7517  7518axiom(requires(lieOn(Agent, Bed), Time),
 7519    [holds_at(sleep5(Agent), Time)]).
 7520
 7521
 7527 
 7530axiom(terminates(fallAsleep(Agent), sleep6(Agent), Time),
 7531    []).
 7532
 7533
 7536  7537axiom(initiates(fallAsleep(Agent), sleep0(Agent), Time),
 7538    []).
 7539
 7540
 7543  7544axiom(requires(fallAsleep(Agent), Time),
 7545    [holds_at(sleep6(Agent), Time)]).
 7546
 7547
 7548% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2283
 7549%;--
 7550%; agent acts on being in state Sleep5.
 7551
 7552% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2286
 7553% fluent ActOnSleep5(agent)
 7554 %  fluent(actOnSleep5(agent)).
 7555% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2287
 7556==> mpred_prop(actOnSleep5(agent),fluent).
 7557==> meta_argtypes(actOnSleep5(agent)).
 7558
 7559% noninertial ActOnSleep5
 7560% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2288
 7561==> noninertial(actOnSleep5).
 7570axiom(not(holds_at(actOnSleep5(Agent), Time)),
 7571    [not(holds_at(sleep5(Agent), Time))]).
 7572
 7573
 7588axiom(happens(lieOn(Agent, Bed), Time),
 7589   
 7590    [ holds_at(sleep5(Agent), Time),
 7591      holds_at(actOnSleep5(Agent), Time),
 7592      holds_at(at(Agent, Room), Time),
 7593      holds_at(at(Bed, Room), Time)
 7594    ]).
 7595
 7596
 7613
 7614  7618
 7619  7628axiom(not(some(Location, '$kolem_Fn_235'(Fn_235_Param, At_Param, Maptime))),
 7629   
 7630    [ not(holds_at(sleep5(Fn_235_Param), Maptime)),
 7631      happens(lieOn(Fn_235_Param, At_Param), Maptime)
 7632    ]).
 7633axiom(not(some(Location, '$kolem_Fn_235'(Fn_235_Param, At_Param, Maptime))),
 7634   
 7635    [ not(holds_at(actOnSleep5(Fn_235_Param), Maptime)),
 7636      happens(lieOn(Fn_235_Param, At_Param), Maptime)
 7637    ]).
 7638axiom(not(some(Location, '$kolem_Fn_235'(Fn_235_Param, At_Param, Maptime))),
 7639   
 7640    [ not(holds_at(at(Fn_235_Param, Location), Maptime)),
 7641      happens(lieOn(Fn_235_Param, At_Param), Maptime)
 7642    ]).
 7643axiom(not(some(Location, '$kolem_Fn_235'(Fn_235_Param, At_Param, Maptime))),
 7644   
 7645    [ not(holds_at(at(At_Param, Location), Maptime)),
 7646      happens(lieOn(Fn_235_Param, At_Param), Maptime)
 7647    ]).
 7648
 7649  7658axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
 7659   
 7660    [ not(holds_at(sleep5(LieOn_Param), Maptime9)),
 7661      some(Location10,
 7662           '$kolem_Fn_235'(LieOn_Param, At_Param12, Maptime9))
 7663    ]).
 7664axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
 7665   
 7666    [ not(holds_at(actOnSleep5(LieOn_Param), Maptime9)),
 7667      some(Location10,
 7668           '$kolem_Fn_235'(LieOn_Param, At_Param12, Maptime9))
 7669    ]).
 7670axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
 7671   
 7672    [ not(holds_at(at(LieOn_Param, Location10), Maptime9)),
 7673      some(Location10,
 7674           '$kolem_Fn_235'(LieOn_Param, At_Param12, Maptime9))
 7675    ]).
 7676axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
 7677   
 7678    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
 7679      some(Location10,
 7680           '$kolem_Fn_235'(LieOn_Param, At_Param12, Maptime9))
 7681    ]).
 7682
 7683  7688axiom(holds_at(sleep5(LieOn_Param14), Time13),
 7689   
 7690    [ happens(lieOn(LieOn_Param14, LieOn_Ret), Time13),
 7691      some(Some_Param,
 7692           '$kolem_Fn_235'(LieOn_Param14, LieOn_Ret, Time13))
 7693    ]).
 7694
 7695  7700axiom(holds_at(actOnSleep5(LieOn_Param18), Time17),
 7701   
 7702    [ happens(lieOn(LieOn_Param18, LieOn_Ret20), Time17),
 7703      some(Some_Param19,
 7704           '$kolem_Fn_235'(LieOn_Param18, LieOn_Ret20, Time17))
 7705    ]).
 7706
 7707  7712axiom(holds_at(at(At_Param23, Location21), Time22),
 7713   
 7714    [ happens(lieOn(At_Param23, LieOn_Ret24), Time22),
 7715      some(Location21,
 7716           '$kolem_Fn_235'(At_Param23, LieOn_Ret24, Time22))
 7717    ]).
 7718
 7719  7724axiom(holds_at(at(At_Param27, Location25), Time26),
 7725   
 7726    [ happens(lieOn(LieOn_Param28, At_Param27), Time26),
 7727      some(Location25,
 7728           '$kolem_Fn_235'(LieOn_Param28, At_Param27, Time26))
 7729    ]).
 7730
 7731
 7732% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2323
 7733%; (body) posture
 7734%; agent lies on physobj.
 7735
 7736% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2326
 7737% event LieOn(agent,physobj)
 7738 %  event(lieOn(agent,physobj)).
 7739% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2327
 7740==> mpred_prop(lieOn(agent,physobj),event).
 7741==> meta_argtypes(lieOn(agent,physobj)).
 7742
 7743
 7744% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2328
 7745%; agent sits on physobj.
 7746
 7747% event SitOn(agent,physobj)
 7748 %  event(sitOn(agent,physobj)).
 7749% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2330
 7750==> mpred_prop(sitOn(agent,physobj),event).
 7751==> meta_argtypes(sitOn(agent,physobj)).
 7752
 7753
 7761
 7762  7766
 7767  7774axiom(not(some(Location6, '$kolem_Fn_236'(Fn_236_Param, At_Param, Maptime))),
 7775   
 7776    [ not(holds_at(at(Fn_236_Param, Location6), Maptime)),
 7777      happens(sitOn(Fn_236_Param, At_Param), Maptime)
 7778    ]).
 7779axiom(not(some(Location6, '$kolem_Fn_236'(Fn_236_Param, At_Param, Maptime))),
 7780   
 7781    [ not(holds_at(at(At_Param, Location6), Maptime)),
 7782      happens(sitOn(Fn_236_Param, At_Param), Maptime)
 7783    ]).
 7784
 7785  7792axiom(not(happens(sitOn(SitOn_Param, At_Param12), Maptime9)),
 7793   
 7794    [ not(holds_at(at(SitOn_Param, Location10), Maptime9)),
 7795      some(Location10,
 7796           '$kolem_Fn_236'(SitOn_Param, At_Param12, Maptime9))
 7797    ]).
 7798axiom(not(happens(sitOn(SitOn_Param, At_Param12), Maptime9)),
 7799   
 7800    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
 7801      some(Location10,
 7802           '$kolem_Fn_236'(SitOn_Param, At_Param12, Maptime9))
 7803    ]).
 7804
 7805  7810axiom(holds_at(at(At_Param15, Location13), Time14),
 7811   
 7812    [ happens(sitOn(At_Param15, SitOn_Ret), Time14),
 7813      some(Location13,
 7814           '$kolem_Fn_236'(At_Param15, SitOn_Ret, Time14))
 7815    ]).
 7816
 7817  7822axiom(holds_at(at(At_Param19, Location17), Time18),
 7823   
 7824    [ happens(sitOn(SitOn_Param20, At_Param19), Time18),
 7825      some(Location17,
 7826           '$kolem_Fn_236'(SitOn_Param20, At_Param19, Time18))
 7827    ]).
 7828
 7829
 7830% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2337
 7831%; agent rises from physobj.
 7832
 7833% event RiseFrom(agent,physobj)
 7834 %  event(riseFrom(agent,physobj)).
 7835% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2339
 7836==> mpred_prop(riseFrom(agent,physobj),event).
 7837==> meta_argtypes(riseFrom(agent,physobj)).
 7838
 7839
 7840% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2340
 7841%; agent is lying on physobj.
 7842
 7843% fluent LyingOn(agent,physobj)
 7844 %  fluent(lyingOn(agent,physobj)).
 7845% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2342
 7846==> mpred_prop(lyingOn(agent,physobj),fluent).
 7847==> meta_argtypes(lyingOn(agent,physobj)).
 7848
 7849
 7850% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2342
 7851%; agent is sitting on physobj.
 7852
 7853% fluent SittingOn(agent,physobj)
 7854 %  fluent(sittingOn(agent,physobj)).
 7855% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2344
 7856==> mpred_prop(sittingOn(agent,physobj),fluent).
 7857==> meta_argtypes(sittingOn(agent,physobj)).
 7858
 7859
 7860% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2344
 7861%; agent is standing.
 7862
 7863% fluent Standing(agent)
 7864 %  fluent(standing(agent)).
 7865% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2346
 7866==> mpred_prop(standing(agent),fluent).
 7867==> meta_argtypes(standing(agent)).
 7868
 7869
 7870% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2347
 7871%; agent is lying down.
 7872
 7873% fluent Lying(agent)
 7874 %  fluent(lying(agent)).
 7875% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2349
 7876==> mpred_prop(lying(agent),fluent).
 7877==> meta_argtypes(lying(agent)).
 7878
 7879
 7880% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2349
 7881%; agent is sitting.
 7882
 7883% fluent Sitting(agent)
 7884 %  fluent(sitting(agent)).
 7885% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2351
 7886==> mpred_prop(sitting(agent),fluent).
 7887==> meta_argtypes(sitting(agent)).
 7888
 7889% noninertial Lying
 7890% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2352
 7891==> noninertial(lying).
 7892
 7893% noninertial Sitting
 7894% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2353
 7895==> noninertial(sitting).
 7897
 7901xor([lying,sitting,standing]).
 7902
 7903
 7909axiom(holds_at(lying(Agent), Time),
 7910    [holds_at(lyingOn(Agent, Physobj), Time)]).
 7911
 7912
 7918axiom(holds_at(sitting(Agent), Time),
 7919    [holds_at(sittingOn(Agent, Physobj), Time)]).
 7920
 7921
 7931axiom(Physobj1=Physobj2,
 7932   
 7933    [ holds_at(lyingOn(Agent, Physobj1), Time),
 7934      holds_at(lyingOn(Agent, Physobj2), Time)
 7935    ]).
 7936
 7937
 7944axiom(Physobj1=Physobj2,
 7945   
 7946    [ holds_at(sittingOn(Agent, Physobj1), Time),
 7947      holds_at(sittingOn(Agent, Physobj2), Time)
 7948    ]).
 7949
 7950
 7962axiom(initiates(lieOn(Agent, Physobj), lyingOn(Agent, Physobj), Time),
 7963    [holds_at(standing(Agent), Time)]).
 7964
 7965
 7976axiom(terminates(lieOn(Agent, Physobj), standing(Agent), Time),
 7977    []).
 7978
 7979
 7991axiom(initiates(sitOn(Agent, Physobj), sittingOn(Agent, Physobj), Time),
 7992    [holds_at(standing(Agent), Time)]).
 7993
 7994
 8005axiom(terminates(sitOn(Agent, Physobj), standing(Agent), Time),
 8006    []).
 8007
 8008
 8022axiom(initiates(riseFrom(Agent, Physobj), standing(Agent), Time),
 8023    [holds_at(sittingOn(Agent, Physobj), Time)]).
 8024axiom(initiates(riseFrom(Agent, Physobj), standing(Agent), Time),
 8025    [holds_at(lyingOn(Agent, Physobj), Time)]).
 8026
 8027
 8040axiom(terminates(riseFrom(Agent, Physobj), sittingOn(Agent, Physobj), Time),
 8041    [holds_at(sittingOn(Agent, Physobj), Time)]).
 8042
 8043
 8056axiom(terminates(riseFrom(Agent, Physobj), lyingOn(Agent, Physobj), Time),
 8057    [holds_at(lyingOn(Agent, Physobj), Time)]).
 8058
 8059
 8060% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2442
 8061%; dressing
 8062%; agent gets undressed.
 8063
 8064% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2445
 8065% event GetDressed(agent)
 8066 %  event(getDressed(agent)).
 8067% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2446
 8068==> mpred_prop(getDressed(agent),event).
 8069==> meta_argtypes(getDressed(agent)).
 8070
 8071
 8072% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2446
 8073%; agent gets dressed.
 8074
 8075% event GetUndressed(agent)
 8076 %  event(getUndressed(agent)).
 8077% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2448
 8078==> mpred_prop(getUndressed(agent),event).
 8079==> meta_argtypes(getUndressed(agent)).
 8080
 8081
 8082% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2448
 8083%; agent is dressed.
 8084
 8085% fluent Dressed(agent)
 8086 %  fluent(dressed(agent)).
 8087% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2450
 8088==> mpred_prop(dressed(agent),fluent).
 8089==> meta_argtypes(dressed(agent)).
 8090
 8091
 8095  8097axiom(initiates(getDressed(Agent), dressed(Agent), Time),
 8098    []).
 8099
 8100
 8103  8104axiom(terminates(getUndressed(Agent), dressed(Agent), Time),
 8105    []).
 8106
 8107
 8133
 8137:- set_ec_option(modeldiff, on). 8138
 8141ignore(love).
 8142ignore(threatenedBy).
 8143
 8146ignore(lookOutOnto).
 8147ignore(floor).
 8148ignore(buildingOf).
 8149ignore(skyOf).
 8150ignore(groundOf).
 8151
 8154ignore(inside).
 8155ignore(near).
 8156
 8159ignore(see).
 8160
 8163ignore(actOnSleep5).
 8164
 8167:- set_ec_option(renaming, off). 8168
 8170
 8173
 8176load('answers/Mueller2003/Ontology.e').
 8177
 8180load('answers/Mueller2004c/RTSpaceM.e').
 8181
 8184load('answers/Mueller2004c/OTSpaceM.e').
 8185
 8188load('answers/Mueller2004c/Cognition.e').
 8189
 8192load('answers/Mueller2003/Sleep.e').
 8193
 8194% door Door1
 8195% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2504
 8196==> t(door,door1).
 8197
 8198% room Room0
 8199% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2506
 8200==> t(room,room0).
 8201
 8202% room Room1
 8203% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2508
 8204==> t(room,room1).
 8205
 8206
 8209side1(door1,room0).
 8210
 8211
 8214side2(door1,room1).
 8215
 8216% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2512
 8217% agent Sleeper1
 8218% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2513
 8219==> t(agent,sleeper1).
 8220
 8221% bed Bed1
 8222% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2515
 8223==> t(bed,bed1).
 8224
 8225% outside Outside1
 8226% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2517
 8227==> t(outside,outside1).
 8230  8231  8233axiom(not(initially(holding(Holding_Param, Holding_Ret))),
 8234    []).
 8235
 8236
 8239  8240  8241axiom(not(initially(sittingOn(SittingOn_Param, SittingOn_Ret))),
 8242    []).
 8243
 8244
 8247  8248  8249axiom(not(initially(lyingOn(LyingOn_Param, LyingOn_Ret))),
 8250    []).
 8251
 8252
 8255axiom(initially(dressed(sleeper1)),
 8256    []).
 8257
 8258
 8261axiom(initially(awake(sleeper1)),
 8262    []).
 8263
 8264
 8267axiom(initially(sleep3(sleeper1)),
 8268    []).
 8269
 8270
 8273axiom(initially(standing(sleeper1)),
 8274    []).
 8275
 8276
 8279axiom(initially(doorUnlocked(door1)),
 8280    []).
 8281
 8282
 8285axiom(initially(doorIsOpen(door1)),
 8286    []).
 8287
 8288
 8291axiom(initially(at(sleeper1, room0)),
 8292    []).
 8293
 8294
 8297axiom(initially(at(bed1, room1)),
 8298    []).
 8299
 8300
 8303
 8304
 8307axiom(happens(getTired(sleeper1), t),
 8308    [is_time(0)]).
 8309
 8310
 8313axiom(happens(walkThroughDoor12(sleeper1, door1), start),
 8314    [is_time(1), b(t, start), ignore(t+1=start)]).
 8315
 8316
 8319axiom(happens(getUndressed(sleeper1), t2),
 8320    [is_time(2), b(t, t2), ignore(t+2=t2)]).
 8321
 8322
 8325axiom(happens(lieOn(sleeper1, bed1), t3),
 8326    [is_time(3), b(t, t3), ignore(t+3=t3)]).
 8327
 8328
 8331axiom(happens(fallAsleep(sleeper1), t4),
 8332    [is_time(4), b(t, t4), ignore(t+4=t4)]).
 8333
 8334
 8337axiom(happens(dream(sleeper1), t5),
 8338    [is_time(5), b(t, t5), ignore(t+5=t5)]).
 8339
 8340
 8343axiom(happens(wakeUp(sleeper1), t6),
 8344    [is_time(6), b(t, t6), ignore(t+6=t6)]).
 8345
 8346
 8349axiom(happens(riseFrom(sleeper1, bed1), t7),
 8350    [is_time(7), b(t, t7), ignore(t+7=t7)]).
 8351
 8352
 8355axiom(happens(getDressed(sleeper1), t8),
 8356    [is_time(8), b(t, t8), ignore(t+8=t8)]).
 8357
 8358
 8361axiom(happens(walkThroughDoor21(sleeper1, door1), t9),
 8362    [is_time(9), b(t, t9), ignore(t+9=t9)]).
 8363
 8364% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2543
 8365% range time 0 10
 8366% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2544
 8367==> range(time,0,10).
 8368
 8369% range offset 0 0
 8370% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2545
 8371==> range(offset,0,0).
 8372
 8373% range diameter 0 0
 8374% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2546
 8375==> range(diameter,0,0).
 8376
 8377% completion Happens
 8378% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2548
 8379==> completion(happens).
 8401
 8405:- set_ec_option(renaming, off). 8406
 8409:- set_ec_option(encoding, 3). 8410
 8412
 8415
 8418load('answers/Mueller2003/Ontology.e').
 8419
 8422load('answers/MuellerInPress/RepRest.e').
 8423
 8424% door MainEntrance1
 8425% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2584
 8426==> t(door,mainEntrance1).
 8427%; room-scale topological space
 8428
 8429% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2586
 8430% outside Street1
 8431% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2587
 8432==> t(outside,street1).
 8433
 8434% room DiningRoom1
 8435% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2588
 8436==> t(room,diningRoom1).
 8437
 8438% door KitchenDoor1
 8439% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2589
 8440==> t(door,kitchenDoor1).
 8441
 8442% room Kitchen1
 8443% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2590
 8444==> t(room,kitchen1).
 8445
 8446
 8449side1(mainEntrance1,street1).
 8450
 8451
 8454side2(mainEntrance1,diningRoom1).
 8455
 8456
 8459side1(kitchenDoor1,diningRoom1).
 8460
 8461
 8464side2(kitchenDoor1,kitchen1).
 8465
 8466% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2595
 8467% agent Customer1
 8468% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2596
 8469==> t(agent,customer1).
 8470
 8471% menu Menu1
 8472% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2597
 8473==> t(menu,menu1).
 8474
 8475% chair Chair1
 8476% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2598
 8477==> t(chair,chair1).
 8478
 8479% food Food1
 8480% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2599
 8481==> t(food,food1).
 8482
 8483
 8486axiom(initially(at(customer1, street1)),
 8487    []).
 8488
 8489
 8492axiom(initially(hungry(customer1)),
 8493    []).
 8494
 8495
 8498axiom(initially(at(chair1, diningRoom1)),
 8499    []).
 8500
 8501
 8504axiom(initially(at(menu1, diningRoom1)),
 8505    []).
 8506
 8507
 8510axiom(initially(on(menu1, table1)),
 8511    []).
 8512
 8513
 8516axiom(initially(at(food1, kitchen1)),
 8517    []).
 8518
 8519% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2606
 8520% waiter Waiter1
 8521% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2607
 8522==> t(waiter,waiter1).
 8523
 8524% cook Cook1
 8525% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2608
 8526==> t(cook,cook1).
 8527%; props
 8528
 8529% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2610
 8530% table Table1
 8531% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2611
 8532==> t(table,table1).
 8533
 8534% bill Bill1
 8535% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2612
 8536==> t(bill,bill1).
 8537%; restaurant
 8538
 8539% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2614
 8540% restaurant Restaurant1
 8541% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2615
 8542==> t(restaurant,restaurant1).
 8543
 8544
 8547cookOf(restaurant1,cook1).
 8548
 8549
 8552tableOf(restaurant1,table1).
 8553
 8554
 8557waiterOf(restaurant1,waiter1).
 8558
 8559
 8562kitchenDoorOf(restaurant1,kitchenDoor1).
 8563
 8564
 8567billOf(restaurant1,bill1).
 8568
 8569
 8570% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2621
 8571%; prune
 8572
 8573% sort ona, onb
 8574% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2623
 8575==> sort(ona).
 8576==> sort(onb).
 8577
 8578% fluent! On(ona,onb)
 8579 %  fluent(on(ona,onb)).
 8580% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2624
 8581==> mpred_prop(on(ona,onb),fluent).
 8582==> meta_argtypes(on(ona,onb)).
 8583
 8584% event! PlaceOn(agent,ona,onb)
 8585 %  event(placeOn(agent,ona,onb)).
 8586% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2625
 8587==> mpred_prop(placeOn(agent,ona,onb),event).
 8588==> meta_argtypes(placeOn(agent,ona,onb)).
 8589
 8590% event! TakeOffOf(agent,ona,onb)
 8591 %  event(takeOffOf(agent,ona,onb)).
 8592% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2626
 8593==> mpred_prop(takeOffOf(agent,ona,onb),event).
 8594==> meta_argtypes(takeOffOf(agent,ona,onb)).
 8595
 8596% sort ordera, orderb, orderc
 8597% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2628
 8598==> sort(ordera).
 8599==> sort(orderb).
 8600==> sort(orderc).
 8601
 8602% event! Order(ordera,orderb,orderc)
 8603 %  event(order(ordera,orderb,orderc)).
 8604% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2629
 8605==> mpred_prop(order(ordera,orderb,orderc),event).
 8606==> meta_argtypes(order(ordera,orderb,orderc)).
 8607
 8608% fluent! KnowOrder(orderb,ordera,orderc)
 8609 %  fluent(knowOrder(orderb,ordera,orderc)).
 8610% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2630
 8611==> mpred_prop(knowOrder(orderb,ordera,orderc),fluent).
 8612==> meta_argtypes(knowOrder(orderb,ordera,orderc)).
 8613
 8614% sort requesta, requestb, requestc
 8615% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2632
 8616==> sort(requesta).
 8617==> sort(requestb).
 8618==> sort(requestc).
 8619
 8620% event! Request(requesta,requestb,requestc)
 8621 %  event(request(requesta,requestb,requestc)).
 8622% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2633
 8623==> mpred_prop(request(requesta,requestb,requestc),event).
 8624==> meta_argtypes(request(requesta,requestb,requestc)).
 8625
 8626% fluent! KnowRequest(requestb,requesta,requestc)
 8627 %  fluent(knowRequest(requestb,requesta,requestc)).
 8628% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2634
 8629==> mpred_prop(knowRequest(requestb,requesta,requestc),fluent).
 8630==> meta_argtypes(knowRequest(requestb,requesta,requestc)).
 8631
 8632% sort holda, holdb, holdc
 8633% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2636
 8634==> sort(holda).
 8635==> sort(holdb).
 8636==> sort(holdc).
 8637
 8638% event! TakeOffOf(holda,holdb,holdc)
 8639 %  event(takeOffOf(holda,holdb,holdc)).
 8640% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2637
 8641==> mpred_prop(takeOffOf(holda,holdb,holdc),event).
 8642==> meta_argtypes(takeOffOf(holda,holdb,holdc)).
 8643
 8644% event! PickUp(holda,holdb)
 8645 %  event(pickUp(holda,holdb)).
 8646% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2638
 8647==> mpred_prop(pickUp(holda,holdb),event).
 8648==> meta_argtypes(pickUp(holda,holdb)).
 8649
 8650% event! LetGoOf(holda,holdb)
 8651 %  event(letGoOf(holda,holdb)).
 8652% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2639
 8653==> mpred_prop(letGoOf(holda,holdb),event).
 8654==> meta_argtypes(letGoOf(holda,holdb)).
 8655
 8656% event! Hold(holda,holdb)
 8657 %  event(hold(holda,holdb)).
 8658% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2640
 8659==> mpred_prop(hold(holda,holdb),event).
 8660==> meta_argtypes(hold(holda,holdb)).
 8661
 8662% fluent! Holding(holda,holdb)
 8663 %  fluent(holding(holda,holdb)).
 8664% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2641
 8665==> mpred_prop(holding(holda,holdb),fluent).
 8666==> meta_argtypes(holding(holda,holdb)).
 8667
 8668% sort sita, sitb
 8669% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2643
 8670==> sort(sita).
 8671==> sort(sitb).
 8672
 8673% event! LieOn(sita,sitb)
 8674 %  event(lieOn(sita,sitb)).
 8675% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2644
 8676==> mpred_prop(lieOn(sita,sitb),event).
 8677==> meta_argtypes(lieOn(sita,sitb)).
 8678
 8679% event! SitOn(sita,sitb)
 8680 %  event(sitOn(sita,sitb)).
 8681% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2645
 8682==> mpred_prop(sitOn(sita,sitb),event).
 8683==> meta_argtypes(sitOn(sita,sitb)).
 8684
 8685% event! RiseFrom(sita,sitb)
 8686 %  event(riseFrom(sita,sitb)).
 8687% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2646
 8688==> mpred_prop(riseFrom(sita,sitb),event).
 8689==> meta_argtypes(riseFrom(sita,sitb)).
 8690
 8691% fluent! LyingOn(sita,sitb)
 8692 %  fluent(lyingOn(sita,sitb)).
 8693% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2647
 8694==> mpred_prop(lyingOn(sita,sitb),fluent).
 8695==> meta_argtypes(lyingOn(sita,sitb)).
 8696
 8697% fluent! SittingOn(sita,sitb)
 8698 %  fluent(sittingOn(sita,sitb)).
 8699% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2648
 8700==> mpred_prop(sittingOn(sita,sitb),fluent).
 8701==> meta_argtypes(sittingOn(sita,sitb)).
 8702
 8703% sort greeta, greetb
 8704% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2650
 8705==> sort(greeta).
 8706==> sort(greetb).
 8707
 8708% event! Greet(greeta,greetb)
 8709 %  event(greet(greeta,greetb)).
 8710% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2651
 8711==> mpred_prop(greet(greeta,greetb),event).
 8712==> meta_argtypes(greet(greeta,greetb)).
 8713
 8714% ona! Menu1, Food1, Bill1
 8715% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2653
 8716==> t(ona,menu1).
 8717==> t(ona,food1).
 8718==> t(ona,bill1).
 8719
 8720% onb! Table1
 8721% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2654
 8722==> t(onb,table1).
 8723
 8724% ordera! Customer1, Waiter1
 8725% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2655
 8726==> t(ordera,customer1).
 8727==> t(ordera,waiter1).
 8728
 8729% orderb! Waiter1, Cook1
 8730% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2656
 8731==> t(orderb,waiter1).
 8732==> t(orderb,cook1).
 8733
 8734% orderc! Food1
 8735% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2657
 8736==> t(orderc,food1).
 8737
 8738% requesta! Customer1
 8739% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2658
 8740==> t(requesta,customer1).
 8741
 8742% requestb! Waiter1
 8743% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2659
 8744==> t(requestb,waiter1).
 8745
 8746% requestc! Bill1
 8747% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2660
 8748==> t(requestc,bill1).
 8749
 8750% holda! Customer1, Waiter1
 8751% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2661
 8752==> t(holda,customer1).
 8753==> t(holda,waiter1).
 8754
 8755% holdb! Menu1, Food1, Bill1
 8756% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2662
 8757==> t(holdb,menu1).
 8758==> t(holdb,food1).
 8759==> t(holdb,bill1).
 8760
 8761% holdc! Table1
 8762% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2663
 8763==> t(holdc,table1).
 8764
 8765% sita! Customer1
 8766% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2664
 8767==> t(sita,customer1).
 8768
 8769% sitb! Chair1
 8770% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2665
 8771==> t(sitb,chair1).
 8772
 8773% greeta! Customer1, Waiter1
 8774% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2666
 8775==> t(greeta,customer1).
 8776==> t(greeta,waiter1).
 8777
 8778% greetb! Customer1, Waiter1
 8779% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2667
 8780==> t(greetb,customer1).
 8781==> t(greetb,waiter1).
 8783
 8784
 8787axiom(initially(at(waiter1, diningRoom1)),
 8788    []).
 8789
 8790
 8793axiom(initially(at(cook1, kitchen1)),
 8794    []).
 8795
 8796
 8799axiom(initially(at(table1, diningRoom1)),
 8800    []).
 8801
 8802
 8805  8806axiom(not(initially(on(bill1, table1))),
 8807    []).
 8808
 8809
 8812axiom(initially(at(bill1, diningRoom1)),
 8813    []).
 8814
 8815
 8818  8819axiom(initially(standing(Agent)),
 8820    []).
 8821
 8822
 8825  8826  8827axiom(not(initially(holding(Holding_Param, Holding_Ret))),
 8828    []).
 8829
 8830
 8833  8834  8835axiom(not(initially(knowOrder(KnowOrder_Param, _, KnowOrder_Ret))),
 8836    []).
 8837
 8838
 8841  8842  8843axiom(not(initially(knowRequest(KnowRequest_Param, _, KnowRequest_Ret))),
 8844    []).
 8845
 8846
 8849axiom(initially(beWaiter0(waiter1)),
 8850    []).
 8851
 8852
 8855axiom(initially(beCook0(cook1)),
 8856    []).
 8857
 8858
 8861  8862  8863axiom(not(initially(foodPrepared(FoodPrepared_Ret))),
 8864    []).
 8865
 8866
 8869  8870axiom(not(initially(hungry(cook1))),
 8871    []).
 8872
 8873
 8876  8877axiom(not(initially(hungry(waiter1))),
 8878    []).
 8879
 8880
 8883axiom(happens(walkThroughDoor12(customer1, mainEntrance1), t),
 8884    [is_time(0)]).
 8885
 8886
 8889axiom(happens(greet(waiter1, customer1), start),
 8890    [is_time(1), b(t, start), ignore(t+1=start)]).
 8891
 8892
 8895axiom(happens(sitOn(customer1, chair1), t2),
 8896    [is_time(2), b(t, t2), ignore(t+2=t2)]).
 8897
 8898
 8901axiom(happens(takeOffOf(customer1, menu1, table1), t3),
 8902    [is_time(3), b(t, t3), ignore(t+3=t3)]).
 8903
 8904
 8907axiom(happens(order(customer1, waiter1, food1), t4),
 8908    [is_time(4), b(t, t4), ignore(t+4=t4)]).
 8909
 8910
 8913axiom(happens(placeOn(customer1, menu1, table1), t5),
 8914    [is_time(5), b(t, t5), ignore(t+5=t5)]).
 8915
 8916
 8919axiom(happens(eat(customer1, food1), t11),
 8920    [is_time(11), b(t, t11), ignore(t+11=t11)]).
 8921
 8922
 8925axiom(happens(request(customer1, waiter1, bill1), t12),
 8926    [is_time(12), b(t, t12), ignore(t+12=t12)]).
 8927
 8928
 8931axiom(happens(pay(customer1, waiter1), t15),
 8932    [is_time(15), b(t, t15), ignore(t+15=t15)]).
 8933
 8934
 8937axiom(happens(tip(customer1, waiter1), t15),
 8938    [is_time(15), b(t, t15), ignore(t+15=t15)]).
 8939
 8940
 8943axiom(happens(riseFrom(customer1, chair1), t16),
 8944    [is_time(16), b(t, t16), ignore(t+16=t16)]).
 8945
 8946
 8949axiom(happens(sayGoodbye(customer1, waiter1), t17),
 8950    [is_time(17), b(t, t17), ignore(t+17=t17)]).
 8951
 8952
 8955axiom(happens(walkThroughDoor21(customer1, mainEntrance1), t18),
 8956    [is_time(18), b(t, t18), ignore(t+18=t18)]).
 8957
 8958% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2698
 8959% range time 0 19
 8960% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2699
 8961==> range(time,0,19).
 8962
 8963% range offset 0 0
 8964% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2700
 8965==> range(offset,0,0).
 8966
 8967% range diameter 0 0
 8968% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2701
 8969==> range(diameter,0,0).
 8970
 8971% completion Happens
 8972% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2703
 8973==> completion(happens).
 8974%; End of file.
 8975%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 8976%; FILE: ecnet/RepRest.e
 8977%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 8978%;
 8979%; Copyright (c) 2005 IBM Corporation and others.
 8980%; All rights reserved. This program and the accompanying materials
 8981%; are made available under the terms of the Common Public License v1.0
 8982%; which accompanies this distribution, and is available at
 8983%; http://www.eclipse.org/legal/cpl-v10.html
 8984%;
 8985%; Contributors:
 8986%; IBM - Initial implementation
 8987%;
 8988%; @article{Mueller:InPress,
 8989%;   author = "Erik T. Mueller",
 8990%;   year = "in press",
 8991%;   title = "Modelling space and time in narratives about restaurants",
 8992%;   journal = "Literary and Linguistic Computing",
 8993%; }
 8994%;
 8995%;sort boolean
 8996%;sort integer
 8997%;reified sort predicate
 8998%;reified sort function
 8999%;
 9000%;sort time: integer
 9001%;sort offset: integer
 9002%;
 9003%;reified sort fluent
 9004%;reified sort event
 9005%;
 9006%;predicate Happens(event,time)
 9007%;predicate HoldsAt(fluent,time)
 9008%;predicate ReleasedAt(fluent,time)
 9009%;predicate Initiates(event,fluent,time)
 9010%;predicate Terminates(event,fluent,time)
 9011%;predicate Releases(event,fluent,time)
 9012%;
 9013%;sort diameter: integer
 9014%;
 9015%;sort object
 9016%;
 9017%;sort agent: object
 9018%;
 9019%;sort physobj: object
 9020%;sort bed: physobj
 9021%;sort snowflake: physobj
 9022%;sort sky: physobj
 9023%;
 9024%;sort stuff: physobj
 9025%;
 9026%;sort surface: physobj
 9027%;sort ground: surface
 9028%;
 9029%;sort snow: stuff
 9030%;sort ball
 9031%;
 9032%;sort food: physobj
 9033%;sort fruit: food
 9034%;sort orange: fruit
 9035%;sort salad: food
 9036%;
 9037%;sort clothing: physobj
 9038%;sort scarf: clothing
 9039%;sort hat: clothing
 9040%;
 9041%;sort vegetablematter: physobj
 9042%;sort coal: vegetablematter
 9043%;
 9044%;sort bodypart: physobj
 9045%;sort hand: bodypart
 9046%;
 9047%;sort papertowels: physobj
 9048%;sort device: physobj
 9049%;sort electronicdevice: device
 9050%;sort lamp: electronicdevice
 9051%;
 9052%;sort cat: physobj
 9053%;
 9054%;sort weapon: physobj
 9055%;sort gun: weapon
 9056%;sort bomb: weapon
 9057%;sort bullet: weapon
 9058%;
 9059%;sort location
 9060%;sort room: location, outside: location
 9061%;
 9062%;sort portal
 9063%;sort door: portal, staircase: portal
 9064%;sort street: portal
 9065%;
 9066%;sort building
 9067%;
 9068%;sort fire: object
 9069%;
 9070%;sort furniture: physobj
 9071%;sort chair: furniture
 9072%;sort table: furniture
 9073%;
 9074%;sort menu: physobj
 9075%;sort bill: physobj
 9076%;
 9077%;sort script
 9078%;
 9079
 9080% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2814
 9081% fluent Holding(agent,physobj)
 9082 %  fluent(holding(agent,physobj)).
 9083% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2815
 9084==> mpred_prop(holding(agent,physobj),fluent).
 9085==> meta_argtypes(holding(agent,physobj)).
 9086
 9087% event PickUp(agent,physobj)
 9088 %  event(pickUp(agent,physobj)).
 9089% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2816
 9090==> mpred_prop(pickUp(agent,physobj),event).
 9091==> meta_argtypes(pickUp(agent,physobj)).
 9092
 9093% event LetGoOf(agent,physobj)
 9094 %  event(letGoOf(agent,physobj)).
 9095% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2817
 9096==> mpred_prop(letGoOf(agent,physobj),event).
 9097==> meta_argtypes(letGoOf(agent,physobj)).
 9098
 9099
 9104axiom(initiates(pickUp(Agent, Physobj), holding(Agent, Physobj), Time),
 9105    []).
 9106
 9107
 9115
 9116  9120
 9121  9128axiom(not(some(Location6, '$kolem_Fn_237'(Fn_237_Param, At_Param, Maptime))),
 9129   
 9130    [ not(holds_at(at(Fn_237_Param, Location6), Maptime)),
 9131      happens(pickUp(Fn_237_Param, At_Param), Maptime)
 9132    ]).
 9133axiom(not(some(Location6, '$kolem_Fn_237'(Fn_237_Param, At_Param, Maptime))),
 9134   
 9135    [ not(holds_at(at(At_Param, Location6), Maptime)),
 9136      happens(pickUp(Fn_237_Param, At_Param), Maptime)
 9137    ]).
 9138
 9139  9146axiom(not(happens(pickUp(PickUp_Param, At_Param12), Maptime9)),
 9147   
 9148    [ not(holds_at(at(PickUp_Param, Location10), Maptime9)),
 9149      some(Location10,
 9150           '$kolem_Fn_237'(PickUp_Param, At_Param12, Maptime9))
 9151    ]).
 9152axiom(not(happens(pickUp(PickUp_Param, At_Param12), Maptime9)),
 9153   
 9154    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
 9155      some(Location10,
 9156           '$kolem_Fn_237'(PickUp_Param, At_Param12, Maptime9))
 9157    ]).
 9158
 9159  9164axiom(holds_at(at(At_Param15, Location13), Time14),
 9165   
 9166    [ happens(pickUp(At_Param15, PickUp_Ret), Time14),
 9167      some(Location13,
 9168           '$kolem_Fn_237'(At_Param15, PickUp_Ret, Time14))
 9169    ]).
 9170
 9171  9176axiom(holds_at(at(At_Param19, Location17), Time18),
 9177   
 9178    [ happens(pickUp(PickUp_Param20, At_Param19), Time18),
 9179      some(Location17,
 9180           '$kolem_Fn_237'(PickUp_Param20, At_Param19, Time18))
 9181    ]).
 9182
 9183
 9188axiom(terminates(letGoOf(Agent, Physobj), holding(Agent, Physobj), Time),
 9189    []).
 9190
 9191
 9197axiom(requires(letGoOf(Agent, Physobj), Time),
 9198    [holds_at(holding(Agent, Physobj), Time)]).
 9199
 9200
 9205axiom(releases(pickUp(Agent, Physobj), at(Physobj, Location), Time),
 9206    []).
 9207
 9208
 9215axiom(holds_at(at(Physobj, Location), Time),
 9216   
 9217    [ holds_at(holding(Agent, Physobj), Time),
 9218      holds_at(at(Agent, Location), Time)
 9219    ]).
 9220
 9221
 9232axiom(initiates(letGoOf(Agent, Physobj), at(Physobj, Location), Time),
 9233    [holds_at(at(Agent, Location), Time)]).
 9234
 9235% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2851
 9236% fluent On(physobj,physobj)
 9237 %  fluent(on(physobj,physobj)).
 9238% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2852
 9239==> mpred_prop(on(physobj,physobj),fluent).
 9240==> meta_argtypes(on(physobj,physobj)).
 9241
 9242% event PlaceOn(agent,physobj,physobj)
 9243 %  event(placeOn(agent,physobj,physobj)).
 9244% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2854
 9245==> mpred_prop(placeOn(agent,physobj,physobj),event).
 9246==> meta_argtypes(placeOn(agent,physobj,physobj)).
 9247
 9248% event TakeOffOf(agent,physobj,physobj)
 9249 %  event(takeOffOf(agent,physobj,physobj)).
 9250% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2856
 9251==> mpred_prop(takeOffOf(agent,physobj,physobj),event).
 9252==> meta_argtypes(takeOffOf(agent,physobj,physobj)).
 9253
 9254
 9260axiom(Physobj1\=Physobj2,
 9261    [holds_at(on(Physobj1, Physobj2), Time)]).
 9262
 9263
 9269axiom(not(holds_at(on(Physobj2, Physobj1), Time)),
 9270    [holds_at(on(Physobj1, Physobj2), Time)]).
 9271
 9272
 9278axiom(initiates(placeOn(Agent, Physobj1, Physobj2), on(Physobj1, Physobj2), Time),
 9279    []).
 9280
 9281
 9287axiom(terminates(placeOn(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
 9288    []).
 9289
 9290
 9299
 9300  9305
 9306  9316axiom(not(some(Location7, '$kolem_Fn_238'(Fn_238_Param, Holding_Ret, At_Param, Maptime))),
 9317   
 9318    [ not(holds_at(holding(Fn_238_Param, Holding_Ret),
 9319                   Maptime)),
 9320      happens(placeOn(Fn_238_Param, Holding_Ret, At_Param),
 9321              Maptime)
 9322    ]).
 9323axiom(not(some(Location7, '$kolem_Fn_238'(Fn_238_Param, Holding_Ret, At_Param, Maptime))),
 9324   
 9325    [ not(holds_at(at(Fn_238_Param, Location7), Maptime)),
 9326      happens(placeOn(Fn_238_Param, Holding_Ret, At_Param),
 9327              Maptime)
 9328    ]).
 9329axiom(not(some(Location7, '$kolem_Fn_238'(Fn_238_Param, Holding_Ret, At_Param, Maptime))),
 9330   
 9331    [ not(holds_at(at(At_Param, Location7), Maptime)),
 9332      happens(placeOn(Fn_238_Param, Holding_Ret, At_Param),
 9333              Maptime)
 9334    ]).
 9335
 9336  9348axiom(not(happens(placeOn(PlaceOn_Param, Holding_Ret15, At_Param14), Maptime11)),
 9349   
 9350    [ not(holds_at(holding(PlaceOn_Param, Holding_Ret15),
 9351                   Maptime11)),
 9352      some(Location12,
 9353           '$kolem_Fn_238'(PlaceOn_Param,
 9354                           Holding_Ret15,
 9355                           At_Param14,
 9356                           Maptime11))
 9357    ]).
 9358axiom(not(happens(placeOn(PlaceOn_Param, Holding_Ret15, At_Param14), Maptime11)),
 9359   
 9360    [ not(holds_at(at(PlaceOn_Param, Location12), Maptime11)),
 9361      some(Location12,
 9362           '$kolem_Fn_238'(PlaceOn_Param,
 9363                           Holding_Ret15,
 9364                           At_Param14,
 9365                           Maptime11))
 9366    ]).
 9367axiom(not(happens(placeOn(PlaceOn_Param, Holding_Ret15, At_Param14), Maptime11)),
 9368   
 9369    [ not(holds_at(at(At_Param14, Location12), Maptime11)),
 9370      some(Location12,
 9371           '$kolem_Fn_238'(PlaceOn_Param,
 9372                           Holding_Ret15,
 9373                           At_Param14,
 9374                           Maptime11))
 9375    ]).
 9376
 9377  9386axiom(holds_at(holding(Holding_Param, Holding_Ret19), Time16),
 9387   
 9388    [ happens(placeOn(Holding_Param,
 9389                      Holding_Ret19,
 9390                      PlaceOn_Ret),
 9391              Time16),
 9392      some(Some_Param,
 9393           '$kolem_Fn_238'(Holding_Param,
 9394                           Holding_Ret19,
 9395                           PlaceOn_Ret,
 9396                           Time16))
 9397    ]).
 9398
 9399  9408axiom(holds_at(at(At_Param23, Location21), Time22),
 9409   
 9410    [ happens(placeOn(At_Param23, A, PlaceOn_Ret24),
 9411              Time22),
 9412      some(Location21,
 9413           '$kolem_Fn_238'(At_Param23,
 9414                           A,
 9415                           PlaceOn_Ret24,
 9416                           Time22))
 9417    ]).
 9418
 9419  9428axiom(holds_at(at(At_Param27, Location25), Time26),
 9429   
 9430    [ happens(placeOn(PlaceOn_Param28, A, At_Param27),
 9431              Time26),
 9432      some(Location25,
 9433           '$kolem_Fn_238'(PlaceOn_Param28,
 9434                           A,
 9435                           At_Param27,
 9436                           Time26))
 9437    ]).
 9438
 9439
 9445axiom(terminates(takeOffOf(Agent, Physobj1, Physobj2), on(Physobj1, Physobj2), Time),
 9446    []).
 9447
 9448
 9454axiom(initiates(takeOffOf(Agent, Physobj1, Physobj2), holding(Agent, Physobj1), Time),
 9455    []).
 9456
 9457
 9464axiom(releases(takeOffOf(Agent, Physobj1, Physobj2), at(Physobj1, Location), Time),
 9465    []).
 9466
 9467
 9477
 9478  9483
 9484  9494axiom(not(some(Location7, '$kolem_Fn_239'(Fn_239_Param, On_Param, At_Param, Maptime))),
 9495   
 9496    [ not(holds_at(on(On_Param, At_Param), Maptime)),
 9497      happens(takeOffOf(Fn_239_Param, On_Param, At_Param),
 9498              Maptime)
 9499    ]).
 9500axiom(not(some(Location7, '$kolem_Fn_239'(Fn_239_Param, On_Param, At_Param, Maptime))),
 9501   
 9502    [ not(holds_at(at(Fn_239_Param, Location7), Maptime)),
 9503      happens(takeOffOf(Fn_239_Param, On_Param, At_Param),
 9504              Maptime)
 9505    ]).
 9506axiom(not(some(Location7, '$kolem_Fn_239'(Fn_239_Param, On_Param, At_Param, Maptime))),
 9507   
 9508    [ not(holds_at(at(On_Param, Location7), Maptime)),
 9509      happens(takeOffOf(Fn_239_Param, On_Param, At_Param),
 9510              Maptime)
 9511    ]).
 9512axiom(not(some(Location7, '$kolem_Fn_239'(Fn_239_Param, On_Param, At_Param, Maptime))),
 9513   
 9514    [ not(holds_at(at(At_Param, Location7), Maptime)),
 9515      happens(takeOffOf(Fn_239_Param, On_Param, At_Param),
 9516              Maptime)
 9517    ]).
 9518
 9519  9532axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
 9533   
 9534    [ not(holds_at(on(On_Param14, At_Param15), Maptime11)),
 9535      some(Location12,
 9536           '$kolem_Fn_239'(TakeOffOf_Param,
 9537                           On_Param14,
 9538                           At_Param15,
 9539                           Maptime11))
 9540    ]).
 9541axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
 9542   
 9543    [ not(holds_at(at(TakeOffOf_Param, Location12), Maptime11)),
 9544      some(Location12,
 9545           '$kolem_Fn_239'(TakeOffOf_Param,
 9546                           On_Param14,
 9547                           At_Param15,
 9548                           Maptime11))
 9549    ]).
 9550axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
 9551   
 9552    [ not(holds_at(at(On_Param14, Location12), Maptime11)),
 9553      some(Location12,
 9554           '$kolem_Fn_239'(TakeOffOf_Param,
 9555                           On_Param14,
 9556                           At_Param15,
 9557                           Maptime11))
 9558    ]).
 9559axiom(not(happens(takeOffOf(TakeOffOf_Param, On_Param14, At_Param15), Maptime11)),
 9560   
 9561    [ not(holds_at(at(At_Param15, Location12), Maptime11)),
 9562      some(Location12,
 9563           '$kolem_Fn_239'(TakeOffOf_Param,
 9564                           On_Param14,
 9565                           At_Param15,
 9566                           Maptime11))
 9567    ]).
 9568
 9569  9578axiom(holds_at(on(On_Param17, On_Ret), Time16),
 9579   
 9580    [ happens(takeOffOf(TakeOffOf_Param18, On_Param17, On_Ret),
 9581              Time16),
 9582      some(Some_Param,
 9583           '$kolem_Fn_239'(TakeOffOf_Param18,
 9584                           On_Param17,
 9585                           On_Ret,
 9586                           Time16))
 9587    ]).
 9588
 9589  9598axiom(holds_at(at(At_Param23, Location21), Time22),
 9599   
 9600    [ happens(takeOffOf(At_Param23, A, TakeOffOf_Ret),
 9601              Time22),
 9602      some(Location21,
 9603           '$kolem_Fn_239'(At_Param23,
 9604                           A,
 9605                           TakeOffOf_Ret,
 9606                           Time22))
 9607    ]).
 9608
 9609  9620axiom(holds_at(at(At_Param27, Location25), Time26),
 9621   
 9622    [ happens(takeOffOf(TakeOffOf_Param28,
 9623                        At_Param27,
 9624                        TakeOffOf_Ret29),
 9625              Time26),
 9626      some(Location25,
 9627           '$kolem_Fn_239'(TakeOffOf_Param28,
 9628                           At_Param27,
 9629                           TakeOffOf_Ret29,
 9630                           Time26))
 9631    ]).
 9632
 9633  9642axiom(holds_at(at(At_Param32, Location30), Time31),
 9643   
 9644    [ happens(takeOffOf(TakeOffOf_Param33, A, At_Param32),
 9645              Time31),
 9646      some(Location30,
 9647           '$kolem_Fn_239'(TakeOffOf_Param33,
 9648                           A,
 9649                           At_Param32,
 9650                           Time31))
 9651    ]).
 9652
 9653
 9660axiom(releases(placeOn(Agent, Physobj1, Physobj2), at(Physobj1, Location), Time),
 9661    []).
 9662
 9663
 9670axiom(holds_at(at(Physobj1, Location), Time),
 9671   
 9672    [ holds_at(on(Physobj1, Physobj2), Time),
 9673      holds_at(at(Physobj2, Location), Time)
 9674    ]).
 9675
 9676% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2911
 9677% fluent At(object,location)
 9678 %  fluent(at(object,location)).
 9679% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2912
 9680==> mpred_prop(at(object,location),fluent).
 9681==> meta_argtypes(at(object,location)).
 9682
 9683
 9688
 9689  9692
 9693  9696axiom(holds_at(at(At_Param, Location4), Time5),
 9697    [some(Location4, '$kolem_Fn_240'(At_Param, Time5))]).
 9698
 9699  9702axiom(not(some(Location7, '$kolem_Fn_240'(Fn_240_Param, Time8))),
 9703    [not(holds_at(at(Fn_240_Param, Location7), Time8))]).
 9704
 9705
 9712axiom(Location1=Location2,
 9713   
 9714    [ holds_at(at(Object, Location1), Time),
 9715      holds_at(at(Object, Location2), Time)
 9716    ]).
 9717
 9718% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2921
 9719% function Side1(portal): location
 9720 %  functional_predicate(side1(portal,location)).
 9721% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2922
 9722==> mpred_prop(side1(portal,location),functional_predicate).
 9723==> meta_argtypes(side1(portal,location)).
 9724resultIsa(side1,location).
 9725
 9726% function Side2(portal): location
 9727 %  functional_predicate(side2(portal,location)).
 9728% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2923
 9729==> mpred_prop(side2(portal,location),functional_predicate).
 9730==> meta_argtypes(side2(portal,location)).
 9731resultIsa(side2,location).
 9732
 9733% fluent NearPortal(object,portal)
 9734 %  fluent(nearPortal(object,portal)).
 9735% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2925
 9736==> mpred_prop(nearPortal(object,portal),fluent).
 9737==> meta_argtypes(nearPortal(object,portal)).
 9738
 9739% noninertial NearPortal
 9740% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2926
 9741==> noninertial(nearPortal).
 9742
 9743
 9752
 9753  9757
 9758  9774axiom(not(some(Location6, '$kolem_Fn_241'(Fn_241_Param, NearPortal_Ret, Time5))),
 9775   
 9776    [ not(equals(side1(NearPortal_Ret), Location6)),
 9777      not(equals(side2(NearPortal_Ret), Location6)),
 9778      holds_at(nearPortal(Fn_241_Param, NearPortal_Ret),
 9779               Time5)
 9780    ]).
 9781axiom(not(some(Location6, '$kolem_Fn_241'(Fn_241_Param, NearPortal_Ret, Time5))),
 9782   
 9783    [ not(holds_at(at(Fn_241_Param, Location6), Time5)),
 9784      holds_at(nearPortal(Fn_241_Param, NearPortal_Ret),
 9785               Time5)
 9786    ]).
 9787axiom(not(some(Location6, '$kolem_Fn_241'(Fn_241_Param, NearPortal_Ret, Time5))),
 9788   
 9789    [ equals(side1(NearPortal_Ret), Location6),
 9790      not(holds_at(nearPortal(Fn_241_Param, NearPortal_Ret),
 9791                   Time5)),
 9792      holds_at(at(Fn_241_Param, Location6), Time5)
 9793    ]).
 9794axiom(not(some(Location6, '$kolem_Fn_241'(Fn_241_Param, NearPortal_Ret, Time5))),
 9795   
 9796    [ equals(side2(NearPortal_Ret), Location6),
 9797      not(holds_at(nearPortal(Fn_241_Param, NearPortal_Ret),
 9798                   Time5)),
 9799      holds_at(at(Fn_241_Param, Location6), Time5)
 9800    ]).
 9801
 9802  9812axiom(not(holds_at(nearPortal(NearPortal_Param, NearPortal_Ret12), Time9)),
 9813   
 9814    [ not(equals(side1(NearPortal_Ret12), Location10)),
 9815      not(equals(side2(NearPortal_Ret12), Location10)),
 9816      some(Location10,
 9817           '$kolem_Fn_241'(NearPortal_Param,
 9818                           NearPortal_Ret12,
 9819                           Time9))
 9820    ]).
 9821axiom(not(holds_at(nearPortal(NearPortal_Param, NearPortal_Ret12), Time9)),
 9822   
 9823    [ not(holds_at(at(NearPortal_Param, Location10), Time9)),
 9824      some(Location10,
 9825           '$kolem_Fn_241'(NearPortal_Param,
 9826                           NearPortal_Ret12,
 9827                           Time9))
 9828    ]).
 9829
 9830  9837axiom(equals(side1(Side1_Ret), Some_Param),
 9838   
 9839    [ not(equals(side2(Side1_Ret), Some_Param)),
 9840      holds_at(nearPortal(NearPortal_Param14, Side1_Ret),
 9841               Time13),
 9842      some(Some_Param,
 9843           '$kolem_Fn_241'(NearPortal_Param14,
 9844                           Side1_Ret,
 9845                           Time13))
 9846    ]).
 9847
 9848  9855axiom(equals(side2(Side2_Ret), Some_Param19),
 9856   
 9857    [ not(equals(side1(Side2_Ret), Some_Param19)),
 9858      holds_at(nearPortal(NearPortal_Param18, Side2_Ret),
 9859               Time17),
 9860      some(Some_Param19,
 9861           '$kolem_Fn_241'(NearPortal_Param18,
 9862                           Side2_Ret,
 9863                           Time17))
 9864    ]).
 9865
 9866  9871axiom(holds_at(at(At_Param, Location21), Time22),
 9872   
 9873    [ holds_at(nearPortal(At_Param, NearPortal_Ret24), Time22),
 9874      some(Location21,
 9875           '$kolem_Fn_241'(At_Param, NearPortal_Ret24, Time22))
 9876    ]).
 9877
 9878  9889axiom(holds_at(nearPortal(NearPortal_Param27, NearPortal_Ret28), Time25),
 9890   
 9891    [ equals(side1(NearPortal_Ret28), Location26),
 9892      holds_at(at(NearPortal_Param27, Location26), Time25),
 9893      some(Location26,
 9894           '$kolem_Fn_241'(NearPortal_Param27,
 9895                           NearPortal_Ret28,
 9896                           Time25))
 9897    ]).
 9898axiom(holds_at(nearPortal(NearPortal_Param27, NearPortal_Ret28), Time25),
 9899   
 9900    [ equals(side2(NearPortal_Ret28), Location26),
 9901      holds_at(at(NearPortal_Param27, Location26), Time25),
 9902      some(Location26,
 9903           '$kolem_Fn_241'(NearPortal_Param27,
 9904                           NearPortal_Ret28,
 9905                           Time25))
 9906    ]).
 9907
 9908  9916axiom(not(holds_at(at(At_Param31, Location29), Time30)),
 9917   
 9918    [ equals(side1(Side1_Ret32), Location29),
 9919      not(holds_at(nearPortal(At_Param31, Side1_Ret32),
 9920                   Time30)),
 9921      some(Location29,
 9922           '$kolem_Fn_241'(At_Param31, Side1_Ret32, Time30))
 9923    ]).
 9924axiom(not(holds_at(at(At_Param31, Location29), Time30)),
 9925   
 9926    [ equals(side2(Side1_Ret32), Location29),
 9927      not(holds_at(nearPortal(At_Param31, Side1_Ret32),
 9928                   Time30)),
 9929      some(Location29,
 9930           '$kolem_Fn_241'(At_Param31, Side1_Ret32, Time30))
 9931    ]).
 9932
 9933  9939axiom(not(equals(side1(Side1_Ret36), Location33)),
 9940   
 9941    [ holds_at(at(At_Param35, Location33), Time34),
 9942      not(holds_at(nearPortal(At_Param35, Side1_Ret36),
 9943                   Time34)),
 9944      some(Location33,
 9945           '$kolem_Fn_241'(At_Param35, Side1_Ret36, Time34))
 9946    ]).
 9947
 9948  9954axiom(not(equals(side2(Side2_Ret40), Location37)),
 9955   
 9956    [ holds_at(at(At_Param39, Location37), Time38),
 9957      not(holds_at(nearPortal(At_Param39, Side2_Ret40),
 9958                   Time38)),
 9959      some(Location37,
 9960           '$kolem_Fn_241'(At_Param39, Side2_Ret40, Time38))
 9961    ]).
 9962
 9963% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2934
 9964% event WalkThroughDoor12(agent,door)
 9965 %  event(walkThroughDoor12(agent,door)).
 9966% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2935
 9967==> mpred_prop(walkThroughDoor12(agent,door),event).
 9968==> meta_argtypes(walkThroughDoor12(agent,door)).
 9969
 9970% event WalkThroughDoor21(agent,door)
 9971 %  event(walkThroughDoor21(agent,door)).
 9972% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2936
 9973==> mpred_prop(walkThroughDoor21(agent,door),event).
 9974==> meta_argtypes(walkThroughDoor21(agent,door)).
 9975
 9976
 9983axiom(requires(walkThroughDoor12(Agent, Door), Time),
 9984   
 9985    [ holds_at(standing(Agent), Time),
 9986      holds_at(at(Agent, side1(Door)), Time)
 9987    ]).
 9988
 9989
 9996axiom(requires(walkThroughDoor21(Agent, Door), Time),
 9997   
 9998    [ holds_at(standing(Agent), Time),
 9999      holds_at(at(Agent, side2(Door)), Time)
10000    ]).
10001
10002
10008axiom(initiates(walkThroughDoor12(Agent, Door), at(Agent, Location), Time),
10009    [equals(side2(Door), Location)]).
10010
10011
10017axiom(initiates(walkThroughDoor21(Agent, Door), at(Agent, Location), Time),
10018    [equals(side1(Door), Location)]).
10019
10020
10026axiom(terminates(walkThroughDoor12(Agent, Door), at(Agent, Location), Time),
10027    [equals(side1(Door), Location)]).
10028
10029
10035axiom(terminates(walkThroughDoor21(Agent, Door), at(Agent, Location), Time),
10036    [equals(side2(Door), Location)]).
10037
10038% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2963
10039% fluent Hungry(agent)
10040 %  fluent(hungry(agent)).
10041% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2964
10042==> mpred_prop(hungry(agent),fluent).
10043==> meta_argtypes(hungry(agent)).
10044
10045% fluent Satiated(agent)
10046 %  fluent(satiated(agent)).
10047% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2966
10048==> mpred_prop(satiated(agent),fluent).
10049==> meta_argtypes(satiated(agent)).
10050
10051% noninertial Satiated
10052% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2967
10053==> noninertial(satiated).
10054
10055
10058 10059
10060 10063axiom(holds_at(hungry(Agent), Time),
10064    [not(holds_at(satiated(Agent), Time))]).
10065axiom(not(holds_at(satiated(Agent), Time)),
10066    [holds_at(hungry(Agent), Time)]).
10067
10068% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2970
10069% event Eat(agent,food)
10070 %  event(eat(agent,food)).
10071% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2971
10072==> mpred_prop(eat(agent,food),event).
10073==> meta_argtypes(eat(agent,food)).
10074
10075
10083
10084 10088
10089 10096axiom(not(some(Location6, '$kolem_Fn_242'(Fn_242_Param, At_Param, Maptime))),
10097   
10098    [ not(holds_at(at(Fn_242_Param, Location6), Maptime)),
10099      happens(eat(Fn_242_Param, At_Param), Maptime)
10100    ]).
10101axiom(not(some(Location6, '$kolem_Fn_242'(Fn_242_Param, At_Param, Maptime))),
10102   
10103    [ not(holds_at(at(At_Param, Location6), Maptime)),
10104      happens(eat(Fn_242_Param, At_Param), Maptime)
10105    ]).
10106
10107 10114axiom(not(happens(eat(Eat_Param, At_Param12), Maptime9)),
10115   
10116    [ not(holds_at(at(Eat_Param, Location10), Maptime9)),
10117      some(Location10,
10118           '$kolem_Fn_242'(Eat_Param, At_Param12, Maptime9))
10119    ]).
10120axiom(not(happens(eat(Eat_Param, At_Param12), Maptime9)),
10121   
10122    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
10123      some(Location10,
10124           '$kolem_Fn_242'(Eat_Param, At_Param12, Maptime9))
10125    ]).
10126
10127 10132axiom(holds_at(at(At_Param15, Location13), Time14),
10133   
10134    [ happens(eat(At_Param15, Eat_Ret), Time14),
10135      some(Location13,
10136           '$kolem_Fn_242'(At_Param15, Eat_Ret, Time14))
10137    ]).
10138
10139 10144axiom(holds_at(at(At_Param19, Location17), Time18),
10145   
10146    [ happens(eat(Eat_Param20, At_Param19), Time18),
10147      some(Location17,
10148           '$kolem_Fn_242'(Eat_Param20, At_Param19, Time18))
10149    ]).
10150
10151
10156axiom(terminates(eat(Agent, Food), hungry(Agent), Time),
10157    []).
10158
10159% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2981
10160% sort restaurant: script
10161% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2982
10162==> subsort(restaurant,script).
10163
10164% sort waiter: agent
10165% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2983
10166==> subsort(waiter,agent).
10167
10168% sort cook: agent
10169% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2984
10170==> subsort(cook,agent).
10171
10172% function BillOf(restaurant): bill
10173 %  functional_predicate(billOf(restaurant,bill)).
10174% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2986
10175==> mpred_prop(billOf(restaurant,bill),functional_predicate).
10176==> meta_argtypes(billOf(restaurant,bill)).
10177resultIsa(billOf,bill).
10178
10179% function CookOf(restaurant): cook
10180 %  functional_predicate(cookOf(restaurant,cook)).
10181% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2987
10182==> mpred_prop(cookOf(restaurant,cook),functional_predicate).
10183==> meta_argtypes(cookOf(restaurant,cook)).
10184resultIsa(cookOf,cook).
10185
10186% function TableOf(restaurant): table
10187 %  functional_predicate(tableOf(restaurant,table)).
10188% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2988
10189==> mpred_prop(tableOf(restaurant,table),functional_predicate).
10190==> meta_argtypes(tableOf(restaurant,table)).
10191resultIsa(tableOf,table).
10192
10193% function WaiterOf(restaurant): waiter
10194 %  functional_predicate(waiterOf(restaurant,waiter)).
10195% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2989
10196==> mpred_prop(waiterOf(restaurant,waiter),functional_predicate).
10197==> meta_argtypes(waiterOf(restaurant,waiter)).
10198resultIsa(waiterOf,waiter).
10199
10200% function KitchenDoorOf(restaurant): door
10201 %  functional_predicate(kitchenDoorOf(restaurant,door)).
10202% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2990
10203==> mpred_prop(kitchenDoorOf(restaurant,door),functional_predicate).
10204==> meta_argtypes(kitchenDoorOf(restaurant,door)).
10205resultIsa(kitchenDoorOf,door).
10206
10207% fluent BeWaiter0(waiter)
10208 %  fluent(beWaiter0(waiter)).
10209% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2992
10210==> mpred_prop(beWaiter0(waiter),fluent).
10211==> meta_argtypes(beWaiter0(waiter)).
10212
10213% fluent BeWaiter1(waiter)
10214 %  fluent(beWaiter1(waiter)).
10215% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2994
10216==> mpred_prop(beWaiter1(waiter),fluent).
10217==> meta_argtypes(beWaiter1(waiter)).
10218
10219% fluent BeWaiter2(waiter)
10220 %  fluent(beWaiter2(waiter)).
10221% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2996
10222==> mpred_prop(beWaiter2(waiter),fluent).
10223==> meta_argtypes(beWaiter2(waiter)).
10224
10225% fluent BeWaiter3(waiter)
10226 %  fluent(beWaiter3(waiter)).
10227% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:2998
10228==> mpred_prop(beWaiter3(waiter),fluent).
10229==> meta_argtypes(beWaiter3(waiter)).
10230
10231% fluent BeWaiter4(waiter)
10232 %  fluent(beWaiter4(waiter)).
10233% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3000
10234==> mpred_prop(beWaiter4(waiter),fluent).
10235==> meta_argtypes(beWaiter4(waiter)).
10236
10237% fluent BeWaiter5(waiter)
10238 %  fluent(beWaiter5(waiter)).
10239% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3002
10240==> mpred_prop(beWaiter5(waiter),fluent).
10241==> meta_argtypes(beWaiter5(waiter)).
10242
10243% fluent BeWaiter6(waiter)
10244 %  fluent(beWaiter6(waiter)).
10245% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3004
10246==> mpred_prop(beWaiter6(waiter),fluent).
10247==> meta_argtypes(beWaiter6(waiter)).
10248
10249% fluent BeWaiter7(waiter)
10250 %  fluent(beWaiter7(waiter)).
10251% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3006
10252==> mpred_prop(beWaiter7(waiter),fluent).
10253==> meta_argtypes(beWaiter7(waiter)).
10254
10255% fluent BeWaiter8(waiter)
10256 %  fluent(beWaiter8(waiter)).
10257% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3008
10258==> mpred_prop(beWaiter8(waiter),fluent).
10259==> meta_argtypes(beWaiter8(waiter)).
10260
10261% fluent BeWaiter9(waiter)
10262 %  fluent(beWaiter9(waiter)).
10263% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3010
10264==> mpred_prop(beWaiter9(waiter),fluent).
10265==> meta_argtypes(beWaiter9(waiter)).
10266
10269xor([ beWaiter0,
10270      beWaiter1,
10271      beWaiter2,
10272      beWaiter3,
10273      beWaiter4,
10274      beWaiter5,
10275      beWaiter6,
10276      beWaiter7,
10277      beWaiter8,
10278      beWaiter9
10279    ]).
10280
10281
10289axiom(terminates(greet(Waiter, Agent), beWaiter0(Waiter), Time),
10290    [holds_at(beWaiter0(Waiter), Time)]).
10291
10292
10300axiom(initiates(greet(Waiter, Agent), beWaiter1(Waiter), Time),
10301    [holds_at(beWaiter0(Waiter), Time)]).
10302
10303
10311axiom(terminates(order(Agent, Waiter, Food), beWaiter1(Waiter), Time),
10312    [holds_at(beWaiter1(Waiter), Time)]).
10313
10314
10322axiom(initiates(order(Agent, Waiter, Food), beWaiter2(Waiter), Time),
10323    [holds_at(beWaiter1(Waiter), Time)]).
10324
10325
10332axiom(happens(walkThroughDoor12(Waiter, kitchenDoorOf(Restaurant)), Time),
10333   
10334    [ equals(waiterOf(Restaurant), Waiter),
10335      holds_at(beWaiter2(Waiter), Time)
10336    ]).
10337
10338
10348axiom(terminates(walkThroughDoor12(Waiter, Door), beWaiter2(Waiter), Time),
10349   
10350    [ holds_at(beWaiter2(Waiter), Time),
10351      equals(waiterOf(Restaurant), Waiter),
10352      equals(kitchenDoorOf(Restaurant), Door)
10353    ]).
10354
10355
10365axiom(initiates(walkThroughDoor12(Waiter, Door), beWaiter3(Waiter), Time),
10366   
10367    [ holds_at(beWaiter2(Waiter), Time),
10368      equals(waiterOf(Restaurant), Waiter),
10369      equals(kitchenDoorOf(Restaurant), Door)
10370    ]).
10371
10372
10379axiom(happens(order(waiterOf(Restaurant), cookOf(Restaurant), Food), Time),
10380   
10381    [ holds_at(beWaiter3(waiterOf(Restaurant)), Time),
10382      holds_at(knowOrder(waiterOf(Restaurant), Agent, Food),
10383               Time)
10384    ]).
10385
10386
10396axiom(terminates(order(Waiter, Cook, Food), beWaiter3(Waiter), Time),
10397   
10398    [ equals(waiterOf(Restaurant), Waiter),
10399      equals(cookOf(Restaurant), Cook),
10400      holds_at(beWaiter3(Waiter), Time)
10401    ]).
10402
10403
10413axiom(initiates(order(Waiter, Cook, Food), beWaiter4(Waiter), Time),
10414   
10415    [ equals(waiterOf(Restaurant), Waiter),
10416      equals(cookOf(Restaurant), Cook),
10417      holds_at(beWaiter3(Waiter), Time)
10418    ]).
10419
10420
10428axiom(happens(pickUp(Waiter, Food), Time),
10429   
10430    [ holds_at(beWaiter4(Waiter), Time),
10431      holds_at(knowOrder(Waiter, Agent, Food), Time),
10432      holds_at(foodPrepared(Food), Time)
10433    ]).
10434
10435
10444axiom(terminates(pickUp(Waiter, Food), beWaiter4(Waiter), Time),
10445   
10446    [ holds_at(beWaiter4(Waiter), Time),
10447      holds_at(knowOrder(Waiter, Agent, Food), Time)
10448    ]).
10449
10450
10459axiom(initiates(pickUp(Waiter, Food), beWaiter5(Waiter), Time),
10460   
10461    [ holds_at(beWaiter4(Waiter), Time),
10462      holds_at(knowOrder(Waiter, Agent, Food), Time)
10463    ]).
10464
10465
10472axiom(happens(walkThroughDoor21(Waiter, kitchenDoorOf(Restaurant)), Time),
10473   
10474    [ equals(waiterOf(Restaurant), Waiter),
10475      holds_at(beWaiter5(Waiter), Time)
10476    ]).
10477
10478
10488axiom(terminates(walkThroughDoor21(Waiter, Door), beWaiter5(Waiter), Time),
10489   
10490    [ holds_at(beWaiter5(Waiter), Time),
10491      equals(waiterOf(Restaurant), Waiter),
10492      equals(kitchenDoorOf(Restaurant), Door)
10493    ]).
10494
10495
10505axiom(initiates(walkThroughDoor21(Waiter, Door), beWaiter6(Waiter), Time),
10506   
10507    [ holds_at(beWaiter5(Waiter), Time),
10508      equals(waiterOf(Restaurant), Waiter),
10509      equals(kitchenDoorOf(Restaurant), Door)
10510    ]).
10511
10512
10521axiom(happens(placeOn(Waiter, Food, Table), Time),
10522   
10523    [ equals(waiterOf(Restaurant), Waiter),
10524      equals(tableOf(Restaurant), Table),
10525      holds_at(beWaiter6(Waiter), Time),
10526      holds_at(holding(Waiter, Food), Time)
10527    ]).
10528
10529
10537axiom(terminates(placeOn(Waiter, Food, Table), beWaiter6(Waiter), Time),
10538    [holds_at(beWaiter6(Waiter), Time)]).
10539
10540
10548axiom(initiates(placeOn(Waiter, Food, Table), beWaiter7(Waiter), Time),
10549    [holds_at(beWaiter6(Waiter), Time)]).
10550
10551
10559axiom(terminates(request(Agent, Waiter, Bill), beWaiter7(Waiter), Time),
10560    [holds_at(beWaiter7(Waiter), Time)]).
10561
10562
10570axiom(initiates(request(Agent, Waiter, Bill), beWaiter8(Waiter), Time),
10571    [holds_at(beWaiter7(Waiter), Time)]).
10572
10573
10581axiom(happens(pickUp(Waiter, Bill), Time),
10582   
10583    [ equals(waiterOf(Restaurant), Waiter),
10584      equals(billOf(Restaurant), Bill),
10585      holds_at(beWaiter8(Waiter), Time)
10586    ]).
10587
10588
10596axiom(terminates(pickUp(Waiter, Bill), beWaiter8(Waiter), Time),
10597    [holds_at(beWaiter8(Waiter), Time)]).
10598
10599
10607axiom(initiates(pickUp(Waiter, Bill), beWaiter9(Waiter), Time),
10608    [holds_at(beWaiter8(Waiter), Time)]).
10609
10610
10619axiom(happens(placeOn(Waiter, Bill, Table), Time),
10620   
10621    [ equals(waiterOf(Restaurant), Waiter),
10622      equals(billOf(Restaurant), Bill),
10623      equals(tableOf(Restaurant), Table),
10624      holds_at(beWaiter9(Waiter), Time)
10625    ]).
10626
10627
10635axiom(terminates(placeOn(Waiter, Bill, Table), beWaiter9(Waiter), Time),
10636    [holds_at(beWaiter9(Waiter), Time)]).
10637
10638
10646axiom(initiates(placeOn(Waiter, Bill, Table), beWaiter0(Waiter), Time),
10647    [holds_at(beWaiter9(Waiter), Time)]).
10648
10649% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3188
10650% fluent BeCook0(cook)
10651 %  fluent(beCook0(cook)).
10652% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3189
10653==> mpred_prop(beCook0(cook),fluent).
10654==> meta_argtypes(beCook0(cook)).
10655
10656% fluent BeCook1(cook)
10657 %  fluent(beCook1(cook)).
10658% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3191
10659==> mpred_prop(beCook1(cook),fluent).
10660==> meta_argtypes(beCook1(cook)).
10661
10664xor([beCook0,beCook1]).
10665
10666
10674axiom(terminates(order(Agent, Cook, Food), beCook0(Cook), Time),
10675    [holds_at(beCook0(Cook), Time)]).
10676
10677
10685axiom(initiates(order(Agent, Cook, Food), beCook1(Cook), Time),
10686    [holds_at(beCook0(Cook), Time)]).
10687
10688% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3206
10689% event FoodPrepare(agent,food)
10690 %  event(foodPrepare(agent,food)).
10691% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3207
10692==> mpred_prop(foodPrepare(agent,food),event).
10693==> meta_argtypes(foodPrepare(agent,food)).
10694
10695% fluent FoodPrepared(food)
10696 %  fluent(foodPrepared(food)).
10697% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3209
10698==> mpred_prop(foodPrepared(food),fluent).
10699==> meta_argtypes(foodPrepared(food)).
10700
10701
10708axiom(initiates(foodPrepare(Agent, Food), foodPrepared(Food), Time),
10709    []).
10710
10711
10719
10720 10724
10725 10732axiom(not(some(Location6, '$kolem_Fn_247'(Fn_247_Param, At_Param, Maptime))),
10733   
10734    [ not(holds_at(at(Fn_247_Param, Location6), Maptime)),
10735      happens(foodPrepare(Fn_247_Param, At_Param), Maptime)
10736    ]).
10737axiom(not(some(Location6, '$kolem_Fn_247'(Fn_247_Param, At_Param, Maptime))),
10738   
10739    [ not(holds_at(at(At_Param, Location6), Maptime)),
10740      happens(foodPrepare(Fn_247_Param, At_Param), Maptime)
10741    ]).
10742
10743 10753axiom(not(happens(foodPrepare(FoodPrepare_Param, At_Param12), Maptime9)),
10754   
10755    [ not(holds_at(at(FoodPrepare_Param, Location10),
10756                   Maptime9)),
10757      some(Location10,
10758           '$kolem_Fn_247'(FoodPrepare_Param,
10759                           At_Param12,
10760                           Maptime9))
10761    ]).
10762axiom(not(happens(foodPrepare(FoodPrepare_Param, At_Param12), Maptime9)),
10763   
10764    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
10765      some(Location10,
10766           '$kolem_Fn_247'(FoodPrepare_Param,
10767                           At_Param12,
10768                           Maptime9))
10769    ]).
10770
10771 10776axiom(holds_at(at(At_Param15, Location13), Time14),
10777   
10778    [ happens(foodPrepare(At_Param15, FoodPrepare_Ret),
10779              Time14),
10780      some(Location13,
10781           '$kolem_Fn_247'(At_Param15, FoodPrepare_Ret, Time14))
10782    ]).
10783
10784 10792axiom(holds_at(at(At_Param19, Location17), Time18),
10793   
10794    [ happens(foodPrepare(FoodPrepare_Param20, At_Param19),
10795              Time18),
10796      some(Location17,
10797           '$kolem_Fn_247'(FoodPrepare_Param20,
10798                           At_Param19,
10799                           Time18))
10800    ]).
10801
10802
10809axiom(happens(foodPrepare(Cook, Food), Time),
10810   
10811    [ holds_at(beCook1(Cook), Time),
10812      holds_at(knowOrder(Cook, Agent, Food), Time)
10813    ]).
10814
10815
10823axiom(terminates(foodPrepare(Cook, Food), beCook1(Cook), Time),
10824    [holds_at(beCook1(Cook), Time)]).
10825
10826
10834axiom(initiates(foodPrepare(Cook, Food), beCook0(Cook), Time),
10835    [holds_at(beCook1(Cook), Time)]).
10836
10837% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3238
10838% event Pay(agent,agent)
10839 %  event(pay(agent,agent)).
10840% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3239
10841==> mpred_prop(pay(agent,agent),event).
10842==> meta_argtypes(pay(agent,agent)).
10843
10844% event Tip(agent,agent)
10845 %  event(tip(agent,agent)).
10846% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3241
10847==> mpred_prop(tip(agent,agent),event).
10848==> meta_argtypes(tip(agent,agent)).
10849
10850
10858
10859 10863
10864 10871axiom(not(some(Location, '$kolem_Fn_248'(Fn_248_Param, At_Param, Maptime))),
10872   
10873    [ not(holds_at(at(Fn_248_Param, Location), Maptime)),
10874      happens(lieOn(Fn_248_Param, At_Param), Maptime)
10875    ]).
10876axiom(not(some(Location, '$kolem_Fn_248'(Fn_248_Param, At_Param, Maptime))),
10877   
10878    [ not(holds_at(at(At_Param, Location), Maptime)),
10879      happens(lieOn(Fn_248_Param, At_Param), Maptime)
10880    ]).
10881
10882 10889axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
10890   
10891    [ not(holds_at(at(LieOn_Param, Location10), Maptime9)),
10892      some(Location10,
10893           '$kolem_Fn_248'(LieOn_Param, At_Param12, Maptime9))
10894    ]).
10895axiom(not(happens(lieOn(LieOn_Param, At_Param12), Maptime9)),
10896   
10897    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
10898      some(Location10,
10899           '$kolem_Fn_248'(LieOn_Param, At_Param12, Maptime9))
10900    ]).
10901
10902 10907axiom(holds_at(at(At_Param15, Location13), Time14),
10908   
10909    [ happens(lieOn(At_Param15, LieOn_Ret), Time14),
10910      some(Location13,
10911           '$kolem_Fn_248'(At_Param15, LieOn_Ret, Time14))
10912    ]).
10913
10914 10919axiom(holds_at(at(At_Param19, Location17), Time18),
10920   
10921    [ happens(lieOn(LieOn_Param20, At_Param19), Time18),
10922      some(Location17,
10923           '$kolem_Fn_248'(LieOn_Param20, At_Param19, Time18))
10924    ]).
10925
10926
10934
10935 10939
10940 10947axiom(not(some(Location, '$kolem_Fn_249'(Fn_249_Param, At_Param, Maptime))),
10948   
10949    [ not(holds_at(at(Fn_249_Param, Location), Maptime)),
10950      happens(sitOn(Fn_249_Param, At_Param), Maptime)
10951    ]).
10952axiom(not(some(Location, '$kolem_Fn_249'(Fn_249_Param, At_Param, Maptime))),
10953   
10954    [ not(holds_at(at(At_Param, Location), Maptime)),
10955      happens(sitOn(Fn_249_Param, At_Param), Maptime)
10956    ]).
10957
10958 10965axiom(not(happens(sitOn(SitOn_Param, At_Param12), Maptime9)),
10966   
10967    [ not(holds_at(at(SitOn_Param, Location10), Maptime9)),
10968      some(Location10,
10969           '$kolem_Fn_249'(SitOn_Param, At_Param12, Maptime9))
10970    ]).
10971axiom(not(happens(sitOn(SitOn_Param, At_Param12), Maptime9)),
10972   
10973    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
10974      some(Location10,
10975           '$kolem_Fn_249'(SitOn_Param, At_Param12, Maptime9))
10976    ]).
10977
10978 10983axiom(holds_at(at(At_Param15, Location13), Time14),
10984   
10985    [ happens(sitOn(At_Param15, SitOn_Ret), Time14),
10986      some(Location13,
10987           '$kolem_Fn_249'(At_Param15, SitOn_Ret, Time14))
10988    ]).
10989
10990 10995axiom(holds_at(at(At_Param19, Location17), Time18),
10996   
10997    [ happens(sitOn(SitOn_Param20, At_Param19), Time18),
10998      some(Location17,
10999           '$kolem_Fn_249'(SitOn_Param20, At_Param19, Time18))
11000    ]).
11001
11002% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3254
11003% event LieOn(agent,physobj)
11004 %  event(lieOn(agent,physobj)).
11005% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3255
11006==> mpred_prop(lieOn(agent,physobj),event).
11007==> meta_argtypes(lieOn(agent,physobj)).
11008
11009% event SitOn(agent,physobj)
11010 %  event(sitOn(agent,physobj)).
11011% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3257
11012==> mpred_prop(sitOn(agent,physobj),event).
11013==> meta_argtypes(sitOn(agent,physobj)).
11014
11015% event RiseFrom(agent,physobj)
11016 %  event(riseFrom(agent,physobj)).
11017% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3259
11018==> mpred_prop(riseFrom(agent,physobj),event).
11019==> meta_argtypes(riseFrom(agent,physobj)).
11020
11021% fluent LyingOn(agent,physobj)
11022 %  fluent(lyingOn(agent,physobj)).
11023% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3261
11024==> mpred_prop(lyingOn(agent,physobj),fluent).
11025==> meta_argtypes(lyingOn(agent,physobj)).
11026
11027% fluent SittingOn(agent,physobj)
11028 %  fluent(sittingOn(agent,physobj)).
11029% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3262
11030==> mpred_prop(sittingOn(agent,physobj),fluent).
11031==> meta_argtypes(sittingOn(agent,physobj)).
11032
11033% fluent Standing(agent)
11034 %  fluent(standing(agent)).
11035% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3263
11036==> mpred_prop(standing(agent),fluent).
11037==> meta_argtypes(standing(agent)).
11038
11039% fluent Lying(agent)
11040 %  fluent(lying(agent)).
11041% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3265
11042==> mpred_prop(lying(agent),fluent).
11043==> meta_argtypes(lying(agent)).
11044
11045% fluent Sitting(agent)
11046 %  fluent(sitting(agent)).
11047% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3266
11048==> mpred_prop(sitting(agent),fluent).
11049==> meta_argtypes(sitting(agent)).
11050
11051% noninertial Lying
11052% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3267
11053==> noninertial(lying).
11054
11055% noninertial Sitting
11056% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3268
11057==> noninertial(sitting).
11058
11061xor([lying,sitting,standing]).
11062
11063
11069axiom(holds_at(lying(Agent), Time),
11070    [holds_at(lyingOn(Agent, Physobj), Time)]).
11071
11072
11078axiom(holds_at(sitting(Agent), Time),
11079    [holds_at(sittingOn(Agent, Physobj), Time)]).
11080
11081
11088axiom(Physobj1=Physobj2,
11089   
11090    [ holds_at(lyingOn(Agent, Physobj1), Time),
11091      holds_at(lyingOn(Agent, Physobj2), Time)
11092    ]).
11093
11094
11101axiom(Physobj1=Physobj2,
11102   
11103    [ holds_at(sittingOn(Agent, Physobj1), Time),
11104      holds_at(sittingOn(Agent, Physobj2), Time)
11105    ]).
11106
11107
11115axiom(initiates(lieOn(Agent, Physobj), lyingOn(Agent, Physobj), Time),
11116    [holds_at(standing(Agent), Time)]).
11117
11118
11125axiom(terminates(lieOn(Agent, Physobj), standing(Agent), Time),
11126    []).
11127
11128
11136axiom(initiates(sitOn(Agent, Physobj), sittingOn(Agent, Physobj), Time),
11137    [holds_at(standing(Agent), Time)]).
11138
11139
11146axiom(terminates(sitOn(Agent, Physobj), standing(Agent), Time),
11147    []).
11148
11149
11158axiom(initiates(riseFrom(Agent, Physobj), standing(Agent), Time),
11159    [holds_at(sittingOn(Agent, Physobj), Time)]).
11160axiom(initiates(riseFrom(Agent, Physobj), standing(Agent), Time),
11161    [holds_at(lyingOn(Agent, Physobj), Time)]).
11162
11163
11171axiom(terminates(riseFrom(Agent, Physobj), lyingOn(Agent, Physobj), Time),
11172    [holds_at(lyingOn(Agent, Physobj), Time)]).
11173
11174
11182axiom(terminates(riseFrom(Agent, Physobj), sittingOn(Agent, Physobj), Time),
11183    [holds_at(sittingOn(Agent, Physobj), Time)]).
11184
11185% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3330
11186% event Greet(agent,agent)
11187 %  event(greet(agent,agent)).
11188% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3331
11189==> mpred_prop(greet(agent,agent),event).
11190==> meta_argtypes(greet(agent,agent)).
11191
11192% event SayGoodbye(agent,agent)
11193 %  event(sayGoodbye(agent,agent)).
11194% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3333
11195==> mpred_prop(sayGoodbye(agent,agent),event).
11196==> meta_argtypes(sayGoodbye(agent,agent)).
11197
11198
11206
11207 11211
11212 11219axiom(not(some(Location6, '$kolem_Fn_250'(Fn_250_Param, At_Param, Maptime))),
11220   
11221    [ not(holds_at(at(Fn_250_Param, Location6), Maptime)),
11222      happens(greet(Fn_250_Param, At_Param), Maptime)
11223    ]).
11224axiom(not(some(Location6, '$kolem_Fn_250'(Fn_250_Param, At_Param, Maptime))),
11225   
11226    [ not(holds_at(at(At_Param, Location6), Maptime)),
11227      happens(greet(Fn_250_Param, At_Param), Maptime)
11228    ]).
11229
11230 11237axiom(not(happens(greet(Greet_Param, At_Param12), Maptime9)),
11238   
11239    [ not(holds_at(at(Greet_Param, Location10), Maptime9)),
11240      some(Location10,
11241           '$kolem_Fn_250'(Greet_Param, At_Param12, Maptime9))
11242    ]).
11243axiom(not(happens(greet(Greet_Param, At_Param12), Maptime9)),
11244   
11245    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
11246      some(Location10,
11247           '$kolem_Fn_250'(Greet_Param, At_Param12, Maptime9))
11248    ]).
11249
11250 11255axiom(holds_at(at(At_Param15, Location13), Time14),
11256   
11257    [ happens(greet(At_Param15, Greet_Ret), Time14),
11258      some(Location13,
11259           '$kolem_Fn_250'(At_Param15, Greet_Ret, Time14))
11260    ]).
11261
11262 11267axiom(holds_at(at(At_Param19, Location17), Time18),
11268   
11269    [ happens(greet(Greet_Param20, At_Param19), Time18),
11270      some(Location17,
11271           '$kolem_Fn_250'(Greet_Param20, At_Param19, Time18))
11272    ]).
11273
11274
11282
11283 11287
11288 11295axiom(not(some(Location6, '$kolem_Fn_251'(Fn_251_Param, At_Param, Maptime))),
11296   
11297    [ not(holds_at(at(Fn_251_Param, Location6), Maptime)),
11298      happens(sayGoodbye(Fn_251_Param, At_Param), Maptime)
11299    ]).
11300axiom(not(some(Location6, '$kolem_Fn_251'(Fn_251_Param, At_Param, Maptime))),
11301   
11302    [ not(holds_at(at(At_Param, Location6), Maptime)),
11303      happens(sayGoodbye(Fn_251_Param, At_Param), Maptime)
11304    ]).
11305
11306 11314axiom(not(happens(sayGoodbye(SayGoodbye_Param, At_Param12), Maptime9)),
11315   
11316    [ not(holds_at(at(SayGoodbye_Param, Location10), Maptime9)),
11317      some(Location10,
11318           '$kolem_Fn_251'(SayGoodbye_Param,
11319                           At_Param12,
11320                           Maptime9))
11321    ]).
11322axiom(not(happens(sayGoodbye(SayGoodbye_Param, At_Param12), Maptime9)),
11323   
11324    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
11325      some(Location10,
11326           '$kolem_Fn_251'(SayGoodbye_Param,
11327                           At_Param12,
11328                           Maptime9))
11329    ]).
11330
11331 11336axiom(holds_at(at(At_Param15, Location13), Time14),
11337   
11338    [ happens(sayGoodbye(At_Param15, SayGoodbye_Ret), Time14),
11339      some(Location13,
11340           '$kolem_Fn_251'(At_Param15, SayGoodbye_Ret, Time14))
11341    ]).
11342
11343 11349axiom(holds_at(at(At_Param19, Location17), Time18),
11350   
11351    [ happens(sayGoodbye(SayGoodbye_Param20, At_Param19),
11352              Time18),
11353      some(Location17,
11354           '$kolem_Fn_251'(SayGoodbye_Param20,
11355                           At_Param19,
11356                           Time18))
11357    ]).
11358
11359% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3346
11360% event Order(agent,agent,physobj)
11361 %  event(order(agent,agent,physobj)).
11362% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3347
11363==> mpred_prop(order(agent,agent,physobj),event).
11364==> meta_argtypes(order(agent,agent,physobj)).
11365
11366% fluent KnowOrder(agent,agent,physobj)
11367 %  fluent(knowOrder(agent,agent,physobj)).
11368% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3349
11369==> mpred_prop(knowOrder(agent,agent,physobj),fluent).
11370==> meta_argtypes(knowOrder(agent,agent,physobj)).
11371
11372
11379axiom(initiates(order(Agent1, Agent2, Physobj), knowOrder(Agent2, Agent1, Physobj), Time),
11380    []).
11381
11382
11390
11391 11396
11397 11405axiom(not(some(Location7, '$kolem_Fn_252'(Fn_252_Param, At_Param, Order_Ret, Maptime))),
11406   
11407    [ not(holds_at(at(Fn_252_Param, Location7), Maptime)),
11408      happens(order(Fn_252_Param, At_Param, Order_Ret),
11409              Maptime)
11410    ]).
11411axiom(not(some(Location7, '$kolem_Fn_252'(Fn_252_Param, At_Param, Order_Ret, Maptime))),
11412   
11413    [ not(holds_at(at(At_Param, Location7), Maptime)),
11414      happens(order(Fn_252_Param, At_Param, Order_Ret),
11415              Maptime)
11416    ]).
11417
11418 11428axiom(not(happens(order(Order_Param, At_Param14, Order_Ret15), Maptime11)),
11429   
11430    [ not(holds_at(at(Order_Param, Location12), Maptime11)),
11431      some(Location12,
11432           '$kolem_Fn_252'(Order_Param,
11433                           At_Param14,
11434                           Order_Ret15,
11435                           Maptime11))
11436    ]).
11437axiom(not(happens(order(Order_Param, At_Param14, Order_Ret15), Maptime11)),
11438   
11439    [ not(holds_at(at(At_Param14, Location12), Maptime11)),
11440      some(Location12,
11441           '$kolem_Fn_252'(Order_Param,
11442                           At_Param14,
11443                           Order_Ret15,
11444                           Maptime11))
11445    ]).
11446
11447 11455axiom(holds_at(at(At_Param18, Location16), Time17),
11456   
11457    [ happens(order(At_Param18, A, Order_Ret19), Time17),
11458      some(Location16,
11459           '$kolem_Fn_252'(At_Param18,
11460                           A,
11461                           Order_Ret19,
11462                           Time17))
11463    ]).
11464
11465 11474axiom(holds_at(at(At_Param22, Location20), Time21),
11475   
11476    [ happens(order(Order_Param23, At_Param22, Order_Ret24),
11477              Time21),
11478      some(Location20,
11479           '$kolem_Fn_252'(Order_Param23,
11480                           At_Param22,
11481                           Order_Ret24,
11482                           Time21))
11483    ]).
11484
11485% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3361
11486% event Request(agent,agent,physobj)
11487 %  event(request(agent,agent,physobj)).
11488% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3362
11489==> mpred_prop(request(agent,agent,physobj),event).
11490==> meta_argtypes(request(agent,agent,physobj)).
11491
11492% fluent KnowRequest(agent,agent,physobj)
11493 %  fluent(knowRequest(agent,agent,physobj)).
11494% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3364
11495==> mpred_prop(knowRequest(agent,agent,physobj),fluent).
11496==> meta_argtypes(knowRequest(agent,agent,physobj)).
11497
11498
11505axiom(initiates(request(Agent1, Agent2, Physobj), knowRequest(Agent2, Agent1, Physobj), Time),
11506    []).
11507
11508
11516
11517 11522
11523 11531axiom(not(some(Location7, '$kolem_Fn_253'(Fn_253_Param, At_Param, Request_Ret, Maptime))),
11532   
11533    [ not(holds_at(at(Fn_253_Param, Location7), Maptime)),
11534      happens(request(Fn_253_Param, At_Param, Request_Ret),
11535              Maptime)
11536    ]).
11537axiom(not(some(Location7, '$kolem_Fn_253'(Fn_253_Param, At_Param, Request_Ret, Maptime))),
11538   
11539    [ not(holds_at(at(At_Param, Location7), Maptime)),
11540      happens(request(Fn_253_Param, At_Param, Request_Ret),
11541              Maptime)
11542    ]).
11543
11544 11554axiom(not(happens(request(Request_Param, At_Param14, Request_Ret15), Maptime11)),
11555   
11556    [ not(holds_at(at(Request_Param, Location12), Maptime11)),
11557      some(Location12,
11558           '$kolem_Fn_253'(Request_Param,
11559                           At_Param14,
11560                           Request_Ret15,
11561                           Maptime11))
11562    ]).
11563axiom(not(happens(request(Request_Param, At_Param14, Request_Ret15), Maptime11)),
11564   
11565    [ not(holds_at(at(At_Param14, Location12), Maptime11)),
11566      some(Location12,
11567           '$kolem_Fn_253'(Request_Param,
11568                           At_Param14,
11569                           Request_Ret15,
11570                           Maptime11))
11571    ]).
11572
11573 11582axiom(holds_at(at(At_Param18, Location16), Time17),
11583   
11584    [ happens(request(At_Param18, A, Request_Ret19),
11585              Time17),
11586      some(Location16,
11587           '$kolem_Fn_253'(At_Param18,
11588                           A,
11589                           Request_Ret19,
11590                           Time17))
11591    ]).
11592
11593 11604axiom(holds_at(at(At_Param22, Location20), Time21),
11605   
11606    [ happens(request(Request_Param23,
11607                      At_Param22,
11608                      Request_Ret24),
11609              Time21),
11610      some(Location20,
11611           '$kolem_Fn_253'(Request_Param23,
11612                           At_Param22,
11613                           Request_Ret24,
11614                           Time21))
11615    ]).
11616
11617
11618% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3376
11619%; End of file.
11620%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
11621%; FILE: ecnet/Diving.e
11622%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
11623%;
11624%; Copyright (c) 2005 IBM Corporation and others.
11625%; All rights reserved. This program and the accompanying materials
11626%; are made available under the terms of the Common Public License v1.0
11627%; which accompanies this distribution, and is available at
11628%; http://www.eclipse.org/legal/cpl-v10.html
11629%;
11630%; Contributors:
11631%; IBM - Initial implementation
11632%;
11633%; scuba diving
11634%;
11635
11636% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3397
11637% sort object
11638% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3398
11639==> sort(object).
11640
11641% sort agent: object
11642% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3399
11643==> subsort(agent,object).
11644
11645% sort diver: agent
11646% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3400
11647==> subsort(diver,agent).
11648
11649% sort depth: integer
11650% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3401
11651==> subsort(depth,integer).
11652
11653% sort boat: object
11654% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3402
11655==> subsort(boat,object).
11656%; reference line, anchor line, shotline, SMB line, ...
11657
11658% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3404
11659% sort line: object
11660% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3405
11661==> subsort(line,object).
11662
11663% sort equipment: object
11664% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3407
11665==> subsort(equipment,object).
11666
11667% sort weight: equipment
11668% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3408
11669==> subsort(weight,equipment).
11670
11671% sort fin: equipment
11672% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3409
11673==> subsort(fin,equipment).
11674
11675% sort airtank: equipment
11676% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3410
11677==> subsort(airtank,equipment).
11678%; buoyancy compensator (BC)
11679%; buoyancy control device (BCD)
11680
11681% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3413
11682% sort computer: equipment
11683% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3414
11684==> subsort(computer,equipment).
11685
11686% sort bc: equipment
11687% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3415
11688==> subsort(bc,equipment).
11689
11690% fluent AtDepth(object,depth)
11691 %  fluent(atDepth(object,depth)).
11692% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3417
11693==> mpred_prop(atDepth(object,depth),fluent).
11694==> meta_argtypes(atDepth(object,depth)).
11695
11696
11703axiom(Depth1=Depth2,
11704   
11705    [ holds_at(atDepth(Object, Depth1), Time),
11706      holds_at(atDepth(Object, Depth2), Time)
11707    ]).
11708
11709% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3423
11710% event Ascend(diver,depth)
11711 %  event(ascend(diver,depth)).
11712% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3424
11713==> mpred_prop(ascend(diver,depth),event).
11714==> meta_argtypes(ascend(diver,depth)).
11715
11716% event Descend(diver,depth)
11717 %  event(descend(diver,depth)).
11718% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3426
11719==> mpred_prop(descend(diver,depth),event).
11720==> meta_argtypes(descend(diver,depth)).
11721
11722
11729axiom(Depth2>Depth1,
11730   
11731    [ holds_at(atDepth(Diver, Depth1), Time),
11732      happens(descend(Diver, Depth2), Time)
11733    ]).
11734
11735
11742axiom(Depth2<Depth1,
11743   
11744    [ holds_at(atDepth(Diver, Depth1), Time),
11745      happens(ascend(Diver, Depth2), Time)
11746    ]).
11747
11748
11753axiom(initiates(descend(Diver, Depth), atDepth(Diver, Depth), Time),
11754    []).
11755
11756
11762axiom(terminates(descend(Diver, Depth2), atDepth(Diver, Depth1), Time),
11763    [holds_at(atDepth(Diver, Depth1), Time)]).
11764
11765
11770axiom(initiates(ascend(Diver, Depth), atDepth(Diver, Depth), Time),
11771    []).
11772
11773
11779axiom(terminates(ascend(Diver, Depth2), atDepth(Diver, Depth1), Time),
11780    [holds_at(atDepth(Diver, Depth1), Time)]).
11781
11782% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3451
11783% fluent Wearing(diver,equipment)
11784 %  fluent(wearing(diver,equipment)).
11785% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3452
11786==> mpred_prop(wearing(diver,equipment),fluent).
11787==> meta_argtypes(wearing(diver,equipment)).
11788
11789% event PutOn(diver,equipment)
11790 %  event(putOn(diver,equipment)).
11791% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3454
11792==> mpred_prop(putOn(diver,equipment),event).
11793==> meta_argtypes(putOn(diver,equipment)).
11794
11795% event TakeOff(diver,equipment)
11796 %  event(takeOff(diver,equipment)).
11797% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3456
11798==> mpred_prop(takeOff(diver,equipment),event).
11799==> meta_argtypes(takeOff(diver,equipment)).
11800
11801% event Lose(diver,equipment)
11802 %  event(lose(diver,equipment)).
11803% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3458
11804==> mpred_prop(lose(diver,equipment),event).
11805==> meta_argtypes(lose(diver,equipment)).
11806
11807
11812axiom(releases(putOn(Diver, Equipment), atDepth(Equipment, Depth), Time),
11813    []).
11814
11815
11820axiom(releases(putOn(Diver, Equipment), underWater(Equipment), Time),
11821    []).
11822
11823
11829axiom(requires(putOn(Diver, Equipment), Time),
11830    [not(holds_at(wearing(Diver1, Equipment), Time))]).
11831
11832
11838
11839 11843
11844 11854axiom(not(holds_at(wearing(Wearing_Param, AtDepth_Param), Time4)),
11855   
11856    [ not(holds_at(atDepth(AtDepth_Param, AtDepth_Ret), Time4)),
11857      holds_at(atDepth(Wearing_Param, AtDepth_Ret), Time4)
11858    ]).
11859axiom(not(holds_at(wearing(Wearing_Param, AtDepth_Param), Time4)),
11860   
11861    [ not(holds_at(atDepth(Wearing_Param, AtDepth_Ret), Time4)),
11862      holds_at(atDepth(AtDepth_Param, AtDepth_Ret), Time4)
11863    ]).
11864
11865 11869axiom(holds_at(atDepth(AtDepth_Param9, AtDepth_Ret11), Time8),
11870   
11871    [ holds_at(atDepth(AtDepth_Param10, AtDepth_Ret11), Time8),
11872      holds_at(wearing(AtDepth_Param10, AtDepth_Param9),
11873               Time8)
11874    ]).
11875
11876 11882axiom(not(holds_at(atDepth(AtDepth_Param13, AtDepth_Ret15), Time12)),
11883   
11884    [ not(holds_at(atDepth(AtDepth_Param14, AtDepth_Ret15),
11885                   Time12)),
11886      holds_at(wearing(AtDepth_Param13, AtDepth_Param14),
11887               Time12)
11888    ]).
11889
11890 11895axiom(holds_at(atDepth(AtDepth_Param17, AtDepth_Ret19), Time16),
11896   
11897    [ holds_at(atDepth(AtDepth_Param18, AtDepth_Ret19),
11898               Time16),
11899      holds_at(wearing(AtDepth_Param17, AtDepth_Param18),
11900               Time16)
11901    ]).
11902
11903 11909axiom(not(holds_at(atDepth(AtDepth_Param21, AtDepth_Ret23), Time20)),
11910   
11911    [ not(holds_at(atDepth(AtDepth_Param22, AtDepth_Ret23),
11912                   Time20)),
11913      holds_at(wearing(AtDepth_Param22, AtDepth_Param21),
11914               Time20)
11915    ]).
11916
11917
11923
11924 11928
11929 11939axiom(not(holds_at(holding(Holding_Param, AtDepth_Param), Time4)),
11940   
11941    [ not(holds_at(atDepth(AtDepth_Param, AtDepth_Ret), Time4)),
11942      holds_at(atDepth(Holding_Param, AtDepth_Ret), Time4)
11943    ]).
11944axiom(not(holds_at(holding(Holding_Param, AtDepth_Param), Time4)),
11945   
11946    [ not(holds_at(atDepth(Holding_Param, AtDepth_Ret), Time4)),
11947      holds_at(atDepth(AtDepth_Param, AtDepth_Ret), Time4)
11948    ]).
11949
11950 11954axiom(holds_at(atDepth(AtDepth_Param9, AtDepth_Ret11), Time8),
11955   
11956    [ holds_at(atDepth(AtDepth_Param10, AtDepth_Ret11), Time8),
11957      holds_at(holding(AtDepth_Param10, AtDepth_Param9),
11958               Time8)
11959    ]).
11960
11961 11967axiom(not(holds_at(atDepth(AtDepth_Param13, AtDepth_Ret15), Time12)),
11968   
11969    [ not(holds_at(atDepth(AtDepth_Param14, AtDepth_Ret15),
11970                   Time12)),
11971      holds_at(holding(AtDepth_Param13, AtDepth_Param14),
11972               Time12)
11973    ]).
11974
11975 11980axiom(holds_at(atDepth(AtDepth_Param17, AtDepth_Ret19), Time16),
11981   
11982    [ holds_at(atDepth(AtDepth_Param18, AtDepth_Ret19),
11983               Time16),
11984      holds_at(holding(AtDepth_Param17, AtDepth_Param18),
11985               Time16)
11986    ]).
11987
11988 11994axiom(not(holds_at(atDepth(AtDepth_Param21, AtDepth_Ret23), Time20)),
11995   
11996    [ not(holds_at(atDepth(AtDepth_Param22, AtDepth_Ret23),
11997                   Time20)),
11998      holds_at(holding(AtDepth_Param22, AtDepth_Param21),
11999               Time20)
12000    ]).
12001
12002
12008
12009 12013
12014 12022axiom(not(holds_at(wearing(Wearing_Param, Wearing_Ret), Time3)),
12023   
12024    [ not(holds_at(underWater(Wearing_Ret), Time3)),
12025      holds_at(underWater(Wearing_Param), Time3)
12026    ]).
12027axiom(not(holds_at(wearing(Wearing_Param, Wearing_Ret), Time3)),
12028   
12029    [ not(holds_at(underWater(Wearing_Param), Time3)),
12030      holds_at(underWater(Wearing_Ret), Time3)
12031    ]).
12032
12033 12037axiom(holds_at(underWater(UnderWater_Ret), Time6),
12038   
12039    [ holds_at(underWater(Wearing_Param7), Time6),
12040      holds_at(wearing(Wearing_Param7, UnderWater_Ret), Time6)
12041    ]).
12042
12043 12048axiom(not(holds_at(underWater(Wearing_Param10), Time9)),
12049   
12050    [ not(holds_at(underWater(UnderWater_Ret11), Time9)),
12051      holds_at(wearing(Wearing_Param10, UnderWater_Ret11),
12052               Time9)
12053    ]).
12054
12055 12060axiom(holds_at(underWater(Wearing_Param13), Time12),
12061   
12062    [ holds_at(underWater(UnderWater_Ret14), Time12),
12063      holds_at(wearing(Wearing_Param13, UnderWater_Ret14),
12064               Time12)
12065    ]).
12066
12067 12072axiom(not(holds_at(underWater(UnderWater_Ret17), Time15)),
12073   
12074    [ not(holds_at(underWater(Wearing_Param16), Time15)),
12075      holds_at(wearing(Wearing_Param16, UnderWater_Ret17),
12076               Time15)
12077    ]).
12078
12079
12085
12086 12090
12091 12099axiom(not(holds_at(holding(Holding_Param, Holding_Ret), Time3)),
12100   
12101    [ not(holds_at(underWater(Holding_Ret), Time3)),
12102      holds_at(underWater(Holding_Param), Time3)
12103    ]).
12104axiom(not(holds_at(holding(Holding_Param, Holding_Ret), Time3)),
12105   
12106    [ not(holds_at(underWater(Holding_Param), Time3)),
12107      holds_at(underWater(Holding_Ret), Time3)
12108    ]).
12109
12110 12114axiom(holds_at(underWater(UnderWater_Ret), Time6),
12115   
12116    [ holds_at(underWater(Holding_Param7), Time6),
12117      holds_at(holding(Holding_Param7, UnderWater_Ret), Time6)
12118    ]).
12119
12120 12125axiom(not(holds_at(underWater(Holding_Param10), Time9)),
12126   
12127    [ not(holds_at(underWater(UnderWater_Ret11), Time9)),
12128      holds_at(holding(Holding_Param10, UnderWater_Ret11),
12129               Time9)
12130    ]).
12131
12132 12137axiom(holds_at(underWater(Holding_Param13), Time12),
12138   
12139    [ holds_at(underWater(UnderWater_Ret14), Time12),
12140      holds_at(holding(Holding_Param13, UnderWater_Ret14),
12141               Time12)
12142    ]).
12143
12144 12149axiom(not(holds_at(underWater(UnderWater_Ret17), Time15)),
12150   
12151    [ not(holds_at(underWater(Holding_Param16), Time15)),
12152      holds_at(holding(Holding_Param16, UnderWater_Ret17),
12153               Time15)
12154    ]).
12155
12156
12163axiom(initiates(takeOff(Diver, Equipment), atDepth(Equipment, Depth), Time),
12164   
12165    [ holds_at(atDepth(Diver, Depth), Time),
12166      holds_at(wearing(Diver, Equipment), Time)
12167    ]).
12168
12169
12176axiom(terminates(takeOff(Diver, Equipment), atDepth(Equipment, Depth), Time),
12177   
12178    [ not(holds_at(atDepth(Diver, Depth), Time)),
12179      holds_at(wearing(Diver, Equipment), Time)
12180    ]).
12181
12182
12188axiom(initiates(takeOff(Diver, Equipment), underWater(Equipment), Time),
12189    [holds_at(underWater(Diver), Time)]).
12190
12191
12197axiom(terminates(takeOff(Diver, Equipment), underWater(Equipment), Time),
12198    [not(holds_at(underWater(Diver), Time))]).
12199
12200
12207axiom(initiates(lose(Diver, Equipment), atDepth(Equipment, Depth), Time),
12208   
12209    [ holds_at(atDepth(Diver, Depth), Time),
12210      holds_at(wearing(Diver, Equipment), Time)
12211    ]).
12212
12213
12220axiom(terminates(lose(Diver, Equipment), atDepth(Equipment, Depth), Time),
12221   
12222    [ not(holds_at(atDepth(Diver, Depth), Time)),
12223      holds_at(wearing(Diver, Equipment), Time)
12224    ]).
12225
12226
12232axiom(initiates(lose(Diver, Equipment), underWater(Equipment), Time),
12233    [holds_at(underWater(Diver), Time)]).
12234
12235
12241axiom(terminates(lose(Diver, Equipment), underWater(Equipment), Time),
12242    [not(holds_at(underWater(Diver), Time))]).
12243
12244% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3525
12245% fluent Holding(diver,object)
12246 %  fluent(holding(diver,object)).
12247% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3526
12248==> mpred_prop(holding(diver,object),fluent).
12249==> meta_argtypes(holding(diver,object)).
12250
12251
12257axiom(not(holds_at(holding(Diver2, Diver1), Time)),
12258    [holds_at(holding(Diver1, Diver2), Time)]).
12259
12260% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3531
12261% event Grab(diver,object)
12262 %  event(grab(diver,object)).
12263% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3532
12264==> mpred_prop(grab(diver,object),event).
12265==> meta_argtypes(grab(diver,object)).
12266
12267% event LetGoOf(diver,object)
12268 %  event(letGoOf(diver,object)).
12269% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3534
12270==> mpred_prop(letGoOf(diver,object),event).
12271==> meta_argtypes(letGoOf(diver,object)).
12272
12273
12278axiom(initiates(grab(Diver, Object), holding(Diver, Object), Time),
12279    []).
12280
12281
12286axiom(terminates(letGoOf(Diver, Object), holding(Diver, Object), Time),
12287    []).
12288
12289
12294axiom(releases(grab(Diver, Object), atDepth(Object, Depth), Time),
12295    []).
12296
12297
12302axiom(releases(grab(Diver, Object), underWater(Object), Time),
12303    []).
12304
12305
12312axiom(initiates(letGoOf(Diver, Object), atDepth(Object, Depth), Time),
12313   
12314    [ holds_at(atDepth(Diver, Depth), Time),
12315      holds_at(holding(Diver, Object), Time)
12316    ]).
12317
12318
12325axiom(terminates(letGoOf(Diver, Object), atDepth(Object, Depth), Time),
12326   
12327    [ not(holds_at(atDepth(Diver, Depth), Time)),
12328      holds_at(holding(Diver, Object), Time)
12329    ]).
12330
12331
12337axiom(initiates(letGoOf(Diver, Object), underWater(Object), Time),
12338    [holds_at(underWater(Diver), Time)]).
12339
12340
12346axiom(terminates(letGoOf(Diver, Object), underWater(Object), Time),
12347    [not(holds_at(underWater(Diver), Time))]).
12348
12349
12354axiom(initiates(putOn(Diver, Equipment), wearing(Diver, Equipment), Time),
12355    []).
12356
12357
12363axiom(requires(putOn(Diver, Equipment), Time),
12364    [not(holds_at(underWater(Diver), Time))]).
12365
12366
12371axiom(terminates(takeOff(Diver, Equipment), wearing(Diver, Equipment), Time),
12372    []).
12373
12374
12379axiom(terminates(lose(Diver, Equipment), wearing(Diver, Equipment), Time),
12380    []).
12381
12382% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3578
12383% fluent Vertical(diver)
12384 %  fluent(vertical(diver)).
12385% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3579
12386==> mpred_prop(vertical(diver),fluent).
12387==> meta_argtypes(vertical(diver)).
12388
12389% fluent HorizontalDown(diver)
12390 %  fluent(horizontalDown(diver)).
12391% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3581
12392==> mpred_prop(horizontalDown(diver),fluent).
12393==> meta_argtypes(horizontalDown(diver)).
12394
12395% fluent Inverted(diver)
12396 %  fluent(inverted(diver)).
12397% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3583
12398==> mpred_prop(inverted(diver),fluent).
12399==> meta_argtypes(inverted(diver)).
12400
12401% fluent HorizontalUp(diver)
12402 %  fluent(horizontalUp(diver)).
12403% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3585
12404==> mpred_prop(horizontalUp(diver),fluent).
12405==> meta_argtypes(horizontalUp(diver)).
12406
12409xor([vertical,horizontalDown,inverted,horizontalUp]).
12410
12411% event RotatePitch(diver)
12412 %  event(rotatePitch(diver)).
12413% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3589
12414==> mpred_prop(rotatePitch(diver),event).
12415==> meta_argtypes(rotatePitch(diver)).
12416
12417
12423axiom(initiates(rotatePitch(Diver), horizontalDown(Diver), Time),
12424    [holds_at(vertical(Diver), Time)]).
12425
12426
12432axiom(initiates(rotatePitch(Diver), inverted(Diver), Time),
12433    [holds_at(horizontalDown(Diver), Time)]).
12434
12435
12441axiom(terminates(rotatePitch(Diver), horizontalDown(Diver), Time),
12442    [holds_at(horizontalDown(Diver), Time)]).
12443
12444
12450axiom(initiates(rotatePitch(Diver), horizontalUp(Diver), Time),
12451    [holds_at(inverted(Diver), Time)]).
12452
12453
12459axiom(terminates(rotatePitch(Diver), inverted(Diver), Time),
12460    [holds_at(inverted(Diver), Time)]).
12461
12462
12468axiom(initiates(rotatePitch(Diver), vertical(Diver), Time),
12469    [holds_at(horizontalUp(Diver), Time)]).
12470
12471
12477axiom(terminates(rotatePitch(Diver), horizontalUp(Diver), Time),
12478    [holds_at(horizontalUp(Diver), Time)]).
12479
12480% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3618
12481% event RotateYaw(diver)
12482 %  event(rotateYaw(diver)).
12483% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3619
12484==> mpred_prop(rotateYaw(diver),event).
12485==> meta_argtypes(rotateYaw(diver)).
12486
12487
12496axiom(happens(rotateYaw(Diver), Time),
12497   
12498    [ happens(ascend1(Diver), Time),
12499      not(happens(rapidAscendToSurface(Diver), Time)),
12500      not(holds_at(holding(Diver, Diver1), Time))
12501    ]).
12502
12503% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3627
12504% fluent UnderWater(object)
12505 %  fluent(underWater(object)).
12506% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3628
12507==> mpred_prop(underWater(object),fluent).
12508==> meta_argtypes(underWater(object)).
12509
12510
12517axiom(holds_at(underWater(Object), Time),
12518   
12519    [ comparison(Depth, 0, >),
12520      holds_at(atDepth(Object, Depth), Time)
12521    ]).
12522
12523% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3634
12524% event EnterWater(object)
12525 %  event(enterWater(object)).
12526% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3635
12527==> mpred_prop(enterWater(object),event).
12528==> meta_argtypes(enterWater(object)).
12529
12530% event Surface(object)
12531 %  event(surface(object)).
12532% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3637
12533==> mpred_prop(surface(object),event).
12534==> meta_argtypes(surface(object)).
12535
12536
12541axiom(initiates(enterWater(Object), underWater(Object), Time),
12542    []).
12543
12544
12550axiom(requires(enterWater(Diver), Time),
12551    [not(holds_at(holding(Diver1, Diver), Time))]).
12552
12553
12559axiom(initiates(enterWater(Object), atDepth(Object, Depth), Time),
12560    [equals(Depth, 0)]).
12561
12562
12567axiom(terminates(surface(Object), underWater(Object), Time),
12568    []).
12569
12570
12575axiom(terminates(surface(Diver), positivelyBuoyant(Diver), Time),
12576    []).
12577
12578
12583axiom(terminates(surface(Diver), negativelyBuoyant(Diver), Time),
12584    []).
12585
12586
12591axiom(terminates(surface(Diver), neutrallyBuoyant(Diver), Time),
12592    []).
12593
12594
12599axiom(terminates(surface(Object), atDepth(Object, Depth), Time),
12600    []).
12601
12602
12605 12608axiom(requires(enterWater(Diver), Time),
12609    [holds_at(vertical(Diver), Time)]).
12610
12611% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3667
12612% fluent StandingOn(diver,boat)
12613 %  fluent(standingOn(diver,boat)).
12614% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3668
12615==> mpred_prop(standingOn(diver,boat),fluent).
12616==> meta_argtypes(standingOn(diver,boat)).
12617
12618% event StandOn(diver,boat)
12619 %  event(standOn(diver,boat)).
12620% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3670
12621==> mpred_prop(standOn(diver,boat),event).
12622==> meta_argtypes(standOn(diver,boat)).
12623
12624
12629axiom(terminates(enterWater(Diver), standingOn(Diver, Boat), Time),
12630    []).
12631
12632
12637axiom(initiates(standOn(Diver, Boat), standingOn(Diver, Boat), Time),
12638    []).
12639
12640% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3677
12641% fluent PositivelyBuoyant(diver)
12642 %  fluent(positivelyBuoyant(diver)).
12643% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3678
12644==> mpred_prop(positivelyBuoyant(diver),fluent).
12645==> meta_argtypes(positivelyBuoyant(diver)).
12646
12647% fluent NeutrallyBuoyant(diver)
12648 %  fluent(neutrallyBuoyant(diver)).
12649% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3680
12650==> mpred_prop(neutrallyBuoyant(diver),fluent).
12651==> meta_argtypes(neutrallyBuoyant(diver)).
12652
12653% fluent NegativelyBuoyant(diver)
12654 %  fluent(negativelyBuoyant(diver)).
12655% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3682
12656==> mpred_prop(negativelyBuoyant(diver),fluent).
12657==> meta_argtypes(negativelyBuoyant(diver)).
12658
12661mutex(positivelyBuoyant).
12662mutex(neutrallyBuoyant).
12663mutex(negativelyBuoyant).
12664
12665
12671axiom(holds_at(underWater(Diver), Time),
12672    [holds_at(positivelyBuoyant(Diver), Time)]).
12673
12674
12680axiom(holds_at(underWater(Diver), Time),
12681    [holds_at(neutrallyBuoyant(Diver), Time)]).
12682
12683
12689axiom(holds_at(underWater(Diver), Time),
12690    [holds_at(negativelyBuoyant(Diver), Time)]).
12691
12692% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3697
12693% event PressDeflateButton(diver,bc)
12694 %  event(pressDeflateButton(diver,bc)).
12695% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3698
12696==> mpred_prop(pressDeflateButton(diver,bc),event).
12697==> meta_argtypes(pressDeflateButton(diver,bc)).
12698
12699% event PressDumpButton(diver,bc)
12700 %  event(pressDumpButton(diver,bc)).
12701% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3700
12702==> mpred_prop(pressDumpButton(diver,bc),event).
12703==> meta_argtypes(pressDumpButton(diver,bc)).
12704
12705% event PressInflateButton(diver,bc)
12706 %  event(pressInflateButton(diver,bc)).
12707% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3702
12708==> mpred_prop(pressInflateButton(diver,bc),event).
12709==> meta_argtypes(pressInflateButton(diver,bc)).
12710
12711
12718axiom(requires(pressDeflateButton(Diver, Bc), Time),
12719   
12720    [ holds_at(vertical(Diver), Time),
12721      holds_at(underWater(Bc), Time)
12722    ]).
12723
12724
12731axiom(requires(pressDumpButton(Diver, Bc), Time),
12732   
12733    [ holds_at(vertical(Diver), Time),
12734      holds_at(underWater(Bc), Time)
12735    ]).
12736
12737
12740 12743axiom(requires(pressDumpButton(Diver, Bc), Time),
12744    [holds_at(uncontrolledBuoyancy(Diver), Time)]).
12745
12746
12752axiom(initiates(pressDeflateButton(Diver, Bc), negativelyBuoyant(Diver), Time),
12753    [holds_at(wearing(Diver, Bc), Time)]).
12754
12755
12761axiom(terminates(pressDeflateButton(Diver, Bc), neutrallyBuoyant(Diver), Time),
12762    [holds_at(wearing(Diver, Bc), Time)]).
12763
12764
12770axiom(terminates(pressDeflateButton(Diver, Bc), positivelyBuoyant(Diver), Time),
12771    [holds_at(wearing(Diver, Bc), Time)]).
12772
12773
12779axiom(initiates(pressDumpButton(Diver, Bc), negativelyBuoyant(Diver), Time),
12780    [holds_at(wearing(Diver, Bc), Time)]).
12781
12782
12788axiom(terminates(pressDumpButton(Diver, Bc), neutrallyBuoyant(Diver), Time),
12789    [holds_at(wearing(Diver, Bc), Time)]).
12790
12791
12797axiom(terminates(pressDumpButton(Diver, Bc), positivelyBuoyant(Diver), Time),
12798    [holds_at(wearing(Diver, Bc), Time)]).
12799
12800
12806axiom(initiates(pressInflateButton(Diver, Bc), neutrallyBuoyant(Diver), Time),
12807    [holds_at(wearing(Diver, Bc), Time)]).
12808
12809
12815axiom(terminates(pressInflateButton(Diver, Bc), positivelyBuoyant(Diver), Time),
12816    [holds_at(wearing(Diver, Bc), Time)]).
12817
12818
12824axiom(terminates(pressInflateButton(Diver, Bc), negativelyBuoyant(Diver), Time),
12825    [holds_at(wearing(Diver, Bc), Time)]).
12826
12827
12833axiom(initiates(takeOff(Diver, Weight), positivelyBuoyant(Diver), Time),
12834    [holds_at(wearing(Diver, Weight), Time)]).
12835
12836
12842axiom(terminates(takeOff(Diver, Weight), negativelyBuoyant(Diver), Time),
12843    [holds_at(wearing(Diver, Weight), Time)]).
12844
12845
12851axiom(terminates(takeOff(Diver, Weight), neutrallyBuoyant(Diver), Time),
12852    [holds_at(wearing(Diver, Weight), Time)]).
12853
12854% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3764
12855% fluent UncontrolledBuoyancy(diver)
12856 %  fluent(uncontrolledBuoyancy(diver)).
12857% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3765
12858==> mpred_prop(uncontrolledBuoyancy(diver),fluent).
12859==> meta_argtypes(uncontrolledBuoyancy(diver)).
12860
12861% event LoseBuoyancyControl(diver)
12862 %  event(loseBuoyancyControl(diver)).
12863% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3767
12864==> mpred_prop(loseBuoyancyControl(diver),event).
12865==> meta_argtypes(loseBuoyancyControl(diver)).
12866
12867% predicate IsInexperiencedDiver(diver)
12868 %  predicate(isInexperiencedDiver(diver)).
12869% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3769
12870==> mpred_prop(isInexperiencedDiver(diver),predicate).
12871==> meta_argtypes(isInexperiencedDiver(diver)).
12872
12873
12879axiom(requires(loseBuoyancyControl(Diver), Time),
12880    [isInexperiencedDiver(Diver)]).
12881
12882
12887axiom(initiates(loseBuoyancyControl(Diver), uncontrolledBuoyancy(Diver), Time),
12888    []).
12889
12890
12895axiom(initiates(loseBuoyancyControl(Diver), positivelyBuoyant(Diver), Time),
12896    []).
12897
12898
12903axiom(terminates(loseBuoyancyControl(Diver), negativelyBuoyant(Diver), Time),
12904    []).
12905
12906
12911axiom(terminates(loseBuoyancyControl(Diver), neutrallyBuoyant(Diver), Time),
12912    []).
12913
12914
12915% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3786
12916%; determining fluent
12917
12918% fluent AscendDescendAmount(diver,depth)
12919 %  fluent(ascendDescendAmount(diver,depth)).
12920% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3788
12921==> mpred_prop(ascendDescendAmount(diver,depth),fluent).
12922==> meta_argtypes(ascendDescendAmount(diver,depth)).
12923
12924% noninertial AscendDescendAmount
12925% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3789
12926==> noninertial(ascendDescendAmount).
12927
12928
12935axiom(Depth1=Depth2,
12936   
12937    [ holds_at(ascendDescendAmount(Diver, Depth1), Time),
12938      holds_at(ascendDescendAmount(Diver, Depth2), Time)
12939    ]).
12940
12941
12950axiom(requires(descend(Diver, Depth), Time),
12951   
12952    [ holds_at(negativelyBuoyant(Diver), Time),
12953      holds_at(ascendDescendAmount(Diver, Depth1), Time),
12954      holds_at(atDepth(Diver, Depth-Depth1), Time)
12955    ]).
12956
12957% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3802
12958% event KickUp(diver)
12959 %  event(kickUp(diver)).
12960% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3803
12961==> mpred_prop(kickUp(diver),event).
12962==> meta_argtypes(kickUp(diver)).
12963
12964
12974axiom(requires(ascend(Diver, Depth), Time),
12975   
12976    [ holds_at(positivelyBuoyant(Diver), Time),
12977      holds_at(ascendDescendAmount(Diver, Depth1), Time),
12978      holds_at(atDepth(Diver, Depth+Depth1), Time)
12979    ]).
12980axiom(requires(ascend(Diver, Depth), Time),
12981   
12982    [ holds_at(neutrallyBuoyant(Diver), Time),
12983      happens(kickUp(Diver), Time),
12984      holds_at(ascendDescendAmount(Diver, Depth1), Time),
12985      holds_at(atDepth(Diver, Depth+Depth1), Time)
12986    ]).
12987
12988
12994axiom(requires(kickUp(Diver), Time),
12995    [holds_at(vertical(Diver), Time)]).
12996
12997% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3816
12998% event SwimAround(diver)
12999 %  event(swimAround(diver)).
13000% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3817
13001==> mpred_prop(swimAround(diver),event).
13002==> meta_argtypes(swimAround(diver)).
13003
13004
13010axiom(requires(swimAround(Diver), Time),
13011    [holds_at(horizontalDown(Diver), Time)]).
13012
13013
13014% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3822
13015%; signaling
13016
13017% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3824
13018% event SignalDescend(diver,diver)
13019 %  event(signalDescend(diver,diver)).
13020% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3825
13021==> mpred_prop(signalDescend(diver,diver),event).
13022==> meta_argtypes(signalDescend(diver,diver)).
13023
13024% event SignalOutOfTime(diver,diver)
13025 %  event(signalOutOfTime(diver,diver)).
13026% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3827
13027==> mpred_prop(signalOutOfTime(diver,diver),event).
13028==> meta_argtypes(signalOutOfTime(diver,diver)).
13029
13030% event SignalAscend(diver,diver)
13031 %  event(signalAscend(diver,diver)).
13032% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3829
13033==> mpred_prop(signalAscend(diver,diver),event).
13034==> meta_argtypes(signalAscend(diver,diver)).
13035
13036
13037% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3830
13038%;[diver1,diver2,time]
13039%;Happens(SignalAscend(diver1,diver2),time) ->
13040%;Happens(SignalOutOfTime(diver1,diver2),time-1).
13041%;[diver1,diver2,time]
13042%;Happens(SignalDescend(diver1,diver2),time) ->
13043%;HoldsAt(See(diver1,diver2),time) &
13044%;HoldsAt(See(diver2,diver1),time).
13045%;[diver1,diver2,time]
13046%;Happens(SignalOutOfTime(diver1,diver2),time) ->
13047%;HoldsAt(See(diver1,diver2),time) &
13048%;HoldsAt(See(diver2,diver1),time).
13049%;[diver1,diver2,time]
13050%;Happens(SignalAscend(diver1,diver2),time) ->
13051%;HoldsAt(See(diver1,diver2),time) &
13052%;HoldsAt(See(diver2,diver1),time).
13053%;event LookAt(agent,object)
13054%;fluent See(agent,object)
13055%;[agent,object,time]
13056%;Initiates(LookAt(agent,object),See(agent,object),time).
13057%;[agent,object1,object2,time]
13058%;object1!=object2 ->
13059%;Terminates(LookAt(agent,object1),
13060%;           See(agent,object2),
13061%;           time).
13062
13063% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3862
13064% event Descend1(diver)
13065 %  event(descend1(diver)).
13066% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3863
13067==> mpred_prop(descend1(diver),event).
13068==> meta_argtypes(descend1(diver)).
13069
13070% event Ascend1(diver)
13071 %  event(ascend1(diver)).
13072% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3865
13073==> mpred_prop(ascend1(diver),event).
13074==> meta_argtypes(ascend1(diver)).
13075
13076
13077% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3866
13078%;[diver,object,time]
13079%;Terminates(Descend1(diver),See(diver,object),time).
13080%;[diver,object,time]
13081%;Terminates(Ascend1(diver),See(diver,object),time).
13082%;[diver,object,time]
13083%;Terminates(RotateYaw(diver),See(diver,object),time).
13084
13085% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3875
13086% event RapidAscendToSurface(diver)
13087 %  event(rapidAscendToSurface(diver)).
13088% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3876
13089==> mpred_prop(rapidAscendToSurface(diver),event).
13090==> meta_argtypes(rapidAscendToSurface(diver)).
13091
13092
13097
13098 13102axiom(happens(descend1(Diver), Time),
13103    [happens(descend(Diver, Depth), Time)]).
13104
13105 13109
13110 13113axiom(happens(descend(Descend_Param, Descend_Ret), Maptime),
13114    [happens(descend1(Descend_Param), Maptime)]).
13115
13116 13120axiom(not(happens(descend1(Descend_Param7), Maptime6)),
13121   
13122    [ not(happens(descend(Descend_Param7, Descend_Ret8),
13123                  Maptime6))
13124    ]).
13125
13126
13131
13132 13136axiom(happens(ascend1(Diver), Time),
13137    [happens(ascend(Diver, Depth), Time)]).
13138
13139 13143
13144 13147axiom(happens(ascend(Ascend_Param, Ascend_Ret), Maptime),
13148    [happens(ascend1(Ascend_Param), Maptime)]).
13149
13150 13153axiom(not(happens(ascend1(Ascend_Param7), Maptime6)),
13154   
13155    [ not(happens(ascend(Ascend_Param7, Ascend_Ret8),
13156                  Maptime6))
13157    ]).
13158
13159
13165axiom(happens(ascend(Diver, 0), Time),
13166    [happens(rapidAscendToSurface(Diver), Time)]).
13167
13168% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3889
13169% event AscendLine(diver,line)
13170 %  event(ascendLine(diver,line)).
13171% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3890
13172==> mpred_prop(ascendLine(diver,line),event).
13173==> meta_argtypes(ascendLine(diver,line)).
13174
13175
13181axiom(happens(ascend1(Diver), Time),
13182    [happens(ascendLine(Diver, Line), Time)]).
13183
13184% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3895
13185% fluent Disoriented(diver)
13186 %  fluent(disoriented(diver)).
13187% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3896
13188==> mpred_prop(disoriented(diver),fluent).
13189==> meta_argtypes(disoriented(diver)).
13190
13191% event BecomeDisoriented(diver)
13192 %  event(becomeDisoriented(diver)).
13193% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3898
13194==> mpred_prop(becomeDisoriented(diver),event).
13195==> meta_argtypes(becomeDisoriented(diver)).
13196
13197% event BecomeReoriented(diver)
13198 %  event(becomeReoriented(diver)).
13199% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3900
13200==> mpred_prop(becomeReoriented(diver),event).
13201==> meta_argtypes(becomeReoriented(diver)).
13202
13203
13208axiom(initiates(becomeDisoriented(Diver), disoriented(Diver), Time),
13209    []).
13210
13211
13216axiom(terminates(becomeReoriented(Diver), disoriented(Diver), Time),
13217    []).
13218
13219% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3907
13220% fluent DisturbedSilt()
13221 %  fluent(disturbedSilt()).
13222% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3908
13223==> mpred_prop(disturbedSilt(),fluent).
13224==> meta_argtypes(disturbedSilt()).
13225
13226% event DisturbSilt(diver)
13227 %  event(disturbSilt(diver)).
13228% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3910
13229==> mpred_prop(disturbSilt(diver),event).
13230==> meta_argtypes(disturbSilt(diver)).
13231
13232
13237axiom(initiates(disturbSilt(Diver), disturbedSilt(), Time),
13238    []).
13239
13240
13247axiom(requires(becomeDisoriented(Diver), start),
13248   
13249    [ not(holds_at(disturbedSilt(), t)),
13250      holds_at(disturbedSilt(), start),
13251      b(t, start),
13252      ignore(start-1=t)
13253    ]).
13254
13255% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3919
13256% event Panic(diver)
13257 %  event(panic(diver)).
13258% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3920
13259==> mpred_prop(panic(diver),event).
13260==> meta_argtypes(panic(diver)).
13261
13262
13265 13271axiom(requires(panic(Diver), Time),
13272    [holds_at(disoriented(Diver), Time)]).
13273axiom(requires(panic(Diver), Time),
13274    [holds_at(uncontrolledBuoyancy(Diver), Time)]).
13275axiom(requires(lose(Diver, Equipment), Time-1),
13276    [requires(panic(Diver), Time)]).
13277axiom(requires(vomit(Diver), Time-1),
13278    [requires(panic(Diver), Time)]).
13279
13280% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3927
13281% event Vomit(diver)
13282 %  event(vomit(diver)).
13283% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3928
13284==> mpred_prop(vomit(diver),event).
13285==> meta_argtypes(vomit(diver)).
13286
13287
13288% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3929
13289%; conditions
13290
13291% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3931
13292% fluent Unconscious(diver)
13293 %  fluent(unconscious(diver)).
13294% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3932
13295==> mpred_prop(unconscious(diver),fluent).
13296==> meta_argtypes(unconscious(diver)).
13297
13298% event GoUnconscious(diver)
13299 %  event(goUnconscious(diver)).
13300% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3934
13301==> mpred_prop(goUnconscious(diver),event).
13302==> meta_argtypes(goUnconscious(diver)).
13303
13304% event RegainConsciousness(diver)
13305 %  event(regainConsciousness(diver)).
13306% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3936
13307==> mpred_prop(regainConsciousness(diver),event).
13308==> meta_argtypes(regainConsciousness(diver)).
13309
13310
13315axiom(initiates(goUnconscious(Diver), unconscious(Diver), Time),
13316    []).
13317
13318
13323axiom(terminates(regainConsciousness(Diver), unconscious(Diver), Time),
13324    []).
13325
13326
13332axiom(happens(rapidAscendToSurface(Diver), Time),
13333    [happens(goUnconscious(Diver), Time)]).
13334
13335% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3947
13336% fluent HasEarPain(diver)
13337 %  fluent(hasEarPain(diver)).
13338% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3948
13339==> mpred_prop(hasEarPain(diver),fluent).
13340==> meta_argtypes(hasEarPain(diver)).
13341
13342% event StartEarPain(diver)
13343 %  event(startEarPain(diver)).
13344% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3950
13345==> mpred_prop(startEarPain(diver),event).
13346==> meta_argtypes(startEarPain(diver)).
13347
13348
13351 13352axiom(initiates(startEarPain(Diver), hasEarPain(Diver), Time),
13353    []).
13354
13355% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3953
13356% fluent HasRupturedEardrum(diver)
13357 %  fluent(hasRupturedEardrum(diver)).
13358% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3954
13359==> mpred_prop(hasRupturedEardrum(diver),fluent).
13360==> meta_argtypes(hasRupturedEardrum(diver)).
13361
13362% event RuptureEardrum(diver)
13363 %  event(ruptureEardrum(diver)).
13364% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3956
13365==> mpred_prop(ruptureEardrum(diver),event).
13366==> meta_argtypes(ruptureEardrum(diver)).
13367
13368
13373axiom(initiates(ruptureEardrum(Diver), hasRupturedEardrum(Diver), Time),
13374    []).
13375
13376% fluent ConditionOK(diver)
13377 %  fluent(conditionOK(diver)).
13378% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3960
13379==> mpred_prop(conditionOK(diver),fluent).
13380==> meta_argtypes(conditionOK(diver)).
13381
13382% fluent HasDecompressionIllness(diver)
13383 %  fluent(hasDecompressionIllness(diver)).
13384% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3962
13385==> mpred_prop(hasDecompressionIllness(diver),fluent).
13386==> meta_argtypes(hasDecompressionIllness(diver)).
13387
13388% event StartDecompressionIllness(diver)
13389 %  event(startDecompressionIllness(diver)).
13390% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3964
13391==> mpred_prop(startDecompressionIllness(diver),event).
13392==> meta_argtypes(startDecompressionIllness(diver)).
13393
13394
13401axiom(initiates(startDecompressionIllness(Diver), hasDecompressionIllness(Diver), Time),
13402    []).
13403
13404% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3970
13405% fluent SignalingDecompress(computer,diver)
13406 %  fluent(signalingDecompress(computer,diver)).
13407% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3971
13408==> mpred_prop(signalingDecompress(computer,diver),fluent).
13409==> meta_argtypes(signalingDecompress(computer,diver)).
13410
13411% fluent SignalingLowOnAir(computer,airtank,diver)
13412 %  fluent(signalingLowOnAir(computer,airtank,diver)).
13413% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3973
13414==> mpred_prop(signalingLowOnAir(computer,airtank,diver),fluent).
13415==> meta_argtypes(signalingLowOnAir(computer,airtank,diver)).
13416
13417
13423axiom(holds_at(lowOnAir(Airtank), Time),
13424   
13425    [ holds_at(signalingLowOnAir(Computer, Airtank, Diver),
13426               Time)
13427    ]).
13428
13429
13435axiom(not(exists([Time1],  (Time1<Time, happens(decompress(Diver), Time1)))),
13436    [holds_at(signalingDecompress(Computer, Diver), Time)]).
13437
13438% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3982
13439% event Decompress(diver)
13440 %  event(decompress(diver)).
13441% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3983
13442==> mpred_prop(decompress(diver),event).
13443==> meta_argtypes(decompress(diver)).
13444
13445% event EqualizeEars(diver)
13446 %  event(equalizeEars(diver)).
13447% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:3985
13448==> mpred_prop(equalizeEars(diver),event).
13449==> meta_argtypes(equalizeEars(diver)).
13450
13451
13458
13459 13462
13463 13470axiom(happens(startEarPain(StartEarPain_Ret), Maptime),
13471   
13472    [ happens(descend1(StartEarPain_Ret), Maptime),
13473      not(happens(equalizeEars(StartEarPain_Ret), Maptime))
13474    ]).
13475axiom(happens(startEarPain(StartEarPain_Ret), Maptime),
13476   
13477    [ happens(ascend1(StartEarPain_Ret), Maptime),
13478      not(happens(equalizeEars(StartEarPain_Ret), Maptime))
13479    ]).
13480
13481 13487axiom(happens(ruptureEardrum(RuptureEardrum_Ret), Maptime4),
13488   
13489    [ happens(descend1(RuptureEardrum_Ret), Maptime4),
13490      not(happens(equalizeEars(RuptureEardrum_Ret), Maptime4))
13491    ]).
13492axiom(happens(ruptureEardrum(RuptureEardrum_Ret), Maptime4),
13493   
13494    [ happens(ascend1(RuptureEardrum_Ret), Maptime4),
13495      not(happens(equalizeEars(RuptureEardrum_Ret), Maptime4))
13496    ]).
13497
13498 13506axiom(happens(equalizeEars(EqualizeEars_Ret), Maptime6),
13507   
13508    [ not(happens(startEarPain(EqualizeEars_Ret), Maptime6)),
13509      happens(descend1(EqualizeEars_Ret), Maptime6)
13510    ]).
13511axiom(happens(equalizeEars(EqualizeEars_Ret), Maptime6),
13512   
13513    [ not(happens(ruptureEardrum(EqualizeEars_Ret), Maptime6)),
13514      happens(descend1(EqualizeEars_Ret), Maptime6)
13515    ]).
13516axiom(happens(equalizeEars(EqualizeEars_Ret), Maptime6),
13517   
13518    [ not(happens(startEarPain(EqualizeEars_Ret), Maptime6)),
13519      happens(ascend1(EqualizeEars_Ret), Maptime6)
13520    ]).
13521axiom(happens(equalizeEars(EqualizeEars_Ret), Maptime6),
13522   
13523    [ not(happens(ruptureEardrum(EqualizeEars_Ret), Maptime6)),
13524      happens(ascend1(EqualizeEars_Ret), Maptime6)
13525    ]).
13526
13527 13533axiom(not(happens(descend1(Descend1_Ret), Maptime8)),
13534   
13535    [ not(happens(startEarPain(Descend1_Ret), Maptime8)),
13536      not(happens(equalizeEars(Descend1_Ret), Maptime8))
13537    ]).
13538axiom(not(happens(descend1(Descend1_Ret), Maptime8)),
13539   
13540    [ not(happens(ruptureEardrum(Descend1_Ret), Maptime8)),
13541      not(happens(equalizeEars(Descend1_Ret), Maptime8))
13542    ]).
13543
13544 13550axiom(not(happens(ascend1(Ascend1_Ret), Maptime10)),
13551   
13552    [ not(happens(startEarPain(Ascend1_Ret), Maptime10)),
13553      not(happens(equalizeEars(Ascend1_Ret), Maptime10))
13554    ]).
13555axiom(not(happens(ascend1(Ascend1_Ret), Maptime10)),
13556   
13557    [ not(happens(ruptureEardrum(Ascend1_Ret), Maptime10)),
13558      not(happens(equalizeEars(Ascend1_Ret), Maptime10))
13559    ]).
13560
13561
13568axiom(happens(startDecompressionIllness(Diver), Time),
13569   
13570    [ happens(ascend1(Diver), Time),
13571      not(happens(decompress(Diver), Time))
13572    ]).
13573
13574
13582axiom(happens(startDecompressionIllness(Diver2), Time),
13583   
13584    [ holds_at(holding(Diver1, Diver2), Time),
13585      happens(ascend1(Diver1), Time),
13586      not(happens(decompress(Diver2), Time))
13587    ]).
13588
13589
13596axiom(requires(decompress(Diver), Time),
13597   
13598    [ comparison(Depth, 0, >),
13599      holds_at(atDepth(Diver, Depth), Time),
13600      not(holds_at(uncontrolledBuoyancy(Diver), Time))
13601    ]).
13602
13603% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4008
13604% fluent HasHeadache(diver)
13605 %  fluent(hasHeadache(diver)).
13606% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4009
13607==> mpred_prop(hasHeadache(diver),fluent).
13608==> meta_argtypes(hasHeadache(diver)).
13609
13610
13619
13620 13623
13624 13633axiom(not(holds_at(conditionOK(ConditionOK_Ret), Time2)),
13634    [holds_at(unconscious(ConditionOK_Ret), Time2)]).
13635axiom(not(holds_at(conditionOK(ConditionOK_Ret), Time2)),
13636    [holds_at(hasEarPain(ConditionOK_Ret), Time2)]).
13637axiom(not(holds_at(conditionOK(ConditionOK_Ret), Time2)),
13638    [holds_at(hasRupturedEardrum(ConditionOK_Ret), Time2)]).
13639axiom(not(holds_at(conditionOK(ConditionOK_Ret), Time2)),
13640    [holds_at(hasDecompressionIllness(ConditionOK_Ret), Time2)]).
13641axiom(not(holds_at(conditionOK(ConditionOK_Ret), Time2)),
13642    [holds_at(hasHeadache(ConditionOK_Ret), Time2)]).
13643
13644 13647axiom(not(holds_at(unconscious(Unconscious_Ret), Time4)),
13648    [holds_at(conditionOK(Unconscious_Ret), Time4)]).
13649
13650 13653axiom(not(holds_at(hasEarPain(HasEarPain_Ret), Time6)),
13654    [holds_at(conditionOK(HasEarPain_Ret), Time6)]).
13655
13656 13659axiom(not(holds_at(hasRupturedEardrum(HasRupturedEardrum_Ret), Time8)),
13660    [holds_at(conditionOK(HasRupturedEardrum_Ret), Time8)]).
13661
13662 13665axiom(not(holds_at(hasDecompressionIllness(HasDecompressionIllness_Ret), Time10)),
13666    [holds_at(conditionOK(HasDecompressionIllness_Ret), Time10)]).
13667
13668 13671axiom(not(holds_at(hasHeadache(HasHeadache_Ret), Time12)),
13672    [holds_at(conditionOK(HasHeadache_Ret), Time12)]).
13673
13674% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4018
13675% event BeAirlifted(diver)
13676 %  event(beAirlifted(diver)).
13677% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4019
13678==> mpred_prop(beAirlifted(diver),event).
13679==> meta_argtypes(beAirlifted(diver)).
13680
13681% event TakeInWater(diver)
13682 %  event(takeInWater(diver)).
13683% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4021
13684==> mpred_prop(takeInWater(diver),event).
13685==> meta_argtypes(takeInWater(diver)).
13686
13687% fluent LowOnAir(airtank)
13688 %  fluent(lowOnAir(airtank)).
13689% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4023
13690==> mpred_prop(lowOnAir(airtank),fluent).
13691==> meta_argtypes(lowOnAir(airtank)).
13692
13693% event BecomeLowOnAir(airtank)
13694 %  event(becomeLowOnAir(airtank)).
13695% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4025
13696==> mpred_prop(becomeLowOnAir(airtank),event).
13697==> meta_argtypes(becomeLowOnAir(airtank)).
13698
13699
13704axiom(initiates(becomeLowOnAir(Airtank), lowOnAir(Airtank), Time),
13705    []).
13706
13707
13711 13713axiom(initially(conditionOK(Diver)),
13714    []).
13715
13716
13719 13720axiom(initially(vertical(Diver)),
13721    []).
13722
13723
13726 13727axiom(not(initially(disturbedSilt())),
13728    []).
13729
13730
13733 13734 13735axiom(not(initially(uncontrolledBuoyancy(UncontrolledBuoyancy_Ret))),
13736    []).
13737
13738
13741 13742 13743axiom(not(initially(disoriented(Disoriented_Ret))),
13744    []).
13745
13746
13749 13752
13753 13758axiom(not(holds_at(positivelyBuoyant(PositivelyBuoyant_Ret), t)),
13759    []).
13760axiom(not(holds_at(neutrallyBuoyant(NeutrallyBuoyant_Ret), t)),
13761    []).
13762axiom(not(holds_at(negativelyBuoyant(NegativelyBuoyant_Ret), t)),
13763    []).
13764
13765
13768 13769 13770axiom(not(initially(wearing(Wearing_Param, Wearing_Ret))),
13771    []).
13772
13773
13776 13777 13778axiom(not(initially(holding(Holding_Param, Holding_Ret))),
13779    []).
13780
13781
13784 13785 13786axiom(not(initially(separated(Separated_Param, Separated_Ret))),
13787    []).
13788
13789
13790% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4041
13791%;[agent,object] !HoldsAt(See(agent,object),0).
13792
13793% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4043
13794% fluent Separated(diver,diver)
13795 %  fluent(separated(diver,diver)).
13796% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4044
13797==> mpred_prop(separated(diver,diver),fluent).
13798==> meta_argtypes(separated(diver,diver)).
13799
13800
13806axiom(holds_at(separated(Diver2, Diver1), Time),
13807    [holds_at(separated(Diver1, Diver2), Time)]).
13808
13809% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4049
13810% event BecomeSeparated(diver,diver)
13811 %  event(becomeSeparated(diver,diver)).
13812% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4050
13813==> mpred_prop(becomeSeparated(diver,diver),event).
13814==> meta_argtypes(becomeSeparated(diver,diver)).
13815
13816% event BeReunitedWith(diver,diver)
13817 %  event(beReunitedWith(diver,diver)).
13818% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4052
13819==> mpred_prop(beReunitedWith(diver,diver),event).
13820==> meta_argtypes(beReunitedWith(diver,diver)).
13821
13822
13827axiom(initiates(becomeSeparated(Diver1, Diver2), separated(Diver1, Diver2), Time),
13828    []).
13829
13830
13835axiom(initiates(becomeSeparated(Diver1, Diver2), separated(Diver2, Diver1), Time),
13836    []).
13837
13838
13843axiom(terminates(beReunitedWith(Diver1, Diver2), separated(Diver1, Diver2), Time),
13844    []).
13845
13846
13851axiom(terminates(beReunitedWith(Diver1, Diver2), separated(Diver2, Diver1), Time),
13852    []).
13853
13854
13855% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4065
13856%; End of file.
13857%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13858%; FILE: ecnet/Dress.e
13859%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13860%;
13861%; Copyright (c) 2005 IBM Corporation and others.
13862%; All rights reserved. This program and the accompanying materials
13863%; are made available under the terms of the Common Public License v1.0
13864%; which accompanies this distribution, and is available at
13865%; http://www.eclipse.org/legal/cpl-v10.html
13866%;
13867%; Contributors:
13868%; IBM - Initial implementation
13869%;
13870%; Dress
13871%; (cf Sleep)
13872%;
13873
13874% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4087
13875% event PutOn(agent,clothing)
13876 %  event(putOn(agent,clothing)).
13877% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4088
13878==> mpred_prop(putOn(agent,clothing),event).
13879==> meta_argtypes(putOn(agent,clothing)).
13880
13881% event TakeOff(agent,clothing)
13882 %  event(takeOff(agent,clothing)).
13883% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4090
13884==> mpred_prop(takeOff(agent,clothing),event).
13885==> meta_argtypes(takeOff(agent,clothing)).
13886
13887% fluent Wearing(agent,clothing)
13888 %  fluent(wearing(agent,clothing)).
13889% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4092
13890==> mpred_prop(wearing(agent,clothing),fluent).
13891==> meta_argtypes(wearing(agent,clothing)).
13892
13893
13900axiom(initiates(putOn(Agent, Clothing), wearing(Agent, Clothing), Time),
13901    []).
13902
13903
13911
13912 13916
13917 13925axiom(not(some(Location6, '$kolem_Fn_267'(Fn_267_Param, At_Param, Maptime))),
13926   
13927    [ holds_at(wearing(Fn_267_Param, At_Param), Maptime),
13928      happens(putOn(Fn_267_Param, At_Param), Maptime)
13929    ]).
13930axiom(not(some(Location6, '$kolem_Fn_267'(Fn_267_Param, At_Param, Maptime))),
13931   
13932    [ not(holds_at(at(Fn_267_Param, Location6), Maptime)),
13933      happens(putOn(Fn_267_Param, At_Param), Maptime)
13934    ]).
13935axiom(not(some(Location6, '$kolem_Fn_267'(Fn_267_Param, At_Param, Maptime))),
13936   
13937    [ not(holds_at(at(At_Param, Location6), Maptime)),
13938      happens(putOn(Fn_267_Param, At_Param), Maptime)
13939    ]).
13940
13941 13949axiom(not(happens(putOn(PutOn_Param, At_Param12), Maptime9)),
13950   
13951    [ holds_at(wearing(PutOn_Param, At_Param12), Maptime9),
13952      some(Location10,
13953           '$kolem_Fn_267'(PutOn_Param, At_Param12, Maptime9))
13954    ]).
13955axiom(not(happens(putOn(PutOn_Param, At_Param12), Maptime9)),
13956   
13957    [ not(holds_at(at(PutOn_Param, Location10), Maptime9)),
13958      some(Location10,
13959           '$kolem_Fn_267'(PutOn_Param, At_Param12, Maptime9))
13960    ]).
13961axiom(not(happens(putOn(PutOn_Param, At_Param12), Maptime9)),
13962   
13963    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
13964      some(Location10,
13965           '$kolem_Fn_267'(PutOn_Param, At_Param12, Maptime9))
13966    ]).
13967
13968 13973axiom(not(holds_at(wearing(Wearing_Param, Wearing_Ret), Time13)),
13974   
13975    [ happens(putOn(Wearing_Param, Wearing_Ret), Time13),
13976      some(Some_Param,
13977           '$kolem_Fn_267'(Wearing_Param, Wearing_Ret, Time13))
13978    ]).
13979
13980 13985axiom(holds_at(at(At_Param19, Location17), Time18),
13986   
13987    [ happens(putOn(At_Param19, PutOn_Ret), Time18),
13988      some(Location17,
13989           '$kolem_Fn_267'(At_Param19, PutOn_Ret, Time18))
13990    ]).
13991
13992 13997axiom(holds_at(at(At_Param23, Location21), Time22),
13998   
13999    [ happens(putOn(PutOn_Param24, At_Param23), Time22),
14000      some(Location21,
14001           '$kolem_Fn_267'(PutOn_Param24, At_Param23, Time22))
14002    ]).
14003
14004
14011axiom(terminates(takeOff(Agent, Clothing), wearing(Agent, Clothing), Time),
14012    []).
14013
14014
14020axiom(requires(takeOff(Agent, Clothing), Time),
14021    [holds_at(wearing(Agent, Clothing), Time)]).
14022
14023
14028axiom(releases(putOn(Agent, Clothing), at(Clothing, Location), Time),
14029    []).
14030
14031
14038axiom(holds_at(at(Clothing, Location), Time),
14039   
14040    [ holds_at(wearing(Agent, Clothing), Time),
14041      holds_at(at(Agent, Location), Time)
14042    ]).
14043
14044
14055axiom(initiates(takeOff(Agent, Clothing), at(Clothing, Location), Time),
14056    [holds_at(at(Agent, Location), Time)]).
14057
14058
14059% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4130
14060%; End of file.
14061%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14062%; FILE: ecnet/HungerNeed.e
14063%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14064%;
14065%; Copyright (c) 2005 IBM Corporation and others.
14066%; All rights reserved. This program and the accompanying materials
14067%; are made available under the terms of the Common Public License v1.0
14068%; which accompanies this distribution, and is available at
14069%; http://www.eclipse.org/legal/cpl-v10.html
14070%;
14071%; Contributors:
14072%; IBM - Initial implementation
14073%;
14074%; hunger need
14075%;
14076
14077% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4151
14078% fluent Hungry(agent)
14079 %  fluent(hungry(agent)).
14080% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4152
14081==> mpred_prop(hungry(agent),fluent).
14082==> meta_argtypes(hungry(agent)).
14083
14084% fluent Satiated(agent)
14085 %  fluent(satiated(agent)).
14086% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4154
14087==> mpred_prop(satiated(agent),fluent).
14088==> meta_argtypes(satiated(agent)).
14089
14090% noninertial Satiated
14091% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4155
14092==> noninertial(satiated).
14093
14094
14097 14098
14099 14102axiom(holds_at(hungry(Agent), Time),
14103    [not(holds_at(satiated(Agent), Time))]).
14104axiom(not(holds_at(satiated(Agent), Time)),
14105    [holds_at(hungry(Agent), Time)]).
14106
14107% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4158
14108% event Eat(agent,food)
14109 %  event(eat(agent,food)).
14110% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4159
14111==> mpred_prop(eat(agent,food),event).
14112==> meta_argtypes(eat(agent,food)).
14113
14114
14122
14123 14127
14128 14135axiom(not(some(Location6, '$kolem_Fn_268'(Fn_268_Param, At_Param, Maptime))),
14136   
14137    [ not(holds_at(at(Fn_268_Param, Location6), Maptime)),
14138      happens(eat(Fn_268_Param, At_Param), Maptime)
14139    ]).
14140axiom(not(some(Location6, '$kolem_Fn_268'(Fn_268_Param, At_Param, Maptime))),
14141   
14142    [ not(holds_at(at(At_Param, Location6), Maptime)),
14143      happens(eat(Fn_268_Param, At_Param), Maptime)
14144    ]).
14145
14146 14153axiom(not(happens(eat(Eat_Param, At_Param12), Maptime9)),
14154   
14155    [ not(holds_at(at(Eat_Param, Location10), Maptime9)),
14156      some(Location10,
14157           '$kolem_Fn_268'(Eat_Param, At_Param12, Maptime9))
14158    ]).
14159axiom(not(happens(eat(Eat_Param, At_Param12), Maptime9)),
14160   
14161    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
14162      some(Location10,
14163           '$kolem_Fn_268'(Eat_Param, At_Param12, Maptime9))
14164    ]).
14165
14166 14171axiom(holds_at(at(At_Param15, Location13), Time14),
14172   
14173    [ happens(eat(At_Param15, Eat_Ret), Time14),
14174      some(Location13,
14175           '$kolem_Fn_268'(At_Param15, Eat_Ret, Time14))
14176    ]).
14177
14178 14183axiom(holds_at(at(At_Param19, Location17), Time18),
14184   
14185    [ happens(eat(Eat_Param20, At_Param19), Time18),
14186      some(Location17,
14187           '$kolem_Fn_268'(Eat_Param20, At_Param19, Time18))
14188    ]).
14189
14190
14195axiom(terminates(eat(Agent, Food), hungry(Agent), Time),
14196    []).
14197
14198
14199% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4169
14200%; End of file.
14201%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14202%; FILE: ecnet/Restaurant.e
14203%; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
14204%;
14205%; Copyright (c) 2005 IBM Corporation and others.
14206%; All rights reserved. This program and the accompanying materials
14207%; are made available under the terms of the Common Public License v1.0
14208%; which accompanies this distribution, and is available at
14209%; http://www.eclipse.org/legal/cpl-v10.html
14210%;
14211%; Contributors:
14212%; IBM - Initial implementation
14213%;
14214
14215% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4187
14216% sort restaurant: script
14217% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4188
14218==> subsort(restaurant,script).
14219
14220% sort waiter: agent
14221% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4189
14222==> subsort(waiter,agent).
14223
14224% sort cook: agent
14225% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4190
14226==> subsort(cook,agent).
14227
14228% function BillOf(restaurant): bill
14229 %  functional_predicate(billOf(restaurant,bill)).
14230% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4192
14231==> mpred_prop(billOf(restaurant,bill),functional_predicate).
14232==> meta_argtypes(billOf(restaurant,bill)).
14233resultIsa(billOf,bill).
14234
14235% function CookOf(restaurant): cook
14236 %  functional_predicate(cookOf(restaurant,cook)).
14237% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4193
14238==> mpred_prop(cookOf(restaurant,cook),functional_predicate).
14239==> meta_argtypes(cookOf(restaurant,cook)).
14240resultIsa(cookOf,cook).
14241
14242% function TableOf(restaurant): table
14243 %  functional_predicate(tableOf(restaurant,table)).
14244% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4194
14245==> mpred_prop(tableOf(restaurant,table),functional_predicate).
14246==> meta_argtypes(tableOf(restaurant,table)).
14247resultIsa(tableOf,table).
14248
14249% function WaiterOf(restaurant): waiter
14250 %  functional_predicate(waiterOf(restaurant,waiter)).
14251% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4195
14252==> mpred_prop(waiterOf(restaurant,waiter),functional_predicate).
14253==> meta_argtypes(waiterOf(restaurant,waiter)).
14254resultIsa(waiterOf,waiter).
14255
14256% function KitchenDoorOf(restaurant): door
14257 %  functional_predicate(kitchenDoorOf(restaurant,door)).
14258% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4196
14259==> mpred_prop(kitchenDoorOf(restaurant,door),functional_predicate).
14260==> meta_argtypes(kitchenDoorOf(restaurant,door)).
14261resultIsa(kitchenDoorOf,door).
14262%; awaiting customer/waiter has set down bill on customer's table
14263
14264% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4198
14265% fluent BeWaiter0(waiter)
14266 %  fluent(beWaiter0(waiter)).
14267% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4199
14268==> mpred_prop(beWaiter0(waiter),fluent).
14269==> meta_argtypes(beWaiter0(waiter)).
14270
14271
14272% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4200
14273%; awaiting customer order
14274
14275% fluent BeWaiter1(waiter)
14276 %  fluent(beWaiter1(waiter)).
14277% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4202
14278==> mpred_prop(beWaiter1(waiter),fluent).
14279==> meta_argtypes(beWaiter1(waiter)).
14280
14281
14282% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4203
14283%; has customer order
14284
14285% fluent BeWaiter2(waiter)
14286 %  fluent(beWaiter2(waiter)).
14287% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4205
14288==> mpred_prop(beWaiter2(waiter),fluent).
14289==> meta_argtypes(beWaiter2(waiter)).
14290
14291
14292% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4206
14293%; in kitchen
14294
14295% fluent BeWaiter3(waiter)
14296 %  fluent(beWaiter3(waiter)).
14297% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4208
14298==> mpred_prop(beWaiter3(waiter),fluent).
14299==> meta_argtypes(beWaiter3(waiter)).
14300
14301
14302% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4209
14303%; awaiting preparation of order
14304
14305% fluent BeWaiter4(waiter)
14306 %  fluent(beWaiter4(waiter)).
14307% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4211
14308==> mpred_prop(beWaiter4(waiter),fluent).
14309==> meta_argtypes(beWaiter4(waiter)).
14310
14311
14312% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4212
14313%; has order
14314
14315% fluent BeWaiter5(waiter)
14316 %  fluent(beWaiter5(waiter)).
14317% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4214
14318==> mpred_prop(beWaiter5(waiter),fluent).
14319==> meta_argtypes(beWaiter5(waiter)).
14320
14321
14322% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4215
14323%; back in dining room
14324
14325% fluent BeWaiter6(waiter)
14326 %  fluent(beWaiter6(waiter)).
14327% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4217
14328==> mpred_prop(beWaiter6(waiter),fluent).
14329==> meta_argtypes(beWaiter6(waiter)).
14330
14331
14332% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4218
14333%; order delivered to customer (can ask if all is OK)
14334
14335% fluent BeWaiter7(waiter)
14336 %  fluent(beWaiter7(waiter)).
14337% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4220
14338==> mpred_prop(beWaiter7(waiter),fluent).
14339==> meta_argtypes(beWaiter7(waiter)).
14340
14341
14342% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4221
14343%; customer has requested bill
14344
14345% fluent BeWaiter8(waiter)
14346 %  fluent(beWaiter8(waiter)).
14347% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4223
14348==> mpred_prop(beWaiter8(waiter),fluent).
14349==> meta_argtypes(beWaiter8(waiter)).
14350
14351
14352% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4224
14353%; waiter is holding bill
14354
14355% fluent BeWaiter9(waiter)
14356 %  fluent(beWaiter9(waiter)).
14357% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4226
14358==> mpred_prop(beWaiter9(waiter),fluent).
14359==> meta_argtypes(beWaiter9(waiter)).
14360
14363xor([ beWaiter0,
14364      beWaiter1,
14365      beWaiter2,
14366      beWaiter3,
14367      beWaiter4,
14368      beWaiter5,
14369      beWaiter6,
14370      beWaiter7,
14371      beWaiter8,
14372      beWaiter9
14373    ]).
14374
14375
14383axiom(terminates(greet(Waiter, Agent), beWaiter0(Waiter), Time),
14384    [holds_at(beWaiter0(Waiter), Time)]).
14385
14386
14394axiom(initiates(greet(Waiter, Agent), beWaiter1(Waiter), Time),
14395    [holds_at(beWaiter0(Waiter), Time)]).
14396
14397
14405axiom(terminates(order(Agent, Waiter, Food), beWaiter1(Waiter), Time),
14406    [holds_at(beWaiter1(Waiter), Time)]).
14407
14408
14416axiom(initiates(order(Agent, Waiter, Food), beWaiter2(Waiter), Time),
14417    [holds_at(beWaiter1(Waiter), Time)]).
14418
14419
14426axiom(happens(walkThroughDoor12(Waiter, kitchenDoorOf(Restaurant)), Time),
14427   
14428    [ equals(waiterOf(Restaurant), Waiter),
14429      holds_at(beWaiter2(Waiter), Time)
14430    ]).
14431
14432
14442axiom(terminates(walkThroughDoor12(Waiter, Door), beWaiter2(Waiter), Time),
14443   
14444    [ holds_at(beWaiter2(Waiter), Time),
14445      equals(waiterOf(Restaurant), Waiter),
14446      equals(kitchenDoorOf(Restaurant), Door)
14447    ]).
14448
14449
14459axiom(initiates(walkThroughDoor12(Waiter, Door), beWaiter3(Waiter), Time),
14460   
14461    [ holds_at(beWaiter2(Waiter), Time),
14462      equals(waiterOf(Restaurant), Waiter),
14463      equals(kitchenDoorOf(Restaurant), Door)
14464    ]).
14465
14466
14473axiom(happens(order(waiterOf(Restaurant), cookOf(Restaurant), Food), Time),
14474   
14475    [ holds_at(beWaiter3(waiterOf(Restaurant)), Time),
14476      holds_at(knowOrder(waiterOf(Restaurant), Agent, Food),
14477               Time)
14478    ]).
14479
14480
14490axiom(terminates(order(Waiter, Cook, Food), beWaiter3(Waiter), Time),
14491   
14492    [ equals(waiterOf(Restaurant), Waiter),
14493      equals(cookOf(Restaurant), Cook),
14494      holds_at(beWaiter3(Waiter), Time)
14495    ]).
14496
14497
14507axiom(initiates(order(Waiter, Cook, Food), beWaiter4(Waiter), Time),
14508   
14509    [ equals(waiterOf(Restaurant), Waiter),
14510      equals(cookOf(Restaurant), Cook),
14511      holds_at(beWaiter3(Waiter), Time)
14512    ]).
14513
14514
14522axiom(happens(pickUp(Waiter, Food), Time),
14523   
14524    [ holds_at(beWaiter4(Waiter), Time),
14525      holds_at(knowOrder(Waiter, Agent, Food), Time),
14526      holds_at(foodPrepared(Food), Time)
14527    ]).
14528
14529
14538axiom(terminates(pickUp(Waiter, Food), beWaiter4(Waiter), Time),
14539   
14540    [ holds_at(beWaiter4(Waiter), Time),
14541      holds_at(knowOrder(Waiter, Agent, Food), Time)
14542    ]).
14543
14544
14553axiom(initiates(pickUp(Waiter, Food), beWaiter5(Waiter), Time),
14554   
14555    [ holds_at(beWaiter4(Waiter), Time),
14556      holds_at(knowOrder(Waiter, Agent, Food), Time)
14557    ]).
14558
14559
14566axiom(happens(walkThroughDoor21(Waiter, kitchenDoorOf(Restaurant)), Time),
14567   
14568    [ equals(waiterOf(Restaurant), Waiter),
14569      holds_at(beWaiter5(Waiter), Time)
14570    ]).
14571
14572
14582axiom(terminates(walkThroughDoor21(Waiter, Door), beWaiter5(Waiter), Time),
14583   
14584    [ holds_at(beWaiter5(Waiter), Time),
14585      equals(waiterOf(Restaurant), Waiter),
14586      equals(kitchenDoorOf(Restaurant), Door)
14587    ]).
14588
14589
14599axiom(initiates(walkThroughDoor21(Waiter, Door), beWaiter6(Waiter), Time),
14600   
14601    [ holds_at(beWaiter5(Waiter), Time),
14602      equals(waiterOf(Restaurant), Waiter),
14603      equals(kitchenDoorOf(Restaurant), Door)
14604    ]).
14605
14606
14615axiom(happens(placeOn(Waiter, Food, Table), Time),
14616   
14617    [ equals(waiterOf(Restaurant), Waiter),
14618      equals(tableOf(Restaurant), Table),
14619      holds_at(beWaiter6(Waiter), Time),
14620      holds_at(holding(Waiter, Food), Time)
14621    ]).
14622
14623
14631axiom(terminates(placeOn(Waiter, Food, Table), beWaiter6(Waiter), Time),
14632    [holds_at(beWaiter6(Waiter), Time)]).
14633
14634
14642axiom(initiates(placeOn(Waiter, Food, Table), beWaiter7(Waiter), Time),
14643    [holds_at(beWaiter6(Waiter), Time)]).
14644
14645
14653axiom(terminates(request(Agent, Waiter, Bill), beWaiter7(Waiter), Time),
14654    [holds_at(beWaiter7(Waiter), Time)]).
14655
14656
14664axiom(initiates(request(Agent, Waiter, Bill), beWaiter8(Waiter), Time),
14665    [holds_at(beWaiter7(Waiter), Time)]).
14666
14667
14675axiom(happens(pickUp(Waiter, Bill), Time),
14676   
14677    [ equals(waiterOf(Restaurant), Waiter),
14678      equals(billOf(Restaurant), Bill),
14679      holds_at(beWaiter8(Waiter), Time)
14680    ]).
14681
14682
14690axiom(terminates(pickUp(Waiter, Bill), beWaiter8(Waiter), Time),
14691    [holds_at(beWaiter8(Waiter), Time)]).
14692
14693
14701axiom(initiates(pickUp(Waiter, Bill), beWaiter9(Waiter), Time),
14702    [holds_at(beWaiter8(Waiter), Time)]).
14703
14704
14713axiom(happens(placeOn(Waiter, Bill, Table), Time),
14714   
14715    [ equals(waiterOf(Restaurant), Waiter),
14716      equals(billOf(Restaurant), Bill),
14717      equals(tableOf(Restaurant), Table),
14718      holds_at(beWaiter9(Waiter), Time)
14719    ]).
14720
14721
14729axiom(terminates(placeOn(Waiter, Bill, Table), beWaiter9(Waiter), Time),
14730    [holds_at(beWaiter9(Waiter), Time)]).
14731
14732
14740axiom(initiates(placeOn(Waiter, Bill, Table), beWaiter0(Waiter), Time),
14741    [holds_at(beWaiter9(Waiter), Time)]).
14742
14743
14744% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4404
14745%; awaiting next waiter order
14746
14747% fluent BeCook0(cook)
14748 %  fluent(beCook0(cook)).
14749% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4406
14750==> mpred_prop(beCook0(cook),fluent).
14751==> meta_argtypes(beCook0(cook)).
14752
14753
14754% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4407
14755%; waiter order received
14756
14757% fluent BeCook1(cook)
14758 %  fluent(beCook1(cook)).
14759% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4409
14760==> mpred_prop(beCook1(cook),fluent).
14761==> meta_argtypes(beCook1(cook)).
14762
14765xor([beCook0,beCook1]).
14766
14767
14775axiom(terminates(order(Agent, Cook, Food), beCook0(Cook), Time),
14776    [holds_at(beCook0(Cook), Time)]).
14777
14778
14786axiom(initiates(order(Agent, Cook, Food), beCook1(Cook), Time),
14787    [holds_at(beCook0(Cook), Time)]).
14788
14789% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4424
14790% event FoodPrepare(agent,food)
14791 %  event(foodPrepare(agent,food)).
14792% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4425
14793==> mpred_prop(foodPrepare(agent,food),event).
14794==> meta_argtypes(foodPrepare(agent,food)).
14795
14796% fluent FoodPrepared(food)
14797 %  fluent(foodPrepared(food)).
14798% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4427
14799==> mpred_prop(foodPrepared(food),fluent).
14800==> meta_argtypes(foodPrepared(food)).
14801
14802
14809axiom(initiates(foodPrepare(Agent, Food), foodPrepared(Food), Time),
14810    []).
14811
14812
14820
14821 14825
14826 14833axiom(not(some(Location6, '$kolem_Fn_273'(Fn_273_Param, At_Param, Maptime))),
14834   
14835    [ not(holds_at(at(Fn_273_Param, Location6), Maptime)),
14836      happens(foodPrepare(Fn_273_Param, At_Param), Maptime)
14837    ]).
14838axiom(not(some(Location6, '$kolem_Fn_273'(Fn_273_Param, At_Param, Maptime))),
14839   
14840    [ not(holds_at(at(At_Param, Location6), Maptime)),
14841      happens(foodPrepare(Fn_273_Param, At_Param), Maptime)
14842    ]).
14843
14844 14854axiom(not(happens(foodPrepare(FoodPrepare_Param, At_Param12), Maptime9)),
14855   
14856    [ not(holds_at(at(FoodPrepare_Param, Location10),
14857                   Maptime9)),
14858      some(Location10,
14859           '$kolem_Fn_273'(FoodPrepare_Param,
14860                           At_Param12,
14861                           Maptime9))
14862    ]).
14863axiom(not(happens(foodPrepare(FoodPrepare_Param, At_Param12), Maptime9)),
14864   
14865    [ not(holds_at(at(At_Param12, Location10), Maptime9)),
14866      some(Location10,
14867           '$kolem_Fn_273'(FoodPrepare_Param,
14868                           At_Param12,
14869                           Maptime9))
14870    ]).
14871
14872 14877axiom(holds_at(at(At_Param15, Location13), Time14),
14878   
14879    [ happens(foodPrepare(At_Param15, FoodPrepare_Ret),
14880              Time14),
14881      some(Location13,
14882           '$kolem_Fn_273'(At_Param15, FoodPrepare_Ret, Time14))
14883    ]).
14884
14885 14893axiom(holds_at(at(At_Param19, Location17), Time18),
14894   
14895    [ happens(foodPrepare(FoodPrepare_Param20, At_Param19),
14896              Time18),
14897      some(Location17,
14898           '$kolem_Fn_273'(FoodPrepare_Param20,
14899                           At_Param19,
14900                           Time18))
14901    ]).
14902
14903
14910axiom(happens(foodPrepare(Cook, Food), Time),
14911   
14912    [ holds_at(beCook1(Cook), Time),
14913      holds_at(knowOrder(Cook, Agent, Food), Time)
14914    ]).
14915
14916
14924axiom(terminates(foodPrepare(Cook, Food), beCook1(Cook), Time),
14925    [holds_at(beCook1(Cook), Time)]).
14926
14927
14935axiom(initiates(foodPrepare(Cook, Food), beCook0(Cook), Time),
14936    [holds_at(beCook1(Cook), Time)]).
14937
14938
14964
14968:- set_ec_option(modeldiff, on).14969
14972:- set_ec_option(encoding, 3).14973
14976:- set_ec_option(renaming, off).14977
14980ignore(love).
14981ignore(threatenedBy).
14982
14985ignore(lookOutOnto).
14986ignore(floor).
14987ignore(buildingOf).
14988ignore(skyOf).
14989ignore(groundOf).
14990
14993ignore(inside).
14994
14997ignore(near).
14998ignore(walkFrom).
14999ignore(walkFromTo).
15000ignore(runFromTo).
15001
15004ignore(billOf).
15005ignore(cookOf).
15006ignore(tableOf).
15007ignore(waiterOf).
15008ignore(kitchenDoorOf).
15009
15012ignore(beWaiter0).
15013ignore(beWaiter1).
15014ignore(beWaiter2).
15015ignore(beWaiter3).
15016ignore(beWaiter4).
15017
15020ignore(beWaiter5).
15021ignore(beWaiter6).
15022ignore(beWaiter7).
15023ignore(beWaiter8).
15024ignore(beWaiter9).
15025
15028ignore(beCook0).
15029ignore(beCook1).
15030
15033ignore(inviteIn).
15034ignore(invitedIn).
15035ignore(intendToWalkIn).
15036ignore(intentionToWalkIn).
15037
15040ignore(actOnIntentionToWalkIn).
15041ignore(greet).
15042ignore(sayGoodbye).
15043ignore(cryForJoy).
15044
15047ignore(threaten).
15048ignore(releaseFromThreat).
15049ignore(threatenedBy).
15050
15053ignore(order).
15054ignore(knowOrder).
15055ignore(request).
15056ignore(knowRequest).
15057
15060ignore(putInside).
15061ignore(takeOutOf).
15062
15065ignore(sayPleaseToMeet).
15066ignore(move).
15067
15069
15072
15075load('answers/Mueller2003/Ontology.e').
15076
15079load('answers/Mueller2004c/RTSpaceM.e').
15080
15083load('answers/Mueller2004c/OTSpaceM.e').
15084
15087load('answers/Mueller2004c/HungerNeed.e').
15088
15091load('answers/Mueller2004c/Restaurant.e').
15092
15095load('answers/Mueller2003/Sleep.e').
15096
15099load('answers/Mueller2003/SpeechAct.e').
15100
15103load('answers/Mueller2004c/Dress.e').
15104
15105% room Upstairs1
15106% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4516
15107==> t(room,upstairs1).
15108
15109% staircase Staircase1
15110% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4518
15111==> t(staircase,staircase1).
15112
15113% room Hallway1
15114% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4520
15115==> t(room,hallway1).
15116
15117
15120side1(staircase1,hallway1).
15121
15122
15125side2(staircase1,upstairs1).
15126
15127% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4524
15128% door DiningRoomDoor1
15129% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4525
15130==> t(door,diningRoomDoor1).
15131
15132% room DiningRoom1
15133% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4527
15134==> t(room,diningRoom1).
15135
15136
15139side1(diningRoomDoor1,hallway1).
15140
15141
15144side2(diningRoomDoor1,diningRoom1).
15145
15146% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4531
15147% door KitchenDoor1
15148% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4532
15149==> t(door,kitchenDoor1).
15150
15151% room Kitchen1
15152% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4534
15153==> t(room,kitchen1).
15154
15155
15158side1(kitchenDoor1,diningRoom1).
15159
15160
15163side2(kitchenDoor1,kitchen1).
15164
15165% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4538
15166% agent Eater1
15167% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4539
15168==> t(agent,eater1).
15169
15170% agent Eater2
15171% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4541
15172==> t(agent,eater2).
15173
15174% clothing Clothing1
15175% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4543
15176==> t(clothing,clothing1).
15177
15178% clothing Clothing2
15179% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4545
15180==> t(clothing,clothing2).
15181
15182% chair Chair1
15183% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4547
15184==> t(chair,chair1).
15185
15186% chair Chair2
15187% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4549
15188==> t(chair,chair2).
15189
15190% food Food1
15191% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4551
15192==> t(food,food1).
15193
15194% agent Cook1
15195% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4553
15196==> t(agent,cook1).
15197
15198% table Table1
15199% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4555
15200==> t(table,table1).
15201
15202% content Content1
15203% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4557
15204==> t(content,content1).
15205
15206% content Content2
15207% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4559
15208==> t(content,content2).
15209
15210% outside DummyOutside1
15211% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4561
15212==> t(outside,dummyOutside1).
15213%; prune
15214
15215% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4563
15216% sort ona, onb
15217% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4564
15218==> sort(ona).
15219==> sort(onb).
15220
15221% fluent! On(ona,onb)
15222 %  fluent(on(ona,onb)).
15223% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4565
15224==> mpred_prop(on(ona,onb),fluent).
15225==> meta_argtypes(on(ona,onb)).
15226
15227% event! PlaceOn(agent,ona,onb)
15228 %  event(placeOn(agent,ona,onb)).
15229% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4566
15230==> mpred_prop(placeOn(agent,ona,onb),event).
15231==> meta_argtypes(placeOn(agent,ona,onb)).
15232
15233% event! TakeOffOf(agent,ona,onb)
15234 %  event(takeOffOf(agent,ona,onb)).
15235% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4567
15236==> mpred_prop(takeOffOf(agent,ona,onb),event).
15237==> meta_argtypes(takeOffOf(agent,ona,onb)).
15238
15239% sort ordera, orderb, orderc
15240% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4569
15241==> sort(ordera).
15242==> sort(orderb).
15243==> sort(orderc).
15244
15245% event! Order(ordera,orderb,orderc)
15246 %  event(order(ordera,orderb,orderc)).
15247% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4570
15248==> mpred_prop(order(ordera,orderb,orderc),event).
15249==> meta_argtypes(order(ordera,orderb,orderc)).
15250
15251% fluent! KnowOrder(orderb,ordera,orderc)
15252 %  fluent(knowOrder(orderb,ordera,orderc)).
15253% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4571
15254==> mpred_prop(knowOrder(orderb,ordera,orderc),fluent).
15255==> meta_argtypes(knowOrder(orderb,ordera,orderc)).
15256
15257% sort requesta, requestb, requestc
15258% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4573
15259==> sort(requesta).
15260==> sort(requestb).
15261==> sort(requestc).
15262
15263% event! Request(requesta,requestb,requestc)
15264 %  event(request(requesta,requestb,requestc)).
15265% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4574
15266==> mpred_prop(request(requesta,requestb,requestc),event).
15267==> meta_argtypes(request(requesta,requestb,requestc)).
15268
15269% fluent! KnowRequest(requestb,requesta,requestc)
15270 %  fluent(knowRequest(requestb,requesta,requestc)).
15271% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4575
15272==> mpred_prop(knowRequest(requestb,requesta,requestc),fluent).
15273==> meta_argtypes(knowRequest(requestb,requesta,requestc)).
15274
15275% sort holda, holdb, holdc
15276% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4577
15277==> sort(holda).
15278==> sort(holdb).
15279==> sort(holdc).
15280
15281% event! TakeOffOf(holda,holdb,holdc)
15282 %  event(takeOffOf(holda,holdb,holdc)).
15283% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4578
15284==> mpred_prop(takeOffOf(holda,holdb,holdc),event).
15285==> meta_argtypes(takeOffOf(holda,holdb,holdc)).
15286
15287% event! PickUp(holda,holdb)
15288 %  event(pickUp(holda,holdb)).
15289% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4579
15290==> mpred_prop(pickUp(holda,holdb),event).
15291==> meta_argtypes(pickUp(holda,holdb)).
15292
15293% event! LetGoOf(holda,holdb)
15294 %  event(letGoOf(holda,holdb)).
15295% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4580
15296==> mpred_prop(letGoOf(holda,holdb),event).
15297==> meta_argtypes(letGoOf(holda,holdb)).
15298
15299% event! Hold(holda,holdb)
15300 %  event(hold(holda,holdb)).
15301% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4581
15302==> mpred_prop(hold(holda,holdb),event).
15303==> meta_argtypes(hold(holda,holdb)).
15304
15305% fluent! Holding(holda,holdb)
15306 %  fluent(holding(holda,holdb)).
15307% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4582
15308==> mpred_prop(holding(holda,holdb),fluent).
15309==> meta_argtypes(holding(holda,holdb)).
15310
15311% sort sita, sitb
15312% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4584
15313==> sort(sita).
15314==> sort(sitb).
15315
15316% event! LieOn(sita,sitb)
15317 %  event(lieOn(sita,sitb)).
15318% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4585
15319==> mpred_prop(lieOn(sita,sitb),event).
15320==> meta_argtypes(lieOn(sita,sitb)).
15321
15322% event! SitOn(sita,sitb)
15323 %  event(sitOn(sita,sitb)).
15324% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4586
15325==> mpred_prop(sitOn(sita,sitb),event).
15326==> meta_argtypes(sitOn(sita,sitb)).
15327
15328% event! RiseFrom(sita,sitb)
15329 %  event(riseFrom(sita,sitb)).
15330% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4587
15331==> mpred_prop(riseFrom(sita,sitb),event).
15332==> meta_argtypes(riseFrom(sita,sitb)).
15333
15334% fluent! LyingOn(sita,sitb)
15335 %  fluent(lyingOn(sita,sitb)).
15336% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4588
15337==> mpred_prop(lyingOn(sita,sitb),fluent).
15338==> meta_argtypes(lyingOn(sita,sitb)).
15339
15340% fluent! SittingOn(sita,sitb)
15341 %  fluent(sittingOn(sita,sitb)).
15342% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4589
15343==> mpred_prop(sittingOn(sita,sitb),fluent).
15344==> meta_argtypes(sittingOn(sita,sitb)).
15345
15346% ona! Food1
15347% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4591
15348==> t(ona,food1).
15349
15350% onb! Table1
15351% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4592
15352==> t(onb,table1).
15353
15354% holda! Cook1
15355% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4593
15356==> t(holda,cook1).
15357
15358% holdb! Food1
15359% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4594
15360==> t(holdb,food1).
15361
15362% holdc! Table1
15363% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4595
15364==> t(holdc,table1).
15365
15366% sita! Eater1
15367% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4596
15368==> t(sita,eater1).
15369
15370% sitb! Chair1
15371% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4597
15372==> t(sitb,chair1).
15375 15377axiom(initially(dressed(Agent)),
15378    []).
15379
15380
15383 15384axiom(initially(awake(Agent)),
15385    []).
15386
15387
15390 15391axiom(initially(sleep3(Agent)),
15392    []).
15393
15394
15397 15398axiom(initially(standing(Agent)),
15399    []).
15400
15401
15404 15405axiom(initially(standing(Agent)),
15406    []).
15407
15408
15411 15412 15413axiom(not(initially(holding(Holding_Param, Holding_Ret))),
15414    []).
15415
15416
15419 15420axiom(initially(at(Food, kitchen1)),
15421    []).
15422
15423
15426 15427 15428axiom(not(initially(foodPrepared(FoodPrepared_Ret))),
15429    []).
15430
15431
15434 15435axiom(initially(hungry(Agent)),
15436    []).
15437
15438
15441 15442axiom(initially(doorIsOpen(Door)),
15443    []).
15444
15445
15448 15449axiom(initially(at(Clothing, upstairs1)),
15450    []).
15451
15452
15455 15456axiom(initially(at(Chair, diningRoom1)),
15457    []).
15458
15459
15462axiom(initially(at(cook1, kitchen1)),
15463    []).
15464
15465
15468axiom(initially(at(table1, diningRoom1)),
15469    []).
15470
15471
15474 15475 15476axiom(not(initially(wearing(Wearing_Param, Wearing_Ret))),
15477    []).
15478
15479
15482
15483
15486axiom(initially(at(cook1, kitchen1)),
15487    []).
15488
15489
15492axiom(initially(at(eater1, upstairs1)),
15493    []).
15494
15495
15498axiom(initially(at(eater2, upstairs1)),
15499    []).
15500
15501
15504axiom(happens(foodPrepare(cook1, food1), t),
15505    [is_time(0)]).
15506
15507
15510axiom(happens(putOn(eater1, clothing1), start),
15511    [is_time(1), b(t, start), ignore(t+1=start)]).
15512
15513
15516axiom(happens(putOn(eater2, clothing2), t2),
15517    [is_time(2), b(t, t2), ignore(t+2=t2)]).
15518
15519
15522axiom(happens(walkDownStaircase(eater1, staircase1), t3),
15523    [is_time(3), b(t, t3), ignore(t+3=t3)]).
15524
15525
15528axiom(happens(walkDownStaircase(eater2, staircase1), t4),
15529    [is_time(4), b(t, t4), ignore(t+4=t4)]).
15530
15531
15534axiom(happens(walkThroughDoor12(eater1, diningRoomDoor1), t5),
15535    [is_time(5), b(t, t5), ignore(t+5=t5)]).
15536
15537
15540axiom(happens(walkThroughDoor12(eater2, diningRoomDoor1), t6),
15541    [is_time(6), b(t, t6), ignore(t+6=t6)]).
15542
15543
15546axiom(happens(sitOn(eater1, chair1), t7),
15547    [is_time(7), b(t, t7), ignore(t+7=t7)]).
15548
15549
15552axiom(happens(sitOn(eater2, chair2), t8),
15553    [is_time(8), b(t, t8), ignore(t+8=t8)]).
15554
15555
15558axiom(happens(pickUp(cook1, food1), t9),
15559    [is_time(9), b(t, t9), ignore(t+9=t9)]).
15560
15561
15564axiom(happens(walkThroughDoor21(cook1, kitchenDoor1), t10),
15565    [is_time(10), b(t, t10), ignore(t+10=t10)]).
15566
15567
15570axiom(happens(placeOn(cook1, food1, table1), t11),
15571    [is_time(11), b(t, t11), ignore(t+11=t11)]).
15572
15573
15576axiom(happens(walkThroughDoor12(cook1, kitchenDoor1), t12),
15577    [is_time(12), b(t, t12), ignore(t+12=t12)]).
15578
15579
15582axiom(happens(eat(eater1, food1), t13),
15583    [is_time(13), b(t, t13), ignore(t+13=t13)]).
15584
15585
15588axiom(happens(eat(eater2, food1), t14),
15589    [is_time(14), b(t, t14), ignore(t+14=t14)]).
15590
15591
15594axiom(happens(converse(eater1, eater2), t15),
15595    [is_time(15), b(t, t15), ignore(t+15=t15)]).
15596
15597
15600axiom(happens(talkAbout(eater1, content1), t16),
15601    [is_time(16), b(t, t16), ignore(t+16=t16)]).
15602
15603
15606axiom(happens(talkAbout(eater2, content2), t17),
15607    [is_time(17), b(t, t17), ignore(t+17=t17)]).
15608
15609
15612axiom(happens(riseFrom(eater1, chair1), t18),
15613    [is_time(18), b(t, t18), ignore(t+18=t18)]).
15614
15615
15618axiom(happens(riseFrom(eater2, chair2), t19),
15619    [is_time(19), b(t, t19), ignore(t+19=t19)]).
15620
15621% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4640
15622% range time 0 20
15623% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4641
15624==> range(time,0,20).
15625
15626% range offset 0 0
15627% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4642
15628==> range(offset,0,0).
15629
15630% range diameter 0 0
15631% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4643
15632==> range(diameter,0,0).
15633
15634% completion Happens
15635% From /opt/logicmoo_workspace/packs_sys/small_adventure_games/prolog/ec_planner/ectest/ec_reader_test.e:4645
15636==> completion(happens).