Advertisement
Guest User

Untitled

a guest
May 25th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. (deftemplate teorema
  2. (multifield ipoteze)
  3. (multifield concluzii)
  4. )
  5.  
  6. (deftemplate intrebare
  7. (multifield ipoteze)
  8. (multifield concluzii)
  9. )
  10.  
  11. (deffacts sist_demonstratii
  12. (teorema (ipoteze i) (concluzii a b c))
  13. (teorema (ipoteze a b) (concluzii x))
  14. (teorema (ipoteze b) (concluzii y))
  15. (teorema (ipoteze c) (concluzii z))
  16. (teorema (ipoteze c) (concluzii t))
  17. (teorema (ipoteze a) (concluzii o))
  18. (teorema (ipoteze x) (concluzii o))
  19. (teorema (ipoteze y) (concluzii o))
  20. (teorema (ipoteze t) (concluzii o))
  21.  
  22. (intrebare (ipoteze i) (concluzii o))
  23. )
  24.  
  25.  
  26. (defrule start
  27. (intrebare (ipoteze $? ?ip $?))
  28. =>
  29. (assert (ipoteza_adev ?ip))
  30. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement