Codebase list cafeobj / 8687594
Fixed degraded term memoization in rewriting. tswd 8 years ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
976976 ;; compute the normal form of "term"
977977 (reduce-term term strategy)
978978 (setq normal-form term)
979 #|
979980 (unless (= rule-count (number-rewritings))
980981 (when *memo-debug*
981982 (when (term-equational-equal term-nu normal-form)
986987 (format t "~%(~d) new = " (number-rewritings))
987988 (term-print-with-sort normal-form))))
988989 ;; store the normal form
989 (set-hashed-term term-nu *term-memo-table* normal-form))))
990 (set-hashed-term term-nu *term-memo-table* normal-form))
991 |#
992 (set-hashed-term term-nu *term-memo-table* normal-form)))
990993 normal-form))
991994
992995 (defmacro check-closed-world-assumption (?term)