Quellcodebibliothek Statistik Leitseite    (Beweissystem Isabelle Version 2025-1©)  

Quelle  patch-8.lisp   Sprache: Lisp

 
(defmethod pvs-sxhash* ((e1 rational-expr) bindings)
   (declare (ignore bindings))
   (with-slots ((n1 number)) e1
     (sxhash n1)))

(defmethod translate-to-prove :around ((obj name-expr))
   (if (and (free-variables obj)(or *bound-variables* *bindings*))
       (call-next-method)
       (let ((hashed-value (gethash obj *translate-to-prove-hash*)))
     (or hashed-value
         (let ((result (call-next-method)))
           (setf (gethash obj *translate-to-prove-hash*)
             result)
           result)))))

(defmethod translate-to-prove :around ((obj binding-expr))
   (if (and (free-variables obj)(or *bound-variables* *bindings*))
       (call-next-method)
       (let ((hashed-value
          (gethash obj *translate-to-prove-hash*)))
     (or hashed-value
         (let ((result (call-next-method)))
           (setf (gethash obj *translate-to-prove-hash*)
             result)
           result)))))

100%


¤ Dauer der Verarbeitung: 0.3 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.