Advertisement
logicmoo

Untitled

Jun 30th, 2018
429
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 2.09 KB | None | 0 0
  1. ?- lisitng(tc).
  2. Correct to: "listing(tc)"? yes
  3. :- dynamic baseKB:tc/2.
  4. :- multifile baseKB:tc/2.
  5. :- public baseKB:tc/2.
  6. :- module_transparent baseKB:tc/2.
  7.  
  8. baseKB:tc(1, 2).
  9. baseKB:tc(2, 3).
  10. baseKB:tc(3, 4).
  11. baseKB:tc(4, 5).
  12. baseKB:tc(5, 6).
  13. baseKB:tc(6, 7).
  14. baseKB:tc(7, 8).
  15. baseKB:tc(8, 9).
  16. baseKB:tc(9, 10).
  17. baseKB:tc(10, 1).
  18. baseKB:tc(1, 3).
  19. baseKB:tc(1, 4).
  20. baseKB:tc(1, 5).
  21. baseKB:tc(1, 6).
  22. baseKB:tc(1, 7).
  23. baseKB:tc(1, 8).
  24. baseKB:tc(1, 9).
  25. baseKB:tc(1, 10).
  26. baseKB:tc(1, 1).
  27. baseKB:tc(2, 4).
  28. baseKB:tc(2, 5).
  29. baseKB:tc(2, 6).
  30. baseKB:tc(2, 7).
  31. baseKB:tc(2, 8).
  32. baseKB:tc(2, 9).
  33. baseKB:tc(2, 10).
  34. baseKB:tc(2, 1).
  35. baseKB:tc(2, 2).
  36. baseKB:tc(3, 5).
  37. baseKB:tc(3, 6).
  38. baseKB:tc(3, 7).
  39. baseKB:tc(3, 8).
  40. baseKB:tc(3, 9).
  41. baseKB:tc(3, 10).
  42. baseKB:tc(3, 1).
  43. baseKB:tc(3, 2).
  44. baseKB:tc(3, 3).
  45. baseKB:tc(4, 6).
  46. baseKB:tc(4, 7).
  47. baseKB:tc(4, 8).
  48. baseKB:tc(4, 9).
  49. baseKB:tc(4, 10).
  50. baseKB:tc(4, 1).
  51. baseKB:tc(4, 2).
  52. baseKB:tc(4, 3).
  53. baseKB:tc(4, 4).
  54. baseKB:tc(5, 7).
  55. baseKB:tc(5, 8).
  56. baseKB:tc(5, 9).
  57. baseKB:tc(5, 10).
  58. baseKB:tc(5, 1).
  59. baseKB:tc(5, 2).
  60. baseKB:tc(5, 3).
  61. baseKB:tc(5, 4).
  62. baseKB:tc(5, 5).
  63. baseKB:tc(6, 8).
  64. baseKB:tc(6, 9).
  65. baseKB:tc(6, 10).
  66. baseKB:tc(6, 1).
  67. baseKB:tc(6, 2).
  68. baseKB:tc(6, 3).
  69. baseKB:tc(6, 4).
  70. baseKB:tc(6, 5).
  71. baseKB:tc(6, 6).
  72. baseKB:tc(7, 9).
  73. baseKB:tc(7, 10).
  74. baseKB:tc(7, 1).
  75. baseKB:tc(7, 2).
  76. baseKB:tc(7, 3).
  77. baseKB:tc(7, 4).
  78. baseKB:tc(7, 5).
  79. baseKB:tc(7, 6).
  80. baseKB:tc(7, 7).
  81. baseKB:tc(8, 10).
  82. baseKB:tc(8, 1).
  83. baseKB:tc(8, 2).
  84. baseKB:tc(8, 3).
  85. baseKB:tc(8, 4).
  86. baseKB:tc(8, 5).
  87. baseKB:tc(8, 6).
  88. baseKB:tc(8, 7).
  89. baseKB:tc(8, 8).
  90. baseKB:tc(9, 1).
  91. baseKB:tc(9, 2).
  92. baseKB:tc(9, 3).
  93. baseKB:tc(9, 4).
  94. baseKB:tc(9, 5).
  95. baseKB:tc(9, 6).
  96. baseKB:tc(9, 7).
  97. baseKB:tc(9, 8).
  98. baseKB:tc(9, 9).
  99. baseKB:tc(10, 2).
  100. baseKB:tc(10, 3).
  101. baseKB:tc(10, 4).
  102. baseKB:tc(10, 5).
  103. baseKB:tc(10, 6).
  104. baseKB:tc(10, 7).
  105. baseKB:tc(10, 8).
  106. baseKB:tc(10, 9).
  107. baseKB:tc(10, 10).
  108.  
  109. :- dynamic tc/2.
  110. :- multifile tc/2.
  111. :- public tc/2.
  112. :- module_transparent tc/2.
  113.  
  114. tc(A, B) :-
  115.         zwc,
  116.         inherit_above(user, tc(A, B)).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement