Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/PVS/pvs-patches/   (Beweissystem der NASA Version 6.0.9©)  Datei vom 28.9.2014 mit Größe 921 B image not shown  

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.1 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.