Advertisement
logicmoo

<oats_> I brought ((P( y) ⊃ Q(z)) ⊃ (P(x) ⊃ Q(x))) to (~P(y)

Oct 24th, 2015
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 0.79 KB | None | 0 0
  1. baseKB:  ?- kif_to_boxlog((( (p(Y) =>  q(Z))  =>   (p(X) =>  q(X)))),O).
  2.  
  3.  
  4.  
  5. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  7. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  8. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  9. % unknown
  10. % kif :-
  11. %       all(X, all(Y, all(Z, =>(=>(p(Y), q(Z)), =>(p(X), q(X)))))).
  12. % pkif :-
  13. %       all(X, all(Y, all(Z, =>(=>(p(Y), q(Z)), =>(p(X), q(X)))))).
  14. % cnf :-
  15. %       (p(Y)v (not(p(X))v q(X)))& (not(q(Z))v (not(p(X))v q(X))).
  16. % horn :-
  17. %
  18. %       [ (not(p(X)):-not(p(Y)), not(q(X))),
  19. %         (not(p(X)):-q(Z), not(q(X))),
  20. %         (not(q(Z)):-p(X), not(q(X))),
  21. %         (p(Y):-p(X), not(q(X))),
  22. %         (q(X):-not(p(Y)), p(X)),
  23. %         (q(X):-q(Z), p(X))
  24. %       ].
  25. O = [(not(p(X)):-not(p(Y)), not(
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement