Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- kif :-
- all(X, all(Y, iff((parent(X, Y), male(X)), father(X, Y)))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- pkif :-
- all(X, all(Y, (parent(X, Y)&male(X)<=>father(X, Y)))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- cnf :-
- (father(X, Y)v (not(parent(X, Y))v not(male(X))))& ((not(father(X, Y))v parent(X, Y))& (not(father(X, Y))v male(X))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- horn :-
- [ (male(X):-father(X, Y)),
- (not(male(X)):-not(father(X, Y)), parent(X, Y)),
- (not(father(X, Y)):-not(male(X))),
- (not(father(X, Y)):-not(parent(X, Y))),
- (not(parent(X, Y)):-not(father(X, Y)), male(X)),
- (father(X, Y):-parent(X, Y), male(X)),
- (parent(X, Y):-father(X, Y))
- ].
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- pfc :-
- [ (father(X, Y)=>{vg(s(X))}, male(X)),
- (neg(male(X))<=neg(father(X, Y)), parent(X, Y), {vg(s(X))}),
- (neg(father(X, Y))<=neg(male(X)), {vg(s(X))}),
- (neg(parent(X, Y))=>{vg(s(Y, X))}, neg(father(X, Y))),
- (neg(parent(X, Y))<=neg(father(X, Y)), male(X), {vg(s(Y, X))}),
- (parent(X, Y), male(X)=>{vg(s(Y, X))}, father(X, Y)),
- (father(X, Y)=>{vg(s(Y, X))}, parent(X, Y))
- ].
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:must(repropagate(father(_, _)))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:call_with_attvars(asserta, ptBinaryPredicate(father))).
- %
- % Adding (:) ptBinaryPredicate(father) <-------- (pt(tPred(father),rhs([ptBinaryPredicate(father)])) <=TF=> tPred(father))
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:call_with_attvars(asserta, arity(father, 2))).
- %
- % Adding (:) arity(father,2) <-------- (pt(ptBinaryPredicate(father),rhs([arity(father,2),tPred(father)])) <=TF=> ptBinaryPredicate(father))
- % Removing (pfc_rem1(neg(arity(father,2)), (u,u))) neg(arity(father,2)).
- % Removing (pfc_rem1(neg(ptBinaryPredicate(father)), (u,u))) neg(ptBinaryPredicate(father)).
- % Removing (pfc_rem1(neg(arity(father,2)), (u,u))) neg(arity(father,2)).
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:must(repropagate(arity(father, _)))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:must(repropagate(argIsa(father, 2, ftPercent)))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:must(repropagate(argIsa(father, 2, ftInt)))).
- %
- % Removing (pfc_rem1(neg(tPred(father)), (u,u))) neg(tPred(father)).
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:must(repropagate(tPred(father)))).
- %
- % Removing (pfc_rem1(neg(arity(father,2)), (u,u))) neg(arity(father,2)).
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:must(repropagate(arity(father, _)))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % gripe_time(warn(5.759336050000002>0.5),
- % user:pfc_fwd2((neg(parent(X, Y))=>{vg(s(Y, X))}, neg(father(X, Y))), (clif(iff((parent(X, Y), male(X)), father(X, Y))), pt(clif(iff((parent(X, Y), male(X)), father(X, Y))), rhs([{clif_to_prolog(iff((parent(X, Y), male(X)), father(X, Y)), [ (father(X, Y)=>{vg(s(X))}, male(X)), (neg(male(X))<=neg(father(X, Y)), parent(X, Y), {vg(s(X))}), (neg(father(X, Y))<=neg(male(X)), {vg(s(X))}), (neg(parent(X, Y))=>{vg(s(Y, X))}, neg(father(X, Y))), (neg(parent(X, Y))<=neg(father(X, Y)), male(X), {vg(s(Y, X))}), (parent(X, Y), male(X)=>{vg(s(Y, X))}, father(X, Y)), (father(X, Y)=>{vg(s(Y, X))}, parent(X, Y))])}, [ (father(X, Y)=>{vg(s(X))}, male(X)), (neg(male(X))<=neg(father(X, Y)), parent(X, Y), {vg(s(X))}), (neg(father(X, Y))<=neg(male(X)), {vg(s(X))}), (neg(parent(X, Y))=>{vg(s(Y, X))}, neg(father(X, Y))), (neg(parent(X, Y))<=neg(father(X, Y)), male(X), {vg(s(Y, X))}), (parent(X, Y), male(X)=>{vg(s(Y, X))}, father(X, Y)), (father(X, Y)=>{vg(s(Y, X))}, parent(X, Y))], {sanity((clif_must iff((parent(X, Y), male(X)), father(X, Y))))}]))))).
- %
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- kif :-
- all(X, all(Y, iff((parent(X, Y), male(X)), father(X, Y)))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- pkif :-
- all(X, all(Y, (parent(X, Y)&male(X)<=>father(X, Y)))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- cnf :-
- (father(X, Y)v (not(parent(X, Y))v not(male(X))))& ((not(father(X, Y))v parent(X, Y))& (not(father(X, Y))v male(X))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- horn :-
- [ (male(X):-father(X, Y)),
- (not(male(X)):-not(father(X, Y)), parent(X, Y)),
- (not(father(X, Y)):-not(male(X))),
- (not(father(X, Y)):-not(parent(X, Y))),
- (not(parent(X, Y)):-not(father(X, Y)), male(X)),
- (father(X, Y):-parent(X, Y), male(X)),
- (parent(X, Y):-father(X, Y))
- ].
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- pfc :-
- [ (father(X, Y)=>{vg(s(X))}, male(X)),
- (neg(male(X))<=neg(father(X, Y)), parent(X, Y), {vg(s(X))}),
- (neg(father(X, Y))<=neg(male(X)), {vg(s(X))}),
- (neg(parent(X, Y))=>{vg(s(Y, X))}, neg(father(X, Y))),
- (neg(parent(X, Y))<=neg(father(X, Y)), male(X), {vg(s(Y, X))}),
- (parent(X, Y), male(X)=>{vg(s(Y, X))}, father(X, Y)),
- (father(X, Y)=>{vg(s(Y, X))}, parent(X, Y))
- ].
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:are_clauses_entailed([ (father(X, Y)=>{vg(s(X))}, male(X)), (neg(male(X))<=neg(father(X, Y)), parent(X, Y), {vg(s(X))}), (neg(father(X, Y))<=neg(male(X)), {vg(s(X))}), (neg(parent(X, Y))=>{vg(s(Y, X))}, neg(father(X, Y))), (neg(parent(X, Y))<=neg(father(X, Y)), male(X), {vg(s(Y, X))}), (parent(X, Y), male(X)=>{vg(s(Y, X))}, father(X, Y)), (father(X, Y)=>{vg(s(Y, X))}, parent(X, Y))])).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:must(repropagate(parent(_, _)))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:must(repropagate(father(_, _)))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % gripe_time(warn(7.052340909999998>0.5),
- % user:pfc_fwd2(clif(iff((parent(X, Y), male(X)), father(X, Y))), (u, u))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % gripe_time(warn(7.055220751999997>0.6),
- % user:pfc_assert_fast_timed(clif(iff((parent(X, Y), male(X)), father(X, Y))), (u, u))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:285
- % succeed(user:must_det_l((show_interesting_cl(kif(fwc), iff((parent(A, B), male(A)), father(A, B))), kif_process(iff((parent(A, B), male(A)), father(A, B)))))).
- %
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:286
- kif :-
- all(Ma,
- all(X,
- all(Y,
- if((parent(Ma, X), parent(Ma, Y), different(X, Y)),
- siblings(X, Y))))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:286
- pkif :-
- all(Ma,
- all(X,
- all(Y,
- (parent(Ma, X)& (parent(Ma, Y)&different(X, Y))=>siblings(X, Y))))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:286
- cnf :-
- siblings(X, Y)v (not(parent(Ma, X))v (not(parent(Ma, Y))v not(different(X, Y)))).
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:286
- horn :-
- [ (not(different(X, Y)):-not(siblings(X, Y)), parent(Ma, X), parent(Ma, Y)),
- (not(parent(Ma, X)):-not(siblings(X, Y)), parent(Ma, Y), different(X, Y)),
- (not(parent(Ma, Y)):-not(siblings(X, Y)), parent(Ma, X), different(X, Y)),
- (siblings(X, Y):-parent(Ma, X), parent(Ma, Y), different(X, Y))
- ].
- %
- % /opt/PrologMUD/pack/logicmoo_base/prolog/logicmoo/plarkc/logicmoo_i_clif.pl:286
- pfc :-
- [ (mudEquals(X, Y)<=neg(siblings(X, Y)), parent(Ma, X), parent(Ma, Y), {vg(s(Y, X))}),
- (neg(parent(Ma, X))<=neg(siblings(X, Y)), parent(Ma, Y), {dif:dif(X, Y)}, {vg(s(X, Ma))}),
- (neg(parent(Ma, Y))<=neg(siblings(X, Y)), parent(Ma, X), {dif:dif(X, Y)}, {vg(s(Y, Ma))}),
- (parent(Ma, X), parent(Ma, Y), {dif:dif(X, Y)}=>{vg(s(Y, X))}, siblings(X, Y))
- ].
- %
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement