Advertisement
logicmoo

Untitled

Jun 3rd, 2015
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ZXBasic 45.84 KB | None | 0 0
  1.  
  2. %       todo(warn(builtin_why(pretest_call, 1, number_of_rules(1)))).
  3. %
  4. logicmoo_kb_refution:0  not_asserted_t(A,B,C);proven_t(A,B,C).
  5. logicmoo_kb_refution:1  not_assumed_t(A,B,C);assumed_t(A,B,C).
  6. logicmoo_kb_refution:2  not_proven_t(A,B,C);not_refuted_t(A,B,C),askable_t(A,B,C).
  7. logicmoo_kb_refution:3  not_assertable_t(A,B,C);not_refuted_t(A,B,C),askable_t(A,B,C).
  8. logicmoo_kb_refution:4  not_both_t(proven_t(A,B,C),refuted_t(A,B,C));fallacy_t(A,B,C).
  9. logicmoo_kb_refution:5  not_assumed_t(A,B,C);not_refuted_t(A,B,C),assertable_t(A,B,C),answerable_t(A,B,C).
  10. logicmoo_kb_refution:6  not_refuted_t(A,B,C);not_assumed_t(A,B,C),not_assertable_t(A,B,C),answerable_t(A,B,C).
  11. logicmoo_kb_refution:7  not_askable_t(A,B,C);proven_t(A,B,C);unknowable_t(A,B,C);refuted_t(A,B,C).
  12. logicmoo_kb_refution:8  not_unknowable_t(A,B,C),answerable_t(A,B,C);not_answerable_t(A,B,C),unknowable_t(A,B,C).
  13. logicmoo_kb_refution:9  askable_t(A,B,C),askable_t(A,B,C);not_askable_t(A,B,C),fallacy_t(A,B,C).
  14. logicmoo_kb_refution:10  not_answerable_t(A,B,C);proven_t(A,B,C);refuted_t(A,B,C).
  15. logicmoo_kb_refution:11  proven_t(A,B,C);unknowable_t(A,B,C);refuted_t(A,B,C).
  16. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_engine/prolog/logicmoo/logicmoo_engine.pl:1305
  17. %      do_pttp_test(logicmoo_example3).
  18. %
  19. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_engine/prolog/logicmoo/logicmoo_engine.pl:1305
  20. %    pttp_load_wid(logicmoo_kb_logic).
  21. %
  22. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_engine/prolog/logicmoo/logicmoo_engine.pl:1305
  23. %                 pttp_load_wid(logicmoo_kb_refution).
  24. %
  25.  
  26. logicmoo_kb_refution:0  not_asserted_t(A,B,C);proven_t(A,B,C).
  27. logicmoo_kb_refution:1  not_assumed_t(A,B,C);assumed_t(A,B,C).
  28. logicmoo_kb_refution:2  not_proven_t(A,B,C);not_refuted_t(A,B,C),askable_t(A,B,C).
  29. logicmoo_kb_refution:3  not_assertable_t(A,B,C);not_refuted_t(A,B,C),askable_t(A,B,C).
  30. logicmoo_kb_refution:4  not_both_t(proven_t(A,B,C),refuted_t(A,B,C));fallacy_t(A,B,C).
  31. logicmoo_kb_refution:5  not_assumed_t(A,B,C);not_refuted_t(A,B,C),assertable_t(A,B,C),answerable_t(A,B,C).
  32. logicmoo_kb_refution:6  not_refuted_t(A,B,C);not_assumed_t(A,B,C),not_assertable_t(A,B,C),answerable_t(A,B,C).
  33. logicmoo_kb_refution:7  not_askable_t(A,B,C);proven_t(A,B,C);unknowable_t(A,B,C);refuted_t(A,B,C).
  34. logicmoo_kb_refution:8  not_unknowable_t(A,B,C),answerable_t(A,B,C);not_answerable_t(A,B,C),unknowable_t(A,B,C).
  35. logicmoo_kb_refution:9  askable_t(A,B,C),askable_t(A,B,C);not_askable_t(A,B,C),fallacy_t(A,B,C).
  36. logicmoo_kb_refution:10  not_answerable_t(A,B,C);proven_t(A,B,C);refuted_t(A,B,C).
  37. logicmoo_kb_refution:11  proven_t(A,B,C);unknowable_t(A,B,C);refuted_t(A,B,C).
  38. logicmoo_kb_logic:1  not_both_t(pred_t(genls,A,B),pred_isa_t(A,C));pred_isa_t(B,C).
  39. logicmoo_kb_logic:2  not_both_t(pred_t(genls,A,C),isa(B,A));isa(B,C).
  40. logicmoo_kb_logic:3  not_pred_t(disjointWith,A,B);pred_isa_t(A,C);pred_isa_t(B,C).
  41. logicmoo_kb_logic:4  not_pred_t(disjointWith,A,C);isa(B,A);isa(B,C).
  42. logicmoo_kb_logic:5  not_both_t(pred_t(genlPreds,A,B),proven_t(A,C,D));proven_t(B,C,D).
  43. logicmoo_kb_logic:6  not_both_t(pred_t(genlPreds,B,A),refuted_t(A,C,D));refuted_t(B,C,D).
  44. logicmoo_kb_logic:7  not_both_t(pred_t(genlInverse,A,B),proven_t(A,D,C));proven_t(B,C,D).
  45. logicmoo_kb_logic:8  not_both_t(pred_t(negationPreds,A,B),proven_t(A,C,D));refuted_t(B,C,D).
  46. logicmoo_kb_logic:9  not_both_t(pred_t(negationInverse,A,B),proven_t(A,D,C));refuted_t(B,C,D).
  47. logicmoo_kb_logic:10  not_both_t(pred_isa_t(predIrreflexive,A),proven_t(A,C,B));refuted_t(A,B,C).
  48. logicmoo_example3:1  pred_t(genlInverse,mudParent,mudChild).
  49. logicmoo_example3:2  pred_t(genlPreds,mudMother,mudParent).
  50. logicmoo_example3:3  pred_isa_t(predIrreflexive,mudChild).
  51. logicmoo_example3:4  asserted_t(mudParent,iSon1,iFather1).
  52. logicmoo_example3:5  query:-refuted_t(mudChild,iSon1,iFather1).
  53. % 236 inferences, 0.000 CPU in 0.000 seconds (100% CPU, 1801994 Lips)
  54.  
  55. Proof time: 0.00026480900000080965 seconds
  56. Proof:
  57. length = 3, depth = 1
  58. Goal#  Wff#  Wff Instance
  59. -----  ----  ------------
  60.   [0]  query   query :- [1].
  61.   [1]  refuted_t(mudChild,iSon1,iFather1)      refuted_t(mudChild,iSon1,iFather1) :- [2] , [3].
  62.   [2]  red         not_unknowable_t(mudChild,iSon1,iFather1).
  63.   [3]  red         not_assumed_t(mudChild,iSon1,iFather1).
  64. Proof END.
  65. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_engine/prolog/logicmoo/logicmoo_engine.pl:1305
  66.  
  67.  
  68.  
  69. %
  70. tCol(_G3835626)
  71. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_base/prolog/logicmoo/mpred/logicmoo_i_builtin.pfc:1044
  72. %      failed_show_call(user:clause_asserted(spft(hybrid_support(vtTestType, 1), arity(vtTestType, 1), pt(arity(vtTestType, 1), rhs([hybrid_support(vtTestType, 1)]))))).
  73. %
  74. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_base/prolog/logicmoo/mpred/logicmoo_i_builtin.pfc:1044
  75. %      failed_show_call(user:clause_asserted(spft(hybrid_support(vtTestType, 1), arity(vtTestType, 1), pt(arity(vtTestType, 1), rhs([hybrid_support(vtTestType, 1)]))))).
  76. %
  77. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_base/prolog/logicmoo/mpred/logicmoo_i_builtin.pfc:1063
  78. %        succeed(user:source_location('/devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_base/prolog/logicmoo/mpred/logicmoo_i_builtin.pfc', 1063)).
  79. %
  80. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_base/prolog/logicmoo/mpred/logicmoo_i_builtin.pfc:1107
  81. %          gripe_time(warn(1.4764504879999976>0.5),
  82. %                     user:pfc_fwd2((arity(A, 2), argIsa(A, 2, ftInt)=>singleValuedInArg(A, 2)), (u, u))).
  83. %
  84. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_base/prolog/logicmoo/mpred/logicmoo_i_builtin.pfc:1107
  85. %            gripe_time(warn(1.4864778299999983>0.6),
  86. %                     user:pfc_assert_fast_0((arity(A, 2), argIsa(A, 2, ftInt)=>singleValuedInArg(A, 2)), (u, u))).
  87. %
  88. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_base/prolog/logicmoo/mpred/logicmoo_i_builtin.pfc:1108
  89. %          gripe_time(warn(0.9553874660000048>0.5),
  90. %                     user:pfc_fwd2((arity(A, 2), argIsa(A, 2, ftPercent)=>singleValuedInArg(A, 2)), (u, u))).
  91. %
  92. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_base/prolog/logicmoo/mpred/logicmoo_i_builtin.pfc:1108
  93. %            gripe_time(warn(0.9663305710000003>0.6),
  94. %                     user:pfc_assert_fast_0((arity(A, 2), argIsa(A, 2, ftPercent)=>singleValuedInArg(A, 2)), (u, u))).
  95. %
  96. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_engine/prolog/logicmoo/engine/pttp/dbase_i_mpred_pttp_statics.pl:29
  97. %                      file_clause(use_mpred_t).
  98. %
  99. % /devel/LogicmooDeveloperFramework/PrologMUD/packs/logicmoo_engine/prolog/logicmoo/logicmoo_engine.pl:1231
  100. %                 'we see this'.
  101.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement