Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/logicmoo_utils.pl:159
- % Adding logicmoo/utils to autoload path
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/logicmoo_base.pl:92
- % Adding logicmoo/[mpred,snark] to autoload path
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/logicmoo_base.pl:99
- % system_kb=baseKB.
- % library(http/http_server_files) compiled into http_server_files 0.00 sec, 17 clauses
- % library(pldoc) compiled into pldoc 0.07 sec, 962 clauses
- % library(http/http_hook) compiled into http_hook 0.00 sec, 6 clauses
- % library(pldoc/doc_access) compiled into doc_access 0.00 sec, 42 clauses
- % library(process) compiled into process 0.01 sec, 66 clauses
- % library(xpath) compiled into xpath 0.01 sec, 121 clauses
- % library(http/http_client) compiled into http_client 0.01 sec, 131 clauses
- % library(archive) compiled into archive 0.01 sec, 54 clauses
- % library(prolog_pack) compiled into prolog_pack 0.08 sec, 910 clauses
- % library(assoc) compiled into assoc 0.01 sec, 140 clauses
- % library(ugraphs) compiled into ugraphs 0.01 sec, 124 clauses
- % library(http/html_head) compiled into html_head 0.03 sec, 415 clauses
- % library(http/jquery) compiled into jquery 0.00 sec, 12 clauses
- % doc_util compiled into doc_util 0.00 sec, 17 clauses
- % http_multipart_plugin compiled into http_multipart_plugin 0.00 sec, 38 clauses
- % library(http/http_parameters) compiled into http_parameters 0.01 sec, 164 clauses
- % library(www_browser) compiled into www_browser 0.00 sec, 55 clauses
- % library(prolog_xref) compiled into prolog_xref 0.04 sec, 707 clauses
- % library(dialect/swi/syspred_options) compiled into prolog_system_predicate_options 0.00 sec, 139 clauses
- % library(predicate_options) compiled into predicate_options 0.02 sec, 317 clauses
- % library(prolog_colour) compiled into prolog_colour 0.10 sec, 1,706 clauses
- % doc_colour compiled into pldoc_colours 0.00 sec, 15 clauses
- % pldoc(doc_htmlsrc) compiled into pldoc_htmlsrc 0.12 sec, 1,930 clauses
- % library(doc_http) compiled into pldoc_http 0.15 sec, 2,341 clauses
- % doc_index compiled into pldoc_index 0.17 sec, 2,531 clauses
- % doc_search compiled into pldoc_search 0.18 sec, 2,674 clauses
- % doc_man compiled into pldoc_man 0.22 sec, 3,048 clauses
- % doc_html compiled into pldoc_html 0.29 sec, 3,709 clauses
- % library(pldoc/doc_pack) compiled into pldoc_pack 0.41 sec, 5,080 clauses
- % library(unix) compiled into unix 0.01 sec, 44 clauses
- % library(rdf_ntriples) compiled into rdf_ntriples_old 0.00 sec, 79 clauses
- % library(tty) compiled into tty 0.00 sec, 55 clauses
- % library(nb_set) compiled into nb_set 0.00 sec, 26 clauses
- % library(solution_sequences) compiled into solution_sequences 0.01 sec, 83 clauses
- % library(http/http_error) compiled into http_error 0.00 sec, 7 clauses
- % library(http/http_dirindex) compiled into http_dirindex 0.00 sec, 68 clauses
- % library(http/http_files) compiled into http_files 0.01 sec, 83 clauses
- % library(http/http_session) compiled into http_session 0.01 sec, 127 clauses
- % library(when) compiled into when 0.00 sec, 48 clauses
- % library(logicmoo/util/logicmoo_util_varnames) compiled into logicmoo_varnames 0.02 sec, 245 clauses
- % logicmoo(mpred_online/mpred_www) compiled into mpred_www 0.61 sec, 7,125 clauses
- % Started server at http://localhost:3020/
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/pfc/mpred_system.pfc.pl:1082
- % gripe_time(warn(1.8462225110000006>0.8), baseKB:mpred_fwd2(repropagate(tCol(_G2875)), (g, g))).
- % gripe_time(warn(1.855682033999999>0.6), baseKB:ain_fast_timed(baseKB: ==>((tCol(P), ~ttFormatType(P)), tSet(P)), (u, u))).
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/pfc/mpred_system.pfc.pl:1084
- % gripe_time(warn(0.6102521170000017>0.6), baseKB:ain_fast_timed(baseKB: ==>(prologHybrid(X)/has_functor(X), {kb_dynamic(X)}), (u, u))).
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/pfc/mpred_system.pfc.pl:1106
- % gripe_time(warn(1.0474462309999986>0.6), baseKB:ain_fast_timed(baseKB: (arity(Pred, 2), tPred(Pred)<==>ptBinaryPredicate(Pred)), (u, u))).
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/pfc/mpred_system.pfc.pl:1210
- % gripe_time(warn(0.9374035399999983>0.6), baseKB:ain_fast_timed(baseKB: ==>((arity(Pred, 2), argIsa(Pred, 2, ftPercent)), singleValuedInArg(Pred, 2)), (u, u))).
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/pfc/autoexec.pfc.pl:104
- % info(info(load_mpred_file_complete(...('pfc/mpred_system.pfc.pl')))).
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/pfc/autoexec.pfc.pl:106
- % info(info(load_mpred_file_complete(...('pfc/if_missing.pfc.pl')))).
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/pfc/autoexec.pfc.pl:108
- % info(info(load_mpred_file_complete(...('pfc/mpred_default.pfc.pl')))).
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/pfc/autoexec.pfc.pl:110
- % info(info(load_mpred_file_complete(...('pfc/singleValued.pfc.pl')))).
- % /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/mpred/mpred_userkb.pl:493
- % info(info(load_mpred_file_complete(...('pfc/autoexec.pfc.pl')))).
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:7
- % info(info(load_mpred_file_complete(...('snark/common_logic_clif.pfc')))).
- %= setup pfc
- :- file_begin(pfc).
- %= save compiled clauses using forward chaining storage (by default)
- %= we are using forward chaining just so any logical errors, performance and program bugs manefest
- %= immediately
- :- set_clause_compile(fwc).
- must_is_entailed(G) :-
- must(is_entailed(G)).
- %= ````
- %= logic tests...
- %= ````
- prologBuiltin(otherGender/2).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:30
- % kif :-
- % neg(tCol(otherGender)).
- % pkif :-
- % not(tCol(otherGender)).
- Warning: /home/dmiles/lib/swipl/pack/logicmoo_base/prolog/logicmoo/snark/common_logic_compiler.pl:47:
- Local definition of fi:'$pldoc'/4 overrides weak import from logicmoo_user
- % cnf :-
- % not(tCol(otherGender)).
- % horn :-
- % [not(tCol(otherGender))].
- % pfc :-
- % [neg(tCol(otherGender))].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % neg(tCol(otherGender)).
- % pkif :-
- % not(tCol(otherGender)).
- % cnf :-
- % not(tCol(otherGender)).
- % horn :-
- % [not(tCol(otherGender))].
- otherGender(male, female).
- otherGender(female, male).
- tCol(male).
- :- (dynamic bore_offspring/2, gender/2).
- <=>(bore_offspring(X, Y), bore_offspring(Y, X)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:36
- % kif :-
- % all(_G11915,
- % all(_G11914,
- % <=>(bore_offspring(_G11914, _G11915), bore_offspring(_G11915, _G11914)))).
- % pkif :-
- % all(_G11915,
- % all(_G11914,
- % <=>(bore_offspring(_G11914, _G11915), bore_offspring(_G11915, _G11914)))).
- % cnf :-
- % (not(bore_offspring(_G11914, _G11915))v bore_offspring(_G11915, _G11914))& (not(bore_offspring(_G11915, _G11914))v bore_offspring(_G11914, _G11915)).
- % horn :-
- %
- % [ (not(bore_offspring(_G2657, _G2658)):-not(bore_offspring(_G2658, _G2657))),
- % (bore_offspring(_G2619, _G2620):-bore_offspring(_G2620, _G2619))
- % ].
- % pfc :-
- %
- % [ (neg(bore_offspring(_G2657, _G2658))<-neg(bore_offspring(_G2658, _G2657)), {is_unit(_G2658, _G2657)}),
- % ==>((bore_offspring(_G2620, _G2619), {is_unit(_G2620, _G2619)}), bore_offspring(_G2619, _G2620))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G19724,
- % all(_G19723,
- % <=>(bore_offspring(_G19723, _G19724), bore_offspring(_G19724, _G19723)))).
- % pkif :-
- % all(_G19724,
- % all(_G19723,
- % <=>(bore_offspring(_G19723, _G19724), bore_offspring(_G19724, _G19723)))).
- % cnf :-
- % (not(bore_offspring(_G2607, _G2608))v bore_offspring(_G2608, _G2607))& (not(bore_offspring(_G2608, _G2607))v bore_offspring(_G2607, _G2608)).
- % horn :-
- %
- % [ (not(bore_offspring(_G2553, _G2554)):-not(bore_offspring(_G2554, _G2553))),
- % (bore_offspring(_G2515, _G2516):-bore_offspring(_G2516, _G2515))
- % ].
- % gripe_time(warn(0.9110782650000004>0.8), fi:mpred_fwd2(clif(<=>(bore_offspring(_G1738, _G1741), bore_offspring(_G1741, _G1738))), (<=>(bore_offspring(_G1744, _G1747), bore_offspring(_G1747, _G1744)), asePFC:pt(umt, <=>(bore_offspring(_G1738, _G1741), bore_offspring(_G1741, _G1738)), (is_kif_rule(<=>(bore_offspring(_G1738, _G1741), bore_offspring(_G1741, _G1738)))->rhs([clif(<=>(bore_offspring(_G1738, _G1741), bore_offspring(_G1741, _G1738)))])))))).
- % gripe_time(warn(0.9160186420000009>0.8), fi:mpred_fwd2(<=>(bore_offspring(X, Y), bore_offspring(Y, X)), (u, u))).
- % gripe_time(warn(0.9202392639999992>0.6), fi:ain_fast_timed(fi: <=>(bore_offspring(X, Y), bore_offspring(Y, X)), (u, u))).
- =>((bore_offspring(X, Y), gender(X, G1), otherGender(G1, G2)), gender(Y, G2)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:38
- % kif :-
- % all(_G18427,
- % all(_G18434,
- % all(_G18428,
- % all(_G18437,
- % =>((bore_offspring(_G18427, _G18428), gender(_G18427, _G18434), otherGender(_G18434, _G18437)), gender(_G18428, _G18437)))))).
- % pkif :-
- % all(_G5618,
- % all(_G5625,
- % all(_G5619,
- % all(_G5628,
- % =>(bore_offspring(_G5618, _G5619)& (gender(_G5618, _G5625)&otherGender(_G5625, _G5628)), gender(_G5619, _G5628)))))).
- % cnf :-
- % gender(_G5619, _G5628)v (not(bore_offspring(_G5618, _G5619))v (not(gender(_G5618, _G5625))v not(otherGender(_G5625, _G5628)))).
- % horn :-
- %
- % [ (not(bore_offspring(_G5815, _G5816)):-not(gender(_G5816, _G5824)), gender(_G5815, _G5830), otherGender(_G5830, _G5824)),
- % (not(gender(_G5731, _G5732)):-not(gender(_G5739, _G5740)), bore_offspring(_G5731, _G5739), otherGender(_G5732, _G5740)),
- % (not(otherGender(_G5647, _G5648)):-not(gender(_G5655, _G5648)), bore_offspring(_G5661, _G5655), gender(_G5661, _G5647)),
- % (gender(_G5897, _G5898):-bore_offspring(_G5903, _G5897), gender(_G5903, _G5910), otherGender(_G5910, _G5898))
- % ].
- % pfc :-
- %
- % [ (neg(bore_offspring(_G5815, _G5816))<-neg(gender(_G5816, _G5824)), gender(_G5815, _G5830), otherGender(_G5830, _G5824), {is_unit(_G5816, _G5815)}),
- % (neg(gender(_G5731, _G5732))<-neg(gender(_G5739, _G5740)), bore_offspring(_G5731, _G5739), otherGender(_G5732, _G5740), {is_unit(_G5732, _G5731)}),
- % (neg(otherGender(_G5647, _G5648))<-neg(gender(_G5655, _G5648)), bore_offspring(_G5661, _G5655), gender(_G5661, _G5647), {is_unit(_G5648, _G5647)}),
- % ==>((bore_offspring(_G5903, _G5897), gender(_G5903, _G5910), otherGender(_G5910, _G5898), {is_unit(_G5898, _G5897)}), gender(_G5897, _G5898))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G53110,
- % all(_G53117,
- % all(_G53111,
- % all(_G53120,
- % =>((bore_offspring(_G53110, _G53111), gender(_G53110, _G53117), otherGender(_G53117, _G53120)), gender(_G53111, _G53120)))))).
- % pkif :-
- % all(_G6090,
- % all(_G6097,
- % all(_G6091,
- % all(_G6100,
- % =>(bore_offspring(_G6090, _G6091)& (gender(_G6090, _G6097)&otherGender(_G6097, _G6100)), gender(_G6091, _G6100)))))).
- % cnf :-
- % gender(_G6091, _G6100)v (not(bore_offspring(_G6090, _G6091))v (not(gender(_G6090, _G6097))v not(otherGender(_G6097, _G6100)))).
- % horn :-
- %
- % [ (not(bore_offspring(_G5711, _G5712)):-not(gender(_G5712, _G5720)), gender(_G5711, _G5726), otherGender(_G5726, _G5720)),
- % (not(gender(_G5627, _G5628)):-not(gender(_G5635, _G5636)), bore_offspring(_G5627, _G5635), otherGender(_G5628, _G5636)),
- % (not(otherGender(_G5543, _G5544)):-not(gender(_G5551, _G5544)), bore_offspring(_G5557, _G5551), gender(_G5557, _G5543)),
- % (gender(_G5793, _G5794):-bore_offspring(_G5799, _G5793), gender(_G5799, _G5806), otherGender(_G5806, _G5794))
- % ].
- % gripe_time(warn(2.2535838189999993>0.8), fi:mpred_fwd2(clif(=>((bore_offspring(_G3675, _G3810), gender(_G3675, _G3945), otherGender(_G3945, _G4080)), gender(_G3810, _G4080))), (=>((bore_offspring(_G4215, _G4296), gender(_G4215, _G4377), otherGender(_G4377, _G4458)), gender(_G4296, _G4458)), asePFC:pt(umt, =>((bore_offspring(_G3675, _G3810), gender(_G3675, _G3945), otherGender(_G3945, _G4080)), gender(_G3810, _G4080)), (is_kif_rule(=>((bore_offspring(_G3675, _G3810), gender(_G3675, _G3945), otherGender(_G3945, _G4080)), gender(_G3810, _G4080)))->rhs([clif(=>((bore_offspring(_G3675, _G3810), gender(_G3675, _G3945), otherGender(_G3945, _G4080)), gender(_G3810, _G4080)))])))))).
- % gripe_time(warn(2.259780684999999>0.8), fi:mpred_fwd2(=>((bore_offspring(X, Y), gender(X, G1), otherGender(G1, G2)), gender(Y, G2)), (u, u))).
- % gripe_time(warn(2.2674394820000003>0.6), fi:ain_fast_timed(fi: =>((bore_offspring(X, Y), gender(X, G1), otherGender(G1, G2)), gender(Y, G2)), (u, u))).
- <=>(gender(P, male), male(P)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:42
- % kif :-
- % all(_G57118, <=>(gender(_G57118, male), male(_G57118))).
- % pkif :-
- % all(_G3122, <=>(gender(_G3122, male), male(_G3122))).
- % cnf :-
- % (not(gender(_G3122, male))v male(_G3122))& (not(male(_G3122))v gender(_G3122, male)).
- % horn :-
- %
- % [ (male(_G2897):-gender(_G2897, male)),
- % (not(male(_G3010)):-not(gender(_G3010, male))),
- % (not(gender(_G2932, male)):-not(male(_G2932))),
- % (gender(_G2975, male):-male(_G2975))
- % ].
- % pfc :-
- %
- % [ ==>((gender(_G2897, male), {is_unit(_G2897)}), male(_G2897)),
- % ==>((neg(gender(_G3010, male)), {is_unit(_G3010)}), neg(male(_G3010))),
- % ==>((neg(male(_G2932)), {is_unit(_G2932)}), neg(gender(_G2932, male))),
- % ==>((male(_G2975), {is_unit(_G2975)}), gender(_G2975, male))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G47952, <=>(gender(_G47952, male), male(_G47952))).
- % pkif :-
- % all(_G47952, <=>(gender(_G47952, male), male(_G47952))).
- % cnf :-
- % (not(gender(_G47952, male))v male(_G47952))& (not(male(_G47952))v gender(_G47952, male)).
- % horn :-
- %
- % [ (male(_G2793):-gender(_G2793, male)),
- % (not(male(_G2906)):-not(gender(_G2906, male))),
- % (not(gender(_G2828, male)):-not(male(_G2828))),
- % (gender(_G2871, male):-male(_G2871))
- % ].
- % gripe_time(warn(0.851643622000001>0.8), fi:mpred_fwd2(clif(<=>(gender(_G1867, male), male(_G1867))), (<=>(gender(_G2002, male), male(_G2002)), asePFC:pt(umt, <=>(gender(_G1867, male), male(_G1867)), (is_kif_rule(<=>(gender(_G1867, male), male(_G1867)))->rhs([clif(<=>(gender(_G1867, male), male(_G1867)))])))))).
- % gripe_time(warn(0.8562360699999978>0.8), fi:mpred_fwd2(<=>(gender(P, male), male(P)), (u, u))).
- % gripe_time(warn(0.8598750490000029>0.6), fi:ain_fast_timed(fi: <=>(gender(P, male), male(P)), (u, u))).
- <=>(gender(P, female), female(P)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:43
- % kif :-
- % all(_G51096, <=>(gender(_G51096, female), female(_G51096))).
- % pkif :-
- % all(_G51096, <=>(gender(_G51096, female), female(_G51096))).
- % cnf :-
- % (not(gender(_G51096, female))v female(_G51096))& (not(female(_G51096))v gender(_G51096, female)).
- % horn :-
- %
- % [ (female(_G2894):-gender(_G2894, female)),
- % (not(female(_G3007)):-not(gender(_G3007, female))),
- % (not(gender(_G2929, female)):-not(female(_G2929))),
- % (gender(_G2972, female):-female(_G2972))
- % ].
- % pfc :-
- %
- % [ ==>((gender(_G2646, female), {is_unit(_G2646)}), female(_G2646)),
- % ==>((neg(gender(_G2649, female)), {is_unit(_G2649)}), neg(female(_G2649))),
- % ==>((neg(female(_G2647)), {is_unit(_G2647)}), neg(gender(_G2647, female))),
- % ==>((female(_G2648), {is_unit(_G2648)}), gender(_G2648, female))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G33497, <=>(gender(_G33497, female), female(_G33497))).
- % pkif :-
- % all(_G33497, <=>(gender(_G33497, female), female(_G33497))).
- % cnf :-
- % (not(gender(_G33497, female))v female(_G33497))& (not(female(_G33497))v gender(_G33497, female)).
- % horn :-
- %
- % [ (female(_G2790):-gender(_G2790, female)),
- % (not(female(_G2903)):-not(gender(_G2903, female))),
- % (not(gender(_G2825, female)):-not(female(_G2825))),
- % (gender(_G2868, female):-female(_G2868))
- % ].
- % gripe_time(warn(0.8679810769999996>0.8), fi:mpred_fwd2(clif(<=>(gender(_G1864, female), female(_G1864))), (<=>(gender(_G1999, female), female(_G1999)), asePFC:pt(umt, <=>(gender(_G1864, female), female(_G1864)), (is_kif_rule(<=>(gender(_G1864, female), female(_G1864)))->rhs([clif(<=>(gender(_G1864, female), female(_G1864)))])))))).
- % gripe_time(warn(0.8726047819999998>0.8), fi:mpred_fwd2(<=>(gender(P, female), female(P)), (u, u))).
- % gripe_time(warn(0.8762771710000017>0.6), fi:ain_fast_timed(fi: <=>(gender(P, female), female(P)), (u, u))).
- <=>(male(P), ~female(P)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:45
- % kif :-
- % all(_G34031, <=>(male(_G34031), ~female(_G34031))).
- % pkif :-
- % all(_G34031, <=>(male(_G34031), not(female(_G34031)))).
- % cnf :-
- % (not(male(_G34031))v not(female(_G34031)))& (female(_G34031)v male(_G34031)).
- % horn :-
- %
- % [ (female(_G3050):-not(male(_G3050))),
- % (male(_G3014):-not(female(_G3014))),
- % (not(female(_G2944)):-male(_G2944)),
- % (not(male(_G2980)):-female(_G2980))
- % ].
- % pfc :-
- %
- % [ ==>((neg(male(_G3050)), {is_unit(_G3050)}), female(_G3050)),
- % ==>((neg(female(_G3014)), {is_unit(_G3014)}), male(_G3014)),
- % ==>((male(_G2944), {is_unit(_G2944)}), neg(female(_G2944))),
- % ==>((female(_G2980), {is_unit(_G2980)}), neg(male(_G2980)))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G23513, <=>(male(_G23513), ~female(_G23513))).
- % pkif :-
- % all(_G23513, <=>(male(_G23513), not(female(_G23513)))).
- % cnf :-
- % (not(male(_G23513))v not(female(_G23513)))& (female(_G23513)v male(_G23513)).
- % horn :-
- %
- % [ (female(_G2946):-not(male(_G2946))),
- % (male(_G2910):-not(female(_G2910))),
- % (not(female(_G2840)):-male(_G2840)),
- % (not(male(_G2876)):-female(_G2876))
- % ].
- % gripe_time(warn(0.7573824219999992>0.6), fi:ain_fast_timed(fi: <=>(male(P), ~female(P)), (u, u))).
- :- kif_add(<=>(parent(M, C)&female(M), mother(M, C))).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:51
- % kif :-
- % all(_G48623,
- % all(_G48624,
- % <=>(parent(_G48623, _G48624)&female(_G48623), mother(_G48623, _G48624)))).
- % pkif :-
- % all(_G48623,
- % all(_G48624,
- % <=>(parent(_G48623, _G48624)&female(_G48623), mother(_G48623, _G48624)))).
- % cnf :-
- % (mother(_G48623, _G48624)v (not(parent(_G48623, _G48624))v not(female(_G48623))))& ((not(mother(_G48623, _G48624))v parent(_G48623, _G48624))& (not(mother(_G48623, _G48624))v female(_G48623))).
- % horn :-
- %
- % [ (female(_G1764):-mother(_G1764, _G1770)),
- % (not(female(_G1505)):-not(mother(_G1505, _G1513)), parent(_G1505, _G1513)),
- % (not(mother(_G1718, _G1719)):-not(parent(_G1718, _G1719))),
- % (not(mother(_G1799, _G1800)):-not(female(_G1799))),
- % (not(parent(_G1568, _G1569)):-not(mother(_G1568, _G1569)), female(_G1568)),
- % (mother(_G1629, _G1630):-parent(_G1629, _G1630), female(_G1629)),
- % (parent(_G1680, _G1681):-mother(_G1680, _G1681))
- % ].
- % pfc :-
- %
- % [ ==>((mother(_G1224, _G1225), {is_unit(_G1224)}), female(_G1224)),
- % (neg(female(_G1214))<-neg(mother(_G1214, _G1215)), parent(_G1214, _G1215), {is_unit(_G1214)}),
- % ==>((neg(parent(_G1222, _G1223)), {is_unit(_G1223, _G1222)}), neg(mother(_G1222, _G1223))),
- % (neg(mother(_G1226, _G1227))<-neg(female(_G1226)), {is_unit(_G1226)}),
- % (neg(parent(_G1216, _G1217))<-neg(mother(_G1216, _G1217)), female(_G1216), {is_unit(_G1217, _G1216)}),
- % ==>((parent(_G1218, _G1219), female(_G1218), {is_unit(_G1219, _G1218)}), mother(_G1218, _G1219)),
- % ==>((mother(_G1220, _G1221), {is_unit(_G1221, _G1220)}), parent(_G1220, _G1221))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G97562,
- % all(_G97563,
- % <=>(parent(_G97562, _G97563)&female(_G97562), mother(_G97562, _G97563)))).
- % pkif :-
- % all(_G97562,
- % all(_G97563,
- % <=>(parent(_G97562, _G97563)&female(_G97562), mother(_G97562, _G97563)))).
- % cnf :-
- % (mother(_G97562, _G97563)v (not(parent(_G97562, _G97563))v not(female(_G97562))))& ((not(mother(_G97562, _G97563))v parent(_G97562, _G97563))& (not(mother(_G97562, _G97563))v female(_G97562))).
- % horn :-
- %
- % [ (female(_G1660):-mother(_G1660, _G1666)),
- % (not(female(_G1401)):-not(mother(_G1401, _G1409)), parent(_G1401, _G1409)),
- % (not(mother(_G1614, _G1615)):-not(parent(_G1614, _G1615))),
- % (not(mother(_G1695, _G1696)):-not(female(_G1695))),
- % (not(parent(_G1464, _G1465)):-not(mother(_G1464, _G1465)), female(_G1464)),
- % (mother(_G1525, _G1526):-parent(_G1525, _G1526), female(_G1525)),
- % (parent(_G1576, _G1577):-mother(_G1576, _G1577))
- % ].
- % gripe_time(warn(2.0367443670000007>0.8), fi:mpred_fwd2(clif(<=>(parent(M, C)&female(M), mother(M, C))), (u, u))).
- % gripe_time(warn(2.042121870999999>0.6), fi:ain_fast_timed(fi:clif(<=>(parent(M, C)&female(M), mother(M, C))), (u, u))).
- :- must_is_entailed(<=>(parent(M, C)&female(M), mother(M, C))).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:56
- % kif :-
- % all(M, all(C, <=>(parent(M, C)&female(M), mother(M, C)))).
- % pkif :-
- % all(M, all(C, <=>(parent(M, C)&female(M), mother(M, C)))).
- % cnf :-
- % (mother(M, C)v (not(parent(M, C))v not(female(M))))& ((not(mother(M, C))v parent(M, C))& (not(mother(M, C))v female(M))).
- % horn :-
- %
- % [ (female(M):-mother(M, C)),
- % (not(female(M)):-not(mother(M, C)), parent(M, C)),
- % (not(mother(M, C)):-not(female(M))),
- % (not(mother(M, C)):-not(parent(M, C))),
- % (not(parent(M, C)):-not(mother(M, C)), female(M)),
- % (mother(M, C):-parent(M, C), female(M)),
- % (parent(M, C):-mother(M, C))
- % ].
- % pfc :-
- %
- % [ ==>((mother(M, C), {is_unit(M)}), female(M)),
- % (neg(female(M))<-neg(mother(M, C)), parent(M, C), {is_unit(M)}),
- % (neg(mother(M, C))<-neg(female(M)), {is_unit(M)}),
- % ==>((neg(parent(M, C)), {is_unit(C, M)}), neg(mother(M, C))),
- % (neg(parent(M, C))<-neg(mother(M, C)), female(M), {is_unit(C, M)}),
- % ==>((parent(M, C), female(M), {is_unit(C, M)}), mother(M, C)),
- % ==>((mother(M, C), {is_unit(C, M)}), parent(M, C))
- % ].
- :- must_is_entailed(=>(parent(M, C)&female(M), mother(M, C))).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:59
- % kif :-
- % all(M, all(C, =>(parent(M, C)&female(M), mother(M, C)))).
- % pkif :-
- % all(M, all(C, =>(parent(M, C)&female(M), mother(M, C)))).
- % cnf :-
- % mother(M, C)v (not(parent(M, C))v not(female(M))).
- % horn :-
- %
- % [ (not(female(M)):-not(mother(M, C)), parent(M, C)),
- % (not(parent(M, C)):-not(mother(M, C)), female(M)),
- % (mother(M, C):-parent(M, C), female(M))
- % ].
- % pfc :-
- %
- % [ (neg(female(M))<-neg(mother(M, C)), parent(M, C), {is_unit(M)}),
- % (neg(parent(M, C))<-neg(mother(M, C)), female(M), {is_unit(C, M)}),
- % ==>((parent(M, C), female(M), {is_unit(C, M)}), mother(M, C))
- % ].
- :- must_is_entailed(=>(mother(M, C), parent(M, C)&female(M))).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:65
- % kif :-
- % all(M, all(C, =>(mother(M, C), parent(M, C)&female(M)))).
- % pkif :-
- % all(M, all(C, =>(mother(M, C), parent(M, C)&female(M)))).
- % cnf :-
- % (not(mother(M, C))v parent(M, C))& (not(mother(M, C))v female(M)).
- % horn :-
- %
- % [ (female(M):-mother(M, C)),
- % (not(mother(M, C)):-not(female(M))),
- % (not(mother(M, C)):-not(parent(M, C))),
- % (parent(M, C):-mother(M, C))
- % ].
- % pfc :-
- %
- % [ ==>((mother(M, C), {is_unit(M)}), female(M)),
- % (neg(mother(M, C))<-neg(female(M)), {is_unit(M)}),
- % ==>((neg(parent(M, C)), {is_unit(C, M)}), neg(mother(M, C))),
- % ==>((mother(M, C), {is_unit(C, M)}), parent(M, C))
- % ].
- :- must_is_entailed((not(mother(M, C)):-not(parent(M, C)))).
- :- must_is_entailed((not(mother(M, _Anyone)):-not(female(M)))).
- :- must_is_entailed((parent(M, C):-mother(M, C))).
- :- must_is_entailed((female(M):-mother(M, _))).
- =>((parent(GRAND, PARENT), parent(PARENT, CHILD)), grandparent(GRAND, CHILD)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:81
- % kif :-
- % all(_G79843,
- % all(_G79842,
- % all(_G79846,
- % =>((parent(_G79842, _G79843), parent(_G79843, _G79846)), grandparent(_G79842, _G79846))))).
- % pkif :-
- % all(_G79843,
- % all(_G79842,
- % all(_G79846,
- % =>(parent(_G79842, _G79843)&parent(_G79843, _G79846), grandparent(_G79842, _G79846))))).
- % cnf :-
- % grandparent(_G79842, _G79846)v (not(parent(_G79842, _G79843))v not(parent(_G79843, _G79846))).
- % horn :-
- %
- % [ (not(parent(_G4606, _G4607)):-not(grandparent(_G4614, _G4607)), parent(_G4614, _G4606)),
- % (not(parent(_G4672, _G4673)):-not(grandparent(_G4672, _G4681)), parent(_G4673, _G4681)),
- % (grandparent(_G4736, _G4737):-parent(_G4736, _G4743), parent(_G4743, _G4737))
- % ].
- % pfc :-
- %
- % [ (neg(parent(_G4308, _G4309))<-neg(grandparent(_G4310, _G4309)), {avoidHeadLoop(parent(_G4310, _G4308), parent(_G4308, _G4309))}, parent(_G4310, _G4308), {is_unit(_G4309, _G4308)}),
- % (neg(parent(_G4311, _G4312))<-neg(grandparent(_G4311, _G4313)), {avoidHeadLoop(parent(_G4312, _G4313), parent(_G4311, _G4312))}, parent(_G4312, _G4313), {is_unit(_G4312, _G4311)}),
- % ==>((parent(_G4314, _G4316), parent(_G4316, _G4315), {is_unit(_G4315, _G4314)}), grandparent(_G4314, _G4315))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G99100,
- % all(_G99099,
- % all(_G99103,
- % =>((parent(_G99099, _G99100), parent(_G99100, _G99103)), grandparent(_G99099, _G99103))))).
- % pkif :-
- % all(_G99100,
- % all(_G99099,
- % all(_G99103,
- % =>(parent(_G99099, _G99100)&parent(_G99100, _G99103), grandparent(_G99099, _G99103))))).
- % cnf :-
- % grandparent(_G99099, _G99103)v (not(parent(_G99099, _G99100))v not(parent(_G99100, _G99103))).
- % horn :-
- %
- % [ (not(parent(_G4502, _G4503)):-not(grandparent(_G4510, _G4503)), parent(_G4510, _G4502)),
- % (not(parent(_G4568, _G4569)):-not(grandparent(_G4568, _G4577)), parent(_G4569, _G4577)),
- % (grandparent(_G4632, _G4633):-parent(_G4632, _G4639), parent(_G4639, _G4633))
- % ].
- % gripe_time(warn(1.2459439860000003>0.8), fi:mpred_fwd2(clif(=>((parent(_G2980, _G3115), parent(_G3115, _G3250)), grandparent(_G2980, _G3250))), (=>((parent(_G3385, _G3466), parent(_G3466, _G3547)), grandparent(_G3385, _G3547)), asePFC:pt(umt, =>((parent(_G2980, _G3115), parent(_G3115, _G3250)), grandparent(_G2980, _G3250)), (is_kif_rule(=>((parent(_G2980, _G3115), parent(_G3115, _G3250)), grandparent(_G2980, _G3250)))->rhs([clif(=>((parent(_G2980, _G3115), parent(_G3115, _G3250)), grandparent(_G2980, _G3250)))])))))).
- % gripe_time(warn(1.2518035379999972>0.8), fi:mpred_fwd2(=>((parent(GRAND, PARENT), parent(PARENT, CHILD)), grandparent(GRAND, CHILD)), (u, u))).
- % gripe_time(warn(1.2586525019999968>0.6), fi:ain_fast_timed(fi: =>((parent(GRAND, PARENT), parent(PARENT, CHILD)), grandparent(GRAND, CHILD)), (u, u))).
- <=>((grandparent(X, Y), male(X)), grandfather(X, Y)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:83
- % kif :-
- % all(_G35537,
- % all(_G35538,
- % <=>((grandparent(_G35537, _G35538), male(_G35537)), grandfather(_G35537, _G35538)))).
- % pkif :-
- % all(_G35537,
- % all(_G35538,
- % <=>(grandparent(_G35537, _G35538)&male(_G35537), grandfather(_G35537, _G35538)))).
- % cnf :-
- % (grandfather(_G35537, _G35538)v (not(grandparent(_G35537, _G35538))v not(male(_G35537))))& ((not(grandfather(_G35537, _G35538))v grandparent(_G35537, _G35538))& (not(grandfather(_G35537, _G35538))v male(_G35537))).
- % horn :-
- %
- % [ (male(_G4243):-grandfather(_G4243, _G4249)),
- % (not(male(_G3984)):-not(grandfather(_G3984, _G3992)), grandparent(_G3984, _G3992)),
- % (not(grandfather(_G4197, _G4198)):-not(grandparent(_G4197, _G4198))),
- % (not(grandfather(_G4278, _G4279)):-not(male(_G4278))),
- % (not(grandparent(_G4047, _G4048)):-not(grandfather(_G4047, _G4048)), male(_G4047)),
- % (grandfather(_G4108, _G4109):-grandparent(_G4108, _G4109), male(_G4108)),
- % (grandparent(_G4159, _G4160):-grandfather(_G4159, _G4160))
- % ].
- % pfc :-
- %
- % [ ==>((grandfather(_G3703, _G3704), {is_unit(_G3703)}), male(_G3703)),
- % (neg(male(_G3693))<-neg(grandfather(_G3693, _G3694)), grandparent(_G3693, _G3694), {is_unit(_G3693)}),
- % ==>((neg(grandparent(_G3701, _G3702)), {is_unit(_G3702, _G3701)}), neg(grandfather(_G3701, _G3702))),
- % (neg(grandfather(_G3705, _G3706))<-neg(male(_G3705)), {is_unit(_G3705)}),
- % (neg(grandparent(_G3695, _G3696))<-neg(grandfather(_G3695, _G3696)), male(_G3695), {is_unit(_G3696, _G3695)}),
- % ==>((grandparent(_G3697, _G3698), male(_G3697), {is_unit(_G3698, _G3697)}), grandfather(_G3697, _G3698)),
- % ==>((grandfather(_G3699, _G3700), {is_unit(_G3700, _G3699)}), grandparent(_G3699, _G3700))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G51969,
- % all(_G51970,
- % <=>((grandparent(_G51969, _G51970), male(_G51969)), grandfather(_G51969, _G51970)))).
- % pkif :-
- % all(_G51969,
- % all(_G51970,
- % <=>(grandparent(_G51969, _G51970)&male(_G51969), grandfather(_G51969, _G51970)))).
- % cnf :-
- % (grandfather(_G51969, _G51970)v (not(grandparent(_G51969, _G51970))v not(male(_G51969))))& ((not(grandfather(_G51969, _G51970))v grandparent(_G51969, _G51970))& (not(grandfather(_G51969, _G51970))v male(_G51969))).
- % horn :-
- %
- % [ (male(_G4139):-grandfather(_G4139, _G4145)),
- % (not(male(_G3880)):-not(grandfather(_G3880, _G3888)), grandparent(_G3880, _G3888)),
- % (not(grandfather(_G4093, _G4094)):-not(grandparent(_G4093, _G4094))),
- % (not(grandfather(_G4174, _G4175)):-not(male(_G4174))),
- % (not(grandparent(_G3943, _G3944)):-not(grandfather(_G3943, _G3944)), male(_G3943)),
- % (grandfather(_G4004, _G4005):-grandparent(_G4004, _G4005), male(_G4004)),
- % (grandparent(_G4055, _G4056):-grandfather(_G4055, _G4056))
- % ].
- % gripe_time(warn(1.9924950969999955>0.8), fi:mpred_fwd2(clif(<=>((grandparent(_G2558, _G2729), male(_G2558)), grandfather(_G2558, _G2729))), (<=>((grandparent(_G2864, _G2954), male(_G2864)), grandfather(_G2864, _G2954)), asePFC:pt(umt, <=>((grandparent(_G2558, _G2729), male(_G2558)), grandfather(_G2558, _G2729)), (is_kif_rule(<=>((grandparent(_G2558, _G2729), male(_G2558)), grandfather(_G2558, _G2729)))->rhs([clif(<=>((grandparent(_G2558, _G2729), male(_G2558)), grandfather(_G2558, _G2729)))])))))).
- % gripe_time(warn(1.9991924909999952>0.8), fi:mpred_fwd2(<=>((grandparent(X, Y), male(X)), grandfather(X, Y)), (u, u))).
- % gripe_time(warn(2.0044952319999965>0.6), fi:ain_fast_timed(fi: <=>((grandparent(X, Y), male(X)), grandfather(X, Y)), (u, u))).
- <=>((grandparent(X, Y), female(X)), grandmother(X, Y)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:84
- % kif :-
- % all(_G34799,
- % all(_G34800,
- % <=>((grandparent(_G34799, _G34800), female(_G34799)), grandmother(_G34799, _G34800)))).
- % pkif :-
- % all(_G34799,
- % all(_G34800,
- % <=>(grandparent(_G34799, _G34800)&female(_G34799), grandmother(_G34799, _G34800)))).
- % cnf :-
- % (grandmother(_G34799, _G34800)v (not(grandparent(_G34799, _G34800))v not(female(_G34799))))& ((not(grandmother(_G34799, _G34800))v grandparent(_G34799, _G34800))& (not(grandmother(_G34799, _G34800))v female(_G34799))).
- % horn :-
- %
- % [ (female(_G4240):-grandmother(_G4240, _G4246)),
- % (not(female(_G3981)):-not(grandmother(_G3981, _G3989)), grandparent(_G3981, _G3989)),
- % (not(grandmother(_G4194, _G4195)):-not(grandparent(_G4194, _G4195))),
- % (not(grandmother(_G4275, _G4276)):-not(female(_G4275))),
- % (not(grandparent(_G4044, _G4045)):-not(grandmother(_G4044, _G4045)), female(_G4044)),
- % (grandmother(_G4105, _G4106):-grandparent(_G4105, _G4106), female(_G4105)),
- % (grandparent(_G4156, _G4157):-grandmother(_G4156, _G4157))
- % ].
- % pfc :-
- %
- % [ ==>((grandmother(_G3700, _G3701), {is_unit(_G3700)}), female(_G3700)),
- % (neg(female(_G3690))<-neg(grandmother(_G3690, _G3691)), grandparent(_G3690, _G3691), {is_unit(_G3690)}),
- % ==>((neg(grandparent(_G3698, _G3699)), {is_unit(_G3699, _G3698)}), neg(grandmother(_G3698, _G3699))),
- % (neg(grandmother(_G3702, _G3703))<-neg(female(_G3702)), {is_unit(_G3702)}),
- % (neg(grandparent(_G3692, _G3693))<-neg(grandmother(_G3692, _G3693)), female(_G3692), {is_unit(_G3693, _G3692)}),
- % ==>((grandparent(_G3694, _G3695), female(_G3694), {is_unit(_G3695, _G3694)}), grandmother(_G3694, _G3695)),
- % ==>((grandmother(_G3696, _G3697), {is_unit(_G3697, _G3696)}), grandparent(_G3696, _G3697))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G115423,
- % all(_G115424,
- % <=>((grandparent(_G115423, _G115424), female(_G115423)), grandmother(_G115423, _G115424)))).
- % pkif :-
- % all(_G115423,
- % all(_G115424,
- % <=>(grandparent(_G115423, _G115424)&female(_G115423), grandmother(_G115423, _G115424)))).
- % cnf :-
- % (grandmother(_G4811, _G4812)v (not(grandparent(_G4811, _G4812))v not(female(_G4811))))& ((not(grandmother(_G4811, _G4812))v grandparent(_G4811, _G4812))& (not(grandmother(_G4811, _G4812))v female(_G4811))).
- % horn :-
- %
- % [ (female(_G4136):-grandmother(_G4136, _G4142)),
- % (not(female(_G3877)):-not(grandmother(_G3877, _G3885)), grandparent(_G3877, _G3885)),
- % (not(grandmother(_G4090, _G4091)):-not(grandparent(_G4090, _G4091))),
- % (not(grandmother(_G4171, _G4172)):-not(female(_G4171))),
- % (not(grandparent(_G3940, _G3941)):-not(grandmother(_G3940, _G3941)), female(_G3940)),
- % (grandmother(_G4001, _G4002):-grandparent(_G4001, _G4002), female(_G4001)),
- % (grandparent(_G4052, _G4053):-grandmother(_G4052, _G4053))
- % ].
- % gripe_time(warn(1.960041400999998>0.8), fi:mpred_fwd2(clif(<=>((grandparent(_G2555, _G2726), female(_G2555)), grandmother(_G2555, _G2726))), (<=>((grandparent(_G2861, _G2951), female(_G2861)), grandmother(_G2861, _G2951)), asePFC:pt(umt, <=>((grandparent(_G2555, _G2726), female(_G2555)), grandmother(_G2555, _G2726)), (is_kif_rule(<=>((grandparent(_G2555, _G2726), female(_G2555)), grandmother(_G2555, _G2726)))->rhs([clif(<=>((grandparent(_G2555, _G2726), female(_G2555)), grandmother(_G2555, _G2726)))])))))).
- % gripe_time(warn(1.9666201369999996>0.8), fi:mpred_fwd2(<=>((grandparent(X, Y), female(X)), grandmother(X, Y)), (u, u))).
- % gripe_time(warn(1.9718425770000039>0.6), fi:ain_fast_timed(fi: <=>((grandparent(X, Y), female(X)), grandmother(X, Y)), (u, u))).
- =>((mother(Ma, Kid), parent(Kid, GrandKid)), grandmother(Ma, GrandKid)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:85
- % kif :-
- % all(_G36873,
- % all(_G36872,
- % all(_G36876,
- % =>((mother(_G36872, _G36873), parent(_G36873, _G36876)), grandmother(_G36872, _G36876))))).
- % pkif :-
- % all(_G36873,
- % all(_G36872,
- % all(_G36876,
- % =>(mother(_G36872, _G36873)&parent(_G36873, _G36876), grandmother(_G36872, _G36876))))).
- % cnf :-
- % grandmother(_G36872, _G36876)v (not(mother(_G36872, _G36873))v not(parent(_G36873, _G36876))).
- % horn :-
- %
- % [ (not(mother(_G4666, _G4667)):-not(grandmother(_G4666, _G4675)), parent(_G4667, _G4675)),
- % (not(parent(_G4600, _G4601)):-not(grandmother(_G4608, _G4601)), mother(_G4608, _G4600)),
- % (grandmother(_G4730, _G4731):-mother(_G4730, _G4737), parent(_G4737, _G4731))
- % ].
- % pfc :-
- %
- % [ (neg(mother(_G4666, _G4667))<-neg(grandmother(_G4666, _G4675)), parent(_G4667, _G4675), {is_unit(_G4667, _G4666)}),
- % (neg(parent(_G4600, _G4601))<-neg(grandmother(_G4608, _G4601)), mother(_G4608, _G4600), {is_unit(_G4601, _G4600)}),
- % ==>((mother(_G4730, _G4737), parent(_G4737, _G4731), {is_unit(_G4731, _G4730)}), grandmother(_G4730, _G4731))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G102426,
- % all(_G102425,
- % all(_G102429,
- % =>((mother(_G102425, _G102426), parent(_G102426, _G102429)), grandmother(_G102425, _G102429))))).
- % pkif :-
- % all(_G102426,
- % all(_G102425,
- % all(_G102429,
- % =>(mother(_G102425, _G102426)&parent(_G102426, _G102429), grandmother(_G102425, _G102429))))).
- % cnf :-
- % grandmother(_G102425, _G102429)v (not(mother(_G102425, _G102426))v not(parent(_G102426, _G102429))).
- % horn :-
- %
- % [ (not(mother(_G4562, _G4563)):-not(grandmother(_G4562, _G4571)), parent(_G4563, _G4571)),
- % (not(parent(_G4496, _G4497)):-not(grandmother(_G4504, _G4497)), mother(_G4504, _G4496)),
- % (grandmother(_G4626, _G4627):-mother(_G4626, _G4633), parent(_G4633, _G4627))
- % ].
- % gripe_time(warn(1.2010052230000028>0.8), fi:mpred_fwd2(clif(=>((mother(_G2974, _G3109), parent(_G3109, _G3244)), grandmother(_G2974, _G3244))), (=>((mother(_G3379, _G3460), parent(_G3460, _G3541)), grandmother(_G3379, _G3541)), asePFC:pt(umt, =>((mother(_G2974, _G3109), parent(_G3109, _G3244)), grandmother(_G2974, _G3244)), (is_kif_rule(=>((mother(_G2974, _G3109), parent(_G3109, _G3244)), grandmother(_G2974, _G3244)))->rhs([clif(=>((mother(_G2974, _G3109), parent(_G3109, _G3244)), grandmother(_G2974, _G3244)))])))))).
- % gripe_time(warn(1.2067897649999964>0.8), fi:mpred_fwd2(=>((mother(Ma, Kid), parent(Kid, GrandKid)), grandmother(Ma, GrandKid)), (u, u))).
- % gripe_time(warn(1.212462801000001>0.6), fi:ain_fast_timed(fi: =>((mother(Ma, Kid), parent(Kid, GrandKid)), grandmother(Ma, GrandKid)), (u, u))).
- <=>((grandparent(X, Y), female(X)), grandmother(X, Y)).
- <=>((parent(X, Y), male(X)), father(X, Y)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:90
- % kif :-
- % all(_G57945,
- % all(_G57946,
- % <=>((parent(_G57945, _G57946), male(_G57945)), father(_G57945, _G57946)))).
- % pkif :-
- % all(_G57945,
- % all(_G57946,
- % <=>(parent(_G57945, _G57946)&male(_G57945), father(_G57945, _G57946)))).
- % cnf :-
- % (father(_G57945, _G57946)v (not(parent(_G57945, _G57946))v not(male(_G57945))))& ((not(father(_G57945, _G57946))v parent(_G57945, _G57946))& (not(father(_G57945, _G57946))v male(_G57945))).
- % horn :-
- %
- % [ (male(_G4243):-father(_G4243, _G4249)),
- % (not(male(_G3984)):-not(father(_G3984, _G3992)), parent(_G3984, _G3992)),
- % (not(father(_G4197, _G4198)):-not(parent(_G4197, _G4198))),
- % (not(father(_G4278, _G4279)):-not(male(_G4278))),
- % (not(parent(_G4047, _G4048)):-not(father(_G4047, _G4048)), male(_G4047)),
- % (father(_G4108, _G4109):-parent(_G4108, _G4109), male(_G4108)),
- % (parent(_G4159, _G4160):-father(_G4159, _G4160))
- % ].
- % pfc :-
- %
- % [ ==>((father(_G4243, _G4249), {is_unit(_G4243)}), male(_G4243)),
- % (neg(male(_G3984))<-neg(father(_G3984, _G3992)), parent(_G3984, _G3992), {is_unit(_G3984)}),
- % ==>((neg(parent(_G4197, _G4198)), {is_unit(_G4198, _G4197)}), neg(father(_G4197, _G4198))),
- % (neg(father(_G4278, _G4279))<-neg(male(_G4278)), {is_unit(_G4278)}),
- % (neg(parent(_G4047, _G4048))<-neg(father(_G4047, _G4048)), male(_G4047), {is_unit(_G4048, _G4047)}),
- % ==>((parent(_G4108, _G4109), male(_G4108), {is_unit(_G4109, _G4108)}), father(_G4108, _G4109)),
- % ==>((father(_G4159, _G4160), {is_unit(_G4160, _G4159)}), parent(_G4159, _G4160))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G59372,
- % all(_G59373,
- % <=>((parent(_G59372, _G59373), male(_G59372)), father(_G59372, _G59373)))).
- % pkif :-
- % all(_G59372,
- % all(_G59373,
- % <=>(parent(_G59372, _G59373)&male(_G59372), father(_G59372, _G59373)))).
- % cnf :-
- % (father(_G59372, _G59373)v (not(parent(_G59372, _G59373))v not(male(_G59372))))& ((not(father(_G59372, _G59373))v parent(_G59372, _G59373))& (not(father(_G59372, _G59373))v male(_G59372))).
- % horn :-
- %
- % [ (male(_G4139):-father(_G4139, _G4145)),
- % (not(male(_G3880)):-not(father(_G3880, _G3888)), parent(_G3880, _G3888)),
- % (not(father(_G4093, _G4094)):-not(parent(_G4093, _G4094))),
- % (not(father(_G4174, _G4175)):-not(male(_G4174))),
- % (not(parent(_G3943, _G3944)):-not(father(_G3943, _G3944)), male(_G3943)),
- % (father(_G4004, _G4005):-parent(_G4004, _G4005), male(_G4004)),
- % (parent(_G4055, _G4056):-father(_G4055, _G4056))
- % ].
- % gripe_time(warn(1.962432094999997>0.8), fi:mpred_fwd2(clif(<=>((parent(_G2558, _G2729), male(_G2558)), father(_G2558, _G2729))), (<=>((parent(_G2864, _G2954), male(_G2864)), father(_G2864, _G2954)), asePFC:pt(umt, <=>((parent(_G2558, _G2729), male(_G2558)), father(_G2558, _G2729)), (is_kif_rule(<=>((parent(_G2558, _G2729), male(_G2558)), father(_G2558, _G2729)))->rhs([clif(<=>((parent(_G2558, _G2729), male(_G2558)), father(_G2558, _G2729)))])))))).
- % gripe_time(warn(1.9704430300000055>0.8), fi:mpred_fwd2(<=>((parent(X, Y), male(X)), father(X, Y)), (u, u))).
- % gripe_time(warn(1.9758944569999954>0.6), fi:ain_fast_timed(fi: <=>((parent(X, Y), male(X)), father(X, Y)), (u, u))).
- =>((parent(Ma, X), parent(Ma, Y), different(X, Y)), siblings(X, Y)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:91
- % kif :-
- % all(_G39523,
- % all(_G39524,
- % all(_G39530,
- % =>((parent(_G39523, _G39524), parent(_G39523, _G39530), different(_G39524, _G39530)), siblings(_G39524, _G39530))))).
- % pkif :-
- % all(_G39523,
- % all(_G39524,
- % all(_G39530,
- % =>(parent(_G39523, _G39524)& (parent(_G39523, _G39530)&different(_G39524, _G39530)), siblings(_G39524, _G39530))))).
- % cnf :-
- % siblings(_G39524, _G39530)v (not(parent(_G39523, _G39524))v (not(parent(_G39523, _G39530))v not(different(_G39524, _G39530)))).
- % horn :-
- %
- % [ (not(different(_G5141, _G5142)):-not(siblings(_G5141, _G5142)), parent(_G5155, _G5141), parent(_G5155, _G5142)),
- % (not(parent(_G5225, _G5226)):-not(siblings(_G5233, _G5226)), parent(_G5225, _G5233), different(_G5233, _G5226)),
- % (not(parent(_G5309, _G5310)):-not(siblings(_G5310, _G5318)), parent(_G5309, _G5318), different(_G5310, _G5318)),
- % (siblings(_G5391, _G5392):-parent(_G5397, _G5391), parent(_G5397, _G5392), different(_G5391, _G5392))
- % ].
- % pfc :-
- %
- % [ (not_different(_G4827, _G4828)<-neg(siblings(_G4827, _G4828)), parent(_G4829, _G4827), parent(_G4829, _G4828), {is_unit(_G4828, _G4827)}),
- % (neg(parent(_G4830, _G4831))<-neg(siblings(_G4832, _G4831)), {avoidHeadLoop(parent(_G4830, _G4832), parent(_G4830, _G4831))}, parent(_G4830, _G4832), {dif:dif(_G4832, _G4831)}, {is_unit(_G4831, _G4830)}),
- % (neg(parent(_G4836, _G4837))<-neg(siblings(_G4837, _G4838)), {avoidHeadLoop(parent(_G4836, _G4838), parent(_G4836, _G4837))}, parent(_G4836, _G4838), {dif:dif(_G4837, _G4838)}, {is_unit(_G4837, _G4836)}),
- % ==>((parent(_G4844, _G4842), parent(_G4844, _G4843), {dif:dif(_G4842, _G4843)}, {is_unit(_G4843, _G4842)}), siblings(_G4842, _G4843))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G75242,
- % all(_G75243,
- % all(_G75249,
- % =>((parent(_G75242, _G75243), parent(_G75242, _G75249), different(_G75243, _G75249)), siblings(_G75243, _G75249))))).
- % pkif :-
- % all(_G75242,
- % all(_G75243,
- % all(_G75249,
- % =>(parent(_G75242, _G75243)& (parent(_G75242, _G75249)&different(_G75243, _G75249)), siblings(_G75243, _G75249))))).
- % cnf :-
- % siblings(_G75243, _G75249)v (not(parent(_G75242, _G75243))v (not(parent(_G75242, _G75249))v not(different(_G75243, _G75249)))).
- % horn :-
- %
- % [ (not(different(_G5037, _G5038)):-not(siblings(_G5037, _G5038)), parent(_G5051, _G5037), parent(_G5051, _G5038)),
- % (not(parent(_G5121, _G5122)):-not(siblings(_G5129, _G5122)), parent(_G5121, _G5129), different(_G5129, _G5122)),
- % (not(parent(_G5205, _G5206)):-not(siblings(_G5206, _G5214)), parent(_G5205, _G5214), different(_G5206, _G5214)),
- % (siblings(_G5287, _G5288):-parent(_G5293, _G5287), parent(_G5293, _G5288), different(_G5287, _G5288))
- % ].
- % gripe_time(warn(1.9820310540000037>0.8), fi:mpred_fwd2(clif(=>((parent(_G3324, _G3459), parent(_G3324, _G3630), different(_G3459, _G3630)), siblings(_G3459, _G3630))), (=>((parent(_G3801, _G3882), parent(_G3801, _G3972), different(_G3882, _G3972)), siblings(_G3882, _G3972)), asePFC:pt(umt, =>((parent(_G3324, _G3459), parent(_G3324, _G3630), different(_G3459, _G3630)), siblings(_G3459, _G3630)), (is_kif_rule(=>((parent(_G3324, _G3459), parent(_G3324, _G3630), different(_G3459, _G3630)), siblings(_G3459, _G3630)))->rhs([clif(=>((parent(_G3324, _G3459), parent(_G3324, _G3630), different(_G3459, _G3630)), siblings(_G3459, _G3630)))])))))).
- % gripe_time(warn(1.9883828600000015>0.8), fi:mpred_fwd2(=>((parent(Ma, X), parent(Ma, Y), different(X, Y)), siblings(X, Y)), (u, u))).
- % gripe_time(warn(1.9958723330000012>0.6), fi:ain_fast_timed(fi: =>((parent(Ma, X), parent(Ma, Y), different(X, Y)), siblings(X, Y)), (u, u))).
- =>(parent(P1, P2), ancestor(P1, P2)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:92
- % kif :-
- % all(_G34149,
- % all(_G34150, =>(parent(_G34149, _G34150), ancestor(_G34149, _G34150)))).
- % pkif :-
- % all(_G34149,
- % all(_G34150, =>(parent(_G34149, _G34150), ancestor(_G34149, _G34150)))).
- % cnf :-
- % not(parent(_G34149, _G34150))v ancestor(_G34149, _G34150).
- % horn :-
- %
- % [ (not(parent(_G45782, _G45783)):-not(ancestor(_G45782, _G45783))),
- % (ancestor(_G45726, _G45727):-parent(_G45726, _G45727))
- % ].
- % pfc :-
- %
- % [ ==>((neg(ancestor(_G45782, _G45783)), {is_unit(_G45783, _G45782)}), neg(parent(_G45782, _G45783))),
- % ==>((parent(_G45726, _G45727), {is_unit(_G45727, _G45726)}), ancestor(_G45726, _G45727))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G47684,
- % all(_G47685, =>(parent(_G47684, _G47685), ancestor(_G47684, _G47685)))).
- % pkif :-
- % all(_G47684,
- % all(_G47685, =>(parent(_G47684, _G47685), ancestor(_G47684, _G47685)))).
- % cnf :-
- % not(parent(_G47684, _G47685))v ancestor(_G47684, _G47685).
- % horn :-
- %
- % [ (not(parent(_G59291, _G59292)):-not(ancestor(_G59291, _G59292))),
- % (ancestor(_G59235, _G59236):-parent(_G59235, _G59236))
- % ].
- =>((parent(P1, P2), ancestor(P2, P3)), ancestor(P1, P3)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:93
- % kif :-
- % all(_G72013,
- % all(_G72012,
- % all(_G72016,
- % =>((parent(_G72012, _G72013), ancestor(_G72013, _G72016)), ancestor(_G72012, _G72016))))).
- % pkif :-
- % all(_G72013,
- % all(_G72012,
- % all(_G72016,
- % =>(parent(_G72012, _G72013)&ancestor(_G72013, _G72016), ancestor(_G72012, _G72016))))).
- % cnf :-
- % ancestor(_G72012, _G72016)v (not(parent(_G72012, _G72013))v not(ancestor(_G72013, _G72016))).
- % horn :-
- %
- % [ (not(ancestor(_G4600, _G4601)):-not(ancestor(_G4608, _G4601)), parent(_G4608, _G4600)),
- % (not(parent(_G4666, _G4667)):-not(ancestor(_G4666, _G4675)), ancestor(_G4667, _G4675)),
- % (ancestor(_G4730, _G4731):-parent(_G4730, _G4737), ancestor(_G4737, _G4731))
- % ].
- % pfc :-
- %
- % [ (neg(ancestor(_G4302, _G4303))<-neg(ancestor(_G4304, _G4303)), parent(_G4304, _G4302), {is_unit(_G4303, _G4302)}),
- % (neg(parent(_G4305, _G4306))<-neg(ancestor(_G4305, _G4307)), ancestor(_G4306, _G4307), {is_unit(_G4306, _G4305)}),
- % ==>((parent(_G4308, _G4310), ancestor(_G4310, _G4309), {is_unit(_G4309, _G4308)}), ancestor(_G4308, _G4309))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G92161,
- % all(_G92160,
- % all(_G92164,
- % =>((parent(_G92160, _G92161), ancestor(_G92161, _G92164)), ancestor(_G92160, _G92164))))).
- % pkif :-
- % all(_G92161,
- % all(_G92160,
- % all(_G92164,
- % =>(parent(_G92160, _G92161)&ancestor(_G92161, _G92164), ancestor(_G92160, _G92164))))).
- % cnf :-
- % ancestor(_G92160, _G92164)v (not(parent(_G92160, _G92161))v not(ancestor(_G92161, _G92164))).
- % horn :-
- %
- % [ (not(ancestor(_G4496, _G4497)):-not(ancestor(_G4504, _G4497)), parent(_G4504, _G4496)),
- % (not(parent(_G4562, _G4563)):-not(ancestor(_G4562, _G4571)), ancestor(_G4563, _G4571)),
- % (ancestor(_G4626, _G4627):-parent(_G4626, _G4633), ancestor(_G4633, _G4627))
- % ].
- % gripe_time(warn(1.2232415690000025>0.8), fi:mpred_fwd2(clif(=>((parent(_G2974, _G3109), ancestor(_G3109, _G3244)), ancestor(_G2974, _G3244))), (=>((parent(_G3379, _G3460), ancestor(_G3460, _G3541)), ancestor(_G3379, _G3541)), asePFC:pt(umt, =>((parent(_G2974, _G3109), ancestor(_G3109, _G3244)), ancestor(_G2974, _G3244)), (is_kif_rule(=>((parent(_G2974, _G3109), ancestor(_G3109, _G3244)), ancestor(_G2974, _G3244)))->rhs([clif(=>((parent(_G2974, _G3109), ancestor(_G3109, _G3244)), ancestor(_G2974, _G3244)))])))))).
- % gripe_time(warn(1.2291254199999955>0.8), fi:mpred_fwd2(=>((parent(P1, P2), ancestor(P2, P3)), ancestor(P1, P3)), (u, u))).
- % gripe_time(warn(1.2350357770000002>0.6), fi:ain_fast_timed(fi: =>((parent(P1, P2), ancestor(P2, P3)), ancestor(P1, P3)), (u, u))).
- =>((ancestor(P1, P2), ancestor(P2, P3)), ancestor(P1, P3)).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:94
- % kif :-
- % all(_G47844,
- % all(_G47843,
- % all(_G47847,
- % =>((ancestor(_G47843, _G47844), ancestor(_G47844, _G47847)), ancestor(_G47843, _G47847))))).
- % pkif :-
- % all(_G47844,
- % all(_G47843,
- % all(_G47847,
- % =>(ancestor(_G47843, _G47844)&ancestor(_G47844, _G47847), ancestor(_G47843, _G47847))))).
- % cnf :-
- % ancestor(_G47843, _G47847)v (not(ancestor(_G47843, _G47844))v not(ancestor(_G47844, _G47847))).
- % horn :-
- %
- % [ (not(ancestor(_G4600, _G4601)):-not(ancestor(_G4608, _G4601)), ancestor(_G4608, _G4600)),
- % (not(ancestor(_G4666, _G4667)):-not(ancestor(_G4666, _G4675)), ancestor(_G4667, _G4675)),
- % (ancestor(_G4730, _G4731):-ancestor(_G4730, _G4737), ancestor(_G4737, _G4731))
- % ].
- % pfc :-
- %
- % [ (neg(ancestor(_G4302, _G4303))<-neg(ancestor(_G4304, _G4303)), {avoidHeadLoop(ancestor(_G4304, _G4302), ancestor(_G4302, _G4303))}, ancestor(_G4304, _G4302), {is_unit(_G4303, _G4302)}),
- % (neg(ancestor(_G4305, _G4306))<-neg(ancestor(_G4305, _G4307)), {avoidHeadLoop(ancestor(_G4306, _G4307), ancestor(_G4305, _G4306))}, ancestor(_G4306, _G4307), {is_unit(_G4306, _G4305)}),
- % ==>((ancestor(_G4308, _G4310), ancestor(_G4310, _G4309), {is_unit(_G4309, _G4308)}), ancestor(_G4308, _G4309))
- % ].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % all(_G84094,
- % all(_G84093,
- % all(_G84097,
- % =>((ancestor(_G84093, _G84094), ancestor(_G84094, _G84097)), ancestor(_G84093, _G84097))))).
- % pkif :-
- % all(_G84094,
- % all(_G84093,
- % all(_G84097,
- % =>(ancestor(_G84093, _G84094)&ancestor(_G84094, _G84097), ancestor(_G84093, _G84097))))).
- % cnf :-
- % ancestor(_G84093, _G84097)v (not(ancestor(_G84093, _G84094))v not(ancestor(_G84094, _G84097))).
- % horn :-
- %
- % [ (not(ancestor(_G4496, _G4497)):-not(ancestor(_G4504, _G4497)), ancestor(_G4504, _G4496)),
- % (not(ancestor(_G4562, _G4563)):-not(ancestor(_G4562, _G4571)), ancestor(_G4563, _G4571)),
- % (ancestor(_G4626, _G4627):-ancestor(_G4626, _G4633), ancestor(_G4633, _G4627))
- % ].
- % gripe_time(warn(1.193619579>0.8), fi:mpred_fwd2(clif(=>((ancestor(_G2974, _G3109), ancestor(_G3109, _G3244)), ancestor(_G2974, _G3244))), (=>((ancestor(_G3379, _G3460), ancestor(_G3460, _G3541)), ancestor(_G3379, _G3541)), asePFC:pt(umt, =>((ancestor(_G2974, _G3109), ancestor(_G3109, _G3244)), ancestor(_G2974, _G3244)), (is_kif_rule(=>((ancestor(_G2974, _G3109), ancestor(_G3109, _G3244)), ancestor(_G2974, _G3244)))->rhs([clif(=>((ancestor(_G2974, _G3109), ancestor(_G3109, _G3244)), ancestor(_G2974, _G3244)))])))))).
- % gripe_time(warn(1.1998147839999973>0.8), fi:mpred_fwd2(=>((ancestor(P1, P2), ancestor(P2, P3)), ancestor(P1, P3)), (u, u))).
- % gripe_time(warn(1.2067272350000025>0.6), fi:ain_fast_timed(fi: =>((ancestor(P1, P2), ancestor(P2, P3)), ancestor(P1, P3)), (u, u))).
- mother(eileen, douglas).
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:96
- % kif :-
- % neg(male(eileen)).
- % pkif :-
- % not(male(eileen)).
- % cnf :-
- % not(male(eileen)).
- % horn :-
- % [not(male(eileen))].
- % pfc :-
- % [neg(male(eileen))].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % neg(gender(eileen, male)).
- % pkif :-
- % not(gender(eileen, male)).
- % cnf :-
- % not(gender(eileen, male)).
- % horn :-
- % [not(gender(eileen, male))].
- % pfc :-
- % [neg(gender(eileen, male))].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % neg(gender(eileen, male)).
- % pkif :-
- % not(gender(eileen, male)).
- % cnf :-
- % not(gender(eileen, male)).
- % horn :-
- % [not(gender(eileen, male))].
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % neg(male(eileen)).
- % pkif :-
- % not(male(eileen)).
- % cnf :-
- % not(male(eileen)).
- % horn :-
- % [not(male(eileen))].
- %= trudy is human
- human(trudy).
- %= catch a regression bug that may couse trudy to lose human assertion
- never_retract_u(human(trudy)).
- :- mpred_trace_exec.
- :- kif_add(forall(p, exists([m, f], if(human(p), mother(m, p)&father(f, p))))).
- Using Trigger p-trigger:
- umt:clif(forall(p,exists([m,f],if(human(p),mother(m,p)&father(f,p))))):-mpred_non_neg_literal(clif(forall(p,exists([m,f],if(human(p),mother(m,p)&father(f,p))))))->rhs([\+neg(clif(forall(p,exists([m,f],if(human(p),mother(m,p)&father(f,p))))))])
- Skipped Trigger p-trigger:
- umt:clif(forall(p,exists([m,f],if(human(p),mother(m,p)&father(f,p))))):-is_ftNonvar(clif(forall(p,exists([m,f],if(human(p),mother(m,p)&father(f,p))))))->functor(clif(forall(p,exists([m,f],if(human(p),mother(m,p)&father(f,p))))),_G110689,_G110715),\+mpred_connective(_G110689),_G110715>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(clif(forall(p,exists([m,f],if(human(p),mother(m,p)&father(f,p)))))))))}])
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /home/dmiles/lib/swipl/pack/logicmoo_base/t/examples/fol/family_inheritance.pfc.pl:107
- % kif :-
- % forall(p, exists([m, f], if(human(p), mother(m, p)&father(f, p)))).
- % pkif :-
- % all(P, exists(M, exists(F, =>(human(P), mother(M, P)&father(F, P))))).
- % cnf :-
- % (not(skolem(M, skArg1ofMotherFn(P)))v (not(skolem(F, skArg1ofFatherFn(P)))v (not(human(P))v mother(M, P))))& (not(skolem(M, skArg1ofMotherFn(P)))v (not(skolem(F, skArg1ofFatherFn(P)))v (not(human(P))v father(F, P)))).
- % horn :-
- %
- % [ (not(human(P)):-skolem(M, skArg1ofMotherFn(P)), skolem(F, skArg1ofFatherFn(P)), not(father(F, P))),
- % (not(human(P)):-skolem(M, skArg1ofMotherFn(P)), skolem(F, skArg1ofFatherFn(P)), not(mother(M, P))),
- % (not(skolem(F, skArg1ofFatherFn(P))):-skolem(M, skArg1ofMotherFn(P)), human(P), not(father(F, P))),
- % (not(skolem(F, skArg1ofFatherFn(P))):-skolem(M, skArg1ofMotherFn(P)), human(P), not(mother(M, P))),
- % (not(skolem(M, skArg1ofMotherFn(P))):-skolem(F, skArg1ofFatherFn(P)), human(P), not(father(F, P))),
- % (not(skolem(M, skArg1ofMotherFn(P))):-skolem(F, skArg1ofFatherFn(P)), human(P), not(mother(M, P))),
- % (father(F, P):-skolem(M, skArg1ofMotherFn(P)), skolem(F, skArg1ofFatherFn(P)), human(P)),
- % (mother(M, P):-skolem(M, skArg1ofMotherFn(P)), skolem(F, skArg1ofFatherFn(P)), human(P))
- % ].
- % pfc :-
- %
- % [ (neg(human(P))<-neg(father(F, P)), {is_unit(P)}),
- % (neg(human(P))<-neg(mother(M, P)), {is_unit(P)}),
- % true,
- % true,
- % true,
- % true,
- % ==>(({ignore(M=skArg1ofMotherFn(P))}, human(P), {is_unit(P)}), if_missing(father(F, P), father(skArg1ofFatherFn(P), P))),
- % ==>(({ignore(F=skArg1ofFatherFn(P))}, human(P), {is_unit(P)}), if_missing(mother(M, P), mother(skArg1ofMotherFn(P), P)))
- % ].
- Skipped Trigger p-trigger:
- umt:mpred_mark(pfcRHSR,neg,human,1):-mpred_non_neg_literal(mpred_mark(pfcRHSR,neg,human,1))->rhs([\+neg(mpred_mark(pfcRHSR,neg,human,1))])
- Using Trigger p-trigger:
- umt:arity(human,1):-mpred_non_neg_literal(arity(human,1))->rhs([\+neg(arity(human,1))])
- Using Trigger p-trigger:
- umt:arity(human,1):-is_ftNonvar(arity(human,1))->functor(arity(human,1),_G16992,_G17018),\+mpred_connective(_G16992),_G17018>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(arity(human,1)))))}])
- Skipped Trigger p-trigger:
- umt:arity(human,1):-is_kif_rule(arity(human,1))->rhs([clif(arity(human,1))])
- Using Trigger p-trigger:
- umt:mpred_mark(pfcRHSR,neg,human,1):-ground(pfcRHSR:neg)->rhs([arity(human,1)])
- Using Trigger p-trigger:
- umt:hybrid_support(human,1):-mpred_non_neg_literal(hybrid_support(human,1))->rhs([\+neg(hybrid_support(human,1))])
- Using Trigger p-trigger:
- umt:prologHybrid(human):-mpred_non_neg_literal(prologHybrid(human))->rhs([\+neg(prologHybrid(human))])
- Adding For Later p-trigger:
- umt:arity(human,_G33026):-rhs([hybrid_support(human,_G33026)])
- Using Trigger p-trigger:
- umt:prologHybrid(human):-basePFC:pt(umt,arity(human,_G36945),rhs([hybrid_support(human,_G36945)]))
- Skipped Trigger p-trigger:
- umt:prologHybrid(human):-is_ftNonvar(prologHybrid(human))->functor(prologHybrid(human),_G38386,_G38412),\+mpred_connective(_G38386),_G38412>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(prologHybrid(human)))))}])
- Skipped Trigger p-trigger:
- umt:prologHybrid(human):-get_functor(human,_G39296,_G39322),human\=_G39296->rhs([arity(_G39296,_G39322)])
- Skipped Trigger p-trigger:
- umt:prologHybrid(human):-has_functor(human)->rhs([{kb_dynamic(human)}])
- Skipped Trigger p-trigger:
- umt:prologHybrid(human):-is_kif_rule(prologHybrid(human))->rhs([clif(prologHybrid(human))])
- Using Trigger p-trigger:
- umt:hybrid_support(human,1):-human\='$VAR',atom(human),integer(1),\+prologDynamic(human),\+static_predicate(human/1)->rhs([{functor(_G44724,human,1),(var(_G44783)->t_l:user_abox(_G44783);true),(var(_G44783)->predicate_property(_G44783:_G44724,exported);true),(var(_G44783)->ignore((current_predicate(human,_G44783:_G44724),\+predicate_property(_G44783:_G44724,imported_from(_G45151))));true),(predicate_property(_G44783:_G44724,dynamic)->true;must(convert_to_dynamic(_G44783,human,1))),kb_dynamic(_G44783:human/1),(discontiguous _G44783:human/1),show_failure(hybrid_support,\+static_predicate(human/1))},prologHybrid(human),arity(human,1)])
- Using Trigger p-trigger:
- umt:hybrid_support(human,1):-rhs([prologHybrid(human),arity(human,1)])
- Using Trigger p-trigger:
- umt:hybrid_support(human,1):-is_ftNonvar(hybrid_support(human,1))->functor(hybrid_support(human,1),_G48581,_G48607),\+mpred_connective(_G48581),_G48607>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(hybrid_support(human,1)))))}])
- Skipped Trigger p-trigger:
- umt:hybrid_support(human,1):-is_kif_rule(hybrid_support(human,1))->rhs([clif(hybrid_support(human,1))])
- Using Trigger p-trigger:
- umt:mpred_mark(pfcRHSR,neg,human,1):-ground(neg)->rhs([hybrid_support(human,1)])
- Using Trigger p-trigger:
- umt:mpred_mark(pfcRHSR,neg,human,1):-is_ftNonvar(mpred_mark(pfcRHSR,neg,human,1))->functor(mpred_mark(pfcRHSR,neg,human,1),_G50856,_G50882),\+mpred_connective(_G50856),_G50882>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(mpred_mark(pfcRHSR,neg,human,1)))))}])
- Skipped Trigger p-trigger:
- umt:mpred_mark(pfcRHSR,neg,human,1):-is_kif_rule(mpred_mark(pfcRHSR,neg,human,1))->rhs([clif(mpred_mark(pfcRHSR,neg,human,1))])
- Removing support mpred_rem_support(mpred_remove_supports_quietly,basePFC:qu(umt,repropagate(arity(human,_G62840)),(g,g)),_G62875)
- Using Trigger p-trigger:
- umt:arity(human,1):-mpred_non_neg_literal(arity(human,1))->rhs([\+neg(arity(human,1))])
- Using Trigger p-trigger:
- umt:arity(human,1):-is_ftNonvar(arity(human,1))->functor(arity(human,1),_G67854,_G67880),\+mpred_connective(_G67854),_G67880>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(arity(human,1)))))}])
- Skipped Trigger p-trigger:
- umt:arity(human,1):-is_kif_rule(arity(human,1))->rhs([clif(arity(human,1))])
- Using Trigger p-trigger:
- umt:arity(human,1):-rhs([hybrid_support(human,1)])
- Skipped Trigger p-trigger:
- umt:repropagate(arity(human,_G69919)):-mpred_non_neg_literal(repropagate(arity(human,_G69919)))->rhs([\+neg(repropagate(arity(human,_G69919)))])
- Skipped Trigger p-trigger:
- umt:repropagate(arity(human,_G71506)):-is_ftNonvar(repropagate(arity(human,_G71506)))->functor(repropagate(arity(human,_G71506)),_G71647,_G71673),\+mpred_connective(_G71647),_G71673>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(repropagate(arity(human,_G71506))))))}])
- Skipped Trigger p-trigger:
- umt:repropagate(arity(human,_G72405)):-is_kif_rule(repropagate(arity(human,_G72405)))->rhs([clif(repropagate(arity(human,_G72405)))])
- Using Trigger p-trigger:
- umt:bt(umt,neg(human(_G73360)),pt(umt,neg(father(_G73413,_G73360)),(is_unit(_G73360)->rhs([neg(human(_G73360))])))):-mpred_non_neg_literal(bt(umt,neg(human(_G73360)),pt(umt,neg(father(_G73413,_G73360)),(is_unit(_G73360)->rhs([neg(human(_G73360))])))))->rhs([\+neg(bt(umt,neg(human(_G73360)),pt(umt,neg(father(_G73413,_G73360)),(is_unit(_G73360)->rhs([neg(human(_G73360))])))))])
- Using Trigger p-trigger:
- umt:bt(umt,neg(human(_G77426)),pt(umt,neg(father(_G77479,_G77426)),(is_unit(_G77426)->rhs([neg(human(_G77426))])))):-is_ftNonvar(bt(umt,neg(human(_G77426)),pt(umt,neg(father(_G77479,_G77426)),(is_unit(_G77426)->rhs([neg(human(_G77426))])))))->functor(bt(umt,neg(human(_G77426)),pt(umt,neg(father(_G77479,_G77426)),(is_unit(_G77426)->rhs([neg(human(_G77426))])))),_G78011,_G78037),\+mpred_connective(_G78011),_G78037>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(bt(umt,neg(human(_G77426)),pt(umt,neg(father(_G77479,_G77426)),(is_unit(_G77426)->rhs([neg(human(_G77426))]))))))))}])
- Skipped Trigger p-trigger:
- umt:bt(umt,neg(human(_G78325)),pt(umt,neg(father(_G78378,_G78325)),(is_unit(_G78325)->rhs([neg(human(_G78325))])))):-is_kif_rule(bt(umt,neg(human(_G78325)),pt(umt,neg(father(_G78378,_G78325)),(is_unit(_G78325)->rhs([neg(human(_G78325))])))))->rhs([clif(bt(umt,neg(human(_G78325)),pt(umt,neg(father(_G78378,_G78325)),(is_unit(_G78325)->rhs([neg(human(_G78325))])))))])
- Skipped Trigger p-trigger:
- umt: (neg(human(_G79473))<-neg(father(_G79523,_G79473)),{is_unit(_G79473)}):-mpred_non_neg_literal((neg(human(_G79473))<-neg(father(_G79523,_G79473)),{is_unit(_G79473)}))->rhs([\+neg((neg(human(_G79473))<-neg(father(_G79523,_G79473)),{is_unit(_G79473)}))])
- Skipped Trigger p-trigger:
- umt: (neg(human(_G81371))<-neg(father(_G81421,_G81371)),{is_unit(_G81371)}):-is_ftNonvar((neg(human(_G81371))<-neg(father(_G81421,_G81371)),{is_unit(_G81371)}))->functor((neg(human(_G81371))<-neg(father(_G81421,_G81371)),{is_unit(_G81371)}),_G81818,_G81844),\+mpred_connective(_G81818),_G81844>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType((neg(human(_G81371))<-neg(father(_G81421,_G81371)),{is_unit(_G81371)})))))}])
- Skipped Trigger p-trigger:
- umt: (neg(human(_G82270))<-neg(father(_G82320,_G82270)),{is_unit(_G82270)}):-is_kif_rule((neg(human(_G82270))<-neg(father(_G82320,_G82270)),{is_unit(_G82270)}))->rhs([clif((neg(human(_G82270))<-neg(father(_G82320,_G82270)),{is_unit(_G82270)}))])
- Using Trigger p-trigger:
- umt:bt(umt,neg(human(_G99472)),pt(umt,neg(mother(_G99525,_G99472)),(is_unit(_G99472)->rhs([neg(human(_G99472))])))):-mpred_non_neg_literal(bt(umt,neg(human(_G99472)),pt(umt,neg(mother(_G99525,_G99472)),(is_unit(_G99472)->rhs([neg(human(_G99472))])))))->rhs([\+neg(bt(umt,neg(human(_G99472)),pt(umt,neg(mother(_G99525,_G99472)),(is_unit(_G99472)->rhs([neg(human(_G99472))])))))])
- Using Trigger p-trigger:
- umt:bt(umt,neg(human(_G103542)),pt(umt,neg(mother(_G103595,_G103542)),(is_unit(_G103542)->rhs([neg(human(_G103542))])))):-is_ftNonvar(bt(umt,neg(human(_G103542)),pt(umt,neg(mother(_G103595,_G103542)),(is_unit(_G103542)->rhs([neg(human(_G103542))])))))->functor(bt(umt,neg(human(_G103542)),pt(umt,neg(mother(_G103595,_G103542)),(is_unit(_G103542)->rhs([neg(human(_G103542))])))),_G104127,_G104153),\+mpred_connective(_G104127),_G104153>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(bt(umt,neg(human(_G103542)),pt(umt,neg(mother(_G103595,_G103542)),(is_unit(_G103542)->rhs([neg(human(_G103542))]))))))))}])
- Skipped Trigger p-trigger:
- umt:bt(umt,neg(human(_G104441)),pt(umt,neg(mother(_G104494,_G104441)),(is_unit(_G104441)->rhs([neg(human(_G104441))])))):-is_kif_rule(bt(umt,neg(human(_G104441)),pt(umt,neg(mother(_G104494,_G104441)),(is_unit(_G104441)->rhs([neg(human(_G104441))])))))->rhs([clif(bt(umt,neg(human(_G104441)),pt(umt,neg(mother(_G104494,_G104441)),(is_unit(_G104441)->rhs([neg(human(_G104441))])))))])
- Skipped Trigger p-trigger:
- umt: (neg(human(_G105589))<-neg(mother(_G105639,_G105589)),{is_unit(_G105589)}):-mpred_non_neg_literal((neg(human(_G105589))<-neg(mother(_G105639,_G105589)),{is_unit(_G105589)}))->rhs([\+neg((neg(human(_G105589))<-neg(mother(_G105639,_G105589)),{is_unit(_G105589)}))])
- Skipped Trigger p-trigger:
- umt: (neg(human(_G107492))<-neg(mother(_G107542,_G107492)),{is_unit(_G107492)}):-is_ftNonvar((neg(human(_G107492))<-neg(mother(_G107542,_G107492)),{is_unit(_G107492)}))->functor((neg(human(_G107492))<-neg(mother(_G107542,_G107492)),{is_unit(_G107492)}),_G107939,_G107965),\+mpred_connective(_G107939),_G107965>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType((neg(human(_G107492))<-neg(mother(_G107542,_G107492)),{is_unit(_G107492)})))))}])
- Skipped Trigger p-trigger:
- umt: (neg(human(_G108391))<-neg(mother(_G108441,_G108391)),{is_unit(_G108391)}):-is_kif_rule((neg(human(_G108391))<-neg(mother(_G108441,_G108391)),{is_unit(_G108391)}))->rhs([clif((neg(human(_G108391))<-neg(mother(_G108441,_G108391)),{is_unit(_G108391)}))])
- Skipped Trigger p-trigger:
- umt:mpred_mark(pfcRHSR,r,if_missing,2):-mpred_non_neg_literal(mpred_mark(pfcRHSR,r,if_missing,2))->rhs([\+neg(mpred_mark(pfcRHSR,r,if_missing,2))])
- Using Trigger p-trigger:
- umt:mpred_mark(pfcRHSR,r,if_missing,2):-ground(pfcRHSR:r)->rhs([arity(if_missing,2)])
- Using Trigger p-trigger:
- umt:hybrid_support(if_missing,2):-mpred_non_neg_literal(hybrid_support(if_missing,2))->rhs([\+neg(hybrid_support(if_missing,2))])
- Skipped Trigger p-trigger:
- umt:hybrid_support(if_missing,2):-if_missing\='$VAR',atom(if_missing),integer(2),\+prologDynamic(if_missing),\+static_predicate(if_missing/2)->rhs([{functor(_G7649,if_missing,2),(var(_G7708)->t_l:user_abox(_G7708);true),(var(_G7708)->predicate_property(_G7708:_G7649,exported);true),(var(_G7708)->ignore((current_predicate(if_missing,_G7708:_G7649),\+predicate_property(_G7708:_G7649,imported_from(_G8076))));true),(predicate_property(_G7708:_G7649,dynamic)->true;must(convert_to_dynamic(_G7708,if_missing,2))),kb_dynamic(_G7708:if_missing/2),(discontiguous _G7708:if_missing/2),show_failure(hybrid_support,\+static_predicate(if_missing/2))},prologHybrid(if_missing),arity(if_missing,2)])
- Using Trigger p-trigger:
- umt:hybrid_support(if_missing,2):-rhs([prologHybrid(if_missing),arity(if_missing,2)])
- Using Trigger p-trigger:
- umt:hybrid_support(if_missing,2):-is_ftNonvar(hybrid_support(if_missing,2))->functor(hybrid_support(if_missing,2),_G9687,_G9713),\+mpred_connective(_G9687),_G9713>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(hybrid_support(if_missing,2)))))}])
- Skipped Trigger p-trigger:
- umt:hybrid_support(if_missing,2):-is_kif_rule(hybrid_support(if_missing,2))->rhs([clif(hybrid_support(if_missing,2))])
- Using Trigger p-trigger:
- umt:mpred_mark(pfcRHSR,r,if_missing,2):-ground(r)->rhs([hybrid_support(if_missing,2)])
- Using Trigger p-trigger:
- umt:mpred_mark(pfcRHSR,r,if_missing,2):-is_ftNonvar(mpred_mark(pfcRHSR,r,if_missing,2))->functor(mpred_mark(pfcRHSR,r,if_missing,2),_G11968,_G11994),\+mpred_connective(_G11968),_G11994>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(mpred_mark(pfcRHSR,r,if_missing,2)))))}])
- Skipped Trigger p-trigger:
- umt:mpred_mark(pfcRHSR,r,if_missing,2):-is_kif_rule(mpred_mark(pfcRHSR,r,if_missing,2))->rhs([clif(mpred_mark(pfcRHSR,r,if_missing,2))])
- Adding For Later p-trigger:
- umt:human(_G14253):-is_unit(_G14253)->rhs([if_missing(father(_G14338,_G14253),father(skArg1ofFatherFn(_G14253),_G14253))])
- Skipped Trigger p-trigger:
- umt:mpred_mark(pfcPosTrigger,p,human,1):-mpred_non_neg_literal(mpred_mark(pfcPosTrigger,p,human,1))->rhs([\+neg(mpred_mark(pfcPosTrigger,p,human,1))])
- Skipped Trigger p-trigger:
- umt:mpred_mark(pfcPosTrigger,p,human,1):-fa_to_p(human,1,_G22950),predicate_property(_G22950,static)->rhs([{trace_or_throw(warn(pfcPosTrigger,_G22950,static))}])
- Using Trigger p-trigger:
- umt:mpred_mark(pfcPosTrigger,p,human,1):-ground(pfcPosTrigger:p)->rhs([arity(human,1)])
- Using Trigger p-trigger:
- umt:mpred_mark(pfcPosTrigger,p,human,1):-ground(p)->rhs([hybrid_support(human,1)])
- Using Trigger p-trigger:
- umt:mpred_mark(pfcPosTrigger,p,human,1):-is_ftNonvar(mpred_mark(pfcPosTrigger,p,human,1))->functor(mpred_mark(pfcPosTrigger,p,human,1),_G27817,_G27843),\+mpred_connective(_G27817),_G27843>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(mpred_mark(pfcPosTrigger,p,human,1)))))}])
- Skipped Trigger p-trigger:
- umt:mpred_mark(pfcPosTrigger,p,human,1):-is_kif_rule(mpred_mark(pfcPosTrigger,p,human,1))->rhs([clif(mpred_mark(pfcPosTrigger,p,human,1))])
- Skipped Trigger p-trigger:
- umt: ==>(({ignore(_G29491=skArg1ofMotherFn(_G29523))},human(_G29523),{is_unit(_G29523)}),if_missing(father(_G29634,_G29523),father(skArg1ofFatherFn(_G29523),_G29523))):-mpred_non_neg_literal(==>(({ignore(_G29491=skArg1ofMotherFn(_G29523))},human(_G29523),{is_unit(_G29523)}),if_missing(father(_G29634,_G29523),father(skArg1ofFatherFn(_G29523),_G29523))))->rhs([\+neg(==>(({ignore(_G29491=skArg1ofMotherFn(_G29523))},human(_G29523),{is_unit(_G29523)}),if_missing(father(_G29634,_G29523),father(skArg1ofFatherFn(_G29523),_G29523))))])
- Skipped Trigger p-trigger:
- umt: ==>(({ignore(_G31790=skArg1ofMotherFn(_G31822))},human(_G31822),{is_unit(_G31822)}),if_missing(father(_G31933,_G31822),father(skArg1ofFatherFn(_G31822),_G31822))):-is_ftNonvar(==>(({ignore(_G31790=skArg1ofMotherFn(_G31822))},human(_G31822),{is_unit(_G31822)}),if_missing(father(_G31933,_G31822),father(skArg1ofFatherFn(_G31822),_G31822))))->functor(==>(({ignore(_G31790=skArg1ofMotherFn(_G31822))},human(_G31822),{is_unit(_G31822)}),if_missing(father(_G31933,_G31822),father(skArg1ofFatherFn(_G31822),_G31822))),_G32609,_G32635),\+mpred_connective(_G32609),_G32635>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(==>(({ignore(_G31790=skArg1ofMotherFn(_G31822))},human(_G31822),{is_unit(_G31822)}),if_missing(father(_G31933,_G31822),father(skArg1ofFatherFn(_G31822),_G31822)))))))}])
- Skipped Trigger p-trigger:
- umt: ==>(({ignore(_G32689=skArg1ofMotherFn(_G32721))},human(_G32721),{is_unit(_G32721)}),if_missing(father(_G32832,_G32721),father(skArg1ofFatherFn(_G32721),_G32721))):-is_kif_rule(==>(({ignore(_G32689=skArg1ofMotherFn(_G32721))},human(_G32721),{is_unit(_G32721)}),if_missing(father(_G32832,_G32721),father(skArg1ofFatherFn(_G32721),_G32721))))->rhs([clif(==>(({ignore(_G32689=skArg1ofMotherFn(_G32721))},human(_G32721),{is_unit(_G32721)}),if_missing(father(_G32832,_G32721),father(skArg1ofFatherFn(_G32721),_G32721))))])
- Adding For Later p-trigger:
- umt:human(_G41584):-is_unit(_G41584)->rhs([if_missing(mother(_G41669,_G41584),mother(skArg1ofMotherFn(_G41584),_G41584))])
- Skipped Trigger p-trigger:
- umt: ==>(({ignore(_G47346=skArg1ofFatherFn(_G47378))},human(_G47378),{is_unit(_G47378)}),if_missing(mother(_G47489,_G47378),mother(skArg1ofMotherFn(_G47378),_G47378))):-mpred_non_neg_literal(==>(({ignore(_G47346=skArg1ofFatherFn(_G47378))},human(_G47378),{is_unit(_G47378)}),if_missing(mother(_G47489,_G47378),mother(skArg1ofMotherFn(_G47378),_G47378))))->rhs([\+neg(==>(({ignore(_G47346=skArg1ofFatherFn(_G47378))},human(_G47378),{is_unit(_G47378)}),if_missing(mother(_G47489,_G47378),mother(skArg1ofMotherFn(_G47378),_G47378))))])
- Skipped Trigger p-trigger:
- umt: ==>(({ignore(_G49645=skArg1ofFatherFn(_G49677))},human(_G49677),{is_unit(_G49677)}),if_missing(mother(_G49788,_G49677),mother(skArg1ofMotherFn(_G49677),_G49677))):-is_ftNonvar(==>(({ignore(_G49645=skArg1ofFatherFn(_G49677))},human(_G49677),{is_unit(_G49677)}),if_missing(mother(_G49788,_G49677),mother(skArg1ofMotherFn(_G49677),_G49677))))->functor(==>(({ignore(_G49645=skArg1ofFatherFn(_G49677))},human(_G49677),{is_unit(_G49677)}),if_missing(mother(_G49788,_G49677),mother(skArg1ofMotherFn(_G49677),_G49677))),_G50464,_G50490),\+mpred_connective(_G50464),_G50490>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(==>(({ignore(_G49645=skArg1ofFatherFn(_G49677))},human(_G49677),{is_unit(_G49677)}),if_missing(mother(_G49788,_G49677),mother(skArg1ofMotherFn(_G49677),_G49677)))))))}])
- Skipped Trigger p-trigger:
- umt: ==>(({ignore(_G50544=skArg1ofFatherFn(_G50576))},human(_G50576),{is_unit(_G50576)}),if_missing(mother(_G50687,_G50576),mother(skArg1ofMotherFn(_G50576),_G50576))):-is_kif_rule(==>(({ignore(_G50544=skArg1ofFatherFn(_G50576))},human(_G50576),{is_unit(_G50576)}),if_missing(mother(_G50687,_G50576),mother(skArg1ofMotherFn(_G50576),_G50576))))->rhs([clif(==>(({ignore(_G50544=skArg1ofFatherFn(_G50576))},human(_G50576),{is_unit(_G50576)}),if_missing(mother(_G50687,_G50576),mother(skArg1ofMotherFn(_G50576),_G50576))))])
- Using Trigger p-trigger:
- umt:clif(forall(p,exists([m,f],if(human(p),mother(m,p)&father(f,p))))):-rhs([{clif_to_prolog(forall(p,exists([m,f],if(human(p),mother(m,p)&father(f,p)))),_G51658)},_G51658,{slow_sanity(is_entailed(forall(p,exists([m,f],if(human(p),mother(m,p)&father(f,p))))))}])
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % kif :-
- % forall(p, exists([m, f], if(human(p), mother(m, p)&father(f, p)))).
- % pkif :-
- % all(P, exists(M, exists(F, =>(human(P), mother(M, P)&father(F, P))))).
- % cnf :-
- % (not(skolem(M, skArg1ofMotherFn(P)))v (not(skolem(F, skArg1ofFatherFn(P)))v (not(human(P))v mother(M, P))))& (not(skolem(M, skArg1ofMotherFn(P)))v (not(skolem(F, skArg1ofFatherFn(P)))v (not(human(P))v father(F, P)))).
- % horn :-
- %
- % [ (not(human(P)):-skolem(M, skArg1ofMotherFn(P)), skolem(F, skArg1ofFatherFn(P)), not(father(F, P))),
- % (not(human(P)):-skolem(M, skArg1ofMotherFn(P)), skolem(F, skArg1ofFatherFn(P)), not(mother(M, P))),
- % (not(skolem(F, skArg1ofFatherFn(P))):-skolem(M, skArg1ofMotherFn(P)), human(P), not(father(F, P))),
- % (not(skolem(F, skArg1ofFatherFn(P))):-skolem(M, skArg1ofMotherFn(P)), human(P), not(mother(M, P))),
- % (not(skolem(M, skArg1ofMotherFn(P))):-skolem(F, skArg1ofFatherFn(P)), human(P), not(father(F, P))),
- % (not(skolem(M, skArg1ofMotherFn(P))):-skolem(F, skArg1ofFatherFn(P)), human(P), not(mother(M, P))),
- % (father(F, P):-skolem(M, skArg1ofMotherFn(P)), skolem(F, skArg1ofFatherFn(P)), human(P)),
- % (mother(M, P):-skolem(M, skArg1ofMotherFn(P)), skolem(F, skArg1ofFatherFn(P)), human(P))
- % ].
- Removing support mpred_rem_support(mpred_remove_supports_quietly,basePFC:qu(umt,repropagate(human(_G14980)),(g,g)),_G15015)
- Using Trigger p-trigger:
- umt:human(trudy):-mpred_non_neg_literal(human(trudy))->rhs([\+neg(human(trudy))])
- Skipped Trigger p-trigger:
- umt:human(trudy):-is_ftNonvar(human(trudy))->functor(human(trudy),_G19188,_G19214),\+mpred_connective(_G19188),_G19214>1->rhs([{lmconf:agenda_slow_op_enqueue(must(ignore(deduceEachArgType(human(trudy)))))}])
- Skipped Trigger p-trigger:
- umt:human(trudy):-is_kif_rule(human(trudy))->rhs([clif(human(trudy))])
- % failed(on_f_debug(fi:with_in_source_context(if_missing(father(_G21572, trudy), father(skArg1ofFatherFn(trudy), trudy))))).
- in_dumptrace(fi:with_in_source_context(if_missing(father(_G21572,trudy),father(skArg1ofFatherFn(trudy),trudy))))
- % fi:with_in_source_context(if_missing(father(_G21572, trudy), father(skArg1ofFatherFn(trudy), trudy))).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement