diff --git "a/data/common-lisp/data.json" "b/data/common-lisp/data.json" new file mode 100644--- /dev/null +++ "b/data/common-lisp/data.json" @@ -0,0 +1,100 @@ +{"size":11985,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"; RTL - A Formal Theory of Register-Transfer Logic and Computer Arithmetic \n; Copyright (C) 1995-2013 Advanced Mirco Devices, Inc. \n;\n; Contact:\n; David Russinoff\n; 1106 W 9th St., Austin, TX 78703\n; http:\/\/www.russsinoff.com\/\n;\n; This program is free software; you can redistribute it and\/or modify it under\n; the terms of the GNU General Public License as published by the Free Software\n; Foundation; either version 2 of the License, or (at your option) any later\n; version.\n;\n; This program is distributed in the hope that it will be useful but WITHOUT ANY\n; WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n; PARTICULAR PURPOSE. See the GNU General Public License for more details.\n;\n; You should have received a copy of the GNU General Public License along with\n; this program; see the file \"gpl.txt\" in this directory. If not, write to the\n; Free Software Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA\n; 02110-1335, USA.\n;\n; Author: David M. Russinoff (david@russinoff.com)\n\n(in-package \"ACL2\")\n\n(set-enforce-redundancy t)\n\n(include-book \"round\")\n\n(local (include-book \"add-proofs\"))\n\n(set-inhibit-warnings \"theory\") ; avoid warning in the next event\n(local (in-theory nil))\n\n\n\n;;;**********************************************************************\n;;; Bit Vector Addition\n;;;**********************************************************************\n\n(defthm half-adder\n (implies (and (bvecp u 1)\n (bvecp v 1))\n (equal (+ u v)\n (cat (logand u v) 1 (logxor u v) 1)))\n :rule-classes ())\n\n(defthm add-2\n (implies (and (natp x) (natp y))\n\t (equal (+ x y)\n\t\t (+ (logxor x y)\n\t\t (* 2 (logand x y)))))\n :rule-classes ())\n\n(defthm full-adder\n (implies (and (bvecp u 1)\n (bvecp v 1)\n (bvecp w 1))\n (equal (+ u v w)\n (cat (logior (logand u v) (logior (logand u w) (logand v w))) 1 \n (logxor u (logxor v w)) 1)))\n :rule-classes ())\n\n(defthm add-3\n (implies (and (natp x)\n\t\t (natp y)\n\t\t (natp z))\n\t (= (+ x y z)\n\t\t(+ (logxor x (logxor y z))\n\t\t (* 2 (logior (logand x y)\n\t\t\t\t(logior (logand x z)\n\t\t\t\t\t(logand y z)))))))\n :rule-classes ())\n\n(defun rc-carry (x y k)\n (if (zp k)\n 0\n (logior (logand (bitn x (1- k)) (bitn y (1- k)))\n\t (logior (logand (bitn x (1- k)) (rc-carry x y (1- k)))\n\t\t (logand (bitn y (1- k)) (rc-carry x y (1- k)))))))\n\n(defun rc-sum (x y k)\n (if (zp k)\n 0\n (cat (logxor (bitn x (1- k))\n\t\t (logxor (bitn y (1- k)) (rc-carry x y (1- k))))\n\t 1\n\t (rc-sum x y (1- k))\n\t (1- k))))\n\n(defthm ripple-carry\n (implies (and (natp x)\n (natp y)\n (natp n))\n (equal (+ (bits x (1- n) 0) (bits y (1- n) 0))\n (cat (rc-carry x y n) 1 (rc-sum x y n) n)))\n :rule-classes ())\n\n(defun gen (x y i j)\n (declare (xargs :measure (nfix (1+ i))))\n (if (and (natp i) (natp j) (>= i j))\n (if (= (bitn x i) (bitn y i))\n\t (bitn x i)\n\t(gen x y (1- i) j))\n 0))\n\n(defun prop (x y i j)\n (declare (xargs :measure (nfix (1+ i))))\n (if (and (natp i) (natp j) (>= i j))\n (if (= (bitn x i) (bitn y i))\n\t 0\n\t(prop x y (1- i) j))\n 1))\n\n(defthm bvecp-1-gen\n (bvecp (gen x y i j) 1)\n :rule-classes (:rewrite\n (:forward-chaining :trigger-terms ((gen x y i j)))))\n\n(defthm bvecp-1-prop\n (bvecp (prop x y i j) 1)\n :rule-classes (:rewrite\n (:forward-chaining :trigger-terms ((prop x y i j)))))\n\n(defthmd gen-val\n (implies (and (natp j) (>= i j))\n (equal (gen x y i j)\n (if (>= (+ (bits x i j) (bits y i j))\n (expt 2 (1+ (- i j))))\n 1\n 0))))\n\n(defthmd gen-val-cor1\n (implies (natp j)\n (equal (gen x y i j)\n (bitn (+ (bits x i j) (bits y i j))\n\t\t\t(1+ (- i j))))))\n\n(defthmd gen-val-cor2\n (implies (and (natp x)\n (natp y)\n\t\t(natp i))\n (equal (+ (bits x i 0) (bits y i 0))\n\t\t (+ (* (expt 2 (1+ i)) (gen x y i 0))\n\t\t (bits (+ x y) i 0)))))\n\n(defthm gen-special-case\n (implies (and (integerp i)\n (integerp j)\n (>= i j)\n (>= j 0)\n (= (bitn (+ (bits x i j) (bits y i j)) (- i j)) 0))\n (equal (gen x y i j)\n (logior (bitn x i) (bitn y i))))\n :rule-classes ())\n\n(defthmd prop-val\n (implies (and (integerp i) (natp j) (>= i j))\n (equal (prop x y i j)\n (if (= (+ (bits x i j) (bits y i j))\n (1- (expt 2 (1+ (- i j)))))\n 1\n 0))))\n\n(defthmd prop-as-logxor\n (implies (and (natp i)\n (natp j)\n (<= j i)\n (natp x)\n (natp y))\n (equal (prop x y i j)\n (if (equal (logxor (bits x i j) (bits y i j))\n (1- (expt 2 (1+ (- i j)))))\n 1\n 0))))\n\n(defthm gen-extend\n (implies (and (integerp i)\n\t\t (integerp j)\n\t\t (integerp k)\n\t\t (> i k)\n\t\t (>= k j)\n\t\t (>= j 0))\n\t (equal (gen x y i j)\n\t\t (logior (gen x y i (1+ k))\n\t\t\t (logand (prop x y i (1+ k))\n\t\t\t\t (gen x y k j)))))\n :rule-classes ())\n\n(defthm gen-extend-cor\n (implies (and (natp x)\n (natp y)\n (natp i)\n (natp j)\n (natp k)\n (> i k)\n (>= k j))\n (equal (gen x y i j)\n (bitn (+ (bits x i (1+ k))\n (bits y i (1+ k))\n (gen x y k j))\n (- i k))))\n :rule-classes ())\n\n(defthm prop-extend\n (implies (and (integerp i)\n\t\t (integerp j)\n\t\t (integerp k)\n\t\t (> i k)\n\t\t (>= k j)\n\t\t (>= j 0))\n\t (equal (prop x y i j)\n\t\t (logand (prop x y i (1+ k))\n\t\t\t (prop x y k j))))\n :rule-classes ())\n\n(defthm bits-sum\n (implies (and (integerp x) (integerp y))\n (equal (bits (+ x y) i j)\n (bits (+ (bits x i j)\n (bits y i j)\n (gen x y (1- j) 0))\n (- i j) 0)))\n :rule-classes ())\n\n(defthmd bits-sum-swallow\n (implies (and (equal (bitn x k) 0)\n (natp x)\n (natp y)\n (integerp i)\n (integerp j)\n (integerp k)\n (>= i j)\n (> j k)\n (>= k 0)\n (<= y (expt 2 k)))\n (equal (bits (+ x y) i j)\n (bits x i j))))\n\n(defthmd bits-sum-cor\n (implies (and (integerp x)\n (integerp y)\n (>= i j)\n (>= j 0)\n (= (gen x y i j) 0)\n (= (gen x y (1- j) 0) 0))\n (equal (bits (+ x y) i j)\n (+ (bits x i j) (bits y i j)))))\n\n(defthm bits-sum-3\n (implies (and (integerp x) (integerp y) (integerp z))\n (equal (bits (+ x y z) i j)\n (bits (+ (bits x i j)\n (bits y i j)\n (bits z i j)\n (gen x y (1- j) 0)\n (gen (+ x y) z (1- j) 0))\n (- i j) 0)))\n :rule-classes ())\n\n(defthm bits-sum-plus-1\n (implies (and (integerp x)\n\t\t (integerp y)\n\t\t (integerp i)\n\t\t (integerp j)\n\t\t (>= i j)\n\t\t (>= j 0))\n\t (equal (bits (+ 1 x y) i j)\n\t\t (bits (+ (bits x i j)\n\t\t\t (bits y i j)\n\t\t\t (logior (prop x y (1- j) 0) \n\t\t\t\t (gen x y (1- j) 0) ))\n\t\t\t (- i j) 0)))\n :rule-classes ())\n\n(defthmd logand-gen-0\n (implies (and (integerp i)\n (integerp j)\n (>= i j)\n (>= j 0)\n (= (logand (bits x i j) (bits y i j)) 0))\n (equal (gen x y i j) 0)))\n\n\n(defthm logand-gen-0-cor\n (implies (and (integerp x)\n (integerp y)\n (integerp i)\n (integerp j)\n (>= i j)\n (>= j 0)\n (= (logand x y) 0))\n (equal (bits (+ x y) i j)\n (+ (bits x i j) (bits y i j))))\n :rule-classes ())\n\n(defthmd gen-plus\n (implies (and (natp x)\n (natp y)\n\t\t(natp k)\n\t\t(bvecp z (1+ k))\n\t\t(= (logand z y) 0)\n\t\t(= (gen x y k 0) 1))\n\t (equal (gen (+ x y) z k 0) 0)))\n\n(defthmd gen-extend-3\n (implies (and (natp i)\n\t\t (natp j)\n\t\t (> i j)\n\t\t (natp x)\n\t\t (natp y)\n\t\t (bvecp z (1+ j))\n\t\t (= (logand y z) 0))\t\t \n\t (equal (gen (+ x y) z i 0)\n\t\t (logand (prop x y i (1+ j))\n\t\t\t (gen (+ x y) z j 0)))))\n\n\n;;;**********************************************************************\n;;; Leading One Prediction\n;;;**********************************************************************\n\n(defund lop (a b d k)\n (let ((c (- (bitn a (1- k)) (bitn b (1- k)))))\n (if (and (integerp k) (>= k 0))\n\t(if (= k 0)\n\t 0\n\t (if (= d 0)\n\t (lop a b c (1- k))\n\t (if (= d (- c))\n\t\t(lop a b (- c) (1- k))\n\t k)))\n 0)))\n\n(defthm lop-bnds\n (implies (and (integerp a)\n (integerp b)\n (integerp n)\n (>= a 0)\n (>= b 0)\n (>= n 0)\n (not (= a b))\n (< a (expt 2 n))\n (< b (expt 2 n)))\n (or (= (lop a b 0 n) (expo (- a b)))\n (= (lop a b 0 n) (1+ (expo (- a b))))))\n :rule-classes ())\n\n(defthm lop-thm-1\n (implies (and (integerp a)\n\t\t (> a 0)\n\t\t (integerp b)\n\t\t (> b 0)\n\t\t (= e (expo a))\n\t\t (< (expo b) e)\n\t\t (= lambda\n\t\t (logior (* 2 (mod a (expt 2 e)))\n\t\t\t (bits (lognot (* 2 b)) e 0))))\n\t (or (= (expo (- a b)) (expo lambda))\n\t\t (= (expo (- a b)) (1- (expo lambda)))))\n :rule-classes ())\n\n(defun lamt (a b e)\n (logxor a (bits (lognot b) e 0)))\n\n(defun lamg (a b e)\n (logand a (bits (lognot b) e 0)))\n\n(defun lamz (a b e)\n (bits (lognot (logior a (bits (lognot b) e 0))) e 0))\n\n(defun lam1 (a b e)\n (logand (bits (lamt a b e) e 2) \n\t (logand (bits (lamg a b e) (1- e) 1)\n\t\t (bits (lognot (lamz a b e)) (- e 2) 0))))\n\n(defun lam2 (a b e)\n (logand (bits (lognot (lamt a b e)) e 2)\n\t (logand (bits (lamz a b e) (1- e) 1)\n\t\t (bits (lognot (lamz a b e)) (- e 2) 0))))\n\n(defun lam3 (a b e)\n (logand (bits (lamt a b e) e 2) \n\t (logand (bits (lamz a b e) (1- e) 1)\n\t\t (bits (lognot (lamg a b e)) (- e 2) 0))))\n\n(defun lam4 (a b e)\n (logand (bits (lognot (lamt a b e)) e 2)\n\t (logand (bits (lamg a b e) (1- e) 1)\n\t\t (bits (lognot (lamg a b e)) (- e 2) 0))))\n\n(defun lam0 (a b e)\n (logior (lam1 a b e)\n\t (logior (lam2 a b e)\n\t\t (logior (lam3 a b e)\n\t\t\t (lam4 a b e)))))\n\n(defun lamb (a b e)\n (+ (* 2 (lam0 a b e))\n (bitn (lognot(lamt a b e)) 0)))\n\n(defthm lop-thm-2\n (implies (and (integerp a)\n\t\t (> a 0)\n\t\t (integerp b)\n\t\t (> b 0)\n\t\t (not (= a b))\n\t\t (= e (expo a))\n\t\t (= e (expo b))\n\t\t (> e 1))\n\t (and (not (= (lamb a b e) 0))\n\t\t (or (= (expo (- a b)) (expo (lamb a b e)))\n\t\t (= (expo (- a b)) (1- (expo (lamb a b e)))))))\n :rule-classes ())\n\n\n;;;**********************************************************************\n;;; Trailing One Prediction\n;;;**********************************************************************\n\n(defthm top-thm-1\n (implies (and (natp n)\n (natp k)\n (< k n)\n (integerp a)\n (integerp b))\n (equal (equal (bits (+ a b 1) k 0) 0)\n\t\t (equal (bits (lognot (logxor a b)) k 0) 0)))\n :rule-classes ())\n\n(defthm top-thm-2\n (implies (and (natp n)\n (integerp a)\n (integerp b)\n (natp k)\n (< k n)\n (or (equal c 0) (equal c 1)))\n (equal (equal (bits (+ a b c) k 0) 0)\n (equal (bits (logxor (logxor a b) \n (cat (logior a b) n c 1))\n k 0) \n 0)))\n :rule-classes ())\n","avg_line_length":26.9325842697,"max_line_length":82,"alphanum_fraction":0.4105965791} +{"size":1963,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"(cl:in-package #:cleavir-utilities)\n\n(defun depth-first-search-preorder (start-node successor-fun)\n (let ((table (make-hash-table :test #'eq))\n\t(result '()))\n (labels ((traverse (node)\n\t (unless (gethash node table)\n\t\t (setf (gethash node table) t)\n\t\t (loop for succ in (funcall successor-fun node)\n\t\t do (traverse succ))\n\t\t (push node result))))\n (traverse start-node))\n result))\n\n(defun depth-first-search-postorder (start-node successor-fun)\n (nreverse (depth-first-search-preorder start-node successor-fun)))\n\n(defun count-nodes (start-node successor-fun)\n (let ((table (make-hash-table :test #'eq)))\n (labels ((traverse (node)\n\t (unless (gethash node table)\n\t\t (setf (gethash node table) t)\n\t\t (loop for succ in (funcall successor-fun node)\n\t\t do (traverse succ)))))\n (traverse start-node))\n (hash-table-count table)))\n\n;;; Map a function over all nodes. \n(defun map-nodes (start-node successor-fun function)\n (let ((table (make-hash-table :test #'eq)))\n (labels ((traverse (node)\n\t (unless (gethash node table)\n\t\t (setf (gethash node table) t)\n\t\t (funcall function node)\n\t\t (loop for succ in (funcall successor-fun node)\n\t\t do (traverse succ)))))\n (traverse start-node)))\n nil)\n\n(defun predecessor-function (start-node successor-fun)\n (let ((pred-table (make-hash-table :test #'eq)))\n (flet ((successors (node)\n\t (funcall successor-fun node))\n\t (predecessors (node)\n\t (gethash node pred-table))\n\t ((setf predecessors) (new-predecessors node)\n\t (setf (gethash node pred-table) new-predecessors)))\n (let ((table (make-hash-table :test #'eq)))\n\t(labels ((traverse (node)\n\t\t (unless (gethash node table)\n\t\t (setf (gethash node table) t)\n\t\t (loop for succ in (successors node)\n\t\t\t do (push node (predecessors succ)))\n\t\t (loop for succ in (funcall successor-fun node)\n\t\t\t do (traverse succ)))))\n\t (traverse start-node)))\n #'predecessors)))\n \n","avg_line_length":33.2711864407,"max_line_length":68,"alphanum_fraction":0.6428935303} +{"size":7022,"ext":"lisp","lang":"Common Lisp","max_stars_count":4.0,"content":"#|\n This file is a part of Modularize\n (c) 2014 Shirakumo http:\/\/tymoon.eu (shinmera@tymoon.eu)\n Author: Nicolas Hafner \n|#\n\n(in-package #:org.shirakumo.radiance.lib.modularize)\n\n;; asdf.lisp\n(docs:define-docs\n (variable *virtual-module-map*\n \"Map of virtual module names to the asdf system instances of the virtual modules.\")\n\n (function virtual-module\n \"Accesses the virtual module instance associated with the identifier if one was found, otherwise NIL.\")\n\n (function remove-virtual-module\n \"Removes the association of the name with a virtual module.\")\n\n (type virtual-module-not-found\n \"Condition signalled when a virtual module was requested but could not be found.\")\n\n (type virtual-module\n \"ASDF System subclass that serves as the class for virtual modules.\")\n\n (type module\n \"ASDF System subclass that serves as the class for virtual modules.\n\nDeprecated-- use VIRTUAL-MODULE instead.\")\n\n (function virtual-module-name\n \"Returns the module name associated with this virtual module.\")\n\n (function register-virtual-module\n \"Registers the given module in the virtual module map.\")\n\n (function load-module\n \"Attempts to find the module named by identifier and load its ASDF system.\"))\n\n;; hooks.lisp\n(docs:define-docs\n (variable *modularize-hooks*\n \"Table mapping the modularization hook names to their functions.\")\n\n (variable *delete-hooks*\n \"Table mapping the deletion hook names to their functions.\")\n\n (function modularize-hook\n \"Accessor to the modularization hook function associated with the identifier.\")\n\n (function remove-modularize-hook\n \"Removes the modularization hook named by the identifier.\")\n\n (function call-modularize-hooks\n \"Calls all modularization hooks on the package.\")\n\n (function define-modularize-hook\n \"Defines a new modularization hook.\n\nThe identifier is defaulted to a keyword representation of the current package name.\")\n\n (function delete-hook\n \"Accesses the deletion hook function associated with the identifier.\")\n\n (function remove-delete-hook\n \"Removes the deletion hook named by the identifier.\")\n\n (function call-delete-hooks\n \"Calls all deletion hooks on the package.\")\n\n (function define-delete-hook\n \"Defines a new deletion hook.\n\nThe identifier is defaulted to a keyword representation of the current package name.\"))\n\n;; module.lisp\n(docs:define-docs\n (variable *module-storages*\n \"Table mapping module packages to their storage tables.\")\n\n (variable *module-deferrals*\n \"Table mapping packages to their modules.\")\n\n (type module-not-found\n \"Condition signalled when a module is requested but not found.\")\n\n (type not-a-module\n \"Condition signalled when a module is requested but only a package of the requested name exists.\")\n\n (function extract-name\n \"Extracts the name from an identifier, which is to say the string after the last dot.\")\n\n (function make-identifier\n \"Turns a name into an identifier by prepending MODULARIZE.MOD. to it.\")\n\n (function resolve-module\n \"Resolves the object to the proper module package, if any.\")\n\n (function module-p\n \"Returns non-NIL if the passed object is or resolves to a module package, otherwise NIL.\")\n\n (function module\n \"Attempts to return the matching module package.\n\nIf not possible, a condition of type MODULE-NOT-FOUND is signalled.\n\nYou may pass a STRING, SYMBOL or PACKAGE as the identifier.\nIf NIL is passed, the current *PACKAGE* is used instead.\")\n\n (function with-module\n \"Binds the resolved MODULE to VAR.\")\n\n (function module-storage\n \"Accesses the module storage table of the module or a field from it if a key is passed.\")\n\n (function module-storage-remove\n \"Removes a key from the module storage table.\")\n\n (function module-identifier\n \"Returns the identifier of the module.\")\n\n (function module-name\n \"Returns the name of the module.\")\n\n (function current-module\n \"Macro that expands to the module in the current package.\nUseful to establish a module context.\")\n\n (function expand-option\n \"Called to expand module options into forms.\")\n\n (function define-option-expander\n \"Defines a new option expander that is called whenever the option is used in the module definition.\n\nThis should run whatever is necessary to accomplish the\ndesired option effect. The expanders are run AFTER the\nmodularize call, so you can use the module storage in\nyour expansions.\")\n\n (function expand-module\n \"Expands the module options into their proper forms using EXPAND-OPTION for each.\")\n\n (function define-module\n \"Defines a new module.\n\nThis essentially defines a new package with the given name,\ncalls MODULARIZE on it and then expands all options to extend\nthe package\/module.\")\n\n (function define-module-extension\n \"Defines a module extension.\n\nThis gives the existing module new nicknames and expands the\ngiven options on it to add functionality.\")\n\n (function module-packages\n \"Accesses the packages that are sub-packages under the module.\n\nThe list may contain package objects or package-names.\n\nYou can only add packages that are not already registered\nas sub-packages to a module, and are not themselves a module.\")\n\n (function modularize\n \"Turns the given package into one that is identified as a module.\n\nWhat this does is register the package on the module\nstorage table, add the name and identifiers to it,\nand then call the modularize hooks.\")\n\n (function demodularize\n \"Removes the module from the module storage table.\n\nThis essentially returning it back to a normal package.\nAny additional effects by module options or\nmodularization hooks can of course not be undone by this.\")\n\n (function delete-module\n \"Attempts to completely delete the given module.\n\nThis first calls the delete hooks, then demodularizes\nthe package, unbinds all symbols in the package from\nvalues and functions, and finally deletes the package.\")\n\n (function map-modules\n \"Calls the function once with each module in no particular order.\")\n\n (function list-modules\n \"Returns a list of all modules in no particular order.\"))\n\n;; options.lisp\n(docs:define-docs\n )\n\n;; package-toolkit.lisp\n(docs:define-docs\n (function ensure-package\n \"Ensures that THING is a package-object, or errors if it cannot resolve it to a package.\")\n\n (function with-package\n \"Shortcut macro to bind the ENSURE-PACKAGE value of PACKAGE to VAR.\")\n\n (function add-package-nickname\n \"Adds the nickname onto the package's nicknames list.\")\n\n (function collect-symbols-from\n \"Collects all given symbols from the package.\")\n\n (function extend-package\n \"Extends the package with the package definition options.\n\nAny option except for the SIZE option is allowed.\nNote that this only ADDS onto the package and does not\nremove any options defined prior. As in, nicknames are\nonly added on, but not removed.\")\n\n (function unbind-and-delete-package\n \"Unbinds all symbols in the package from their functions and values and finally deletes the package.\"))\n","avg_line_length":32.0639269406,"max_line_length":107,"alphanum_fraction":0.7510680718} +{"size":1348,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(defpackage :lem-process\n (:use :cl :lem)\n (:export :run-process\n :delete-process\n :process-alive-p\n :process-send-input))\n(in-package :lem-process)\n\n(defstruct process\n pointer\n name\n buffer\n read-thread)\n\n(defun run-process (program args &key name buffer)\n (let ((buffer (get-buffer buffer)))\n (assert (not (null buffer)))\n (let* ((pointer (async-process:create-process (cons program args) :nonblock nil))\n (thread (bt:make-thread\n (lambda ()\n (loop\n (alexandria:when-let\n (string (async-process:process-receive-output pointer))\n (send-event `(write-to-buffer ,buffer ,string))))))))\n (make-process :pointer pointer\n :name name\n :buffer buffer\n :read-thread thread))))\n\n(defun write-to-buffer (buffer string)\n (insert-string (buffer-end-point buffer) string))\n\n(defun delete-process (process)\n (bt:destroy-thread (process-read-thread process))\n (async-process:delete-process (process-pointer process)))\n\n(defun process-alive-p (process)\n (async-process:process-alive-p (process-pointer process)))\n\n(defun process-send-input (process string)\n (async-process:process-send-input (process-pointer process) string))\n","avg_line_length":32.0952380952,"max_line_length":85,"alphanum_fraction":0.6038575668} +{"size":54378,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"\n;; Rewriting based multiplier proofs\n\n; Note: The license below is based on the template at:\n; http:\/\/opensource.org\/licenses\/BSD-3-Clause\n\n; Copyright (C) 2019, Regents of the University of Texas\n; All rights reserved.\n\n; Redistribution and use in source and binary forms, with or without\n; modification, are permitted provided that the following conditions are\n; met:\n\n; o Redistributions of source code must retain the above copyright\n; notice, this list of conditions and the following disclaimer.\n\n; o Redistributions in binary form must reproduce the above copyright\n; notice, this list of conditions and the following disclaimer in the\n; documentation and\/or other materials provided with the distribution.\n\n; o Neither the name of the copyright holders nor the names of its\n; contributors may be used to endorse or promote products derived\n; from this software without specific prior written permission.\n\n; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n; \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n; HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n; Original Author(s):\n; Mertcan Temel \n\n;; Meta function to be triggered by m2-new.\n;; 1. It searches for m2 terms under the current summation and clears them out.\n;; 2. Searches for negated terms and duplicated terms under pp-sum and either\n;; negates them (everything can be positive) or removes them (duplicates)\n\n(in-package \"RP\")\n\n(local\n (include-book \"projects\/rp-rewriter\/proofs\/aux-function-lemmas\" :dir :system))\n(local\n (include-book \"projects\/rp-rewriter\/proofs\/proof-function-lemmas\" :dir :system))\n(local\n (include-book \"projects\/rp-rewriter\/proofs\/rp-equal-lemmas\" :dir :system))\n\n(include-book \"..\/mult-defs\")\n\n(local\n (in-theory (enable n2b f2 m2 d2 p+ b+ ba pp type-fix merge-pp+)))\n\n(def-formula-checks-default-evl\n rp-evl\n (strip-cars *small-evl-fncs*))\n\n(local\n (defthmd consp-ex-from-rp-loose-and-cons-count-term=1\n (implies (consp (ex-from-rp-loose term))\n (> (cons-count term) 1))\n :hints ((\"goal\"\n :in-theory (e\/d (ex-from-rp-loose\n is-rp-loose\n cons-count) ())))))\n\n(define f2-pp+-of-x-and-rest (x rest (term true-listp))\n :inline t\n (declare (ignorable term))\n (if (equal rest ''0)\n x\n (cons-with-hint 'p+\n (cons-with-hint x\n (cons-with-hint rest\n nil\n (cddr term))\n (cdr term))\n term)))\n\n(define add-rest-coughed (x rest)\n :inline t\n (if (equal rest ''0)\n x\n `(p+ ,x ,rest)))\n\n\n\n(define f2-meta-fix-pps-aux (term)\n (declare (xargs :measure (cons-count term)\n :hints ((\"Goal\"\n :in-theory\n (e\/d\n (consp-ex-from-rp-loose-and-cons-count-term=1\n measure-lemmas) ())))))\n (b* ((term-orig term)\n (term (ex-from-rp-loose term)))\n (case-match term\n (('p+ x y)\n (case-match y\n (('p+ y1 y2)\n (cond\n ((case-match x (('quote x-sub)\n (and (integerp x-sub)\n (evenp2 x-sub))))\n (b* (((mv rest rest-coughed)\n (f2-meta-fix-pps-aux y)))\n (mv rest\n (f2-pp+-of-x-and-rest `',(\/ (cadr x) 2) rest-coughed term)))) \n ((rp-equal-cnt x y1 2)\n (b* (((mv rest rest-coughed)\n (f2-meta-fix-pps-aux y2)))\n (mv rest\n (f2-pp+-of-x-and-rest y1 rest-coughed y))))\n ((case-match x (('-- &) t))\n (b* (((mv rest rest-coughed)\n (f2-meta-fix-pps-aux y)))\n (mv (f2-pp+-of-x-and-rest (cadr x) rest term)\n (f2-pp+-of-x-and-rest x rest-coughed nil))))\n (t\n (b* (((mv rest rest-coughed)\n (f2-meta-fix-pps-aux y)))\n (mv (f2-pp+-of-x-and-rest x rest term)\n rest-coughed)))))\n (&\n (cond ((case-match x (('quote x-sub)\n (and (integerp x-sub)\n (evenp2 x-sub))))\n (b* (((mv rest rest-coughed)\n (f2-meta-fix-pps-aux y)))\n (mv rest (f2-pp+-of-x-and-rest `',(\/ (cadr x) 2)\n rest-coughed term))))\n ((rp-equal-cnt x y 2)\n (mv ''0 x))\n ((case-match x (('-- &) t))\n (b* (((mv rest rest-coughed)\n (f2-meta-fix-pps-aux y)))\n (mv (f2-pp+-of-x-and-rest (cadr x) rest term)\n (f2-pp+-of-x-and-rest x rest-coughed nil))))\n (t (b* (((mv rest rest-coughed)\n (f2-meta-fix-pps-aux y)))\n (mv (f2-pp+-of-x-and-rest x rest term)\n rest-coughed)))))))\n (('-- x)\n (mv x term-orig))\n (('quote x)\n (if (and (integerp x)\n (evenp2 x))\n (mv ''0 `',(\/ x 2))\n (mv term-orig ''0)))\n (& (mv term-orig ''0)))))\n\n\n(define f2-meta-fix-pps (term)\n (declare (xargs :measure (cons-count term)\n :hints ((\"Goal\"\n :in-theory (e\/d (measure-lemmas) ())))))\n (b* ((term-orig term)\n (term (ex-from-rp-loose term)))\n (case-match term\n (('b+ x y)\n (b* ((x-orig x)\n (x (ex-from-rp-loose x)))\n (case-match x\n (('p+ & &)\n (b* (((mv res res-coughed) (f2-meta-fix-pps-aux x))\n (res2 (ex-from-rp-loose res)))\n (mv (case-match res2\n (('p+ & &) `(b+ ,res ,y))\n (''0 y)\n (& `(b+ (p+ '0 ,res) ,y)))\n res-coughed)))\n (& (b* (((mv rest rest-coughed) (f2-meta-fix-pps y)))\n (mv ;;`(b+ ,x-orig ,rest)\n (cons-with-hint 'b+\n (cons-with-hint x-orig\n (cons-with-hint rest\n nil\n (cddr term))\n (cdr term))\n term)\n rest-coughed))))))\n (('p+ & &)\n (b* (((mv res res-coughed) (f2-meta-fix-pps-aux term-orig))\n (res2 (ex-from-rp-loose res)))\n (mv (case-match res2\n (('p+ & &) res)\n (''0 ''0)\n (& `(p+ '0 ,res)))\n res-coughed)))\n (& (mv term-orig ''0)))))\n\n(define get-coughed-dont-rw (term)\n (case-match term\n (('merge-b+ & x)\n `(nil t ,(get-coughed-dont-rw x)))\n (& t)))\n\n#|(define is-pp-sum-sorted-cw-i0 (term)\n (b* ((term (ex-from-rp term)))\n (case-match term\n (('p+ x y)\n (case-match y\n (''0\n t)\n (('p+ a &)\n (and (or (not (pp-order a x))\n (cw \"Bad order!: ~p0; ~p1 ~%\" x a))\n (is-pp-sum-sorted-cw-i0 y)))\n (&\n (or (not (pp-order y x))\n (cw \"Bad order!: ~p0; ~p1 ~%\" x y)))))\n (& t))))||#\n\n(define f2-meta-main (term)\n (case-match term\n (('f2-new x)\n (progn$\n #|(if (has-pp-binary-not-atom x)\n (progn$ (cw \"this input ~p0 to f2-meta-main has\n has-pp-binary-not-atom. ~%\" x)\n (hard-error 'resolve-pp-sum-order\n \"error ~%\" nil))\n nil)||#\n (b* (((mv res res-coughed) (f2-meta-fix-pps x))\n ;(- (if (is-pp-sum-sorted-cw-i0 res-coughed) nil (cw \"res coughed is: ~p0 ~%\" res-coughed)))\n ((mv result dont-rw)\n (if (equal res-coughed ''0)\n (mv `(f2 ,res) `(nil t))\n (mv `(merge-b+ (f2 ,res) ,res-coughed)\n `(nil (nil t) t;,(get-coughed-dont-rw res-coughed)\n ))))\n \n #|(- (if (has-pp-binary-not-atom result)\n (progn$ (cw \"this output ~p0 from d2-meta-main has\n has-pp-binary-not-atom. with dont-rw ~p1 ~%\" result dont-rw)\n (hard-error 'resolve-pp-sum-order\n \"error ~%\" nil))\n nil))||#)\n (mv result dont-rw))))\n (&\n (mv term nil))))\n\n(define d2-meta-main (term)\n (case-match term\n (('d2-new ('rp ''evenp2 x))\n (b* (#|(- (if (has-pp-binary-not-atom x)\n (progn$ (cw \"this input ~p0 to d2-meta-main has\n has-pp-binary-not-atom. ~%\" x)\n (hard-error 'resolve-pp-sum-order\n \"error ~%\" nil))\n nil))||#\n ((mv res res-coughed) (f2-meta-fix-pps x))\n ((mv result dont-rw)\n (if (equal res-coughed ''0)\n (mv `(d2 (rp 'evenp2 ,res))\n `(nil t))\n (mv `(merge-b+ (d2 (rp 'evenp2 ,res)) ,res-coughed)\n `(nil (nil t) t;,(get-coughed-dont-rw res-coughed)\n ))))\n\n #|(- (if (has-pp-binary-not-atom result)\n (progn$ (cw \"this output ~p0 from d2-meta-main has\n has-pp-binary-not-atom. with dont-rw ~p1 ~%\" result dont-rw)\n (hard-error 'resolve-pp-sum-order\n \"error ~%\" nil))\n nil))||#)\n (mv result dont-rw)))\n\n (('d2-new x)\n (b* (((mv res res-coughed) (f2-meta-fix-pps x)))\n (if (equal res-coughed ''0)\n (mv `(d2 ,res)\n `(nil t))\n (mv `(merge-b+ (d2 ,res) ,res-coughed)\n `(nil (nil t) t;,(get-coughed-dont-rw res-coughed)\n )))))\n (&\n (mv term nil))))\n\n;(f2-meta-main `(f2-new (b+ (m2 x) (pp+ a (pp+ a (pp+ b (pp+ b (pp+ (-- c) (-- c)))))))))\n\n#|(local\n (in-theory (enable and-wrapper)))||#\n\n(def-formula-checks\n f2-meta-formula-checks\n (p+ merge-pp+\n b+ merge-b+\n f2 m2 m2-new\n f2-new d2 d2-new\n d2 --\n evenp2\n f2-meta-main\n d2-meta-main))\n\n;;;;;;;;;;;;;;;;;;;;;;\n\n(local\n (encapsulate\n nil\n\n (local\n (defthm rp-termp-F2-PP+-OF-X-AND-REST\n (implies (and (rp-termp x)\n (rp-termp rest))\n (rp-termp (f2-pp+-of-x-and-rest x rest term)))\n :hints ((\"Goal\"\n :in-theory (e\/d (F2-PP+-OF-X-AND-REST) ())))))\n\n (defthm rp-termp-f2-meta-fix-pps-aux\n (implies (rp-termp term)\n (and (rp-termp (mv-nth 0 (f2-meta-fix-pps-aux term)))\n (rp-termp (mv-nth 1 (f2-meta-fix-pps-aux term)))))\n :hints ((\"Goal\"\n :do-not-induct t\n :induct (f2-meta-fix-pps-aux term)\n :in-theory (e\/d (f2-meta-fix-pps-aux)\n (rp-equal\n (:REWRITE DEFAULT-CDR)\n (:REWRITE ACL2::FN-CHECK-DEF-NOT-QUOTE)\n (:TYPE-PRESCRIPTION RP-EQUAL-CNT)\n (:REWRITE DEFAULT-CAR)\n (:REWRITE RP-EQUAL-REFLEXIVE)\n (:REWRITE RP-TERM-LISTP-IS-TRUE-LISTP)\n (:DEFINITION TRUE-LISTP)\n (:TYPE-PRESCRIPTION RP-TERMP)\n (:TYPE-PRESCRIPTION RP-TERM-LISTP)\n (:TYPE-PRESCRIPTION EX-FROM-SYNP)\n (:REWRITE RP-EQUAL-CNT-IS-RP-EQUAL)\n (:REWRITE IS-IF-RP-TERMP)\n (:REWRITE\n RP-TERMP-SHOULD-TERM-BE-IN-CONS-LHS)\n (:TYPE-PRESCRIPTION IS-RP$INLINE)\n (:TYPE-PRESCRIPTION IS-RP-LOOSE$INLINE)\n (:REWRITE IS-RP-PSEUDO-TERMP)\n (:REWRITE RP-TERMP-IMPLIES-SUBTERMS)\n (:REWRITE RP-TERMP-IMPLIES-CDR-LISTP)\n rp-equal-cnt\n ex-from-rp-loose\n ex-from-rp)))))\n\n (defthm rp-termp-f2-meta-fix-pps\n (implies (rp-termp term)\n (and (rp-termp (mv-nth 0 (f2-meta-fix-pps term)))\n (rp-termp (mv-nth 1 (f2-meta-fix-pps term)))))\n :hints ((\"Goal\"\n :do-not-induct t\n :induct (f2-meta-fix-pps term)\n :in-theory (e\/d (f2-meta-fix-pps)\n (rp-equal\n (:REWRITE DEFAULT-CDR)\n (:REWRITE DEFAULT-CAR)\n (:REWRITE RP-EQUAL-REFLEXIVE)\n (:REWRITE RP-TERM-LISTP-IS-TRUE-LISTP)\n (:DEFINITION TRUE-LISTP)\n (:TYPE-PRESCRIPTION RP-TERMP)\n (:TYPE-PRESCRIPTION RP-TERM-LISTP)\n (:TYPE-PRESCRIPTION EX-FROM-SYNP)\n (:REWRITE RP-EQUAL-CNT-IS-RP-EQUAL)\n (:REWRITE IS-IF-RP-TERMP)\n (:REWRITE\n RP-TERMP-SHOULD-TERM-BE-IN-CONS-LHS)\n (:TYPE-PRESCRIPTION IS-RP$INLINE)\n (:TYPE-PRESCRIPTION IS-RP-LOOSE$INLINE)\n (:REWRITE IS-RP-PSEUDO-TERMP)\n (:REWRITE RP-TERMP-IMPLIES-SUBTERMS)\n (:REWRITE RP-TERMP-IMPLIES-CDR-LISTP)\n rp-equal-cnt\n ex-from-rp-loose\n ex-from-rp)))))\n\n (defthm rp-termp-f2-meta-main\n (implies (rp-termp term)\n (rp-termp (mv-nth 0 (f2-meta-main term))))\n :hints ((\"Goal\"\n :in-theory (e\/d (f2-meta-main)\n ()))))\n\n (local\n (defthm is-rp-even\n (is-rp (list 'rp ''evenp2 x))\n :hints ((\"Goal\"\n :in-theory (e\/d (is-rp) ())))))\n \n (defthm rp-termp-d2-meta-main\n (implies (rp-termp term)\n (rp-termp (mv-nth 0 (d2-meta-main term))))\n :hints ((\"Goal\"\n :in-theory (e\/d (d2-meta-main)\n ()))))))\n\n#|(local\n (encapsulate\n nil\n\n (local\n (defthm is-rp-lemma\n (equal (IS-RP (LIST 'RP ''evenp2 term))\n t)\n :hints ((\"Goal\"\n :in-theory (e\/d (is-rp) ())))))\n\n #|(defthm rp-syntaxp-F2-PP+-OF-X-AND-REST\n (implies (and (rp-syntaxp x)\n (rp-syntaxp rest))\n (rp-syntaxp (f2-pp+-of-x-and-rest x rest term)))\n :hints ((\"Goal\"\n :in-theory (e\/d (F2-PP+-OF-X-AND-REST) ()))))||#\n\n (defthm rp-syntaxp-f2-meta-fix-pps-aux\n (implies (rp-syntaxp term)\n (and (rp-syntaxp (mv-nth 0 (f2-meta-fix-pps-aux term)))\n (rp-syntaxp (mv-nth 1 (f2-meta-fix-pps-aux term)))))\n :hints ((\"Goal\"\n :do-not-induct t\n :induct (f2-meta-fix-pps-aux term)\n :in-theory (e\/d (f2-meta-fix-pps-aux)\n (rp-equal\n (:REWRITE DEFAULT-CDR)\n (:REWRITE DEFAULT-CAR)\n\n (:REWRITE RP-EQUAL-REFLEXIVE)\n (:DEFINITION TRUE-LISTP)\n (:TYPE-PRESCRIPTION RP-SYNTAXP)\n (:TYPE-PRESCRIPTION EX-FROM-SYNP)\n (:REWRITE RP-EQUAL-CNT-IS-RP-EQUAL)\n (:TYPE-PRESCRIPTION IS-RP$INLINE)\n (:TYPE-PRESCRIPTION IS-RP-LOOSE$INLINE)\n (:REWRITE IS-RP-PSEUDO-TERMP)\n\n (:REWRITE NOT-INCLUDE-RP-MEANS-RP-SYNTAXP)\n (:DEFINITION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC-SUBTERMS)\n (:REWRITE NOT-INCLUDE-RP-MEANS-RP-SYNTAXP-LST)\n (:DEFINITION INCLUDE-FNC-SUBTERMS)\n\n (:REWRITE NOT-INCLUDE-RP)\n\n rp-equal-cnt\n ex-from-rp-loose\n ex-from-rp)))))\n\n (defthm rp-syntaxp-f2-meta-fix-pps\n (implies (rp-syntaxp term)\n (and (rp-syntaxp (mv-nth 0 (f2-meta-fix-pps term)))\n (rp-syntaxp (mv-nth 1 (f2-meta-fix-pps term)))))\n :hints ((\"Goal\"\n :do-not-induct t\n :induct (f2-meta-fix-pps term)\n :in-theory (e\/d (f2-meta-fix-pps)\n (rp-equal\n (:REWRITE DEFAULT-CDR)\n\n (:REWRITE DEFAULT-CAR)\n\n (:REWRITE RP-EQUAL-REFLEXIVE)\n (:DEFINITION TRUE-LISTP)\n (:TYPE-PRESCRIPTION RP-SYNTAXP)\n (:TYPE-PRESCRIPTION EX-FROM-SYNP)\n (:REWRITE RP-EQUAL-CNT-IS-RP-EQUAL)\n\n (:TYPE-PRESCRIPTION IS-RP$INLINE)\n (:TYPE-PRESCRIPTION IS-RP-LOOSE$INLINE)\n (:REWRITE IS-RP-PSEUDO-TERMP)\n\n (:REWRITE NOT-INCLUDE-RP-MEANS-RP-SYNTAXP)\n (:DEFINITION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC-SUBTERMS)\n (:REWRITE NOT-INCLUDE-RP-MEANS-RP-SYNTAXP-LST)\n (:DEFINITION INCLUDE-FNC-SUBTERMS)\n\n (:REWRITE NOT-INCLUDE-RP)\n\n rp-equal-cnt\n ex-from-rp-loose\n ex-from-rp)))))\n\n (defthm rp-syntaxp-f2-meta-main\n (implies (rp-syntaxp term)\n (rp-syntaxp (mv-nth 0 (f2-meta-main term))))\n :hints ((\"Goal\"\n :in-theory (e\/d (f2-meta-main)\n ()))))\n\n (defthm rp-syntaxp-d2-meta-main\n (implies (rp-syntaxp term)\n (rp-syntaxp (mv-nth 0 (d2-meta-main term))))\n :hints ((\"Goal\"\n :in-theory (e\/d (d2-meta-main)\n ()))))))||#\n\n#|(local\n (encapsulate\n nil\n\n (local\n (defthm lemma1\n (and (not (is-falist (cons 'p+ rest)))\n (not (is-falist (cons '-- rest)))\n (not (is-falist (cons 'b+ rest)))\n (not (is-falist (cons 'merge-b+ rest))))))\n\n (local\n (defthm all-falist-consistent-F2-PP+-OF-X-AND-REST\n (implies (and (all-falist-consistent x)\n (all-falist-consistent rest))\n (all-falist-consistent (f2-pp+-of-x-and-rest x rest term)))\n :hints ((\"Goal\"\n :in-theory (e\/d (F2-PP+-OF-X-AND-REST)\n (is-falist))))))\n\n (local\n (defthm all-falist-consistent-f2-meta-fix-pps-aux\n (implies (all-falist-consistent term)\n (and (all-falist-consistent (mv-nth 0 (f2-meta-fix-pps-aux term)))\n (all-falist-consistent (mv-nth 1 (f2-meta-fix-pps-aux term)))))\n :hints ((\"Goal\"\n :do-not-induct t\n :induct (f2-meta-fix-pps-aux term)\n :in-theory (e\/d (f2-meta-fix-pps-aux)\n (rp-equal\n IS-FALIST\n FALIST-CONSISTENT\n (:REWRITE DEFAULT-CDR)\n\n (:REWRITE DEFAULT-CAR)\n\n (:REWRITE RP-EQUAL-REFLEXIVE)\n (:DEFINITION TRUE-LISTP)\n (:TYPE-PRESCRIPTION ALL-FALIST-CONSISTENT)\n (:TYPE-PRESCRIPTION EX-FROM-SYNP)\n (:REWRITE RP-EQUAL-CNT-IS-RP-EQUAL)\n\n (:DEFINITION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC-SUBTERMS)\n (:REWRITE NOT-INCLUDE-RP-MEANS-RP-SYNTAXP-LST)\n rp-equal-cnt\n ex-from-rp-loose\n (:REWRITE\n NOT-INCLUDE-FALIST-ALL-FALIST-CONSISTENT)\n (:REWRITE\n NOT-INCLUDE-FALIST-ALL-FALIST-CONSISTENT-LST)\n (:REWRITE\n CDR-TERM-IS-ALL-FALIST-CONSISTENT-LST)\n (:DEFINITION INCLUDE-FNC-SUBTERMS)\n ex-from-rp))))))\n\n (local\n (defthm all-falist-consistent-f2-meta-fix-pps\n (implies (all-falist-consistent term)\n (and (all-falist-consistent (mv-nth 0 (f2-meta-fix-pps term)))\n (all-falist-consistent (mv-nth 1 (f2-meta-fix-pps term)))))\n :hints ((\"Goal\"\n :do-not-induct t\n :induct (f2-meta-fix-pps term)\n :in-theory (e\/d (f2-meta-fix-pps)\n (rp-equal\n IS-FALIST\n FALIST-CONSISTENT\n (:REWRITE DEFAULT-CDR)\n (:REWRITE DEFAULT-CAR)\n (:REWRITE RP-EQUAL-REFLEXIVE)\n (:DEFINITION TRUE-LISTP)\n (:TYPE-PRESCRIPTION ALL-FALIST-CONSISTENT)\n (:TYPE-PRESCRIPTION EX-FROM-SYNP)\n (:REWRITE RP-EQUAL-CNT-IS-RP-EQUAL)\n (:DEFINITION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC-SUBTERMS)\n (:REWRITE NOT-INCLUDE-RP-MEANS-RP-SYNTAXP-LST)\n rp-equal-cnt\n ex-from-rp-loose\n (:REWRITE\n NOT-INCLUDE-FALIST-ALL-FALIST-CONSISTENT)\n (:REWRITE\n NOT-INCLUDE-FALIST-ALL-FALIST-CONSISTENT-LST)\n (:REWRITE\n CDR-TERM-IS-ALL-FALIST-CONSISTENT-LST)\n (:DEFINITION INCLUDE-FNC-SUBTERMS)\n ex-from-rp))))))\n\n (defthm all-falist-consistent-f2-meta-main\n (implies (all-falist-consistent term)\n (all-falist-consistent (mv-nth 0 (f2-meta-main term))))\n :hints ((\"Goal\"\n :in-theory (e\/d (f2-meta-main)\n ()))))\n\n (defthm all-falist-consistent-d2-meta-main\n (implies (all-falist-consistent term)\n (all-falist-consistent (mv-nth 0 (d2-meta-main term))))\n :hints ((\"Goal\"\n :in-theory (e\/d (d2-meta-main)\n ()))))))||#\n\n(local\n (encapsulate\n nil\n (local\n (defthm dont-rw-syntaxp-get-coughed-dont-rw\n (dont-rw-syntaxp (get-coughed-dont-rw term))\n :hints ((\"goal\"\n :in-theory (e\/d (get-coughed-dont-rw) ())))))\n\n (defthm dont-rw-syntaxp-f2-meta-main\n (dont-rw-syntaxp (mv-nth 1 (f2-meta-main term)))\n :hints ((\"Goal\"\n :in-theory (e\/d (f2-meta-main) ()))))\n\n (defthm dont-rw-syntaxp-d2-meta-main\n (dont-rw-syntaxp (mv-nth 1 (d2-meta-main term)))\n :hints ((\"Goal\"\n :in-theory (e\/d (d2-meta-main) ()))))))\n\n(local\n (encapsulate\n nil\n\n (local\n (include-book \"..\/greedy-lemmas\"))\n\n (local\n (in-theory (disable f2 f2-new d2-new d2 m2 sum -- pp-sum)))\n\n (local\n (defthmd rp-evlt-of-ex-from-rp-reverse-2\n (implies (syntaxp (or (atom x)\n (equal x '(CAR (CDR (EX-FROM-RP TERM))))))\n (equal (rp-evlt x a)\n (rp-evlt (ex-from-rp x) a)))\n :hints ((\"Goal\"\n :in-theory (e\/d (ex-from-rp\n is-rp) ())))))\n\n (local\n (defthm eval-of----when-f2-meta-formula-checks\n (implies (and (CONSP X)\n (EQUAL (CAR X) '--)\n (CONSP (CDR X))\n (NOT (CDDR X))\n (rp-evl-meta-extract-global-facts)\n (f2-meta-formula-checks state))\n (equal (rp-evlt x a)\n (-- (rp-evlt (cadr x) a))))\n :hints ((\"Goal\"\n :in-theory (e\/d () ())))))\n\n (local\n (defthm eval-of-b+-when-f2-meta-formula-checks\n (implies (and (CONSP X)\n (EQUAL (CAR X) 'b+)\n (CONSP (CDR X))\n (CONSP (CdDR X))\n (NOT (CDdDR X))\n (rp-evl-meta-extract-global-facts)\n (f2-meta-formula-checks state))\n (equal (rp-evlt x a)\n (b+ (rp-evlt (cadr x) a)\n (rp-evlt (caddr x) a))))\n :hints ((\"Goal\"\n :in-theory (e\/d () ())))))\n\n (local\n (defthm eval-of-f2-when-f2-meta-formula-checks\n (implies (and (CONSP X)\n (EQUAL (CAR X) 'f2)\n (CONSP (CDR X))\n (NOT (CDDR X))\n (rp-evl-meta-extract-global-facts)\n (f2-meta-formula-checks state)\n )\n (equal (rp-evlt x a)\n (f2 (rp-evlt (cadr x) a))))\n :hints ((\"Goal\"\n :in-theory (e\/d () ())))))\n\n (local\n (defthm eval-of-d2-when-f2-meta-formula-checks\n (implies (and (CONSP X)\n (EQUAL (CAR X) 'd2)\n (CONSP (CDR X))\n (NOT (CDDR X))\n (rp-evl-meta-extract-global-facts)\n (f2-meta-formula-checks state)\n )\n (equal (rp-evlt x a)\n (d2 (rp-evlt (cadr x) a))))\n :hints ((\"Goal\"\n :in-theory (e\/d () ())))))\n\n (local\n (defthm eval-of-f2-new-when-f2-meta-formula-checks\n (implies (and (CONSP X)\n (EQUAL (CAR X) 'f2-new)\n (CONSP (CDR X))\n (NOT (CDDR X))\n (rp-evl-meta-extract-global-facts)\n (f2-meta-formula-checks state)\n )\n (equal (rp-evlt x a)\n (f2-new (rp-evlt (cadr x) a))))\n :hints ((\"Goal\"\n :in-theory (e\/d () ())))))\n (local\n (defthm eval-of-d2-new-when-f2-meta-formula-checks\n (implies (and (CONSP X)\n (EQUAL (CAR X) 'd2-new)\n (CONSP (CDR X))\n (NOT (CDDR X))\n (rp-evl-meta-extract-global-facts)\n (f2-meta-formula-checks state)\n )\n (equal (rp-evlt x a)\n (d2-new (rp-evlt (cadr x) a))))\n :hints ((\"Goal\"\n :in-theory (e\/d () ())))))\n\n (local\n (defthm eval-of-pp+-when-f2-meta-formula-checks\n (implies (and (CONSP X)\n (EQUAL (CAR X) 'p+)\n (CONSP (CDR X))\n (CONSP (CdDR X))\n (NOT (CDdDR X))\n (rp-evl-meta-extract-global-facts)\n (f2-meta-formula-checks state))\n (equal (rp-evlt x a)\n (p+ (rp-evlt (cadr x) a)\n (rp-evlt (caddr x) a))))\n :hints ((\"Goal\"\n :in-theory (e\/d () ())))))\n\n (local\n (defthm rp-evl-of-rp-equal-derived\n (let ((term1 (CADR (EX-FROM-RP TERM)))\n (term2 (CADDR (EX-FROM-RP TERM))))\n (IMPLIES (AND (RP-TERMP TERM1)\n (RP-TERMP TERM2)\n (RP-EQUAL TERM1 TERM2))\n (EQUAL (RP-EVLt TERM2 A)\n (RP-EVLt TERM1 A))))\n :hints ((\"Goal\"\n :use ((:instance rp-evl-of-rp-equal\n (term1 (CADR (EX-FROM-RP TERM)))\n (term2 (CADDR (EX-FROM-RP TERM)))))\n :in-theory (e\/d () ())))))\n\n (local\n (defthm rp-evl-of-rp-equal-derived-2\n (let ((term1 (CADR (EX-FROM-RP TERM)))\n (term2 (CADR (CADDR (EX-FROM-RP TERM)))))\n (IMPLIES (AND (RP-TERMP TERM1)\n (RP-TERMP TERM2)\n (RP-EQUAL TERM1 TERM2))\n (EQUAL (RP-EVLt TERM2 A)\n (RP-EVLt TERM1 A))))\n :hints ((\"Goal\"\n :use ((:instance rp-evl-of-rp-equal\n (term1 (CADR (EX-FROM-RP TERM)))\n (term2 (CADR (CADDR (EX-FROM-RP TERM))))))\n :in-theory (e\/d () ())))))\n\n (local\n (defthm rp-evl-of-rp-equal-derived-3\n (let ((term1 (CADR (CADR (EX-FROM-RP TERM))))\n (term2 (CADR (CADDR (EX-FROM-RP TERM)))))\n (IMPLIES (AND (RP-TERMP TERM1)\n (RP-TERMP TERM2)\n (RP-EQUAL TERM1 TERM2))\n (EQUAL (RP-EVL TERM2 A)\n (RP-EVL TERM1 A))))\n :hints ((\"Goal\"\n :use ((:instance rp-evl-of-rp-equal\n (term1 (CADR (CADR (EX-FROM-RP TERM))))\n (term2 (CADR (CADDR (EX-FROM-RP TERM))))))\n :in-theory (e\/d () ())))))\n\n (local\n (defthm rp-evl-of-rp-equal-derived-4\n (let ((term1 (CADR (CADR (EX-FROM-RP TERM))))\n (term2 (CADR (CADR (CADDR (EX-FROM-RP TERM))))))\n (IMPLIES (AND (RP-TERMP TERM1)\n (RP-TERMP TERM2)\n (RP-EQUAL TERM1 TERM2))\n (EQUAL (RP-EVLt TERM2 A)\n (RP-EVLt TERM1 A))))\n :hints ((\"Goal\"\n :use ((:instance rp-evl-of-rp-equal\n (term1 (CADR (CADR (EX-FROM-RP TERM))))\n (term2 (CADR (CADR (CADDR (EX-FROM-RP TERM)))))))\n :in-theory (e\/d () ())))))\n\n (local\n (defthm dumb-lemma1\n (implies (and (EQUAL (CAR term) '--)\n (consp term)\n (consp (cdr term))\n (not (cddr term))\n (f2-meta-formula-checks state)\n (rp-termp term)\n (rp-evl-meta-extract-global-facts :state state))\n (equal (RP-EVLt (EX-FROM-RP term) A)\n (-- (rp-evlt (cadr term) a))))))\n\n (local\n (defthm lemma2\n (implies (and (integerp x)\n (evenp2 x))\n (equal (equal (sum (* 1\/2 x)\n (* 1\/2 x))\n (type-fix x))\n t))\n :hints ((\"Goal\"\n :in-theory (e\/d (sum evenp2 type-fix) ())))))\n\n (local\n (defthm rp-evl-of-F2-PP+-OF-X-AND-REST\n (implies (and (f2-meta-formula-checks state)\n (rp-evl-meta-extract-global-facts :state state))\n (equal (sum b (rp-evlt (f2-pp+-of-x-and-rest x rest term) a))\n (sum b\n (rp-evlt x a)\n (rp-evlt rest a))))\n :hints ((\"Goal\"\n :in-theory (e\/d (f2-pp+-of-x-and-rest) ())))))\n\n (local\n (defthm lemma3\n (implies (and (EQUAL (CAR term) 'QUOTE)\n (consp term)\n (consp (cdr term)))\n (equal (rp-evlt (ex-from-rp term) a)\n (cadr term)))\n ))\n\n (local\n (defthm lemma4\n (implies (and (integerp x)\n (EVENP2 x))\n (equal (sum (* 1\/2 x)\n (* 1\/2 x)\n y)\n (sum x y)))\n :hints ((\"Goal\"\n :in-theory (e\/d (sum evenp2) ())))))\n\n (defthm rp-trans-when-quote\n (implies (equal (car x) 'quote)\n (equal (rp-trans x) x))\n :rule-classes :forward-chaining)\n \n (defthm rp-evl-of-f2-meta-fix-pps-aux\n (implies (and (f2-meta-formula-checks state)\n (rp-termp term)\n (rp-evl-meta-extract-global-facts :state state))\n (equal (sum (rp-evlt (mv-nth 0 (f2-meta-fix-pps-aux term)) a)\n (rp-evlt (mv-nth 1 (f2-meta-fix-pps-aux term)) a)\n (rp-evlt (mv-nth 1 (f2-meta-fix-pps-aux term)) a))\n (type-fix (rp-evlt term a))))\n :hints ((\"Goal\"\n :do-not-induct t\n :induct (f2-meta-fix-pps-aux term)\n :expand ((:free (x) (rp-trans (cons 'quote x))))\n :in-theory (e\/d (f2-meta-fix-pps-aux\n rp-evlt-of-ex-from-rp-reverse-2\n ex-from-rp-loose-is-ex-from-rp)\n (rp-equal\n (:e tau-system)\n rp-trans\n RP-EVLT-OF-EX-FROM-RP\n --\n f2 m2 sum\n type-fix\n (:TYPE-PRESCRIPTION B+)\n (:REWRITE ACL2::O-P-O-INFP-CAR)\n (:TYPE-PRESCRIPTION RP-EQUAL)\n (:TYPE-PRESCRIPTION TYPE-FIX)\n (:TYPE-PRESCRIPTION F2-META-FORMULA-CHECKS)\n (:REWRITE ACL2::APPLY$-BADGEP-PROPERTIES . 1)\n (:DEFINITION ACL2::APPLY$-BADGEP)\n \n (:TYPE-PRESCRIPTION RP-TERM-LISTP)\n (:REWRITE\n EVAL-OF-B+-WHEN-F2-META-FORMULA-CHECKS)\n (:REWRITE RP-EVL-OF-UNARY-\/-CALL)\n (:REWRITE RP-EVL-OF-UNARY---CALL)\n (:REWRITE RP-EVL-OF-TYPESPEC-CHECK-CALL)\n (:REWRITE RP-EVL-OF-SYNP-CALL)\n (:REWRITE RP-EVL-OF-SYMBOLP-CALL)\n (:REWRITE RP-EVL-OF-SYMBOL-PACKAGE-NAME-CALL)\n (:REWRITE RP-EVL-OF-SYMBOL-NAME-CALL)\n (:TYPE-PRESCRIPTION EX-FROM-SYNP)\n (:REWRITE DEFAULT-CDR)\n (:DEFINITION EX-FROM-RP)\n (:DEFINITION INCLUDE-FNC)\n (:REWRITE NOT-INCLUDE-RP)\n (:TYPE-PRESCRIPTION INCLUDE-FNC)\n EVL-OF-EXTRACT-FROM-RP-2\n RP-EVL-OF-VARIABLE\n (:REWRITE RP-EQUAL-REFLEXIVE)\n (:REWRITE DEFAULT-CAR)\n (:DEFINITION RP-TERMP)\n \n (:REWRITE EX-FROM-SYNP-LEMMA1)\n (:TYPE-PRESCRIPTION RP-TERMP)\n (:DEFINITION IS-SYNP$INLINE)\n (:REWRITE RP-TERM-LISTP-IS-TRUE-LISTP)\n EVL-OF-EXTRACT-FROM-RP)))))\n\n (local\n (defthmd dumb-lemma2\n (implies (EQUAL (EX-FROM-RP term) ''0)\n (equal (rp-evlt term a) 0))\n :hints ((\"Goal\"\n :do-not-induct t\n :in-theory (e\/d (rp-evlt-of-ex-from-rp-reverse-2)\n (RP-EVLT-OF-EX-FROM-RP))))))\n\n (local\n (defthm dumb-lemma3\n (implies (and (EQUAL (EX-FROM-RP (MV-NTH 0 (F2-META-FIX-PPS-AUX TERM)))\n ''0)\n (f2-meta-formula-checks state)\n \n (rp-termp term)\n (rp-evl-meta-extract-global-facts :state state))\n (equal (SUM (RP-EVLt (MV-NTH 1 (F2-META-FIX-PPS-AUX TERM))\n A)\n (RP-EVLt (MV-NTH 1 (F2-META-FIX-PPS-AUX TERM))\n A))\n (type-fix (rp-evlt term a))))\n :hints ((\"Goal\"\n :use ((:instance rp-evl-of-f2-meta-fix-pps-aux))\n :in-theory (e\/d (dumb-lemma2) (type-fix))))))\n\n (defthm rp-evl-of-f2-meta-fix-pps\n (implies (and (f2-meta-formula-checks state)\n \n (rp-termp term)\n (rp-evl-meta-extract-global-facts :state state))\n (equal (sum (rp-evlt (mv-nth 0 (f2-meta-fix-pps term)) a)\n (rp-evlt (mv-nth 1 (f2-meta-fix-pps term)) a)\n (rp-evlt (mv-nth 1 (f2-meta-fix-pps term)) a))\n (type-fix (rp-evlt term a))))\n :otf-flg t\n :hints ((\"Goal\"\n :do-not-induct t\n :induct (f2-meta-fix-pps term)\n :in-theory (e\/d (f2-meta-fix-pps\n rp-evlt-of-ex-from-rp-reverse-2\n ex-from-rp-loose-is-ex-from-rp)\n (rp-equal\n RP-EVLT-OF-EX-FROM-RP\n --\n f2 m2 sum\n (:REWRITE RP-EVL-OF-VARIABLE)\n EVL-OF-EXTRACT-FROM-RP\n type-fix)))))\n\n (local\n (defthm dumb-lemma4\n (implies (and (f2-meta-formula-checks state)\n \n (rp-termp term)\n (rp-evl-meta-extract-global-facts :state state)\n (EQUAL (MV-NTH 1 (F2-META-FIX-PPS term)) ''0))\n (equal (type-fix (rp-evlt (mv-nth 0 (f2-meta-fix-pps term)) a))\n (type-fix (rp-evlt term a))))\n :hints ((\"Goal\"\n :use ((:instance rp-evl-of-f2-meta-fix-pps))\n :in-theory (e\/d () (type-fix\n RP-EVL-OF-VARIABLE))))))\n\n (local\n (defthm dumb-lemma5\n (implies (equal (type-fix a)\n (type-fix b))\n (equal (equal (f2 a) (f2 b))\n t))\n :hints ((\"Goal\"\n :in-theory (e\/d (type-fix f2) ())))))\n\n (local\n (defthm dumb-lemma5-for-d2\n (implies (equal (type-fix a)\n (type-fix b))\n (equal (equal (d2 a) (d2 b))\n t))\n :hints ((\"Goal\"\n :in-theory (e\/d (type-fix d2\n m2-when-not-type-p\n f2-when-not-type-p) ())))))\n\n (defthm rp-evl-of-f2-meta-main\n (implies (and (f2-meta-formula-checks state)\n \n (rp-termp term)\n (rp-evl-meta-extract-global-facts :state state))\n (equal (rp-evlt (mv-nth 0 (f2-meta-main term)) a)\n (rp-evlt term a)))\n :otf-flg t\n :hints ((\"Goal\"\n :in-theory (e\/d (f2-meta-main\n push-elements-into-f2)\n (type-fix)))))\n\n (defthm rp-evl-of-d2-meta-main\n (implies (and (f2-meta-formula-checks state)\n \n (rp-termp term)\n (rp-evl-meta-extract-global-facts :state state))\n (equal (rp-evlt (mv-nth 0 (d2-meta-main term)) a)\n (rp-evlt term a)))\n :otf-flg t\n :hints ((\"Goal\"\n :in-theory (e\/d (d2-meta-main\n push-elements-into-d2)\n (type-fix\n EX-FROM-RP-LEMMA1\n \n \n (:DEFINITION TRUE-LISTP)\n; (:REWRITE SUM-COMM-1-WITH-LOOP-STOPPER)\n; (:REWRITE SUM-COMM-2-WITH-LOOP-STOPPER)\n (:TYPE-PRESCRIPTION F2-META-FORMULA-CHECKS)\n (:TYPE-PRESCRIPTION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION IS-RP$INLINE)\n (:TYPE-PRESCRIPTION RP-TERM-LISTP)\n (:TYPE-PRESCRIPTION RP-TERMP)\n \n )))))))\n\n(local\n (encapsulate\n nil\n\n (local\n (defthm lemma1\n (and (not (is-if (cons 'p+ rest)))\n (not (is-rp (cons 'p+ rest)))\n (not (is-rp (cons 'merge-b+ rest)))\n (not (is-if (cons 'merge-b+ rest)))\n (not (is-rp (cons 'b+ rest)))\n (not (is-if (cons 'b+ rest)))\n (not (is-rp (cons '-- rest)))\n (not (is-if (cons '-- rest)))\n (not (is-rp (cons 'f2 rest)))\n (not (is-if (cons 'f2 rest)))\n (not (is-rp (cons 'f2-new rest)))\n (not (is-if (cons 'f2-new rest))))\n :hints ((\"Goal\"\n :in-theory (e\/d (is-if is-rp) ())))))\n\n (local\n (defthm lemma2\n (implies (and (f2-meta-formula-checks state)\n (rp-evl-meta-extract-global-facts :state state))\n (equal (eval-and-all (context-from-rp (list 'rp ''evenp2 term) NIL) A)\n (and (evenp2 (RP-EVLt term A))\n (eval-and-all (context-from-rp term NIL) A))))\n :hints ((\"Goal\"\n :do-not-induct t\n :in-theory (e\/d (eval-and-all\n context-from-rp\n is-rp)\n (evenp2))))))\n\n (local\n (defthm valid-sc-F2-PP+-OF-X-AND-REST\n (implies (and (valid-sc x a)\n (valid-sc rest a))\n (valid-sc (f2-pp+-of-x-and-rest x rest term) a))\n :hints ((\"Goal\"\n :in-theory (e\/d (F2-PP+-OF-X-AND-REST) ())))))\n\n (local\n (defthm lemma3\n (IMPLIES (AND (CONSP term)\n (EQUAL (CAR term)\n '--)\n (CONSP (CDR term))\n (NOT (CDDR term))\n (VALID-SC TERM A))\n (VALID-SC (CADR term)\n A))))\n\n \n\n (local\n (defthm valid-sc-f2-meta-fix-pps-aux\n (implies (and (valid-sc term a)\n (rp-termp term))\n (and (valid-sc (mv-nth 0 (f2-meta-fix-pps-aux term)) a)\n (valid-sc (mv-nth 1 (f2-meta-fix-pps-aux term)) a)))\n :hints ((\"Goal\"\n :do-not-induct t\n :induct (f2-meta-fix-pps-aux term)\n :do-not '( generalize fertilize)\n :expand ((:free (first rest)\n (valid-sc (cons first rest) a)))\n :in-theory (e\/d (f2-meta-fix-pps-aux\n ex-from-rp-loose-is-ex-from-rp)\n (rp-equal\n (:REWRITE ACL2::O-P-O-INFP-CAR)\n (:REWRITE ACL2::APPLY$-BADGEP-PROPERTIES . 1)\n (:REWRITE VALID-SC-EX-FROM-RP-2)\n (:DEFINITION EVAL-AND-ALL)\n (:REWRITE IS-IF-RP-TERMP)\n (:DEFINITION ACL2::APPLY$-BADGEP)\n (:REWRITE\n ACL2::INTEGER-LISTP-IMPLIES-INTEGERP)\n\n (:REWRITE RP-TERMP-SHOULD-TERM-BE-IN-CONS-LHS)\n (:TYPE-PRESCRIPTION O<)\n (:TYPE-PRESCRIPTION EVENP2)\n (:TYPE-PRESCRIPTION RP-TERM-LISTP)\n (:TYPE-PRESCRIPTION FALIST-CONSISTENT)\n (:REWRITE COMMUTATIVITY-OF-*)\n rp-termp\n valid-sc\n (:e tau-system)\n (:DEFINITION NOT)\n (:TYPE-PRESCRIPTION O-P)\n (:FORWARD-CHAINING RP-TERMP-IMPLIES)\n (:FORWARD-CHAINING\n EXTRACT-FROM-SYNP-PSEUDO-TERM-LISTP)\n;(:META ACL2::MV-NTH-CONS-META)\n (:DEFINITION evenp2)\n (:REWRITE DEFAULT-*-2)\n (:REWRITE DEFAULT-*-1)\n (:REWRITE ACL2::FN-CHECK-DEF-NOT-QUOTE)\n (:TYPE-PRESCRIPTION RP-TERMP)\n (:REWRITE DEFAULT-CDR)\n \n (:TYPE-PRESCRIPTION RP-EQUAL-CNT)\n (:REWRITE QUOTEP-TERM-WITH-EX-FROM-RP)\n (:REWRITE DEFAULT-CAR)\n (:REWRITE RP-EQUAL-REFLEXIVE)\n (:DEFINITION TRUE-LISTP)\n (:TYPE-PRESCRIPTION VALID-SC)\n (:TYPE-PRESCRIPTION EX-FROM-SYNP)\n (:REWRITE RP-EQUAL-CNT-IS-RP-EQUAL)\n (:TYPE-PRESCRIPTION IS-RP$INLINE)\n (:TYPE-PRESCRIPTION IS-RP-LOOSE$INLINE)\n (:REWRITE IS-RP-PSEUDO-TERMP)\n \n (:DEFINITION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC-SUBTERMS)\n \n (:DEFINITION INCLUDE-FNC-SUBTERMS)\n (:REWRITE NOT-INCLUDE-RP)\n rp-equal-cnt\n ex-from-rp-loose\n ex-from-rp))))))\n\n (local\n (defthm valid-sc-f2-meta-fix-pps\n (implies (and (valid-sc term a)\n (rp-termp term))\n (and (valid-sc (mv-nth 0 (f2-meta-fix-pps term)) a)\n (valid-sc (mv-nth 1 (f2-meta-fix-pps term)) a)))\n :hints ((\"Goal\"\n :do-not-induct t\n :induct (f2-meta-fix-pps term)\n :expand ((:free (first rest)\n (valid-sc (cons first rest) a)))\n :in-theory (e\/d (f2-meta-fix-pps\n ex-from-rp-loose-is-ex-from-rp)\n (rp-equal\n valid-sc\n (:REWRITE DEFAULT-CDR)\n \n (:TYPE-PRESCRIPTION RP-EQUAL-CNT)\n (:REWRITE QUOTEP-TERM-WITH-EX-FROM-RP)\n (:REWRITE DEFAULT-CAR)\n (:REWRITE RP-EQUAL-REFLEXIVE)\n (:DEFINITION TRUE-LISTP)\n (:TYPE-PRESCRIPTION VALID-SC)\n (:TYPE-PRESCRIPTION EX-FROM-SYNP)\n (:REWRITE RP-EQUAL-CNT-IS-RP-EQUAL)\n (:TYPE-PRESCRIPTION IS-RP$INLINE)\n (:TYPE-PRESCRIPTION IS-RP-LOOSE$INLINE)\n (:REWRITE IS-RP-PSEUDO-TERMP)\n \n (:DEFINITION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC)\n (:TYPE-PRESCRIPTION INCLUDE-FNC-SUBTERMS)\n \n (:DEFINITION INCLUDE-FNC-SUBTERMS)\n (:REWRITE NOT-INCLUDE-RP)\n rp-equal-cnt\n ex-from-rp-loose\n ex-from-rp))))))\n\n (defthm valid-sc-f2-meta-main\n (implies (and (valid-sc term a)\n (rp-termp term))\n (valid-sc (mv-nth 0 (f2-meta-main term)) a))\n :hints ((\"Goal\"\n :in-theory (e\/d (f2-meta-main\n is-rp\n is-if)\n ()))))\n\n ;;;;;\n\n (local\n (defthm evenp-f2-meta-fix-pps\n (implies (and (f2-meta-formula-checks state)\n \n (rp-termp term)\n (rp-evl-meta-extract-global-facts :state state))\n (equal (evenp2 (sum (rp-evlt (mv-nth 0 (f2-meta-fix-pps term)) a)\n (rp-evlt (mv-nth 1 (f2-meta-fix-pps term)) a)\n (rp-evlt (mv-nth 1 (f2-meta-fix-pps term)) a)))\n (evenp2 (type-fix (rp-evlt term a)))))\n :hints ((\"Goal\"\n :in-theory (e\/d () (evenp2\n type-fix\n sum))))))\n\n (local\n (include-book \"..\/greedy-lemmas\"))\n\n (local\n (defthm evenp-f2-meta-fix-pps-lemma1\n (implies (and (f2-meta-formula-checks state)\n \n (rp-termp term)\n (equal (mv-nth 1 (f2-meta-fix-pps term)) ''0)\n (rp-evl-meta-extract-global-facts :state state))\n (equal (evenp2 (rp-evlt (mv-nth 0 (f2-meta-fix-pps term)) a))\n (evenp2 (rp-evlt term a))))\n :hints ((\"Goal\"\n :use ((:instance evenp-f2-meta-fix-pps))\n :in-theory (e\/d () (evenp2\n RP-EVL-OF-VARIABLE\n evenp-f2-meta-fix-pps\n type-fix\n sum))))))\n\n (local\n (defthm evenp-f2-meta-fix-pps-lemma2\n (implies (and (f2-meta-formula-checks state)\n \n (rp-termp term)\n (rp-evl-meta-extract-global-facts :state state))\n (equal (evenp2 (rp-evlt (mv-nth 0 (f2-meta-fix-pps term)) a))\n (evenp2 (rp-evlt term a))))\n :hints ((\"Goal\"\n :use ((:instance evenp-f2-meta-fix-pps))\n :in-theory (e\/d () (evenp2\n RP-EVL-OF-VARIABLE\n evenp-f2-meta-fix-pps\n type-fix\n sum))))))\n\n (local\n (defthm valid-sc-of-d2-new\n (implies (case-match term (('d2-new &) t))\n (equal (valid-sc term a)\n (valid-sc (cadr term) a)))\n :hints ((\"Goal\"\n :in-theory (e\/d (valid-sc is-rp\n is-if) ())))))\n\n (defthm valid-sc-d2-meta-main\n (implies (and (valid-sc term a)\n (f2-meta-formula-checks state)\n (rp-termp term)\n (rp-evl-meta-extract-global-facts :state state)\n )\n (valid-sc (mv-nth 0 (d2-meta-main term)) a))\n :hints ((\"Goal\"\n :expand ((:free (rest) (VALID-SC (LIST 'D2 rest) A))\n (:free (rest) (VALID-SC (cons 'MERGE-B+ rest) A)))\n :in-theory (e\/d (d2-meta-main\n valid-sc-single-step\n is-rp\n is-if)\n (evenp2\n valid-sc\n EX-FROM-RP-LEMMA1)))))))\n\n;;;;;;;;;\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defthm f2-meta-main-valid-rp-meta-rulep\n (implies (and (f2-meta-formula-checks state)\n (rp-evl-meta-extract-global-facts :state state))\n (let ((rule (make rp-meta-rule-rec\n :fnc 'f2-meta-main\n :trig-fnc 'f2-new\n :dont-rw t\n :valid-syntax t)))\n (and (valid-rp-meta-rulep rule state)\n (rp-meta-valid-syntaxp-sk rule state))))\n :otf-flg t\n :hints ((\"Goal\"\n :in-theory (e\/d (rp-meta-valid-syntaxp)\n (rp-termp\n rp-term-listp\n \n f2-meta-main\n valid-sc)))))\n\n(defthm d2-meta-main-valid-rp-meta-rulep\n (implies (and (f2-meta-formula-checks state)\n (rp-evl-meta-extract-global-facts :state state))\n (let ((rule (make rp-meta-rule-rec\n :fnc 'd2-meta-main\n :trig-fnc 'd2-new\n :dont-rw t\n :valid-syntax t)))\n (and (valid-rp-meta-rulep rule state)\n (rp-meta-valid-syntaxp-sk rule state))))\n :otf-flg t\n :hints ((\"Goal\"\n :in-theory (e\/d (rp-meta-valid-syntaxp)\n (rp-termp\n rp-term-listp\n \n d2-meta-main\n valid-sc)))))\n\n(rp::add-meta-rules\n f2-meta-formula-checks\n (list\n (make rp-meta-rule-rec\n :fnc 'f2-meta-main\n :trig-fnc 'f2-new\n :dont-rw t\n :valid-syntax t)\n (make rp-meta-rule-rec\n :fnc 'd2-meta-main\n :trig-fnc 'd2-new\n :dont-rw t\n :valid-syntax t)))\n","avg_line_length":40.3098591549,"max_line_length":103,"alphanum_fraction":0.4113428225} +{"size":2294,"ext":"lisp","lang":"Common Lisp","max_stars_count":103.0,"content":";;;; cffi-types.lisp\n;;;;\n;;;; Author: Robert Smith\n\n(in-package #:magicl.cffi-types)\n\n;;; CFFI definitions to allow (COMPLEX SINGLE-FLOAT) and (COMPLEX\n;;; DOUBLE-FLOAT) to be interpreted efficiently across the Lisp-C\n;;; boundary.\n\n(cffi:defcstruct (complex-single-float :class foreign-complex-single-float)\n (real :float)\n (imag :float))\n\n(cffi:defctype complex-single-float (:struct complex-single-float))\n\n(defmethod cffi:translate-from-foreign (ptr (type foreign-complex-single-float))\n (cffi:with-foreign-slots ((real imag) ptr (:struct complex-single-float))\n (complex real imag)))\n\n(defmethod cffi:expand-from-foreign (ptr (type foreign-complex-single-float))\n `(cffi:with-foreign-slots ((real imag) ,ptr (:struct complex-single-float))\n (complex real imag)))\n\n(defmethod cffi:translate-into-foreign-memory (value (type foreign-complex-single-float) ptr)\n (cffi:with-foreign-slots ((real imag) ptr (:struct complex-single-float))\n (setf real (realpart value)\n imag (imagpart value))))\n\n(cffi:defcstruct (complex-double-float :class foreign-complex-double-float)\n (real :double)\n (imag :double))\n\n(cffi:defctype complex-double-float (:struct complex-double-float))\n\n(defmethod cffi:translate-from-foreign (ptr (type foreign-complex-double-float))\n (cffi:with-foreign-slots ((real imag) ptr (:struct complex-double-float))\n (complex real imag)))\n\n(defmethod cffi:expand-from-foreign (ptr (type foreign-complex-double-float))\n `(cffi:with-foreign-slots ((real imag) ,ptr (:struct complex-double-float))\n (complex real imag)))\n\n(defmethod cffi:translate-into-foreign-memory (value (type foreign-complex-double-float) ptr)\n (cffi:with-foreign-slots ((real imag) ptr (:struct complex-double-float))\n (setf real (realpart value)\n imag (imagpart value))))\n\n;;; A test function to see if the above stuff works.\n\n(cffi:defcfun (\"conjf\" %conjf) complex-single-float\n (z complex-single-float))\n\n;;; Establish the value types used in Fortran.\n\n(cffi:defctype fortran-int :int32)\n(cffi:defctype fortran-float :float)\n(cffi:defctype fortran-double :double)\n(cffi:defctype fortran-complex-float complex-single-float)\n(cffi:defctype fortran-complex-double complex-double-float)\n(cffi:defctype fortran-logical :int32)\n","avg_line_length":37.0,"max_line_length":93,"alphanum_fraction":0.7205754141} +{"size":7521,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":";;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; \n;;; Author : Dan Bothell\n;;; Copyright : (c) 2004 Dan Bothell\n;;; Availability: Covered by the GNU LGPL, see LGPL.txt\n;;; Address : Department of Psychology \n;;; : Carnegie Mellon University\n;;; : Pittsburgh, PA 15213-3890\n;;; : db30@andrew.cmu.edu\n;;; \n;;; \n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; \n;;; Filename : central-parameters.lisp\n;;; Version : 1.2\n;;; \n;;; Description : A module to hold parameters that could be used by more than\n;;; one module.\n;;; \n;;; Bugs : \n;;;\n;;; To do : \n;;; \n;;; ----- History -----\n;;;\n;;; 2004.10.17 Dan\n;;; : Creation.\n;;; 2005.01.09 Dan\n;;; : Moved the provide to the end.\n;;; 2006.01.17 Dan\n;;; : * Updated the version to 1.0 and modified the description.\n;;; 2008.07.23 Dan\n;;; : * Adding the register-subsymbolic-parameters command and the \n;;; : necessary changes to the module to record and verify that.\n;;; 2008.07.24 [1.1]\n;;; : * Updated the version number because of the change.\n;;; 2013.07.16 Dan [1.2]\n;;; : * Adding a system parameter :custom-defaults and changing the\n;;; : reset to secondary. Setting :custom-defaults to a list of \n;;; : parameter-value pairs as acceptable for sgp causes those \n;;; : to be set at the start of every model.\n;;; 2013.08.06 Dan\n;;; : * Renaming custom-defaults to starting-parameters since it \n;;; : doesn't actually change the default values and this name\n;;; : feels like a better description.\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;\n;;; General Docs:\n;;; \n;;; Creates a module to hold some of the critical parameters that may\n;;; be used by multiple modules:\n;;;\n;;; :esc Enable Subsymbolic Computation\n;;; :ol Optimized Learning\n;;; :er Enable Randomness\n;;;\n;;; Also sets the model parameters to the values provided in the :starting-parameters\n;;; system parameter for every model during the secondary reset.\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;\n;;; Public API:\n;;;\n;;; The three parameters :esc, :ol, and :er and also the system parameter :starting-parameters.\n;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;\n;;; Design Choices:\n;;; \n;;; \n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; \n;;; The code\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n#+:packaged-actr (in-package :act-r)\n#+(and :clean-actr (not :packaged-actr) :ALLEGRO-IDE) (in-package :cg-user)\n#-(or (not :clean-actr) :packaged-actr :ALLEGRO-IDE) (in-package :cl-user)\n\n(defvar *subsymbolic-parameter-values* nil)\n\n(defvar *user-default-parameter-list* nil)\n\n\n(defun test-user-defaults-parameter (params)\n (and (listp params)\n (evenp (length params))\n (let ((names (let ((i -1)) (mapcan (lambda (x) (incf i) (when (evenp i) (list x))) params))))\n (and\n (every 'keywordp names)\n (if (current-model)\n (notany (lambda (y)\n (eq :bad-parameter-name (car (no-output (sgp-fct (list y))))))\n names)\n (let ((name (define-model-fct (gensym) nil))\n (res nil))\n (with-model-eval name\n (setf res (notany (lambda (y)\n (eq :bad-parameter-name (car (no-output (sgp-fct (list y))))))\n names)))\n (delete-model-fct name)\n res))))))\n\n(create-system-parameter :starting-parameters :handler (simple-system-param-handler *user-default-parameter-list*)\n :documentation \"Parameter settings to apply at the start of every model.\"\n :valid-test 'test-user-defaults-parameter\n :warning \"A list that is valid for passing to sgp-fct.\"\n :default-value nil)\n\n(defstruct central-parameters\n esc ol er)\n\n(defun central-parameters-reset (instance)\n (schedule-event-relative 0 'check-for-esc-nil :maintenance t :output nil \n :priority :max :params (list instance))\n (when *user-default-parameter-list*\n (sgp-fct *user-default-parameter-list*)))\n\n(defun check-for-esc-nil (instance)\n (when (and (null (central-parameters-esc instance))\n (some (lambda (param)\n (let ((current (car (no-output (sgp-fct (list param))))))\n (and (not (eq current :BAD-PARAMETER-NAME))\n (not (equalp current (get-parameter-default-value param))))))\n *subsymbolic-parameter-values*))\n (model-warning \"Subsymbolic parameters have been set but :esc is currently nil.\")))\n\n(defun register-subsymbolic-parameters (&rest params)\n (dolist (param params)\n (when (and (valid-parameter-name param) \n (not (find param *subsymbolic-parameter-values*)))\n (push param *subsymbolic-parameter-values*))))\n\n(defun create-central-params (model-name)\n (declare (ignore model-name))\n (make-central-parameters))\n\n(defun central-parameters-params (instance param)\n (cond ((consp param)\n (case (car param)\n (:esc (setf (central-parameters-esc instance) (cdr param)))\n (:ol (setf (central-parameters-ol instance) (cdr param)))\n (:er (setf (central-parameters-er instance) (cdr param)))))\n (t\n (case param\n (:esc (central-parameters-esc instance))\n (:ol (central-parameters-ol instance))\n (:er (central-parameters-er instance))))))\n\n(define-module-fct 'central-parameters nil\n (list\n (define-parameter :esc :owner t :valid-test #'tornil :default-value nil\n :warning \"either t or nil\" :documentation \"Enable Subsymbolic Computations\")\n (define-parameter :er :owner t :valid-test #'tornil :default-value nil\n :warning \"either t or nil\" :documentation \"Enable Randomness\")\n (define-parameter :ol :owner t :valid-test #'(lambda (x) (or (tornil x) (posnum x)))\n :default-value t :warning \"either t, nil, or a positive number\"\n :documentation \"Optimized Learning\"))\n :version \"1.2\"\n :documentation \"a module that maintains parameters used by other modules\"\n :creation #'create-central-params\n :params #'central-parameters-params\n :reset (list nil 'central-parameters-reset))\n\n\n(provide \"CENTRAL-PARAMETERS\")\n\n#|\nThis library is free software; you can redistribute it and\/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; either\nversion 2.1 of the License, or (at your option) any later version.\n\nThis library is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this library; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n|#\n","avg_line_length":40.875,"max_line_length":114,"alphanum_fraction":0.5626911315} +{"size":798,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"; Ethereum -- Basics\n;\n; Copyright (C) 2019 Kestrel Institute (http:\/\/www.kestrel.edu)\n;\n; License: A 3-clause BSD license. See the LICENSE file distributed with ACL2.\n;\n; Author: Alessandro Coglio (coglio@kestrel.edu)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(in-package \"ETHEREUM\")\n\n(include-book \"kestrel\/utilities\/xdoc\/defxdoc-plus\" :dir :system)\n\n; the order of the following INCLUDE-BOOKs determines\n; the order of the subtopics of the BASICS topic below:\n(include-book \"scalars\")\n(include-book \"nibbles\")\n(include-book \"bytes\")\n(include-book \"words\")\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defxdoc+ basics\n :parents (ethereum)\n :short \"Some basic Ethereum notions and utilities.\"\n :order-subtopics t)\n","avg_line_length":28.5,"max_line_length":80,"alphanum_fraction":0.5852130326} +{"size":1033,"ext":"lisp","lang":"Common Lisp","max_stars_count":305.0,"content":"; Java Library\n;\n; Copyright (C) 2020 Kestrel Institute (http:\/\/www.kestrel.edu)\n;\n; License: A 3-clause BSD license. See the LICENSE file distributed with ACL2.\n;\n; Author: Alessandro Coglio (coglio@kestrel.edu)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(in-package \"ACL2\")\n\n(include-book \"factorial\")\n\n(include-book \"..\/atj\" :ttags (:open-output-channel! :oslib :quicklisp :quicklisp.osicat))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n; Specialize the input and output types of the factorial functions.\n\n(java::atj-main-function-type fact (:ainteger) :ainteger)\n\n(java::atj-main-function-type fact-tail (:ainteger :ainteger) :ainteger)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n; Generate Java code for the factorial functions, with testing code.\n\n(java::atj fact\n fact-tail\n :deep nil\n :guards t\n :java-class \"FactorialShallowGuarded\"\n :tests *fact-tests*)\n","avg_line_length":29.5142857143,"max_line_length":90,"alphanum_fraction":0.5246853824} +{"size":3772,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":";;; This file was automatically generated by SWIG (http:\/\/www.swig.org).\n;;; Version 3.0.10\n;;;\n;;; Do not make changes to this file unless you know what you are doing--modify\n;;; the SWIG interface file instead.\n\n(in-package #:cl-opencc-ffi)\n\n;;;SWIG wrapper code starts here\n\n(cl:defmacro defanonenum (cl:&body enums)\n \"Converts anonymous enums to defconstants.\"\n `(cl:progn ,@(cl:loop for value in enums\n for index = 0 then (cl:1+ index)\n when (cl:listp value) do (cl:setf index (cl:second value)\n value (cl:first value))\n collect `(cl:defconstant ,value ,index))))\n\n(cl:eval-when (:compile-toplevel :load-toplevel)\n (cl:unless (cl:fboundp 'swig-lispify)\n (cl:defun swig-lispify (name flag cl:&optional (package cl:*package*))\n (cl:labels ((helper (lst last rest cl:&aux (c (cl:car lst)))\n (cl:cond\n ((cl:null lst)\n rest)\n ((cl:upper-case-p c)\n (helper (cl:cdr lst) 'upper\n (cl:case last\n ((lower digit) (cl:list* c #\\- rest))\n (cl:t (cl:cons c rest)))))\n ((cl:lower-case-p c)\n (helper (cl:cdr lst) 'lower (cl:cons (cl:char-upcase c) rest)))\n ((cl:digit-char-p c)\n (helper (cl:cdr lst) 'digit \n (cl:case last\n ((upper lower) (cl:list* c #\\- rest))\n (cl:t (cl:cons c rest)))))\n ((cl:char-equal c #\\_)\n (helper (cl:cdr lst) '_ (cl:cons #\\- rest)))\n (cl:t\n (cl:error \"Invalid character: ~A\" c)))))\n (cl:let ((fix (cl:case flag\n ((constant enumvalue) \"+\")\n (variable \"*\")\n (cl:t \"\"))))\n (cl:intern\n (cl:concatenate\n 'cl:string\n fix\n (cl:nreverse (helper (cl:concatenate 'cl:list name) cl:nil cl:nil))\n fix)\n package))))))\n\n;;;SWIG wrapper code ends here\n\n\n(cl:defconstant #.(swig-lispify \"OPENCC_DEFAULT_CONFIG_SIMP_TO_TRAD\" 'constant) \"s2t.json\")\n\n(cl:export '#.(swig-lispify \"OPENCC_DEFAULT_CONFIG_SIMP_TO_TRAD\" 'constant))\n\n(cl:defconstant #.(swig-lispify \"OPENCC_DEFAULT_CONFIG_TRAD_TO_SIMP\" 'constant) \"t2s.json\")\n\n(cl:export '#.(swig-lispify \"OPENCC_DEFAULT_CONFIG_TRAD_TO_SIMP\" 'constant))\n\n(cffi:defcfun (\"opencc_open\" #.(swig-lispify \"opencc_open\" 'function)) :pointer\n (configFileName :string))\n\n(cl:export '#.(swig-lispify \"opencc_open\" 'function))\n\n(cffi:defcfun (\"opencc_close\" #.(swig-lispify \"opencc_close\" 'function)) :int\n (opencc :pointer))\n\n(cl:export '#.(swig-lispify \"opencc_close\" 'function))\n\n(cffi:defcfun (\"opencc_convert_utf8_to_buffer\" #.(swig-lispify \"opencc_convert_utf8_to_buffer\" 'function)) :int\n (opencc :pointer)\n (input :string)\n (length :int)\n (output :string))\n\n(cl:export '#.(swig-lispify \"opencc_convert_utf8_to_buffer\" 'function))\n\n(cffi:defcfun (\"opencc_convert_utf8\" #.(swig-lispify \"opencc_convert_utf8\" 'function)) :string\n (opencc :pointer)\n (input :string)\n (length :int))\n\n(cl:export '#.(swig-lispify \"opencc_convert_utf8\" 'function))\n\n(cffi:defcfun (\"opencc_convert_utf8_free\" #.(swig-lispify \"opencc_convert_utf8_free\" 'function)) :void\n (str :string))\n\n(cl:export '#.(swig-lispify \"opencc_convert_utf8_free\" 'function))\n\n(cffi:defcfun (\"opencc_error\" #.(swig-lispify \"opencc_error\" 'function)) :string)\n\n(cl:export '#.(swig-lispify \"opencc_error\" 'function))\n\n\n","avg_line_length":37.72,"max_line_length":111,"alphanum_fraction":0.5546129374} +{"size":27921,"ext":"lsp","lang":"Common Lisp","max_stars_count":1.0,"content":"(ADE::ROMP)\n(ADE::ROM-GUTS\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n (2 2 (:REWRITE DEFAULT-CDR))\n (2 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(ADE::RAM)\n(ADE::RAMP)\n(ADE::RAM-GUTS\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n (2 2 (:REWRITE DEFAULT-CDR))\n (2 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(ADE::STUBP)\n(ADE::STUB-GUTS\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n (2 2 (:REWRITE DEFAULT-CDR))\n (2 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(ADE::ROMP-IS-NOT-RAMP-NOR-STUBP\n (18 6 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (12 12 (:TYPE-PRESCRIPTION ADE::BVP))\n (12 12 (:REWRITE DEFAULT-CDR))\n (10 5 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-CAR))\n (5 5 (:REWRITE DEFAULT-+-1))\n (4 1 (:DEFINITION ADE::4V-LISTP))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n (1 1 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::4V-LISTP-ROM-GUTS-OF-ROMP\n (12 4 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (11 11 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION ADE::BVP))\n (8 4 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-+-1))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::4V-LISTP=>TRUE-LISTP\n (12 4 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (10 2 (:DEFINITION TRUE-LISTP))\n (8 8 (:TYPE-PRESCRIPTION ADE::BVP))\n (4 4 (:REWRITE DEFAULT-CDR))\n (3 3 (:REWRITE DEFAULT-CAR))\n )\n(ADE::TRUE-LISTP-ROM-GUTS-OF-ROMP\n (12 4 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (10 10 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION ADE::BVP))\n (8 4 (:REWRITE DEFAULT-+-2))\n (4 4 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-+-1))\n (4 1 (:DEFINITION ADE::4V-LISTP))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n (1 1 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::ROM-GUTS-OF-ROMP\n (12 4 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (11 11 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION ADE::BVP))\n (8 4 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-+-1))\n (4 1 (:DEFINITION ADE::4V-LISTP))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n (1 1 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::RAMP-RAM\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n (4 2 (:REWRITE ADE::BVP-V-FOURFIX))\n (2 2 (:TYPE-PRESCRIPTION ADE::BVP))\n (2 2 (:REWRITE DEFAULT-CDR))\n (2 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(ADE::RAM-GUTS-RAM\n (5 3 (:REWRITE ADE::BVP-V-FOURFIX))\n (3 3 (:REWRITE DEFAULT-CDR))\n (2 2 (:TYPE-PRESCRIPTION ADE::BVP))\n (2 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:TYPE-PRESCRIPTION LEN))\n (1 1 (:REWRITE DEFAULT-CAR))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(ADE::RAMP-IS-NOT-ROMP-NOR-STUBP\n (18 6 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (12 12 (:TYPE-PRESCRIPTION ADE::BVP))\n (12 12 (:REWRITE DEFAULT-CDR))\n (10 5 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-CAR))\n (5 5 (:REWRITE DEFAULT-+-1))\n (4 1 (:DEFINITION ADE::4V-LISTP))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n (1 1 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::4V-LISTP-RAM-GUTS-OF-RAMP\n (12 4 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (11 11 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION ADE::BVP))\n (8 4 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-+-1))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::TRUE-LISTP-RAM-GUTS-OF-RAMP\n (12 4 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (10 10 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION ADE::BVP))\n (8 4 (:REWRITE DEFAULT-+-2))\n (4 4 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-+-1))\n (4 1 (:DEFINITION ADE::4V-LISTP))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n (1 1 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::RAM-GUTS-OF-RAMP\n (12 4 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (11 11 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION ADE::BVP))\n (8 4 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-+-1))\n (4 1 (:DEFINITION ADE::4V-LISTP))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n (1 1 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::STUBP-IS-NOT-ROMP-NOR-RAMP\n (18 6 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (12 12 (:TYPE-PRESCRIPTION ADE::BVP))\n (12 12 (:REWRITE DEFAULT-CDR))\n (10 5 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-CAR))\n (5 5 (:REWRITE DEFAULT-+-1))\n (4 1 (:DEFINITION ADE::4V-LISTP))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n (1 1 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::4V-LISTP-STUB-GUTS-OF-STUBP\n (12 4 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (11 11 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION ADE::BVP))\n (8 4 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-+-1))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::TRUE-LISTP-STUB-GUTS-OF-STUBP\n (12 4 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (10 10 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION ADE::BVP))\n (8 4 (:REWRITE DEFAULT-+-2))\n (4 4 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-+-1))\n (4 1 (:DEFINITION ADE::4V-LISTP))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n (1 1 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::STUB-GUTS-OF-STUBP\n (12 4 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (11 11 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION ADE::BVP))\n (8 4 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-+-1))\n (4 1 (:DEFINITION ADE::4V-LISTP))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n (1 1 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::MEMP)\n(ADE::MEMP=>CONSP\n (9 3 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (6 6 (:TYPE-PRESCRIPTION ADE::BVP))\n )\n(ADE::MEMORY-PROPERP)\n(ADE::MEMORY-OKP)\n(ADE::READ-MEM1)\n(ADE::READ-MEM)\n(ADE::WRITE-MEM1)\n(ADE::TRUE-LISTP-WRITE-MEM1\n (204 68 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (142 142 (:TYPE-PRESCRIPTION ADE::BVP))\n (122 122 (:REWRITE DEFAULT-CDR))\n (106 53 (:REWRITE DEFAULT-+-2))\n (102 102 (:REWRITE DEFAULT-CAR))\n (53 53 (:REWRITE DEFAULT-+-1))\n (9 3 (:REWRITE ADE::BVP-V-FOURFIX))\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::TRUE-LISTP-WRITE-MEM1=>TRUE-LISTP-MEM\n (48 6 (:DEFINITION TRUE-LISTP))\n (36 12 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (24 24 (:TYPE-PRESCRIPTION ADE::BVP))\n (17 17 (:REWRITE DEFAULT-CDR))\n (14 14 (:REWRITE DEFAULT-CAR))\n )\n(ADE::LEN-WRITE-MEM1\n (237 79 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (236 118 (:REWRITE DEFAULT-+-2))\n (170 170 (:TYPE-PRESCRIPTION ADE::BVP))\n (139 128 (:REWRITE DEFAULT-CDR))\n (118 118 (:REWRITE DEFAULT-+-1))\n (96 96 (:LINEAR LEN-WHEN-PREFIXP))\n (52 28 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-WRITE-MEM1))\n (18 6 (:REWRITE ADE::BVP-V-FOURFIX))\n )\n(ADE::4V-LISTP-OF-WRITE-MEM1\n (1573 1562 (:REWRITE DEFAULT-CDR))\n (1337 1326 (:REWRITE DEFAULT-CAR))\n (768 384 (:REWRITE DEFAULT-+-2))\n (384 384 (:REWRITE DEFAULT-+-1))\n (189 63 (:REWRITE ADE::BVP-V-FOURFIX))\n (126 126 (:TYPE-PRESCRIPTION ADE::BVP))\n (92 92 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::4V-LISTP-OF-CAR-WRITE-MEM1\n (276 92 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (228 228 (:REWRITE DEFAULT-CDR))\n (194 194 (:TYPE-PRESCRIPTION ADE::BVP))\n (116 58 (:REWRITE DEFAULT-+-2))\n (58 58 (:REWRITE DEFAULT-+-1))\n (16 16 (:REWRITE CDR-CONS))\n (15 5 (:REWRITE ADE::BVP-V-FOURFIX))\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::ROMP-WRITE-MEM1\n (2958 986 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (1990 1990 (:TYPE-PRESCRIPTION ADE::BVP))\n (1372 686 (:REWRITE DEFAULT-+-2))\n (686 686 (:REWRITE DEFAULT-+-1))\n (176 176 (:LINEAR LEN-WHEN-PREFIXP))\n (27 9 (:REWRITE ADE::BVP-V-FOURFIX))\n )\n(ADE::ROMP-CONS-WRITE-MEM1-1\n (186 3 (:DEFINITION ADE::WRITE-MEM1))\n (69 3 (:DEFINITION ADE::STUBP))\n (69 3 (:DEFINITION ADE::RAMP))\n (62 53 (:REWRITE DEFAULT-CDR))\n (60 20 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (46 46 (:TYPE-PRESCRIPTION ADE::BVP))\n (44 35 (:REWRITE DEFAULT-CAR))\n (32 8 (:DEFINITION ADE::4V-LISTP))\n (24 12 (:REWRITE DEFAULT-+-2))\n (18 18 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (12 12 (:REWRITE DEFAULT-+-1))\n (12 3 (:DEFINITION ADE::RAM))\n (9 3 (:REWRITE ADE::BVP-V-FOURFIX))\n (8 8 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::ROMP-CONS-WRITE-MEM1-2\n (1254 418 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (864 864 (:TYPE-PRESCRIPTION ADE::BVP))\n (829 829 (:REWRITE DEFAULT-CDR))\n (568 284 (:REWRITE DEFAULT-+-2))\n (469 469 (:REWRITE DEFAULT-CAR))\n (284 284 (:REWRITE DEFAULT-+-1))\n (78 78 (:LINEAR LEN-WHEN-PREFIXP))\n (42 14 (:REWRITE ADE::BVP-V-FOURFIX))\n )\n(ADE::RAMP-WRITE-MEM1\n (2958 986 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (2016 2016 (:TYPE-PRESCRIPTION ADE::BVP))\n (1372 686 (:REWRITE DEFAULT-+-2))\n (686 686 (:REWRITE DEFAULT-+-1))\n (176 176 (:LINEAR LEN-WHEN-PREFIXP))\n (66 22 (:REWRITE ADE::BVP-V-FOURFIX))\n )\n(ADE::RAMP-CONS-WRITE-MEM1-1\n (138 3 (:DEFINITION ADE::WRITE-MEM1))\n (69 3 (:DEFINITION ADE::STUBP))\n (54 45 (:REWRITE DEFAULT-CDR))\n (48 16 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (38 38 (:TYPE-PRESCRIPTION ADE::BVP))\n (38 29 (:REWRITE DEFAULT-CAR))\n (24 6 (:DEFINITION ADE::4V-LISTP))\n (20 10 (:REWRITE DEFAULT-+-2))\n (18 18 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (12 3 (:DEFINITION ADE::RAM))\n (10 10 (:REWRITE DEFAULT-+-1))\n (9 3 (:REWRITE ADE::BVP-V-FOURFIX))\n (6 6 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::RAMP-CONS-WRITE-MEM1-2\n (1254 418 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (864 864 (:TYPE-PRESCRIPTION ADE::BVP))\n (829 829 (:REWRITE DEFAULT-CDR))\n (568 284 (:REWRITE DEFAULT-+-2))\n (469 469 (:REWRITE DEFAULT-CAR))\n (284 284 (:REWRITE DEFAULT-+-1))\n (78 78 (:LINEAR LEN-WHEN-PREFIXP))\n (42 14 (:REWRITE ADE::BVP-V-FOURFIX))\n )\n(ADE::STUBP-WRITE-MEM1\n (2790 930 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (1874 1874 (:TYPE-PRESCRIPTION ADE::BVP))\n (1276 638 (:REWRITE DEFAULT-+-2))\n (638 638 (:REWRITE DEFAULT-+-1))\n (116 116 (:LINEAR LEN-WHEN-PREFIXP))\n (21 7 (:REWRITE ADE::BVP-V-FOURFIX))\n )\n(ADE::STUBP-CONS-WRITE-MEM1-1\n (138 3 (:DEFINITION ADE::WRITE-MEM1))\n (69 3 (:DEFINITION ADE::RAMP))\n (54 45 (:REWRITE DEFAULT-CDR))\n (48 16 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (38 38 (:TYPE-PRESCRIPTION ADE::BVP))\n (38 29 (:REWRITE DEFAULT-CAR))\n (24 6 (:DEFINITION ADE::4V-LISTP))\n (20 10 (:REWRITE DEFAULT-+-2))\n (18 18 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (12 3 (:DEFINITION ADE::RAM))\n (10 10 (:REWRITE DEFAULT-+-1))\n (9 3 (:REWRITE ADE::BVP-V-FOURFIX))\n (6 6 (:TYPE-PRESCRIPTION ADE::4VP))\n )\n(ADE::STUBP-CONS-WRITE-MEM1-2\n (1254 418 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (864 864 (:TYPE-PRESCRIPTION ADE::BVP))\n (829 829 (:REWRITE DEFAULT-CDR))\n (568 284 (:REWRITE DEFAULT-+-2))\n (469 469 (:REWRITE DEFAULT-CAR))\n (284 284 (:REWRITE DEFAULT-+-1))\n (78 78 (:LINEAR LEN-WHEN-PREFIXP))\n (42 14 (:REWRITE ADE::BVP-V-FOURFIX))\n )\n(ADE::WRITE-MEM)\n(ADE::TRUE-LISTP-WRITE-MEM)\n(ADE::TRUE-LISTP-WRITE-MEM=>TRUE-LISTP-MEM\n (4 3 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-WRITE-MEM))\n )\n(ADE::LEN-WRITE-MEM)\n(ADE::ROMP-WRITE-MEM)\n(ADE::ROMP-CONS-WRITE-MEM-1)\n(ADE::ROMP-CONS-WRITE-MEM-2)\n(ADE::RAMP-WRITE-MEM)\n(ADE::RAMP-CONS-WRITE-MEM-1)\n(ADE::RAMP-CONS-WRITE-MEM-2)\n(ADE::STUBP-WRITE-MEM)\n(ADE::STUBP-CONS-WRITE-MEM-1)\n(ADE::STUBP-CONS-WRITE-MEM-2)\n(ADE::RAMP-MEM1)\n(ADE::RAMP-MEM)\n(ADE::ALL-RAMP-MEM)\n(ADE::CONSTANT-RAM)\n(ADE::TRUE-LISTP-CONSTANT-RAM\n (123 41 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (88 88 (:TYPE-PRESCRIPTION ADE::BVP))\n (61 61 (:REWRITE DEFAULT-CDR))\n (60 30 (:REWRITE DEFAULT-+-2))\n (30 30 (:REWRITE DEFAULT-+-1))\n (28 28 (:REWRITE DEFAULT-CAR))\n (9 3 (:REWRITE ADE::BVP-V-FOURFIX))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::TRUE-LISTP-CONSTANT-RAM=>TRUE-LISTP-MEM\n (47 7 (:DEFINITION TRUE-LISTP))\n (42 14 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (28 28 (:TYPE-PRESCRIPTION ADE::BVP))\n (9 9 (:REWRITE DEFAULT-CDR))\n (2 2 (:REWRITE DEFAULT-CAR))\n )\n(ADE::LEN-CONSTANT-RAM\n (84 28 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (64 64 (:TYPE-PRESCRIPTION ADE::BVP))\n (60 53 (:REWRITE DEFAULT-CDR))\n (58 29 (:REWRITE DEFAULT-+-2))\n (52 28 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-CONSTANT-RAM))\n (38 38 (:LINEAR LEN-WHEN-PREFIXP))\n (29 29 (:REWRITE DEFAULT-+-1))\n (21 21 (:REWRITE DEFAULT-CAR))\n (12 4 (:REWRITE ADE::BVP-V-FOURFIX))\n )\n(ADE::CONSTANT-RAM-OF-4VP\n (1065 355 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (724 724 (:TYPE-PRESCRIPTION ADE::BVP))\n (565 565 (:REWRITE DEFAULT-CDR))\n (188 94 (:REWRITE DEFAULT-+-2))\n (94 94 (:REWRITE DEFAULT-+-1))\n (61 61 (:REWRITE DEFAULT-CAR))\n (21 7 (:REWRITE ADE::BVP-V-FOURFIX))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::4V-LISTP-OF-CONSTANT-RAM\n (340 177 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-CONSTANT-RAM))\n (186 62 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (159 145 (:REWRITE DEFAULT-CDR))\n (130 130 (:TYPE-PRESCRIPTION ADE::BVP))\n (112 91 (:REWRITE DEFAULT-CAR))\n (84 42 (:REWRITE DEFAULT-+-2))\n (42 42 (:REWRITE DEFAULT-+-1))\n (9 3 (:REWRITE ADE::BVP-V-FOURFIX))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::4V-LISTP-OF-CAR-CONSTANT-RAM\n (64 12 (:DEFINITION ADE::4V-LISTP))\n (45 15 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (42 42 (:TYPE-PRESCRIPTION ADE::BVP))\n (36 36 (:REWRITE DEFAULT-CDR))\n (26 13 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-CONSTANT-RAM))\n (18 9 (:REWRITE DEFAULT-+-2))\n (18 6 (:REWRITE ADE::BVP-V-FOURFIX))\n (13 13 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (12 12 (:TYPE-PRESCRIPTION ADE::4VP))\n (9 9 (:REWRITE DEFAULT-+-1))\n )\n(ADE::ROMP-CONSTANT-RAM\n (8145 4077 (:REWRITE DEFAULT-+-2))\n (4077 4077 (:REWRITE DEFAULT-+-1))\n (1023 341 (:REWRITE ADE::BVP-V-FOURFIX))\n (682 682 (:TYPE-PRESCRIPTION ADE::BVP))\n (552 552 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::RAMP-CONSTANT-RAM\n (7211 3610 (:REWRITE DEFAULT-+-2))\n (3610 3610 (:REWRITE DEFAULT-+-1))\n (639 213 (:REWRITE ADE::BVP-V-FOURFIX))\n (426 426 (:TYPE-PRESCRIPTION ADE::BVP))\n (402 402 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::STUBP-CONSTANT-RAM\n (8145 4077 (:REWRITE DEFAULT-+-2))\n (4077 4077 (:REWRITE DEFAULT-+-1))\n (1023 341 (:REWRITE ADE::BVP-V-FOURFIX))\n (682 682 (:TYPE-PRESCRIPTION ADE::BVP))\n (552 552 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::MEMORY-PROPERP-IF)\n(ADE::MEMORY-OKP-IF)\n(ADE::MEMORY-PROPERP-CONSTANT-RAM\n (1973 1007 (:REWRITE DEFAULT-+-2))\n (1950 1657 (:REWRITE DEFAULT-CDR))\n (1749 583 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (1206 1206 (:TYPE-PRESCRIPTION ADE::BVP))\n (1149 762 (:REWRITE DEFAULT-CAR))\n (1007 1007 (:REWRITE DEFAULT-+-1))\n (344 344 (:LINEAR LEN-WHEN-PREFIXP))\n (60 20 (:REWRITE ADE::BVP-V-FOURFIX))\n (57 57 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (21 21 (:REWRITE DEFAULT-<-2))\n (21 21 (:REWRITE DEFAULT-<-1))\n )\n(ADE::MEMORY-PROPERP-AFTER-WRITE-MEM1\n (2217 739 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (2043 1799 (:REWRITE DEFAULT-CDR))\n (1690 885 (:REWRITE DEFAULT-+-2))\n (1492 1492 (:TYPE-PRESCRIPTION ADE::BVP))\n (1211 979 (:REWRITE DEFAULT-CAR))\n (885 885 (:REWRITE DEFAULT-+-1))\n (488 26 (:REWRITE ADE::ROMP-WRITE-MEM1))\n (488 26 (:REWRITE ADE::RAMP-WRITE-MEM1))\n (460 356 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-WRITE-MEM1))\n (320 40 (:REWRITE ZP-OPEN))\n (244 13 (:REWRITE ADE::STUBP-WRITE-MEM1))\n (80 40 (:REWRITE DEFAULT-<-2))\n (40 40 (:REWRITE DEFAULT-<-1))\n (21 7 (:REWRITE ADE::BVP-V-FOURFIX))\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::MEMORY-PROPERP-AFTER-WRITE-MEM\n (396 327 (:REWRITE DEFAULT-CDR))\n (288 96 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (284 147 (:REWRITE DEFAULT-+-2))\n (261 192 (:REWRITE DEFAULT-CAR))\n (249 48 (:DEFINITION TRUE-LISTP))\n (214 214 (:TYPE-PRESCRIPTION ADE::BVP))\n (147 147 (:REWRITE DEFAULT-+-1))\n (134 52 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-WRITE-MEM1))\n (96 4 (:REWRITE ADE::ROMP-WRITE-MEM1))\n (96 4 (:REWRITE ADE::RAMP-WRITE-MEM1))\n (52 52 (:TYPE-PRESCRIPTION ADE::WRITE-MEM1))\n (49 10 (:REWRITE REVERSE-REMOVAL))\n (48 2 (:REWRITE ADE::STUBP-WRITE-MEM1))\n (44 12 (:REWRITE REV-WHEN-NOT-CONSP))\n (36 6 (:REWRITE ADE::LEN-WRITE-MEM1))\n (33 11 (:REWRITE ADE::BVP-V-FOURFIX))\n (16 16 (:TYPE-PRESCRIPTION STR::TRUE-LISTP-OF-EXPLODE))\n (16 8 (:REWRITE STR::CONSP-OF-EXPLODE))\n (10 5 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n (6 6 (:REWRITE CONSP-OF-REV))\n (6 6 (:LINEAR LEN-WHEN-PREFIXP))\n (5 5 (:REWRITE DEFAULT-<-1))\n )\n(ADE::MEMORY-OKP-AFTER-WRITE-MEM1\n (7527 716 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (3513 3089 (:REWRITE DEFAULT-CDR))\n (2580 2150 (:REWRITE DEFAULT-CAR))\n (2108 1095 (:REWRITE DEFAULT-+-2))\n (1095 1095 (:REWRITE DEFAULT-+-1))\n (772 632 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-WRITE-MEM1))\n (768 26 (:REWRITE ADE::ROMP-WRITE-MEM1))\n (768 26 (:REWRITE ADE::RAMP-WRITE-MEM1))\n (384 13 (:REWRITE ADE::STUBP-WRITE-MEM1))\n (320 40 (:REWRITE ZP-OPEN))\n (142 142 (:LINEAR LEN-WHEN-PREFIXP))\n (81 41 (:REWRITE DEFAULT-<-2))\n (41 41 (:REWRITE DEFAULT-<-1))\n )\n(ADE::MEMORY-OKP-AFTER-WRITE-MEM\n (628 469 (:REWRITE DEFAULT-CDR))\n (435 267 (:REWRITE DEFAULT-CAR))\n (422 216 (:REWRITE DEFAULT-+-2))\n (288 96 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (224 88 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-WRITE-MEM1))\n (216 216 (:REWRITE DEFAULT-+-1))\n (96 4 (:REWRITE ADE::ROMP-WRITE-MEM1))\n (96 4 (:REWRITE ADE::RAMP-WRITE-MEM1))\n (88 88 (:TYPE-PRESCRIPTION ADE::WRITE-MEM1))\n (72 12 (:REWRITE ADE::LEN-WRITE-MEM1))\n (54 14 (:REWRITE REV-WHEN-NOT-CONSP))\n (49 10 (:REWRITE REVERSE-REMOVAL))\n (48 2 (:REWRITE ADE::STUBP-WRITE-MEM1))\n (47 1 (:REWRITE ADE::MEMORY-OKP-IF))\n (24 24 (:LINEAR LEN-WHEN-PREFIXP))\n (20 20 (:TYPE-PRESCRIPTION STR::TRUE-LISTP-OF-EXPLODE))\n (20 10 (:REWRITE STR::CONSP-OF-EXPLODE))\n (10 10 (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n (10 5 (:REWRITE DEFAULT-<-2))\n (6 6 (:REWRITE CONSP-OF-REV))\n (5 5 (:REWRITE DEFAULT-<-1))\n )\n(ADE::V-IFF-V-ADDR1-V-ADDR2-READ-MEM1-WRITE-MEM1\n (1190 46 (:REWRITE ADE::V-IFF=EQUAL))\n (1098 46 (:DEFINITION ADE::BV2P))\n (954 318 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (890 890 (:TYPE-PRESCRIPTION ADE::BVP))\n (712 356 (:REWRITE DEFAULT-+-2))\n (651 593 (:REWRITE DEFAULT-CDR))\n (558 522 (:REWRITE DEFAULT-CAR))\n (356 356 (:REWRITE DEFAULT-+-1))\n (148 148 (:LINEAR LEN-WHEN-PREFIXP))\n (99 33 (:REWRITE ADE::BVP-V-FOURFIX))\n (72 56 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-WRITE-MEM1))\n (48 2 (:REWRITE ADE::STUBP-WRITE-MEM1))\n (48 2 (:REWRITE ADE::ROMP-WRITE-MEM1))\n (48 2 (:REWRITE ADE::RAMP-WRITE-MEM1))\n (46 46 (:TYPE-PRESCRIPTION ADE::BV2P))\n (46 2 (:DEFINITION ADE::ROMP))\n (42 2 (:DEFINITION ADE::STUB-GUTS))\n (42 2 (:DEFINITION ADE::ROM-GUTS))\n (36 6 (:REWRITE ADE::LEN-WRITE-MEM1))\n )\n(ADE::V-IFF-V-ADDR1-V-ADDR2-READ-MEM1-WRITE-MEM1-NOT-RAM\n (3621 1207 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (2508 2508 (:TYPE-PRESCRIPTION ADE::BVP))\n (2383 2325 (:REWRITE DEFAULT-CDR))\n (1962 981 (:REWRITE DEFAULT-+-2))\n (1507 1427 (:REWRITE DEFAULT-CAR))\n (981 981 (:REWRITE DEFAULT-+-1))\n (324 18 (:REWRITE ADE::V-IFF-V-ADDR1-V-ADDR2-READ-MEM1-WRITE-MEM1))\n (270 18 (:REWRITE ADE::V-IFF=EQUAL))\n (234 18 (:DEFINITION ADE::BV2P))\n (170 18 (:DEFINITION ADE::RAM-GUTS))\n (158 158 (:LINEAR LEN-WHEN-PREFIXP))\n (48 2 (:REWRITE ADE::STUBP-WRITE-MEM1))\n (48 2 (:REWRITE ADE::ROMP-WRITE-MEM1))\n (48 2 (:REWRITE ADE::RAMP-WRITE-MEM1))\n (36 36 (:TYPE-PRESCRIPTION ADE::V-IFF))\n (36 9 (:DEFINITION ADE::RAM))\n (36 6 (:REWRITE ADE::LEN-WRITE-MEM1))\n (27 9 (:REWRITE ADE::BVP-V-FOURFIX))\n (18 18 (:TYPE-PRESCRIPTION ADE::BV2P))\n )\n(ADE::NOT-V-IFF-V-ADDR1-V-ADDR2-READ-MEM1-WRITE-MEM1\n (4349 4039 (:REWRITE DEFAULT-CDR))\n (3495 1165 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (2853 2499 (:REWRITE DEFAULT-CAR))\n (2716 2716 (:TYPE-PRESCRIPTION ADE::BVP))\n (2624 78 (:REWRITE ADE::V-IFF=EQUAL))\n (2468 78 (:DEFINITION ADE::BV2P))\n (2284 1142 (:REWRITE DEFAULT-+-2))\n (2198 108 (:DEFINITION ADE::ROMP))\n (1520 18 (:REWRITE ADE::V-IFF-V-ADDR1-V-ADDR2-READ-MEM1-WRITE-MEM1-NOT-RAM))\n (1466 18 (:DEFINITION ADE::RAMP-MEM1))\n (1142 1142 (:REWRITE DEFAULT-+-1))\n (968 95 (:DEFINITION ADE::ROM-GUTS))\n (968 95 (:DEFINITION ADE::RAM-GUTS))\n (642 34 (:REWRITE ADE::V-IFF-V-ADDR1-V-ADDR2-READ-MEM1-WRITE-MEM1))\n (496 496 (:LINEAR LEN-WHEN-PREFIXP))\n (454 380 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-WRITE-MEM1))\n (388 18 (:REWRITE ADE::STUBP-WRITE-MEM1))\n (388 18 (:REWRITE ADE::ROMP-WRITE-MEM1))\n (388 18 (:REWRITE ADE::RAMP-WRITE-MEM1))\n (288 48 (:REWRITE ADE::LEN-WRITE-MEM1))\n (148 37 (:DEFINITION ADE::RAM))\n (126 126 (:TYPE-PRESCRIPTION ADE::RAMP-MEM1))\n (111 37 (:REWRITE ADE::BVP-V-FOURFIX))\n (78 78 (:TYPE-PRESCRIPTION ADE::BV2P))\n )\n(ADE::READ-MEM-WRITE-MEM\n (20991 1031 (:REWRITE ADE::V-IFF=EQUAL))\n (19108 850 (:DEFINITION ADE::BV2P))\n (13979 11459 (:REWRITE DEFAULT-CDR))\n (11336 11336 (:TYPE-PRESCRIPTION ADE::BVP))\n (8164 4082 (:REWRITE DEFAULT-+-2))\n (7934 5402 (:REWRITE DEFAULT-CAR))\n (6840 2280 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (4082 4082 (:REWRITE DEFAULT-+-1))\n (2364 1182 (:TYPE-PRESCRIPTION ADE::BVP-REV))\n (2019 2019 (:REWRITE CONSP-OF-REV))\n (1387 591 (:REWRITE ADE::BVP-REV))\n (854 854 (:TYPE-PRESCRIPTION ADE::BV2P))\n (827 60 (:REWRITE REVERSE-REMOVAL))\n (667 267 (:REWRITE ADE::BVP-V-FOURFIX))\n (528 528 (:LINEAR LEN-WHEN-PREFIXP))\n (322 322 (:TYPE-PRESCRIPTION STR::TRUE-LISTP-OF-EXPLODE))\n (322 161 (:REWRITE STR::CONSP-OF-EXPLODE))\n (197 197 (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n )\n(ADE::TRUE-LISTP-READ-MEM1-OF-MEMORY-PROPERP)\n(ADE::LEN-READ-MEM1-OF-MEMORY-PROPERP\n (1506 502 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (1288 1288 (:REWRITE DEFAULT-CDR))\n (1162 607 (:REWRITE DEFAULT-+-2))\n (1004 1004 (:TYPE-PRESCRIPTION ADE::BVP))\n (720 720 (:REWRITE DEFAULT-CAR))\n (607 607 (:REWRITE DEFAULT-+-1))\n (112 112 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-READ-MEM1-OF-MEMORY-PROPERP))\n (58 58 (:LINEAR LEN-WHEN-PREFIXP))\n (56 28 (:REWRITE DEFAULT-<-2))\n (44 44 (:TYPE-PRESCRIPTION ADE::READ-MEM1))\n (28 28 (:REWRITE DEFAULT-<-1))\n )\n(ADE::TRUE-LISTP-READ-MEM-OF-MEMORY-PROPERP)\n(ADE::TRUE-LISTP-READ-MEM-OF-MEMORY-PROPERP-32)\n(ADE::LEN-READ-MEM-OF-MEMORY-PROPERP\n (252 246 (:REWRITE DEFAULT-CDR))\n (204 105 (:REWRITE DEFAULT-+-2))\n (198 66 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (174 33 (:DEFINITION TRUE-LISTP))\n (159 153 (:REWRITE DEFAULT-CAR))\n (132 132 (:TYPE-PRESCRIPTION ADE::BVP))\n (105 105 (:REWRITE DEFAULT-+-1))\n (49 10 (:REWRITE REVERSE-REMOVAL))\n (44 12 (:REWRITE REV-WHEN-NOT-CONSP))\n (24 3 (:REWRITE ZP-OPEN))\n (16 16 (:TYPE-PRESCRIPTION STR::TRUE-LISTP-OF-EXPLODE))\n (16 8 (:REWRITE STR::CONSP-OF-EXPLODE))\n (15 15 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (8 8 (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n (6 6 (:REWRITE CONSP-OF-REV))\n (6 3 (:REWRITE DEFAULT-<-2))\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n (3 3 (:REWRITE ADE::LEN-READ-MEM1-OF-MEMORY-PROPERP))\n (3 3 (:REWRITE DEFAULT-<-1))\n )\n(ADE::LEN-READ-MEM-OF-MEMORY-PROPERP-32\n (186 1 (:DEFINITION ADE::MEMORY-PROPERP))\n (60 12 (:DEFINITION LEN))\n (46 2 (:DEFINITION ADE::ROMP))\n (46 2 (:DEFINITION ADE::RAMP))\n (31 31 (:REWRITE DEFAULT-CDR))\n (30 10 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (26 14 (:REWRITE DEFAULT-+-2))\n (25 5 (:DEFINITION TRUE-LISTP))\n (23 1 (:DEFINITION ADE::STUBP))\n (20 20 (:TYPE-PRESCRIPTION ADE::BVP))\n (20 5 (:DEFINITION ADE::4V-LISTP))\n (19 19 (:REWRITE DEFAULT-CAR))\n (14 14 (:REWRITE DEFAULT-+-1))\n (8 1 (:REWRITE ZP-OPEN))\n (8 1 (:DEFINITION ADE::STUB-GUTS))\n (8 1 (:DEFINITION ADE::ROM-GUTS))\n (8 1 (:DEFINITION ADE::RAM-GUTS))\n (5 5 (:TYPE-PRESCRIPTION ADE::4VP))\n (5 5 (:TYPE-PRESCRIPTION ADE::4V-LISTP))\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n (2 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(ADE::BVP-READ-MEM1-OF-MEMORY-OKP\n (1506 502 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (1361 1361 (:REWRITE DEFAULT-CDR))\n (1184 618 (:REWRITE DEFAULT-+-2))\n (784 784 (:REWRITE DEFAULT-CAR))\n (618 618 (:REWRITE DEFAULT-+-1))\n (208 26 (:REWRITE ZP-OPEN))\n (52 26 (:REWRITE DEFAULT-<-2))\n (26 26 (:REWRITE DEFAULT-<-1))\n (6 6 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::LEN-READ-MEM1-OF-MEMORY-OKP\n (1506 502 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (1432 1432 (:REWRITE DEFAULT-CDR))\n (1306 679 (:REWRITE DEFAULT-+-2))\n (792 792 (:REWRITE DEFAULT-CAR))\n (679 679 (:REWRITE DEFAULT-+-1))\n (112 112 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-READ-MEM1-OF-MEMORY-PROPERP))\n (112 112 (:TYPE-PRESCRIPTION ADE::READ-MEM1))\n (58 58 (:LINEAR LEN-WHEN-PREFIXP))\n (56 56 (:REWRITE ADE::LEN-READ-MEM1-OF-MEMORY-PROPERP))\n (56 28 (:REWRITE DEFAULT-<-2))\n (28 28 (:REWRITE DEFAULT-<-1))\n )\n(ADE::BVP-READ-MEM-OF-MEMORY-OKP\n (273 267 (:REWRITE DEFAULT-CDR))\n (216 111 (:REWRITE DEFAULT-+-2))\n (198 66 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (174 168 (:REWRITE DEFAULT-CAR))\n (174 33 (:DEFINITION TRUE-LISTP))\n (111 111 (:REWRITE DEFAULT-+-1))\n (49 10 (:REWRITE REVERSE-REMOVAL))\n (44 12 (:REWRITE REV-WHEN-NOT-CONSP))\n (24 3 (:REWRITE ZP-OPEN))\n (16 16 (:TYPE-PRESCRIPTION STR::TRUE-LISTP-OF-EXPLODE))\n (16 8 (:REWRITE STR::CONSP-OF-EXPLODE))\n (15 15 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (8 8 (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n (6 6 (:REWRITE CONSP-OF-REV))\n (6 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE DEFAULT-<-1))\n (3 3 (:REWRITE ADE::BVP-READ-MEM1-OF-MEMORY-OKP))\n )\n(ADE::BVP-READ-MEM-OF-MEMORY-OKP-32)\n(ADE::LEN-READ-MEM-OF-MEMORY-OKP\n (282 276 (:REWRITE DEFAULT-CDR))\n (234 120 (:REWRITE DEFAULT-+-2))\n (198 66 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (174 168 (:REWRITE DEFAULT-CAR))\n (174 33 (:DEFINITION TRUE-LISTP))\n (120 120 (:REWRITE DEFAULT-+-1))\n (49 10 (:REWRITE REVERSE-REMOVAL))\n (44 12 (:REWRITE REV-WHEN-NOT-CONSP))\n (24 3 (:REWRITE ZP-OPEN))\n (16 16 (:TYPE-PRESCRIPTION STR::TRUE-LISTP-OF-EXPLODE))\n (16 8 (:REWRITE STR::CONSP-OF-EXPLODE))\n (15 15 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (8 8 (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n (6 6 (:REWRITE CONSP-OF-REV))\n (6 3 (:REWRITE DEFAULT-<-2))\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n (3 3 (:REWRITE ADE::LEN-READ-MEM1-OF-MEMORY-PROPERP))\n (3 3 (:REWRITE ADE::LEN-READ-MEM1-OF-MEMORY-OKP))\n (3 3 (:REWRITE DEFAULT-<-1))\n )\n(ADE::ALL-RAMP-MEM->RAMP-MEM1\n (570 190 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (407 407 (:REWRITE DEFAULT-CDR))\n (380 380 (:TYPE-PRESCRIPTION ADE::BVP))\n (366 209 (:REWRITE DEFAULT-+-2))\n (291 291 (:REWRITE DEFAULT-CAR))\n (209 209 (:REWRITE DEFAULT-+-1))\n (208 26 (:REWRITE ZP-OPEN))\n (52 26 (:REWRITE DEFAULT-<-2))\n (26 26 (:REWRITE DEFAULT-<-1))\n (2 2 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::ALL-RAMP-MEM->RAMP-MEM\n (190 29 (:DEFINITION TRUE-LISTP))\n (174 58 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (142 139 (:REWRITE DEFAULT-CDR))\n (116 116 (:TYPE-PRESCRIPTION ADE::BVP))\n (102 99 (:REWRITE DEFAULT-CAR))\n (96 57 (:REWRITE DEFAULT-+-2))\n (57 57 (:REWRITE DEFAULT-+-1))\n (45 6 (:REWRITE REVERSE-REMOVAL))\n (36 36 (:LINEAR LEN-WHEN-PREFIXP))\n (24 8 (:REWRITE REV-WHEN-NOT-CONSP))\n (18 9 (:REWRITE DEFAULT-<-2))\n (9 9 (:REWRITE DEFAULT-<-1))\n (8 8 (:TYPE-PRESCRIPTION STR::TRUE-LISTP-OF-EXPLODE))\n (8 4 (:REWRITE STR::CONSP-OF-EXPLODE))\n (4 4 (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n (3 3 (:REWRITE CONSP-OF-REV))\n )\n(ADE::ALL-RAMP-MEM-AFTER-WRITE-MEM1\n (837 279 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (619 608 (:REWRITE DEFAULT-CDR))\n (570 570 (:TYPE-PRESCRIPTION ADE::BVP))\n (552 314 (:REWRITE DEFAULT-+-2))\n (430 419 (:REWRITE DEFAULT-CAR))\n (314 314 (:REWRITE DEFAULT-+-1))\n (304 38 (:REWRITE ZP-OPEN))\n (242 11 (:REWRITE ADE::STUBP-WRITE-MEM1))\n (242 11 (:REWRITE ADE::RAMP-WRITE-MEM1))\n (76 38 (:REWRITE DEFAULT-<-2))\n (63 34 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-WRITE-MEM1))\n (38 38 (:REWRITE DEFAULT-<-1))\n (18 6 (:REWRITE ADE::BVP-V-FOURFIX))\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n )\n(ADE::ALL-RAMP-MEM-AFTER-WRITE-MEM\n (138 46 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (134 128 (:REWRITE DEFAULT-CDR))\n (124 23 (:DEFINITION TRUE-LISTP))\n (110 110 (:TYPE-PRESCRIPTION ADE::BVP))\n (94 88 (:REWRITE DEFAULT-CAR))\n (86 48 (:REWRITE DEFAULT-+-2))\n (48 48 (:REWRITE DEFAULT-+-1))\n (48 2 (:REWRITE ADE::STUBP-WRITE-MEM1))\n (48 2 (:REWRITE ADE::RAMP-WRITE-MEM1))\n (45 6 (:REWRITE REVERSE-REMOVAL))\n (27 9 (:REWRITE ADE::BVP-V-FOURFIX))\n (24 8 (:REWRITE REV-WHEN-NOT-CONSP))\n (19 19 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (14 4 (:TYPE-PRESCRIPTION ADE::TRUE-LISTP-WRITE-MEM1))\n (10 5 (:REWRITE DEFAULT-<-2))\n (8 8 (:TYPE-PRESCRIPTION STR::TRUE-LISTP-OF-EXPLODE))\n (8 4 (:REWRITE STR::CONSP-OF-EXPLODE))\n (6 6 (:REWRITE CONSP-OF-REV))\n (6 6 (:LINEAR LEN-WHEN-PREFIXP))\n (5 5 (:REWRITE DEFAULT-<-1))\n (4 4 (:TYPE-PRESCRIPTION ADE::WRITE-MEM1))\n (4 4 (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n )\n(ADE::ALL-RAMP-MEM-CONSTANT-RAM\n (1920 640 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (1469 1306 (:REWRITE DEFAULT-CDR))\n (1424 1424 (:TYPE-PRESCRIPTION ADE::BVP))\n (1022 859 (:REWRITE DEFAULT-CAR))\n (901 525 (:REWRITE DEFAULT-+-2))\n (525 525 (:REWRITE DEFAULT-+-1))\n (410 18 (:REWRITE ADE::STUBP-CONSTANT-RAM))\n (410 18 (:REWRITE ADE::RAMP-CONSTANT-RAM))\n (218 74 (:REWRITE ADE::BVP-V-FOURFIX))\n (66 66 (:LINEAR LEN-WHEN-PREFIXP))\n (42 42 (:REWRITE DEFAULT-<-2))\n (42 42 (:REWRITE DEFAULT-<-1))\n )\n(ADE::MEMORY-OKP==>MEMORY-PROPERP\n (2544 848 (:REWRITE ADE::BV-IS-TRUE-LIST))\n (1913 1913 (:REWRITE DEFAULT-CDR))\n (1614 866 (:REWRITE DEFAULT-+-2))\n (916 916 (:REWRITE DEFAULT-CAR))\n (866 866 (:REWRITE DEFAULT-+-1))\n (180 60 (:REWRITE FOLD-CONSTS-IN-+))\n (147 57 (:REWRITE ZP-OPEN))\n (30 30 (:REWRITE DEFAULT-<-2))\n (30 30 (:REWRITE DEFAULT-<-1))\n (16 16 (:LINEAR LEN-WHEN-PREFIXP))\n )\n","avg_line_length":33.4383233533,"max_line_length":77,"alphanum_fraction":0.6537731457} +{"size":1124,"ext":"lisp","lang":"Common Lisp","max_stars_count":15.0,"content":"(defpackage #:urbit\/nock\/cord\n (:use #:cl #:named-readtables #:urbit\/intbytes #:urbit\/nock\/math)\n (:export #:cord #:string->cord #:cord->string #:cord-readtable))\n\n(in-package #:urbit\/nock\/cord)\n\n; though cords are a hoon concept, we have \"human-friendly\" code\n; for e.g. printing jet labels that needs to know about cords.\n\n(deftype cord () '(integer 0))\n\n(defun string->cord (s)\n (declare (string s))\n (loop with len = (length s)\n with oct = (make-array len)\n for c across s\n for i below len\n do (setf (aref oct i) (char-code c))\n finally (return (bytes->int oct len))))\n\n(defun cord->string (a)\n (declare (cord a))\n (loop with len = (met 3 a)\n with str = (make-string len)\n for o across (int->bytes a len)\n for i below len\n do (setf (schar str i) (code-char o))\n finally (return str)))\n\n(defun read-cord (stream char)\n (declare (ignore char))\n (let ((obj (read stream)))\n (etypecase obj\n (symbol (string->cord (string-downcase (symbol-name obj)))))))\n\n(defreadtable cord-readtable\n (:merge :standard)\n (:macro-char #\\% #'read-cord))\n","avg_line_length":28.8205128205,"max_line_length":68,"alphanum_fraction":0.6165480427} +{"size":5085,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":";;;; srfi-70.lisp\n\n(cl:in-package \"https:\/\/github.com\/g000001\/srfi-70#internals\")\n(in-readtable :srfi-70)\n\n(defconstant nan \n #+lispworks 1d+-0\n #-lispworks 'nan)\n\n(define-function (infinite? z) (and (= z (* 2 z)) (not (zero? z))))\n\n\n(define-function (finite? z) (not (infinite? z)))\n\n\n(define-function (ipow-by-squaring x n acc proc)\n (cond ((zero? n) acc)\n\t((eqv? 1 n) (funcall proc acc x))\n ((negative? n)\n (ipow-by-squaring (funcall proc (\/ x) (\/ x))\n (- (quotient n 2))\n (if (even? n) (\/ acc) (funcall proc (\/ acc) (\/ x)))\n proc ))\n\t(:else\n (ipow-by-squaring (funcall proc x x)\n (quotient n 2)\n (if (even? n) acc (funcall proc acc x))\n proc ))))\n\n\n(define-function (integer-expt x n)\n (ipow-by-squaring x n (if (exact? x) 1 1.0) #'*) )\n\n\n(define-function (expt z1 z2)\n (cond ((and (exact? z2)\n (not (and (zero? z1) (negative? z2))) )\n\t ;; (integer-expt z1 z2)\n (cl:expt z1 z2)\n )\n\t((zero? z2) (+ 1 (* z1 z2)))\n\t(:else (exp (* (if (zero? z1) (real-part z2) z2) (log z1))))))\n\n\n(defun truncate (number &optional (divisor 1))\n (funcall (if (exact? number)\n #'cl:truncate\n #'cl:ftruncate)\n number divisor))\n\n\n(defun ceiling (number &optional (divisor 1))\n (funcall (if (exact? number)\n #'cl:ceiling\n #'cl:fceiling)\n number divisor))\n\n\n(defun floor (number &optional (divisor 1))\n (funcall (if (exact? number)\n #'cl:floor\n #'cl:ffloor)\n number divisor))\n\n\n(defun round (number &optional (divisor 1))\n (funcall (if (exact? number)\n #'cl:round\n #'cl:fround)\n number divisor))\n\n\n(define-function integer-quotient #'cl:truncate)\n\n\n(define-function integer-remainder #'cl:rem)\n\n\n(define-function integer-modulo #'cl:mod)\n\n\n(define-function (quotient x1 x2)\n (if (and (integer? x1) (integer? x2))\n (integer-quotient x1 x2)\n (truncate (\/ x1 x2))))\n\n\n(define-function (remainder x1 x2)\n (if (and (integer? x1) (integer? x2))\n (integer-remainder x1 x2)\n (- x1 (* x2 (quotient x1 x2)))))\n\n\n(define-function (modulo x1 x2)\n (if (and (integer? x1) (integer? x2))\n (integer-modulo x1 x2)\n (- x1 (* x2 (floor (\/ x1 x2))))))\n\n\n(define-function (lcm . args)\n (if (null args)\n 1\n (\/ (apply #'integer-lcm (map #'numerator args))\n (apply #'integer-gcd (map #'denominator args)) )))\n\n\n(define-function (gcd . args)\n (\/ (apply #'integer-gcd (map #'numerator args))\n (apply #'integer-lcm (map #'denominator args))))\n\n\n(define-function integer-lcm #'cl:lcm)\n\n\n(define-function integer-gcd #'cl:gcd)\n\n\n(defun inexact->exact (n)\n (rational n))\n\n\n(define-function (exact-round x) (inexact->exact (round x)))\n\n\n(define-function (exact-floor x) (inexact->exact (floor x)))\n\n\n(define-function (exact-ceiling x) (inexact->exact (ceiling x)))\n\n\n(define-function (exact-truncate x) (inexact->exact (truncate x)))\n\n\n(defun max (&rest args)\n (if (every #'exact? args)\n (apply #'cl:max args)\n (exact->inexact (apply #'cl:max args))))\n\n\n(defun min (&rest args)\n (if (every #'exact? args)\n (apply #'cl:min args)\n (exact->inexact (apply #'cl:min args))))\n\n\n(defun rational? (n)\n (and (not (infinite? n))\n (or (rationalp n)\n (zerop (- n (cl:rationalize n))))))\n\n(defun \/ (number &rest more-numbers)\n #-sbcl\n (etypecase more-numbers\n (null (if (zerop number)\n +inf.0\n (cl:\/ number)))\n (cons (if (member-if #'zerop more-numbers)\n (if (zerop number)\n nan\n (if (plusp number)\n +inf.0\n -inf.0))\n (apply #'cl:\/ number more-numbers))))\n #+sbcl\n (sb-int:with-float-traps-masked (:invalid)\n (if (and (member-if #'zerop more-numbers)\n (not (zerop number)))\n (if (plusp number)\n +inf.0\n -inf.0)\n (if (and (zerop number)\n (null more-numbers))\n +inf.0\n (apply #'cl:\/ number more-numbers)))))\n\n\n(defun + (&rest args)\n #-sbcl \n (apply #'cl:+ args)\n #+sbcl\n (sb-int:with-float-traps-masked (:invalid)\n (apply #'cl:+ args)))\n\n\n(defun * (&rest args)\n #-sbcl\n (apply #'cl:* args)\n #+sbcl\n (sb-int:with-float-traps-masked (:invalid)\n (apply #'cl:* args)))\n\n\n(defun - (number &rest more-numbers)\n #-sbcl\n (apply #'cl:- number more-numbers)\n #+sbcl\n (sb-int:with-float-traps-masked (:invalid)\n (apply #'cl:- number more-numbers)))\n\n\n(declaim (inline number->string))\n\n\n(defun number->string (num &optional (radix 10.))\n (cond ((= +inf.0 num) \"+inf.0\")\n ((= -inf.0 num) \"-inf.0\")\n (T (cl:write-to-string num :base radix))))\n\n\n(defun string->number (str &optional (radix 10.))\n ;;>> TODO (string->number \"15##\") ==> 1500.0\n (let ((*read-base* radix))\n (values (read-from-string str))))\n\n\n;;; *EOF*\n","avg_line_length":23.4331797235,"max_line_length":78,"alphanum_fraction":0.534906588} +{"size":7526,"ext":"lisp","lang":"Common Lisp","max_stars_count":2.0,"content":"; Auto-generated. Do not edit!\n\n\n(cl:in-package std_msgs-msg)\n\n\n;\/\/! \\htmlinclude ByteMultiArray.msg.html\n\n(cl:defclass (roslisp-msg-protocol:ros-message)\n ((layout\n :reader layout\n :initarg :layout\n :type std_msgs-msg:MultiArrayLayout\n :initform (cl:make-instance 'std_msgs-msg:MultiArrayLayout))\n (data\n :reader data\n :initarg :data\n :type (cl:vector cl:integer)\n :initform (cl:make-array 0 :element-type 'cl:integer :initial-element 0)))\n)\n\n(cl:defclass ByteMultiArray ()\n ())\n\n(cl:defmethod cl:initialize-instance :after ((m ) cl:&rest args)\n (cl:declare (cl:ignorable args))\n (cl:unless (cl:typep m 'ByteMultiArray)\n (roslisp-msg-protocol:msg-deprecation-warning \"using old message class name std_msgs-msg: is deprecated: use std_msgs-msg:ByteMultiArray instead.\")))\n\n(cl:ensure-generic-function 'layout-val :lambda-list '(m))\n(cl:defmethod layout-val ((m ))\n (roslisp-msg-protocol:msg-deprecation-warning \"Using old-style slot reader std_msgs-msg:layout-val is deprecated. Use std_msgs-msg:layout instead.\")\n (layout m))\n\n(cl:ensure-generic-function 'data-val :lambda-list '(m))\n(cl:defmethod data-val ((m ))\n (roslisp-msg-protocol:msg-deprecation-warning \"Using old-style slot reader std_msgs-msg:data-val is deprecated. Use std_msgs-msg:data instead.\")\n (data m))\n(cl:defmethod roslisp-msg-protocol:serialize ((msg ) ostream)\n \"Serializes a message object of type '\"\n (roslisp-msg-protocol:serialize (cl:slot-value msg 'layout) ostream)\n (cl:let ((__ros_arr_len (cl:length (cl:slot-value msg 'data))))\n (cl:write-byte (cl:ldb (cl:byte 8 0) __ros_arr_len) ostream)\n (cl:write-byte (cl:ldb (cl:byte 8 8) __ros_arr_len) ostream)\n (cl:write-byte (cl:ldb (cl:byte 8 16) __ros_arr_len) ostream)\n (cl:write-byte (cl:ldb (cl:byte 8 24) __ros_arr_len) ostream))\n (cl:map cl:nil #'(cl:lambda (ele) (cl:write-byte (cl:ldb (cl:byte 8 0) ele) ostream))\n (cl:slot-value msg 'data))\n)\n(cl:defmethod roslisp-msg-protocol:deserialize ((msg ) istream)\n \"Deserializes a message object of type '\"\n (roslisp-msg-protocol:deserialize (cl:slot-value msg 'layout) istream)\n (cl:let ((__ros_arr_len 0))\n (cl:setf (cl:ldb (cl:byte 8 0) __ros_arr_len) (cl:read-byte istream))\n (cl:setf (cl:ldb (cl:byte 8 8) __ros_arr_len) (cl:read-byte istream))\n (cl:setf (cl:ldb (cl:byte 8 16) __ros_arr_len) (cl:read-byte istream))\n (cl:setf (cl:ldb (cl:byte 8 24) __ros_arr_len) (cl:read-byte istream))\n (cl:setf (cl:slot-value msg 'data) (cl:make-array __ros_arr_len))\n (cl:let ((vals (cl:slot-value msg 'data)))\n (cl:dotimes (i __ros_arr_len)\n (cl:setf (cl:ldb (cl:byte 8 0) (cl:aref vals i)) (cl:read-byte istream)))))\n msg\n)\n(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql ')))\n \"Returns string type for a message object of type '\"\n \"std_msgs\/ByteMultiArray\")\n(cl:defmethod roslisp-msg-protocol:ros-datatype ((msg (cl:eql 'ByteMultiArray)))\n \"Returns string type for a message object of type 'ByteMultiArray\"\n \"std_msgs\/ByteMultiArray\")\n(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql ')))\n \"Returns md5sum for a message object of type '\"\n \"70ea476cbcfd65ac2f68f3cda1e891fe\")\n(cl:defmethod roslisp-msg-protocol:md5sum ((type (cl:eql 'ByteMultiArray)))\n \"Returns md5sum for a message object of type 'ByteMultiArray\"\n \"70ea476cbcfd65ac2f68f3cda1e891fe\")\n(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql ')))\n \"Returns full string definition for message of type '\"\n (cl:format cl:nil \"# Please look at the MultiArrayLayout message definition for~%# documentation on all multiarrays.~%~%MultiArrayLayout layout # specification of data layout~%byte[] data # array of data~%~%~%================================================================================~%MSG: std_msgs\/MultiArrayLayout~%# The multiarray declares a generic multi-dimensional array of a~%# particular data type. Dimensions are ordered from outer most~%# to inner most.~%~%MultiArrayDimension[] dim # Array of dimension properties~%uint32 data_offset # padding elements at front of data~%~%# Accessors should ALWAYS be written in terms of dimension stride~%# and specified outer-most dimension first.~%# ~%# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]~%#~%# A standard, 3-channel 640x480 image with interleaved color channels~%# would be specified as:~%#~%# dim[0].label = \\\"height\\\"~%# dim[0].size = 480~%# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)~%# dim[1].label = \\\"width\\\"~%# dim[1].size = 640~%# dim[1].stride = 3*640 = 1920~%# dim[2].label = \\\"channel\\\"~%# dim[2].size = 3~%# dim[2].stride = 3~%#~%# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.~%~%================================================================================~%MSG: std_msgs\/MultiArrayDimension~%string label # label of given dimension~%uint32 size # size of given dimension (in type units)~%uint32 stride # stride of given dimension~%~%\"))\n(cl:defmethod roslisp-msg-protocol:message-definition ((type (cl:eql 'ByteMultiArray)))\n \"Returns full string definition for message of type 'ByteMultiArray\"\n (cl:format cl:nil \"# Please look at the MultiArrayLayout message definition for~%# documentation on all multiarrays.~%~%MultiArrayLayout layout # specification of data layout~%byte[] data # array of data~%~%~%================================================================================~%MSG: std_msgs\/MultiArrayLayout~%# The multiarray declares a generic multi-dimensional array of a~%# particular data type. Dimensions are ordered from outer most~%# to inner most.~%~%MultiArrayDimension[] dim # Array of dimension properties~%uint32 data_offset # padding elements at front of data~%~%# Accessors should ALWAYS be written in terms of dimension stride~%# and specified outer-most dimension first.~%# ~%# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k]~%#~%# A standard, 3-channel 640x480 image with interleaved color channels~%# would be specified as:~%#~%# dim[0].label = \\\"height\\\"~%# dim[0].size = 480~%# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image)~%# dim[1].label = \\\"width\\\"~%# dim[1].size = 640~%# dim[1].stride = 3*640 = 1920~%# dim[2].label = \\\"channel\\\"~%# dim[2].size = 3~%# dim[2].stride = 3~%#~%# multiarray(i,j,k) refers to the ith row, jth column, and kth channel.~%~%================================================================================~%MSG: std_msgs\/MultiArrayDimension~%string label # label of given dimension~%uint32 size # size of given dimension (in type units)~%uint32 stride # stride of given dimension~%~%\"))\n(cl:defmethod roslisp-msg-protocol:serialization-length ((msg ))\n (cl:+ 0\n (roslisp-msg-protocol:serialization-length (cl:slot-value msg 'layout))\n 4 (cl:reduce #'cl:+ (cl:slot-value msg 'data) :key #'(cl:lambda (ele) (cl:declare (cl:ignorable ele)) (cl:+ 1)))\n))\n(cl:defmethod roslisp-msg-protocol:ros-message-to-list ((msg ))\n \"Converts a ROS message object to a list\"\n (cl:list 'ByteMultiArray\n (cl:cons ':layout (layout msg))\n (cl:cons ':data (data msg))\n))\n","avg_line_length":80.9247311828,"max_line_length":1565,"alphanum_fraction":0.676056338} +{"size":2246,"ext":"lsp","lang":"Common Lisp","max_stars_count":null,"content":";; Copyright 2013 Google Inc.\n;;\n;; Licensed under the Apache License, Version 2.0 (the \"License\");\n;; you may not use this file except in compliance with the License.\n;; You may obtain a copy of the License at\n;;\n;; http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n;;\n;; Unless required by applicable law or agreed to in writing, software\n;; distributed under the License is distributed on an \"AS IS\" BASIS,\n;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n;; See the License for the specific language governing permissions and\n;; limitations under the License.\n\n\n;; FORMAT is lisp's counterpart to the c function printf. Refer to\n;; http:\/\/www.gigamonkeys.com\/book\/a-few-format-recipes.html for more\n;; on this topic.\n\n\n;; FORMAT takes two fixed parameters. The first one specifies an\n;; output stream that the result goes to, and if left as nil, FORMAT\n;; will return the output as a string instead. The second parameter\n;; specifies the format, where format specifier will be replaced by\n;; formatting the rest of the parameters.\n\n(define-test test-format-with-plain-text\n \"If there is no format sepcifier, FORMAT just return the string\nitself.\"\n (assert-equal ___ (format nil \"this is plain text.\")))\n\n(define-test test-format-with-general-specifier\n \"~a is a general specifier that translate to the print form of a\n parameter.\"\n (assert-equal ___ (format nil \"~a\" 42))\n (assert-equal ___ (format nil \"~a\" #\\C))\n (assert-equal ___ (format nil \"~a\" \"galaxy far far away\"))\n ;; ~a can also translate to list\n ;; and parameters to FORMAT are passed by value\n (assert-equal ___\n\t\t(format nil \"~a evaluates to ~a\"\n\t\t\t'(\/ 8 (- 3 (\/ 8 3)))\n\t\t\t(\/ 8 (- 3 (\/ 8 3))))))\n\n(define-test some-fancy-specifiers\n \"format enclosed by ~{ and ~} applies to every element in a list.\"\n (assert-equal ___\n\t\t(format nil \"~{[~a]~}\" '(1 2 3 4)))\n ;; ~^ within the ~{ ~} stops processing the last element in the list.\n (assert-equal \"1|2|3|4|\" (format nil ___ '(1 2 3 4)))\n (assert-equal ___ (format nil \"~{~a~^|~}\" '(1 2 3 4)))\n ;; ~r reads the interger \n (assert-equal ___ (format nil \"~r\" 42))\n ;; put them all together\n (assert-equal ___\n\t\t(format nil \"~{~r~^,~}\" '(1 2 3 4))))\n \n\n\n\n\n\n\n\n\t\t\n\n\n\n \n\n","avg_line_length":31.6338028169,"max_line_length":77,"alphanum_fraction":0.6745325022} +{"size":119,"ext":"lisp","lang":"Common Lisp","max_stars_count":3.0,"content":"(defpackage #:hare-llvm\n (:use #:cl)\n (:local-nicknames (#:ast #:hare.ast) (#:type #:hare.type))\n (:export #:llvm))\n","avg_line_length":23.8,"max_line_length":60,"alphanum_fraction":0.5798319328} +{"size":1058,"ext":"lisp","lang":"Common Lisp","max_stars_count":9.0,"content":"; A lightweight book about the built-in function abs\n;\n; Copyright (C) 2016-2021 Kestrel Institute\n;\n; License: A 3-clause BSD license. See the file books\/3BSD-mod.txt.\n;\n; Author: Eric Smith (eric.smith@kestrel.edu)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(in-package \"ACL2\")\n\n;; TODO: Consider disabling abs\n\n(defthm abs-when-non-neg\n (implies (and (<= 0 x)\n (rationalp x))\n (equal (abs x)\n x)))\n\n(defthm natp-of-abs\n (equal (natp (abs x))\n (integerp x))\n :hints ((\"Goal\" :cases ((integerp x)))))\n\n(defthm integerp-of-abs\n (equal (integerp (abs x))\n (integerp x))\n :hints ((\"Goal\" :cases ((integerp x)))))\n\n;; Since abs returns non-numbers unchanged\n(defthm rationalp-of-abs\n (equal (rationalp (abs x))\n (rationalp x))\n :hints ((\"Goal\" :cases ((rationalp x)))))\n\n;; Since abs returns non-numbers unchanged\n(defthm acl2-numberp-of-abs\n (equal (acl2-numberp (abs x))\n (acl2-numberp x))\n :hints ((\"Goal\" :cases ((acl2-numberp x)))))\n","avg_line_length":25.1904761905,"max_line_length":80,"alphanum_fraction":0.5633270321} +{"size":160717,"ext":"lsp","lang":"Common Lisp","max_stars_count":1.0,"content":"(C::SCOPEP)\n(C::BOOLEANP-OFSCOPEP)\n(C::MAPP-WHEN-SCOPEP\n (415 25 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (367 16 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (161 50 (:REWRITE <<-TRICHOTOMY))\n (143 29 (:REWRITE <<-ASYMMETRIC))\n (139 139 (:REWRITE DEFAULT-CAR))\n (77 77 (:REWRITE DEFAULT-CDR))\n (72 18 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (59 47 (:REWRITE <<-TRANSITIVE))\n (57 25 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (57 25 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (57 25 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (57 25 (:REWRITE C::VALUEP-WHEN-UINTP))\n (57 25 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (57 25 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (57 25 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (57 25 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (57 25 (:REWRITE C::VALUEP-WHEN-SINTP))\n (57 25 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (57 25 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (50 50 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (35 35 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (18 18 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (18 18 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n (18 6 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (12 12 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (3 3 (:REWRITE <<-IRREFLEXIVE))\n )\n(C::SCOPEP-OF-TAIL\n (129 6 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (120 3 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (57 15 (:REWRITE <<-TRICHOTOMY))\n (56 56 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (51 9 (:REWRITE <<-ASYMMETRIC))\n (27 27 (:REWRITE DEFAULT-CAR))\n (20 20 (:REWRITE DEFAULT-CDR))\n (15 15 (:REWRITE <<-TRANSITIVE))\n (12 12 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (12 6 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (12 6 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (12 6 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (12 6 (:REWRITE C::VALUEP-WHEN-UINTP))\n (12 6 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (12 6 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (12 6 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (12 6 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (12 6 (:REWRITE C::VALUEP-WHEN-SINTP))\n (12 6 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (12 6 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (12 3 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (9 9 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (6 6 (:TYPE-PRESCRIPTION C::USHORTP))\n (6 6 (:TYPE-PRESCRIPTION C::ULONGP))\n (6 6 (:TYPE-PRESCRIPTION C::ULLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::UINTP))\n (6 6 (:TYPE-PRESCRIPTION C::UCHARP))\n (6 6 (:TYPE-PRESCRIPTION C::SSHORTP))\n (6 6 (:TYPE-PRESCRIPTION C::SLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::SLLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::SINTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCHARP))\n (6 6 (:TYPE-PRESCRIPTION C::POINTERP))\n (3 3 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (3 3 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n (3 1 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n )\n(C::IDENTP-OF-HEAD-KEY-WHEN-SCOPEP\n (43 2 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (40 1 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (25 1 (:REWRITE FAST-<<-IS-<<))\n (19 5 (:REWRITE <<-TRICHOTOMY))\n (17 3 (:REWRITE <<-ASYMMETRIC))\n (14 14 (:REWRITE DEFAULT-CAR))\n (12 12 (:TYPE-PRESCRIPTION <<))\n (12 3 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (10 8 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (7 7 (:REWRITE DEFAULT-CDR))\n (6 6 (:TYPE-PRESCRIPTION C::IDENT-LISTP))\n (5 5 (:REWRITE <<-TRANSITIVE))\n (4 4 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (4 2 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (4 2 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (4 2 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (4 2 (:REWRITE C::VALUEP-WHEN-UINTP))\n (4 2 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (4 2 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (4 2 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (4 2 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (4 2 (:REWRITE C::VALUEP-WHEN-SINTP))\n (4 2 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (4 2 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (3 3 (:TYPE-PRESCRIPTION C::VALUEP))\n (3 3 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (3 3 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (3 3 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION C::USHORTP))\n (2 2 (:TYPE-PRESCRIPTION C::ULONGP))\n (2 2 (:TYPE-PRESCRIPTION C::ULLONGP))\n (2 2 (:TYPE-PRESCRIPTION C::UINTP))\n (2 2 (:TYPE-PRESCRIPTION C::UCHARP))\n (2 2 (:TYPE-PRESCRIPTION C::SSHORTP))\n (2 2 (:TYPE-PRESCRIPTION C::SLONGP))\n (2 2 (:TYPE-PRESCRIPTION C::SLLONGP))\n (2 2 (:TYPE-PRESCRIPTION C::SINTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCHARP))\n (2 2 (:TYPE-PRESCRIPTION C::POINTERP))\n (1 1 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n )\n(C::VALUEP-OF-HEAD-VAL-WHEN-SCOPEP\n (90 5 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (81 3 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (25 1 (:REWRITE FAST-<<-IS-<<))\n (19 5 (:REWRITE <<-TRICHOTOMY))\n (17 3 (:REWRITE <<-ASYMMETRIC))\n (15 15 (:REWRITE DEFAULT-CAR))\n (12 12 (:TYPE-PRESCRIPTION <<))\n (11 5 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (11 5 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (11 5 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (11 5 (:REWRITE C::VALUEP-WHEN-UINTP))\n (11 5 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (11 5 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (11 5 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (11 5 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (11 5 (:REWRITE C::VALUEP-WHEN-SINTP))\n (11 5 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (11 5 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (10 10 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (8 8 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (8 8 (:REWRITE DEFAULT-CDR))\n (8 2 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (6 6 (:TYPE-PRESCRIPTION C::USHORTP))\n (6 6 (:TYPE-PRESCRIPTION C::ULONGP))\n (6 6 (:TYPE-PRESCRIPTION C::ULLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::UINTP))\n (6 6 (:TYPE-PRESCRIPTION C::UCHARP))\n (6 6 (:TYPE-PRESCRIPTION C::SSHORTP))\n (6 6 (:TYPE-PRESCRIPTION C::SLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::SLLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::SINTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCHARP))\n (6 6 (:TYPE-PRESCRIPTION C::POINTERP))\n (5 5 (:REWRITE <<-TRANSITIVE))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (2 2 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n )\n(C::SCOPEP-OF-UPDATE\n (5359 250 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (4962 137 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (803 703 (:REWRITE DEFAULT-CDR))\n (736 644 (:REWRITE <<-TRANSITIVE))\n (562 250 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (562 250 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (562 250 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (562 250 (:REWRITE C::VALUEP-WHEN-UINTP))\n (562 250 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (562 250 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (562 250 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (562 250 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (562 250 (:REWRITE C::VALUEP-WHEN-SINTP))\n (562 250 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (562 250 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (500 500 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (364 364 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (362 81 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (224 224 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (137 137 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (99 99 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n (81 81 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n (49 49 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (30 30 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (25 25 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (12 12 (:REWRITE-QUOTED-CONSTANT TRUE-LIST-LIST-FIX-UNDER-TRUE-LIST-LIST-EQUIV))\n (10 10 (:REWRITE <<-IRREFLEXIVE))\n )\n(C::SCOPEP-OF-UPDATE*\n (582 24 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (546 12 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (228 60 (:REWRITE <<-TRICHOTOMY))\n (204 36 (:REWRITE <<-ASYMMETRIC))\n (108 108 (:REWRITE DEFAULT-CAR))\n (72 72 (:REWRITE DEFAULT-CDR))\n (60 60 (:REWRITE <<-TRANSITIVE))\n (54 24 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (54 24 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (54 24 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (54 24 (:REWRITE C::VALUEP-WHEN-UINTP))\n (54 24 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (54 24 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (54 24 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (54 24 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (54 24 (:REWRITE C::VALUEP-WHEN-SINTP))\n (54 24 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (54 24 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (54 12 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (48 48 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (36 36 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (24 24 (:TYPE-PRESCRIPTION C::USHORTP))\n (24 24 (:TYPE-PRESCRIPTION C::ULONGP))\n (24 24 (:TYPE-PRESCRIPTION C::ULLONGP))\n (24 24 (:TYPE-PRESCRIPTION C::UINTP))\n (24 24 (:TYPE-PRESCRIPTION C::UCHARP))\n (24 24 (:TYPE-PRESCRIPTION C::SSHORTP))\n (24 24 (:TYPE-PRESCRIPTION C::SLONGP))\n (24 24 (:TYPE-PRESCRIPTION C::SLLONGP))\n (24 24 (:TYPE-PRESCRIPTION C::SINTP))\n (24 24 (:TYPE-PRESCRIPTION C::SCHARP))\n (24 24 (:TYPE-PRESCRIPTION C::POINTERP))\n (24 24 (:TYPE-PRESCRIPTION C::IDENT-LISTP))\n (18 6 (:REWRITE OMAP::UPDATE*-WHEN-RIGHT-EMPTY))\n (12 12 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (12 12 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n (9 3 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (9 3 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n (3 3 (:REWRITE OMAP::HEAD-VALUE-WHEN-EMPTY))\n (3 3 (:REWRITE OMAP::HEAD-KEY-WHEN-EMPTY))\n (2 2 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (2 2 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n )\n(C::SCOPEP-OF-DELETE\n (728 7 (:DEFINITION C::SCOPEP))\n (301 14 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (280 7 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (175 7 (:REWRITE FAST-<<-IS-<<))\n (133 35 (:REWRITE <<-TRICHOTOMY))\n (119 21 (:REWRITE <<-ASYMMETRIC))\n (84 84 (:TYPE-PRESCRIPTION <<))\n (63 63 (:REWRITE DEFAULT-CAR))\n (56 54 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (42 42 (:REWRITE DEFAULT-CDR))\n (35 35 (:REWRITE <<-TRANSITIVE))\n (28 28 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (28 14 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (28 14 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (28 14 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (28 14 (:REWRITE C::VALUEP-WHEN-UINTP))\n (28 14 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (28 14 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (28 14 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (28 14 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (28 14 (:REWRITE C::VALUEP-WHEN-SINTP))\n (28 14 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (28 14 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (28 7 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (21 21 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (14 14 (:TYPE-PRESCRIPTION C::USHORTP))\n (14 14 (:TYPE-PRESCRIPTION C::ULONGP))\n (14 14 (:TYPE-PRESCRIPTION C::ULLONGP))\n (14 14 (:TYPE-PRESCRIPTION C::UINTP))\n (14 14 (:TYPE-PRESCRIPTION C::UCHARP))\n (14 14 (:TYPE-PRESCRIPTION C::SSHORTP))\n (14 14 (:TYPE-PRESCRIPTION C::SLONGP))\n (14 14 (:TYPE-PRESCRIPTION C::SLLONGP))\n (14 14 (:TYPE-PRESCRIPTION C::SINTP))\n (14 14 (:TYPE-PRESCRIPTION C::SCHARP))\n (14 14 (:TYPE-PRESCRIPTION C::POINTERP))\n (14 14 (:TYPE-PRESCRIPTION C::IDENT-LISTP))\n (14 6 (:REWRITE OMAP::DELETE-WHEN-EMPTY))\n (9 3 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (7 7 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (7 7 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n (6 6 (:REWRITE OMAP::HEAD-KEY-WHEN-EMPTY))\n (5 5 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (4 4 (:REWRITE OMAP::HEAD-VALUE-WHEN-EMPTY))\n )\n(C::SCOPEP-OF-DELETE*\n (344 16 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (320 8 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (152 40 (:REWRITE <<-TRICHOTOMY))\n (136 24 (:REWRITE <<-ASYMMETRIC))\n (72 72 (:REWRITE DEFAULT-CAR))\n (48 48 (:REWRITE DEFAULT-CDR))\n (40 40 (:REWRITE <<-TRANSITIVE))\n (32 32 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (32 16 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (32 16 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (32 16 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (32 16 (:REWRITE C::VALUEP-WHEN-UINTP))\n (32 16 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (32 16 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (32 16 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (32 16 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (32 16 (:REWRITE C::VALUEP-WHEN-SINTP))\n (32 16 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (32 16 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (32 8 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (24 24 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (24 24 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (18 6 (:REWRITE OMAP::DELETE*-WHEN-RIGHT-EMPTY))\n (16 16 (:TYPE-PRESCRIPTION C::USHORTP))\n (16 16 (:TYPE-PRESCRIPTION C::ULONGP))\n (16 16 (:TYPE-PRESCRIPTION C::ULLONGP))\n (16 16 (:TYPE-PRESCRIPTION C::UINTP))\n (16 16 (:TYPE-PRESCRIPTION C::UCHARP))\n (16 16 (:TYPE-PRESCRIPTION C::SSHORTP))\n (16 16 (:TYPE-PRESCRIPTION C::SLONGP))\n (16 16 (:TYPE-PRESCRIPTION C::SLLONGP))\n (16 16 (:TYPE-PRESCRIPTION C::SINTP))\n (16 16 (:TYPE-PRESCRIPTION C::SCHARP))\n (16 16 (:TYPE-PRESCRIPTION C::POINTERP))\n (16 16 (:TYPE-PRESCRIPTION C::IDENT-LISTP))\n (9 3 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n (9 3 (:REWRITE OMAP::DELETE-WHEN-EMPTY))\n (8 8 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (8 8 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n (3 3 (:REWRITE SET::IN-TAIL-OR-HEAD))\n (3 3 (:REWRITE SET::HEAD-WHEN-EMPTY))\n (2 2 (:REWRITE SET::TAIL-WHEN-EMPTY))\n )\n(C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X\n (312 3 (:DEFINITION C::SCOPEP))\n (249 14 (:REWRITE OMAP::IN-WHEN-IN-TAIL))\n (129 6 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (122 84 (:TYPE-PRESCRIPTION OMAP::TAIL-WHEN-EMPTY))\n (120 3 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (104 88 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (75 3 (:REWRITE FAST-<<-IS-<<))\n (57 15 (:REWRITE <<-TRICHOTOMY))\n (51 9 (:REWRITE <<-ASYMMETRIC))\n (36 36 (:TYPE-PRESCRIPTION <<))\n (27 27 (:REWRITE DEFAULT-CAR))\n (18 18 (:REWRITE DEFAULT-CDR))\n (18 10 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (15 15 (:REWRITE <<-TRANSITIVE))\n (13 5 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (12 12 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (12 6 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (12 6 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (12 6 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (12 6 (:REWRITE C::VALUEP-WHEN-UINTP))\n (12 6 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (12 6 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (12 6 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (12 6 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (12 6 (:REWRITE C::VALUEP-WHEN-SINTP))\n (12 6 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (12 6 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (12 3 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (9 9 (:TYPE-PRESCRIPTION C::VALUEP))\n (9 9 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (9 9 (:REWRITE OMAP::HEAD-KEY-WHEN-EMPTY))\n (8 3 (:TYPE-PRESCRIPTION OMAP::HEAD-VALUE-WHEN-EMPTY))\n (6 6 (:TYPE-PRESCRIPTION C::USHORTP))\n (6 6 (:TYPE-PRESCRIPTION C::ULONGP))\n (6 6 (:TYPE-PRESCRIPTION C::ULLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::UINTP))\n (6 6 (:TYPE-PRESCRIPTION C::UCHARP))\n (6 6 (:TYPE-PRESCRIPTION C::SSHORTP))\n (6 6 (:TYPE-PRESCRIPTION C::SLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::SLLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::SINTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCHARP))\n (6 6 (:TYPE-PRESCRIPTION C::POINTERP))\n (6 6 (:TYPE-PRESCRIPTION C::IDENT-LISTP))\n (6 6 (:REWRITE OMAP::HEAD-VALUE-WHEN-EMPTY))\n (5 5 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (3 3 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n )\n(C::IDENTP-OF-CAR-OF-IN-SCOPEP\n (525 5 (:DEFINITION C::SCOPEP))\n (258 15 (:REWRITE OMAP::IN-WHEN-IN-TAIL))\n (215 10 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (200 5 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (166 126 (:TYPE-PRESCRIPTION OMAP::TAIL-WHEN-EMPTY))\n (130 114 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (125 5 (:REWRITE FAST-<<-IS-<<))\n (95 25 (:REWRITE <<-TRICHOTOMY))\n (85 15 (:REWRITE <<-ASYMMETRIC))\n (80 9 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (63 50 (:REWRITE DEFAULT-CAR))\n (60 60 (:TYPE-PRESCRIPTION <<))\n (30 30 (:REWRITE DEFAULT-CDR))\n (28 12 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (25 25 (:REWRITE <<-TRANSITIVE))\n (21 9 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n (20 20 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (20 12 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (20 10 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (20 10 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (20 10 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (20 10 (:REWRITE C::VALUEP-WHEN-UINTP))\n (20 10 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (20 10 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (20 10 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (20 10 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (20 10 (:REWRITE C::VALUEP-WHEN-SINTP))\n (20 10 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (20 10 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (18 18 (:TYPE-PRESCRIPTION C::IDENT-LISTP))\n (15 15 (:TYPE-PRESCRIPTION C::VALUEP))\n (15 15 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (15 15 (:REWRITE OMAP::HEAD-KEY-WHEN-EMPTY))\n (11 11 (:REWRITE OMAP::HEAD-VALUE-WHEN-EMPTY))\n (10 10 (:TYPE-PRESCRIPTION C::USHORTP))\n (10 10 (:TYPE-PRESCRIPTION C::ULONGP))\n (10 10 (:TYPE-PRESCRIPTION C::ULLONGP))\n (10 10 (:TYPE-PRESCRIPTION C::UINTP))\n (10 10 (:TYPE-PRESCRIPTION C::UCHARP))\n (10 10 (:TYPE-PRESCRIPTION C::SSHORTP))\n (10 10 (:TYPE-PRESCRIPTION C::SLONGP))\n (10 10 (:TYPE-PRESCRIPTION C::SLLONGP))\n (10 10 (:TYPE-PRESCRIPTION C::SINTP))\n (10 10 (:TYPE-PRESCRIPTION C::SCHARP))\n (10 10 (:TYPE-PRESCRIPTION C::POINTERP))\n (10 10 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (9 9 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (9 4 (:TYPE-PRESCRIPTION OMAP::HEAD-VALUE-WHEN-EMPTY))\n )\n(C::VALUEP-OF-CDR-OF-IN-SCOPEP\n (619 17 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (585 9 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (525 5 (:DEFINITION C::SCOPEP))\n (403 354 (:TYPE-PRESCRIPTION OMAP::TAIL-WHEN-EMPTY))\n (258 15 (:REWRITE OMAP::IN-WHEN-IN-TAIL))\n (126 110 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (125 5 (:REWRITE FAST-<<-IS-<<))\n (95 25 (:REWRITE <<-TRICHOTOMY))\n (85 15 (:REWRITE <<-ASYMMETRIC))\n (67 17 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (67 17 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (67 17 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (67 17 (:REWRITE C::VALUEP-WHEN-UINTP))\n (67 17 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (67 17 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (67 17 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (67 17 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (67 17 (:REWRITE C::VALUEP-WHEN-SINTP))\n (67 17 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (67 17 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (60 60 (:TYPE-PRESCRIPTION <<))\n (48 35 (:REWRITE DEFAULT-CDR))\n (45 45 (:REWRITE DEFAULT-CAR))\n (34 34 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (28 12 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (25 25 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (25 25 (:REWRITE <<-TRANSITIVE))\n (20 12 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (20 5 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (15 15 (:REWRITE OMAP::HEAD-KEY-WHEN-EMPTY))\n (11 11 (:REWRITE OMAP::HEAD-VALUE-WHEN-EMPTY))\n (9 4 (:TYPE-PRESCRIPTION OMAP::HEAD-VALUE-WHEN-EMPTY))\n (5 5 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (5 5 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (5 5 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n )\n(C::SCOPE-FIX\n (1 1 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n )\n(C::SCOPEP-OF-SCOPE-FIX)\n(C::SCOPE-FIX-WHEN-SCOPEP)\n(C::EMPTY-OF-SCOPE-FIX-TO-NOT-SCOPEP-OR-EMPTY\n (28 7 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n (14 14 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (10 2 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT\n (33 33 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n )\n(C::SCOPE-EQUIV$INLINE\n (4 4 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n )\n(C::SCOPE-EQUIV-IS-AN-EQUIVALENCE)\n(C::SCOPE-EQUIV-IMPLIES-EQUAL-SCOPE-FIX-1)\n(C::SCOPE-FIX-UNDER-SCOPE-EQUIV)\n(C::EQUAL-OF-SCOPE-FIX-1-FORWARD-TO-SCOPE-EQUIV)\n(C::EQUAL-OF-SCOPE-FIX-2-FORWARD-TO-SCOPE-EQUIV)\n(C::SCOPE-EQUIV-OF-SCOPE-FIX-1-FORWARD)\n(C::SCOPE-EQUIV-OF-SCOPE-FIX-2-FORWARD)\n(C::SCOPE-LISTP)\n(STD::DEFLIST-LOCAL-BOOLEANP-ELEMENT-THM)\n(STD::DEFLIST-LOCAL-ELEMENTP-OF-NIL-THM)\n(C::SCOPE-LISTP-OF-CONS)\n(C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP)\n(C::SCOPE-LISTP-WHEN-NOT-CONSP)\n(C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP)\n(C::TRUE-LISTP-WHEN-SCOPE-LISTP)\n(C::SCOPE-LISTP-OF-LIST-FIX)\n(C::SCOPE-LISTP-OF-SFIX)\n(C::SCOPE-LISTP-OF-INSERT)\n(C::SCOPE-LISTP-OF-DELETE)\n(C::SCOPE-LISTP-OF-MERGESORT)\n(C::SCOPE-LISTP-OF-UNION)\n(C::SCOPE-LISTP-OF-INTERSECT-1)\n(C::SCOPE-LISTP-OF-INTERSECT-2)\n(C::SCOPE-LISTP-OF-DIFFERENCE)\n(C::SCOPE-LISTP-OF-DUPLICATED-MEMBERS)\n(C::SCOPE-LISTP-OF-REV)\n(C::SCOPE-LISTP-OF-APPEND)\n(C::SCOPE-LISTP-OF-RCONS)\n(C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP)\n(C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL)\n(C::SCOPE-LISTP-OF-SET-DIFFERENCE-EQUAL)\n(C::SCOPE-LISTP-OF-INTERSECTION-EQUAL-1)\n(C::SCOPE-LISTP-OF-INTERSECTION-EQUAL-2)\n(C::SCOPE-LISTP-OF-UNION-EQUAL)\n(C::SCOPE-LISTP-OF-TAKE)\n(C::SCOPE-LISTP-OF-REPEAT)\n(C::SCOPEP-OF-NTH-WHEN-SCOPE-LISTP)\n(C::SCOPE-LISTP-OF-UPDATE-NTH)\n(C::SCOPE-LISTP-OF-BUTLAST)\n(C::SCOPE-LISTP-OF-NTHCDR)\n(C::SCOPE-LISTP-OF-LAST)\n(C::SCOPE-LISTP-OF-REMOVE)\n(C::SCOPE-LISTP-OF-REVAPPEND)\n(C::SCOPE-LIST-FIX$INLINE\n (1 1 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n )\n(C::SCOPE-LISTP-OF-SCOPE-LIST-FIX\n (30 1 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (22 2 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (18 10 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (15 1 (:DEFINITION C::SCOPE-LISTP))\n (12 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (9 5 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (8 8 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (4 4 (:TYPE-PRESCRIPTION C::SCOPEP))\n (4 4 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (2 2 (:REWRITE FTY::OPEN-MEMBER-EQUAL-ON-LIST-OF-TAGS))\n (2 1 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n )\n(C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP\n (32 4 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (28 24 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (13 3 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (9 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 4 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (2 2 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (1 1 (:REWRITE FTY::OPEN-MEMBER-EQUAL-ON-LIST-OF-TAGS))\n )\n(C::SCOPE-LIST-FIX$INLINE\n (8 8 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (6 1 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (4 4 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (1 1 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n )\n(C::SCOPE-LIST-EQUIV$INLINE)\n(C::SCOPE-LIST-EQUIV-IS-AN-EQUIVALENCE)\n(C::SCOPE-LIST-EQUIV-IMPLIES-EQUAL-SCOPE-LIST-FIX-1)\n(C::SCOPE-LIST-FIX-UNDER-SCOPE-LIST-EQUIV)\n(C::EQUAL-OF-SCOPE-LIST-FIX-1-FORWARD-TO-SCOPE-LIST-EQUIV)\n(C::EQUAL-OF-SCOPE-LIST-FIX-2-FORWARD-TO-SCOPE-LIST-EQUIV)\n(C::SCOPE-LIST-EQUIV-OF-SCOPE-LIST-FIX-1-FORWARD)\n(C::SCOPE-LIST-EQUIV-OF-SCOPE-LIST-FIX-2-FORWARD)\n(C::CAR-OF-SCOPE-LIST-FIX-X-UNDER-SCOPE-EQUIV\n (33 3 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (18 3 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (18 2 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (12 12 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (12 12 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPEP))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (6 6 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (6 1 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (3 3 (:TYPE-PRESCRIPTION C::SCOPE-LIST-FIX$INLINE))\n )\n(C::CAR-SCOPE-LIST-EQUIV-CONGRUENCE-ON-X-UNDER-SCOPE-EQUIV)\n(C::CDR-OF-SCOPE-LIST-FIX-X-UNDER-SCOPE-LIST-EQUIV\n (41 3 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (22 2 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (20 20 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (12 2 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (4 4 (:TYPE-PRESCRIPTION C::SCOPEP))\n (4 4 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n )\n(C::CDR-SCOPE-LIST-EQUIV-CONGRUENCE-ON-X-UNDER-SCOPE-LIST-EQUIV)\n(C::CONS-OF-SCOPE-FIX-X-UNDER-SCOPE-LIST-EQUIV\n (34 4 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (17 2 (:REWRITE C::SCOPE-LISTP-OF-CONS))\n (10 10 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (8 8 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (5 5 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n )\n(C::CONS-SCOPE-EQUIV-CONGRUENCE-ON-X-UNDER-SCOPE-LIST-EQUIV)\n(C::CONS-OF-SCOPE-LIST-FIX-Y-UNDER-SCOPE-LIST-EQUIV\n (20 2 (:REWRITE C::SCOPE-LISTP-OF-CONS))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPEP))\n (8 8 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (8 8 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (6 2 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (5 4 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n )\n(C::CONS-SCOPE-LIST-EQUIV-CONGRUENCE-ON-Y-UNDER-SCOPE-LIST-EQUIV)\n(C::CONSP-OF-SCOPE-LIST-FIX\n (18 2 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (11 1 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (8 8 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (6 1 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (4 4 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n )\n(C::SCOPE-LIST-FIX-UNDER-IFF\n (18 2 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (11 1 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (8 8 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (6 1 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (4 4 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n )\n(C::SCOPE-LIST-FIX-OF-CONS\n (21 3 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (9 1 (:REWRITE C::SCOPE-LISTP-OF-CONS))\n (6 6 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (6 2 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (4 4 (:TYPE-PRESCRIPTION C::SCOPEP))\n (4 4 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (4 4 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (3 3 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n )\n(C::LEN-OF-SCOPE-LIST-FIX\n (35 4 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (14 14 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (13 13 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (12 2 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (11 1 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (7 7 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (6 1 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (1 1 (:REWRITE FTY::EQUAL-OF-LEN))\n )\n(C::SCOPE-LIST-FIX-OF-APPEND\n (114 10 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (58 2 (:REWRITE C::SCOPE-LISTP-OF-APPEND))\n (40 36 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (29 29 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (24 2 (:REWRITE C::SCOPE-LISTP-OF-LIST-FIX))\n (22 16 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (14 4 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (12 12 (:TYPE-PRESCRIPTION TRUE-LIST-FIX))\n (12 2 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (6 1 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (4 4 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n )\n(C::SCOPE-LIST-FIX-OF-REPEAT\n (20 2 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (16 4 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (12 2 (:REWRITE C::SCOPE-LISTP-OF-REPEAT))\n (10 10 (:TYPE-PRESCRIPTION C::SCOPEP))\n (10 10 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (1 1 (:REWRITE-QUOTED-CONSTANT C::SCOPE-LIST-FIX-UNDER-SCOPE-LIST-EQUIV))\n )\n(C::LIST-EQUIV-REFINES-SCOPE-LIST-EQUIV\n (146 14 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (112 8 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (88 18 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (72 72 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (72 8 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (70 70 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (36 36 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (16 16 (:TYPE-PRESCRIPTION C::SCOPEP))\n (16 16 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n )\n(C::NTH-OF-SCOPE-LIST-FIX\n (279 279 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (255 19 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (216 21 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (142 27 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (124 124 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (112 11 (:REWRITE C::SCOPEP-OF-NTH-WHEN-SCOPE-LISTP))\n (62 62 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (48 8 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (38 38 (:TYPE-PRESCRIPTION C::SCOPEP))\n (38 38 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (29 20 (:REWRITE DEFAULT-CDR))\n (27 20 (:REWRITE DEFAULT-+-2))\n (23 8 (:REWRITE ZP-OPEN))\n (20 20 (:REWRITE DEFAULT-+-1))\n (20 20 (:REWRITE C::CONSP-OF-SCOPE-LIST-FIX))\n (19 15 (:REWRITE DEFAULT-<-2))\n (15 15 (:REWRITE DEFAULT-<-1))\n (15 6 (:REWRITE DEFAULT-CAR))\n (15 5 (:REWRITE FOLD-CONSTS-IN-+))\n (2 2 (:REWRITE-QUOTED-CONSTANT C::SCOPE-FIX-UNDER-SCOPE-EQUIV))\n )\n(C::SCOPE-LIST-EQUIV-IMPLIES-SCOPE-LIST-EQUIV-APPEND-1\n (269 32 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (205 17 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (128 128 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (126 126 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (120 17 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (117 22 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (64 64 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (34 34 (:TYPE-PRESCRIPTION C::SCOPEP))\n (34 34 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n )\n(C::SCOPE-LIST-EQUIV-IMPLIES-SCOPE-LIST-EQUIV-APPEND-2\n (393 46 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (322 26 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (204 39 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (192 26 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (190 190 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (189 189 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (95 95 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (52 52 (:TYPE-PRESCRIPTION C::SCOPEP))\n (52 52 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 4 (:REWRITE C::CONSP-OF-SCOPE-LIST-FIX))\n )\n(C::SCOPE-LIST-EQUIV-IMPLIES-SCOPE-LIST-EQUIV-NTHCDR-2\n (298 20 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (208 39 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (198 198 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (198 20 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (40 40 (:TYPE-PRESCRIPTION C::SCOPEP))\n (40 40 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n )\n(C::SCOPE-LIST-EQUIV-IMPLIES-SCOPE-LIST-EQUIV-TAKE-2\n (553 38 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (432 28 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (304 51 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (296 26 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (236 236 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (236 236 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (229 24 (:REWRITE C::SCOPE-LISTP-OF-TAKE))\n (136 118 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (66 66 (:TYPE-PRESCRIPTION C::SCOPEP))\n (66 66 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (40 40 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (18 18 (:TYPE-PRESCRIPTION NFIX))\n (12 12 (:TYPE-PRESCRIPTION LEN))\n (6 6 (:REWRITE-QUOTED-CONSTANT C::SCOPE-LIST-FIX-UNDER-SCOPE-LIST-EQUIV))\n )\n(C::SCOPE-RESULTP)\n(C::CONSP-WHEN-SCOPE-RESULTP)\n(C::SCOPE-RESULT-KIND$INLINE)\n(C::SCOPE-RESULT-KIND-POSSIBILITIES)\n(C::SCOPE-RESULT-FIX$INLINE\n (1 1 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-FIX$INLINE))\n )\n(C::SCOPE-RESULTP-OF-SCOPE-RESULT-FIX\n (17 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (13 1 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (13 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (11 1 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (8 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (6 6 (:TYPE-PRESCRIPTION STRIP-CARS))\n (6 1 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (5 5 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-CDR))\n (4 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (3 3 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-FIX$INLINE))\n (3 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:DEFINITION NATP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (1 1 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::SCOPE-RESULT-FIX-WHEN-SCOPE-RESULTP)\n(C::SCOPE-RESULT-FIX$INLINE\n (36 3 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (19 19 (:REWRITE DEFAULT-CDR))\n (18 3 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (15 15 (:REWRITE DEFAULT-CAR))\n (14 3 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (9 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (7 3 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION IDENTITY))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 4 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:DEFINITION STRIP-CARS))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT\n (24 24 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-FIX$INLINE))\n )\n(C::SCOPE-RESULT-EQUIV$INLINE\n (4 4 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-FIX$INLINE))\n )\n(C::SCOPE-RESULT-EQUIV-IS-AN-EQUIVALENCE)\n(C::SCOPE-RESULT-EQUIV-IMPLIES-EQUAL-SCOPE-RESULT-FIX-1)\n(C::SCOPE-RESULT-FIX-UNDER-SCOPE-RESULT-EQUIV)\n(C::EQUAL-OF-SCOPE-RESULT-FIX-1-FORWARD-TO-SCOPE-RESULT-EQUIV)\n(C::EQUAL-OF-SCOPE-RESULT-FIX-2-FORWARD-TO-SCOPE-RESULT-EQUIV)\n(C::SCOPE-RESULT-EQUIV-OF-SCOPE-RESULT-FIX-1-FORWARD)\n(C::SCOPE-RESULT-EQUIV-OF-SCOPE-RESULT-FIX-2-FORWARD)\n(C::SCOPE-RESULT-KIND$INLINE-OF-SCOPE-RESULT-FIX-X\n (286 13 (:REWRITE C::IDENTP-WHEN-WRONG-TAG))\n (13 13 (:REWRITE C::TAG-WHEN-USHORTP))\n (13 13 (:REWRITE C::TAG-WHEN-ULONGP))\n (13 13 (:REWRITE C::TAG-WHEN-ULLONGP))\n (13 13 (:REWRITE C::TAG-WHEN-UINTP))\n (13 13 (:REWRITE C::TAG-WHEN-UCHARP))\n (13 13 (:REWRITE C::TAG-WHEN-TYNAMEP))\n (13 13 (:REWRITE C::TAG-WHEN-TRANSUNITP))\n (13 13 (:REWRITE C::TAG-WHEN-SSHORTP))\n (13 13 (:REWRITE C::TAG-WHEN-SLONGP))\n (13 13 (:REWRITE C::TAG-WHEN-SLLONGP))\n (13 13 (:REWRITE C::TAG-WHEN-SINTP))\n (13 13 (:REWRITE C::TAG-WHEN-SCHARP))\n (13 13 (:REWRITE C::TAG-WHEN-POINTERP))\n (13 13 (:REWRITE C::TAG-WHEN-PARAM-DECLONP))\n (13 13 (:REWRITE C::TAG-WHEN-IDENTP))\n (13 13 (:REWRITE C::TAG-WHEN-ICONSTP))\n (13 13 (:REWRITE C::TAG-WHEN-FUNDEFP))\n (13 13 (:REWRITE C::TAG-WHEN-ERRORP))\n (13 13 (:REWRITE C::TAG-WHEN-DECLORP))\n (13 13 (:REWRITE C::TAG-WHEN-DECLONP))\n (13 13 (:REWRITE C::TAG-WHEN-ADDRESSP))\n (5 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (4 1 (:DEFINITION C::ERRORP))\n (2 2 (:DEFINITION STRIP-CARS))\n (2 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (1 1 (:REWRITE C::SCOPE-RESULT-FIX-WHEN-SCOPE-RESULTP))\n )\n(C::SCOPE-RESULT-KIND$INLINE-SCOPE-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::SCOPE-RESULT-OK->GET$INLINE\n (1 1 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK->GET$INLINE))\n )\n(C::SCOPEP-OF-SCOPE-RESULT-OK->GET\n (20 2 (:DEFINITION C::SCOPEP))\n (16 1 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (9 1 (:DEFINITION C::SCOPE-FIX))\n (3 3 (:TYPE-PRESCRIPTION C::VALUEP))\n (3 3 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK->GET$INLINE))\n (3 3 (:TYPE-PRESCRIPTION C::IDENTP))\n (3 3 (:TYPE-PRESCRIPTION FAST-<<))\n )\n(C::SCOPE-RESULT-OK->GET$INLINE-OF-SCOPE-RESULT-FIX-X\n (109 109 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-FIX$INLINE))\n (54 18 (:REWRITE C::SCOPE-RESULT-FIX-WHEN-SCOPE-RESULTP))\n (36 36 (:TYPE-PRESCRIPTION C::SCOPE-RESULTP))\n (26 16 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (24 16 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK->GET$INLINE))\n )\n(C::SCOPE-RESULT-OK->GET$INLINE-SCOPE-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::SCOPE-RESULT-OK->GET-WHEN-WRONG-KIND\n (12 12 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK->GET$INLINE))\n )\n(C::SCOPE-RESULT-OK\n (4 1 (:DEFINITION C::SCOPEP))\n (1 1 (:TYPE-PRESCRIPTION C::VALUEP))\n (1 1 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK))\n (1 1 (:TYPE-PRESCRIPTION C::IDENTP))\n (1 1 (:TYPE-PRESCRIPTION FAST-<<))\n )\n(C::RETURN-TYPE-OF-SCOPE-RESULT-OK\n (26 2 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (15 15 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (10 10 (:TYPE-PRESCRIPTION C::VALUEP))\n (10 10 (:TYPE-PRESCRIPTION C::IDENTP))\n (10 10 (:TYPE-PRESCRIPTION FAST-<<))\n (3 3 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK))\n (2 2 (:DEFINITION STRIP-CARS))\n )\n(C::SCOPE-RESULT-OK->GET-OF-SCOPE-RESULT-OK\n (68 68 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK))\n (27 27 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (16 8 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK->GET$INLINE))\n )\n(C::SCOPE-RESULT-OK-OF-FIELDS\n (52 7 (:DEFINITION C::SCOPEP))\n (13 13 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK->GET$INLINE))\n (13 13 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-FIX$INLINE))\n (10 10 (:TYPE-PRESCRIPTION C::VALUEP))\n (10 10 (:TYPE-PRESCRIPTION C::IDENTP))\n (10 10 (:TYPE-PRESCRIPTION FAST-<<))\n (6 3 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK))\n (3 1 (:REWRITE C::SCOPE-RESULT-FIX-WHEN-SCOPE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-RESULTP))\n )\n(C::SCOPE-RESULT-FIX-WHEN-OK\n (42 6 (:DEFINITION C::SCOPEP))\n (13 13 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK->GET$INLINE))\n (13 13 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-FIX$INLINE))\n (8 8 (:TYPE-PRESCRIPTION C::VALUEP))\n (8 8 (:TYPE-PRESCRIPTION C::IDENTP))\n (8 8 (:TYPE-PRESCRIPTION FAST-<<))\n (6 3 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK))\n (3 1 (:REWRITE C::SCOPE-RESULT-FIX-WHEN-SCOPE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-RESULTP))\n )\n(C::EQUAL-OF-SCOPE-RESULT-OK)\n(C::SCOPE-RESULT-OK-OF-SCOPE-FIX-GET\n (42 6 (:DEFINITION C::SCOPEP))\n (9 6 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK))\n (8 8 (:TYPE-PRESCRIPTION C::VALUEP))\n (8 8 (:TYPE-PRESCRIPTION C::IDENTP))\n (8 8 (:TYPE-PRESCRIPTION FAST-<<))\n )\n(C::SCOPE-RESULT-OK-SCOPE-EQUIV-CONGRUENCE-ON-GET)\n(C::SCOPE-RESULT-ERR->GET$INLINE\n (36 3 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (19 19 (:REWRITE DEFAULT-CDR))\n (18 3 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (15 15 (:REWRITE DEFAULT-CAR))\n (14 3 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (9 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (8 8 (:TYPE-PRESCRIPTION IDENTITY))\n (7 3 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 4 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:DEFINITION STRIP-CARS))\n )\n(C::ERRORP-OF-SCOPE-RESULT-ERR->GET\n (63 3 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (17 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (15 3 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (11 1 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (8 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (7 1 (:DEFINITION C::SCOPEP))\n (6 1 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (5 5 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-CDR))\n (3 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:DEFINITION NATP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (1 1 (:TYPE-PRESCRIPTION C::SCOPEP))\n (1 1 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::SCOPE-RESULT-ERR->GET$INLINE-OF-SCOPE-RESULT-FIX-X\n (131 10 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (111 10 (:DEFINITION C::ERRORP))\n (48 48 (:TYPE-PRESCRIPTION STRIP-CARS))\n (35 8 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (33 11 (:REWRITE C::SCOPE-RESULT-FIX-WHEN-SCOPE-RESULTP))\n (22 22 (:TYPE-PRESCRIPTION C::SCOPE-RESULTP))\n (16 16 (:DEFINITION STRIP-CARS))\n (13 13 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-FIX$INLINE))\n (10 10 (:TYPE-PRESCRIPTION C::ERRORP))\n (8 8 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::SCOPE-RESULT-ERR->GET$INLINE-SCOPE-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::SCOPE-RESULT-ERR->GET-WHEN-WRONG-KIND\n (3 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:DEFINITION C::ERRORP))\n )\n(C::SCOPE-RESULT-ERR\n (36 3 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (19 19 (:REWRITE DEFAULT-CDR))\n (18 3 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (15 15 (:REWRITE DEFAULT-CAR))\n (14 3 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (9 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (7 3 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION IDENTITY))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (6 3 (:DEFINITION C::SCOPEP))\n (4 4 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (3 3 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:DEFINITION STRIP-CARS))\n )\n(C::RETURN-TYPE-OF-SCOPE-RESULT-ERR\n (17 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (11 1 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (8 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (6 1 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (5 5 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-CDR))\n (3 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:DEFINITION NATP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (1 1 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::SCOPE-RESULT-ERR->GET-OF-SCOPE-RESULT-ERR\n (30 24 (:TYPE-PRESCRIPTION IDENTITY))\n (23 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (21 1 (:DEFINITION C::ERRORP))\n (16 16 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-ERR))\n (6 6 (:TYPE-PRESCRIPTION STRIP-CARS))\n (6 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (2 2 (:DEFINITION STRIP-CARS))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::SCOPE-RESULT-ERR-OF-FIELDS\n (26 2 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (22 2 (:DEFINITION C::ERRORP))\n (18 18 (:TYPE-PRESCRIPTION IDENTITY))\n (13 13 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-FIX$INLINE))\n (12 12 (:TYPE-PRESCRIPTION STRIP-CARS))\n (8 2 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (4 4 (:DEFINITION STRIP-CARS))\n (3 1 (:REWRITE C::SCOPE-RESULT-FIX-WHEN-SCOPE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::ERRORP))\n (2 2 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::SCOPE-RESULT-FIX-WHEN-ERR\n (18 18 (:TYPE-PRESCRIPTION IDENTITY))\n (14 2 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (13 13 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-FIX$INLINE))\n (11 1 (:DEFINITION C::ERRORP))\n (6 6 (:TYPE-PRESCRIPTION STRIP-CARS))\n (4 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (3 1 (:REWRITE C::SCOPE-RESULT-FIX-WHEN-SCOPE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-RESULTP))\n (2 2 (:DEFINITION STRIP-CARS))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::EQUAL-OF-SCOPE-RESULT-ERR\n (558 6 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (550 6 (:DEFINITION C::ERRORP))\n (452 4 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (428 4 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (408 4 (:DEFINITION C::SCOPEP))\n (246 2 (:DEFINITION ALISTP))\n (172 8 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (160 4 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (60 4 (:REWRITE FAST-<<-IS-<<))\n (59 59 (:REWRITE DEFAULT-CAR))\n (48 12 (:REWRITE <<-TRICHOTOMY))\n (46 46 (:REWRITE DEFAULT-CDR))\n (32 32 (:TYPE-PRESCRIPTION <<))\n (30 6 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (24 12 (:DEFINITION STRIP-CARS))\n (24 4 (:REWRITE <<-ASYMMETRIC))\n (20 20 (:TYPE-PRESCRIPTION C::SCOPEP))\n (16 16 (:TYPE-PRESCRIPTION C::VALUEP))\n (16 16 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (16 16 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (16 8 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (16 8 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (16 8 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (16 8 (:REWRITE C::VALUEP-WHEN-UINTP))\n (16 8 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (16 8 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (16 8 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (16 8 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (16 8 (:REWRITE C::VALUEP-WHEN-SINTP))\n (16 8 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (16 8 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (16 4 (:REWRITE C::IDENTP-OF-CAR-WHEN-IDENT-LISTP))\n (16 4 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 12 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (12 12 (:TYPE-PRESCRIPTION STRIP-CARS))\n (12 12 (:REWRITE <<-TRANSITIVE))\n (12 4 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (8 8 (:TYPE-PRESCRIPTION C::USHORTP))\n (8 8 (:TYPE-PRESCRIPTION C::ULONGP))\n (8 8 (:TYPE-PRESCRIPTION C::ULLONGP))\n (8 8 (:TYPE-PRESCRIPTION C::UINTP))\n (8 8 (:TYPE-PRESCRIPTION C::UCHARP))\n (8 8 (:TYPE-PRESCRIPTION C::SSHORTP))\n (8 8 (:TYPE-PRESCRIPTION C::SLONGP))\n (8 8 (:TYPE-PRESCRIPTION C::SLLONGP))\n (8 8 (:TYPE-PRESCRIPTION C::SINTP))\n (8 8 (:TYPE-PRESCRIPTION C::SCHARP))\n (8 8 (:TYPE-PRESCRIPTION C::POINTERP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (8 8 (:TYPE-PRESCRIPTION C::IDENT-LISTP))\n (8 8 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (8 8 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (8 8 (:TYPE-PRESCRIPTION ALISTP))\n (4 4 (:TYPE-PRESCRIPTION C::IDENTP))\n (4 4 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (4 4 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (4 4 (:REWRITE C::IDENT-LISTP-WHEN-NOT-CONSP))\n (4 4 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION C::ERRORP))\n )\n(C::SCOPE-RESULT-ERR-OF-ERROR-FIX-GET\n (12 12 (:TYPE-PRESCRIPTION IDENTITY))\n )\n(C::SCOPE-RESULT-ERR-ERROR-EQUIV-CONGRUENCE-ON-GET)\n(C::SCOPE-RESULT-FIX-REDEF\n (22 11 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK))\n (15 15 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-FIX$INLINE))\n (12 12 (:TYPE-PRESCRIPTION C::SCOPE-RESULT-OK->GET$INLINE))\n (9 3 (:REWRITE C::SCOPE-RESULT-FIX-WHEN-SCOPE-RESULTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPE-RESULTP))\n )\n(C::SCOPE-RESULTP-WHEN-SCOPEP)\n(C::SCOPE-RESULTP-WHEN-ERRORP)\n(C::SCOPEP-WHEN-SCOPE-RESULTP-AND-NOT-ERRORP)\n(C::SCOPE-LIST-RESULTP)\n(C::CONSP-WHEN-SCOPE-LIST-RESULTP)\n(C::SCOPE-LIST-RESULT-KIND$INLINE)\n(C::SCOPE-LIST-RESULT-KIND-POSSIBILITIES)\n(C::SCOPE-LIST-RESULT-FIX$INLINE)\n(C::SCOPE-LIST-RESULTP-OF-SCOPE-LIST-RESULT-FIX\n (72 8 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (40 40 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (40 4 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (22 2 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (16 2 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (13 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (12 2 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (10 10 (:REWRITE DEFAULT-CDR))\n (10 2 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (6 6 (:TYPE-PRESCRIPTION STRIP-CARS))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (6 2 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (6 2 (:DEFINITION NATP))\n (5 5 (:REWRITE DEFAULT-CAR))\n (4 4 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (4 4 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (4 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (2 2 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:REWRITE DEFAULT-<-2))\n (2 2 (:REWRITE DEFAULT-<-1))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n )\n(C::SCOPE-LIST-RESULT-FIX-WHEN-SCOPE-LIST-RESULTP\n (66 6 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (40 40 (:REWRITE DEFAULT-CDR))\n (30 6 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (28 6 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (27 27 (:REWRITE DEFAULT-CAR))\n (27 3 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (18 18 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (18 6 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (14 6 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (12 12 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (12 12 (:TYPE-PRESCRIPTION IDENTITY))\n (12 12 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (10 1 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (8 8 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (7 1 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (4 4 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n )\n(C::SCOPE-LIST-RESULT-FIX$INLINE\n (66 6 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (40 40 (:REWRITE DEFAULT-CDR))\n (30 6 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (28 6 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (27 27 (:REWRITE DEFAULT-CAR))\n (27 3 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (18 18 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (18 6 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (14 6 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (12 12 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (12 12 (:TYPE-PRESCRIPTION IDENTITY))\n (12 12 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (10 1 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (8 8 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (7 1 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (4 4 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (2 2 (:DEFINITION STRIP-CARS))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT)\n(C::SCOPE-LIST-RESULT-EQUIV$INLINE)\n(C::SCOPE-LIST-RESULT-EQUIV-IS-AN-EQUIVALENCE)\n(C::SCOPE-LIST-RESULT-EQUIV-IMPLIES-EQUAL-SCOPE-LIST-RESULT-FIX-1)\n(C::SCOPE-LIST-RESULT-FIX-UNDER-SCOPE-LIST-RESULT-EQUIV)\n(C::EQUAL-OF-SCOPE-LIST-RESULT-FIX-1-FORWARD-TO-SCOPE-LIST-RESULT-EQUIV)\n(C::EQUAL-OF-SCOPE-LIST-RESULT-FIX-2-FORWARD-TO-SCOPE-LIST-RESULT-EQUIV)\n(C::SCOPE-LIST-RESULT-EQUIV-OF-SCOPE-LIST-RESULT-FIX-1-FORWARD)\n(C::SCOPE-LIST-RESULT-EQUIV-OF-SCOPE-LIST-RESULT-FIX-2-FORWARD)\n(C::SCOPE-LIST-RESULT-KIND$INLINE-OF-SCOPE-LIST-RESULT-FIX-X\n (5 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (4 1 (:DEFINITION C::ERRORP))\n (3 1 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (2 2 (:DEFINITION STRIP-CARS))\n (2 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (1 1 (:REWRITE C::SCOPE-LIST-RESULT-FIX-WHEN-SCOPE-LIST-RESULTP))\n )\n(C::SCOPE-LIST-RESULT-KIND$INLINE-SCOPE-LIST-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::SCOPE-LIST-RESULT-OK->GET$INLINE)\n(C::SCOPE-LISTP-OF-SCOPE-LIST-RESULT-OK->GET\n (20 2 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (14 2 (:DEFINITION C::SCOPE-LISTP))\n (12 1 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (4 4 (:TYPE-PRESCRIPTION C::SCOPEP))\n )\n(C::SCOPE-LIST-RESULT-OK->GET$INLINE-OF-SCOPE-LIST-RESULT-FIX-X\n (70 6 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (12 12 (:TYPE-PRESCRIPTION C::SCOPE-LIST-RESULT-FIX$INLINE))\n (12 4 (:REWRITE C::SCOPE-LIST-RESULT-FIX-WHEN-SCOPE-LIST-RESULTP))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPE-LIST-RESULTP))\n )\n(C::SCOPE-LIST-RESULT-OK->GET$INLINE-SCOPE-LIST-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::SCOPE-LIST-RESULT-OK->GET-WHEN-WRONG-KIND)\n(C::SCOPE-LIST-RESULT-OK\n (2 1 (:DEFINITION C::SCOPE-LISTP))\n (1 1 (:TYPE-PRESCRIPTION C::SCOPEP))\n )\n(C::RETURN-TYPE-OF-SCOPE-LIST-RESULT-OK\n (36 4 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (24 4 (:DEFINITION C::SCOPE-LISTP))\n (20 2 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPEP))\n )\n(C::SCOPE-LIST-RESULT-OK->GET-OF-SCOPE-LIST-RESULT-OK\n (96 15 (:DEFINITION C::SCOPE-LISTP))\n (86 8 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (30 30 (:TYPE-PRESCRIPTION C::SCOPEP))\n (12 12 (:TYPE-PRESCRIPTION C::SCOPE-LIST-RESULT-OK))\n )\n(C::SCOPE-LIST-RESULT-OK-OF-FIELDS\n (24 4 (:DEFINITION C::SCOPE-LISTP))\n (20 2 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPEP))\n (3 1 (:REWRITE C::SCOPE-LIST-RESULT-FIX-WHEN-SCOPE-LIST-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-LIST-RESULTP))\n )\n(C::SCOPE-LIST-RESULT-FIX-WHEN-OK\n (20 2 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (18 3 (:DEFINITION C::SCOPE-LISTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPEP))\n (3 1 (:REWRITE C::SCOPE-LIST-RESULT-FIX-WHEN-SCOPE-LIST-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-LIST-RESULTP))\n )\n(C::EQUAL-OF-SCOPE-LIST-RESULT-OK\n (48 16 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (29 29 (:DEFINITION C::SCOPE-LISTP))\n )\n(C::SCOPE-LIST-RESULT-OK-OF-SCOPE-LIST-FIX-GET\n (20 2 (:DEFINITION C::SCOPE-LIST-FIX$INLINE))\n (18 3 (:DEFINITION C::SCOPE-LISTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPEP))\n )\n(C::SCOPE-LIST-RESULT-OK-SCOPE-LIST-EQUIV-CONGRUENCE-ON-GET)\n(C::SCOPE-LIST-RESULT-ERR->GET$INLINE\n (66 6 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (40 40 (:REWRITE DEFAULT-CDR))\n (30 6 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (28 6 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (27 27 (:REWRITE DEFAULT-CAR))\n (27 3 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (18 18 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (18 6 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (14 14 (:TYPE-PRESCRIPTION IDENTITY))\n (14 6 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (12 12 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (12 12 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (8 8 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (7 1 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (4 4 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (2 2 (:DEFINITION STRIP-CARS))\n )\n(C::ERRORP-OF-SCOPE-LIST-RESULT-ERR->GET\n (63 3 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (15 3 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (11 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (8 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (6 1 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (5 1 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (4 4 (:REWRITE DEFAULT-CDR))\n (3 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:DEFINITION NATP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (2 2 (:REWRITE DEFAULT-CAR))\n (1 1 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::SCOPE-LIST-RESULT-ERR->GET$INLINE-OF-SCOPE-LIST-RESULT-FIX-X\n (78 5 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (68 5 (:DEFINITION C::ERRORP))\n (26 26 (:TYPE-PRESCRIPTION STRIP-CARS))\n (19 4 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (18 6 (:REWRITE C::SCOPE-LIST-RESULT-FIX-WHEN-SCOPE-LIST-RESULTP))\n (13 13 (:TYPE-PRESCRIPTION C::SCOPE-LIST-RESULT-FIX$INLINE))\n (12 12 (:TYPE-PRESCRIPTION C::SCOPE-LIST-RESULTP))\n (8 8 (:DEFINITION STRIP-CARS))\n (5 5 (:TYPE-PRESCRIPTION C::ERRORP))\n (4 4 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::SCOPE-LIST-RESULT-ERR->GET$INLINE-SCOPE-LIST-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::SCOPE-LIST-RESULT-ERR->GET-WHEN-WRONG-KIND\n (3 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:DEFINITION C::ERRORP))\n )\n(C::SCOPE-LIST-RESULT-ERR\n (33 3 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (19 19 (:REWRITE DEFAULT-CDR))\n (15 3 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (14 3 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 12 (:REWRITE DEFAULT-CAR))\n (9 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (7 3 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPEP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION IDENTITY))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 4 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:DEFINITION STRIP-CARS))\n )\n(C::RETURN-TYPE-OF-SCOPE-LIST-RESULT-ERR\n (22 2 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (16 2 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 2 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (10 10 (:REWRITE DEFAULT-CDR))\n (10 2 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (6 2 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (6 2 (:DEFINITION NATP))\n (5 5 (:REWRITE DEFAULT-CAR))\n (4 4 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (4 4 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:REWRITE DEFAULT-<-2))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(C::SCOPE-LIST-RESULT-ERR->GET-OF-SCOPE-LIST-RESULT-ERR\n (30 24 (:TYPE-PRESCRIPTION IDENTITY))\n (23 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (21 1 (:DEFINITION C::ERRORP))\n (16 16 (:TYPE-PRESCRIPTION C::SCOPE-LIST-RESULT-ERR))\n (6 6 (:TYPE-PRESCRIPTION STRIP-CARS))\n (6 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (2 2 (:DEFINITION STRIP-CARS))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::SCOPE-LIST-RESULT-ERR-OF-FIELDS\n (26 2 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (22 2 (:DEFINITION C::ERRORP))\n (18 18 (:TYPE-PRESCRIPTION IDENTITY))\n (12 12 (:TYPE-PRESCRIPTION STRIP-CARS))\n (8 2 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (4 4 (:DEFINITION STRIP-CARS))\n (3 1 (:REWRITE C::SCOPE-LIST-RESULT-FIX-WHEN-SCOPE-LIST-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-LIST-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::ERRORP))\n (2 2 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::SCOPE-LIST-RESULT-FIX-WHEN-ERR\n (18 18 (:TYPE-PRESCRIPTION IDENTITY))\n (14 2 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (11 1 (:DEFINITION C::ERRORP))\n (6 6 (:TYPE-PRESCRIPTION STRIP-CARS))\n (4 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (3 1 (:REWRITE C::SCOPE-LIST-RESULT-FIX-WHEN-SCOPE-LIST-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-LIST-RESULTP))\n (2 2 (:DEFINITION STRIP-CARS))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::EQUAL-OF-SCOPE-LIST-RESULT-ERR\n (150 6 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (142 6 (:DEFINITION C::ERRORP))\n (44 4 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (42 2 (:DEFINITION ALISTP))\n (30 6 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (24 12 (:DEFINITION STRIP-CARS))\n (23 23 (:REWRITE DEFAULT-CAR))\n (22 22 (:REWRITE DEFAULT-CDR))\n (20 4 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (16 4 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 12 (:TYPE-PRESCRIPTION STRIP-CARS))\n (12 4 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPEP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (8 8 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (8 8 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (8 8 (:TYPE-PRESCRIPTION ALISTP))\n (8 8 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 4 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION C::ERRORP))\n )\n(C::SCOPE-LIST-RESULT-ERR-OF-ERROR-FIX-GET\n (12 12 (:TYPE-PRESCRIPTION IDENTITY))\n )\n(C::SCOPE-LIST-RESULT-ERR-ERROR-EQUIV-CONGRUENCE-ON-GET)\n(C::SCOPE-LIST-RESULT-FIX-REDEF\n (9 3 (:REWRITE C::SCOPE-LIST-RESULT-FIX-WHEN-SCOPE-LIST-RESULTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPE-LIST-RESULTP))\n )\n(C::SCOPE-LIST-RESULTP-WHEN-SCOPE-LISTP)\n(C::SCOPE-LIST-RESULTP-WHEN-ERRORP)\n(C::SCOPE-LISTP-WHEN-SCOPE-LIST-RESULTP-AND-NOT-ERRORP)\n(C::ERRORP-WHEN-SCOPE-LIST-RESULTP\n (87 6 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (51 6 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (33 12 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (24 6 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (18 6 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (14 14 (:REWRITE DEFAULT-CDR))\n (14 14 (:REWRITE DEFAULT-CAR))\n (14 2 (:DEFINITION MEMBER-EQUAL))\n (12 12 (:TYPE-PRESCRIPTION C::SCOPEP))\n (12 12 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (12 12 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (12 12 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (6 6 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (4 4 (:REWRITE SUBSETP-MEMBER . 2))\n (4 4 (:REWRITE SUBSETP-MEMBER . 1))\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE SUBSETP-TRANS2))\n (1 1 (:REWRITE SUBSETP-TRANS))\n (1 1 (:REWRITE MEMBER-SELF))\n )\n(C::FRAMEP\n (6 6 (:DEFINITION STRIP-CARS))\n )\n(C::CONSP-WHEN-FRAMEP)\n(C::FRAME-FIX$INLINE)\n(C::FRAMEP-OF-FRAME-FIX\n (72 21 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (44 4 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (43 13 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (32 4 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (26 26 (:TYPE-PRESCRIPTION C::IDENTP))\n (24 4 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (22 18 (:REWRITE DEFAULT-CDR))\n (20 4 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (12 4 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (10 10 (:REWRITE DEFAULT-CAR))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPEP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (8 8 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (8 1 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (4 4 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (4 4 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n )\n(C::FRAME-FIX-WHEN-FRAMEP\n (3 3 (:DEFINITION STRIP-CARS))\n )\n(C::FRAME-FIX$INLINE\n (3 3 (:DEFINITION STRIP-CARS))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT)\n(C::FRAME-EQUIV$INLINE)\n(C::FRAME-EQUIV-IS-AN-EQUIVALENCE)\n(C::FRAME-EQUIV-IMPLIES-EQUAL-FRAME-FIX-1)\n(C::FRAME-FIX-UNDER-FRAME-EQUIV)\n(C::EQUAL-OF-FRAME-FIX-1-FORWARD-TO-FRAME-EQUIV)\n(C::EQUAL-OF-FRAME-FIX-2-FORWARD-TO-FRAME-EQUIV)\n(C::FRAME-EQUIV-OF-FRAME-FIX-1-FORWARD)\n(C::FRAME-EQUIV-OF-FRAME-FIX-2-FORWARD)\n(C::FRAME->FUNCTION$INLINE\n (3 3 (:DEFINITION STRIP-CARS))\n )\n(C::IDENTP-OF-FRAME->FUNCTION)\n(C::FRAME->FUNCTION$INLINE-OF-FRAME-FIX-X\n (9 3 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (6 6 (:TYPE-PRESCRIPTION C::FRAMEP))\n (3 1 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n )\n(C::FRAME->FUNCTION$INLINE-FRAME-EQUIV-CONGRUENCE-ON-X)\n(C::FRAME->SCOPES$INLINE\n (3 3 (:DEFINITION STRIP-CARS))\n )\n(C::SCOPE-LISTP-OF-FRAME->SCOPES\n (9 3 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n )\n(C::FRAME->SCOPES$INLINE-OF-FRAME-FIX-X\n (48 16 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (32 32 (:TYPE-PRESCRIPTION C::FRAMEP))\n (15 5 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (10 10 (:TYPE-PRESCRIPTION C::IDENTP))\n )\n(C::FRAME->SCOPES$INLINE-FRAME-EQUIV-CONGRUENCE-ON-X)\n(C::FRAME)\n(C::FRAMEP-OF-FRAME\n (50 17 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (44 4 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (37 11 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (32 4 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (24 4 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (20 4 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (12 4 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (11 7 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPEP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (8 8 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 4 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (3 3 (:REWRITE DEFAULT-CAR))\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (1 1 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n )\n(C::FRAME->FUNCTION-OF-FRAME\n (3 1 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n )\n(C::FRAME->SCOPES-OF-FRAME\n (15 5 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (10 10 (:TYPE-PRESCRIPTION C::IDENTP))\n )\n(C::FRAME-REQUIREMENTS)\n(C::FRAME-OF-FIELDS\n (3 1 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (2 2 (:TYPE-PRESCRIPTION C::FRAMEP))\n )\n(C::FRAME-FIX-WHEN-FRAME\n (3 1 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (2 2 (:TYPE-PRESCRIPTION C::FRAMEP))\n )\n(C::EQUAL-OF-FRAME)\n(C::FRAME-OF-IDENT-FIX-FUNCTION\n (4 2 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n )\n(C::FRAME-IDENT-EQUIV-CONGRUENCE-ON-FUNCTION)\n(C::FRAME-OF-SCOPE-LIST-FIX-SCOPES\n (4 2 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (2 2 (:TYPE-PRESCRIPTION C::IDENTP))\n )\n(C::FRAME-SCOPE-LIST-EQUIV-CONGRUENCE-ON-SCOPES)\n(C::FRAME-FIX-REDEF)\n(C::LEN-OF-FRAME->SCOPES-LOWER-BOUND\n (7 1 (:DEFINITION LEN))\n (2 1 (:REWRITE DEFAULT-CDR))\n (2 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(C::FRAME-LISTP)\n(STD::DEFLIST-LOCAL-BOOLEANP-ELEMENT-THM)\n(STD::DEFLIST-LOCAL-ELEMENTP-OF-NIL-THM)\n(C::FRAME-LISTP-OF-CONS)\n(C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP)\n(C::FRAME-LISTP-WHEN-NOT-CONSP)\n(C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP)\n(C::TRUE-LISTP-WHEN-FRAME-LISTP)\n(C::FRAME-LISTP-OF-LIST-FIX)\n(C::FRAME-LISTP-OF-SFIX)\n(C::FRAME-LISTP-OF-INSERT)\n(C::FRAME-LISTP-OF-DELETE)\n(C::FRAME-LISTP-OF-MERGESORT)\n(C::FRAME-LISTP-OF-UNION)\n(C::FRAME-LISTP-OF-INTERSECT-1)\n(C::FRAME-LISTP-OF-INTERSECT-2)\n(C::FRAME-LISTP-OF-DIFFERENCE)\n(C::FRAME-LISTP-OF-DUPLICATED-MEMBERS)\n(C::FRAME-LISTP-OF-REV)\n(C::FRAME-LISTP-OF-APPEND)\n(C::FRAME-LISTP-OF-RCONS)\n(C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP)\n(C::FRAME-LISTP-WHEN-SUBSETP-EQUAL)\n(C::FRAME-LISTP-OF-SET-DIFFERENCE-EQUAL)\n(C::FRAME-LISTP-OF-INTERSECTION-EQUAL-1)\n(C::FRAME-LISTP-OF-INTERSECTION-EQUAL-2)\n(C::FRAME-LISTP-OF-UNION-EQUAL)\n(C::FRAME-LISTP-OF-TAKE)\n(C::FRAME-LISTP-OF-REPEAT)\n(C::FRAMEP-OF-NTH-WHEN-FRAME-LISTP)\n(C::FRAME-LISTP-OF-UPDATE-NTH)\n(C::FRAME-LISTP-OF-BUTLAST)\n(C::FRAME-LISTP-OF-NTHCDR)\n(C::FRAME-LISTP-OF-LAST)\n(C::FRAME-LISTP-OF-REMOVE)\n(C::FRAME-LISTP-OF-REVAPPEND)\n(C::FRAME-LIST-FIX$INLINE)\n(C::FRAME-LISTP-OF-FRAME-LIST-FIX\n (30 1 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (22 2 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (18 10 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (15 1 (:DEFINITION C::FRAME-LISTP))\n (12 6 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (9 5 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (8 8 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (4 4 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (4 4 (:TYPE-PRESCRIPTION C::FRAMEP))\n (2 2 (:REWRITE FTY::OPEN-MEMBER-EQUAL-ON-LIST-OF-TAGS))\n (2 1 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n )\n(C::FRAME-LIST-FIX-WHEN-FRAME-LISTP\n (32 4 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (28 24 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (13 3 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (9 6 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (4 4 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (2 2 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (1 1 (:REWRITE FTY::OPEN-MEMBER-EQUAL-ON-LIST-OF-TAGS))\n )\n(C::FRAME-LIST-FIX$INLINE\n (8 8 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (6 1 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (4 4 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT\n (2 2 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (1 1 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n )\n(C::FRAME-LIST-EQUIV$INLINE)\n(C::FRAME-LIST-EQUIV-IS-AN-EQUIVALENCE)\n(C::FRAME-LIST-EQUIV-IMPLIES-EQUAL-FRAME-LIST-FIX-1)\n(C::FRAME-LIST-FIX-UNDER-FRAME-LIST-EQUIV)\n(C::EQUAL-OF-FRAME-LIST-FIX-1-FORWARD-TO-FRAME-LIST-EQUIV)\n(C::EQUAL-OF-FRAME-LIST-FIX-2-FORWARD-TO-FRAME-LIST-EQUIV)\n(C::FRAME-LIST-EQUIV-OF-FRAME-LIST-FIX-1-FORWARD)\n(C::FRAME-LIST-EQUIV-OF-FRAME-LIST-FIX-2-FORWARD)\n(C::CAR-OF-FRAME-LIST-FIX-X-UNDER-FRAME-EQUIV\n (33 3 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (18 3 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (18 2 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (12 12 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (12 12 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (6 6 (:TYPE-PRESCRIPTION C::FRAMEP))\n (6 6 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (6 6 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (6 1 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (3 3 (:TYPE-PRESCRIPTION C::FRAME-LIST-FIX$INLINE))\n )\n(C::CAR-FRAME-LIST-EQUIV-CONGRUENCE-ON-X-UNDER-FRAME-EQUIV)\n(C::CDR-OF-FRAME-LIST-FIX-X-UNDER-FRAME-LIST-EQUIV\n (41 3 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (22 2 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (20 20 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (12 2 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (4 4 (:TYPE-PRESCRIPTION C::FRAMEP))\n (4 4 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n )\n(C::CDR-FRAME-LIST-EQUIV-CONGRUENCE-ON-X-UNDER-FRAME-LIST-EQUIV)\n(C::CONS-OF-FRAME-FIX-X-UNDER-FRAME-LIST-EQUIV\n (34 4 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (17 2 (:REWRITE C::FRAME-LISTP-OF-CONS))\n (10 10 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (8 8 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (6 6 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (5 5 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n )\n(C::CONS-FRAME-EQUIV-CONGRUENCE-ON-X-UNDER-FRAME-LIST-EQUIV)\n(C::CONS-OF-FRAME-LIST-FIX-Y-UNDER-FRAME-LIST-EQUIV\n (20 2 (:REWRITE C::FRAME-LISTP-OF-CONS))\n (8 8 (:TYPE-PRESCRIPTION C::FRAMEP))\n (8 8 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (8 8 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (6 2 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (5 4 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n )\n(C::CONS-FRAME-LIST-EQUIV-CONGRUENCE-ON-Y-UNDER-FRAME-LIST-EQUIV)\n(C::CONSP-OF-FRAME-LIST-FIX\n (18 2 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (11 1 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (8 8 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (8 8 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (6 1 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (4 4 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION C::FRAMEP))\n (2 2 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n )\n(C::FRAME-LIST-FIX-UNDER-IFF\n (18 2 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (11 1 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (8 8 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (8 8 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (6 1 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (4 4 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION C::FRAMEP))\n (2 2 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n )\n(C::FRAME-LIST-FIX-OF-CONS\n (21 3 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (9 1 (:REWRITE C::FRAME-LISTP-OF-CONS))\n (6 6 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (6 2 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (4 4 (:TYPE-PRESCRIPTION C::FRAMEP))\n (4 4 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (4 4 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (3 3 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n )\n(C::LEN-OF-FRAME-LIST-FIX\n (35 4 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (14 14 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (13 13 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (12 2 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (11 1 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (7 7 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (6 1 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (2 2 (:TYPE-PRESCRIPTION C::FRAMEP))\n (2 2 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (1 1 (:REWRITE FTY::EQUAL-OF-LEN))\n )\n(C::FRAME-LIST-FIX-OF-APPEND\n (114 10 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (58 2 (:REWRITE C::FRAME-LISTP-OF-APPEND))\n (40 36 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (29 29 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (24 2 (:REWRITE C::FRAME-LISTP-OF-LIST-FIX))\n (22 16 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (14 4 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (12 12 (:TYPE-PRESCRIPTION TRUE-LIST-FIX))\n (12 2 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (6 1 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (4 4 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (2 2 (:TYPE-PRESCRIPTION C::FRAMEP))\n (2 2 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n )\n(C::FRAME-LIST-FIX-OF-REPEAT\n (20 2 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (16 4 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (12 2 (:REWRITE C::FRAME-LISTP-OF-REPEAT))\n (10 10 (:TYPE-PRESCRIPTION C::FRAMEP))\n (10 10 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (2 2 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (1 1 (:REWRITE-QUOTED-CONSTANT C::FRAME-LIST-FIX-UNDER-FRAME-LIST-EQUIV))\n )\n(C::LIST-EQUIV-REFINES-FRAME-LIST-EQUIV\n (146 14 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (112 8 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (88 18 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (72 72 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (72 8 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (70 70 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (36 36 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (16 16 (:TYPE-PRESCRIPTION C::FRAMEP))\n (16 16 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n )\n(C::NTH-OF-FRAME-LIST-FIX\n (239 17 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (167 16 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (124 24 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (124 12 (:REWRITE C::FRAMEP-OF-NTH-WHEN-FRAME-LISTP))\n (106 106 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (53 53 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (34 34 (:TYPE-PRESCRIPTION C::FRAMEP))\n (34 34 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (30 5 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (25 18 (:REWRITE DEFAULT-+-2))\n (24 18 (:REWRITE DEFAULT-CDR))\n (19 7 (:REWRITE ZP-OPEN))\n (18 18 (:REWRITE DEFAULT-+-1))\n (18 14 (:REWRITE DEFAULT-<-2))\n (14 14 (:REWRITE DEFAULT-<-1))\n (13 13 (:REWRITE C::CONSP-OF-FRAME-LIST-FIX))\n (12 4 (:REWRITE FOLD-CONSTS-IN-+))\n (10 4 (:REWRITE DEFAULT-CAR))\n (2 2 (:REWRITE-QUOTED-CONSTANT C::FRAME-FIX-UNDER-FRAME-EQUIV))\n )\n(C::FRAME-LIST-EQUIV-IMPLIES-FRAME-LIST-EQUIV-APPEND-1\n (269 32 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (205 17 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (128 128 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (126 126 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (120 17 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (117 22 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (64 64 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (34 34 (:TYPE-PRESCRIPTION C::FRAMEP))\n (34 34 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n )\n(C::FRAME-LIST-EQUIV-IMPLIES-FRAME-LIST-EQUIV-APPEND-2\n (393 46 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (322 26 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (204 39 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (192 26 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (190 190 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (189 189 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (95 95 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (52 52 (:TYPE-PRESCRIPTION C::FRAMEP))\n (52 52 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (4 4 (:REWRITE C::CONSP-OF-FRAME-LIST-FIX))\n )\n(C::FRAME-LIST-EQUIV-IMPLIES-FRAME-LIST-EQUIV-NTHCDR-2\n (298 20 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (208 39 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (198 198 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (198 20 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (40 40 (:TYPE-PRESCRIPTION C::FRAMEP))\n (40 40 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n )\n(C::FRAME-LIST-EQUIV-IMPLIES-FRAME-LIST-EQUIV-TAKE-2\n (553 38 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (432 28 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (304 51 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (296 26 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (236 236 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (236 236 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (229 24 (:REWRITE C::FRAME-LISTP-OF-TAKE))\n (136 118 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (66 66 (:TYPE-PRESCRIPTION C::FRAMEP))\n (66 66 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (18 18 (:TYPE-PRESCRIPTION NFIX))\n (12 12 (:TYPE-PRESCRIPTION LEN))\n (6 6 (:REWRITE-QUOTED-CONSTANT C::FRAME-LIST-FIX-UNDER-FRAME-LIST-EQUIV))\n )\n(C::HEAPP)\n(C::BOOLEANP-OFHEAPP)\n(C::MAPP-WHEN-HEAPP\n (161 50 (:REWRITE <<-TRICHOTOMY))\n (143 29 (:REWRITE <<-ASYMMETRIC))\n (133 133 (:REWRITE DEFAULT-CAR))\n (77 77 (:REWRITE DEFAULT-CDR))\n (59 47 (:REWRITE <<-TRANSITIVE))\n (30 6 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (18 6 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (12 12 (:TYPE-PRESCRIPTION C::SCOPEP))\n (12 12 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (12 12 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (3 3 (:REWRITE <<-IRREFLEXIVE))\n )\n(C::HEAPP-OF-TAIL\n (60 60 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (57 15 (:REWRITE <<-TRICHOTOMY))\n (51 9 (:REWRITE <<-ASYMMETRIC))\n (27 27 (:REWRITE DEFAULT-CAR))\n (24 6 (:REWRITE C::ADDRESSP-WHEN-ADDRESS-OPTIONP))\n (20 20 (:REWRITE DEFAULT-CDR))\n (15 15 (:REWRITE <<-TRANSITIVE))\n (15 3 (:REWRITE C::ADDRESS-OPTIONP-WHEN-ADDRESSP))\n (9 9 (:TYPE-PRESCRIPTION C::ADDRESS-OPTIONP))\n (6 6 (:TYPE-PRESCRIPTION C::ADDRESSP))\n (3 1 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n )\n(C::ADDRESSP-OF-HEAD-KEY-WHEN-HEAPP\n (25 1 (:REWRITE FAST-<<-IS-<<))\n (20 5 (:REWRITE C::ADDRESSP-WHEN-ADDRESS-OPTIONP))\n (19 5 (:REWRITE <<-TRICHOTOMY))\n (17 3 (:REWRITE <<-ASYMMETRIC))\n (14 14 (:REWRITE DEFAULT-CAR))\n (12 12 (:TYPE-PRESCRIPTION <<))\n (11 3 (:REWRITE C::ADDRESS-OPTIONP-WHEN-ADDRESSP))\n (10 8 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (8 8 (:TYPE-PRESCRIPTION C::ADDRESS-OPTIONP))\n (7 7 (:REWRITE DEFAULT-CDR))\n (5 5 (:REWRITE <<-TRANSITIVE))\n (1 1 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n )\n(C::UCHAR-ARRAYP-OF-HEAD-VAL-WHEN-HEAPP\n (25 1 (:REWRITE FAST-<<-IS-<<))\n (19 5 (:REWRITE <<-TRICHOTOMY))\n (17 3 (:REWRITE <<-ASYMMETRIC))\n (16 4 (:REWRITE C::ADDRESSP-WHEN-ADDRESS-OPTIONP))\n (15 15 (:REWRITE DEFAULT-CAR))\n (12 12 (:TYPE-PRESCRIPTION <<))\n (10 8 (:TYPE-PRESCRIPTION OMAP::HEAD-VALUE-WHEN-EMPTY))\n (10 2 (:REWRITE C::ADDRESS-OPTIONP-WHEN-ADDRESSP))\n (8 8 (:REWRITE DEFAULT-CDR))\n (6 6 (:TYPE-PRESCRIPTION C::ADDRESS-OPTIONP))\n (5 5 (:REWRITE <<-TRANSITIVE))\n (4 4 (:TYPE-PRESCRIPTION C::ADDRESSP))\n (1 1 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n )\n(C::HEAPP-OF-UPDATE\n (803 703 (:REWRITE DEFAULT-CDR))\n (736 644 (:REWRITE <<-TRANSITIVE))\n (240 240 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (150 30 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (99 99 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n (60 60 (:TYPE-PRESCRIPTION C::SCOPEP))\n (60 60 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (49 49 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (30 30 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (25 25 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (12 12 (:REWRITE-QUOTED-CONSTANT TRUE-LIST-LIST-FIX-UNDER-TRUE-LIST-LIST-EQUIV))\n (10 10 (:REWRITE <<-IRREFLEXIVE))\n )\n(C::HEAPP-OF-UPDATE*\n (228 60 (:REWRITE <<-TRICHOTOMY))\n (204 36 (:REWRITE <<-ASYMMETRIC))\n (108 108 (:REWRITE DEFAULT-CAR))\n (102 24 (:REWRITE C::ADDRESSP-WHEN-ADDRESS-OPTIONP))\n (72 72 (:REWRITE DEFAULT-CDR))\n (66 12 (:REWRITE C::ADDRESS-OPTIONP-WHEN-ADDRESSP))\n (60 60 (:REWRITE <<-TRANSITIVE))\n (36 36 (:TYPE-PRESCRIPTION C::ADDRESS-OPTIONP))\n (18 6 (:REWRITE OMAP::UPDATE*-WHEN-RIGHT-EMPTY))\n (9 3 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (9 3 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n (3 3 (:REWRITE OMAP::HEAD-VALUE-WHEN-EMPTY))\n (3 3 (:REWRITE OMAP::HEAD-KEY-WHEN-EMPTY))\n (2 2 (:TYPE-PRESCRIPTION OMAP::HEAD-VALUE-WHEN-EMPTY))\n (2 2 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (2 2 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n )\n(C::HEAPP-OF-DELETE\n (350 7 (:DEFINITION C::HEAPP))\n (175 7 (:REWRITE FAST-<<-IS-<<))\n (133 35 (:REWRITE <<-TRICHOTOMY))\n (119 21 (:REWRITE <<-ASYMMETRIC))\n (84 84 (:TYPE-PRESCRIPTION <<))\n (63 63 (:REWRITE DEFAULT-CAR))\n (56 54 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (56 14 (:REWRITE C::ADDRESSP-WHEN-ADDRESS-OPTIONP))\n (42 42 (:REWRITE DEFAULT-CDR))\n (35 35 (:REWRITE <<-TRANSITIVE))\n (35 7 (:REWRITE C::ADDRESS-OPTIONP-WHEN-ADDRESSP))\n (21 21 (:TYPE-PRESCRIPTION C::ADDRESS-OPTIONP))\n (14 6 (:REWRITE OMAP::DELETE-WHEN-EMPTY))\n (9 3 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (6 6 (:REWRITE OMAP::HEAD-KEY-WHEN-EMPTY))\n (5 5 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (4 4 (:REWRITE OMAP::HEAD-VALUE-WHEN-EMPTY))\n (2 2 (:TYPE-PRESCRIPTION OMAP::HEAD-VALUE-WHEN-EMPTY))\n )\n(C::HEAPP-OF-DELETE*\n (152 40 (:REWRITE <<-TRICHOTOMY))\n (136 24 (:REWRITE <<-ASYMMETRIC))\n (72 72 (:REWRITE DEFAULT-CAR))\n (64 16 (:REWRITE C::ADDRESSP-WHEN-ADDRESS-OPTIONP))\n (48 48 (:REWRITE DEFAULT-CDR))\n (40 40 (:REWRITE <<-TRANSITIVE))\n (40 8 (:REWRITE C::ADDRESS-OPTIONP-WHEN-ADDRESSP))\n (24 24 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (24 24 (:TYPE-PRESCRIPTION C::ADDRESS-OPTIONP))\n (18 6 (:REWRITE OMAP::DELETE*-WHEN-RIGHT-EMPTY))\n (16 16 (:TYPE-PRESCRIPTION C::ADDRESSP))\n (9 3 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n (9 3 (:REWRITE OMAP::DELETE-WHEN-EMPTY))\n (3 3 (:REWRITE SET::IN-TAIL-OR-HEAD))\n (3 3 (:REWRITE SET::HEAD-WHEN-EMPTY))\n (2 2 (:REWRITE SET::TAIL-WHEN-EMPTY))\n )\n(C::ADDRESSP-WHEN-IN-HEAPP-BINDS-FREE-X\n (249 14 (:REWRITE OMAP::IN-WHEN-IN-TAIL))\n (150 3 (:DEFINITION C::HEAPP))\n (122 84 (:TYPE-PRESCRIPTION OMAP::TAIL-WHEN-EMPTY))\n (104 88 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (75 3 (:REWRITE FAST-<<-IS-<<))\n (57 15 (:REWRITE <<-TRICHOTOMY))\n (51 9 (:REWRITE <<-ASYMMETRIC))\n (40 10 (:REWRITE C::ADDRESSP-WHEN-ADDRESS-OPTIONP))\n (36 36 (:TYPE-PRESCRIPTION <<))\n (27 27 (:REWRITE DEFAULT-CAR))\n (25 5 (:REWRITE C::ADDRESS-OPTIONP-WHEN-ADDRESSP))\n (18 18 (:REWRITE DEFAULT-CDR))\n (18 10 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (15 15 (:TYPE-PRESCRIPTION C::ADDRESS-OPTIONP))\n (15 15 (:REWRITE <<-TRANSITIVE))\n (13 5 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (9 9 (:REWRITE OMAP::HEAD-KEY-WHEN-EMPTY))\n (8 3 (:TYPE-PRESCRIPTION OMAP::HEAD-VALUE-WHEN-EMPTY))\n (6 6 (:REWRITE OMAP::HEAD-VALUE-WHEN-EMPTY))\n )\n(C::ADDRESSP-OF-CAR-OF-IN-HEAPP\n (260 5 (:DEFINITION C::HEAPP))\n (258 15 (:REWRITE OMAP::IN-WHEN-IN-TAIL))\n (161 121 (:TYPE-PRESCRIPTION OMAP::TAIL-WHEN-EMPTY))\n (130 114 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (125 5 (:REWRITE FAST-<<-IS-<<))\n (95 25 (:REWRITE <<-TRICHOTOMY))\n (85 15 (:REWRITE <<-ASYMMETRIC))\n (63 50 (:REWRITE DEFAULT-CAR))\n (60 60 (:TYPE-PRESCRIPTION <<))\n (30 30 (:REWRITE DEFAULT-CDR))\n (28 12 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (25 25 (:REWRITE <<-TRANSITIVE))\n (20 12 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (18 18 (:REWRITE C::ADDRESSP-WHEN-IN-HEAPP-BINDS-FREE-X))\n (15 15 (:REWRITE OMAP::HEAD-KEY-WHEN-EMPTY))\n (11 11 (:REWRITE OMAP::HEAD-VALUE-WHEN-EMPTY))\n (9 4 (:TYPE-PRESCRIPTION OMAP::HEAD-VALUE-WHEN-EMPTY))\n )\n(C::UCHAR-ARRAYP-OF-CDR-OF-IN-HEAPP\n (260 5 (:DEFINITION C::HEAPP))\n (258 15 (:REWRITE OMAP::IN-WHEN-IN-TAIL))\n (188 148 (:TYPE-PRESCRIPTION OMAP::TAIL-WHEN-EMPTY))\n (129 113 (:TYPE-PRESCRIPTION OMAP::HEAD-KEY-WHEN-EMPTY))\n (125 5 (:REWRITE FAST-<<-IS-<<))\n (95 25 (:REWRITE <<-TRICHOTOMY))\n (85 15 (:REWRITE <<-ASYMMETRIC))\n (60 60 (:TYPE-PRESCRIPTION <<))\n (48 35 (:REWRITE DEFAULT-CDR))\n (45 45 (:REWRITE DEFAULT-CAR))\n (45 10 (:REWRITE C::ADDRESSP-WHEN-ADDRESS-OPTIONP))\n (30 5 (:REWRITE C::ADDRESS-OPTIONP-WHEN-ADDRESSP))\n (28 12 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (25 25 (:REWRITE <<-TRANSITIVE))\n (20 12 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (15 15 (:TYPE-PRESCRIPTION C::ADDRESS-OPTIONP))\n (15 15 (:REWRITE OMAP::HEAD-KEY-WHEN-EMPTY))\n (11 11 (:REWRITE OMAP::HEAD-VALUE-WHEN-EMPTY))\n (10 10 (:TYPE-PRESCRIPTION C::ADDRESSP))\n (10 10 (:REWRITE C::ADDRESSP-WHEN-IN-HEAPP-BINDS-FREE-X))\n (10 5 (:TYPE-PRESCRIPTION OMAP::HEAD-VALUE-WHEN-EMPTY))\n )\n(C::HEAP-FIX\n (1 1 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n )\n(C::HEAPP-OF-HEAP-FIX)\n(C::HEAP-FIX-WHEN-HEAPP)\n(C::EMPTY-OF-HEAP-FIX-TO-NOT-HEAPP-OR-EMPTY\n (33 7 (:REWRITE OMAP::MFIX-WHEN-EMPTY))\n (14 14 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (10 2 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (6 2 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (3 1 (:REWRITE C::HEAP-FIX-WHEN-HEAPP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT\n (33 33 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n )\n(C::HEAP-EQUIV$INLINE\n (4 4 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n )\n(C::HEAP-EQUIV-IS-AN-EQUIVALENCE)\n(C::HEAP-EQUIV-IMPLIES-EQUAL-HEAP-FIX-1)\n(C::HEAP-FIX-UNDER-HEAP-EQUIV)\n(C::EQUAL-OF-HEAP-FIX-1-FORWARD-TO-HEAP-EQUIV)\n(C::EQUAL-OF-HEAP-FIX-2-FORWARD-TO-HEAP-EQUIV)\n(C::HEAP-EQUIV-OF-HEAP-FIX-1-FORWARD)\n(C::HEAP-EQUIV-OF-HEAP-FIX-2-FORWARD)\n(C::UCHAR-ARRAY-RESULTP)\n(C::CONSP-WHEN-UCHAR-ARRAY-RESULTP)\n(C::UCHAR-ARRAY-RESULT-KIND$INLINE)\n(C::UCHAR-ARRAY-RESULT-KIND-POSSIBILITIES)\n(C::UCHAR-ARRAY-RESULT-FIX$INLINE)\n(C::UCHAR-ARRAY-RESULTP-OF-UCHAR-ARRAY-RESULT-FIX\n (28 2 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (16 2 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (14 1 (:REWRITE C::UCHAR-ARRAY-FIX-WHEN-UCHAR-ARRAYP))\n (13 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (12 2 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (11 11 (:TYPE-PRESCRIPTION STRIP-CARS))\n (10 2 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (9 8 (:REWRITE DEFAULT-CDR))\n (9 1 (:REWRITE C::UCHAR-LIST-FIX-WHEN-UCHAR-LISTP))\n (8 2 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (6 6 (:REWRITE DEFAULT-CAR))\n (6 2 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (6 2 (:REWRITE C::MAPP-WHEN-HEAPP))\n (5 1 (:REWRITE C::UCHAR-LISTP-OF-CDR-WHEN-UCHAR-LISTP))\n (4 4 (:TYPE-PRESCRIPTION C::SCOPEP))\n (4 4 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (4 4 (:TYPE-PRESCRIPTION C::HEAPP))\n (4 4 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (4 4 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (3 1 (:DEFINITION NATP))\n (2 2 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:REWRITE C::UCHAR-LISTP-WHEN-NOT-CONSP))\n (1 1 (:TYPE-PRESCRIPTION C::UCHAR-ARRAYP))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::UCHAR-ARRAY-RESULT-FIX-WHEN-UCHAR-ARRAY-RESULTP)\n(C::UCHAR-ARRAY-RESULT-FIX$INLINE\n (84 6 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (31 31 (:REWRITE DEFAULT-CDR))\n (30 6 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (28 6 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (24 24 (:REWRITE DEFAULT-CAR))\n (18 6 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (18 6 (:REWRITE C::MAPP-WHEN-HEAPP))\n (14 6 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (12 12 (:TYPE-PRESCRIPTION C::SCOPEP))\n (12 12 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (12 12 (:TYPE-PRESCRIPTION C::HEAPP))\n (12 12 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (12 12 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (8 8 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (6 6 (:TYPE-PRESCRIPTION IDENTITY))\n (5 1 (:REWRITE C::UCHAR-LISTP-OF-CDR-WHEN-UCHAR-LISTP))\n (2 2 (:REWRITE C::UCHAR-LISTP-WHEN-NOT-CONSP))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT)\n(C::UCHAR-ARRAY-RESULT-EQUIV$INLINE)\n(C::UCHAR-ARRAY-RESULT-EQUIV-IS-AN-EQUIVALENCE)\n(C::UCHAR-ARRAY-RESULT-EQUIV-IMPLIES-EQUAL-UCHAR-ARRAY-RESULT-FIX-1)\n(C::UCHAR-ARRAY-RESULT-FIX-UNDER-UCHAR-ARRAY-RESULT-EQUIV)\n(C::EQUAL-OF-UCHAR-ARRAY-RESULT-FIX-1-FORWARD-TO-UCHAR-ARRAY-RESULT-EQUIV)\n(C::EQUAL-OF-UCHAR-ARRAY-RESULT-FIX-2-FORWARD-TO-UCHAR-ARRAY-RESULT-EQUIV)\n(C::UCHAR-ARRAY-RESULT-EQUIV-OF-UCHAR-ARRAY-RESULT-FIX-1-FORWARD)\n(C::UCHAR-ARRAY-RESULT-EQUIV-OF-UCHAR-ARRAY-RESULT-FIX-2-FORWARD)\n(C::UCHAR-ARRAY-RESULT-KIND$INLINE-OF-UCHAR-ARRAY-RESULT-FIX-X\n (56 4 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (20 4 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (19 4 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 4 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (12 4 (:REWRITE C::MAPP-WHEN-HEAPP))\n (10 10 (:REWRITE DEFAULT-CDR))\n (9 9 (:REWRITE DEFAULT-CAR))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPEP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (8 8 (:TYPE-PRESCRIPTION C::HEAPP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (8 8 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (7 3 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (5 5 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (5 1 (:REWRITE C::UCHAR-LISTP-OF-CDR-WHEN-UCHAR-LISTP))\n (5 1 (:REWRITE C::UCHAR-ARRAY-FIX-WHEN-UCHAR-ARRAYP))\n (5 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (4 1 (:DEFINITION C::ERRORP))\n (3 1 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (2 2 (:REWRITE C::UCHAR-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE C::UCHAR-ARRAY-RESULT-FIX-WHEN-UCHAR-ARRAY-RESULTP))\n )\n(C::UCHAR-ARRAY-RESULT-KIND$INLINE-UCHAR-ARRAY-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::CONSP-OF-UCHAR-ARRAY-RESULT-FIX)\n(C::UCHAR-ARRAY-RESULT-OK->GET$INLINE\n (42 3 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (15 3 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (14 3 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 12 (:REWRITE DEFAULT-CDR))\n (12 12 (:REWRITE DEFAULT-CAR))\n (9 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (9 3 (:REWRITE C::MAPP-WHEN-HEAPP))\n (7 3 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPEP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION C::HEAPP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (5 1 (:REWRITE C::UCHAR-LISTP-OF-CDR-WHEN-UCHAR-LISTP))\n (4 4 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:REWRITE C::UCHAR-LISTP-WHEN-NOT-CONSP))\n )\n(C::UCHAR-ARRAYP-OF-UCHAR-ARRAY-RESULT-OK->GET\n (92 4 (:REWRITE C::UCHAR-ARRAY-FIX-WHEN-UCHAR-ARRAYP))\n (14 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (13 10 (:DEFINITION STRIP-CARS))\n (9 1 (:REWRITE C::UCHAR-LIST-FIX-WHEN-UCHAR-LISTP))\n (8 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (6 1 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (5 4 (:REWRITE DEFAULT-CDR))\n (5 1 (:REWRITE C::UCHAR-LISTP-OF-CDR-WHEN-UCHAR-LISTP))\n (5 1 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (4 4 (:REWRITE DEFAULT-CAR))\n (3 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:REWRITE C::MAPP-WHEN-HEAPP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (2 2 (:TYPE-PRESCRIPTION C::HEAPP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE C::UCHAR-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (1 1 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n )\n(C::UCHAR-ARRAY-RESULT-OK->GET$INLINE-OF-UCHAR-ARRAY-RESULT-FIX-X\n (48 16 (:REWRITE C::UCHAR-ARRAY-RESULT-FIX-WHEN-UCHAR-ARRAY-RESULTP))\n (32 32 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-RESULTP))\n (6 6 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-RESULT-FIX$INLINE))\n (6 6 (:TYPE-PRESCRIPTION C::CONSP-OF-UCHAR-ARRAY-RESULT-FIX))\n (2 2 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::UCHAR-ARRAY-RESULT-OK->GET$INLINE-UCHAR-ARRAY-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::UCHAR-ARRAY-RESULT-OK->GET-WHEN-WRONG-KIND\n (5 1 (:REWRITE C::UCHAR-ARRAY-FIX-WHEN-UCHAR-ARRAYP))\n (3 1 (:DEFINITION C::UCHAR-ARRAYP))\n (1 1 (:TYPE-PRESCRIPTION C::UCHAR-ARRAYP))\n (1 1 (:TYPE-PRESCRIPTION ALISTP))\n (1 1 (:DEFINITION STRIP-CARS))\n )\n(C::UCHAR-ARRAY-RESULT-OK\n (42 3 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (15 3 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (14 3 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 12 (:REWRITE DEFAULT-CDR))\n (12 12 (:REWRITE DEFAULT-CAR))\n (9 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (9 3 (:REWRITE C::MAPP-WHEN-HEAPP))\n (7 3 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPEP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION C::HEAPP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (5 1 (:REWRITE C::UCHAR-LISTP-OF-CDR-WHEN-UCHAR-LISTP))\n (4 4 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:REWRITE C::UCHAR-LISTP-WHEN-NOT-CONSP))\n (2 2 (:DEFINITION STRIP-CARS))\n )\n(C::RETURN-TYPE-OF-UCHAR-ARRAY-RESULT-OK\n (28 2 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (18 2 (:REWRITE C::UCHAR-LIST-FIX-WHEN-UCHAR-LISTP))\n (16 2 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 2 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (10 8 (:REWRITE DEFAULT-CDR))\n (10 2 (:REWRITE C::UCHAR-LISTP-OF-CDR-WHEN-UCHAR-LISTP))\n (10 2 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (8 8 (:REWRITE DEFAULT-CAR))\n (6 2 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (6 2 (:REWRITE C::MAPP-WHEN-HEAPP))\n (4 4 (:TYPE-PRESCRIPTION C::SCOPEP))\n (4 4 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (4 4 (:TYPE-PRESCRIPTION C::HEAPP))\n (4 4 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (4 4 (:REWRITE C::UCHAR-LISTP-WHEN-NOT-CONSP))\n (4 4 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (2 2 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n )\n(C::UCHAR-ARRAY-RESULT-OK->GET-OF-UCHAR-ARRAY-RESULT-OK\n (18 1 (:REWRITE C::UCHAR-ARRAY-FIX-WHEN-UCHAR-ARRAYP))\n (16 1 (:DEFINITION C::UCHAR-ARRAYP))\n (5 5 (:TYPE-PRESCRIPTION STRIP-CARS))\n (5 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (4 4 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-RESULT-OK))\n (2 2 (:TYPE-PRESCRIPTION C::UCHAR-LISTP))\n (2 2 (:DEFINITION STRIP-CARS))\n (1 1 (:TYPE-PRESCRIPTION C::UCHAR-ARRAYP))\n (1 1 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::UCHAR-ARRAY-RESULT-OK-OF-FIELDS\n (28 2 (:REWRITE C::UCHAR-ARRAY-FIX-WHEN-UCHAR-ARRAYP))\n (24 2 (:DEFINITION C::UCHAR-ARRAYP))\n (10 10 (:TYPE-PRESCRIPTION STRIP-CARS))\n (8 2 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (4 4 (:TYPE-PRESCRIPTION C::UCHAR-LISTP))\n (4 4 (:DEFINITION STRIP-CARS))\n (3 1 (:REWRITE C::UCHAR-ARRAY-RESULT-FIX-WHEN-UCHAR-ARRAY-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::UCHAR-ARRAYP))\n (2 2 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::UCHAR-ARRAY-RESULT-FIX-WHEN-OK\n (15 2 (:REWRITE C::UCHAR-ARRAY-FIX-WHEN-UCHAR-ARRAYP))\n (12 1 (:DEFINITION C::UCHAR-ARRAYP))\n (5 5 (:TYPE-PRESCRIPTION STRIP-CARS))\n (4 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (3 1 (:REWRITE C::UCHAR-ARRAY-RESULT-FIX-WHEN-UCHAR-ARRAY-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::UCHAR-LISTP))\n (2 2 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-RESULTP))\n (2 2 (:DEFINITION STRIP-CARS))\n (1 1 (:TYPE-PRESCRIPTION C::UCHAR-ARRAYP))\n (1 1 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::EQUAL-OF-UCHAR-ARRAY-RESULT-OK\n (331 11 (:REWRITE C::UCHAR-ARRAY-FIX-WHEN-UCHAR-ARRAYP))\n (316 11 (:DEFINITION C::UCHAR-ARRAYP))\n (112 8 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (96 4 (:DEFINITION ALISTP))\n (54 9 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (52 22 (:DEFINITION STRIP-CARS))\n (48 48 (:REWRITE DEFAULT-CAR))\n (40 8 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (32 31 (:REWRITE DEFAULT-CDR))\n (32 8 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (24 8 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (24 8 (:REWRITE C::MAPP-WHEN-HEAPP))\n (20 20 (:TYPE-PRESCRIPTION STRIP-CARS))\n (18 6 (:REWRITE C::UCHAR-LISTP-OF-CDR-WHEN-UCHAR-LISTP))\n (16 16 (:TYPE-PRESCRIPTION C::SCOPEP))\n (16 16 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (16 16 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (16 16 (:TYPE-PRESCRIPTION C::HEAPP))\n (16 16 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (16 16 (:TYPE-PRESCRIPTION ALISTP))\n (16 16 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (15 11 (:REWRITE C::UCHAR-LISTP-WHEN-NOT-CONSP))\n (8 8 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (4 4 (:TYPE-PRESCRIPTION C::UCHAR-ARRAYP))\n (3 3 (:REWRITE-QUOTED-CONSTANT TRUE-LIST-LIST-FIX-UNDER-TRUE-LIST-LIST-EQUIV))\n (2 2 (:REWRITE-QUOTED-CONSTANT C::UCHAR-INTEGER-FIX-UNDER-UCHAR-INTEGER-EQUIV))\n )\n(C::UCHAR-ARRAY-RESULT-OK-OF-UCHAR-ARRAY-FIX-GET)\n(C::UCHAR-ARRAY-RESULT-OK-UCHAR-ARRAY-EQUIV-CONGRUENCE-ON-GET)\n(C::UCHAR-ARRAY-RESULT-ERR->GET$INLINE\n (224 16 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (95 95 (:REWRITE DEFAULT-CDR))\n (80 16 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (74 16 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (61 61 (:REWRITE DEFAULT-CAR))\n (48 16 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (48 16 (:REWRITE C::MAPP-WHEN-HEAPP))\n (42 42 (:TYPE-PRESCRIPTION IDENTITY))\n (36 16 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (32 32 (:TYPE-PRESCRIPTION C::SCOPEP))\n (32 32 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (32 32 (:TYPE-PRESCRIPTION C::HEAPP))\n (32 32 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (32 32 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (22 22 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n )\n(C::ERRORP-OF-UCHAR-ARRAY-RESULT-ERR->GET\n (63 3 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (15 3 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (14 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (8 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (6 1 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (5 1 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (4 4 (:REWRITE DEFAULT-CDR))\n (3 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:REWRITE C::MAPP-WHEN-HEAPP))\n (3 1 (:DEFINITION NATP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (2 2 (:TYPE-PRESCRIPTION C::HEAPP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (2 2 (:REWRITE DEFAULT-CAR))\n (1 1 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::UCHAR-ARRAY-RESULT-ERR->GET$INLINE-OF-UCHAR-ARRAY-RESULT-FIX-X\n (111 7 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (97 7 (:DEFINITION C::ERRORP))\n (28 6 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (22 8 (:REWRITE C::UCHAR-ARRAY-RESULT-FIX-WHEN-UCHAR-ARRAY-RESULTP))\n (14 14 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-RESULTP))\n (13 13 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-RESULT-FIX$INLINE))\n (13 13 (:TYPE-PRESCRIPTION C::CONSP-OF-UCHAR-ARRAY-RESULT-FIX))\n (12 1 (:REWRITE C::UCHAR-ARRAY-FIX-WHEN-UCHAR-ARRAYP))\n (7 7 (:TYPE-PRESCRIPTION C::ERRORP))\n (2 2 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-FIX$INLINE))\n (2 2 (:TYPE-PRESCRIPTION C::ERROR-FIX$INLINE))\n (1 1 (:TYPE-PRESCRIPTION C::UCHAR-ARRAYP))\n )\n(C::UCHAR-ARRAY-RESULT-ERR->GET$INLINE-UCHAR-ARRAY-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::UCHAR-ARRAY-RESULT-ERR->GET-WHEN-WRONG-KIND\n (3 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:DEFINITION C::ERRORP))\n )\n(C::UCHAR-ARRAY-RESULT-ERR\n (42 3 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (19 19 (:REWRITE DEFAULT-CDR))\n (15 3 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (14 3 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 12 (:REWRITE DEFAULT-CAR))\n (9 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (9 3 (:REWRITE C::MAPP-WHEN-HEAPP))\n (7 3 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPEP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION IDENTITY))\n (6 6 (:TYPE-PRESCRIPTION C::HEAPP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 4 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:DEFINITION STRIP-CARS))\n )\n(C::RETURN-TYPE-OF-UCHAR-ARRAY-RESULT-ERR\n (14 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (8 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (6 1 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (5 1 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (4 4 (:REWRITE DEFAULT-CDR))\n (3 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:REWRITE C::MAPP-WHEN-HEAPP))\n (3 1 (:DEFINITION NATP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (2 2 (:TYPE-PRESCRIPTION C::HEAPP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (2 2 (:REWRITE DEFAULT-CAR))\n (1 1 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::UCHAR-ARRAY-RESULT-ERR->GET-OF-UCHAR-ARRAY-RESULT-ERR\n (30 24 (:TYPE-PRESCRIPTION IDENTITY))\n (23 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (21 1 (:DEFINITION C::ERRORP))\n (16 16 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-RESULT-ERR))\n (6 6 (:TYPE-PRESCRIPTION STRIP-CARS))\n (6 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (2 2 (:DEFINITION STRIP-CARS))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::UCHAR-ARRAY-RESULT-ERR-OF-FIELDS\n (26 2 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (22 2 (:DEFINITION C::ERRORP))\n (18 18 (:TYPE-PRESCRIPTION IDENTITY))\n (12 12 (:TYPE-PRESCRIPTION STRIP-CARS))\n (8 2 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (4 4 (:DEFINITION STRIP-CARS))\n (3 1 (:REWRITE C::UCHAR-ARRAY-RESULT-FIX-WHEN-UCHAR-ARRAY-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::ERRORP))\n (2 2 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::UCHAR-ARRAY-RESULT-FIX-WHEN-ERR\n (18 18 (:TYPE-PRESCRIPTION IDENTITY))\n (14 2 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (11 1 (:DEFINITION C::ERRORP))\n (6 6 (:TYPE-PRESCRIPTION STRIP-CARS))\n (4 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (3 1 (:REWRITE C::UCHAR-ARRAY-RESULT-FIX-WHEN-UCHAR-ARRAY-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-RESULTP))\n (2 2 (:DEFINITION STRIP-CARS))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::EQUAL-OF-UCHAR-ARRAY-RESULT-ERR\n (162 6 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (154 6 (:DEFINITION C::ERRORP))\n (56 4 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (48 2 (:DEFINITION ALISTP))\n (30 6 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (25 25 (:REWRITE DEFAULT-CAR))\n (24 24 (:REWRITE DEFAULT-CDR))\n (24 12 (:DEFINITION STRIP-CARS))\n (20 4 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (16 4 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 12 (:TYPE-PRESCRIPTION STRIP-CARS))\n (12 4 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (12 4 (:REWRITE C::MAPP-WHEN-HEAPP))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPEP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (8 8 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (8 8 (:TYPE-PRESCRIPTION C::HEAPP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (8 8 (:TYPE-PRESCRIPTION ALISTP))\n (8 8 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 4 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION C::ERRORP))\n )\n(C::UCHAR-ARRAY-RESULT-ERR-OF-ERROR-FIX-GET\n (12 12 (:TYPE-PRESCRIPTION IDENTITY))\n )\n(C::UCHAR-ARRAY-RESULT-ERR-ERROR-EQUIV-CONGRUENCE-ON-GET)\n(C::UCHAR-ARRAY-RESULT-FIX-REDEF\n (9 3 (:REWRITE C::UCHAR-ARRAY-RESULT-FIX-WHEN-UCHAR-ARRAY-RESULTP))\n (6 6 (:TYPE-PRESCRIPTION C::UCHAR-ARRAY-RESULTP))\n )\n(C::UCHAR-ARRAY-RESULTP-WHEN-UCHAR-ARRAYP)\n(C::UCHAR-ARRAY-RESULTP-WHEN-ERRORP)\n(C::UCHAR-ARRAYP-WHEN-UCHAR-ARRAY-RESULTP-AND-NOT-ERRORP)\n(C::DEREF\n (11 11 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 3 (:REWRITE DEFAULT-CDR))\n (6 3 (:REWRITE DEFAULT-CAR))\n (3 1 (:REWRITE OMAP::IN-WHEN-EMPTY))\n )\n(C::UCHAR-ARRAY-RESULTP-OF-DEREF\n (102 102 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (38 2 (:REWRITE C::UCHAR-ARRAY-RESULTP-WHEN-ERRORP))\n (30 2 (:REWRITE OMAP::IN-WHEN-IN-TAIL))\n (24 4 (:REWRITE C::EMPTY-OF-HEAP-FIX-TO-NOT-HEAPP-OR-EMPTY))\n (24 3 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (12 4 (:REWRITE C::HEAP-FIX-WHEN-HEAPP))\n (11 4 (:TYPE-PRESCRIPTION OMAP::TAIL-WHEN-EMPTY))\n (8 1 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (6 4 (:REWRITE DEFAULT-CDR))\n (4 4 (:TYPE-PRESCRIPTION C::ERRORP))\n (4 2 (:REWRITE DEFAULT-CAR))\n )\n(C::DEREF-OF-POINTER-FIX-PTR\n (150 150 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (16 2 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (14 14 (:TYPE-PRESCRIPTION C::HEAPP))\n (12 4 (:REWRITE C::HEAP-FIX-WHEN-HEAPP))\n (12 2 (:REWRITE C::EMPTY-OF-HEAP-FIX-TO-NOT-HEAPP-OR-EMPTY))\n (6 4 (:REWRITE DEFAULT-CDR))\n (6 2 (:DEFINITION NOT))\n (4 2 (:REWRITE DEFAULT-CAR))\n (3 1 (:REWRITE C::POINTER-FIX-WHEN-POINTERP))\n (2 2 (:TYPE-PRESCRIPTION C::POINTERP))\n )\n(C::DEREF-POINTER-EQUIV-CONGRUENCE-ON-PTR)\n(C::DEREF-OF-HEAP-FIX-HEAP\n (224 224 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (16 2 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (12 2 (:REWRITE C::EMPTY-OF-HEAP-FIX-TO-NOT-HEAPP-OR-EMPTY))\n (6 4 (:REWRITE DEFAULT-CDR))\n (6 2 (:DEFINITION NOT))\n (4 2 (:REWRITE DEFAULT-CAR))\n )\n(C::DEREF-HEAP-EQUIV-CONGRUENCE-ON-HEAP)\n(C::COMPUSTATEP\n (6 6 (:DEFINITION STRIP-CARS))\n )\n(C::CONSP-WHEN-COMPUSTATEP)\n(C::COMPUSTATE-FIX$INLINE\n (6 6 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n )\n(C::COMPUSTATEP-OF-COMPUSTATE-FIX\n (42 3 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (42 3 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (36 3 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (31 7 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (25 9 (:REWRITE C::HEAP-FIX-WHEN-HEAPP))\n (22 22 (:TYPE-PRESCRIPTION C::HEAPP))\n (19 19 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (16 16 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (15 3 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (14 2 (:DEFINITION NATP))\n (13 10 (:REWRITE DEFAULT-CDR))\n (9 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (9 3 (:REWRITE C::MAPP-WHEN-HEAPP))\n (7 1 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPEP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (6 6 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (3 3 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE DEFAULT-<-2))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(C::COMPUSTATE-FIX-WHEN-COMPUSTATEP\n (3 3 (:DEFINITION STRIP-CARS))\n )\n(C::COMPUSTATE-FIX$INLINE\n (6 6 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (3 3 (:DEFINITION STRIP-CARS))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT)\n(C::COMPUSTATE-EQUIV$INLINE)\n(C::COMPUSTATE-EQUIV-IS-AN-EQUIVALENCE)\n(C::COMPUSTATE-EQUIV-IMPLIES-EQUAL-COMPUSTATE-FIX-1)\n(C::COMPUSTATE-FIX-UNDER-COMPUSTATE-EQUIV)\n(C::EQUAL-OF-COMPUSTATE-FIX-1-FORWARD-TO-COMPUSTATE-EQUIV)\n(C::EQUAL-OF-COMPUSTATE-FIX-2-FORWARD-TO-COMPUSTATE-EQUIV)\n(C::COMPUSTATE-EQUIV-OF-COMPUSTATE-FIX-1-FORWARD)\n(C::COMPUSTATE-EQUIV-OF-COMPUSTATE-FIX-2-FORWARD)\n(C::COMPUSTATE->FRAMES$INLINE\n (3 3 (:DEFINITION STRIP-CARS))\n )\n(C::FRAME-LISTP-OF-COMPUSTATE->FRAMES)\n(C::COMPUSTATE->FRAMES$INLINE-OF-COMPUSTATE-FIX-X\n (9 3 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (6 6 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n (3 1 (:REWRITE C::HEAP-FIX-WHEN-HEAPP))\n (2 2 (:TYPE-PRESCRIPTION C::HEAPP))\n )\n(C::COMPUSTATE->FRAMES$INLINE-COMPUSTATE-EQUIV-CONGRUENCE-ON-X)\n(C::COMPUSTATE->HEAP$INLINE\n (20 20 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (3 3 (:DEFINITION STRIP-CARS))\n )\n(C::HEAPP-OF-COMPUSTATE->HEAP)\n(C::COMPUSTATE->HEAP$INLINE-OF-COMPUSTATE-FIX-X\n (69 46 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (23 23 (:TYPE-PRESCRIPTION C::COMPUSTATE-FIX$INLINE))\n (9 3 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (6 6 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n (3 1 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (2 2 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n )\n(C::COMPUSTATE->HEAP$INLINE-COMPUSTATE-EQUIV-CONGRUENCE-ON-X)\n(C::COMPUSTATE)\n(C::COMPUSTATEP-OF-COMPUSTATE\n (42 3 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (42 3 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (36 3 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (19 19 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (15 4 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (15 3 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (14 14 (:TYPE-PRESCRIPTION C::HEAPP))\n (14 6 (:REWRITE C::HEAP-FIX-WHEN-HEAPP))\n (14 2 (:DEFINITION NATP))\n (9 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (9 3 (:REWRITE C::MAPP-WHEN-HEAPP))\n (8 8 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (8 5 (:REWRITE DEFAULT-CDR))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPEP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (3 3 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE DEFAULT-CAR))\n (2 2 (:REWRITE DEFAULT-<-2))\n (2 2 (:REWRITE DEFAULT-<-1))\n (1 1 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n )\n(C::COMPUSTATE->FRAMES-OF-COMPUSTATE)\n(C::COMPUSTATE->HEAP-OF-COMPUSTATE\n (81 63 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (18 18 (:TYPE-PRESCRIPTION C::COMPUSTATE))\n )\n(C::COMPUSTATE-OF-FIELDS\n (3 1 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n )\n(C::COMPUSTATE-FIX-WHEN-COMPUSTATE\n (3 1 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n )\n(C::EQUAL-OF-COMPUSTATE)\n(C::COMPUSTATE-OF-FRAME-LIST-FIX-FRAMES\n (4 2 (:REWRITE C::HEAP-FIX-WHEN-HEAPP))\n (2 2 (:TYPE-PRESCRIPTION C::HEAPP))\n )\n(C::COMPUSTATE-FRAME-LIST-EQUIV-CONGRUENCE-ON-FRAMES)\n(C::COMPUSTATE-OF-HEAP-FIX-HEAP\n (4 2 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (2 2 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n )\n(C::COMPUSTATE-HEAP-EQUIV-CONGRUENCE-ON-HEAP)\n(C::COMPUSTATE-FIX-REDEF)\n(C::COMPUSTATE-RESULTP)\n(C::CONSP-WHEN-COMPUSTATE-RESULTP)\n(C::COMPUSTATE-RESULT-KIND$INLINE)\n(C::COMPUSTATE-RESULT-KIND-POSSIBILITIES)\n(C::COMPUSTATE-RESULT-FIX$INLINE)\n(C::COMPUSTATE-RESULTP-OF-COMPUSTATE-RESULT-FIX\n (56 4 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (50 4 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (42 4 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (20 4 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (20 1 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (19 19 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (17 14 (:REWRITE DEFAULT-CDR))\n (17 3 (:DEFINITION NATP))\n (14 14 (:TYPE-PRESCRIPTION STRIP-CARS))\n (13 3 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (13 1 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (13 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (12 4 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (12 4 (:REWRITE C::MAPP-WHEN-HEAPP))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPEP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (8 8 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (8 8 (:REWRITE DEFAULT-CAR))\n (7 1 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (4 4 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (4 4 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (4 2 (:REWRITE C::HEAP-FIX-WHEN-HEAPP))\n (3 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE DEFAULT-<-1))\n (2 2 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n )\n(C::COMPUSTATE-RESULT-FIX-WHEN-COMPUSTATE-RESULTP)\n(C::COMPUSTATE-RESULT-FIX$INLINE\n (98 7 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (38 38 (:REWRITE DEFAULT-CDR))\n (35 7 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (32 7 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (25 25 (:REWRITE DEFAULT-CAR))\n (21 7 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (21 7 (:REWRITE C::MAPP-WHEN-HEAPP))\n (15 7 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (14 14 (:TYPE-PRESCRIPTION C::SCOPEP))\n (14 14 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (14 14 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (14 14 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (12 12 (:TYPE-PRESCRIPTION IDENTITY))\n (10 10 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT)\n(C::COMPUSTATE-RESULT-EQUIV$INLINE)\n(C::COMPUSTATE-RESULT-EQUIV-IS-AN-EQUIVALENCE)\n(C::COMPUSTATE-RESULT-EQUIV-IMPLIES-EQUAL-COMPUSTATE-RESULT-FIX-1)\n(C::COMPUSTATE-RESULT-FIX-UNDER-COMPUSTATE-RESULT-EQUIV)\n(C::EQUAL-OF-COMPUSTATE-RESULT-FIX-1-FORWARD-TO-COMPUSTATE-RESULT-EQUIV)\n(C::EQUAL-OF-COMPUSTATE-RESULT-FIX-2-FORWARD-TO-COMPUSTATE-RESULT-EQUIV)\n(C::COMPUSTATE-RESULT-EQUIV-OF-COMPUSTATE-RESULT-FIX-1-FORWARD)\n(C::COMPUSTATE-RESULT-EQUIV-OF-COMPUSTATE-RESULT-FIX-2-FORWARD)\n(C::COMPUSTATE-RESULT-KIND$INLINE-OF-COMPUSTATE-RESULT-FIX-X\n (5 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (4 1 (:DEFINITION C::ERRORP))\n (1 1 (:REWRITE C::COMPUSTATE-RESULT-FIX-WHEN-COMPUSTATE-RESULTP))\n )\n(C::COMPUSTATE-RESULT-KIND$INLINE-COMPUSTATE-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::CONSP-OF-COMPUSTATE-RESULT-FIX)\n(C::COMPUSTATE-RESULT-OK->GET$INLINE)\n(C::COMPUSTATEP-OF-COMPUSTATE-RESULT-OK->GET\n (253 22 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (42 39 (:DEFINITION STRIP-CARS))\n (42 3 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (42 3 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (36 3 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (15 3 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (14 2 (:DEFINITION NATP))\n (13 10 (:REWRITE DEFAULT-CDR))\n (13 1 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (9 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (9 3 (:REWRITE C::MAPP-WHEN-HEAPP))\n (7 1 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPEP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (6 6 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (4 2 (:REWRITE C::HEAP-FIX-WHEN-HEAPP))\n (3 3 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE DEFAULT-<-2))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(C::COMPUSTATE-RESULT-OK->GET$INLINE-OF-COMPUSTATE-RESULT-FIX-X\n (24 12 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (22 4 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (18 8 (:REWRITE C::COMPUSTATE-RESULT-FIX-WHEN-COMPUSTATE-RESULTP))\n (12 12 (:TYPE-PRESCRIPTION C::CONSP-OF-COMPUSTATE-RESULT-FIX))\n (12 12 (:TYPE-PRESCRIPTION C::COMPUSTATE-RESULT-FIX$INLINE))\n (10 10 (:TYPE-PRESCRIPTION C::COMPUSTATE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::COMPUSTATE-RESULT-OK->GET$INLINE-COMPUSTATE-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::COMPUSTATE-RESULT-OK->GET-WHEN-WRONG-KIND\n (10 2 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (6 2 (:DEFINITION C::COMPUSTATEP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n (2 2 (:TYPE-PRESCRIPTION ALISTP))\n (2 2 (:DEFINITION STRIP-CARS))\n )\n(C::COMPUSTATE-RESULT-OK)\n(C::RETURN-TYPE-OF-COMPUSTATE-RESULT-OK\n (84 6 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (84 6 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (72 6 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (40 2 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (38 38 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (30 6 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (28 4 (:DEFINITION NATP))\n (26 20 (:REWRITE DEFAULT-CDR))\n (26 2 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (18 6 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (18 6 (:REWRITE C::MAPP-WHEN-HEAPP))\n (18 4 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (14 2 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (12 12 (:TYPE-PRESCRIPTION C::SCOPEP))\n (12 12 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (12 12 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (12 12 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (12 12 (:REWRITE DEFAULT-CAR))\n (8 8 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (8 4 (:REWRITE C::HEAP-FIX-WHEN-HEAPP))\n (6 6 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (4 4 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (4 4 (:REWRITE DEFAULT-<-2))\n (4 4 (:REWRITE DEFAULT-<-1))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n )\n(C::COMPUSTATE-RESULT-OK->GET-OF-COMPUSTATE-RESULT-OK\n (59 4 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (52 3 (:DEFINITION C::COMPUSTATEP))\n (36 30 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (20 20 (:TYPE-PRESCRIPTION STRIP-CARS))\n (20 4 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (11 11 (:TYPE-PRESCRIPTION C::COMPUSTATE-RESULT-OK))\n (8 8 (:DEFINITION STRIP-CARS))\n (6 6 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (3 3 (:TYPE-PRESCRIPTION C::HEAPP))\n (3 3 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n (3 3 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::COMPUSTATE-RESULT-OK-OF-FIELDS\n (61 3 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (55 3 (:DEFINITION C::COMPUSTATEP))\n (18 18 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (18 4 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (16 16 (:TYPE-PRESCRIPTION STRIP-CARS))\n (15 9 (:DEFINITION STRIP-CARS))\n (6 6 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (3 3 (:TYPE-PRESCRIPTION C::HEAPP))\n (3 3 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n (3 3 (:TYPE-PRESCRIPTION ALISTP))\n (3 1 (:REWRITE C::COMPUSTATE-RESULT-FIX-WHEN-COMPUSTATE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATE-RESULTP))\n )\n(C::COMPUSTATE-RESULT-FIX-WHEN-OK\n (42 3 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (37 2 (:DEFINITION C::COMPUSTATEP))\n (18 18 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (12 6 (:DEFINITION STRIP-CARS))\n (9 2 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (8 8 (:TYPE-PRESCRIPTION STRIP-CARS))\n (4 4 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (3 1 (:REWRITE C::COMPUSTATE-RESULT-FIX-WHEN-COMPUSTATE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::HEAPP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::EQUAL-OF-COMPUSTATE-RESULT-OK\n (27 6 (:DEFINITION C::COMPUSTATEP))\n (15 15 (:DEFINITION STRIP-CARS))\n (12 6 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n )\n(C::COMPUSTATE-RESULT-OK-OF-COMPUSTATE-FIX-GET\n (42 3 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (37 2 (:DEFINITION C::COMPUSTATEP))\n (18 18 (:TYPE-PRESCRIPTION C::HEAP-FIX))\n (12 6 (:DEFINITION STRIP-CARS))\n (9 2 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (8 8 (:TYPE-PRESCRIPTION STRIP-CARS))\n (4 4 (:TYPE-PRESCRIPTION C::FRAME-LISTP))\n (2 2 (:TYPE-PRESCRIPTION C::HEAPP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n (2 2 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::COMPUSTATE-RESULT-OK-COMPUSTATE-EQUIV-CONGRUENCE-ON-GET)\n(C::COMPUSTATE-RESULT-ERR->GET$INLINE\n (182 13 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (78 78 (:REWRITE DEFAULT-CDR))\n (65 13 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (60 13 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (50 50 (:REWRITE DEFAULT-CAR))\n (39 13 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (39 13 (:REWRITE C::MAPP-WHEN-HEAPP))\n (34 34 (:TYPE-PRESCRIPTION IDENTITY))\n (29 13 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (26 26 (:TYPE-PRESCRIPTION C::SCOPEP))\n (26 26 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (26 26 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (26 26 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (18 18 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n )\n(C::ERRORP-OF-COMPUSTATE-RESULT-ERR->GET\n (63 3 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (15 3 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (14 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (8 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (6 1 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (5 1 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (4 4 (:REWRITE DEFAULT-CDR))\n (3 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:REWRITE C::MAPP-WHEN-HEAPP))\n (3 1 (:DEFINITION NATP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (2 2 (:TYPE-PRESCRIPTION C::HEAPP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (2 2 (:REWRITE DEFAULT-CAR))\n (1 1 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::COMPUSTATE-RESULT-ERR->GET$INLINE-OF-COMPUSTATE-RESULT-FIX-X\n (111 7 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (97 7 (:DEFINITION C::ERRORP))\n (28 6 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (22 8 (:REWRITE C::COMPUSTATE-RESULT-FIX-WHEN-COMPUSTATE-RESULTP))\n (14 14 (:TYPE-PRESCRIPTION C::COMPUSTATE-RESULTP))\n (13 13 (:TYPE-PRESCRIPTION C::CONSP-OF-COMPUSTATE-RESULT-FIX))\n (13 13 (:TYPE-PRESCRIPTION C::COMPUSTATE-RESULT-FIX$INLINE))\n (13 1 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (7 7 (:TYPE-PRESCRIPTION C::ERRORP))\n (2 2 (:TYPE-PRESCRIPTION C::ERROR-FIX$INLINE))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATE-FIX$INLINE))\n (1 1 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n )\n(C::COMPUSTATE-RESULT-ERR->GET$INLINE-COMPUSTATE-RESULT-EQUIV-CONGRUENCE-ON-X)\n(C::COMPUSTATE-RESULT-ERR->GET-WHEN-WRONG-KIND\n (3 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:DEFINITION C::ERRORP))\n )\n(C::COMPUSTATE-RESULT-ERR\n (42 3 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (19 19 (:REWRITE DEFAULT-CDR))\n (15 3 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (14 3 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 12 (:REWRITE DEFAULT-CAR))\n (9 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (9 3 (:REWRITE C::MAPP-WHEN-HEAPP))\n (7 3 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (6 6 (:TYPE-PRESCRIPTION C::SCOPEP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION IDENTITY))\n (6 6 (:TYPE-PRESCRIPTION C::HEAPP))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 4 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:DEFINITION STRIP-CARS))\n )\n(C::RETURN-TYPE-OF-COMPUSTATE-RESULT-ERR\n (14 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (8 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (6 1 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (5 1 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (4 4 (:REWRITE DEFAULT-CDR))\n (3 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:REWRITE C::MAPP-WHEN-HEAPP))\n (3 1 (:DEFINITION NATP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (2 2 (:REWRITE DEFAULT-CAR))\n (1 1 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::COMPUSTATE-RESULT-ERR->GET-OF-COMPUSTATE-RESULT-ERR\n (30 24 (:TYPE-PRESCRIPTION IDENTITY))\n (23 1 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (21 1 (:DEFINITION C::ERRORP))\n (16 16 (:TYPE-PRESCRIPTION C::COMPUSTATE-RESULT-ERR))\n (6 6 (:TYPE-PRESCRIPTION STRIP-CARS))\n (6 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (2 2 (:DEFINITION STRIP-CARS))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::COMPUSTATE-RESULT-ERR-OF-FIELDS\n (26 2 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (22 2 (:DEFINITION C::ERRORP))\n (18 18 (:TYPE-PRESCRIPTION IDENTITY))\n (12 12 (:TYPE-PRESCRIPTION STRIP-CARS))\n (8 2 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (4 4 (:DEFINITION STRIP-CARS))\n (3 1 (:REWRITE C::COMPUSTATE-RESULT-FIX-WHEN-COMPUSTATE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::ERRORP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::COMPUSTATE-RESULT-FIX-WHEN-ERR\n (18 18 (:TYPE-PRESCRIPTION IDENTITY))\n (14 2 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (11 1 (:DEFINITION C::ERRORP))\n (6 6 (:TYPE-PRESCRIPTION STRIP-CARS))\n (4 1 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (3 1 (:REWRITE C::COMPUSTATE-RESULT-FIX-WHEN-COMPUSTATE-RESULTP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATE-RESULTP))\n (2 2 (:DEFINITION STRIP-CARS))\n (1 1 (:TYPE-PRESCRIPTION C::ERRORP))\n (1 1 (:TYPE-PRESCRIPTION ALISTP))\n )\n(C::EQUAL-OF-COMPUSTATE-RESULT-ERR\n (162 6 (:REWRITE C::ERROR-FIX-WHEN-ERRORP))\n (154 6 (:DEFINITION C::ERRORP))\n (56 4 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (48 2 (:DEFINITION ALISTP))\n (30 6 (:REWRITE FTY::EQUAL-OF-STRIP-CARS))\n (25 25 (:REWRITE DEFAULT-CAR))\n (24 24 (:REWRITE DEFAULT-CDR))\n (24 12 (:DEFINITION STRIP-CARS))\n (20 4 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (16 4 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (12 12 (:TYPE-PRESCRIPTION STRIP-CARS))\n (12 4 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (12 4 (:REWRITE C::MAPP-WHEN-HEAPP))\n (8 8 (:TYPE-PRESCRIPTION C::SCOPEP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (8 8 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (8 8 (:TYPE-PRESCRIPTION C::HEAPP))\n (8 8 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (8 8 (:TYPE-PRESCRIPTION ALISTP))\n (8 8 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 4 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION C::ERRORP))\n )\n(C::COMPUSTATE-RESULT-ERR-OF-ERROR-FIX-GET\n (12 12 (:TYPE-PRESCRIPTION IDENTITY))\n )\n(C::COMPUSTATE-RESULT-ERR-ERROR-EQUIV-CONGRUENCE-ON-GET)\n(C::COMPUSTATE-RESULT-FIX-REDEF\n (9 3 (:REWRITE C::COMPUSTATE-RESULT-FIX-WHEN-COMPUSTATE-RESULTP))\n (6 6 (:TYPE-PRESCRIPTION C::COMPUSTATE-RESULTP))\n )\n(C::COMPUSTATE-RESULTP-WHEN-COMPUSTATEP)\n(C::COMPUSTATE-RESULTP-WHEN-ERRORP)\n(C::COMPUSTATEP-WHEN-COMPUSTATE-RESULTP-AND-NOT-ERRORP)\n(C::NOT-COMPUSTATEP-OF-ERROR\n (14 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (5 1 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (3 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:REWRITE C::MAPP-WHEN-HEAPP))\n (3 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (1 1 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (1 1 (:REWRITE HONS-DUPLICITY-ALIST-P-OF-CONS))\n (1 1 (:REWRITE DEFAULT-CAR))\n )\n(C::NOT-ERRORP-WHEN-COMPUSTATEP\n (14 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (5 1 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (4 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (3 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (3 1 (:REWRITE C::MAPP-WHEN-HEAPP))\n (2 2 (:TYPE-PRESCRIPTION C::SCOPEP))\n (2 2 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (1 1 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE DEFAULT-CAR))\n )\n(C::COMPUSTATE-FRAMES-NUMBER)\n(C::NATP-OF-COMPUSTATE-FRAMES-NUMBER)\n(C::COMPUSTATE-FRAMES-NUMBER-OF-COMPUSTATE-FIX-COMPST)\n(C::COMPUSTATE-FRAMES-NUMBER-COMPUSTATE-EQUIV-CONGRUENCE-ON-COMPST)\n(C::PUSH-FRAME\n (6 6 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (2 2 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (2 1 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n )\n(C::COMPUSTATEP-OF-PUSH-FRAME)\n(C::COMPUSTATE-FRAMES-NUMBER-OF-PUSH-FRAME\n (10 5 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-+-1))\n (5 1 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (4 3 (:REWRITE DEFAULT-CDR))\n (2 2 (:TYPE-PRESCRIPTION C::FRAMEP))\n (2 2 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n )\n(C::PUSH-FRAME-OF-FRAME-FIX-FRAME)\n(C::PUSH-FRAME-FRAME-EQUIV-CONGRUENCE-ON-FRAME)\n(C::PUSH-FRAME-OF-COMPUSTATE-FIX-COMPST)\n(C::PUSH-FRAME-COMPUSTATE-EQUIV-CONGRUENCE-ON-COMPST)\n(C::TOP-FRAME\n (7 1 (:DEFINITION LEN))\n (4 1 (:REWRITE DEFAULT-CAR))\n (2 2 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (2 1 (:REWRITE DEFAULT-<-2))\n (2 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:REWRITE DEFAULT-CDR))\n (1 1 (:REWRITE DEFAULT-<-1))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(C::FRAMEP-OF-TOP-FRAME)\n(C::TOP-FRAME-OF-PUSH-FRAME)\n(C::TOP-FRAME-OF-COMPUSTATE-FIX-COMPST)\n(C::TOP-FRAME-COMPUSTATE-EQUIV-CONGRUENCE-ON-COMPST)\n(C::POP-FRAME\n (4 1 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (4 1 (:REWRITE DEFAULT-CDR))\n (2 2 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (2 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::COMPUSTATEP-OF-POP-FRAME)\n(C::COMPUSTATE-FRAMES-NUMBER-OF-POP-FRAME\n (16 8 (:REWRITE DEFAULT-+-2))\n (8 8 (:REWRITE DEFAULT-CDR))\n (8 8 (:REWRITE DEFAULT-+-1))\n (3 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::POP-FRAME-OF-PUSH-FRAME)\n(C::POP-FRAME-OF-COMPUSTATE-FIX-COMPST)\n(C::POP-FRAME-COMPUSTATE-EQUIV-CONGRUENCE-ON-COMPST)\n(C::COMPUSTATE-SCOPES-NUMBERS-AUX\n (1 1 (:REWRITE SUBSETP-TRANS2))\n (1 1 (:REWRITE SUBSETP-TRANS))\n (1 1 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE DEFAULT-CDR))\n (1 1 (:REWRITE DEFAULT-CAR))\n )\n(C::POS-LISTP-OF-COMPUSTATE-SCOPES-NUMBERS-AUX\n (147 14 (:REWRITE INTEGERP-OF-CAR-WHEN-INTEGER-LISTP))\n (105 7 (:DEFINITION INTEGER-LISTP))\n (21 18 (:REWRITE DEFAULT-CDR))\n (17 16 (:REWRITE DEFAULT-CAR))\n (14 14 (:REWRITE INTEGER-LISTP-WHEN-NOT-CONSP))\n (14 7 (:REWRITE INTEGER-LISTP-OF-CDR-WHEN-INTEGER-LISTP))\n (11 9 (:REWRITE DEFAULT-<-2))\n (9 9 (:REWRITE DEFAULT-<-1))\n (4 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n )\n(C::LEN-OF-COMPUSTATE-SCOPES-NUMBERS-AUX\n (20 10 (:REWRITE DEFAULT-+-2))\n (15 11 (:REWRITE DEFAULT-CDR))\n (10 10 (:REWRITE DEFAULT-+-1))\n (6 6 (:TYPE-PRESCRIPTION C::FRAME->SCOPES$INLINE))\n (3 3 (:REWRITE DEFAULT-CAR))\n )\n(C::CONSP-OF-COMPUSTATE-SCOPES-NUMBERS-AUX\n (21 3 (:DEFINITION LEN))\n (9 6 (:REWRITE DEFAULT-CDR))\n (6 6 (:TYPE-PRESCRIPTION C::FRAME->SCOPES$INLINE))\n (6 3 (:REWRITE DEFAULT-+-2))\n (3 3 (:TYPE-PRESCRIPTION LEN))\n (3 3 (:REWRITE DEFAULT-CAR))\n (3 3 (:REWRITE DEFAULT-+-1))\n )\n(C::CAR-OF-COMPUSTATE-SCOPES-NUMBERS-AUX\n (38 19 (:REWRITE DEFAULT-+-2))\n (36 22 (:REWRITE DEFAULT-CDR))\n (28 28 (:TYPE-PRESCRIPTION C::FRAME->SCOPES$INLINE))\n (19 19 (:REWRITE DEFAULT-+-1))\n (16 9 (:REWRITE DEFAULT-CAR))\n (6 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE DEFAULT-<-1))\n (2 2 (:REWRITE C::CONSP-OF-COMPUSTATE-SCOPES-NUMBERS-AUX))\n )\n(C::COMPUSTATE-SCOPES-NUMBERS-AUX-OF-FRAME-LIST-FIX-FRAMES\n (196 28 (:DEFINITION LEN))\n (141 72 (:REWRITE DEFAULT-CDR))\n (114 13 (:REWRITE C::FRAME-LIST-FIX-WHEN-FRAME-LISTP))\n (56 56 (:TYPE-PRESCRIPTION C::FRAME->SCOPES$INLINE))\n (56 28 (:REWRITE DEFAULT-+-2))\n (38 38 (:REWRITE C::FRAME-LISTP-WHEN-SUBSETP-EQUAL))\n (36 6 (:REWRITE C::FRAME-LISTP-OF-CDR-WHEN-FRAME-LISTP))\n (32 30 (:REWRITE DEFAULT-CAR))\n (28 28 (:TYPE-PRESCRIPTION LEN))\n (28 28 (:REWRITE DEFAULT-+-1))\n (20 19 (:REWRITE C::FRAME-LISTP-WHEN-NOT-CONSP))\n )\n(C::COMPUSTATE-SCOPES-NUMBERS-AUX-FRAME-LIST-EQUIV-CONGRUENCE-ON-FRAMES)\n(C::COMPUSTATE-SCOPES-NUMBERS)\n(C::POS-LISTP-OF-COMPUSTATE-SCOPES-NUMBERS)\n(C::LEN-OF-COMPUSTATE-SCOPES-NUMBERS)\n(C::CONSP-OF-COMPUSTATE-SCOPES-NUMBERS)\n(C::POSP-OF-CAR-OF-COMPUSTATE-SCOPES-NUMBERS\n (6 3 (:REWRITE DEFAULT-+-2))\n (5 5 (:TYPE-PRESCRIPTION C::COMPUSTATE->FRAMES$INLINE))\n (5 3 (:REWRITE DEFAULT-CDR))\n (4 2 (:REWRITE DEFAULT-<-2))\n (4 1 (:REWRITE DEFAULT-CAR))\n (3 3 (:REWRITE DEFAULT-+-1))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(C::CAR-OF-COMPUSTATE-SCOPES-NUMBERS-LOWER-BOUND\n (6 3 (:REWRITE DEFAULT-+-2))\n (5 5 (:TYPE-PRESCRIPTION C::COMPUSTATE->FRAMES$INLINE))\n (5 3 (:REWRITE DEFAULT-CDR))\n (4 2 (:TYPE-PRESCRIPTION C::POSP-OF-CAR-OF-COMPUSTATE-SCOPES-NUMBERS))\n (4 2 (:REWRITE DEFAULT-<-2))\n (4 1 (:REWRITE DEFAULT-CAR))\n (3 3 (:REWRITE DEFAULT-+-1))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(C::CAR-OF-COMPUSTATE-SCOPES-NUMBERS\n (35 5 (:DEFINITION LEN))\n (10 5 (:REWRITE DEFAULT-+-2))\n (9 5 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION C::FRAME->SCOPES$INLINE))\n (6 3 (:TYPE-PRESCRIPTION C::CONSP-OF-COMPUSTATE-SCOPES-NUMBERS))\n (5 5 (:TYPE-PRESCRIPTION C::COMPUSTATE->FRAMES$INLINE))\n (5 5 (:REWRITE DEFAULT-+-1))\n (5 2 (:REWRITE DEFAULT-CAR))\n (2 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::COMPUSTATE-SCOPES-NUMBERS-OF-PUSH-FRAME\n (35 5 (:DEFINITION LEN))\n (14 8 (:REWRITE DEFAULT-CDR))\n (10 10 (:TYPE-PRESCRIPTION C::FRAME->SCOPES$INLINE))\n (10 5 (:REWRITE DEFAULT-+-2))\n (5 5 (:TYPE-PRESCRIPTION LEN))\n (5 5 (:REWRITE DEFAULT-+-1))\n (4 3 (:REWRITE DEFAULT-CAR))\n )\n(C::COMPUSTATE-SCOPES-NUMBERS-OF-POP-FRAME\n (28 4 (:DEFINITION LEN))\n (23 10 (:REWRITE DEFAULT-CDR))\n (8 8 (:TYPE-PRESCRIPTION C::FRAME->SCOPES$INLINE))\n (8 4 (:REWRITE DEFAULT-+-2))\n (4 4 (:TYPE-PRESCRIPTION LEN))\n (4 4 (:REWRITE DEFAULT-CAR))\n (4 4 (:REWRITE DEFAULT-+-1))\n )\n(C::COMPUSTATE-SCOPES-NUMBERS-OF-COMPUSTATE-FIX-COMPST)\n(C::COMPUSTATE-SCOPES-NUMBERS-COMPUSTATE-EQUIV-CONGRUENCE-ON-COMPST)\n(C::COMPUSTATE-TOP-FRAME-SCOPES-NUMBER\n (16 12 (:TYPE-PRESCRIPTION C::CONSP-OF-COMPUSTATE-SCOPES-NUMBERS))\n (10 5 (:TYPE-PRESCRIPTION C::POSP-OF-CAR-OF-COMPUSTATE-SCOPES-NUMBERS))\n )\n(C::POSP-OF-COMPUSTATE-TOP-FRAME-SCOPES-NUMBER)\n(C::COMPUSTATE-TOP-FRAME-SCOPES-NUMBER-OF-COMPUSTATE-FIX-COMPST)\n(C::COMPUSTATE-TOP-FRAME-SCOPES-NUMBER-COMPUSTATE-EQUIV-CONGRUENCE-ON-COMPST)\n(C::ENTER-SCOPE\n (4 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE DEFAULT-<-1))\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (2 1 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n )\n(C::COMPUSTATEP-OF-ENTER-SCOPE)\n(C::COMPUSTATE-FRAMES-NUMBER-OF-ENTER-SCOPE\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (2 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE-QUOTED-CONSTANT C::SCOPE-FIX-UNDER-SCOPE-EQUIV))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::COMPUSTATE-SCOPES-NUMBERS-OF-ENTER-SCOPE\n (13 1 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (12 5 (:REWRITE DEFAULT-CDR))\n (10 5 (:REWRITE DEFAULT-+-2))\n (9 9 (:TYPE-PRESCRIPTION C::COMPUSTATE->FRAMES$INLINE))\n (7 1 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (6 3 (:REWRITE DEFAULT-CAR))\n (5 5 (:TYPE-PRESCRIPTION LEN))\n (5 5 (:REWRITE DEFAULT-+-1))\n (2 2 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (2 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:TYPE-PRESCRIPTION C::FRAMEP))\n (1 1 (:REWRITE-QUOTED-CONSTANT C::SCOPE-FIX-UNDER-SCOPE-EQUIV))\n (1 1 (:REWRITE C::FRAME-LISTP-OF-COMPUSTATE->FRAMES))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::ENTER-SCOPE-OF-COMPUSTATE-FIX-COMPST\n (3 1 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n (2 2 (:REWRITE-QUOTED-CONSTANT C::SCOPE-FIX-UNDER-SCOPE-EQUIV))\n )\n(C::ENTER-SCOPE-COMPUSTATE-EQUIV-CONGRUENCE-ON-COMPST)\n(C::EXIT-SCOPE\n (21 21 (:TYPE-PRESCRIPTION C::COMPUSTATE->FRAMES$INLINE))\n (20 5 (:REWRITE DEFAULT-CAR))\n (13 1 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (12 6 (:REWRITE DEFAULT-CDR))\n (8 8 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (7 1 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (6 4 (:REWRITE DEFAULT-<-2))\n (6 3 (:REWRITE DEFAULT-+-2))\n (4 4 (:REWRITE DEFAULT-<-1))\n (3 3 (:REWRITE DEFAULT-+-1))\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (1 1 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE C::FRAME-LISTP-OF-COMPUSTATE->FRAMES))\n )\n(C::COMPUSTATEP-OF-EXIT-SCOPE)\n(C::COMPUSTATE-FRAMES-NUMBER-OF-EXIT-SCOPE\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (2 1 (:REWRITE DEFAULT-CDR))\n (2 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::COMPUSTATE-SCOPES-NUMBERS-OF-EXIT-SCOPE\n (48 24 (:REWRITE DEFAULT-CDR))\n (43 15 (:REWRITE DEFAULT-CAR))\n (33 17 (:REWRITE DEFAULT-+-2))\n (30 30 (:TYPE-PRESCRIPTION C::COMPUSTATE->FRAMES$INLINE))\n (17 17 (:REWRITE DEFAULT-+-1))\n (13 1 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (10 5 (:REWRITE DEFAULT-<-2))\n (7 1 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (5 5 (:REWRITE DEFAULT-<-1))\n (4 1 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (1 1 (:TYPE-PRESCRIPTION C::FRAMEP))\n (1 1 (:REWRITE C::FRAME-LISTP-OF-COMPUSTATE->FRAMES))\n )\n(C::EXIT-SCOPE-OF-COMPUSTATE-FIX-COMPST\n (4 2 (:REWRITE DEFAULT-CDR))\n (3 1 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n )\n(C::EXIT-SCOPE-COMPUSTATE-EQUIV-CONGRUENCE-ON-COMPST)\n(C::CREATE-VAR\n (46 3 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (41 2 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (10 10 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (7 3 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (7 3 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (7 3 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (7 3 (:REWRITE C::VALUEP-WHEN-UINTP))\n (7 3 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (7 3 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (7 3 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (7 3 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (7 3 (:REWRITE C::VALUEP-WHEN-SINTP))\n (7 3 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (7 3 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (6 6 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (6 2 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (6 2 (:REWRITE C::MAPP-WHEN-HEAPP))\n (4 4 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (4 4 (:TYPE-PRESCRIPTION C::HEAPP))\n (4 4 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (4 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (3 3 (:REWRITE DEFAULT-<-1))\n (3 1 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (3 1 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (2 2 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (2 1 (:REWRITE DEFAULT-CDR))\n (2 1 (:REWRITE DEFAULT-CAR))\n )\n(C::COMPUSTATE-RESULTP-OF-CREATE-VAR)\n(C::COMPUSTATE-FRAMES-NUMBER-OF-CREATE-VAR\n (86 2 (:REWRITE C::VALUE-FIX-WHEN-VALUEP))\n (27 7 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (10 10 (:TYPE-PRESCRIPTION C::IDENTP))\n (10 2 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (9 3 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (6 6 (:TYPE-PRESCRIPTION C::VALUEP))\n (6 3 (:REWRITE DEFAULT-CAR))\n (6 2 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-UINTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SINTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (6 2 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (6 2 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (5 5 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (5 5 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (4 4 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (4 4 (:TYPE-PRESCRIPTION C::USHORTP))\n (4 4 (:TYPE-PRESCRIPTION C::ULONGP))\n (4 4 (:TYPE-PRESCRIPTION C::ULLONGP))\n (4 4 (:TYPE-PRESCRIPTION C::UINTP))\n (4 4 (:TYPE-PRESCRIPTION C::UCHARP))\n (4 4 (:TYPE-PRESCRIPTION C::SSHORTP))\n (4 4 (:TYPE-PRESCRIPTION C::SLONGP))\n (4 4 (:TYPE-PRESCRIPTION C::SLLONGP))\n (4 4 (:TYPE-PRESCRIPTION C::SINTP))\n (4 4 (:TYPE-PRESCRIPTION C::SCHARP))\n (4 4 (:TYPE-PRESCRIPTION C::POINTERP))\n (4 4 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (4 2 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (4 2 (:REWRITE DEFAULT-CDR))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (2 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(C::COMPUSTATE-SCOPES-NUMBERS-OF-CREATE-VAR\n (86 2 (:REWRITE C::VALUE-FIX-WHEN-VALUEP))\n (59 37 (:REWRITE DEFAULT-CDR))\n (44 22 (:REWRITE DEFAULT-+-2))\n (39 3 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (36 22 (:REWRITE DEFAULT-CAR))\n (33 33 (:TYPE-PRESCRIPTION C::VALUE-FIX$INLINE))\n (22 22 (:REWRITE DEFAULT-+-1))\n (21 3 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (15 3 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (12 4 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (12 3 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (12 3 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (12 3 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (12 3 (:REWRITE C::VALUEP-WHEN-UINTP))\n (12 3 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (12 3 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (12 3 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (12 3 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (12 3 (:REWRITE C::VALUEP-WHEN-SINTP))\n (12 3 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (12 3 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (7 7 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (7 7 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (6 6 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (6 6 (:TYPE-PRESCRIPTION C::USHORTP))\n (6 6 (:TYPE-PRESCRIPTION C::ULONGP))\n (6 6 (:TYPE-PRESCRIPTION C::ULLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::UINTP))\n (6 6 (:TYPE-PRESCRIPTION C::UCHARP))\n (6 6 (:TYPE-PRESCRIPTION C::SSHORTP))\n (6 6 (:TYPE-PRESCRIPTION C::SLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::SLLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::SINTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCHARP))\n (6 6 (:TYPE-PRESCRIPTION C::POINTERP))\n (6 6 (:TYPE-PRESCRIPTION C::CONSP-OF-COMPUSTATE-SCOPES-NUMBERS))\n (6 6 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (6 6 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (6 3 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (6 2 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (5 2 (:REWRITE DEFAULT-<-2))\n (4 4 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (4 1 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (3 3 (:TYPE-PRESCRIPTION C::FRAMEP))\n (3 3 (:REWRITE C::FRAME-LISTP-OF-COMPUSTATE->FRAMES))\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(C::CREATE-VAR-OF-IDENT-FIX-VAR\n (86 2 (:REWRITE C::VALUE-FIX-WHEN-VALUEP))\n (10 2 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (6 6 (:TYPE-PRESCRIPTION C::VALUEP))\n (6 2 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-UINTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SINTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (6 2 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (6 2 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (5 5 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (4 4 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (4 4 (:TYPE-PRESCRIPTION C::USHORTP))\n (4 4 (:TYPE-PRESCRIPTION C::ULONGP))\n (4 4 (:TYPE-PRESCRIPTION C::ULLONGP))\n (4 4 (:TYPE-PRESCRIPTION C::UINTP))\n (4 4 (:TYPE-PRESCRIPTION C::UCHARP))\n (4 4 (:TYPE-PRESCRIPTION C::SSHORTP))\n (4 4 (:TYPE-PRESCRIPTION C::SLONGP))\n (4 4 (:TYPE-PRESCRIPTION C::SLLONGP))\n (4 4 (:TYPE-PRESCRIPTION C::SINTP))\n (4 4 (:TYPE-PRESCRIPTION C::SCHARP))\n (4 4 (:TYPE-PRESCRIPTION C::POINTERP))\n (4 4 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (4 2 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (4 2 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (4 2 (:REWRITE DEFAULT-CDR))\n (4 2 (:REWRITE DEFAULT-CAR))\n (2 2 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n )\n(C::CREATE-VAR-IDENT-EQUIV-CONGRUENCE-ON-VAR)\n(C::CREATE-VAR-OF-VALUE-FIX-VAL\n (26 6 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (15 3 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (12 3 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (12 3 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (12 3 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (12 3 (:REWRITE C::VALUEP-WHEN-UINTP))\n (12 3 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (12 3 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (12 3 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (12 3 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (12 3 (:REWRITE C::VALUEP-WHEN-SINTP))\n (12 3 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (12 3 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (10 10 (:TYPE-PRESCRIPTION C::IDENTP))\n (6 6 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (6 6 (:TYPE-PRESCRIPTION C::USHORTP))\n (6 6 (:TYPE-PRESCRIPTION C::ULONGP))\n (6 6 (:TYPE-PRESCRIPTION C::ULLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::UINTP))\n (6 6 (:TYPE-PRESCRIPTION C::UCHARP))\n (6 6 (:TYPE-PRESCRIPTION C::SSHORTP))\n (6 6 (:TYPE-PRESCRIPTION C::SLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::SLLONGP))\n (6 6 (:TYPE-PRESCRIPTION C::SINTP))\n (6 6 (:TYPE-PRESCRIPTION C::SCHARP))\n (6 6 (:TYPE-PRESCRIPTION C::POINTERP))\n (6 6 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (6 3 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (6 2 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (5 5 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (5 5 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (4 2 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (4 2 (:REWRITE DEFAULT-CDR))\n (4 2 (:REWRITE DEFAULT-CAR))\n )\n(C::CREATE-VAR-VALUE-EQUIV-CONGRUENCE-ON-VAL)\n(C::CREATE-VAR-OF-COMPUSTATE-FIX-COMPST\n (86 2 (:REWRITE C::VALUE-FIX-WHEN-VALUEP))\n (26 6 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (10 10 (:TYPE-PRESCRIPTION C::IDENTP))\n (10 2 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (6 6 (:TYPE-PRESCRIPTION C::VALUEP))\n (6 2 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-UINTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SINTP))\n (6 2 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (6 2 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (6 2 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (5 5 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (5 5 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (4 4 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (4 4 (:TYPE-PRESCRIPTION C::USHORTP))\n (4 4 (:TYPE-PRESCRIPTION C::ULONGP))\n (4 4 (:TYPE-PRESCRIPTION C::ULLONGP))\n (4 4 (:TYPE-PRESCRIPTION C::UINTP))\n (4 4 (:TYPE-PRESCRIPTION C::UCHARP))\n (4 4 (:TYPE-PRESCRIPTION C::SSHORTP))\n (4 4 (:TYPE-PRESCRIPTION C::SLONGP))\n (4 4 (:TYPE-PRESCRIPTION C::SLLONGP))\n (4 4 (:TYPE-PRESCRIPTION C::SINTP))\n (4 4 (:TYPE-PRESCRIPTION C::SCHARP))\n (4 4 (:TYPE-PRESCRIPTION C::POINTERP))\n (4 4 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (4 2 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (4 2 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (4 2 (:REWRITE DEFAULT-CDR))\n (4 2 (:REWRITE DEFAULT-CAR))\n (3 1 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n )\n(C::CREATE-VAR-COMPUSTATE-EQUIV-CONGRUENCE-ON-COMPST)\n(C::READ-VAR-AUX\n (30 30 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (4 4 (:REWRITE SUBSETP-TRANS2))\n (4 4 (:REWRITE SUBSETP-TRANS))\n (4 4 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (4 4 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (3 1 (:REWRITE C::MAPP-WHEN-HEAPP))\n (3 1 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (2 2 (:TYPE-PRESCRIPTION C::HEAPP))\n (1 1 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE DEFAULT-CDR))\n (1 1 (:REWRITE DEFAULT-CAR))\n )\n(C::VALUE-RESULTP-OF-READ-VAR-AUX\n (282 12 (:REWRITE OMAP::IN-WHEN-IN-TAIL))\n (280 14 (:REWRITE C::EMPTY-OF-SCOPE-FIX-TO-NOT-SCOPEP-OR-EMPTY))\n (176 8 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (160 50 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (132 6 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (113 113 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (102 102 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (88 8 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (66 24 (:TYPE-PRESCRIPTION OMAP::TAIL-WHEN-EMPTY))\n (50 10 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (45 9 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (44 44 (:TYPE-PRESCRIPTION C::SCOPE-LISTP))\n (44 44 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (30 10 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (30 10 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (30 10 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (30 10 (:REWRITE C::VALUEP-WHEN-UINTP))\n (30 10 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (30 10 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (30 10 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (30 10 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (30 10 (:REWRITE C::VALUEP-WHEN-SINTP))\n (30 10 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (30 10 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (22 22 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (20 20 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (20 20 (:TYPE-PRESCRIPTION C::USHORTP))\n (20 20 (:TYPE-PRESCRIPTION C::ULONGP))\n (20 20 (:TYPE-PRESCRIPTION C::ULLONGP))\n (20 20 (:TYPE-PRESCRIPTION C::UINTP))\n (20 20 (:TYPE-PRESCRIPTION C::UCHARP))\n (20 20 (:TYPE-PRESCRIPTION C::SSHORTP))\n (20 20 (:TYPE-PRESCRIPTION C::SLONGP))\n (20 20 (:TYPE-PRESCRIPTION C::SLLONGP))\n (20 20 (:TYPE-PRESCRIPTION C::SINTP))\n (20 20 (:TYPE-PRESCRIPTION C::SCHARP))\n (20 20 (:TYPE-PRESCRIPTION C::POINTERP))\n (20 20 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (20 10 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (18 18 (:TYPE-PRESCRIPTION C::IDENTP))\n (9 9 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (9 9 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (8 8 (:REWRITE DEFAULT-CAR))\n (2 2 (:REWRITE DEFAULT-CDR))\n )\n(C::READ-VAR-AUX-OF-IDENT-FIX-VAR\n (186 9 (:REWRITE C::EMPTY-OF-SCOPE-FIX-TO-NOT-SCOPEP-OR-EMPTY))\n (160 7 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (126 34 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (94 4 (:REWRITE OMAP::IN-WHEN-IN-TAIL))\n (83 7 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (70 70 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (45 45 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (44 2 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (36 36 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (22 8 (:TYPE-PRESCRIPTION OMAP::TAIL-WHEN-EMPTY))\n (18 18 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (12 2 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (10 10 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (7 7 (:REWRITE DEFAULT-CAR))\n (6 6 (:REWRITE DEFAULT-CDR))\n )\n(C::READ-VAR-AUX-IDENT-EQUIV-CONGRUENCE-ON-VAR)\n(C::READ-VAR-AUX-OF-SCOPE-LIST-FIX-SCOPES\n (2678 132 (:REWRITE OMAP::IN-WHEN-IN-TAIL))\n (2592 116 (:REWRITE C::EMPTY-OF-SCOPE-FIX-TO-NOT-SCOPEP-OR-EMPTY))\n (2117 157 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (1033 217 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (1028 66 (:REWRITE OMAP::TAIL-WHEN-EMPTY))\n (950 950 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (938 938 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (818 123 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (810 810 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (726 264 (:TYPE-PRESCRIPTION OMAP::TAIL-WHEN-EMPTY))\n (722 102 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (424 405 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (408 408 (:TYPE-PRESCRIPTION C::IDENTP))\n (403 274 (:REWRITE DEFAULT-CDR))\n (356 155 (:REWRITE DEFAULT-CAR))\n (204 204 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (204 204 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n )\n(C::READ-VAR-AUX-SCOPE-LIST-EQUIV-CONGRUENCE-ON-SCOPES)\n(C::READ-VAR)\n(C::VALUE-RESULTP-OF-READ-VAR)\n(C::READ-VAR-OF-IDENT-FIX-VAR\n (4 2 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (3 3 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(C::READ-VAR-IDENT-EQUIV-CONGRUENCE-ON-VAR)\n(C::READ-VAR-OF-COMPUSTATE-FIX-COMPST\n (10 2 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (4 4 (:TYPE-PRESCRIPTION C::IDENTP))\n (4 2 (:REWRITE DEFAULT-<-2))\n (3 1 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(C::READ-VAR-COMPUSTATE-EQUIV-CONGRUENCE-ON-COMPST)\n(C::WRITE-VAR-AUX\n (1713 1713 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (55 6 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (44 28 (:REWRITE DEFAULT-CDR))\n (44 5 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (34 18 (:REWRITE DEFAULT-CAR))\n (16 6 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (16 6 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (16 6 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (16 6 (:REWRITE C::VALUEP-WHEN-UINTP))\n (16 6 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (16 6 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (16 6 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (16 6 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (16 6 (:REWRITE C::VALUEP-WHEN-SINTP))\n (16 6 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (16 6 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (12 12 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (8 8 (:REWRITE SUBSETP-TRANS2))\n (8 8 (:REWRITE SUBSETP-TRANS))\n (7 7 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (6 2 (:REWRITE C::MAPP-WHEN-HEAPP))\n (4 4 (:TYPE-PRESCRIPTION C::HEAPP))\n (4 4 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (3 1 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (1 1 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n )\n(C::SCOPE-LIST-RESULTP-OF-WRITE-VAR-AUX\n (446 15 (:REWRITE C::EMPTY-OF-SCOPE-FIX-TO-NOT-SCOPEP-OR-EMPTY))\n (434 57 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (360 12 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (228 12 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (129 3 (:REWRITE C::VALUE-FIX-WHEN-VALUEP))\n (122 122 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (116 3 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (97 21 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (92 92 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (80 80 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (63 3 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (43 40 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (33 33 (:TYPE-PRESCRIPTION C::VALUE-FIX$INLINE))\n (30 22 (:REWRITE DEFAULT-CDR))\n (28 20 (:REWRITE DEFAULT-CAR))\n (21 3 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (20 4 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (19 19 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (15 4 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (15 4 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (15 4 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (15 4 (:REWRITE C::VALUEP-WHEN-UINTP))\n (15 4 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (15 4 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (15 4 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (15 4 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (15 4 (:REWRITE C::VALUEP-WHEN-SINTP))\n (15 4 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (15 4 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (8 8 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (8 8 (:TYPE-PRESCRIPTION C::USHORTP))\n (8 8 (:TYPE-PRESCRIPTION C::ULONGP))\n (8 8 (:TYPE-PRESCRIPTION C::ULLONGP))\n (8 8 (:TYPE-PRESCRIPTION C::UINTP))\n (8 8 (:TYPE-PRESCRIPTION C::UCHARP))\n (8 8 (:TYPE-PRESCRIPTION C::SSHORTP))\n (8 8 (:TYPE-PRESCRIPTION C::SLONGP))\n (8 8 (:TYPE-PRESCRIPTION C::SLLONGP))\n (8 8 (:TYPE-PRESCRIPTION C::SINTP))\n (8 8 (:TYPE-PRESCRIPTION C::SCHARP))\n (8 8 (:TYPE-PRESCRIPTION C::POINTERP))\n (8 8 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (8 4 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n )\n(C::CONSP-OF-WRITE-VAR-AUX\n (5 1 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (2 2 (:TYPE-PRESCRIPTION C::IDENTP))\n (2 2 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (1 1 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (1 1 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n )\n(C::LEN-OF-WRITE-VAR-AUX\n (12291 1178 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (10298 126 (:REWRITE C::EMPTY-OF-SCOPE-FIX-TO-NOT-SCOPEP-OR-EMPTY))\n (8135 278 (:DEFINITION MEMBER-EQUAL))\n (6036 78 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (5522 78 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (4680 58 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (3921 425 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (3541 924 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (3446 354 (:REWRITE SUBSETP-CAR-MEMBER))\n (3148 140 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (2494 58 (:REWRITE C::VALUE-FIX-WHEN-VALUEP))\n (1888 140 (:REWRITE C::MAPP-WHEN-SCOPEP))\n (1770 1770 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (1593 1136 (:REWRITE DEFAULT-CDR))\n (1592 60 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (1350 161 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (1337 1337 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (1320 246 (:REWRITE SUBSETP-IMPLIES-SUBSETP-CDR))\n (1231 251 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (1145 801 (:REWRITE DEFAULT-CAR))\n (953 891 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (891 891 (:REWRITE SUBSETP-TRANS2))\n (891 891 (:REWRITE SUBSETP-TRANS))\n (884 42 (:REWRITE MEMBER-OF-CONS))\n (880 879 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (725 140 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (590 590 (:REWRITE SUBSETP-MEMBER . 2))\n (590 590 (:REWRITE SUBSETP-MEMBER . 1))\n (495 462 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (490 490 (:TYPE-PRESCRIPTION C::IDENTP))\n (420 140 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (420 140 (:REWRITE C::MAPP-WHEN-HEAPP))\n (399 399 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (330 78 (:REWRITE SUBSETP-CONS-2))\n (305 140 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (290 58 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (280 280 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (280 280 (:TYPE-PRESCRIPTION C::HEAPP))\n (245 245 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (245 245 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (174 174 (:TYPE-PRESCRIPTION C::VALUEP))\n (174 58 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (174 58 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (174 58 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (174 58 (:REWRITE C::VALUEP-WHEN-UINTP))\n (174 58 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (174 58 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (174 58 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (174 58 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (174 58 (:REWRITE C::VALUEP-WHEN-SINTP))\n (174 58 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (174 58 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (153 79 (:REWRITE DEFAULT-+-2))\n (116 116 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (116 116 (:TYPE-PRESCRIPTION C::USHORTP))\n (116 116 (:TYPE-PRESCRIPTION C::ULONGP))\n (116 116 (:TYPE-PRESCRIPTION C::ULLONGP))\n (116 116 (:TYPE-PRESCRIPTION C::UINTP))\n (116 116 (:TYPE-PRESCRIPTION C::UCHARP))\n (116 116 (:TYPE-PRESCRIPTION C::SSHORTP))\n (116 116 (:TYPE-PRESCRIPTION C::SLONGP))\n (116 116 (:TYPE-PRESCRIPTION C::SLLONGP))\n (116 116 (:TYPE-PRESCRIPTION C::SINTP))\n (116 116 (:TYPE-PRESCRIPTION C::SCHARP))\n (116 116 (:TYPE-PRESCRIPTION C::POINTERP))\n (116 116 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (116 58 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n (79 79 (:REWRITE DEFAULT-+-1))\n (32 32 (:REWRITE C::CONSP-OF-SCOPE-LIST-FIX))\n (14 14 (:REWRITE MEMBER-SELF))\n (12 12 (:TYPE-PRESCRIPTION OMAP::UPDATE))\n (6 6 (:REWRITE C::SCOPE-LIST-FIX-UNDER-IFF))\n )\n(C::WRITE-VAR-AUX-OF-IDENT-FIX-VAR\n (446 20 (:REWRITE C::EMPTY-OF-SCOPE-FIX-TO-NOT-SCOPEP-OR-EMPTY))\n (364 16 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (314 76 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (188 16 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (172 4 (:REWRITE C::VALUE-FIX-WHEN-VALUEP))\n (168 168 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (122 4 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (108 108 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (92 92 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (76 14 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (54 54 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (52 4 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (46 36 (:REWRITE DEFAULT-CDR))\n (38 28 (:REWRITE DEFAULT-CAR))\n (20 20 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (20 4 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (12 12 (:TYPE-PRESCRIPTION C::VALUEP))\n (12 4 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (12 4 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (12 4 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (12 4 (:REWRITE C::VALUEP-WHEN-UINTP))\n (12 4 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (12 4 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (12 4 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (12 4 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (12 4 (:REWRITE C::VALUEP-WHEN-SINTP))\n (12 4 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (12 4 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (8 8 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (8 8 (:TYPE-PRESCRIPTION C::USHORTP))\n (8 8 (:TYPE-PRESCRIPTION C::ULONGP))\n (8 8 (:TYPE-PRESCRIPTION C::ULLONGP))\n (8 8 (:TYPE-PRESCRIPTION C::UINTP))\n (8 8 (:TYPE-PRESCRIPTION C::UCHARP))\n (8 8 (:TYPE-PRESCRIPTION C::SSHORTP))\n (8 8 (:TYPE-PRESCRIPTION C::SLONGP))\n (8 8 (:TYPE-PRESCRIPTION C::SLLONGP))\n (8 8 (:TYPE-PRESCRIPTION C::SINTP))\n (8 8 (:TYPE-PRESCRIPTION C::SCHARP))\n (8 8 (:TYPE-PRESCRIPTION C::POINTERP))\n (8 8 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (8 4 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n )\n(C::WRITE-VAR-AUX-IDENT-EQUIV-CONGRUENCE-ON-VAR)\n(C::WRITE-VAR-AUX-OF-VALUE-FIX-VAL\n (446 20 (:REWRITE C::EMPTY-OF-SCOPE-FIX-TO-NOT-SCOPEP-OR-EMPTY))\n (364 16 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (314 76 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (188 16 (:REWRITE C::SCOPE-FIX-WHEN-SCOPEP))\n (152 152 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (124 28 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (122 4 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (108 108 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (99 99 (:TYPE-PRESCRIPTION C::VALUE-FIX$INLINE))\n (92 92 (:TYPE-PRESCRIPTION C::SCOPEP))\n (92 92 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (76 14 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (54 54 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (52 4 (:REWRITE C::SCOPE-LIST-FIX-WHEN-SCOPE-LISTP))\n (50 10 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (48 48 (:TYPE-PRESCRIPTION C::IDENTP))\n (46 36 (:REWRITE DEFAULT-CDR))\n (39 10 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (39 10 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (39 10 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (39 10 (:REWRITE C::VALUEP-WHEN-UINTP))\n (39 10 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (39 10 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (39 10 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (39 10 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (39 10 (:REWRITE C::VALUEP-WHEN-SINTP))\n (39 10 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (39 10 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (38 28 (:REWRITE DEFAULT-CAR))\n (24 24 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (24 24 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (20 20 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (20 20 (:TYPE-PRESCRIPTION C::USHORTP))\n (20 20 (:TYPE-PRESCRIPTION C::ULONGP))\n (20 20 (:TYPE-PRESCRIPTION C::ULLONGP))\n (20 20 (:TYPE-PRESCRIPTION C::UINTP))\n (20 20 (:TYPE-PRESCRIPTION C::UCHARP))\n (20 20 (:TYPE-PRESCRIPTION C::SSHORTP))\n (20 20 (:TYPE-PRESCRIPTION C::SLONGP))\n (20 20 (:TYPE-PRESCRIPTION C::SLLONGP))\n (20 20 (:TYPE-PRESCRIPTION C::SINTP))\n (20 20 (:TYPE-PRESCRIPTION C::SCHARP))\n (20 20 (:TYPE-PRESCRIPTION C::POINTERP))\n (20 20 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (20 10 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n )\n(C::WRITE-VAR-AUX-VALUE-EQUIV-CONGRUENCE-ON-VAL)\n(C::WRITE-VAR-AUX-OF-SCOPE-LIST-FIX-SCOPES\n (12349 448 (:REWRITE C::EMPTY-OF-SCOPE-FIX-TO-NOT-SCOPEP-OR-EMPTY))\n (11594 1597 (:REWRITE C::SCOPEP-OF-CAR-WHEN-SCOPE-LISTP))\n (9288 216 (:REWRITE C::VALUE-FIX-WHEN-VALUEP))\n (8192 394 (:REWRITE OMAP::IN-WHEN-EMPTY))\n (8187 1280 (:REWRITE C::SCOPE-LISTP-OF-CDR-WHEN-SCOPE-LISTP))\n (5539 216 (:REWRITE OMAP::UPDATE-WHEN-EMPTY))\n (4972 1020 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (4822 4822 (:REWRITE C::SCOPE-LISTP-WHEN-SUBSETP-EQUAL))\n (3608 3608 (:REWRITE C::SCOPEP-WHEN-MEMBER-EQUAL-OF-SCOPE-LISTP))\n (3137 2238 (:REWRITE DEFAULT-CDR))\n (2504 2504 (:TYPE-PRESCRIPTION C::SCOPE-FIX))\n (2418 2411 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (1976 1976 (:TYPE-PRESCRIPTION C::IDENTP))\n (1456 976 (:REWRITE DEFAULT-CAR))\n (1080 216 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (988 988 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (988 988 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (648 648 (:TYPE-PRESCRIPTION C::VALUEP))\n (648 216 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (648 216 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (648 216 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (648 216 (:REWRITE C::VALUEP-WHEN-UINTP))\n (648 216 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (648 216 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (648 216 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (648 216 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (648 216 (:REWRITE C::VALUEP-WHEN-SINTP))\n (648 216 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (648 216 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (432 432 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (432 432 (:TYPE-PRESCRIPTION C::USHORTP))\n (432 432 (:TYPE-PRESCRIPTION C::ULONGP))\n (432 432 (:TYPE-PRESCRIPTION C::ULLONGP))\n (432 432 (:TYPE-PRESCRIPTION C::UINTP))\n (432 432 (:TYPE-PRESCRIPTION C::UCHARP))\n (432 432 (:TYPE-PRESCRIPTION C::SSHORTP))\n (432 432 (:TYPE-PRESCRIPTION C::SLONGP))\n (432 432 (:TYPE-PRESCRIPTION C::SLLONGP))\n (432 432 (:TYPE-PRESCRIPTION C::SINTP))\n (432 432 (:TYPE-PRESCRIPTION C::SCHARP))\n (432 432 (:TYPE-PRESCRIPTION C::POINTERP))\n (432 432 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (432 216 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n )\n(C::WRITE-VAR-AUX-SCOPE-LIST-EQUIV-CONGRUENCE-ON-SCOPES)\n(C::WRITE-VAR)\n(C::COMPUSTATE-RESULTP-OF-WRITE-VAR)\n(C::COMPUSTATE-FRAMES-NUMBER-OF-WRITE-VAR\n (10 2 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (4 4 (:TYPE-PRESCRIPTION C::IDENTP))\n (4 4 (:REWRITE DEFAULT-+-2))\n (4 4 (:REWRITE DEFAULT-+-1))\n (4 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE DEFAULT-<-1))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n )\n(C::COMPUSTATE-SCOPES-NUMBERS-OF-WRITE-VAR\n (55 35 (:REWRITE DEFAULT-CDR))\n (40 20 (:REWRITE DEFAULT-+-2))\n (39 3 (:REWRITE C::FRAME-FIX-WHEN-FRAMEP))\n (27 17 (:REWRITE DEFAULT-CAR))\n (26 26 (:TYPE-PRESCRIPTION C::FRAME->SCOPES$INLINE))\n (21 3 (:REWRITE C::FRAMEP-OF-CAR-WHEN-FRAME-LISTP))\n (20 20 (:REWRITE DEFAULT-+-1))\n (7 4 (:REWRITE DEFAULT-<-2))\n (6 6 (:TYPE-PRESCRIPTION C::CONSP-OF-COMPUSTATE-SCOPES-NUMBERS))\n (6 6 (:REWRITE C::FRAMEP-WHEN-MEMBER-EQUAL-OF-FRAME-LISTP))\n (5 3 (:REWRITE C::SCOPE-LISTP-WHEN-NOT-CONSP))\n (4 4 (:REWRITE DEFAULT-<-1))\n (3 3 (:TYPE-PRESCRIPTION C::FRAMEP))\n (3 3 (:REWRITE C::FRAME-LISTP-OF-COMPUSTATE->FRAMES))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (1 1 (:REWRITE SUBSETP-TRANS2))\n (1 1 (:REWRITE SUBSETP-TRANS))\n )\n(C::WRITE-VAR-OF-IDENT-FIX-VAR\n (4 2 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (3 3 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(C::WRITE-VAR-IDENT-EQUIV-CONGRUENCE-ON-VAR)\n(C::WRITE-VAR-OF-VALUE-FIX-VAL\n (43 1 (:REWRITE C::VALUE-FIX-WHEN-VALUEP))\n (10 2 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (5 1 (:REWRITE C::VALUEP-WHEN-VALUE-OPTIONP))\n (4 4 (:TYPE-PRESCRIPTION C::IDENTP))\n (4 2 (:REWRITE DEFAULT-<-2))\n (3 3 (:TYPE-PRESCRIPTION C::VALUEP))\n (3 1 (:REWRITE C::VALUEP-WHEN-USHORTP))\n (3 1 (:REWRITE C::VALUEP-WHEN-ULONGP))\n (3 1 (:REWRITE C::VALUEP-WHEN-ULLONGP))\n (3 1 (:REWRITE C::VALUEP-WHEN-UINTP))\n (3 1 (:REWRITE C::VALUEP-WHEN-UCHARP))\n (3 1 (:REWRITE C::VALUEP-WHEN-SSHORTP))\n (3 1 (:REWRITE C::VALUEP-WHEN-SLONGP))\n (3 1 (:REWRITE C::VALUEP-WHEN-SLLONGP))\n (3 1 (:REWRITE C::VALUEP-WHEN-SINTP))\n (3 1 (:REWRITE C::VALUEP-WHEN-SCHARP))\n (3 1 (:REWRITE C::VALUEP-WHEN-POINTERP))\n (2 2 (:TYPE-PRESCRIPTION C::VALUE-OPTIONP))\n (2 2 (:TYPE-PRESCRIPTION C::USHORTP))\n (2 2 (:TYPE-PRESCRIPTION C::ULONGP))\n (2 2 (:TYPE-PRESCRIPTION C::ULLONGP))\n (2 2 (:TYPE-PRESCRIPTION C::UINTP))\n (2 2 (:TYPE-PRESCRIPTION C::UCHARP))\n (2 2 (:TYPE-PRESCRIPTION C::SSHORTP))\n (2 2 (:TYPE-PRESCRIPTION C::SLONGP))\n (2 2 (:TYPE-PRESCRIPTION C::SLLONGP))\n (2 2 (:TYPE-PRESCRIPTION C::SINTP))\n (2 2 (:TYPE-PRESCRIPTION C::SCHARP))\n (2 2 (:TYPE-PRESCRIPTION C::POINTERP))\n (2 2 (:REWRITE C::VALUEP-WHEN-MEMBER-EQUAL-OF-VALUE-LISTP))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (2 2 (:REWRITE DEFAULT-<-1))\n (2 1 (:REWRITE C::VALUE-OPTIONP-WHEN-VALUEP))\n )\n(C::WRITE-VAR-VALUE-EQUIV-CONGRUENCE-ON-VAL)\n(C::WRITE-VAR-OF-COMPUSTATE-FIX-COMPST\n (10 2 (:REWRITE C::IDENT-FIX-WHEN-IDENTP))\n (4 4 (:TYPE-PRESCRIPTION C::IDENTP))\n (4 2 (:REWRITE DEFAULT-<-2))\n (3 1 (:REWRITE C::COMPUSTATE-FIX-WHEN-COMPUSTATEP))\n (2 2 (:TYPE-PRESCRIPTION C::COMPUSTATEP))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-SCOPEP-BINDS-FREE-X))\n (2 2 (:REWRITE C::IDENTP-WHEN-IN-IDENT-SETP-BINDS-FREE-X))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(C::WRITE-VAR-COMPUSTATE-EQUIV-CONGRUENCE-ON-COMPST)\n","avg_line_length":40.4014580191,"max_line_length":81,"alphanum_fraction":0.6825226952} +{"size":4887,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"(in-package \"ACL2\")\n\n;;;***************************************************************\n;;;An ACL2 Library of Floating Point Arithmetic\n\n;;;David M. Russinoff\n;;;Advanced Micro Devices, Inc.\n;;;February, 1998\n;;;***************************************************************\n\n(local (include-book \"oddr-proofs\"))\n\n;; Necessary functions:\n\n(defund fl (x)\n (declare (xargs :guard (real\/rationalp x)))\n (floor x 1))\n\n(defund cg (x)\n (declare (xargs :guard (real\/rationalp x)))\n (- (fl (- x))))\n\n(defun expo-measure (x)\n; (declare (xargs :guard (and (real\/rationalp x) (not (equal x 0)))))\n (cond ((not (rationalp x)) 0)\n\t((< x 0) '(2 . 0))\n\t((< x 1) (cons 1 (fl (\/ x))))\n\t(t (fl x))))\n\n(defund expo (x)\n (declare (xargs :guard t\n :measure (expo-measure x)))\n (cond ((or (not (rationalp x)) (equal x 0)) 0)\n\t((< x 0) (expo (- x)))\n\t((< x 1) (1- (expo (* 2 x))))\n\t((< x 2) 0)\n\t(t (1+ (expo (\/ x 2))))))\n\n;could redefine to divide by the power of 2 (instead of making it a negative power of 2)...\n(defund sig (x)\n (declare (xargs :guard t))\n (if (rationalp x)\n (if (< x 0)\n (- (* x (expt 2 (- (expo x)))))\n (* x (expt 2 (- (expo x)))))\n 0))\n\n;make defund?\n(defun sgn (x)\n (declare (xargs :guard t))\n (if (or (not (rationalp x)) (equal x 0))\n 0\n (if (< x 0)\n -1\n 1)))\n\n(defund exactp (x n)\n; (declare (xargs :guard (and (real\/rationalp x) (integerp n))))\n (integerp (* (sig x) (expt 2 (1- n)))))\n\n(defund trunc (x n)\n (declare (xargs :guard (integerp n)))\n (* (sgn x) (fl (* (expt 2 (1- n)) (sig x))) (expt 2 (- (1+ (expo x)) n))))\n\n(defund away (x n)\n (* (sgn x) (cg (* (expt 2 (1- n)) (sig x))) (expt 2 (- (1+ (expo x)) n))))\n\n(defund re (x)\n (- x (fl x)))\n\n(defund near (x n)\n (let ((z (fl (* (expt 2 (1- n)) (sig x))))\n\t(f (re (* (expt 2 (1- n)) (sig x)))))\n (if (< f 1\/2)\n\t(trunc x n)\n (if (> f 1\/2)\n\t (away x n)\n\t(if (evenp z)\n\t (trunc x n)\n\t (away x n))))))\n\n;;\n;; New stuff:\n;;\n\n(defund oddr (x n)\n (let ((z (fl (* (expt 2 (1- n)) (sig x)))))\n (if (evenp z)\n\t(* (sgn x) (1+ z) (expt 2 (- (1+ (expo x)) n)))\n (* (sgn x) z (expt 2 (- (1+ (expo x)) n))))))\n\n(defthm oddr-pos\n (implies (and (< 0 x)\n (rationalp x)\n\t\t (integerp n)\n\t\t (> n 0))\n\t (< 0 (oddr x n)))\n :rule-classes ())\n\n(defthm oddr>=trunc\n (implies (and (rationalp x)\n\t\t (> x 0)\n\t\t (integerp n)\n\t\t (> n 0))\n\t (>= (oddr x n) (trunc x n)))\n :rule-classes ())\n\n;BOZO just opens up ODDR when x is positive\n;leave disabled!\n(defthmd oddr-rewrite\n (implies (and (< 0 x) ;note this hyp\n (rationalp x)\n\t\t (integerp n)\n\t\t (< 0 n))\n\t (equal (oddr x n)\n\t\t (let ((z (fl (* (expt 2 (- (1- n) (expo x))) x))))\n\t\t (if (evenp z)\n\t\t\t (* (1+ z) (expt 2 (- (1+ (expo x)) n)))\n\t\t\t(* z (expt 2 (- (1+ (expo x)) n))))))))\n\n;move!\n(defthm fl\/2\n (implies (integerp z)\n (= (fl (\/ z 2))\n (if (evenp z)\n (\/ z 2)\n (\/ (1- z) 2))))\n :rule-classes ())\n\n(defthm oddr-other\n (implies (and (rationalp x)\n\t\t (> x 0)\n\t\t (integerp n) \n\t\t (> n 1))\n\t (= (oddr x n)\n\t\t(+ (trunc x (1- n))\n\t\t (expt 2 (- (1+ (expo x)) n)))))\n :rule-classes ())\n\n(defthm expo-oddr\n (implies (and (rationalp x)\n\t\t (integerp n)\n\t\t (> x 0)\n\t\t (> n 1))\n\t (equal (expo (oddr x n)) (expo x))))\n\n(defthm exactp-oddr\n (implies (and (rationalp x)\n\t\t (integerp n)\n\t\t (> x 0)\n\t\t (> n 1))\n\t (exactp (oddr x n) n))\n\t :rule-classes ())\n\n\n(defthm not-exactp-oddr\n (implies (and (rationalp x)\n\t\t (integerp n)\n\t\t (> x 0)\n\t\t (> n 1))\n\t (not (exactp (oddr x n) (1- n))))\n\t :rule-classes ())\n\n(defthm trunc-oddr\n (implies (and (rationalp x)\n\t\t (> x 0)\n\t\t (integerp n)\n\t\t (integerp m)\n\t\t (> m 0)\n\t\t (> n m))\n\t (= (trunc (oddr x n) m)\n\t\t(trunc x m)))\n :rule-classes ())\n\n;disable?\n(defun kp (k x y)\n (+ k (- (expo (+ x y)) (expo y))))\n\n(defthm oddr-plus\n (implies (and (rationalp x)\n\t\t (rationalp y)\n\t\t (integerp k)\n\t\t (> x 0)\n\t\t (> y 0)\n\t\t (> k 1)\n\t\t (> (+ (1- k) (- (expo x) (expo y))) 0)\n\t\t (exactp x (+ (1- k) (- (expo x) (expo y)))))\n\t (= (+ x (oddr y k))\n\t\t(oddr (+ x y) (kp k x y))))\n :rule-classes ())\n\n(defthm trunc-trunc-oddr\n (implies (and (rationalp x)\n\t\t (rationalp y)\n\t\t (integerp m)\n\t\t (integerp k)\n\t\t (> x y)\n\t\t (> y 0)\n\t\t (> k 0)\n\t\t (>= (- m 2) k))\n\t (>= (trunc x k) (trunc (oddr y m) k)))\n :rule-classes ())\n\n(defthm away-away-oddr\n (implies (and (rationalp x)\n\t\t (rationalp y)\n\t\t (integerp m)\n\t\t (integerp k)\n\t\t (> x y)\n\t\t (> y 0)\n\t\t (> k 0)\n\t\t (>= (- m 2) k))\n\t (>= (away x k) (away (oddr y m) k)))\n :rule-classes ())\n\n(defthm near-near-oddr\n (implies (and (rationalp x)\n\t\t (rationalp y)\n\t\t (integerp m)\n\t\t (integerp k)\n\t\t (> x y)\n\t\t (> y 0)\n\t\t (> k 0)\n\t\t (>= (- m 2) k))\n\t (>= (near x k) (near (oddr y m) k)))\n :rule-classes ())\n\n","avg_line_length":21.4342105263,"max_line_length":91,"alphanum_fraction":0.4552895437} +{"size":1052,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"(\"print-code-chunk ensures that the given form is printed as if written by a human.\"\n (\"Symbols are printed in lower case\"\n (string= (let ((form '(list 1 2 3)))\n (with-output-to-string (s) (write form :stream s)))\n \"(LIST 1 2 3)\")\n (string= (let ((form '(list 1 2 3)))\n (print-code-chunk form \"my-systems\"))\n \"(list 1 2 3)\"))\n (\"Symbols are printed without the package if you pass the appropriate perspective.\"\n (string= (let ((*package* (find-package \"CL\"))\n (form '(system-source-directory \"my-systems\")))\n (with-output-to-string (s) (write form :stream s)))\n \"(MY-SYSTEMS:SYSTEM-SOURCE-DIRECTORY \\\"my-systems\\\")\")\n (string= (let ((form '(system-source-directory \"my-systems\")))\n (print-code-chunk form \"my-systems\"))\n \"(system-source-directory \\\"my-systems\\\")\")\n (string= (let ((form '(system-source-directory \"my-systems\")))\n (print-code-chunk form \"my-lisp-parsing\"))\n \"(system-source-directory \\\"my-systems\\\")\")))\n\n","avg_line_length":50.0952380952,"max_line_length":84,"alphanum_fraction":0.5874524715} +{"size":767,"ext":"ny","lang":"Common Lisp","max_stars_count":24.0,"content":";nyquist plug-in\n;version 1\n;type analyze\n;categories \"http:\/\/audacityteam.org\/namespace#OnsetDetector\"\n;name \"Beat Finder...\"\n;action \"Finding beats...\"\n\n;; Released under terms of the GNU General Public License version 2:\n;; http:\/\/www.gnu.org\/licenses\/old-licenses\/gpl-2.0.html \n\n;control thresval \"Threshold Percentage\" int \"\" 65 5 100\n(setf s1 (if (arrayp s) (snd-add (aref s 0) (aref s 1)) s))\n(defun signal () (force-srate 1000 (lp (snd-follow (lp s1 50) 0.001 0.01 0.1 512) 10)))\n(setq max (peak (signal) NY:ALL))\n(setq thres (* (\/ thresval 100.0) max))\n(setq s2 (signal))\n(do ((c 0.0) (l NIL) (p T) (v (snd-fetch s2))) ((not v) l)\n (if (and p (> v thres)) (setq l (cons (list c \"B\") l)))\n (setq p (< v thres))\n (setq c (+ c 0.001))\n (setq v (snd-fetch s2)))\n","avg_line_length":34.8636363636,"max_line_length":87,"alphanum_fraction":0.6414602347} +{"size":9286,"ext":"lisp","lang":"Common Lisp","max_stars_count":10.0,"content":";;; backquote.lisp\n;;;\n;;; Copyright (C) 2004-2005 Peter Graves\n;;; $Id$\n;;;\n;;; This program is free software; you can redistribute it and\/or\n;;; modify it under the terms of the GNU General Public License\n;;; as published by the Free Software Foundation; either version 2\n;;; of the License, or (at your option) any later version.\n;;;\n;;; This program is distributed in the hope that it will be useful,\n;;; but WITHOUT ANY WARRANTY; without even the implied warranty of\n;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n;;; GNU General Public License for more details.\n;;;\n;;; You should have received a copy of the GNU General Public License\n;;; along with this program; if not, write to the Free Software\n;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n;;;\n;;; As a special exception, the copyright holders of this library give you\n;;; permission to link this library with independent modules to produce an\n;;; executable, regardless of the license terms of these independent\n;;; modules, and to copy and distribute the resulting executable under\n;;; terms of your choice, provided that you also meet, for each linked\n;;; independent module, the terms and conditions of the license of that\n;;; module. An independent module is a module which is not derived from\n;;; or based on this library. If you modify this library, you may extend\n;;; this exception to your version of the library, but you are not\n;;; obligated to do so. If you do not wish to do so, delete this\n;;; exception statement from your version.\n\n;;; Adapted from SBCL.\n\n;;;; the backquote reader macro\n\n;;;; This software is part of the SBCL system. See the README file for\n;;;; more information.\n;;;;\n;;;; This software is derived from the CMU CL system, which was\n;;;; written at Carnegie Mellon University and released into the\n;;;; public domain. The software is in the public domain and is\n;;;; provided with absolutely no warranty. See the COPYING and CREDITS\n;;;; files for more information.\n\n(in-package #:system)\n\n;;; The flags passed back by BACKQUOTIFY can be interpreted as follows:\n;;;\n;;; |`,|: [a] => a\n;;; NIL: [a] => a\t\t;the NIL flag is used only when a is NIL\n;;; T: [a] => a\t\t;the T flag is used when a is self-evaluating\n;;; QUOTE: [a] => (QUOTE a)\n;;; APPEND: [a] => (APPEND . a)\n;;; NCONC: [a] => (NCONC . a)\n;;; LIST: [a] => (LIST . a)\n;;; LIST*: [a] => (LIST* . a)\n;;;\n;;; The flags are combined according to the following set of rules:\n;;; ([a] means that a should be converted according to the previous table)\n;;;\n;;; \\ car || otherwise | QUOTE or | |`,@| | |`,.|\n;;;cdr \\ || | T or NIL | |\n;;;================================================================================\n;;; |`,| || LIST* ([a] [d]) | LIST* ([a] [d]) | APPEND (a [d]) | NCONC (a [d])\n;;; NIL || LIST ([a]) | QUOTE (a) | a | a\n;;;QUOTE or T|| LIST* ([a] [d]) | QUOTE (a . d) | APPEND (a [d]) | NCONC (a [d])\n;;; APPEND || LIST* ([a] [d]) | LIST* ([a] [d]) | APPEND (a . d) | NCONC (a [d])\n;;; NCONC || LIST* ([a] [d]) | LIST* ([a] [d]) | APPEND (a [d]) | NCONC (a . d)\n;;; LIST || LIST ([a] . d) | LIST ([a] . d) | APPEND (a [d]) | NCONC (a [d])\n;;; LIST* || LIST* ([a] . d) | LIST* ([a] . d) | APPEND (a [d]) | NCONC (a [d])\n;;;\n;;; involves starting over again pretending you had read \".,a)\" instead\n;;; of \",@a)\"\n\n;; (%defvar '*backquote-count* 0) ; defined in Java, q.v. Lisp.java:2754\n(%defvar '*bq-comma-flag* '(|,|))\n(%defvar '*bq-at-flag* '(|,@|))\n(%defvar '*bq-dot-flag* '(|,.|))\n;; (%defvar '*bq-vector-flag* '(|bqv|)) ; defined in Java, q.v. Lisp.java:2757\n\n;;; the actual character macro\n(defun backquote-macro (stream ignore)\n (declare (ignore ignore))\n (let ((*backquote-count* (1+ *backquote-count*)))\n (multiple-value-bind (flag thing)\n\t(backquotify stream (read stream t nil t))\n (when (eq flag *bq-at-flag*)\n\t(%reader-error stream \",@ after backquote in ~S\" thing))\n (when (eq flag *bq-dot-flag*)\n\t(%reader-error stream \",. after backquote in ~S\" thing))\n (backquotify-1 flag thing))))\n\n(defun comma-macro (stream ignore)\n (declare (ignore ignore))\n (unless (> *backquote-count* 0)\n (when *read-suppress*\n (return-from comma-macro nil))\n (%reader-error stream \"Comma not inside a backquote.\"))\n (let ((c (read-char stream))\n\t(*backquote-count* (1- *backquote-count*)))\n (cond ((char= c #\\@)\n\t (cons *bq-at-flag* (read stream t nil t)))\n\t ((char= c #\\.)\n\t (cons *bq-dot-flag* (read stream t nil t)))\n\t (t (unread-char c stream)\n\t (cons *bq-comma-flag* (read stream t nil t))))))\n\n;;;\n(defun expandable-backq-expression-p (object)\n (and (consp object)\n (let ((flag (%car object)))\n (or (eq flag *bq-at-flag*)\n (eq flag *bq-dot-flag*)))))\n\n;;; This does the expansion from table 2.\n(defun backquotify (stream code)\n (cond ((atom code)\n\t (cond ((null code) (values nil nil))\n\t ((or (consp code)\n (symbolp code))\n\t\t;; Keywords are self-evaluating. Install after packages.\n (values 'quote code))\n\t (t (values t code))))\n\t((or (eq (car code) *bq-at-flag*)\n\t (eq (car code) *bq-dot-flag*))\n\t (values (car code) (cdr code)))\n\t((eq (car code) *bq-comma-flag*)\n\t (comma (cdr code)))\n\t((eq (car code) *bq-vector-flag*)\n\t (multiple-value-bind (dflag d) (backquotify stream (cdr code))\n\t (values 'vector (backquotify-1 dflag d))))\n\t(t (multiple-value-bind (aflag a) (backquotify stream (car code))\n\t (multiple-value-bind (dflag d) (backquotify stream (cdr code))\n\t (when (eq dflag *bq-at-flag*)\n\t\t ;; Get the errors later.\n\t\t (%reader-error stream \",@ after dot in ~S\" code))\n\t (when (eq dflag *bq-dot-flag*)\n\t\t (%reader-error stream \",. after dot in ~S\" code))\n\t (cond\n\t\t((eq aflag *bq-at-flag*)\n\t\t (if (null dflag)\n\t\t (if (expandable-backq-expression-p a)\n (values 'append (list a))\n (comma a))\n\t\t (values 'append\n\t\t\t (cond ((eq dflag 'append)\n\t\t\t\t (cons a d ))\n\t\t\t\t (t (list a (backquotify-1 dflag d)))))))\n\t\t((eq aflag *bq-dot-flag*)\n\t\t (if (null dflag)\n\t\t (if (expandable-backq-expression-p a)\n (values 'nconc (list a))\n (comma a))\n\t\t (values 'nconc\n\t\t\t (cond ((eq dflag 'nconc)\n\t\t\t\t (cons a d))\n\t\t\t\t (t (list a (backquotify-1 dflag d)))))))\n\t\t((null dflag)\n\t\t (if (memq aflag '(quote t nil))\n\t\t (values 'quote (list a))\n\t\t (values 'list (list (backquotify-1 aflag a)))))\n\t\t((memq dflag '(quote t))\n\t\t (if (memq aflag '(quote t nil))\n\t\t (values 'quote (cons a d ))\n\t\t (values 'list* (list (backquotify-1 aflag a)\n\t\t\t\t\t (backquotify-1 dflag d)))))\n\t\t(t (setq a (backquotify-1 aflag a))\n\t\t (if (memq dflag '(list list*))\n\t\t (values dflag (cons a d))\n\t\t (values 'list*\n\t\t\t (list a (backquotify-1 dflag d)))))))))))\n\n;;; This handles the cases.\n(defun comma (code)\n (cond ((atom code)\n\t (cond ((null code)\n\t\t(values nil nil))\n\t ((or (numberp code) (eq code t))\n\t\t(values t code))\n\t (t (values *bq-comma-flag* code))))\n\t((and (eq (car code) 'quote)\n (not (expandable-backq-expression-p (cadr code))))\n (values (car code) (cadr code)))\n\t((memq (car code) '(append list list* nconc))\n\t (values (car code) (cdr code)))\n\t((eq (car code) 'cons)\n\t (values 'list* (cdr code)))\n\t(t (values *bq-comma-flag* code))))\n\n;;; This handles table 1.\n(defun backquotify-1 (flag thing)\n (cond ((or (eq flag *bq-comma-flag*)\n\t (memq flag '(t nil)))\n\t thing)\n\t((eq flag 'quote)\n\t (list 'quote thing))\n\t((eq flag 'list*)\n (cond ((and (null (cddr thing))\n (not (expandable-backq-expression-p (cadr thing))))\n\t\t(cons 'backq-cons thing))\n\t ((expandable-backq-expression-p (car (last thing)))\n (list 'backq-append\n (cons 'backq-list (butlast thing))\n ;; Can it be optimized further? -- APD, 2001-12-21\n (car (last thing))))\n (t\n\t\t(cons 'backq-list* thing))))\n\t((eq flag 'vector)\n\t (list 'backq-vector thing))\n\t(t (cons (ecase flag\n\t\t ((list) 'backq-list)\n\t\t ((append) 'backq-append)\n\t\t ((nconc) 'backq-nconc))\n\t\t thing))))\n\n;;;; magic BACKQ- versions of builtin functions\n\n;;; Define synonyms for the lisp functions we use, so that by using\n;;; them, the backquoted material will be recognizable to the\n;;; pretty-printer.\n(defun backq-list (&rest args) (apply #'list args))\n(defun backq-list* (&rest args) (apply #'list* args))\n(defun backq-append (&rest args) (apply #'append args))\n(defun backq-nconc (&rest args) (apply #'nconc args))\n(defun backq-cons (&rest args) (apply #'cons args))\n\n(defun backq-vector (list)\n (declare (list list))\n (coerce list 'simple-vector))\n\n;;; The pretty-printer needs to know about our special tokens\n(%defvar '*backq-tokens*\n '(backq-comma backq-comma-at backq-comma-dot backq-list\n backq-list* backq-append backq-nconc backq-cons backq-vector))\n\n(defun %reader-error (stream control &rest args)\n (error 'reader-error\n\t :stream stream\n\t :format-control control\n\t :format-arguments args))\n","avg_line_length":38.531120332,"max_line_length":83,"alphanum_fraction":0.5889511092} +{"size":291,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"; trying to understand how recursive lambda functions work\n\n(let ((fact ((lambda (x) (x x))\n (lambda (fact-gen)\n (lambda (n)\n (if (zero? n)\n 1\n (* n ((fact-gen fact-gen) (sub1 n)))))))))\n (display (fact 5)))\n","avg_line_length":29.1,"max_line_length":63,"alphanum_fraction":0.4295532646} +{"size":22790,"ext":"lisp","lang":"Common Lisp","max_stars_count":305.0,"content":"; Copyright (C) 2017, Regents of the University of Texas\n; Written by Mihir Mehta\n; License: A 3-clause BSD license. See the LICENSE file distributed with ACL2.\n\n(in-package \"ACL2\")\n\n; fat32.lisp Mihir Mehta\n\n; Utilities for FAT32.\n\n; The following is in fat32.acl2, but we include it here as well for\n; when we are doing interactive development, in order to read gl:: symbols.\n(include-book \"centaur\/gl\/portcullis\" :dir :system)\n(include-book \"centaur\/fty\/top\" :dir :system)\n\n(include-book \"file-system-lemmas\")\n(include-book \"bounded-nat-listp\")\n\n(defconst *expt-2-28* (expt 2 28))\n\n;; from page 18 of the FAT specification\n(defconst *ms-end-of-clusterchain* (- *expt-2-28* 1))\n\n;; from page 14 of the FAT specification\n(defconst *ms-first-data-cluster* 2)\n\n;; from page 18 of the FAT specification\n(defconst *ms-bad-cluster* 268435447)\n\n;; from page 15 of the FAT specification\n(defconst *ms-fat32-min-count-of-clusters* 65525)\n\n;; from page 9 of the FAT specification\n(defconst *ms-min-bytes-per-sector* 512)\n\n;; inferred - there can be as few as one sectors in a cluster\n(defconst *ms-min-data-region-size* (* *ms-min-bytes-per-sector*\n 1\n *ms-fat32-min-count-of-clusters*))\n\n(defconst *ms-max-bytes-per-sector* 4096)\n\n;; inferred - there can be as many as 128 sectors in a cluster\n(defconst *ms-max-data-region-size* (* *ms-max-bytes-per-sector*\n 128\n (- *ms-bad-cluster* 2)))\n\n(defconst *ms-dir-ent-length* 32)\n\n;; from include\/uapi\/asm-generic\/errno-base.h\n(defconst *ENOENT* 2) ;; No such file or directory\n(defconst *EIO* 5) ;; I\/O error\n(defconst *EBADF* 9) ;; Bad file number\n(defconst *EEXIST* 17) ;; File exists\n(defconst *ENOTDIR* 20)\t;; Not a directory\n(defconst *EISDIR* 21) ;; Is a directory\n(defconst *ENOSPC* 28) ;; No space left on device\n(defconst *ENAMETOOLONG* 36) ;; File name too long\n\n(defund fat32-entry-p (x)\n (declare (xargs :guard t))\n (unsigned-byte-p 32 x))\n\n(defund fat32-masked-entry-p (x)\n (declare (xargs :guard t))\n (unsigned-byte-p 28 x))\n\n;; 0 is chosen as the default value based on this comment from Microsoft's FAT\n;; overview:\n;; The only time that the high 4 bits of FAT32 FAT entries should ever be\n;; changed is when the volume is formatted, at which time the whole 32-bit FAT\n;; entry should be zeroed, including the high 4 bits.\n(defund fat32-entry-fix (x)\n (declare (xargs :guard t))\n (if (fat32-entry-p x)\n x 0))\n\n(defund fat32-masked-entry-fix (x)\n (declare (xargs :guard t))\n (if (fat32-masked-entry-p x)\n x 0))\n\n(in-theory (enable fat32-entry-p fat32-entry-fix fat32-masked-entry-p fat32-masked-entry-fix))\n\n(defthm fat32-masked-entry-p-correctness-1\n (implies (fat32-masked-entry-p x)\n (natp x))\n :rule-classes :forward-chaining)\n\n;; Use a mask to take the low 28 bits.\n(defund fat32-entry-mask (x)\n (declare (xargs :guard (fat32-entry-p x)))\n (logand x (- (ash 1 28) 1)))\n\n(defthm\n fat32-entry-mask-correctness-1\n (fat32-masked-entry-p (fat32-entry-mask x))\n :hints ((\"goal\" :in-theory (e\/d (fat32-entry-mask fat32-masked-entry-p)\n (unsigned-byte-p logand-ash-lemma-1))\n :use (:instance logand-ash-lemma-1 (c 28)\n (i x)))))\n\n(fty::deffixtype fat32-entry\n :pred fat32-entry-p\n :fix fat32-entry-fix\n :equiv fat32-entry-equiv\n :define t\n :forward t\n )\n\n(fty::deffixtype fat32-masked-entry\n :pred fat32-masked-entry-p\n :fix fat32-masked-entry-fix\n :equiv fat32-masked-entry-equiv\n :define t\n :forward t\n )\n\n(fty::deflist fat32-entry-list :elt-type fat32-entry-p :true-listp t)\n\n(fty::deflist fat32-masked-entry-list :elt-type fat32-masked-entry-p :true-listp t)\n\n(defthm nat-listp-if-fat32-masked-entry-list-p\n (implies (fat32-masked-entry-list-p x)\n (nat-listp x))\n :rule-classes (:forward-chaining :rewrite))\n\n(in-theory (disable fat32-entry-p fat32-entry-fix fat32-masked-entry-p fat32-masked-entry-fix))\n\n(defthm member-of-fat32-entry-list\n (implies (and (member-equal x lst)\n (fat32-entry-list-p lst))\n (fat32-entry-p x)))\n\n(defthm\n fat32-masked-entry-list-p-of-make-list-ac\n (implies (and (fat32-masked-entry-p val)\n (fat32-masked-entry-list-p ac))\n (fat32-masked-entry-list-p (make-list-ac n val ac))))\n\n(defthm fat32-masked-entry-list-p-of-append\n (implies (true-listp x)\n (equal (fat32-masked-entry-list-p (binary-append x y))\n (and (fat32-masked-entry-list-p x)\n (fat32-masked-entry-list-p y)))))\n\n(defthm fat32-entry-list-p-of-update-nth\n (implies (and (< key (len l))\n (fat32-entry-list-p l))\n (equal (fat32-entry-list-p (update-nth key val l))\n (fat32-entry-p val))))\n\n(defthm set-indices-in-fa-table-guard-lemma-2\n (implies (fat32-entry-p x) (natp x))\n :hints ((\"goal\" :in-theory (enable fat32-entry-p)))\n :rule-classes :forward-chaining)\n\n(defthm fat32-entry-p-of-nth\n (implies (and (fat32-entry-list-p l)\n (< (nfix n) (len l)))\n (fat32-entry-p (nth n l))))\n\n(defund\n fat32-update-lower-28\n (entry masked-entry)\n (declare\n (xargs\n :guard-hints\n ((\"goal\"\n :in-theory (enable fat32-entry-p fat32-masked-entry-p)))\n :guard (and (fat32-entry-p entry)\n (fat32-masked-entry-p masked-entry))))\n (logior (logand entry (- (ash 1 32) (ash 1 28)))\n masked-entry))\n\n(encapsulate\n ()\n\n (local (include-book \"ihs\/logops-lemmas\" :dir :system))\n\n (defthm\n fat32-update-lower-28-correctness-1\n (implies\n (and (fat32-entry-p entry)\n (fat32-masked-entry-p masked-entry))\n (fat32-entry-p (fat32-update-lower-28 entry masked-entry)))\n :hints\n ((\"goal\"\n :in-theory (e\/d nil (unsigned-byte-p logand logior)\n (fat32-entry-p fat32-masked-entry-p\n fat32-update-lower-28)))\n (\"goal''\" :in-theory (enable unsigned-byte-p)))))\n\n; :Redef helps here for overcoming lemmas that are incompatible here (and\n; finding all such lemmas in the process).\n(encapsulate\n ()\n\n (local\n (include-book \"centaur\/gl\/gl\" :dir :system))\n\n (local\n (def-gl-thm fat32-update-lower-28-correctness-2\n :hyp (and (fat32-entry-p entry)\n (fat32-masked-entry-p masked-entry))\n :concl (equal (fat32-entry-mask (fat32-update-lower-28 entry\n masked-entry))\n masked-entry)\n :g-bindings (gl::auto-bindings (:nat entry 33) (:nat masked-entry 29))))\n\n (defthm\n fat32-update-lower-28-correctness-2\n (implies\n (and (fat32-entry-p entry)\n (fat32-masked-entry-p masked-entry))\n (equal\n (fat32-entry-mask (fat32-update-lower-28 entry masked-entry)) masked-entry))))\n\n;; taken from page 18 of the fat overview - the constant 268435448 is written\n;; out as 0xFFFFFF8 therein\n(defund fat32-is-eof (fat-content)\n (declare (xargs :guard (fat32-masked-entry-p fat-content)\n :guard-hints ((\"Goal'\" :in-theory (enable fat32-masked-entry-p)))))\n (>= fat-content 268435448))\n\n(defthm fat32-is-eof-correctness-1\n (implies (< fat-content *ms-bad-cluster*)\n (not (fat32-is-eof fat-content)))\n :hints ((\"Goal\" :in-theory (enable fat32-is-eof)) ))\n\n(defun\n fat32-build-index-list\n (fa-table masked-current-cluster length cluster-size)\n (declare\n (xargs\n :measure (nfix length)\n :guard (and (fat32-entry-list-p fa-table)\n (fat32-masked-entry-p masked-current-cluster)\n (natp length)\n (>= masked-current-cluster 2)\n (< masked-current-cluster (len fa-table))\n (integerp cluster-size)\n (> cluster-size 0))))\n (if\n (or (zp length) (zp cluster-size))\n ;; This represents a problem case because masked-current-cluster is a\n ;; valid non-free cluster, but the length is 0. This loosely corresponds\n ;; to the infinite loop protection in the function\n ;; fs\/fat\/cache.c:fat_get_cluster\n (mv nil (- *eio*))\n (let\n ((masked-next-cluster\n (fat32-entry-mask (nth masked-current-cluster fa-table))))\n (if\n (< masked-next-cluster 2)\n (mv (list masked-current-cluster)\n (- *eio*))\n (if\n (or (fat32-is-eof masked-next-cluster)\n (>= masked-next-cluster (len fa-table)))\n (mv (list masked-current-cluster) 0)\n (b*\n (((mv tail-index-list tail-error)\n (fat32-build-index-list fa-table masked-next-cluster\n (nfix (- length cluster-size))\n cluster-size)))\n (mv (list* masked-current-cluster tail-index-list)\n tail-error)))))))\n\n(defthm fat32-build-index-list-correctness-1\n (implies (and (equal b (len fa-table))\n (fat32-masked-entry-p masked-current-cluster)\n (< masked-current-cluster (len fa-table)))\n (b* (((mv index-list &)\n (fat32-build-index-list fa-table masked-current-cluster\n length cluster-size)))\n (bounded-nat-listp index-list b))))\n\n(defthm\n fat32-build-index-list-correctness-2\n (implies\n (and\n (fat32-masked-entry-p masked-current-cluster)\n (>= masked-current-cluster *ms-first-data-cluster*)\n (< masked-current-cluster (len fa-table)))\n (b* (((mv index-list &)\n (fat32-build-index-list fa-table masked-current-cluster\n length cluster-size)))\n (fat32-masked-entry-list-p index-list))))\n\n(defthm\n fat32-build-index-list-correctness-3\n (b* (((mv & error-code)\n (fat32-build-index-list fa-table masked-current-cluster\n length cluster-size)))\n (and (integerp error-code)\n (or (equal error-code 0)\n (equal error-code (- *eio*))))))\n\n(defthm\n fat32-build-index-list-correctness-4\n (implies\n (fat32-masked-entry-p masked-current-cluster)\n (mv-let\n (index-list error-code)\n (fat32-build-index-list fa-table masked-current-cluster\n length cluster-size)\n (implies\n (and (fat32-masked-entry-p key)\n (< key (len fa-table))\n (not (member-equal key index-list))\n (equal error-code 0))\n (equal\n (fat32-build-index-list (update-nth key val fa-table)\n masked-current-cluster\n length cluster-size)\n (fat32-build-index-list fa-table masked-current-cluster\n length cluster-size)))))\n :hints\n ((\"subgoal *1\/3\"\n :expand\n (fat32-build-index-list (update-nth key val fa-table)\n masked-current-cluster\n length cluster-size))))\n\n(defthm\n fat32-build-index-list-correctness-5\n (implies\n (and (fat32-masked-entry-p masked-current-cluster)\n (<= *ms-first-data-cluster*\n masked-current-cluster))\n (lower-bounded-integer-listp\n (mv-nth\n 0\n (fat32-build-index-list fa-table masked-current-cluster\n length cluster-size))\n *ms-first-data-cluster*))\n :hints\n ((\"goal\" :in-theory (enable lower-bounded-integer-listp))))\n\n(defund\n find-n-free-clusters-helper\n (fa-table n start)\n (declare (xargs :guard (and (fat32-entry-list-p fa-table)\n (natp n)\n (natp start))))\n (if (or (atom fa-table) (zp n))\n nil\n (if (not (equal (fat32-entry-mask (car fa-table))\n 0))\n (find-n-free-clusters-helper (cdr fa-table)\n n (+ start 1))\n (cons start\n (find-n-free-clusters-helper (cdr fa-table)\n (- n 1)\n (+ start 1))))))\n\n(defthmd\n find-n-free-clusters-helper-correctness-1\n (implies (and (fat32-entry-list-p fa-table)\n (natp n)\n (natp start)\n (equal b (+ start (len fa-table))))\n (bounded-nat-listp\n (find-n-free-clusters-helper fa-table n start)\n b))\n :hints\n ((\"goal'\" :in-theory (enable find-n-free-clusters-helper))))\n\n(defthmd\n find-n-free-clusters-helper-correctness-2\n (implies\n (natp start)\n (nat-listp (find-n-free-clusters-helper fa-table n start)))\n :hints\n ((\"goal\" :in-theory (enable find-n-free-clusters-helper))))\n\n(defthmd\n find-n-free-clusters-helper-correctness-3\n (implies\n (and\n (natp start)\n (member-equal x (find-n-free-clusters-helper fa-table n start)))\n (and (integerp x) (<= start x)))\n :hints\n ((\"goal\" :in-theory (enable find-n-free-clusters-helper))))\n\n(defthm\n find-n-free-clusters-helper-correctness-4\n (implies\n (and (fat32-entry-list-p fa-table)\n (natp n)\n (natp start)\n (member-equal\n x\n (find-n-free-clusters-helper fa-table n start)))\n (equal (fat32-entry-mask (nth (- x start) fa-table))\n 0))\n :hints\n ((\"goal\" :in-theory (enable find-n-free-clusters-helper)\n :use find-n-free-clusters-helper-correctness-3)\n (\"subgoal *1\/2\"\n :use (:instance find-n-free-clusters-helper-correctness-3\n (fa-table (cdr fa-table))\n (start (+ 1 start))))))\n\n(defthm find-n-free-clusters-guard-lemma-1\n (implies (fat32-entry-list-p l)\n (fat32-entry-list-p (nthcdr n l))))\n\n(defund\n find-n-free-clusters (fa-table n)\n (declare (xargs :guard (and (fat32-entry-list-p fa-table)\n (natp n))))\n ;; the first 2 clusters are excluded\n (find-n-free-clusters-helper\n (nthcdr *ms-first-data-cluster* fa-table)\n n *ms-first-data-cluster*))\n\n(defthm\n find-n-free-clusters-correctness-1\n (implies (and (fat32-entry-list-p fa-table)\n (natp n)\n (equal b (len fa-table))\n (>= (len fa-table)\n *ms-first-data-cluster*))\n (bounded-nat-listp (find-n-free-clusters fa-table n)\n b))\n :hints\n ((\"goal\"\n :in-theory (enable find-n-free-clusters)\n :use\n ((:instance\n find-n-free-clusters-helper-correctness-1\n (start *ms-first-data-cluster*)\n (fa-table (nthcdr *ms-first-data-cluster* fa-table))\n (b (len fa-table))))))\n :rule-classes\n (:rewrite\n (:linear\n :corollary\n (implies (and (fat32-entry-list-p fa-table)\n (natp n)\n (equal b (len fa-table))\n (>= (len fa-table)\n *ms-first-data-cluster*)\n (consp (find-n-free-clusters fa-table n)))\n (< (car (find-n-free-clusters fa-table n))\n b)))))\n\n(defthm\n find-n-free-clusters-correctness-2\n (nat-listp (find-n-free-clusters fa-table n))\n :rule-classes\n (:rewrite\n (:rewrite\n :corollary\n (implies (consp (find-n-free-clusters fa-table n))\n (and (nat-listp (cdr (find-n-free-clusters fa-table n)))\n (integerp (car (find-n-free-clusters fa-table n))))))\n (:linear\n :corollary (implies (consp (find-n-free-clusters fa-table n))\n (<= 0\n (car (find-n-free-clusters fa-table n))))))\n :hints\n ((\"goal\"\n :in-theory (enable find-n-free-clusters\n find-n-free-clusters-helper-correctness-2))))\n\n(defthmd\n find-n-free-clusters-correctness-3\n (implies (member-equal x (find-n-free-clusters fa-table n))\n (and (integerp x) (<= *ms-first-data-cluster* x)))\n :hints\n ((\"goal\" :in-theory (enable find-n-free-clusters))\n (\"goal'\"\n :use (:instance find-n-free-clusters-helper-correctness-3\n (start *ms-first-data-cluster*)\n (fa-table (nthcdr *ms-first-data-cluster* fa-table))))))\n\n(defthmd\n find-n-free-clusters-correctness-4\n (implies\n (and (fat32-entry-list-p fa-table)\n (natp n)\n (natp start)\n (member-equal x (find-n-free-clusters fa-table n)))\n (equal (fat32-entry-mask (nth x fa-table))\n 0))\n :hints\n ((\"goal\"\n :in-theory (enable find-n-free-clusters)\n :use\n (:instance\n find-n-free-clusters-helper-correctness-4\n (start *ms-first-data-cluster*)\n (fa-table (nthcdr *ms-first-data-cluster* fa-table))))\n (\"goal''\"\n :in-theory (disable member-of-a-nat-list)\n :use\n ((:instance\n member-of-a-nat-list\n (lst (find-n-free-clusters-helper\n (nthcdr *ms-first-data-cluster* fa-table)\n n *ms-first-data-cluster*)))))\n (\"subgoal 2\"\n :use\n (:instance\n find-n-free-clusters-helper-correctness-3\n (fa-table (nthcdr *ms-first-data-cluster* fa-table))\n (start *ms-first-data-cluster*)))))\n\n(defthmd\n fat32-masked-entry-list-p-alt\n (equal (fat32-masked-entry-list-p x)\n (bounded-nat-listp x *expt-2-28*))\n :hints ((\"goal\" :in-theory (enable fat32-masked-entry-p))))\n\n(defthm\n fat32-masked-entry-list-p-of-find-n-free-clusters\n (implies (and (fat32-entry-list-p fa-table)\n (natp n)\n (>= (len fa-table) *ms-first-data-cluster*)\n (<= (len fa-table) *ms-bad-cluster*))\n (fat32-masked-entry-list-p (find-n-free-clusters fa-table n)))\n :rule-classes\n (:rewrite\n (:rewrite\n :corollary\n (implies\n (and (fat32-entry-list-p fa-table)\n (natp n)\n (>= (len fa-table) *ms-first-data-cluster*)\n (<= (len fa-table) *ms-bad-cluster*))\n (let ((l (find-n-free-clusters fa-table n)))\n (implies (consp l)\n (and (fat32-masked-entry-list-p (cdr l))\n (fat32-masked-entry-p (car l))))))))\n :hints ((\"goal\" :in-theory (disable find-n-free-clusters-correctness-1)\n :use ((:instance find-n-free-clusters-correctness-1\n (b (len fa-table)))\n (:instance fat32-masked-entry-list-p-alt\n (x (find-n-free-clusters fa-table n)))\n (:instance bounded-nat-listp-correctness-5\n (l (find-n-free-clusters fa-table n))\n (x (len fa-table))\n (y *expt-2-28*))))))\n\n(defthm\n lower-bounded-integer-listp-of-find-n-free-clusters-helper\n (implies (integerp start)\n (lower-bounded-integer-listp\n (find-n-free-clusters-helper fa-table n start)\n start))\n :hints\n ((\"goal\" :in-theory (enable lower-bounded-integer-listp\n find-n-free-clusters-helper))\n (\"subgoal *1\/5.1'\"\n :use\n (:instance lower-bounded-integer-listp-correctness-5\n (l (find-n-free-clusters-helper (cdr fa-table)\n (+ -1 n)\n (+ 1 start)))\n (x (+ 1 start))\n (y start)))\n (\"subgoal *1\/3''\"\n :use\n (:instance lower-bounded-integer-listp-correctness-5\n (l (find-n-free-clusters-helper (cdr fa-table)\n n (+ 1 start)))\n (x (+ 1 start))\n (y start)))))\n\n(defthm\n lower-bounded-integer-listp-of-find-n-free-clusters\n (lower-bounded-integer-listp (find-n-free-clusters fa-table n)\n *ms-first-data-cluster*)\n :rule-classes\n (:rewrite\n (:rewrite\n :corollary\n (implies\n (consp (find-n-free-clusters fa-table n))\n (lower-bounded-integer-listp (cdr (find-n-free-clusters fa-table n))\n *ms-first-data-cluster*))\n :hints ((\"goal\" :in-theory (enable lower-bounded-integer-listp))))\n (:linear\n :corollary (implies (consp (find-n-free-clusters fa-table n))\n (<= *ms-first-data-cluster*\n (car (find-n-free-clusters fa-table n))))\n :hints ((\"goal\" :in-theory (enable lower-bounded-integer-listp)))))\n :hints ((\"goal\" :in-theory (enable find-n-free-clusters))))\n\n(defund\n set-indices-in-fa-table\n (fa-table index-list value-list)\n (declare\n (xargs :measure (acl2-count index-list)\n :guard (and (fat32-entry-list-p fa-table)\n (nat-listp index-list)\n (fat32-masked-entry-list-p value-list)\n (equal (len index-list)\n (len value-list)))))\n (if\n (atom index-list)\n fa-table\n (let\n ((current-index (car index-list)))\n (if\n (or (not (natp current-index))\n (>= current-index (len fa-table)))\n fa-table\n (set-indices-in-fa-table\n (update-nth current-index\n (fat32-update-lower-28 (nth current-index fa-table)\n (car value-list))\n fa-table)\n (cdr index-list)\n (cdr value-list))))))\n\n(defthm\n set-indices-in-fa-table-correctness-1\n (implies\n (and (fat32-entry-list-p fa-table)\n (bounded-nat-listp index-list (len fa-table))\n (fat32-masked-entry-list-p value-list)\n (equal (len index-list)\n (len value-list)))\n (fat32-entry-list-p\n (set-indices-in-fa-table fa-table index-list value-list)))\n :hints ((\"Goal\" :in-theory (enable set-indices-in-fa-table))))\n\n(defthm\n set-indices-in-fa-table-correctness-2\n (equal (len (set-indices-in-fa-table fa-table index-list value-list))\n (len fa-table))\n :hints ((\"goal\" :in-theory (enable set-indices-in-fa-table))))\n\n;; Well, it might not be a great idea to borrow a numbering scheme from\n;; set-indices.lisp\n(defthm set-indices-in-fa-table-correctness-3\n (implies (and (natp n)\n (nat-listp index-list)\n (not (member-equal n index-list)))\n (equal (nth n (set-indices-in-fa-table fa-table index-list value-list))\n (nth n fa-table)))\n :hints ((\"Goal\" :in-theory (enable set-indices-in-fa-table))))\n\n(defthm set-indices-in-fa-table-correctness-4\n (implies (and (natp key)\n (< key (len l))\n (nat-listp index-list)\n (not (member-equal key index-list)))\n (equal (set-indices-in-fa-table (update-nth key val l) index-list value-list)\n (update-nth key val (set-indices-in-fa-table l index-list value-list))))\n :hints ((\"Goal\" :in-theory (enable set-indices-in-fa-table))))\n","avg_line_length":34.6879756469,"max_line_length":95,"alphanum_fraction":0.5695041685} +{"size":96403,"ext":"lsp","lang":"Common Lisp","max_stars_count":null,"content":"(VL2014::VL-USELESS-PARAMS-P\n (2 2 (:TYPE-PRESCRIPTION CONSP-ASSOC-EQUAL))\n )\n(VL2014::VL-USELESS-PARAMS)\n(VL2014::HONSED-VL-USELESS-PARAMS)\n(VL2014::VL-USELESS-PARAMS->NAMES$INLINE\n (2 2 (:DEFINITION ASSOC-EQUAL))\n )\n(VL2014::VL-USELESS-PARAMS->POSITIONS$INLINE\n (2 2 (:DEFINITION ASSOC-EQUAL))\n )\n(VL2014::CONSP-OF-VL-USELESS-PARAMS)\n(VL2014::BOOLEANP-OF-VL-USELESS-PARAMS-P)\n(VL2014::VL-USELESS-PARAMS-P-OF-VL-USELESS-PARAMS)\n(VL2014::TAG-OF-VL-USELESS-PARAMS)\n(VL2014::TAG-WHEN-VL-USELESS-PARAMS-P)\n(VL2014::VL-USELESS-PARAMS-P-WHEN-WRONG-TAG)\n(VL2014::CONSP-WHEN-VL-USELESS-PARAMS-P)\n(VL2014::VL-USELESS-PARAMS->NAMES-OF-VL-USELESS-PARAMS)\n(VL2014::VL-USELESS-PARAMS->POSITIONS-OF-VL-USELESS-PARAMS)\n(VL2014::RETURN-TYPE-OF-VL-USELESS-PARAMS->NAMES)\n(VL2014::RETURN-TYPE-OF-VL-USELESS-PARAMS->POSITIONS)\n(VL2014::BOOLEANP-OF-STRINGP-FOR-VL-USELESS-PARAMS-MAP-P-KEY-LEMMA)\n(VL2014::BOOLEANP-OF-VL-USELESS-PARAMS-P-FOR-VL-USELESS-PARAMS-MAP-P-VAL-LEMMA)\n(VL2014::STRINGP-OF-NIL-FOR-VL-USELESS-PARAMS-MAP-P-KEY-LEMMA)\n(VL2014::VL-USELESS-PARAMS-P-OF-NIL-FOR-VL-USELESS-PARAMS-MAP-P-VAL-LEMMA)\n(VL2014::BOOLEANP-OF-STRINGP-FOR-VL-USELESS-PARAMS-MAP-P-KEY)\n(VL2014::BOOLEANP-OF-VL-USELESS-PARAMS-P-FOR-VL-USELESS-PARAMS-MAP-P-VAL)\n(VL2014::VL-USELESS-PARAMS-P-OF-NIL-FOR-VL-USELESS-PARAMS-MAP-P-VAL)\n(VL2014::VL-USELESS-PARAMS-MAP-P)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-REVAPPEND)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-REMOVE)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-LAST)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-NTHCDR)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-BUTLAST)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-UPDATE-NTH)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-REPEAT)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-TAKE)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-UNION-EQUAL)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-INTERSECTION-EQUAL-2)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-INTERSECTION-EQUAL-1)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-SET-DIFFERENCE-EQUAL)\n(VL2014::VL-USELESS-PARAMS-MAP-P-SET-EQUIV-CONGRUENCE)\n(VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-SUBSETP-EQUAL)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-RCONS)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-REV)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-DUPLICATED-MEMBERS)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-DIFFERENCE)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-INTERSECT-2)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-INTERSECT-1)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-UNION)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-MERGESORT)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-DELETE)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-INSERT)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-SFIX)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-LIST-FIX)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-APPEND)\n(VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-NOT-CONSP)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-CDR-WHEN-VL-USELESS-PARAMS-MAP-P)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-CONS)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-MAKE-FAL\n (74 10 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-OF-CDR-WHEN-VL-USELESS-PARAMS-MAP-P))\n (32 32 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-SUBSETP-EQUAL))\n (16 16 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-NOT-CONSP))\n (1 1 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-STRINGP-FOR-VL-USELESS-PARAMS-MAP-P-KEY))\n )\n(VL2014::VL-USELESS-PARAMS-P-OF-CDR-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P)\n(VL2014::STRINGP-OF-CAR-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P)\n(VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-HONS-SHRINK-ALIST)\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-HONS-ACONS)\n(VL2014::VL-USELESS-PARAMS-P-OF-CDR-OF-HONS-ASSOC-EQUAL-WHEN-VL-USELESS-PARAMS-MAP-P)\n(VL2014::VL-USELESS-PARAMS-P-OF-CDAR-WHEN-VL-USELESS-PARAMS-MAP-P)\n(VL2014::STRINGP-OF-CAAR-WHEN-VL-USELESS-PARAMS-MAP-P)\n(VL2014::VL-PARAMVALUELIST-ELIM-USELESS-PARAMS\n (240 21 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (230 4 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (151 15 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (120 8 (:REWRITE DEFAULT-CAR))\n (112 21 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (99 3 (:REWRITE VL2014::VL-PARAMVALUELIST-P-WHEN-VL-EXPRLIST-P))\n (88 88 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (88 88 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (80 10 (:REWRITE MEMBER-WHEN-ATOM))\n (79 25 (:REWRITE DEFAULT-CDR))\n (74 44 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (66 4 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (64 5 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-NOT-CONSP))\n (59 3 (:REWRITE VL2014::NATP-WHEN-POSP))\n (55 11 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (55 11 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (48 48 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (44 44 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (44 44 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (41 41 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (41 15 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (41 1 (:REWRITE NATP-POSP))\n (40 40 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (34 3 (:REWRITE NATP-RW))\n (32 4 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (31 4 (:REWRITE INTEGERP-WHEN-MEMBER-EQUAL-OF-INTEGER-LISTP))\n (26 26 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (26 26 (:REWRITE CONSP-BY-LEN))\n (22 22 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (22 22 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (22 11 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (22 11 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (22 2 (:REWRITE LEN-WHEN-ATOM))\n (21 21 (:REWRITE SUBSETP-MEMBER . 2))\n (21 21 (:REWRITE SUBSETP-MEMBER . 1))\n (21 21 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (20 1 (:REWRITE VL2014::VL-PARAMVALUELIST-P-WHEN-NOT-CONSP))\n (20 1 (:REWRITE INTEGER-LISTP-WHEN-NOT-CONSP))\n (16 2 (:REWRITE VL2014::VL-EXPRLIST-P-OF-CDR-WHEN-VL-EXPRLIST-P))\n (15 15 (:REWRITE SET::IN-SET))\n (13 1 (:REWRITE POSP-RW))\n (12 2 (:REWRITE VL2014::INTEGERP-WHEN-NATP))\n (11 11 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (10 10 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-SUBSETP-EQUAL))\n (10 10 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-MEMBER-EQUAL-OF-VL-EXPRLISTLIST-P))\n (10 10 (:REWRITE SUBSETP-MEMBER . 4))\n (10 10 (:REWRITE SUBSETP-MEMBER . 3))\n (10 10 (:REWRITE INTERSECTP-MEMBER . 3))\n (10 10 (:REWRITE INTERSECTP-MEMBER . 2))\n (8 8 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (6 6 (:REWRITE VL2014::NATP-WHEN-MEMBER-EQUAL-OF-NAT-LISTP))\n (6 6 (:REWRITE NATP-WHEN-MEMBER-EQUAL-OF-NAT-LISTP))\n (4 4 (:TYPE-PRESCRIPTION POSP))\n (4 4 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (4 4 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (4 4 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (2 2 (:REWRITE SUBSETP-TRANS2))\n (2 2 (:REWRITE SUBSETP-TRANS))\n (2 2 (:REWRITE VL2014::POSP-WHEN-MEMBER-EQUAL-OF-POS-LISTP))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n )\n(VL2014::VL-PARAMVALUELIST-P-OF-VL-PARAMVALUELIST-ELIM-USELESS-PARAMS\n (750 20 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (363 27 (:REWRITE DEFAULT-CAR))\n (334 2 (:REWRITE SUBSETP-OF-CONS))\n (248 20 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (179 44 (:REWRITE DEFAULT-CDR))\n (170 63 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (140 14 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (132 69 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (126 126 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (126 126 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (122 13 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (107 14 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (106 19 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (86 86 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (63 63 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (63 63 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (52 8 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (44 44 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (44 19 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (41 8 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (40 2 (:REWRITE MEMBER-WHEN-ATOM))\n (40 1 (:REWRITE VL2014::VL-EXPRLIST-P-OF-CONS))\n (37 37 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (32 6 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (31 2 (:REWRITE VL2014::VL-PARAMVALUE-P-WHEN-VL-MAYBE-PARAMVALUE-P))\n (30 30 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-SUBSETP-EQUAL))\n (30 30 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-MEMBER-EQUAL-OF-VL-EXPRLISTLIST-P))\n (30 6 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (29 29 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (29 29 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (29 29 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (29 29 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (29 29 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (29 29 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (29 29 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (29 29 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (29 29 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (29 29 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (29 29 (:REWRITE CONSP-BY-LEN))\n (29 29 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (28 5 (:REWRITE VL2014::VL-PARAMVALUELIST-P-WHEN-NOT-CONSP))\n (25 25 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (20 20 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (19 19 (:REWRITE SET::IN-SET))\n (18 18 (:REWRITE SUBSETP-TRANS2))\n (18 18 (:REWRITE SUBSETP-TRANS))\n (18 2 (:REWRITE VL2014::VL-EXPR-P-WHEN-VL-MAYBE-EXPR-P))\n (18 1 (:REWRITE VL2014::VL-MAYBE-PARAMVALUE-P-WHEN-VL-PARAMVALUE-P))\n (16 2 (:REWRITE VL2014::VL-EXPRLIST-P-OF-CDR-WHEN-VL-EXPRLIST-P))\n (15 1 (:REWRITE VL2014::VL-MAYBE-EXPR-P-WHEN-VL-EXPR-P))\n (14 14 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (14 12 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (13 13 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (13 13 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (12 12 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (12 6 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (12 6 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (10 10 (:REWRITE SUBSETP-MEMBER . 2))\n (9 2 (:REWRITE VL2014::VL-EXPR-P-OF-CAR-WHEN-VL-EXPRLIST-P))\n (9 2 (:REWRITE VL2014::FIRST-UNDER-IFF-WHEN-VL-EXPRLIST-P))\n (4 4 (:REWRITE VL2014::VL-EXPR-P-WHEN-MEMBER-EQUAL-OF-VL-EXPRLIST-P))\n (4 4 (:REWRITE SUBSETP-MEMBER . 4))\n (4 4 (:REWRITE INTERSECTP-MEMBER . 3))\n (4 4 (:REWRITE INTERSECTP-MEMBER . 2))\n (4 4 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-MAYBE-EXPR-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-EXPR-P))\n (2 2 (:TYPE-PRESCRIPTION VL2014::VL-MAYBE-PARAMVALUE-P))\n (2 2 (:REWRITE CDR-CONS))\n (1 1 (:TYPE-PRESCRIPTION VL2014::VL-PARAMVALUE-P))\n (1 1 (:REWRITE CAR-CONS))\n )\n(VL2014::VL-NAMEDPARAMVALUELIST-ELIM-USELESS-PARAMS\n (266 5 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (172 14 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (149 17 (:REWRITE DEFAULT-CAR))\n (114 13 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (92 14 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (88 5 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (76 22 (:REWRITE DEFAULT-CDR))\n (72 72 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (72 72 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (68 7 (:REWRITE MEMBER-WHEN-ATOM))\n (62 36 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (59 1 (:REWRITE VL2014::STRING-LISTP-WHEN-NO-NILS-IN-VL-MAYBE-STRING-LISTP))\n (40 8 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (40 8 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (40 5 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (37 37 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (36 36 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (36 36 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (34 13 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (32 32 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (22 22 (:REWRITE CONSP-BY-LEN))\n (21 21 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (20 1 (:REWRITE VL2014::VL-NAMEDPARAMVALUELIST-P-WHEN-NOT-CONSP))\n (20 1 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (17 17 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (16 16 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (16 16 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (16 8 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (16 8 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (14 14 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (13 13 (:REWRITE SUBSETP-MEMBER . 2))\n (13 13 (:REWRITE SUBSETP-MEMBER . 1))\n (13 13 (:REWRITE SET::IN-SET))\n (10 10 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (7 7 (:REWRITE SUBSETP-MEMBER . 4))\n (7 7 (:REWRITE SUBSETP-MEMBER . 3))\n (7 7 (:REWRITE INTERSECTP-MEMBER . 3))\n (7 7 (:REWRITE INTERSECTP-MEMBER . 2))\n (5 5 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (5 5 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (4 4 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (3 3 (:REWRITE SUBSETP-TRANS2))\n (3 3 (:REWRITE SUBSETP-TRANS))\n (3 3 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSET))\n (2 2 (:REWRITE VL2014::STRING-LISTP-WHEN-MEMBER-EQUAL-OF-STRING-LIST-LISTP))\n (1 1 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (1 1 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n (1 1 (:REWRITE FN-CHECK-DEF-FORMALS))\n )\n(VL2014::VL-NAMEDPARAMVALUELIST-P-OF-VL-NAMEDPARAMVALUELIST-ELIM-USELESS-PARAMS\n (749 19 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (367 31 (:REWRITE DEFAULT-CAR))\n (334 2 (:REWRITE SUBSETP-OF-CONS))\n (247 19 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (179 44 (:REWRITE DEFAULT-CDR))\n (154 57 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (139 13 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (122 13 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (118 13 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (114 114 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (114 114 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (106 19 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (57 57 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (57 57 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (52 8 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (44 44 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (44 19 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (41 8 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (40 2 (:REWRITE MEMBER-WHEN-ATOM))\n (37 37 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (32 6 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (31 31 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (30 6 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (27 27 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (27 27 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (27 27 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (27 27 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (27 27 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (27 27 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (27 27 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (27 27 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (27 27 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (27 27 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (27 27 (:REWRITE CONSP-BY-LEN))\n (25 25 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (19 19 (:REWRITE SET::IN-SET))\n (18 18 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (17 17 (:REWRITE SUBSETP-TRANS2))\n (17 17 (:REWRITE SUBSETP-TRANS))\n (14 12 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (13 13 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (13 13 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (13 13 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (12 12 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (12 6 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (12 6 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (10 10 (:REWRITE SUBSETP-MEMBER . 2))\n (4 4 (:REWRITE SUBSETP-MEMBER . 4))\n (4 4 (:REWRITE INTERSECTP-MEMBER . 3))\n (4 4 (:REWRITE INTERSECTP-MEMBER . 2))\n (4 4 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (2 2 (:REWRITE CDR-CONS))\n (1 1 (:REWRITE CAR-CONS))\n )\n(VL2014::VL-PARAMARGS-ELIM-USELESS-PARAMS\n (16 8 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (11 3 (:REWRITE VL2014::VL-USELESS-PARAMS-P-WHEN-WRONG-TAG))\n (8 8 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (8 8 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (2 1 (:REWRITE VL2014::TAG-WHEN-VL-USELESS-PARAMS-P))\n (2 1 (:REWRITE VL2014::TAG-WHEN-VL-OPINFO-P))\n (1 1 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (1 1 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-VL-OPINFO-P))\n )\n(VL2014::VL-PARAMARGS-P-OF-VL-PARAMARGS-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODINST-ELIM-USELESS-PARAMS\n (46 2 (:REWRITE HONS-ASSOC-EQUAL-WHEN-ATOM))\n (28 4 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-MODITEM-P))\n (28 4 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-MODELEMENT-P))\n (28 4 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-CTXELEMENT-P))\n (20 1 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-NOT-CONSP))\n (18 9 (:REWRITE VL2014::TAG-WHEN-VL-USELESS-PARAMS-P))\n (18 9 (:REWRITE VL2014::TAG-WHEN-VL-OPINFO-P))\n (18 9 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (9 9 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (9 9 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-VL-USELESS-PARAMS-P))\n (9 9 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-VL-OPINFO-P))\n (9 9 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (9 9 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (9 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (8 8 (:REWRITE VL2014::VL-MODINST-P-WHEN-MEMBER-EQUAL-OF-VL-MODINSTLIST-P))\n (6 6 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (6 6 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (6 3 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (5 5 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (3 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (3 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (3 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (3 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (3 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (3 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (3 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (3 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (3 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (3 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (3 3 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (3 3 (:REWRITE CONSP-BY-LEN))\n (2 2 (:TYPE-PRESCRIPTION CONSP-MEMBER-EQUAL))\n (2 2 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE DEFAULT-CDR))\n )\n(VL2014::VL-MODINST-P-OF-VL-MODINST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-EXEC)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-NREV\n (2 2 (:TYPE-PRESCRIPTION VL2014::VL-MODINST-ELIM-USELESS-PARAMS))\n )\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-NIL-PRESERVINGP-LEMMA)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-OF-UPDATE-NTH\n (10 10 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (10 10 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (10 5 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (5 5 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (5 5 (:REWRITE DEFAULT-CDR))\n (5 5 (:REWRITE DEFAULT-CAR))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (5 5 (:REWRITE CONSP-BY-LEN))\n (5 5 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (2 2 (:REWRITE CONSP-OF-CDR-BY-LEN))\n )\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-OF-REVAPPEND)\n(VL2014::NTHCDR-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS)\n(VL2014::NTH-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-NREV-REMOVAL\n (229 5 (:REWRITE LIST-FIX-WHEN-TRUE-LISTP))\n (168 3 (:REWRITE LIST-FIX-WHEN-LEN-ZERO))\n (63 3 (:REWRITE |(equal 0 (len x))|))\n (60 3 (:REWRITE TRUE-LISTP-WHEN-ATOM))\n (60 3 (:REWRITE LIST-FIX-WHEN-NOT-CONSP))\n (60 3 (:REWRITE LEN-WHEN-ATOM))\n (45 3 (:REWRITE TRUE-LISTP-WHEN-STRING-LISTP-REWRITE))\n (39 3 (:REWRITE TRUE-LISTP-WHEN-SYMBOL-LISTP-REWRITE))\n (36 3 (:REWRITE TRUE-LISTP-WHEN-CHARACTER-LISTP-REWRITE))\n (34 34 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (34 34 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (34 17 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (26 26 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (24 3 (:REWRITE SET::SETS-ARE-TRUE-LISTS-CHEAP))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (17 17 (:REWRITE CONSP-BY-LEN))\n (12 3 (:REWRITE VL2014::STRING-LISTP-WHEN-NO-NILS-IN-VL-MAYBE-STRING-LISTP))\n (6 6 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (6 6 (:REWRITE VL2014::TRUE-LISTP-WHEN-MEMBER-EQUAL-OF-TRUE-LIST-LISTP))\n (6 6 (:REWRITE SYMBOL-LISTP-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-MEMBER-EQUAL-OF-SYMBOL-LIST-LISTP))\n (6 6 (:REWRITE STRING-LISTP-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::STRING-LISTP-WHEN-MEMBER-EQUAL-OF-STRING-LIST-LISTP))\n (6 6 (:REWRITE CHARACTER-LISTP-WHEN-SUBSETP-EQUAL))\n (6 6 (:LINEAR LOWER-BOUND-OF-LEN-WHEN-SUBLISTP))\n (6 6 (:LINEAR LISTPOS-UPPER-BOUND-STRONG-2))\n (6 6 (:LINEAR LEN-WHEN-PREFIXP))\n (6 3 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (6 3 (:REWRITE SYMBOL-LISTP-WHEN-BOOLEAN-LISTP))\n (6 3 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (6 3 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (6 3 (:REWRITE STR::CHARACTER-LISTP-WHEN-OCT-DIGIT-CHAR-LISTP))\n (6 3 (:REWRITE STR::CHARACTER-LISTP-WHEN-HEX-DIGIT-CHAR-LISTP))\n (6 3 (:REWRITE STR::CHARACTER-LISTP-WHEN-DEC-DIGIT-CHAR-LISTP))\n (5 5 (:REWRITE DEFAULT-CDR))\n (5 5 (:REWRITE DEFAULT-CAR))\n (5 5 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (3 3 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (3 3 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (3 3 (:TYPE-PRESCRIPTION CONSP-MEMBER-EQUAL))\n (3 3 (:REWRITE TRUE-LISTP-WHEN-UNSIGNED-BYTE-LISTP))\n (3 3 (:REWRITE TRUE-LISTP-WHEN-SIGNED-BYTE-LISTP))\n (3 3 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 2))\n (3 3 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 1))\n (3 3 (:REWRITE SYMBOL-LISTP-WHEN-NOT-CONSP))\n (3 3 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (3 3 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n (3 3 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSET))\n (3 3 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (3 3 (:REWRITE SET::IN-SET))\n (3 3 (:REWRITE FN-CHECK-DEF-FORMALS))\n (3 3 (:REWRITE CHARACTER-LISTP-WHEN-NOT-CONSP))\n (3 3 (:LINEAR LEQ-POSITION-EQUAL-LEN))\n (3 3 (:LINEAR INDEX-OF-<-LEN))\n (3 3 (:LINEAR STR::COUNT-LEADING-CHARSET-LEN))\n (2 2 (:TYPE-PRESCRIPTION TYPE-OF-RCONS))\n (2 2 (:REWRITE CONSP-OF-CDR-BY-LEN))\n )\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-EXEC-REMOVAL\n (10 10 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (10 10 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (10 5 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (5 5 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (5 5 (:REWRITE DEFAULT-CDR))\n (5 5 (:REWRITE DEFAULT-CAR))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (5 5 (:REWRITE CONSP-BY-LEN))\n (5 5 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (2 2 (:REWRITE CONSP-OF-CDR-BY-LEN))\n )\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-OF-TAKE)\n(VL2014::SET-EQUIV-CONGRUENCE-OVER-VL-MODINSTLIST-ELIM-USELESS-PARAMS)\n(VL2014::SUBSETP-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS-WHEN-SUBSETP)\n(VL2014::MEMBER-OF-VL-MODINST-ELIM-USELESS-PARAMS-IN-VL-MODINSTLIST-ELIM-USELESS-PARAMS\n (2 2 (:TYPE-PRESCRIPTION VL2014::VL-MODINST-ELIM-USELESS-PARAMS))\n )\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-OF-REV)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-OF-LIST-FIX)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-OF-APPEND)\n(VL2014::CDR-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS)\n(VL2014::CAR-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-UNDER-IFF)\n(VL2014::CONSP-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS)\n(VL2014::LEN-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS)\n(VL2014::TRUE-LISTP-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-WHEN-NOT-CONSP)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-OF-CONS)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-NREV\n (125 2 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (75 5 (:REWRITE DEFAULT-CAR))\n (51 2 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (46 2 (:REWRITE TRUE-LISTP-WHEN-ATOM))\n (42 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (40 2 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-NOT-CONSP))\n (30 2 (:REWRITE TRUE-LISTP-WHEN-STRING-LISTP-REWRITE))\n (28 14 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (28 5 (:REWRITE DEFAULT-CDR))\n (26 2 (:REWRITE TRUE-LISTP-WHEN-SYMBOL-LISTP-REWRITE))\n (24 24 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (24 24 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (24 12 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (24 2 (:REWRITE TRUE-LISTP-WHEN-CHARACTER-LISTP-REWRITE))\n (22 5 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (21 5 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (20 1 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (16 2 (:REWRITE SET::SETS-ARE-TRUE-LISTS-CHEAP))\n (13 13 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (12 12 (:REWRITE CONSP-BY-LEN))\n (11 5 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (9 1 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-MODITEM-P))\n (9 1 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-MODELEMENT-P))\n (9 1 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-CTXELEMENT-P))\n (8 8 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (8 2 (:REWRITE VL2014::STRING-LISTP-WHEN-NO-NILS-IN-VL-MAYBE-STRING-LISTP))\n (6 6 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (6 6 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (6 3 (:REWRITE VL2014::TAG-WHEN-VL-USELESS-PARAMS-P))\n (6 3 (:REWRITE VL2014::TAG-WHEN-VL-OPINFO-P))\n (5 5 (:REWRITE SET::IN-SET))\n (5 5 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (5 5 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (5 5 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (5 1 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (5 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (4 4 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-SUBSETP-EQUAL))\n (4 4 (:REWRITE VL2014::TRUE-LISTP-WHEN-MEMBER-EQUAL-OF-TRUE-LIST-LISTP))\n (4 4 (:REWRITE SYMBOL-LISTP-WHEN-SUBSETP-EQUAL))\n (4 4 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-MEMBER-EQUAL-OF-SYMBOL-LIST-LISTP))\n (4 4 (:REWRITE STRING-LISTP-WHEN-SUBSETP-EQUAL))\n (4 4 (:REWRITE VL2014::STRING-LISTP-WHEN-MEMBER-EQUAL-OF-STRING-LIST-LISTP))\n (4 4 (:REWRITE CHARACTER-LISTP-WHEN-SUBSETP-EQUAL))\n (4 2 (:REWRITE SYMBOL-LISTP-WHEN-BOOLEAN-LISTP))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-OCT-DIGIT-CHAR-LISTP))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-HEX-DIGIT-CHAR-LISTP))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-DEC-DIGIT-CHAR-LISTP))\n (4 1 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (3 3 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-VL-USELESS-PARAMS-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-VL-OPINFO-P))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE VL2014::VL-MODINSTLIST-P-WHEN-NOT-CONSP))\n (2 2 (:REWRITE TRUE-LISTP-WHEN-UNSIGNED-BYTE-LISTP))\n (2 2 (:REWRITE TRUE-LISTP-WHEN-SIGNED-BYTE-LISTP))\n (2 2 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 2))\n (2 2 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 1))\n (2 2 (:REWRITE SYMBOL-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (2 2 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n (2 2 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSET))\n (2 2 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE FN-CHECK-DEF-FORMALS))\n (2 2 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (2 2 (:REWRITE CHARACTER-LISTP-WHEN-NOT-CONSP))\n (2 1 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (2 1 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (1 1 (:REWRITE SUBSETP-TRANS2))\n (1 1 (:REWRITE SUBSETP-TRANS))\n (1 1 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n )\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-EXEC\n (125 2 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (75 5 (:REWRITE DEFAULT-CAR))\n (51 2 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (40 2 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-NOT-CONSP))\n (34 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (28 5 (:REWRITE DEFAULT-CDR))\n (22 5 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (20 20 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (20 20 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (20 20 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (20 10 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (20 10 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (20 1 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (17 3 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (10 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (10 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (10 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (10 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (10 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (10 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (10 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (10 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (10 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (10 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (10 10 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (10 10 (:REWRITE CONSP-BY-LEN))\n (9 9 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (9 1 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-MODITEM-P))\n (9 1 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-MODELEMENT-P))\n (9 1 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-CTXELEMENT-P))\n (7 3 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (6 3 (:REWRITE VL2014::TAG-WHEN-VL-USELESS-PARAMS-P))\n (6 3 (:REWRITE VL2014::TAG-WHEN-VL-OPINFO-P))\n (5 5 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (5 5 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (5 5 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (5 1 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (5 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (4 4 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (4 4 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-SUBSETP-EQUAL))\n (4 1 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (3 3 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-VL-USELESS-PARAMS-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-VL-OPINFO-P))\n (3 3 (:REWRITE SET::IN-SET))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE VL2014::VL-MODINSTLIST-P-WHEN-NOT-CONSP))\n (2 2 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (2 1 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (2 1 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (1 1 (:REWRITE SUBSETP-TRANS2))\n (1 1 (:REWRITE SUBSETP-TRANS))\n (1 1 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n )\n(VL2014::VL-MODINSTLIST-P-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS\n (766 13 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (735 2 (:REWRITE SUBSETP-OF-CONS))\n (306 13 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (304 5 (:REWRITE VL2014::CDR-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS))\n (231 16 (:REWRITE VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-WHEN-NOT-CONSP))\n (213 27 (:REWRITE DEFAULT-CAR))\n (205 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (170 7 (:REWRITE VL2014::CONSP-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS))\n (147 68 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (147 31 (:REWRITE DEFAULT-CDR))\n (138 2 (:REWRITE VL2014::MEMBER-OF-VL-MODINST-ELIM-USELESS-PARAMS-IN-VL-MODINSTLIST-ELIM-USELESS-PARAMS))\n (132 5 (:REWRITE VL2014::CAR-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS))\n (114 114 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (104 104 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (104 104 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (104 52 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (87 12 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (81 6 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (78 6 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (77 6 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (72 2 (:REWRITE SUBSETP-IMPLIES-SUBSETP-CDR))\n (60 13 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (58 6 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (52 52 (:REWRITE CONSP-BY-LEN))\n (47 47 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (43 2 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-NOT-CONSP))\n (39 39 (:TYPE-PRESCRIPTION VL2014::VL-MODINST-ELIM-USELESS-PARAMS))\n (36 36 (:TYPE-PRESCRIPTION VL2014::TRUE-LISTP-OF-VL-MODINSTLIST-ELIM-USELESS-PARAMS))\n (31 31 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (30 3 (:REWRITE VL2014::VL-MODINSTLIST-P-WHEN-NOT-CONSP))\n (28 13 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (27 27 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (21 21 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (19 19 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (17 3 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (15 15 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (15 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (13 13 (:REWRITE SET::IN-SET))\n (12 12 (:REWRITE SUBSETP-TRANS2))\n (12 12 (:REWRITE SUBSETP-TRANS))\n (12 12 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (12 12 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (9 1 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-MODITEM-P))\n (9 1 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-MODELEMENT-P))\n (9 1 (:REWRITE VL2014::VL-MODINST-P-BY-TAG-WHEN-VL-CTXELEMENT-P))\n (8 6 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (6 3 (:REWRITE VL2014::TAG-WHEN-VL-USELESS-PARAMS-P))\n (6 3 (:REWRITE VL2014::TAG-WHEN-VL-OPINFO-P))\n (6 3 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (6 3 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (6 1 (:REWRITE VL2014::SETP-OF-CDR))\n (5 5 (:REWRITE SUBSETP-MEMBER . 2))\n (5 5 (:REWRITE SUBSETP-MEMBER . 1))\n (3 3 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-VL-USELESS-PARAMS-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-VL-OPINFO-P))\n (2 2 (:REWRITE CONSP-OF-CDDDR-BY-LEN))\n (2 2 (:REWRITE CDR-CONS))\n (1 1 (:REWRITE CAR-CONS))\n )\n(VL2014::VL-MODULE-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODULE-P-OF-VL-MODULE-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODULE->NAME-OF-VL-MODULE-ELIM-USELESS-PARAMS\n (20 1 (:REWRITE VL2014::VL-MODINSTLIST-ELIM-USELESS-PARAMS-WHEN-NOT-CONSP))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (2 1 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (1 1 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (1 1 (:REWRITE CONSP-BY-LEN))\n )\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-EXEC)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-NREV)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-NIL-PRESERVINGP-LEMMA)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-OF-UPDATE-NTH\n (10 10 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (10 10 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (10 5 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (5 5 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (5 5 (:REWRITE DEFAULT-CDR))\n (5 5 (:REWRITE DEFAULT-CAR))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (5 5 (:REWRITE CONSP-BY-LEN))\n (5 5 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (2 2 (:REWRITE CONSP-OF-CDR-BY-LEN))\n )\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-OF-REVAPPEND)\n(VL2014::NTHCDR-OF-VL-MODULELIST-ELIM-USELESS-PARAMS)\n(VL2014::NTH-OF-VL-MODULELIST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-NREV-REMOVAL\n (229 5 (:REWRITE LIST-FIX-WHEN-TRUE-LISTP))\n (168 3 (:REWRITE LIST-FIX-WHEN-LEN-ZERO))\n (63 3 (:REWRITE |(equal 0 (len x))|))\n (60 3 (:REWRITE TRUE-LISTP-WHEN-ATOM))\n (60 3 (:REWRITE LIST-FIX-WHEN-NOT-CONSP))\n (60 3 (:REWRITE LEN-WHEN-ATOM))\n (45 3 (:REWRITE TRUE-LISTP-WHEN-STRING-LISTP-REWRITE))\n (39 3 (:REWRITE TRUE-LISTP-WHEN-SYMBOL-LISTP-REWRITE))\n (36 3 (:REWRITE TRUE-LISTP-WHEN-CHARACTER-LISTP-REWRITE))\n (34 34 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (34 34 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (34 17 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (26 26 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (24 3 (:REWRITE SET::SETS-ARE-TRUE-LISTS-CHEAP))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (17 17 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (17 17 (:REWRITE CONSP-BY-LEN))\n (12 3 (:REWRITE VL2014::STRING-LISTP-WHEN-NO-NILS-IN-VL-MAYBE-STRING-LISTP))\n (6 6 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (6 6 (:REWRITE VL2014::TRUE-LISTP-WHEN-MEMBER-EQUAL-OF-TRUE-LIST-LISTP))\n (6 6 (:REWRITE SYMBOL-LISTP-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-MEMBER-EQUAL-OF-SYMBOL-LIST-LISTP))\n (6 6 (:REWRITE STRING-LISTP-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::STRING-LISTP-WHEN-MEMBER-EQUAL-OF-STRING-LIST-LISTP))\n (6 6 (:REWRITE CHARACTER-LISTP-WHEN-SUBSETP-EQUAL))\n (6 6 (:LINEAR LOWER-BOUND-OF-LEN-WHEN-SUBLISTP))\n (6 6 (:LINEAR LISTPOS-UPPER-BOUND-STRONG-2))\n (6 6 (:LINEAR LEN-WHEN-PREFIXP))\n (6 3 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (6 3 (:REWRITE SYMBOL-LISTP-WHEN-BOOLEAN-LISTP))\n (6 3 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (6 3 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (6 3 (:REWRITE STR::CHARACTER-LISTP-WHEN-OCT-DIGIT-CHAR-LISTP))\n (6 3 (:REWRITE STR::CHARACTER-LISTP-WHEN-HEX-DIGIT-CHAR-LISTP))\n (6 3 (:REWRITE STR::CHARACTER-LISTP-WHEN-DEC-DIGIT-CHAR-LISTP))\n (5 5 (:REWRITE DEFAULT-CDR))\n (5 5 (:REWRITE DEFAULT-CAR))\n (5 5 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (3 3 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (3 3 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (3 3 (:TYPE-PRESCRIPTION CONSP-MEMBER-EQUAL))\n (3 3 (:REWRITE TRUE-LISTP-WHEN-UNSIGNED-BYTE-LISTP))\n (3 3 (:REWRITE TRUE-LISTP-WHEN-SIGNED-BYTE-LISTP))\n (3 3 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 2))\n (3 3 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 1))\n (3 3 (:REWRITE SYMBOL-LISTP-WHEN-NOT-CONSP))\n (3 3 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (3 3 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n (3 3 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSET))\n (3 3 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (3 3 (:REWRITE SET::IN-SET))\n (3 3 (:REWRITE FN-CHECK-DEF-FORMALS))\n (3 3 (:REWRITE CHARACTER-LISTP-WHEN-NOT-CONSP))\n (3 3 (:LINEAR LEQ-POSITION-EQUAL-LEN))\n (3 3 (:LINEAR INDEX-OF-<-LEN))\n (3 3 (:LINEAR STR::COUNT-LEADING-CHARSET-LEN))\n (2 2 (:TYPE-PRESCRIPTION TYPE-OF-RCONS))\n (2 2 (:REWRITE CONSP-OF-CDR-BY-LEN))\n )\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-EXEC-REMOVAL\n (10 10 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (10 10 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (10 5 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (5 5 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (5 5 (:REWRITE DEFAULT-CDR))\n (5 5 (:REWRITE DEFAULT-CAR))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (5 5 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (5 5 (:REWRITE CONSP-BY-LEN))\n (5 5 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (2 2 (:REWRITE CONSP-OF-CDR-BY-LEN))\n )\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-OF-TAKE)\n(VL2014::SET-EQUIV-CONGRUENCE-OVER-VL-MODULELIST-ELIM-USELESS-PARAMS)\n(VL2014::SUBSETP-OF-VL-MODULELIST-ELIM-USELESS-PARAMS-WHEN-SUBSETP)\n(VL2014::MEMBER-OF-VL-MODULE-ELIM-USELESS-PARAMS-IN-VL-MODULELIST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-OF-REV)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-OF-LIST-FIX)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-OF-APPEND)\n(VL2014::CDR-OF-VL-MODULELIST-ELIM-USELESS-PARAMS)\n(VL2014::CAR-OF-VL-MODULELIST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-UNDER-IFF)\n(VL2014::CONSP-OF-VL-MODULELIST-ELIM-USELESS-PARAMS)\n(VL2014::LEN-OF-VL-MODULELIST-ELIM-USELESS-PARAMS)\n(VL2014::TRUE-LISTP-OF-VL-MODULELIST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-WHEN-NOT-CONSP)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-OF-CONS)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-NREV\n (164 3 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (115 2 (:REWRITE VL2014::VL-MODULE-P-WHEN-VL-MAYBE-MODULE-P))\n (102 1 (:REWRITE VL2014::VL-MAYBE-MODULE-P-WHEN-VL-MODULE-P))\n (100 7 (:REWRITE DEFAULT-CAR))\n (76 3 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (50 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (46 2 (:REWRITE TRUE-LISTP-WHEN-ATOM))\n (40 2 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-NOT-CONSP))\n (40 2 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (36 18 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (36 7 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (30 7 (:REWRITE DEFAULT-CDR))\n (30 2 (:REWRITE TRUE-LISTP-WHEN-STRING-LISTP-REWRITE))\n (28 28 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (28 28 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (28 14 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (26 2 (:REWRITE TRUE-LISTP-WHEN-SYMBOL-LISTP-REWRITE))\n (24 3 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (24 2 (:REWRITE TRUE-LISTP-WHEN-CHARACTER-LISTP-REWRITE))\n (16 7 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (16 2 (:REWRITE SET::SETS-ARE-TRUE-LISTS-CHEAP))\n (14 14 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (14 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (14 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (14 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (14 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (14 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (14 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (14 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (14 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (14 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (14 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (14 14 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (14 14 (:REWRITE CONSP-BY-LEN))\n (13 13 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (10 2 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (10 2 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (9 9 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (9 9 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (9 2 (:REWRITE VL2014::FIRST-UNDER-IFF-WHEN-VL-EXPRLIST-P))\n (8 8 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (8 2 (:REWRITE VL2014::STRING-LISTP-WHEN-NO-NILS-IN-VL-MAYBE-STRING-LISTP))\n (8 2 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (7 7 (:REWRITE SET::IN-SET))\n (4 4 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (4 4 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (4 4 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-SUBSETP-EQUAL))\n (4 4 (:REWRITE VL2014::TRUE-LISTP-WHEN-MEMBER-EQUAL-OF-TRUE-LIST-LISTP))\n (4 4 (:REWRITE SYMBOL-LISTP-WHEN-SUBSETP-EQUAL))\n (4 4 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-MEMBER-EQUAL-OF-SYMBOL-LIST-LISTP))\n (4 4 (:REWRITE STRING-LISTP-WHEN-SUBSETP-EQUAL))\n (4 4 (:REWRITE VL2014::STRING-LISTP-WHEN-MEMBER-EQUAL-OF-STRING-LIST-LISTP))\n (4 4 (:REWRITE CHARACTER-LISTP-WHEN-SUBSETP-EQUAL))\n (4 2 (:REWRITE SYMBOL-LISTP-WHEN-BOOLEAN-LISTP))\n (4 2 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (4 2 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-OCT-DIGIT-CHAR-LISTP))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-HEX-DIGIT-CHAR-LISTP))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-DEC-DIGIT-CHAR-LISTP))\n (3 3 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (3 3 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (2 2 (:TYPE-PRESCRIPTION VL2014::VL-MAYBE-MODULE-P))\n (2 2 (:REWRITE VL2014::VL-MODULELIST-P-WHEN-NOT-CONSP))\n (2 2 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-MEMBER-EQUAL-OF-VL-EXPRLISTLIST-P))\n (2 2 (:REWRITE TRUE-LISTP-WHEN-UNSIGNED-BYTE-LISTP))\n (2 2 (:REWRITE TRUE-LISTP-WHEN-SIGNED-BYTE-LISTP))\n (2 2 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 2))\n (2 2 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 1))\n (2 2 (:REWRITE SYMBOL-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE SUBSETP-TRANS2))\n (2 2 (:REWRITE SUBSETP-TRANS))\n (2 2 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (2 2 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n (2 2 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSET))\n (2 2 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (2 2 (:REWRITE FN-CHECK-DEF-FORMALS))\n (2 2 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (2 2 (:REWRITE CHARACTER-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-NOT-CONSP))\n )\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS)\n(VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-EXEC\n (164 3 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (115 2 (:REWRITE VL2014::VL-MODULE-P-WHEN-VL-MAYBE-MODULE-P))\n (102 1 (:REWRITE VL2014::VL-MAYBE-MODULE-P-WHEN-VL-MODULE-P))\n (100 7 (:REWRITE DEFAULT-CAR))\n (76 3 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (42 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (40 2 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-NOT-CONSP))\n (40 2 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (32 5 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (30 7 (:REWRITE DEFAULT-CDR))\n (28 14 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (26 26 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (24 24 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (24 24 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (24 12 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (24 3 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (12 12 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (12 12 (:REWRITE CONSP-BY-LEN))\n (12 5 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (11 11 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (10 10 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (10 2 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (10 2 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (9 9 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (9 2 (:REWRITE VL2014::FIRST-UNDER-IFF-WHEN-VL-EXPRLIST-P))\n (8 8 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (8 2 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (7 7 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (5 5 (:REWRITE SET::IN-SET))\n (4 4 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (4 4 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (4 4 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-SUBSETP-EQUAL))\n (4 2 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (4 2 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (3 3 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (3 3 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (2 2 (:TYPE-PRESCRIPTION VL2014::VL-MAYBE-MODULE-P))\n (2 2 (:REWRITE VL2014::VL-MODULELIST-P-WHEN-NOT-CONSP))\n (2 2 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-MEMBER-EQUAL-OF-VL-EXPRLISTLIST-P))\n (2 2 (:REWRITE SUBSETP-TRANS2))\n (2 2 (:REWRITE SUBSETP-TRANS))\n (2 2 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (2 2 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (1 1 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-NOT-CONSP))\n )\n(VL2014::VL-MODULELIST-P-OF-VL-MODULELIST-ELIM-USELESS-PARAMS\n (766 13 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (735 2 (:REWRITE SUBSETP-OF-CONS))\n (306 13 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (304 5 (:REWRITE VL2014::CDR-OF-VL-MODULELIST-ELIM-USELESS-PARAMS))\n (231 16 (:REWRITE VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-WHEN-NOT-CONSP))\n (213 27 (:REWRITE DEFAULT-CAR))\n (205 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (170 7 (:REWRITE VL2014::CONSP-OF-VL-MODULELIST-ELIM-USELESS-PARAMS))\n (147 68 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (147 31 (:REWRITE DEFAULT-CDR))\n (138 2 (:REWRITE VL2014::MEMBER-OF-VL-MODULE-ELIM-USELESS-PARAMS-IN-VL-MODULELIST-ELIM-USELESS-PARAMS))\n (132 5 (:REWRITE VL2014::CAR-OF-VL-MODULELIST-ELIM-USELESS-PARAMS))\n (114 114 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (104 104 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (104 104 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (104 52 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (81 9 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (81 6 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (78 6 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (77 6 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (72 2 (:REWRITE SUBSETP-IMPLIES-SUBSETP-CDR))\n (60 13 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (58 6 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (52 52 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (52 52 (:REWRITE CONSP-BY-LEN))\n (47 47 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (43 2 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-NOT-CONSP))\n (36 36 (:TYPE-PRESCRIPTION VL2014::TRUE-LISTP-OF-VL-MODULELIST-ELIM-USELESS-PARAMS))\n (30 3 (:REWRITE VL2014::VL-MODULELIST-P-WHEN-NOT-CONSP))\n (28 28 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (28 13 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (27 27 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (21 21 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (19 19 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (17 3 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (15 15 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (15 3 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (13 13 (:REWRITE SET::IN-SET))\n (12 12 (:REWRITE SUBSETP-TRANS2))\n (12 12 (:REWRITE SUBSETP-TRANS))\n (9 9 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (9 9 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (8 6 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (6 6 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (6 6 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (6 3 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (6 3 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (6 1 (:REWRITE VL2014::SETP-OF-CDR))\n (5 5 (:REWRITE SUBSETP-MEMBER . 2))\n (5 5 (:REWRITE SUBSETP-MEMBER . 1))\n (5 1 (:REWRITE VL2014::VL-MODULE-P-WHEN-VL-MAYBE-MODULE-P))\n (2 2 (:TYPE-PRESCRIPTION VL2014::VL-MAYBE-MODULE-P))\n (2 2 (:REWRITE CONSP-OF-CDDDR-BY-LEN))\n (2 2 (:REWRITE CDR-CONS))\n (2 1 (:REWRITE VL2014::VL-MAYBE-MODULE-P-WHEN-VL-MODULE-P))\n (1 1 (:REWRITE CAR-CONS))\n )\n(VL2014::VL-POSITION-OF-PARAM\n (1010 18 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (895 21 (:REWRITE SUBSETP-MEMBER . 1))\n (860 130 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (539 31 (:REWRITE VL2014::VL-PARAMDECLLIST->NAMES-UNDER-IFF))\n (366 2 (:REWRITE VL2014::STRINGP-WHEN-TRUE-LISTP))\n (354 39 (:REWRITE DEFAULT-CAR))\n (330 260 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (326 1 (:REWRITE SUBSETP-OF-CONS))\n (315 260 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (275 10 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (274 24 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (273 13 (:REWRITE VL2014::CAR-OF-VL-PARAMDECLLIST->NAMES))\n (265 10 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (197 2 (:REWRITE TRUE-LISTP-WHEN-ATOM))\n (192 27 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (190 32 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (189 24 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (177 20 (:REWRITE VL2014::CDR-OF-VL-PARAMDECLLIST->NAMES))\n (163 45 (:REWRITE DEFAULT-CDR))\n (132 130 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (130 130 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (111 111 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (103 99 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (103 99 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (103 99 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (101 99 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (101 99 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (99 99 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (99 99 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (99 99 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (99 99 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (99 99 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (99 99 (:REWRITE CONSP-BY-LEN))\n (79 79 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (74 32 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (66 10 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (66 2 (:REWRITE CONS-LISTP-WHEN-NOT-CONSP))\n (62 62 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (60 3 (:REWRITE VL2014::VL-PARAMDECLLIST-P-WHEN-NOT-CONSP))\n (59 4 (:REWRITE VL2014::TRUE-LISTP-WHEN-MEMBER-EQUAL-OF-TRUE-LIST-LISTP))\n (52 52 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (50 50 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (50 10 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (49 4 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (47 2 (:REWRITE VL2014::TRUE-LIST-LISTP-WHEN-NOT-CONSP))\n (47 2 (:REWRITE ATOM-LISTP-WHEN-NOT-CONSP))\n (42 42 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (39 1 (:DEFINITION VL2014::VL-POSITION-OF-PARAM))\n (38 2 (:REWRITE VL2014::MEMBER-OF-VL-PARAMDECL->NAME-IN-VL-PARAMDECLLIST->NAMES))\n (36 20 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (32 32 (:REWRITE SET::IN-SET))\n (32 2 (:REWRITE TRUE-LISTP-WHEN-STRING-LISTP-REWRITE))\n (28 2 (:REWRITE TRUE-LISTP-WHEN-SYMBOL-LISTP-REWRITE))\n (27 27 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (27 27 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (24 24 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (24 2 (:REWRITE TRUE-LISTP-WHEN-CHARACTER-LISTP-REWRITE))\n (21 21 (:REWRITE SUBSETP-MEMBER . 2))\n (20 20 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (20 10 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (20 10 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (16 2 (:REWRITE SET::SETS-ARE-TRUE-LISTS-CHEAP))\n (14 14 (:REWRITE SUBSETP-TRANS2))\n (14 14 (:REWRITE SUBSETP-TRANS))\n (10 10 (:REWRITE SUBSETP-MEMBER . 4))\n (10 10 (:REWRITE INTERSECTP-MEMBER . 3))\n (10 10 (:REWRITE INTERSECTP-MEMBER . 2))\n (9 1 (:REWRITE VL2014::VL-PARAMDECL-P-BY-TAG-WHEN-VL-MODITEM-P))\n (9 1 (:REWRITE VL2014::VL-PARAMDECL-P-BY-TAG-WHEN-VL-MODELEMENT-P))\n (9 1 (:REWRITE VL2014::VL-PARAMDECL-P-BY-TAG-WHEN-VL-CTXELEMENT-P))\n (9 1 (:REWRITE VL2014::VL-PARAMDECL-P-BY-TAG-WHEN-VL-BLOCKITEM-P))\n (8 8 (:REWRITE VL2014::VL-PARAMDECLLIST-P-WHEN-MEMBER-EQUAL-OF-VL-PARAMDECLLIST-LIST-P))\n (8 8 (:REWRITE STRING-LISTP-WHEN-SUBSETP-EQUAL))\n (8 4 (:REWRITE VL2014::TAG-WHEN-VL-USELESS-PARAMS-P))\n (8 4 (:REWRITE VL2014::TAG-WHEN-VL-OPINFO-P))\n (8 2 (:REWRITE VL2014::STRING-LISTP-WHEN-NO-NILS-IN-VL-MAYBE-STRING-LISTP))\n (6 4 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-MEMBER-EQUAL-OF-SYMBOL-LIST-LISTP))\n (6 4 (:REWRITE VL2014::STRING-LISTP-WHEN-MEMBER-EQUAL-OF-STRING-LIST-LISTP))\n (4 4 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-VL-USELESS-PARAMS-P))\n (4 4 (:TYPE-PRESCRIPTION VL2014::BOOLEANP-OF-VL-OPINFO-P))\n (4 4 (:REWRITE VL2014::TRUE-LIST-LISTP-WHEN-SUBSETP-EQUAL))\n (4 4 (:REWRITE SYMBOL-LISTP-WHEN-SUBSETP-EQUAL))\n (4 4 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (4 4 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n (4 4 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSET))\n (4 4 (:REWRITE CONS-LISTP-WHEN-SUBSETP-EQUAL))\n (4 4 (:REWRITE CONS-LISTP-WHEN-MEMBER-EQUAL-OF-CONS-LIST-LISTP))\n (4 4 (:REWRITE CHARACTER-LISTP-WHEN-SUBSETP-EQUAL))\n (4 4 (:REWRITE ATOM-LISTP-WHEN-SUBSETP-EQUAL))\n (4 2 (:REWRITE SYMBOL-LISTP-WHEN-BOOLEAN-LISTP))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-OCT-DIGIT-CHAR-LISTP))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-HEX-DIGIT-CHAR-LISTP))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-DEC-DIGIT-CHAR-LISTP))\n (3 3 (:REWRITE CDR-CONS))\n (2 2 (:REWRITE TRUE-LISTP-WHEN-UNSIGNED-BYTE-LISTP))\n (2 2 (:REWRITE TRUE-LISTP-WHEN-SIGNED-BYTE-LISTP))\n (2 2 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 2))\n (2 2 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 1))\n (2 2 (:REWRITE SYMBOL-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE FN-CHECK-DEF-FORMALS))\n (2 2 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (2 2 (:REWRITE CHARACTER-LISTP-WHEN-NOT-CONSP))\n (2 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:REWRITE DEFAULT-+-1))\n (1 1 (:REWRITE CAR-CONS))\n )\n(VL2014::VL-POSITIONS-OF-PARAMS\n (220 1 (:REWRITE VL2014::STRINGP-WHEN-TRUE-LISTP))\n (152 3 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (148 6 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (138 2 (:REWRITE TRUE-LISTP-WHEN-ATOM))\n (124 10 (:REWRITE VL2014::VL-PARAMDECLLIST->NAMES-WHEN-NOT-CONSP))\n (120 6 (:REWRITE VL2014::VL-PARAMDECLLIST->NAMES-UNDER-IFF))\n (87 1 (:REWRITE CONSP-OF-CAR-WHEN-ALISTP))\n (82 82 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (82 82 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (78 8 (:REWRITE DEFAULT-CAR))\n (65 1 (:REWRITE VL2014::ALISTP-WHEN-VL-ATTS-P-REWRITE))\n (61 4 (:REWRITE VL2014::VL-ATTS-P-WHEN-SUBSETP-EQUAL))\n (53 2 (:REWRITE VL2014::VL-ATTS-P-WHEN-NOT-CONSP))\n (49 16 (:REWRITE DEFAULT-CDR))\n (43 1 (:REWRITE VL2014::TRUE-LISTP-OF-CAR-WHEN-TRUE-LIST-LISTP))\n (42 3 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (41 41 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (41 41 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (39 4 (:REWRITE VL2014::TRUE-LIST-LISTP-WHEN-SUBSETP-EQUAL))\n (36 2 (:REWRITE TRUE-LISTP-WHEN-STRING-LISTP-REWRITE))\n (34 2 (:REWRITE VL2014::TRUE-LIST-LISTP-WHEN-NOT-CONSP))\n (33 1 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (32 2 (:REWRITE TRUE-LISTP-WHEN-SYMBOL-LISTP-REWRITE))\n (28 2 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (26 2 (:REWRITE TRUE-LISTP-WHEN-CHARACTER-LISTP-REWRITE))\n (25 6 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (24 3 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (23 23 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (20 1 (:REWRITE VL2014::VL-PARAMDECLLIST-P-WHEN-NOT-CONSP))\n (19 19 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (19 19 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (19 19 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (19 19 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (19 19 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (19 19 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (19 19 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (19 19 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (19 19 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (19 19 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (19 19 (:REWRITE CONSP-BY-LEN))\n (19 2 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (16 2 (:REWRITE SET::SETS-ARE-TRUE-LISTS-CHEAP))\n (13 13 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (13 13 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (13 6 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (13 1 (:REWRITE OMAP::ALISTP-WHEN-MAPP))\n (12 2 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (10 2 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (9 9 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSET))\n (8 8 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (8 2 (:REWRITE VL2014::STRING-LISTP-WHEN-NO-NILS-IN-VL-MAYBE-STRING-LISTP))\n (8 1 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (7 7 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (7 5 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (7 1 (:REWRITE VL2014::CONSP-OF-CAR-WHEN-VL-COMMENTMAP-P))\n (6 6 (:REWRITE SET::IN-SET))\n (6 4 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (6 4 (:REWRITE SYMBOL-LISTP-WHEN-SUBSETP-EQUAL))\n (6 4 (:REWRITE CHARACTER-LISTP-WHEN-SUBSETP-EQUAL))\n (5 5 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n (4 4 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (4 4 (:REWRITE VL2014::VL-PARAMDECLLIST-P-WHEN-MEMBER-EQUAL-OF-VL-PARAMDECLLIST-LIST-P))\n (4 4 (:REWRITE VL2014::TRUE-LISTP-WHEN-MEMBER-EQUAL-OF-TRUE-LIST-LISTP))\n (4 4 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-MEMBER-EQUAL-OF-SYMBOL-LIST-LISTP))\n (4 4 (:REWRITE VL2014::STRING-LISTP-WHEN-MEMBER-EQUAL-OF-STRING-LIST-LISTP))\n (4 2 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 2))\n (4 2 (:REWRITE SYMBOL-LISTP-WHEN-BOOLEAN-LISTP))\n (4 2 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (4 2 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-OCT-DIGIT-CHAR-LISTP))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-HEX-DIGIT-CHAR-LISTP))\n (4 2 (:REWRITE STR::CHARACTER-LISTP-WHEN-DEC-DIGIT-CHAR-LISTP))\n (4 1 (:REWRITE ALISTP-WHEN-HONS-DUPLICITY-ALIST-P))\n (3 3 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (3 3 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (3 2 (:REWRITE VL2014::VL-COMMENTMAP-P-WHEN-SUBSETP-EQUAL))\n (3 1 (:REWRITE VL2014::CDR-OF-VL-PARAMDECLLIST->NAMES))\n (2 2 (:TYPE-PRESCRIPTION HONS-DUPLICITY-ALIST-P))\n (2 2 (:TYPE-PRESCRIPTION CONSP-MEMBER-EQUAL))\n (2 2 (:TYPE-PRESCRIPTION ALISTP))\n (2 2 (:REWRITE TRUE-LISTP-WHEN-UNSIGNED-BYTE-LISTP))\n (2 2 (:REWRITE TRUE-LISTP-WHEN-SIGNED-BYTE-LISTP))\n (2 2 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 1))\n (2 2 (:REWRITE SYMBOL-LISTP-WHEN-NOT-CONSP))\n (2 2 (:REWRITE SUBSETP-TRANS2))\n (2 2 (:REWRITE SUBSETP-TRANS))\n (2 2 (:REWRITE STRINGP-WHEN-MEMBER-EQUAL-OF-STRING-LISTP))\n (2 2 (:REWRITE VL2014::STRINGP-OF-CAR-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P))\n (2 2 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (2 2 (:REWRITE FN-CHECK-DEF-FORMALS))\n (2 2 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (2 2 (:REWRITE CHARACTER-LISTP-WHEN-NOT-CONSP))\n (2 1 (:REWRITE VL2014::SYMBOL-LISTP-OF-CAR-WHEN-SYMBOL-LIST-LISTP))\n (2 1 (:REWRITE VL2014::STRING-LISTP-OF-CAR-WHEN-STRING-LIST-LISTP))\n (2 1 (:REWRITE CONSP-OF-CAR-WHEN-CONS-LISTP))\n (2 1 (:REWRITE CONSP-OF-CAR-WHEN-ATOM-LISTP))\n (1 1 (:REWRITE VL2014::VL-COMMENTMAP-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE SUBSETP-MEMBER . 2))\n (1 1 (:REWRITE SUBSETP-MEMBER . 1))\n (1 1 (:REWRITE HONS-DUPLICITY-ALIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE ALISTP-WHEN-ATOM))\n (1 1 (:REWRITE VL2014::ALISTP-WHEN-ALL-HAVE-LEN))\n )\n(VL2014::INTEGER-LISTP-OF-VL-POSITIONS-OF-PARAMS\n (436 33 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (345 3 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (201 1 (:REWRITE SUBSETP-OF-CONS))\n (169 4 (:REWRITE INTEGER-LISTP-WHEN-NOT-CONSP))\n (133 16 (:REWRITE DEFAULT-CAR))\n (126 2 (:LINEAR LOWER-BOUND-OF-CAR-WHEN-NAT-LISTP))\n (110 2 (:REWRITE NAT-LISTP-WHEN-NOT-CONSP))\n (74 18 (:REWRITE DEFAULT-CDR))\n (71 3 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (66 66 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (66 66 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (25 2 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (22 22 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (22 22 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (22 22 (:REWRITE CONSP-BY-LEN))\n (20 2 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (17 3 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (16 16 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (16 2 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (14 14 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (12 6 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (7 7 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (7 3 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (6 6 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (5 1 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (5 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (4 4 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (4 4 (:REWRITE NAT-LISTP-WHEN-SUBSETP-EQUAL))\n (3 3 (:REWRITE SUBSETP-TRANS2))\n (3 3 (:REWRITE SUBSETP-TRANS))\n (3 3 (:REWRITE SET::IN-SET))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE SUBSETP-MEMBER . 2))\n (2 2 (:REWRITE SUBSETP-MEMBER . 1))\n (2 2 (:REWRITE NAT-LISTP-WHEN-UNSIGNED-BYTE-LISTP))\n (2 2 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (2 2 (:REWRITE CDR-CONS))\n (2 2 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (2 2 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (2 1 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (2 1 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (1 1 (:REWRITE CAR-CONS))\n )\n(VL2014::VL-MODULE-CLEAN-PARAMS)\n(VL2014::VL-MODULE-P-OF-VL-MODULE-CLEAN-PARAMS.NEW-X\n (441 1 (:REWRITE SET-DIFFERENCE-EQUAL-WHEN-SUBSETP-EQUAL))\n (291 1 (:REWRITE SUBSETP-INTERSECTION-EQUAL))\n (279 5 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (159 26 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (102 5 (:REWRITE VL2014::VL-PARAMDECLLIST->NAMES-UNDER-IFF))\n (98 5 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (90 4 (:REWRITE VL2014::CDR-OF-VL-PARAMDECLLIST->NAMES))\n (90 4 (:REWRITE VL2014::CAR-OF-VL-PARAMDECLLIST->NAMES))\n (82 1 (:REWRITE VL2014::SUBSETP-OF-VL-PARAMDECLLIST->NAMES-WHEN-SUBSETP))\n (69 10 (:REWRITE VL2014::VL-PARAMDECLLIST->NAMES-WHEN-NOT-CONSP))\n (52 52 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (52 52 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (45 6 (:REWRITE DEFAULT-CAR))\n (44 6 (:REWRITE DEFAULT-CDR))\n (34 2 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (33 1 (:REWRITE SET-DIFFERENCE-EQUAL-WHEN-ATOM))\n (33 1 (:REWRITE INTERSECTION$-WHEN-ATOM-RIGHT))\n (30 3 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (26 26 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (24 24 (:TYPE-PRESCRIPTION VL2014::TRUE-LISTP-OF-VL-PARAMDECLLIST->NAMES))\n (20 4 (:REWRITE VL2014::VL-MODULE-P-WHEN-VL-MAYBE-MODULE-P))\n (20 1 (:REWRITE VL2014::VL-DELETE-PARAMDECLS-WHEN-ATOM))\n (18 18 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (18 18 (:TYPE-PRESCRIPTION VL2014::STRINGP-OF-VL-PARAMDECL->NAME))\n (18 18 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (18 18 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (18 18 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (18 18 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (18 18 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (18 18 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (18 18 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (18 18 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (18 18 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (18 18 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (18 18 (:REWRITE CONSP-BY-LEN))\n (14 3 (:REWRITE VL2014::VL-EXPRLIST-NAMES-WHEN-ATOM))\n (14 2 (:REWRITE VL2014::VL-MAYBE-MODULE-P-WHEN-VL-MODULE-P))\n (14 2 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (13 1 (:REWRITE INTERSECTION$-WHEN-ATOM-LEFT))\n (10 10 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (8 8 (:TYPE-PRESCRIPTION VL2014::TRUE-LISTP-OF-VL-EXPRLIST-NAMES))\n (8 8 (:REWRITE VL2014::VL-MODULE-P-WHEN-MEMBER-EQUAL-OF-VL-MODULELIST-P))\n (8 8 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-MAYBE-MODULE-P))\n (6 6 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (6 6 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (6 3 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (6 3 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (4 4 (:TYPE-PRESCRIPTION VL2014::TRUE-LISTP-OF-VL-MODULE-ALLEXPRS))\n (3 3 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (3 3 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (3 3 (:REWRITE SUBSETP-TRANS2))\n (3 3 (:REWRITE SUBSETP-TRANS))\n (3 3 (:REWRITE SET::IN-SET))\n (3 3 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (3 3 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (1 1 (:REWRITE VL2014::VL-DELETE-PARAMDECLS-WHEN-ATOM-OF-NAMES))\n (1 1 (:REWRITE SUBSETP-REFL))\n )\n(VL2014::RETURN-TYPE-OF-VL-MODULE-CLEAN-PARAMS.USELESS\n (1766 6 (:REWRITE SET-DIFFERENCE-EQUAL-WHEN-SUBSETP-EQUAL))\n (1164 4 (:REWRITE SUBSETP-INTERSECTION-EQUAL))\n (1116 20 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (656 104 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (428 21 (:REWRITE VL2014::VL-PARAMDECLLIST->NAMES-UNDER-IFF))\n (392 20 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (360 16 (:REWRITE VL2014::CDR-OF-VL-PARAMDECLLIST->NAMES))\n (360 16 (:REWRITE VL2014::CAR-OF-VL-PARAMDECLLIST->NAMES))\n (328 4 (:REWRITE VL2014::SUBSETP-OF-VL-PARAMDECLLIST->NAMES-WHEN-SUBSETP))\n (284 48 (:REWRITE VL2014::VL-PARAMDECLLIST->NAMES-WHEN-NOT-CONSP))\n (208 208 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (208 208 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (180 24 (:REWRITE DEFAULT-CAR))\n (176 24 (:REWRITE DEFAULT-CDR))\n (136 8 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (134 6 (:REWRITE SET-DIFFERENCE-EQUAL-WHEN-ATOM))\n (134 6 (:REWRITE INTERSECTION$-WHEN-ATOM-RIGHT))\n (120 12 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (104 104 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (104 104 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (72 72 (:TYPE-PRESCRIPTION VL2014::STRINGP-OF-VL-PARAMDECL->NAME))\n (71 71 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (71 71 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (71 71 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (71 71 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (71 71 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (71 71 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (71 71 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (71 71 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (71 71 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (71 71 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (71 71 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (71 71 (:REWRITE CONSP-BY-LEN))\n (58 14 (:REWRITE VL2014::VL-EXPRLIST-NAMES-WHEN-ATOM))\n (56 8 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (54 6 (:REWRITE INTERSECTION$-WHEN-ATOM-LEFT))\n (50 10 (:REWRITE VL2014::VL-MODULE-P-WHEN-VL-MAYBE-MODULE-P))\n (40 40 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (40 2 (:REWRITE VL2014::VL-DELETE-PARAMDECLS-WHEN-ATOM))\n (35 5 (:REWRITE VL2014::VL-MAYBE-MODULE-P-WHEN-VL-MODULE-P))\n (33 1 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (32 32 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (24 24 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (24 12 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (24 12 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (20 20 (:REWRITE VL2014::VL-MODULE-P-WHEN-MEMBER-EQUAL-OF-VL-MODULELIST-P))\n (16 16 (:TYPE-PRESCRIPTION VL2014::TRUE-LISTP-OF-VL-MODULE-ALLEXPRS))\n (15 15 (:TYPE-PRESCRIPTION VL2014::VL-MAYBE-MODULE-P))\n (12 12 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (12 12 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (12 12 (:REWRITE SUBSETP-TRANS2))\n (12 12 (:REWRITE SUBSETP-TRANS))\n (12 12 (:REWRITE SET::IN-SET))\n (12 12 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (12 12 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (6 1 (:REWRITE VL2014::VL-USELESS-PARAMS-P-WHEN-WRONG-TAG))\n (4 4 (:REWRITE SUBSETP-REFL))\n (4 1 (:REWRITE VL2014::TAG-WHEN-VL-USELESS-PARAMS-P))\n (2 2 (:REWRITE VL2014::VL-DELETE-PARAMDECLS-WHEN-ATOM-OF-NAMES))\n (2 2 (:REWRITE STRING-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSET))\n (1 1 (:REWRITE VL2014::TAG-OF-VL-USELESS-PARAMS))\n (1 1 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (1 1 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n )\n(VL2014::VL-MODULE-CLEAN-PARAMS\n (3087 7 (:REWRITE SET-DIFFERENCE-EQUAL-WHEN-SUBSETP-EQUAL))\n (2557 45 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (2037 7 (:REWRITE SUBSETP-INTERSECTION-EQUAL))\n (1608 241 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (957 47 (:REWRITE VL2014::VL-PARAMDECLLIST->NAMES-UNDER-IFF))\n (889 45 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (774 37 (:REWRITE VL2014::CDR-OF-VL-PARAMDECLLIST->NAMES))\n (765 34 (:REWRITE VL2014::CAR-OF-VL-PARAMDECLLIST->NAMES))\n (688 101 (:REWRITE VL2014::VL-PARAMDECLLIST->NAMES-WHEN-NOT-CONSP))\n (482 482 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (482 482 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (462 60 (:REWRITE DEFAULT-CAR))\n (420 73 (:REWRITE DEFAULT-CDR))\n (358 20 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (299 30 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (297 20 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (241 241 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (241 241 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (233 5 (:REWRITE SUBSETP-MEMBER . 3))\n (231 7 (:REWRITE SET-DIFFERENCE-EQUAL-WHEN-ATOM))\n (231 7 (:REWRITE INTERSECTION$-WHEN-ATOM-RIGHT))\n (160 11 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (156 156 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (156 156 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (156 156 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (156 156 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (156 156 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (156 156 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (156 156 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (156 156 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (156 156 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (156 156 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (156 156 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (156 156 (:REWRITE CONSP-BY-LEN))\n (153 153 (:TYPE-PRESCRIPTION VL2014::STRINGP-OF-VL-PARAMDECL->NAME))\n (148 36 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (137 27 (:REWRITE VL2014::VL-EXPRLIST-NAMES-WHEN-ATOM))\n (105 3 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (94 94 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (91 7 (:REWRITE INTERSECTION$-WHEN-ATOM-LEFT))\n (82 10 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (78 36 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (77 77 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (69 69 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (54 54 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (46 2 (:REWRITE MEMBER-WHEN-ATOM))\n (42 42 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (40 40 (:TYPE-PRESCRIPTION VL2014::TRUE-LISTP-OF-VL-MODULE-ALLEXPRS))\n (40 6 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (36 36 (:REWRITE SET::IN-SET))\n (30 30 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (30 30 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (30 6 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (29 29 (:REWRITE SUBSETP-TRANS2))\n (29 29 (:REWRITE SUBSETP-TRANS))\n (22 12 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (20 1 (:REWRITE VL2014::VL-DELETE-PARAMDECLS-WHEN-ATOM))\n (16 16 (:REWRITE VL2014::VL-MODULE-P-WHEN-MEMBER-EQUAL-OF-VL-MODULELIST-P))\n (12 12 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (12 6 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (12 6 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (10 10 (:REWRITE SUBSETP-MEMBER . 2))\n (10 10 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (6 6 (:REWRITE STRING-LISTP-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSET))\n (5 5 (:REWRITE SUBSETP-MEMBER . 4))\n (5 5 (:REWRITE INTERSECTP-MEMBER . 3))\n (5 5 (:REWRITE INTERSECTP-MEMBER . 2))\n (3 3 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (3 3 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n (1 1 (:REWRITE VL2014::VL-DELETE-PARAMDECLS-WHEN-ATOM-OF-NAMES))\n )\n(VL2014::VL-MODULELIST-CLEAN-PARAMS-AUX\n (221 5 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (218 4 (:REWRITE VL2014::VL-MODULE-P-WHEN-VL-MAYBE-MODULE-P))\n (192 2 (:REWRITE VL2014::VL-MAYBE-MODULE-P-WHEN-VL-MODULE-P))\n (134 13 (:REWRITE DEFAULT-CAR))\n (111 5 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (80 4 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (62 9 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (40 5 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (32 32 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (32 32 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (32 16 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (31 11 (:REWRITE DEFAULT-CDR))\n (24 24 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (22 9 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (21 21 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (20 4 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (20 4 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (20 1 (:REWRITE VL2014::VL-MODULELIST-P-WHEN-NOT-CONSP))\n (18 18 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (18 4 (:REWRITE VL2014::FIRST-UNDER-IFF-WHEN-VL-EXPRLIST-P))\n (17 17 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (16 16 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (16 16 (:REWRITE CONSP-BY-LEN))\n (16 8 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (16 4 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (13 13 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (12 12 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (9 9 (:REWRITE SET::IN-SET))\n (8 8 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (8 8 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (8 4 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (8 4 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (5 5 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (5 5 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (4 4 (:TYPE-PRESCRIPTION VL2014::VL-MAYBE-MODULE-P))\n (4 4 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-SUBSETP-EQUAL))\n (4 4 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-MEMBER-EQUAL-OF-VL-EXPRLISTLIST-P))\n (4 4 (:REWRITE SUBSETP-TRANS2))\n (4 4 (:REWRITE SUBSETP-TRANS))\n (4 4 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (2 2 (:REWRITE VL2014::VL-EXPRLIST-P-WHEN-NOT-CONSP))\n (2 2 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n )\n(VL2014::VL-MODULELIST-P-OF-VL-MODULELIST-CLEAN-PARAMS-AUX.X-PRIME\n (411 10 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (316 2 (:REWRITE SUBSETP-OF-CONS))\n (233 16 (:REWRITE DEFAULT-CAR))\n (158 10 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (94 17 (:REWRITE DEFAULT-CDR))\n (56 56 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (56 56 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (56 28 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (56 7 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (45 5 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (42 4 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (41 41 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (40 9 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (38 5 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (28 28 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (28 28 (:REWRITE CONSP-BY-LEN))\n (26 13 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (23 4 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (20 20 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (20 9 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (16 16 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (15 15 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (14 14 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (11 11 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (10 2 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (10 2 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (9 9 (:REWRITE SUBSETP-TRANS2))\n (9 9 (:REWRITE SUBSETP-TRANS))\n (9 9 (:REWRITE SET::IN-SET))\n (7 7 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (7 7 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (5 5 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (5 1 (:REWRITE VL2014::VL-MODULE-P-WHEN-VL-MAYBE-MODULE-P))\n (4 4 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (4 4 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (4 4 (:REWRITE SUBSETP-MEMBER . 2))\n (4 4 (:REWRITE SUBSETP-MEMBER . 1))\n (4 2 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (4 2 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (2 2 (:TYPE-PRESCRIPTION VL2014::VL-MAYBE-MODULE-P))\n (2 2 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (2 2 (:REWRITE CDR-CONS))\n (2 1 (:REWRITE VL2014::VL-MAYBE-MODULE-P-WHEN-VL-MODULE-P))\n (1 1 (:REWRITE CAR-CONS))\n )\n(VL2014::VL-USELESS-PARAMS-MAP-P-OF-VL-MODULELIST-CLEAN-PARAMS-AUX.MAP\n (282 4 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (168 14 (:REWRITE DEFAULT-CAR))\n (98 4 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (86 4 (:REWRITE VL2014::VL-USELESS-PARAMS-MAP-P-WHEN-NOT-CONSP))\n (76 12 (:REWRITE DEFAULT-CDR))\n (68 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (46 46 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (46 46 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (46 23 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (40 40 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (34 17 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (32 4 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (23 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (23 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (23 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (23 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (23 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (23 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (23 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (23 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (23 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (23 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (23 23 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (23 23 (:REWRITE CONSP-BY-LEN))\n (23 1 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (23 1 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (21 5 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (20 1 (:REWRITE VL2014::PROMOTE-MEMBER-EQUAL-TO-MEMBERSHIP))\n (14 14 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (11 5 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (10 10 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (10 10 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (8 8 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (6 6 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (5 5 (:REWRITE SET::IN-SET))\n (5 1 (:REWRITE VL2014::VL-MODULE-P-WHEN-VL-MAYBE-MODULE-P))\n (5 1 (:REWRITE OMAP::MFIX-IMPLIES-MAPP))\n (5 1 (:REWRITE OMAP::MAPP-WHEN-NOT-EMPTY))\n (4 4 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (4 4 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (4 1 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (3 3 (:REWRITE SUBSETP-TRANS2))\n (3 3 (:REWRITE SUBSETP-TRANS))\n (2 2 (:TYPE-PRESCRIPTION VL2014::VL-MAYBE-MODULE-P))\n (2 2 (:TYPE-PRESCRIPTION OMAP::MFIX))\n (2 2 (:TYPE-PRESCRIPTION OMAP::EMPTY))\n (2 2 (:REWRITE CONSP-OF-CDDR-BY-LEN))\n (2 1 (:REWRITE VL2014::VL-MAYBE-MODULE-P-WHEN-VL-MODULE-P))\n (2 1 (:REWRITE OMAP::MFIX-WHEN-MAPP))\n (2 1 (:REWRITE OMAP::MAPP-NON-NIL-IMPLIES-NON-EMPTY))\n (1 1 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n )\n(VL2014::VL-MODULELIST-CLEAN-PARAMS-LOOP\n (15 15 (:TYPE-PRESCRIPTION |x < y => 0 < -x+y|))\n (1 1 (:REWRITE ZP-OPEN))\n (1 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(VL2014::VL-MODULELIST-P-OF-VL-MODULELIST-CLEAN-PARAMS-LOOP\n (243 4 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-FIRST-TWO-SAME-YADA-YADA))\n (107 6 (:REWRITE DEFAULT-CAR))\n (82 21 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (59 10 (:REWRITE DEFAULT-CDR))\n (59 4 (:REWRITE VL2014::SUBSETP-EQUAL-WHEN-CDR-ATOM))\n (56 3 (:REWRITE SUBSETP-WHEN-ATOM-RIGHT))\n (52 3 (:REWRITE SUBSETP-WHEN-ATOM-LEFT))\n (42 42 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (42 42 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (36 3 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (36 2 (:REWRITE VL2014::VL-MODULELIST-P-WHEN-NOT-CONSP))\n (21 21 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 2))\n (21 21 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-USELESS-PARAMS-MAP-P . 1))\n (20 1 (:REWRITE VL2014::VL-MODULELIST-ELIM-USELESS-PARAMS-WHEN-NOT-CONSP))\n (9 9 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (9 9 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 2))\n (9 9 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-MODITEM-ALIST-P . 1))\n (9 9 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (9 9 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (9 9 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (9 9 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (9 9 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (9 9 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (9 9 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (9 9 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (9 9 (:REWRITE CONSP-BY-LEN))\n (6 6 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (6 6 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (6 3 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (6 3 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (5 5 (:TYPE-PRESCRIPTION |x < y => 0 < -x+y|))\n (4 4 (:REWRITE SUBSETP-TRANS2))\n (4 4 (:REWRITE SUBSETP-TRANS))\n (3 3 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (3 3 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (3 3 (:REWRITE SET::IN-SET))\n (3 3 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (3 3 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (2 2 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (1 1 (:REWRITE ZP-OPEN))\n )\n(VL2014::VL-MODULELIST-CLEAN-PARAMS\n (1 1 (:TYPE-PRESCRIPTION VL2014::VL-MODULELIST-CLEAN-PARAMS))\n )\n(VL2014::VL-MODULELIST-P-OF-VL-MODULELIST-CLEAN-PARAMS\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-MODULELIST-CLEAN-PARAMS))\n )\n(VL2014::VL-DESIGN-CLEAN-PARAMS\n (11 11 (:TYPE-PRESCRIPTION VL2014::VL-MODULELIST-CLEAN-PARAMS))\n )\n(VL2014::VL-DESIGN-P-OF-VL-DESIGN-CLEAN-PARAMS)\n","avg_line_length":53.5572222222,"max_line_length":106,"alphanum_fraction":0.7054033588} +{"size":21309,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"; FGL - A Symbolic Simulation Framework for ACL2\n; Copyright (C) 2019 Centaur Technology\n;\n; Contact:\n; Centaur Technology Formal Verification Group\n; 7600-C N. Capital of Texas Highway, Suite 300, Austin, TX 78731, USA.\n; http:\/\/www.centtech.com\/\n;\n; License: (An MIT\/X11-style license)\n;\n; Permission is hereby granted, free of charge, to any person obtaining a\n; copy of this software and associated documentation files (the \"Software\"),\n; to deal in the Software without restriction, including without limitation\n; the rights to use, copy, modify, merge, publish, distribute, sublicense,\n; and\/or sell copies of the Software, and to permit persons to whom the\n; Software is furnished to do so, subject to the following conditions:\n;\n; The above copyright notice and this permission notice shall be included in\n; all copies or substantial portions of the Software.\n;\n; THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n; DEALINGS IN THE SOFTWARE.\n;\n; Original author: Sol Swords \n\n(in-package \"FGL\")\n\n(include-book \"std\/stobjs\/absstobjs\" :dir :system)\n(include-book \"std\/util\/define\" :dir :system)\n(include-book \"std\/basic\/arith-equiv-defs\" :dir :system)\n(local (include-book \"std\/basic\/arith-equivs\" :dir :system))\n(local (include-book \"std\/lists\/resize-list\" :dir :system))\n(local (in-theory (disable acl2::resize-list-when-atom\n nth update-nth\n resize-list)))\n\n(define fgarray-alistp (x)\n (if (atom x)\n t\n (and (consp (car x))\n (natp (caar x))\n (fgarray-alistp (cdr x))))\n \/\/\/\n (defthm fgarray-alistp-of-cdr\n (implies (fgarray-alistp x)\n (fgarray-alistp (cdr x))))\n\n (defthm fgarray-alistp-of-acons\n (implies (and (fgarray-alistp x)\n (consp pair)\n (natp (car pair)))\n (fgarray-alistp (cons pair x))))\n\n (defthm fgarray-alistp-of-append\n (implies (and (fgarray-alistp x)\n (fgarray-alistp y))\n (fgarray-alistp (append x y)))))\n\n\n(local\n (defthm car-of-hons-assoc-equal\n (implies (hons-assoc-equal k x)\n (equal (car (hons-assoc-equal k x)) k))))\n\n(define fgarrayp$a (x)\n :enabled t\n (fgarray-alistp x))\n\n(define fgarray-get$a ((i natp) (x fgarrayp$a))\n :enabled t\n (hons-assoc-equal (lnfix i) x))\n\n(define fgarray-set$a ((i natp) val (x fgarrayp$a))\n :enabled t\n (cons (cons (lnfix i) val) x))\n\n\n(define create-fgarray$a () nil)\n\n(define fgarray-max-key ((x fgarray-alistp))\n :Returns (max natp :rule-classes :type-prescription)\n :verify-guards nil\n (if (atom x)\n 0\n (if (mbt (And (consp (car x))\n (natp (caar x))))\n (max (+ 1 (caar x)) (fgarray-max-key (cdr x)))\n (fgarray-max-key (cdr x))))\n \/\/\/\n (verify-guards fgarray-max-key\n :hints ((\"goal\" :in-theory (enable fgarray-alistp))))\n\n (defthmd lookup-past-fgarray-max-key\n (implies (and (<= (fgarray-max-key x) i)\n (natp i))\n (not (hons-assoc-equal i x)))\n :hints((\"Goal\" :in-theory (enable fgarray-alistp))))\n\n (defthmd max-key-implies-lookup\n (implies (posp (fgarray-max-key x))\n (hons-assoc-equal (1- (fgarray-max-key x)) x))\n :hints((\"Goal\" :in-theory (enable fgarray-alistp)))))\n\n(local (in-theory (enable lookup-past-fgarray-max-key)))\n \n\n(define fgarray-compress$a-aux ((i natp) (max natp) (x fgarrayp$a))\n :guard (<= i max)\n :measure (nfix (- (nfix max) (nfix i)))\n :Returns (new-x fgarray-alistp)\n (if (mbe :logic (zp (- (nfix max) (nfix i)))\n :exec (eql i max))\n nil\n (let ((look (hons-assoc-equal (lnfix i) x)))\n (if look\n (cons look (fgarray-compress$a-aux (1+ (lnfix i)) max x))\n (fgarray-compress$a-aux (1+ (lnfix i)) max x))))\n \/\/\/\n (defthm lookup-in-fgarray-compress$a-aux\n (equal (hons-assoc-equal k (fgarray-compress$a-aux i max x))\n (and (natp k)\n (<= (nfix i) k)\n (< k (nfix max))\n (hons-assoc-equal k x))))\n\n (local\n (defthm fgarray-compress$a-aux-of-i-greater-than-max-key\n (implies (<= (fgarray-max-key x) (nfix i))\n (equal (fgarray-compress$a-aux i max x) nil))))\n\n (defthm fgarray-compress$a-aux-of-greater-than-max-key\n (implies (and (syntaxp (case-match max\n (('fgarray-max-key a) (not (equal a x)))\n (& t)))\n (<= (fgarray-max-key x) (nfix max)))\n (equal (fgarray-compress$a-aux i max x)\n (fgarray-compress$a-aux i (fgarray-max-key x) x)))))\n \n\n(define fgarray-compress$a ((x fgarrayp$a))\n :enabled t\n (fgarray-compress$a-aux 0 (fgarray-max-key x) x))\n\n(define fgarray->alist$a ((x fgarrayp$a))\n :enabled t\n x)\n\n(define fgarray-init$a ((size natp) (x fgarrayp$a))\n (declare (ignore x size))\n nil)\n\n(define maybe-nat-pair-p (x)\n (or (not x)\n (and (consp x)\n (natp (car x))))\n \/\/\/\n (defthm maybe-nat-pair-p-of-cons\n (implies (natp i)\n (maybe-nat-pair-p (cons i v)))))\n\n\n(defstobj fgarray$c\n (fgarray$c->data :type (array (and (or cons null)\n (satisfies maybe-nat-pair-p))\n (0)) :resizable t :initially nil)\n (fgarray$c->alist :type (satisfies fgarray-alistp) :initially nil)\n :inline t)\n \n(defun-sk fgarray$c-invariant (x)\n (forall i\n (equal (nth i (nth *fgarray$c->datai* x))\n (hons-assoc-equal (nfix i) (nth *fgarray$c->alist* x))))\n :rewrite :direct)\n\n(defthm fgarray$c-invariant-of-create-fgarray$c\n (fgarray$c-invariant (create-fgarray$c))\n :hints((\"Goal\" :in-theory (enable nth))))\n\n(defthm fgarray$c-invariant-of-empty\n (fgarray$c-invariant '(nil nil))\n :hints((\"Goal\" :in-theory (enable nth fgarray$c-invariant))))\n\n(local (in-theory (disable fgarray$c-invariant)))\n\n\n(local (defthm nth-past-len\n (implies (<= (len x) (nfix i))\n (equal (nth i x) nil))\n :hints((\"Goal\" :in-theory (enable nth)))))\n\n(define fgarray-get$c ((i natp) fgarray$c)\n (mbe :logic (fgarray$c->datai i fgarray$c)\n :exec (and (< i (fgarray$c->data-length fgarray$c))\n (fgarray$c->datai i fgarray$c)))\n \/\/\/\n (defthm fgarray-get$c-under-invariant\n (implies (fgarray$c-invariant fgarray$c)\n (equal (fgarray-get$c i fgarray$c)\n (hons-assoc-equal (nfix i) (fgarray$c->alist fgarray$c))))))\n\n(define fgarray-set$c ((i natp) val fgarray$c)\n (b* ((fgarray$c (let ((len (fgarray$c->data-length fgarray$c)))\n (if (< (lnfix i) len)\n fgarray$c\n (resize-fgarray$c->data\n (max (* 2 len) (+ 1 (lnfix i)))\n fgarray$c))))\n (pair (cons (lnfix i) val))\n (fgarray$c (update-fgarray$c->datai i pair fgarray$c)))\n (update-fgarray$c->alist (cons pair\n (fgarray$c->alist fgarray$c))\n fgarray$c))\n \/\/\/\n (defthm fgarray$c-invariant-of-fgarray-set$c\n (implies (fgarray$c-invariant fgarray$c)\n (fgarray$c-invariant (fgarray-set$c i val fgarray$c)))\n :hints((\"Goal\" :in-theory (disable fgarray$c-invariant\n fgarray$c-invariant-necc))\n (and stable-under-simplificationp\n (let ((lit (car (last clause))))\n `(:expand (,lit)\n :use ((:instance fgarray$c-invariant-necc\n (x fgarray$c)\n (i (fgarray$c-invariant-witness . ,(cdr lit))))))))))\n\n (defthm fgarray$c->alist-of-fgarray-set$c\n (equal (fgarray$c->alist (fgarray-set$c i val fgarray$c))\n (cons (cons (nfix i) val) (fgarray$c->alist fgarray$c)))))\n\n\n\n(local (defthm consp-nth-of-fgarray$c->datap\n (implies (fgarray$c->datap x)\n (iff (consp (nth n x))\n (nth n x)))\n :hints((\"Goal\" :in-theory (enable nth)))))\n\n(local (defthm append-take-nthcdr\n (implies (and (<= (nfix i) (len x))\n (true-listp x))\n (equal (append (take i x) (nthcdr i x))\n x))))\n\n(local (defthm associativity-of-append\n (equal (append (append a b) c)\n (append a b c))))\n\n(define fgarray-compress$c-aux ((i natp) fgarray$c (acc alistp))\n :guard (<= i (fgarray$c->data-length fgarray$c))\n :prepwork ((local (defthm nth-of-fgarray$c->datap\n (implies (And (fgarray$c->datap x)\n (nth i x))\n (and (consp (nth i x))\n (natp (car (nth i x)))))\n :hints((\"Goal\" :in-theory (enable fgarray$c->datap\n maybe-nat-pair-p\n nth))))))\n :returns (alist fgarray-alistp :hyp (and (fgarray$c->datap (nth *fgarray$c->datai* fgarray$c))\n (fgarray-alistp acc)))\n (if (zp i)\n acc\n (let* ((i (1- i))\n (elt (fgarray$c->datai i fgarray$c)))\n (fgarray-compress$c-aux\n i fgarray$c\n (mbe :logic (if (consp elt) (cons elt acc) acc)\n :exec (if elt (cons elt acc) acc)))))\n \/\/\/\n\n\n ;; (defthm fgarray-alistp-of-fgarray-compress$c-aux-when-fgarray$c-invariant\n ;; (implies (and (fgarray$c-invariant fgarray$c)\n ;; (fgarray-alistp acc))\n ;; (fgarray-alistp (fgarray-compress$c-aux i fgarray$c acc)))\n ;; :hints ((\"goal\" :induct (fgarray-compress$c-aux i fgarray$c acc)\n ;; :expand ((fgarray-compress$c-aux i fgarray$c acc)))))\n\n\n ;; (local (defthm nthcdr-of-take\n ;; (equal (nthcdr i (take (+ 1 (nfix i)) x))\n ;; (list (nth i x)))\n ;; :hints((\"Goal\" :in-theory (enable nth)))))\n ;; (local (defthm take-of-take\n ;; (implies (and (natp n) (natp m))\n ;; (equal (take n (take (+ n m) x))\n ;; (take n x)))))\n ;; (local (defthm expand-take-in-reverse\n ;; (implies (not (zp i))\n ;; (equal (take i x)\n ;; (append (take (+ -1 i) x)\n ;; (list (nth (+ -1 i) x)))))\n ;; :hints ((\"goal\" :use ((:instance append-take-nthcdr\n ;; (x (take i x))\n ;; (i (+ -1 i)))\n ;; (:instance nthcdr-of-take\n ;; (i (+ -1 i)))\n ;; (:instance take-of-take (n (1- i)) (m 1)))\n ;; :in-theory (disable append-take-nthcdr\n ;; nthcdr-of-take\n ;; take-of-take\n ;; take)))))\n\n (local (defthm fgarray-compress$a-aux-alt\n (equal (fgarray-compress$a-aux i max x)\n (if (zp (- (nfix max) (nfix i)))\n nil\n (append (fgarray-compress$a-aux i (1- (nfix max)) x)\n (let ((pair (hons-assoc-equal (1- (nfix max)) x)))\n (and pair (list pair))))))\n :hints((\"Goal\" :in-theory (enable fgarray-compress$a-aux)))\n :rule-classes :definition))\n\n (defthm fgarray-compress$c-aux-elim\n (implies (fgarray$c-invariant fgarray$c)\n (equal (fgarray-compress$c-aux i fgarray$c acc)\n (append (fgarray-compress$a-aux 0 i (nth *fgarray$c->alist* fgarray$c)) acc)))\n :hints ((\"goal\" :induct (fgarray-compress$c-aux i fgarray$c acc)))))\n\n\n\n\n;; (define collect-conses (x)\n;; :returns (new-x alistp)\n;; (if (atom x)\n;; nil\n;; (if (consp (car x))\n;; (cons (car x) (collect-conses (cdr x)))\n;; (collect-conses (cdr x))))\n;; \/\/\/\n;; (defthm collect-conses-of-append\n;; (equal (collect-conses (append x y))\n;; (append (collect-conses x)\n;; (collect-conses y))))\n\n;; (defthm collect-conses-of-true-list-fix\n;; (equal (collect-conses (true-list-fix x))\n;; (collect-conses x))\n;; :hints((\"Goal\" :in-theory (enable true-list-fix))))\n\n;; (defthm hons-assoc-equal-of-collect-conses\n;; (equal (hons-assoc-equal k (collect-conses x))\n;; (hons-assoc-equal k x)))\n\n;; (defthm fgarray-alistp-of-collect-conses\n;; (implies (fgarray$c->datap x)\n;; (fgarray-alistp (collect-conses x)))\n;; :hints((\"Goal\" :in-theory (enable fgarray-alistp maybe-nat-pair-p)))))\n\n\n;; (local (defthm len-of-take\n;; (equal (len (take n x))\n;; (nfix n))))\n\n\n;; (local (defthm take-of-len\n;; (equal (Take (len x) x)\n;; (true-list-fix x))\n;; :hints((\"Goal\" :in-theory (enable true-list-fix)))))\n\n\n\n;; (defthm fgarray$c-invariant-implies-data-keys\n;; (implies (and (fgarray$c-invariant fgarray$c)\n;; (nth i (nth *fgarray$c->datai* fgarray$c)))\n;; (equal (car (nth i (nth *fgarray$c->datai* fgarray$c)))\n;; (nfix i)))\n;; :hints ((\"goal\" :use ((:instance fgarray$c-invariant-necc\n;; (i (nfix i)) (x fgarray$c))))))\n\n;; (local\n;; (defthm nth-when-member\n;; (implies (member k x)\n;; (equal (nth (- (len x) (len (member k x))) x) k))\n;; :hints((\"Goal\" :in-theory (enable nth)))))\n\n;; (local\n;; (defthm member-of-hons-assoc-equal\n;; (implies (hons-assoc-equal k x)\n;; (member (hons-assoc-equal k x) x))))\n\n;; (local (defthm hons-assoc-equal-when-car-of-member\n;; (implies (and (member elt x)\n;; (consp elt))\n;; (hons-assoc-equal (car elt) x))))\n\n;; (local (defthm member-of-nth\n;; (implies (< (nfix i) (len x))\n;; (member (nth i x) x))\n;; :hints((\"Goal\" :in-theory (enable nth)))))\n\n;; (defthm fgarray$c-invariant-implies-hons-assoc-equal\n;; (implies (and (fgarray$c-invariant fgarray$c)\n;; (natp i))\n;; (equal (hons-assoc-equal i (nth *fgarray$c->datai* fgarray$c))\n;; (hons-assoc-equal i (nth *fgarray$c->alist* fgarray$c))))\n;; :hints ((\"goal\" :in-theory (disable ;; member-of-hons-assoc-equal\n;; nth-when-member\n;; member-of-nth\n;; fgarray$c-invariant-necc\n;; fgarray$c-invariant-implies-data-keys\n;; hons-assoc-equal-when-car-of-member\n;; ;; nth-past-len\n;; acl2::natp-when-integerp\n;; acl2::nfix-when-not-natp\n;; )\n;; :use ((:instance member-of-nth\n;; (x (nth *fgarray$c->datai* fgarray$c)))\n;; (:instance fgarray$c-invariant-necc\n;; (x fgarray$c))\n;; (:instance hons-assoc-equal-when-car-of-member\n;; (elt (nth i (nth *fgarray$c->datai* fgarray$c)))\n;; (x (nth *fgarray$c->datai* fgarray$c)))\n;; (:instance fgarray$c-invariant-implies-data-keys)\n;; (:instance fgarray$c-invariant-implies-data-keys\n;; (i (+\n;; (LEN (NTH *FGARRAY$C->DATAI* FGARRAY$C))\n;; (-\n;; (LEN\n;; (MEMBER-EQUAL (HONS-ASSOC-EQUAL I (NTH *FGARRAY$C->DATAI* FGARRAY$C))\n;; (NTH *FGARRAY$C->DATAI* FGARRAY$C)))))))\n;; (:instance nth-when-member\n;; (k (hons-assoc-equal i (nth *fgarray$c->datai* fgarray$c)))\n;; (x (nth *fgarray$c->datai* fgarray$c)))\n;; )))\n;; :otf-flg t)\n\n\n \n\n(define fgarray-compress$c (fgarray$c)\n (b* ((alist (fgarray-compress$c-aux (fgarray$c->data-length fgarray$c)\n fgarray$c nil)))\n (update-fgarray$c->alist alist fgarray$c))\n \/\/\/\n (defthm fgarray$c-invariant-of-fgarray-compress$c\n (implies (fgarray$c-invariant fgarray$c)\n (fgarray$c-invariant (fgarray-compress$c fgarray$c)))\n :hints ((and stable-under-simplificationp\n (let ((lit (car (last clause))))\n `(:expand (,lit)\n :in-theory (disable fgarray$c-invariant-necc)\n :use ((:instance fgarray$c-invariant-necc\n (x fgarray$c)\n (i (fgarray$c-invariant-witness . ,(cdr lit))))))))))\n \n (defthm len-gte-max-key\n (implies (fgarray$c-invariant fgarray$c)\n (<= (fgarray-max-key (nth *fgarray$c->alist* fgarray$c))\n (len (nth *fgarray$c->datai* fgarray$c))))\n :hints ((\"goal\" :use ((:instance max-key-implies-lookup\n (x (nth *fgarray$c->alist* fgarray$c)))\n (:instance fgarray$c-invariant-necc\n (x fgarray$c)\n (i (1- (fgarray-max-key (nth *fgarray$c->alist* fgarray$c))))))\n :in-theory (disable fgarray$c-invariant-necc))))\n\n (defthm fgarray$c->alist-of-fgarray-compress$c\n (implies (fgarray$c-invariant fgarray$c)\n (equal (fgarray$c->alist (fgarray-compress$c fgarray$c))\n (fgarray-compress$a (fgarray$c->alist fgarray$c))))))\n\n\n(define fgarray-init$c ((size natp) fgarray$c)\n (b* ((fgarray$c (resize-fgarray$c->data 0 fgarray$c))\n (fgarray$c (resize-fgarray$c->data size fgarray$c)))\n (update-fgarray$c->alist nil fgarray$c))\n \/\/\/\n (defthm fgarray$c-invariant-of-fgarray-init$c\n (fgarray$c-invariant (fgarray-init$c size fgarray$c))\n :hints((\"Goal\" :in-theory (enable fgarray$c-invariant))))\n\n (defthm fgarray$c->alist-of-fgarray-init$c\n (equal (fgarray$c->alist (fgarray-init$c size fgarray$c)) nil)))\n\n;; (define fgarray->alist$c (fgarray$c)\n;; :enabled t\n;; (fgarray$c->alist fgarray$c))\n\n\n(local (define fgarray-corr (fgarray$c fgarray$a)\n :enabled t\n :non-executable t\n :verify-guards nil\n (and (fgarray$c-invariant fgarray$c)\n (equal fgarray$a (fgarray$c->alist fgarray$c)))))\n\n(local (in-theory (disable fgarray$c->alist)))\n\n(acl2::defabsstobj-events fgarray\n :concrete fgarray$c\n :corr-fn fgarray-corr\n :recognizer (fgarrayp :exec fgarray$cp :logic fgarrayp$a)\n :creator (create-fgarray :exec create-fgarray$c :logic create-fgarray$a)\n :exports ((fgarray-get :exec fgarray-get$c :logic fgarray-get$a)\n (fgarray-set :exec fgarray-set$c :logic fgarray-set$a :protect t)\n (fgarray-compress :exec fgarray-compress$c :logic fgarray-compress$a :protect t)\n (fgarray-init :exec fgarray-init$c :logic fgarray-init$a :protect t)\n (fgarray->alist :exec fgarray$c->alist :logic fgarray->alist$a)))\n\n\n(defxdoc fgarray\n :parents (fgl-array-support)\n :short \"The abstract stobj interface on which FGL's array support is based\"\n :long \"

An @('fgarray') is an abstract stobj whose logical form is an\nalist with natural number keys and whose implementation uses an array for fast\nlookups. The fgarray interface is used in FGL for fast array access during rewriting.<\/p>\n\n

The supported interface functions are the following:<\/p>\n\n

    \n\n
  • @('(fgarray-get i fgarray)') gets the key\/value pair associated with index\n@('i'), or @('nil') if it doesn't exist. Logically equal to\n@('(hons-assoc-equal (nfix i) fgarray)').<\/li>\n\n
  • @('(fgarray-set i val fgarray)') sets the key @('i') to value @('val');\nlogically equal to @('(cons (cons (nfix i) val) fgarray)').<\/li>\n\n
  • @('(fgarray-compress fgarray)') rearranges the alist representation so that\nthe keys are in order with no duplicates.<\/li>\n\n
  • @('(fgarray-init size fgarray)') empties the fgarray and sets its backing\narray to the given size; logically equal to @('nil').<\/li>\n\n
  • @('(fgarray->alist fgarray)') returns the alist object of the fgarray.<\/li>\n<\/ul>\n\n

    The stobj creator function is @('(create-fgarray)'), but as with all stobjs,\nthis can only be invoked indirectly using @(see with-local-stobj).<\/p>\n\n

    Implementation note: The implementation of the fgarray builds a real alist\nequal to the logical representation. This is unnecessary for standalone use\nand is done so that FGL can ensure that the stobj storing the fgarray data is\ncorrectly in sync with the symbolic object representation. Thus if all you\nwant is a stobj array that is logically represented as an alist, it would be\nbetter to define a different abstract stobj without this feature.<\/p>\")\n\n","avg_line_length":39.2430939227,"max_line_length":98,"alphanum_fraction":0.5441362804} +{"size":6156,"ext":"lsp","lang":"Common Lisp","max_stars_count":1.0,"content":"(INV-P-P-IMPLIES-SUFF-PROC\n (133 7\n (:REWRITE MY-SUBSETP-PREVIOUS-REDUCTION))\n (83 83\n (:REWRITE LEXICOGRAPHIC-POS-IMPLIES-EVERYTHING-<-CAR-QUEUE))\n (83 83\n (:REWRITE DISJOINT-IMPLIES-ONE-NOT-MEMBER-SYMMETRIC))\n (83 83\n (:REWRITE DISJOINT-IMPLIES-ONE-NOT-MEMBER))\n (70 70 (:REWRITE DEFAULT-CAR))\n (61 61 (:REWRITE DEFAULT-CDR))\n (39 39 (:REWRITE MY-SUBSETP-IS-TRANSITIVE))\n (30 2\n (:REWRITE NOT-MEMBERP-PREVIOUS-REDUCTION))\n (21 11 (:REWRITE DEFAULT-+-2))\n (19 16 (:REWRITE DEFAULT-<-1))\n (17 16 (:REWRITE DEFAULT-<-2))\n (14 14\n (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (11 11 (:REWRITE DEFAULT-+-1))\n (2 2\n (:REWRITE LEXICOGRAPHIC-POS-LEX<-REDUCTION)))\n(INDUCT-ON-KEYS\n (6 1 (:DEFINITION MEMBERP))\n (4 1 (:DEFINITION INV-P-KEYS))\n (2 2\n (:REWRITE LEXICOGRAPHIC-POS-IMPLIES-EVERYTHING-<-CAR-QUEUE))\n (2 2\n (:REWRITE DISJOINT-IMPLIES-ONE-NOT-MEMBER-SYMMETRIC))\n (2 2\n (:REWRITE DISJOINT-IMPLIES-ONE-NOT-MEMBER))\n (2 2 (:REWRITE DEFAULT-CDR))\n (2 2 (:REWRITE DEFAULT-CAR)))\n(INV-P-KEYS-TO-CAR-QUEUE-IF-SUBSET\n (30 5 (:DEFINITION MEMBERP))\n (14 14 (:REWRITE DEFAULT-CAR))\n (12 12 (:REWRITE DEFAULT-CDR))\n (12 3 (:DEFINITION INV-P-KEYS))\n (10 10\n (:REWRITE LEXICOGRAPHIC-POS-IMPLIES-EVERYTHING-<-CAR-QUEUE))\n (10 10\n (:REWRITE DISJOINT-IMPLIES-ONE-NOT-MEMBER-SYMMETRIC))\n (10 10\n (:REWRITE DISJOINT-IMPLIES-ONE-NOT-MEMBER))\n (8 8 (:REWRITE MY-SUBSETP-IS-TRANSITIVE)))\n(INV-B-C-SUFFICIENT->>\n (158 6 (:DEFINITION ORDEREDP))\n (108 4 (:REWRITE ORDERED-IMPLIES-UNIQUE))\n (86 22 (:REWRITE <<-TRICHOTOMY))\n (82 2 (:DEFINITION UNIQUEP))\n (58 10 (:REWRITE <<-ASYMMETRIC))\n (56 56 (:TYPE-PRESCRIPTION <<))\n (54 54 (:REWRITE DEFAULT-CDR))\n (48 48 (:REWRITE DEFAULT-CAR))\n (32 4 (:DEFINITION MY-SUBSETP))\n (30 6 (:REWRITE LEX<-TOTAL))\n (27 3 (:REWRITE LEX<-ASYMMETRIC))\n (22 22 (:REWRITE <<-TRANSITIVE))\n (20 2 (:DEFINITION LEGAL-STATUS-LISTP))\n (16 2 (:DEFINITION CHOOSING-POS))\n (14 12 (:REWRITE DEFAULT-<-1))\n (12 12 (:REWRITE DEFAULT-<-2))\n (12 2 (:DEFINITION Q>\n (158 6 (:DEFINITION ORDEREDP))\n (108 4 (:REWRITE ORDERED-IMPLIES-UNIQUE))\n (86 22 (:REWRITE <<-TRICHOTOMY))\n (82 2 (:DEFINITION UNIQUEP))\n (64 6 (:DEFINITION MY-SUBSETP))\n (58 58 (:REWRITE DEFAULT-CDR))\n (58 10 (:REWRITE <<-ASYMMETRIC))\n (56 56 (:TYPE-PRESCRIPTION <<))\n (52 52 (:REWRITE DEFAULT-CAR))\n (30 6 (:REWRITE LEX<-TOTAL))\n (27 3 (:REWRITE LEX<-ASYMMETRIC))\n (24 4 (:DEFINITION MEMBERP))\n (22 22 (:REWRITE <<-TRANSITIVE))\n (20 2 (:DEFINITION LEGAL-STATUS-LISTP))\n (16 2 (:DEFINITION CHOOSING-POS))\n (14 12 (:REWRITE DEFAULT-<-1))\n (12 12\n (:REWRITE LEXICOGRAPHIC-POS-IMPLIES-EVERYTHING-<-CAR-QUEUE))\n (12 12\n (:REWRITE DISJOINT-IMPLIES-ONE-NOT-MEMBER-SYMMETRIC))\n (12 12\n (:REWRITE DISJOINT-IMPLIES-ONE-NOT-MEMBER))\n (12 12 (:REWRITE DEFAULT-<-2))\n (12 2 (:DEFINITION Q\n\n;;; Temporary package and module stuff \n\n(in-package \"CCL\")\n\n(require \"COCOA\")\n\n\n;;; Define the DemoView class \n\n(defclass demo-view (ns:ns-view)\n ()\n (:metaclass ns:+ns-object))\n\n\n;;; Define the drawRect: method for DemoView \n;;; NOTE: The (THE NS-COLOR ...) forms are currently necessary for full\n;;; optimization because the SET message has a nonunique type signature \n;;; NOTE: This will be replaced by a DEFMETHOD once ObjC objects have been\n;;; integrated into CLOS\n;;; NOTE: The (@class XXX) forms will probably be replaced by \n;;; (find-class 'XXX) once ObjC objects have been integrated into CLOS\n\n(defconstant short-pi (coerce pi 'short-float))\n(defconstant numsides 12)\n\n(objc:defmethod (#\/drawRect: :void) ((self demo-view) (rect :ect))\n (declare (ignorable rect))\n (let* ((bounds (#\/bounds self))\n (width (ns:ns-rect-width bounds))\n (height (ns:ns-rect-height bounds)))\n (macrolet ((X (tt) `(* (1+ (sin ,tt)) width 0.5))\n (Y (tt) `(* (1+ (cos ,tt)) height 0.5)))\n ;; Fill the view with white\n (#\/set (#\/whiteColor ns:ns-color))\n (#_NSRectFill bounds)\n ;; Trace two polygons with N sides and connect all of the vertices \n ;; with lines\n (#\/set (#\/blackColor ns:ns-color))\n (loop \n for f from 0.0 below (* 2 short-pi) by (* 2 (\/ short-pi numsides))\n do\n (loop \n for g from 0.0 below (* 2 short-pi) by (* 2 (\/ short-pi numsides))\n do\n (#\/strokeLineFromPoint:toPoint: ns:ns-bezier-path (ns:make-ns-point (X f) (Y f)) (ns:make-ns-point (X g) (Y g))))))))\n\n\n;;; This performs the actions that would normally be performed by loading\n;;; a nib file. \n\n(defun tiny-setup ()\n (with-autorelease-pool\n (let* ((r (ns:make-ns-rect 100 350 400 400))\n (w (make-instance \n\t\t 'ns:ns-window\n\t\t :with-content-rect r\n\t\t :style-mask (logior #$NSTitledWindowMask \n\t\t\t\t #$NSClosableWindowMask \n\t\t\t\t #$NSMiniaturizableWindowMask)\n\t\t :backing #$NSBackingStoreBuffered\n\t\t :defer t)))\n (#\/setTitle: w #@\"Tiny Window Application\")\n (let ((my-view (make-instance 'demo-view :with-frame r)))\n (#\/setContentView: w my-view)\n (#\/setDelegate: w my-view))\n (#\/performSelectorOnMainThread:withObject:waitUntilDone:\n w (objc:@selector \"makeKeyAndOrderFront:\") nil nil)\n w)))\n\n\n;;; Neither the windowWillClose method nor the main from the original Tiny\n;;; application is necessary here ","avg_line_length":36.4395604396,"max_line_length":127,"alphanum_fraction":0.6414354644} +{"size":2140,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"; RTL - A Formal Theory of Register-Transfer Logic and Computer Arithmetic \n; Copyright (C) 1995-2013 Advanced Mirco Devices, Inc. \n;\n; Contact:\n; David Russinoff\n; 1106 W 9th St., Austin, TX 78703\n; http:\/\/www.russsinoff.com\/\n;\n; This program is free software; you can redistribute it and\/or modify it under\n; the terms of the GNU General Public License as published by the Free Software\n; Foundation; either version 2 of the License, or (at your option) any later\n; version.\n;\n; This program is distributed in the hope that it will be useful but WITHOUT ANY\n; WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n; PARTICULAR PURPOSE. See the GNU General Public License for more details.\n;\n; You should have received a copy of the GNU General Public License along with\n; this program; see the file \"gpl.txt\" in this directory. If not, write to the\n; Free Software Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA\n; 02110-1335, USA.\n;\n; Author: David M. Russinoff (david@russinoff.com)\n\n(in-package \"ACL2\")\n\n(local (include-book \"lop1-proofs\"))\n(include-book \"merge\") ;BOZO drop\n\n(defund lop (a b d k)\n (let ((c (- (bitn a (1- k)) (bitn b (1- k)))))\n (if (and (integerp k) (>= k 0))\n\t(if (= k 0)\n\t 0\n\t (if (= d 0)\n\t (lop a b c (1- k))\n\t (if (= d (- c))\n\t\t(lop a b (- c) (1- k))\n\t k)))\n 0)))\n\n(defthm LOP-MOD\n (implies (and (integerp a)\n (>= a 0)\n (integerp b)\n (>= b 0)\n (integerp d)\n (integerp j)\n (>= j 0)\n (integerp k)\n (>= k j))\n (= (lop a b d j)\n (lop (mod a (expt 2 k)) (mod b (expt 2 k)) d j)))\n :rule-classes ())\n\n(defthm LOP-BNDS\n (implies (and (integerp a)\n (integerp b)\n (integerp n)\n (>= a 0)\n (>= b 0)\n (>= n 0)\n (not (= a b))\n (< a (expt 2 n))\n (< b (expt 2 n)))\n (or (= (lop a b 0 n) (expo (- a b)))\n (= (lop a b 0 n) (1+ (expo (- a b))))))\n :rule-classes ())\n\n","avg_line_length":30.5714285714,"max_line_length":81,"alphanum_fraction":0.5369158879} +{"size":2062,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"; Theorems about ALL-VARS (and ALL-VARS1)\n;\n; Copyright (C) 2016 Kestrel Institute (http:\/\/www.kestrel.edu)\n;\n; License: A 3-clause BSD license. See the LICENSE file distributed with ACL2.\n;\n; Author: Eric Smith (eric.smith@kestrel.edu)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(in-package \"ACL2\")\n\n(include-book \"tools\/flag\" :dir :system)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defxdoc theorems-about-all-vars\n :parents (theorems-about-non-kestrel-books system-utilities)\n :short \"Theorems about @(tsee all-vars).\"\n :long\n \"

    \n See the file for lemmas about @('all-vars1').\n <\/p>\n @(def symbol-listp-of-all-vars)\n @(def true-listp-of-all-vars)\")\n\n;;; Theorems about all-vars1\n\n(make-flag all-vars1)\n\n(defthm-flag-all-vars1\n (defthm true-listp-of-all-vars1\n (equal (true-listp (all-vars1 term ans))\n (true-listp ans))\n :flag all-vars1)\n (defthm true-listp-of-all-vars1-lst\n (equal (true-listp (all-vars1-lst lst ans))\n (true-listp ans))\n :flag all-vars1-lst))\n\n(defthm true-listp-of-all-vars1-type\n (implies (true-listp ans)\n (true-listp (all-vars1 term ans)))\n :rule-classes :type-prescription)\n\n(defthm true-listp-of-all-vars1-lst-type\n (implies (true-listp ans)\n (true-listp (all-vars1-lst term ans)))\n :rule-classes :type-prescription)\n\n(defthm-flag-all-vars1\n (defthm symbol-listp-of-all-vars1\n (implies (pseudo-termp term)\n (equal (symbol-listp (all-vars1 term ans))\n (symbol-listp ans)))\n :flag all-vars1)\n (defthm symbol-listp-of-all-vars1-lst\n (implies (pseudo-term-listp lst)\n (equal (symbol-listp (all-vars1-lst lst ans))\n (symbol-listp ans)))\n :flag all-vars1-lst))\n\n;;; Theorems about all-vars\n\n(defthm symbol-listp-of-all-vars\n (implies (pseudo-termp term)\n (symbol-listp (all-vars term))))\n\n(defthm true-listp-of-all-vars\n (true-listp (all-vars term))\n :rule-classes (:rewrite :type-prescription))\n","avg_line_length":28.6388888889,"max_line_length":80,"alphanum_fraction":0.5989330747} +{"size":638,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(cl:in-package dbw_mkz_msgs-msg)\n(cl:export '(HEADER-VAL\n HEADER\n STEERING_WHEEL_ANGLE-VAL\n STEERING_WHEEL_ANGLE\n STEERING_WHEEL_ANGLE_CMD-VAL\n STEERING_WHEEL_ANGLE_CMD\n STEERING_WHEEL_TORQUE-VAL\n STEERING_WHEEL_TORQUE\n SPEED-VAL\n SPEED\n ENABLED-VAL\n ENABLED\n OVERRIDE-VAL\n OVERRIDE\n TIMEOUT-VAL\n TIMEOUT\n FAULT_WDC-VAL\n FAULT_WDC\n FAULT_BUS1-VAL\n FAULT_BUS1\n FAULT_BUS2-VAL\n FAULT_BUS2\n FAULT_CALIBRATION-VAL\n FAULT_CALIBRATION\n))","avg_line_length":24.5384615385,"max_line_length":38,"alphanum_fraction":0.5611285266} +{"size":377,"ext":"lisp","lang":"Common Lisp","max_stars_count":139.0,"content":"(in-package #:cl-user)\n\n(ql:quickload :lispkit)\n\n#+sbcl\n(sb-ext:save-lisp-and-die \"lispkit\" :toplevel #'lispkit:do-main :executable t)\n\n#+clisp\n(ext:saveinitmem \"lispkit\" :init-function (lambda ()\n (lispkit:main)\n (ext:quit))\n :executable t :keep-global-handlers t :norc t)\n\n","avg_line_length":26.9285714286,"max_line_length":78,"alphanum_fraction":0.5092838196} +{"size":41834,"ext":"lisp","lang":"Common Lisp","max_stars_count":305.0,"content":"#|-*-Lisp-*-=================================================================|#\n#| |#\n#| coi: Computational Object Inference |#\n#| |#\n#|===========================================================================|#\n(in-package \"ACL2\")\n\n(include-book \"defxch\")\n(include-book \"defpun\")\n\n(defun o () 1)\n(defun inx (x m)\n (declare (ignore x))\n (+ 1 (nfix m)))\n\n(defmacro defminterm-1-arg (fn fn-test fn-base fn-step)\n\n (let ((fn-minterm (packn-pos (list fn \"_MINTERM\") fn))\n\t(fn-minterm-term (packn-pos (list fn \"_MINTERM_TERM\") fn))\n\t(fn-measure (packn-pos (list fn \"_MEASURE\") fn))\n\t(fn-terminates (packn-pos (list fn \"_TERMINATES\") fn))\n\t(fn-terminates-type (packn-pos (list fn \"_TERMINATES_TYPE\") fn))\n\t)\n\n `(encapsulate\n ()\n\n (set-ignore-ok t)\n (set-irrelevant-formals-ok t)\n\n (defxch-aux ,fn-minterm inx o natp ,fn-test ,fn-base ,fn-step)\n\n (defun ,fn-measure (x)\n\t(nfix (,fn-minterm x)))\n\n (defun ,fn-terminates (x)\n\t(,fn-minterm-term x))\n\n (defthm ,fn-terminates-type\n\t(booleanp (,fn-terminates x)))\n\n (in-theory\n (disable\n\t(,fn-terminates)\n\t(,fn-measure)\n\t))\n\n (defthm ,(packn-pos (list \"OPEN_\" fn \"_MEASURE\") fn)\n\t(implies (,fn-terminates kst)\n\t\t (and\n\t\t (implies\n\t\t (not (,fn-test kst))\n\t\t (equal (,fn-measure kst)\n\t\t\t (+ 1 (,fn-measure (,fn-step kst)))))\n\t\t (implies\n\t\t (,fn-test kst)\n\t\t (equal (,fn-measure kst) (o)))))\n\t:hints ((\"Goal\" :in-theory (disable ,(packn-pos (list fn-minterm \"_TERM_PROP\") fn-minterm)))))\n\n (defthm ,(packn-pos (list \"OPEN_\" fn \"_TERMINATES\") fn)\n\t(and (implies (not (,fn-test kst))\n\t\t (iff (,fn-terminates kst)\n\t\t\t (,fn-terminates (,fn-step kst))))\n\t (implies (,fn-test kst)\n\t\t (,fn-terminates kst)))\n\t:hints ((\"Goal\" :in-theory '(,(packn-pos (list fn-minterm \"_TERM_PROP\") fn-minterm)\n\t\t\t\t ,fn-terminates))))\n\n (in-theory (disable ,fn-measure ,fn-terminates))\n\n )\n ))\n\n(defmacro minterm (fn type &rest args)\n (declare (ignore type args)\n\t (xargs :guard (equal (len args) 1)))\n (let ((fn-test (packn-pos (list fn \"_TEST\") fn))\n\t(fn-base (packn-pos (list fn \"_BASE\") fn))\n\t(fn-step (packn-pos (list fn \"_STEP1\") fn)))\n `(defminterm-1-arg ,fn ,fn-test ,fn-base ,fn-step)))\n\n(defun unbundle (args list)\n (if (consp args)\n (cons `(,(car args) (car ,list))\n\t (unbundle (cdr args) `(cdr ,list)))\n nil))\n\n(defun args-syntax-guard (args)\n (if (consp args)\n (cons `(or (symbolp ,(car args)) (quotep ,(car args)))\n\t (args-syntax-guard (cdr args)))\n nil))\n\n(defun generate-open-theorems (fn fn-test fn-terminates fn-step-1 args head tail)\n (declare (xargs :mode :program))\n (if (consp head)\n (let ((arg (car head)))\n\t(cons\n\t `(defthmd ,(packn-pos (list \"OPEN_\" fn \"_TERMINATES_\" arg) fn)\n\t (implies\n\t (syntaxp (and ,@(args-syntax-guard (append (cdr head) tail))))\n\t (and (implies (not (,fn-test ,@args))\n\t\t\t (iff (,fn-terminates ,@args)\n\t\t\t\t(let ,(unbundle args `(,fn-step-1 (list ,@args)))\n\t\t\t\t (,fn-terminates ,@args))))\n\t\t (implies (,fn-test ,@args)\n\t\t\t (,fn-terminates ,@args)))))\n\t (generate-open-theorems fn fn-test fn-terminates fn-step-1 args (cdr head) (cons arg tail))))\n nil))\n\n(defmacro defminterm-n-args (fn args test base step)\n\n (let* ((fn-test (packn-pos (list fn \"TEST_BODY\") fn))\n\t (fn-base (packn-pos (list fn \"BASE_BODY\") fn))\n\t (fn-step (packn-pos (list fn \"STEP_BODY\") fn))\n\t (fn-1 (packn-pos (list fn \"_1\") fn))\n\t (fn-test-1 (packn-pos (list fn-test \"_1\") fn))\n\t (fn-test-1-type (packn-pos (list fn-test \"_1_TYPE\") fn))\n\t (fn-base-1 (packn-pos (list fn-base \"_1\") fn))\n\t (fn-step-1 (packn-pos (list fn-step \"_1\") fn))\n\t (fn-measure (packn-pos (list fn \"_MEASURE\") fn))\n\t (fn-1-measure (packn-pos (list fn \"_1_MEASURE\") fn))\n\t (fn-terminates (packn-pos (list fn \"_TERMINATES\") fn))\n\t (fn-terminates-type (packn-pos (list fn \"_TERMINATES_TYPE\") fn))\n\t (fn-1-terminates (packn-pos (list fn \"_1_TERMINATES\") fn))\n\t )\n\n `(encapsulate\n ()\n\n (set-ignore-ok t)\n (set-irrelevant-formals-ok t)\n\n (defun ,fn-base-1 (list)\n\t(let ,(unbundle args 'list)\n\t ,base))\n\n (defun ,fn-test-1 (list)\n\t(let ,(unbundle args 'list)\n\t ,test))\n\n (defthm ,fn-test-1-type\n\t(booleanp (,fn-test-1 list)))\n\n (defun ,fn-step-1 (list)\n\t(let ,(unbundle args 'list)\n\t ,step))\n\n (defun ,fn-base (,@args)\n\t(,fn-base-1 (list ,@args)))\n\n (defun ,fn-test (,@args)\n\t(,fn-test-1 (list ,@args)))\n\n (defun ,fn-step (,@args)\n\t(,fn-step-1 (list ,@args)))\n\n (defminterm-1-arg ,fn-1 ,fn-test-1 ,fn-base-1 ,fn-step-1)\n\n (defun ,fn-measure (,@args)\n\t(,fn-1-measure (list ,@args)))\n\n (defun ,fn-terminates (,@args)\n\t(,fn-1-terminates (list ,@args)))\n\n (defthm ,fn-terminates-type\n\t(booleanp (,fn-terminates ,@args)))\n\n (defthm ,(packn-pos (list \"OPEN_\" fn \"_MEASURE\") fn)\n\t(implies (,fn-terminates ,@args)\n\t\t (and\n\t\t (implies\n\t\t (not (,fn-test ,@args))\n\t\t (equal (,fn-measure ,@args)\n\t\t\t (let ,(unbundle args `(,fn-step-1 (list ,@args)))\n\t\t\t (+ 1 (,fn-measure ,@args)))))\n\t\t (implies\n\t\t (,fn-test ,@args)\n\t\t (equal (,fn-measure ,@args) (o))))))\n\n (defthmd ,(packn-pos (list \"OPEN_\" fn \"_MEASURE!\") fn)\n\t(implies (and\n\t\t (,fn-terminates ,@args)\n\t\t (syntaxp (and ,@(args-syntax-guard args))))\n\t\t (equal (,fn-measure ,@args)\n\t\t\t(if (,fn-test ,@args) (o)\n\t\t\t (let ,(unbundle args `(,fn-step-1 (list ,@args)))\n\t\t\t (+ 1 (,fn-measure ,@args))))))\n\t:hints ((\"Goal\" :in-theory '(,(packn-pos (list \"OPEN_\" fn \"_MEASURE\") fn)))))\n\n (defthm ,(packn-pos (list \"OPEN_\" fn \"_TERMINATES\") fn)\n\t(implies\n\t (syntaxp (and ,@(args-syntax-guard args)))\n\t (and (implies (not (,fn-test ,@args))\n\t\t (iff (,fn-terminates ,@args)\n\t\t\t (let ,(unbundle args `(,fn-step-1 (list ,@args)))\n\t\t\t (,fn-terminates ,@args))))\n\t (implies (,fn-test ,@args)\n\t\t (,fn-terminates ,@args)))))\n\n ,@(if (< 1 (len args))\n\t (generate-open-theorems fn fn-test fn-terminates fn-step-1 args args nil)\n\t nil)\n\n (defthmd ,(packn-pos (list \"OPEN_\" fn \"_TERMINATES!\") fn)\n\t(and (implies (not (,fn-test ,@args))\n\t\t (iff (,fn-terminates ,@args)\n\t\t\t (let ,(unbundle args `(,fn-step-1 (list ,@args)))\n\t\t\t (,fn-terminates ,@args))))\n\t (implies (,fn-test ,@args)\n\t\t (,fn-terminates ,@args))))\n\n (in-theory (disable ,fn-measure ,fn-terminates))\n\n )))\n\n(defun if-formp (form)\n (declare (type t form))\n (if (consp form)\n (if (equal (car form) 'if)\n\t (and (consp (cdr form))\n\t (consp (cddr form))\n\t (consp (cdddr form))\n\t (null (cddddr form)))\n\t(if (equal (car form) 'let)\n\t (and (consp (cdr form))\n\t\t (consp (cddr form))\n\t\t (null (cdddr form))\n\t\t (if-formp (caddr form)))\n\t t))\n nil))\n\n;;\n;; Some number of let's followed by an \"if\"\n;;\n\n(defun if-test (form)\n (declare (type (satisfies if-formp) form))\n (if (consp form)\n (if (equal (car form) 'if)\n\t (cadr form)\n\t(if (equal (car form) 'let)\n\t `(let ,(cadr form)\n\t ,(if-test (caddr form)))\n\t nil))\n nil))\n\n(defun if-base (form)\n (declare (type (satisfies if-formp) form))\n (if (consp form)\n (if (equal (car form) 'if)\n\t (caddr form)\n\t(if (equal (car form) 'let)\n\t `(let ,(cadr form)\n\t ,(if-base (caddr form)))\n\t nil))\n nil))\n\n(defun if-body (form)\n (declare (type (satisfies if-formp) form))\n (if (consp form)\n (if (equal (car form) 'if)\n\t (cadddr form)\n\t(if (equal (car form) 'let)\n\t `(let ,(cadr form)\n\t ,(if-body (caddr form)))\n\t nil))\n nil))\n\n(defun contains-fapp-rec (fn args form)\n (declare (type t form))\n (if (consp form)\n (if args\n \t (or (contains-fapp-rec fn nil (car form))\n\t (contains-fapp-rec fn t (cdr form)))\n\t(or (equal fn (car form))\n\t (contains-fapp-rec fn t (cdr form))))\n nil))\n\n(defmacro contains-fapp (fn form)\n `(contains-fapp-rec ,fn nil ,form))\n\n(defun wf-measure-body (fn form)\n (declare (type t form))\n (and (if-formp form)\n (not (iff (contains-fapp fn (if-base form))\n\t\t (contains-fapp fn (if-body form))))))\n\n(defun remap-fn-rec (fn fn* args form)\n (declare (type (satisfies true-listp) fn*))\n (if (consp form)\n (if args\n\t (cons (remap-fn-rec fn fn* nil (car form))\n\t\t(remap-fn-rec fn fn* t (cdr form)))\n\t(if (equal fn (car form))\n\t (append fn* (remap-fn-rec fn fn* t (cdr form)))\n\t (cons (car form) (remap-fn-rec fn fn* t (cdr form)))))\n form))\n\n(defmacro remap-fn (fn fn* form)\n `(remap-fn-rec ,fn ,fn* nil ,form))\n\n(defun replace-fn-rec (fn term args form)\n (declare (type t form))\n (if (consp form)\n (if args\n\t (cons (replace-fn-rec fn term nil (car form))\n\t\t(replace-fn-rec fn term t (cdr form)))\n\t(if (equal fn (car form))\n\t term\n\t (cons (car form) (replace-fn-rec fn term t (cdr form)))))\n form))\n\n(defmacro replace-fn (fn term form)\n `(replace-fn-rec ,fn ,term nil ,form))\n\n(defun map-replace-fn (fn list body)\n (declare (type t fn list body))\n (if (consp list)\n (cons\n (replace-fn fn (car list) body)\n (map-replace-fn fn (cdr list) body))\n nil))\n\n(defthm true-listp-map-replace-fn\n (true-listp (map-replace-fn fn list body)))\n\n(defun extract-fn (fn args form)\n (declare (type t form))\n (if (consp form)\n (if args\n\t (or (extract-fn fn nil (car form))\n\t (extract-fn fn t (cdr form)))\n\t(if (equal fn (car form)) form\n\t (extract-fn fn t (cdr form))))\n form))\n\n(defun push-lets (fn body)\n (declare (type t fn body))\n (let ((fcall (extract-fn fn nil body)))\n (if (consp fcall)\n\t`(,fn ,@(map-replace-fn fn (cdr fcall) body))\n `(,fn))))\n\n(defun test-base-body (fn form)\n (declare (type (satisfies if-formp) form))\n (let ((body (if-body form)))\n (if (contains-fapp fn body)\n\t(mv `(not (not ,(if-test form))) (if-base form) body)\n (mv `(not ,(if-test form)) body (if-base form)))))\n\n(defun pun-form (fn form)\n (declare (type (satisfies if-formp) form))\n (let ((body (if-body form)))\n (if (contains-fapp fn body)\n\t(let ((test (if-test form))\n\t (base (if-base form))\n\t (body (push-lets fn body)))\n\t `(if ,test ,base ,body))\n (let ((test `(not ,(if-test form)))\n\t (base body)\n\t (body (push-lets fn (if-base form))))\n\t`(if ,test ,base ,body)))))\n\n(defun first-list (list)\n (declare (type t list))\n (if (consp list)\n (if (consp (cdr list))\n\t (cons (car list) (first-list (cdr list)))\n\tnil)\n nil))\n\n; (declare (xargs :guard (wf-measure-body fn form)))\n\n(defun contains-guard-declaration-rec (decl)\n (declare (type t decl))\n (if (consp decl)\n (if (consp (car decl))\n\t (or (equal (caar decl) 'type)\n\t (contains-guard-declaration-rec (cdr decl)))\n\t(contains-guard-declaration-rec (cdr decl)))\n nil))\n\n(defun contains-guard-declaration (decl)\n (declare (type t decl))\n (and (consp decl)\n (equal (car decl) 'declare)\n (contains-guard-declaration-rec (cdr decl))))\n\n(defun contain-guard-declarations (decls)\n (declare (type t decls))\n (if (consp decls)\n (or (contains-guard-declaration (car decls))\n\t (contain-guard-declarations (cdr decls)))\n nil))\n\n(defmacro defminterm (fn args &rest term)\n (let ((form (car (last term)))\n\t(decls (first-list term)))\n (let ((guards (contain-guard-declarations decls)))\n (mv-let (test base body) (test-base-body fn form)\n\t (let ((step (remap-fn fn `(list) body)))\n\t\t(let ((fn-terminates (packn-pos (list fn \"_TERMINATES\") fn))\n\t\t (fn-measure (packn-pos (list fn \"_MEASURE\") fn))\n\t\t ;(fn-step-1 (packn-pos (list fn \"STEP_BODY_1\") fn))\n\t\t (fn-x (packn-pos (list fn \"_EXECUTION\") fn))\n\t\t (fn-x-nt (packn-pos (list fn \"_EXECUTION_NON_TERMINATING\") fn))\n\t\t (fn-x-to-fn (packn-pos (list fn \"_EXECUTION_TO_\" fn) fn))\n\t\t (open-fn-terminates (packn-pos (list \"OPEN_\" fn \"_TERMINATES\") fn))\n\t\t (open-fn-measure! (packn-pos (list \"OPEN_\" fn \"_MEASURE!\") fn))\n\t\t (open-fn-rec-term (packn-pos (list \"OPEN_\" fn \"_REC_TERM\") fn))\n\t\t )\n\t\t (let ((body-x (remap-fn fn `(,fn-x _base_case_) body)))\n\t\t `(encapsulate\n\t\t\t ()\n\n\t\t (set-ignore-ok t)\n\t\t (set-irrelevant-formals-ok t)\n\n\t\t (defminterm-n-args ,fn ,args ,test ,base ,step)\n\n\t\t ,@(and\n\t\t\t guards\n\t\t\t `(\n\t\t\t (defun ,fn-x (_base_case_ ,@args)\n\t\t\t ,@decls\n\t\t\t (declare (xargs :verify-guards nil\n\t\t\t\t\t :measure (,fn-measure ,@args)))\n\t\t\t (mbe :logic (if (,fn-terminates ,@args)\n\t\t\t\t\t (if ,test ,base ,body-x)\n\t\t\t\t\t _base_case_)\n\t\t\t\t :exec (if ,test ,base ,body-x)))\n\n\t\t\t (defthm ,fn-x-nt\n\t\t\t (implies\n\t\t\t (not (,fn-terminates ,@args))\n\t\t\t (equal (,fn-x _base_case_ ,@args) _base_case_)))\n\n\t\t\t (verify-guards\n\t\t\t ,fn-x\n\t\t\t :hints ((\"goal\" :in-theory (disable ,open-fn-terminates))\n\t\t\t\t (and acl2::stable-under-simplificationp\n\t\t\t\t\t `(:in-theory (current-theory :here)))))))\n\n\t\t (defun ,fn (,@args)\n\t\t\t ,@decls\n\t\t\t (declare (xargs :hints ((and acl2::stable-under-simplificationp\n\t\t\t\t\t\t '(:in-theory (enable ,open-fn-measure!))))\n\t\t\t\t\t :verify-guards nil\n\t\t\t\t\t :measure (,fn-measure ,@args)))\n\t\t\t ,(let ((logic `(if (and (,fn-terminates ,@args) (not ,test))\n\t\t\t\t\t ,body\n\t\t\t\t\t ,base)))\n\t\t\t (if guards\n\t\t\t\t`(mbe :logic ,logic\n\t\t\t\t :exec (,fn-x ,base ,@args))\n\t\t\t logic)))\n\n\t\t (defthmd ,open-fn-rec-term\n\t\t\t (implies (and (,fn-terminates ,@args) (not ,test))\n\t\t\t\t (equal (,fn ,@args) ,body)))\n\n\t\t ,@(if guards\n\t\t\t `(\n\t\t\t (defthm ,fn-x-to-fn\n\t\t\t\t (implies\n\t\t\t\t (,fn-terminates ,@args)\n\t\t\t\t (equal (,fn-x _base_case_ ,@args)\n\t\t\t\t\t (,fn ,@args))))\n\n\t\t\t (verify-guards\n\t\t\t\t,fn\n\t\t\t\t:hints ((\"goal\" :in-theory (disable ,open-fn-terminates))))\n\t\t\t )\n\t\t\t `(\n\t\t\t (in-theory\n\t\t\t (disable\n\t\t\t (,fn)\n\t\t\t ))))\n\n\t\t )\n\t\t )))))))\n\n(encapsulate\n ()\n\n (local\n (encapsulate\n ()\n\n (defund inca (a) (1+ (ifix a)))\n\n (defstub some-test (a) nil)\n (defund test-a (a) (some-test a))\n\n (defminterm foo (a)\n (let ((a (inca a)))\n (if (test-a a) (inca a)\n\t (foo (inca a)))))\n\n (defthm integerp-foo\n (integerp (foo a))\n :hints ((\"Subgoal *1\/2\" :expand (inca a))))\n\n (defthm foo-prop\n (implies\n (integerp a)\n (< a (foo a)))\n :hints ((\"Goal\" :induct (foo a))\n\t (and acl2::stable-under-simplificationp\n\t\t '(:in-theory (enable inca)))))\n\n )))\n\n(encapsulate\n ()\n\n (local\n (encapsulate\n ()\n\n (defund foo_test (x) (equal x 0))\n (defund foo_base (x) x)\n (defund foo_step1 (x) x)\n\n (defthm booleanp_foo_test\n (booleanp (foo_test x))\n :hints ((\"Goal\" :in-theory (enable foo_test))))\n\n (minterm foo state (x state))\n\n )))\n\n(encapsulate\n (\n (defxch_measure (x) t)\n (defxch_terminates (x) t)\n (defxch_test (x) t)\n (defxch_base (r x) t)\n (defxch_r0 () t)\n (defxch_steps (x) t)\n (defxch_fn_pun (r x) t)\n (defxch_inc (x r) t)\n (defxch_hyps (x) t)\n (defxch_type (x) t)\n (defxch_default () t)\n )\n\n (local\n (encapsulate ()\n\n (defstub defxch_r0 () nil)\n (defstub defxch_default () nil)\n (defstub defxch_test (x) nil)\n (defund defxch_steps (x) x)\n\n (defun defxch_hyps (x)\n (declare (ignore x)) t)\n\n (defun defxch_type (x)\n (declare (ignore x)) t)\n\n (defun defxch_inc (x r)\n (declare (ignore x)) r)\n\n (defun defxch_base (r x)\n (declare (ignore x)) r)\n\n (defminterm defxch (x)\n (if (defxch_test x) x\n\t (defxch (defxch_steps x))))\n\n (defpun defxch_fn_pun (r x)\n (if (defxch_test x) (defxch_base r x)\n\t (defxch_fn_pun (defxch_inc x r) (defxch_steps x))))\n\n ))\n\n (defthm defxch_base_defxch_inc_commute\n (equal (defxch_base (defxch_inc a r) x)\n\t (defxch_inc a (defxch_base r x))))\n\n (defthm defxch_type_defxch_r0\n (defxch_type (defxch_r0)))\n\n (defthm defxch_type_defxch_base\n (implies\n (and\n (defxch_hyps x)\n (defxch_type r))\n (defxch_type (defxch_base r x))))\n\n (defthm defxch_type_defxch_default\n (defxch_type (defxch_default)))\n\n (defthm defxch_inc_preserves_type\n (implies\n (and\n (defxch_hyps x)\n (defxch_type r))\n (defxch_type (defxch_inc x r))))\n\n (defthm defxch_steps_preserves_hyps\n (implies\n (defxch_hyps x)\n (defxch_hyps (defxch_steps x)))\n :hints ((\"Goal\" :in-theory (enable defxch_steps))))\n\n (defthm natp-defxch_measure\n (natp (defxch_measure x))\n :rule-classes (:rewrite :type-prescription))\n\n (defthm defxch_measure_property\n (implies\n (and\n (defxch_terminates x)\n (not (defxch_test x)))\n (< (defxch_measure (defxch_steps x)) (defxch_measure x)))\n :rule-classes (:rewrite :linear))\n\n (defthm defxch_terminates_property\n (and\n (implies\n (and\n (defxch_hyps x)\n (defxch_test x))\n (iff (defxch_terminates x) t))\n (implies\n (and\n (defxch_hyps x)\n (not (defxch_test x)))\n (iff (defxch_terminates x) (defxch_terminates (defxch_steps x))))))\n\n (defthm defxch_fn_pun_prop\n (implies\n (and\n (defxch_hyps x)\n (defxch_type r))\n (equal (defxch_fn_pun r x)\n\t (if (defxch_test x) (defxch_base r x)\n\t (defxch_fn_pun (defxch_inc x r) (defxch_steps x)))))\n :rule-classes (:definition))\n\n (defthm defxch_inc_of-inc\n (implies\n (and\n (defxch_hyps x)\n (defxch_hyps a)\n (defxch_type r))\n (equal (defxch_inc a (defxch_inc x r))\n\t (defxch_inc x (defxch_inc a r)))))\n\n )\n\n(encapsulate\n ()\n\n (local\n (encapsulate\n ()\n\n (defun defxch_inductshun (r x)\n (declare (xargs :measure (defxch_measure x)))\n (if (or (not (defxch_hyps x)) (not (defxch_type r)) (defxch_test x) (not (defxch_terminates x))) r\n\t (defxch_inductshun (defxch_inc x r) (defxch_steps x))))\n\n (defthm open_defxch_fn_pun\n (and\n\t(implies\n\t (and\n\t (defxch_hyps x)\n\t (defxch_type r)\n\t (defxch_test x))\n\t (equal (defxch_fn_pun r x) (defxch_base r x)))\n\t(implies\n\t (and\n\t (defxch_hyps x)\n\t (defxch_type r)\n\t (not (defxch_test x)))\n\t (equal (defxch_fn_pun r x)\n\t\t(defxch_fn_pun (defxch_inc x r) (defxch_steps x))))))\n\n (defthm foo-over-defxch_inc\n (implies\n\t(and\n\t (defxch_hyps x)\n\t (defxch_type r)\n\t (defxch_hyps a)\n\t (defxch_terminates x))\n\t(equal (defxch_fn_pun (defxch_inc a r) x)\n\t (defxch_inc a (defxch_fn_pun r x))))\n :hints ((\"goal\" :induct (defxch_inductshun r x))\n\t (\"Subgoal *1\/1\" :cases ((defxch_test x)))))\n\n (defthm terminal_prop\n (implies\n\t(and\n\t (defxch_hyps x)\n\t (defxch_type r)\n\t (defxch_terminates x))\n\t(equal (defxch_fn_pun r x)\n\t (if (defxch_test x) (defxch_base r x)\n\t\t (defxch_inc x (defxch_fn_pun r (defxch_steps x))))))\n :rule-classes nil\n :hints ((\"Goal\" :induct (defxch_inductshun r x))))\n\n ))\n\n (defun defxch_fn (x)\n (declare (xargs :measure (defxch_measure x)))\n (if (defxch_terminates x)\n\t(if (defxch_test x) (defxch_base (defxch_r0) x)\n\t (defxch_inc x (defxch_fn (defxch_steps x))))\n (defxch_default)))\n\n (local\n (encapsulate\n ()\n\n (defun defxch_aux (x)\n (defxch_fn_pun (defxch_r0) x))\n\n (defthm open_defxch_aux\n (implies\n\t(and\n\t (defxch_hyps x)\n\t (defxch_terminates x))\n\t(equal (defxch_aux x)\n\t (if (defxch_test x) (defxch_base (defxch_r0) x)\n\t\t (defxch_inc x (defxch_aux (defxch_steps x))))))\n :hints ((\"Goal\" :use (:instance terminal_prop (r (defxch_r0))))))\n\n (defthm defxch_fn_to_aux\n (implies\n\t(and\n\t (defxch_hyps x)\n\t (defxch_terminates x))\n\t(equal (defxch_fn x) (defxch_aux x)))\n :hints ((\"Goal\" :induct (defxch_fn x))))\n\n ))\n\n (defthm defxch_fn_to_fn_pun\n (implies\n (and\n (defxch_hyps x)\n (defxch_terminates x))\n (equal (defxch_fn x) (defxch_fn_pun (defxch_r0) x))))\n\n )\n\n(local\n (encapsulate\n ()\n\n (defstub test (x) nil)\n (defstub steq (x) nil)\n\n (defminterm foo_induction (x)\n (if (test x) x\n (foo_induction (steq x))))\n\n ;;\n ;; Here is a template for how to use this theorem ..\n ;;\n\n (defpun foo_pun (r x)\n (if (test x) r\n (foo_pun (+ 1 r) (steq x))))\n\n #+joe\n (defthm open_foo_pun\n (implies\n (in-conclusion (foo_pun r x))\n (equal (foo_pun r x)\n\t (if (test x) r\n\t (foo_pun (+ 1 r) (steq x)))))\n :hints ((\"Goal\" :in-theory (enable open-foo_pun))))\n\n (defun foo (x)\n (declare (xargs :measure (foo_induction_measure x)))\n (if (foo_induction_terminates x)\n\t (if (test x) 0\n\t (+ 1 (foo (steq x))))\n 0))\n\n (defthm foo_to_foo_pun\n (implies\n (foo_induction_terminates x)\n (equal (foo x) (foo_pun 0 x)))\n :hints ((\"Goal\" :use (:functional-instance defxch_fn_to_fn_pun\n\t\t\t\t\t\t(defxch_type (lambda (r) t))\n\t\t\t\t\t\t(defxch_hyps (lambda (x) t))\n\t\t\t\t\t\t(defxch_fn foo)\n\t\t\t\t\t\t(defxch_fn_pun foo_pun)\n\t\t\t\t\t\t(defxch_test test)\n\t\t\t\t\t\t(defxch_r0 (lambda () 0))\n\t\t\t\t\t\t(defxch_base (lambda (r x) r))\n\t\t\t\t\t\t(defxch_default (lambda () 0))\n\t\t\t\t\t\t(defxch_steps steq)\n\t\t\t\t\t\t(defxch_measure foo_induction_measure)\n\t\t\t\t\t\t(defxch_terminates foo_induction_terminates)\n\t\t\t\t\t\t(defxch_inc (lambda (x r) (+ 1 r)))\n\t\t\t\t\t\t))))\n\n\n ))\n\n(defmacro defxch-1 (fn fn_test r0 fn_base fn_step fn_inc &key (measure 'nil) (terminates 'nil))\n (declare (xargs :guard (iff measure terminates)))\n (let ((fn_induction (packn-pos (list fn \"_INDUCTION\") fn))\n\t(fn_induction_measure (or measure (packn-pos (list fn \"_INDUCTION_MEASURE\") fn)))\n\t(fn_induction_terminates (or terminates (packn-pos (list fn \"_INDUCTION_TERMINATES\") fn)))\n\t(measure-required (not measure))\n\t(fn_pun (packn-pos (list fn \"_PUN\") fn))\n\t(open-fn_pun (packn-pos (list \"OPEN-\" fn \"_PUN\") fn))\n\t(fn_to_fn_pun (packn-pos (list fn \"_TO_\" fn \"_PUN\") fn))\n\t)\n\n `(encapsulate\n\t ()\n\n ,@(and measure-required\n\t `((defminterm ,fn_induction (x)\n\t\t (if (,fn_test x) x\n\t\t (,fn_induction (,fn_step x))))))\n\n (defpun ,fn_pun (r x)\n\t (if (,fn_test x) (,fn_base r x)\n\t (,fn_pun (,fn_inc x r) (,fn_step x))))\n\n (in-theory (enable ,open-fn_pun))\n\n (defun ,fn (x)\n\t (declare (xargs :measure (,fn_induction_measure x)))\n\t (if (,fn_induction_terminates x)\n\t (if (,fn_test x) (,fn_base ,r0 x)\n\t (,fn_inc x (,fn (,fn_step x))))\n\t ,r0))\n\n (defthmd ,fn_to_fn_pun\n\t (implies\n\t (,fn_induction_terminates x)\n\t (equal (,fn x) (,fn_pun ,r0 x)))\n\t :hints ((\"Goal\" :use (:functional-instance defxch_fn_to_fn_pun\n\t\t\t\t\t\t (defxch_type (lambda (r) t))\n\t\t\t\t\t\t (defxch_hyps (lambda (x) t))\n\t\t\t\t\t\t (defxch_test ,fn_test)\n\t\t\t\t\t\t (defxch_r0 (lambda () ,r0))\n\t\t\t\t\t\t (defxch_base ,fn_base)\n\t\t\t\t\t\t (defxch_default (lambda () ,r0))\n\t\t\t\t\t\t (defxch_steps ,fn_step)\n\t\t\t\t\t\t (defxch_fn ,fn)\n\t\t\t\t\t\t (defxch_fn_pun ,fn_pun)\n\t\t\t\t\t\t (defxch_measure ,fn_induction_measure)\n\t\t\t\t\t\t (defxch_terminates ,fn_induction_terminates)\n\t\t\t\t\t\t (defxch_inc ,fn_inc)\n\t\t\t\t\t\t ))))\n\n\n )))\n\n(local\n (encapsulate\n ()\n (defstub goo_test (x) nil)\n (defstub goo_step (x) nil)\n (defstub goo_pred (x) nil)\n\n (defun goo_base (r x)\n (declare (ignore x))\n r)\n\n (defun goo_inc (x r)\n (and (goo_pred x) r))\n\n (defxch-1 goo goo_test 't goo_base goo_step goo_inc)\n\n ))\n\n(defun just-body (fn term)\n (declare (type t fn term))\n (if (consp term)\n (if (consp (car term))\n\t (if (equal (caar term) fn)\n\t (car term)\n\t (just-body fn (cdr term)))\n\t(just-body fn (cdr term)))\n nil))\n\n(defun tail-body (fn form)\n (declare (type (satisfies if-formp) form))\n (if (consp form)\n (if (equal (car form) 'let)\n\t `(let ,(cadr form)\n\t ,(tail-body fn (caddr form)))\n\t(just-body fn form))\n nil))\n\n;; For efficiency we may want to witness a 2 argument example that we can\n;; functionally instantiate over and over in vfaat .. rather than doing a\n;; complete defxch each time.\n\n(defmacro defxch (fn args form &key (defpun 'nil) (measure 'nil) (terminates 'nil) (induction 'nil))\n (declare (xargs :guard (and (iff measure terminates) (implies defpun measure))))\n (let ((fn_pun (or defpun (packn-pos (list fn \"_PUN\") fn)))\n\t(fn_pun_induction (packn-pos (list fn \"_PUN_INDUCTION\") fn))\n\t(fn_induction (or induction (if measure fn (packn-pos (list fn \"_INDUCTION\") fn))))\n\t(fn_induction_terminates (or terminates (packn-pos (list fn \"_INDUCTION_TERMINATES\") fn)))\n\t(fn_induction_measure (or measure (packn-pos (list fn \"_INDUCTION_MEASURE\") fn)))\n\t(defmeasure (not measure))\n\t(open-fn_pun (packn-pos (list \"OPEN-\" fn \"_PUN\") fn))\n\t(fn-1 (packn-pos (list fn \"-1\") fn))\n\t(fn-1-pun (packn-pos (list fn \"-1_PUN\") fn))\n\t(fn-inc-1 (packn-pos (list fn \"-inc-1\") fn))\n\t(fn-test-1 (packn-pos (list fn \"-test-1\") fn))\n\t(fn-step-1 (packn-pos (list fn \"-step-1\") fn))\n\t(fn-measure-1 (packn-pos (list fn \"-measure-1\") fn))\n\t(fn-terminates-1 (packn-pos (list fn \"-terminates-1\") fn))\n\t(fn-1-reduction (packn-pos (list fn \"-1-reduction\") fn))\n\t(fn-1-pun-reduction (packn-pos (list fn \"-1-pun-reduction\") fn))\n\t(fn-to-fn-pun (packn-pos (list fn \"_to_\" fn \"_pun\") fn))\n\t(fn-1-to-fn-1-pun (packn-pos (list fn \"-1_TO_\" fn \"-1_PUN\") fn))\n\t)\n (mv-let (test base body) (test-base-body fn form)\n (let ((tbody (tail-body fn body)))\n (let ((fn-inc (replace-fn fn `xarg body)))\n\t(let ((pun-body (remap-fn fn `(,fn_pun ,fn-inc) (push-lets fn tbody))))\n\t `(encapsulate\n\t ()\n\n\t (set-ignore-ok t)\n\t (set-irrelevant-formals-ok t)\n\n\t ,@(and defmeasure\n\t\t `((defminterm ,fn_induction ,args\n\t\t\t(if ,test (list ,@args) ,(remap-fn fn `(,fn_induction) tbody)))))\n\n\t ,@(and (not defpun)\n\t\t `(\n\t\t (defpun ,fn_pun (xarg ,@args)\n\t\t\t(if ,test xarg ,pun-body))\n\n\t\t (in-theory (enable ,open-fn_pun))\n\n\t\t (defun ,fn ,args\n\t\t\t(declare (xargs :measure (,fn_induction_measure ,@args)))\n\t\t\t(if (,fn_induction_terminates ,@args)\n\t\t\t ,form\n\t\t\t ,base))\n\t\t ))\n\n\t (local\n\t (encapsulate\n\t\t ()\n\n\t\t(defun ,fn-test-1 (list)\n\t\t (let ,(unbundle args 'list)\n\t\t ,test))\n\n\t\t(defun ,fn-step-1 (list)\n\t\t (let ,(unbundle args 'list)\n\t\t ,(remap-fn fn `(list) tbody)))\n\n\t\t(defun ,fn-inc-1 (list xarg)\n\t\t (let ,(unbundle args 'list)\n\t\t ,fn-inc))\n\n\t\t(defun ,fn-measure-1 (list)\n\t\t (let ,(unbundle args 'list)\n\t\t (,fn_induction_measure ,@args)))\n\n\t\t(defun ,fn-terminates-1 (list)\n\t\t (let ,(unbundle args 'list)\n\t\t (,fn_induction_terminates ,@args)))\n\n\t\t(defxch-1 ,fn-1 ,fn-test-1 ,base (lambda (r x) r) ,fn-step-1 ,fn-inc-1\n\t\t :measure ,fn-measure-1\n\t\t :terminates ,fn-terminates-1\n\t\t )\n\n\t\t(defthm ,fn-1-reduction\n\t\t (equal (,fn ,@args)\n\t\t\t (,fn-1 (list ,@args)))\n\t\t :hints ((\"Goal\" :induct (,fn_induction ,@args))))\n\n\t\t(defun ,fn_pun_induction (xarg ,@args)\n\t\t (declare (xargs :measure (,fn_induction_measure ,@args)))\n\t\t (if (,fn_induction_terminates ,@args)\n\t\t (if ,test xarg ,(remap-fn fn_pun `(,fn_pun_induction) pun-body))\n\t\t xarg))\n\n\t\t(defthm ,fn-1-pun-reduction\n\t\t (implies\n\t\t (,fn_induction_terminates ,@args)\n\t\t (equal (,fn_pun xarg ,@args)\n\t\t\t (,fn-1-pun xarg (list ,@args))))\n\t\t :hints ((\"Goal\" :induct (,fn_pun_induction xarg ,@args))))\n\n\t\t))\n\n\t (defthmd ,fn-to-fn-pun\n\t (implies\n\t\t(,fn_induction_terminates ,@args)\n\t\t(equal (,fn ,@args) (,fn_pun ,base ,@args)))\n\t :hints ((\"Goal\" :in-theory (enable ,fn-1-to-fn-1-pun))))\n\n\t )))))))\n\n(encapsulate\n ()\n (local\n (encapsulate\n ()\n\n (SET-IGNORE-OK T)\n (SET-IRRELEVANT-FORMALS-OK T)\n (defstub text (x y) nil)\n (defstub hoot (x y) nil)\n (defstub stx (x y) nil)\n (defstub sty (x y) nil)\n (defun inxx (x r) (+ 1 r))\n (defxch goop (x y)\n (if (text x y) (r0)\n (inxx x (goop (stx x y) (sty x y)))))\n\n ))\n )\n\n(encapsulate\n ()\n (local\n (encapsulate\n ()\n\n (SET-IGNORE-OK T)\n (SET-IRRELEVANT-FORMALS-OK T)\n (defstub text (x y) nil)\n (defstub hoot (x y) nil)\n (defstub stx (x y) nil)\n (defstub sty (x y) nil)\n (defun inxx (x r) (+ 1 r))\n (defminterm goop_induction (x y)\n (if (text x y) (list x y)\n (goop_induction (stx x y) (sty x y))))\n (defxch goop (x y)\n (if (text x y) (r0)\n (inxx x (goop (stx x y) (sty x y))))\n :measure goop_induction_measure\n :terminates goop_induction_terminates)\n\n ))\n )\n\n(encapsulate\n ()\n (local\n (encapsulate\n ()\n\n (SET-IGNORE-OK T)\n (SET-IRRELEVANT-FORMALS-OK T)\n (defstub text (x y) nil)\n (defstub hoot (x y) nil)\n (defstub stx (x y) nil)\n (defstub sty (x y) nil)\n (defun inxx (x r) (+ 1 r))\n (defminterm goop_induction (x y)\n (if (text x y) (list x y)\n (goop_induction (stx x y) (sty x y))))\n (defun goop (x y)\n (declare (xargs :measure (goop_induction_measure x y)))\n (if (goop_induction_terminates x y)\n\t (if (text x y) (r0)\n\t (inxx x (goop (stx x y) (sty x y))))\n (r0)))\n (defpun goop_pun (xarg x y)\n (if (text x y) xarg\n (goop_pun (inxx x xarg) (stx x y) (sty x y))))\n (in-theory (enable open-goop_pun))\n (defxch goop (x y)\n (if (text x y) (r0)\n (inxx x (goop (stx x y) (sty x y))))\n :defpun goop_pun\n :measure goop_induction_measure\n :terminates goop_induction_terminates)\n\n ))\n )\n\n(defmacro vfaat_fn_hyps (k st)\n `(and (vfaat_fn_hyp1 ,k)\n\t(vfaat_fn_hyp2 ,st)))\n\n(encapsulate\n (\n (vfaat_fn_hyp1 (k) t)\n (vfaat_fn_hyp2 (st) t)\n (vfaat_fn_type (r) t)\n (vfaat_fn (k st) t)\n (vfaat_fn_pun (r k st) t)\n (vfaat_fn_induction_measure (k st) t)\n (vfaat_fn_induction_terminates (k st) t)\n (vfaat_fn_test (k) t)\n (vfaat_fn_base () t)\n (vfaat_fn_default () t)\n (vfaat_fn_branch (k st) t)\n (vfaat_fn_comp (k st) t)\n (vfaat_fn_inc (k st r) t)\n )\n\n (local\n (encapsulate ()\n\n (defstub vfaat_fn_test (k) nil)\n (defstub vfaat_fn_base () nil)\n (defstub vfaat_fn_default () nil)\n (defstub vfaat_fn_branch (k st) nil)\n (defstub vfaat_fn_comp (k st) nil)\n\n (defun vfaat_fn_hyp1 (k)\n (declare (ignore k))\n t)\n\n (defun vfaat_fn_hyp2 (st)\n (declare (ignore st))\n t)\n\n (defun vfaat_fn_type (r)\n (declare (ignore r))\n t)\n\n (defun vfaat_fn_inc (k st r)\n (declare (ignore k st)) r)\n\n (defminterm vfaat_fn_induction (k st)\n (if (vfaat_fn_test k) (list k st)\n\t (vfaat_fn_induction (vfaat_fn_branch k st) (vfaat_fn_comp k st))))\n\n (defun vfaat_fn (k st)\n (declare (xargs :measure (vfaat_fn_induction_measure k st)))\n (if (vfaat_fn_induction_terminates k st)\n\t (if (vfaat_fn_test k) (vfaat_fn_base)\n\t (vfaat_fn_inc k st (vfaat_fn (vfaat_fn_branch k st) (vfaat_fn_comp k st))))\n\t (vfaat_fn_default)))\n\n (defpun vfaat_fn_pun (r k st)\n (if (vfaat_fn_test k) r\n\t (vfaat_fn_pun (vfaat_fn_inc k st r) (vfaat_fn_branch k st) (vfaat_fn_comp k st))))\n\n ))\n\n (defthm vfaat_fn_step_preserves_vfaat_fn_hyps\n (implies\n (and\n (vfaat_fn_hyp1 k)\n (vfaat_fn_hyp2 st))\n (and (vfaat_fn_hyp1 (vfaat_fn_branch k st))\n\t (vfaat_fn_hyp2 (vfaat_fn_comp k st)))))\n\n (defthm vfaat_fn_type_vfaat_fn_base\n (vfaat_fn_type (vfaat_fn_base)))\n\n (defthm vfaat_fn_type_vfaat_fn_default\n (vfaat_fn_type (vfaat_fn_default)))\n\n (defthm vfaat_fn_type_vfaat_fn_inc\n (implies\n (and\n (vfaat_fn_hyp1 k)\n (vfaat_fn_hyp2 st)\n (vfaat_fn_type r))\n (vfaat_fn_type (vfaat_fn_inc k st r))))\n\n (defthm natp-vfaat_fn_induction_measure\n (natp (vfaat_fn_induction_measure k st))\n :rule-classes (:rewrite :type-prescription))\n\n (defthm vfaat_fn_induction_measure_property\n (implies\n (and\n (vfaat_fn_induction_terminates k st)\n (not (vfaat_fn_test k)))\n (< (vfaat_fn_induction_measure (vfaat_fn_branch k st) (vfaat_fn_comp k st)) (vfaat_fn_induction_measure k st)))\n :rule-classes (:rewrite :linear))\n\n (defthm vfaat_fn_induction_terminates_property\n (and\n (implies\n (and\n (vfaat_fn_hyps k st)\n (vfaat_fn_test k))\n (iff (vfaat_fn_induction_terminates k st) t))\n (implies\n (and\n (vfaat_fn_hyps k st)\n (not (vfaat_fn_test k)))\n (iff (vfaat_fn_induction_terminates k st) (vfaat_fn_induction_terminates (vfaat_fn_branch k st) (vfaat_fn_comp k st))))))\n\n (defthm vfaat_fn_pun_prop\n (implies\n (and\n (vfaat_fn_hyps k st)\n (vfaat_fn_type r))\n (equal (vfaat_fn_pun r k st)\n\t (if (vfaat_fn_test k) r ;; (vfaat_fn_base r)\n\t (vfaat_fn_pun (vfaat_fn_inc k st r) (vfaat_fn_branch k st) (vfaat_fn_comp k st)))))\n :rule-classes (:definition))\n\n (defthm vfaat_fn_inc_of-inc\n (implies\n (and\n (vfaat_fn_type r)\n (vfaat_fn_hyps a b)\n (vfaat_fn_hyps k st))\n (equal (vfaat_fn_inc a b (vfaat_fn_inc k st r))\n\t (vfaat_fn_inc k st (vfaat_fn_inc a b r)))))\n\n (defthm vfaat_fn_property\n (equal (vfaat_fn k st)\n\t (if (vfaat_fn_induction_terminates k st)\n\t (if (vfaat_fn_test k) (vfaat_fn_base)\n\t\t (vfaat_fn_inc k st (vfaat_fn (vfaat_fn_branch k st) (vfaat_fn_comp k st))))\n\t (vfaat_fn_default)))\n :rule-classes (:definition))\n\n )\n\n(defthm vfaat_fn_to_fn_pun\n (implies\n (and\n (vfaat_fn_hyps k st)\n (vfaat_fn_induction_terminates k st))\n (equal (vfaat_fn k st)\n\t (vfaat_fn_pun (vfaat_fn_base) k st)))\n :rule-classes nil\n :hints ((\"Goal\" :use (:functional-instance\n\t\t\t(:instance defxch_fn_to_fn_pun (x (list k st)))\n\t\t\t(defxch_hyps (lambda (list) (vfaat_fn_hyps (car list) (cadr list))))\n\t\t\t(defxch_type vfaat_fn_type)\n\t\t\t(defxch_fn (lambda (list) (vfaat_fn (car list) (cadr list))))\n\t\t\t(defxch_fn_pun (lambda (x list) (vfaat_fn_pun x (car list) (cadr list))))\n\t\t\t(defxch_test (lambda (list) (vfaat_fn_test (car list))))\n\t\t\t(defxch_base (lambda (r x) r))\n\t\t\t(defxch_r0 vfaat_fn_base)\n\t\t\t(defxch_default vfaat_fn_default)\n\t\t\t(defxch_steps (lambda (list) (list (vfaat_fn_branch (car list) (cadr list))\n\t\t\t\t\t\t\t\t(vfaat_fn_comp (car list) (cadr list)))))\n\t\t\t(defxch_measure (lambda (list) (vfaat_fn_induction_measure (car list) (cadr list))))\n\t\t\t(defxch_terminates (lambda (list) (vfaat_fn_induction_terminates (car list) (cadr list))))\n\t\t\t(defxch_inc (lambda (list r) (vfaat_fn_inc (car list) (cadr list) r)))\n\t\t\t))))\n\n(defmacro vfaat_fnx_hyps (k st)\n `(and (vfaat_fnx_hyp1 ,k)\n\t(vfaat_fnx_hyp2 ,st)))\n\n(encapsulate\n (\n (vfaat_fnx_hyp1 (k) t)\n (vfaat_fnx_hyp2 (st) t)\n (vfaat_fnx_type (r) t)\n (vfaat_fnx (k st) t)\n (vfaat_fnx_pun (r k st) t)\n (vfaat_fnx_induction_measure (k st) t)\n (vfaat_fnx_induction_terminates (k st) t)\n (vfaat_fnx_test (k) t)\n (vfaat_fnx_r0 () t)\n (vfaat_fnx_base (r k st) t)\n (vfaat_fnx_default () t)\n (vfaat_fnx_branch (k st) t)\n (vfaat_fnx_comp (k st) t)\n (vfaat_fnx_inc (k st r) t)\n )\n\n (local\n (encapsulate ()\n\n (defstub vfaat_fnx_test (k) nil)\n (defstub vfaat_fnx_r0 () nil)\n (defstub vfaat_fnx_default () nil)\n (defstub vfaat_fnx_branch (k st) nil)\n (defstub vfaat_fnx_comp (k st) nil)\n\n (defun vfaat_fnx_base (r k st)\n (declare (ignore k st))\n r)\n\n (defun vfaat_fnx_hyp1 (k)\n (declare (ignore k))\n t)\n\n (defun vfaat_fnx_hyp2 (st)\n (declare (ignore st))\n t)\n\n (defun vfaat_fnx_type (r)\n (declare (ignore r))\n t)\n\n (defun vfaat_fnx_inc (k st r)\n (declare (ignore k st)) r)\n\n (defminterm vfaat_fnx_induction (k st)\n (if (vfaat_fnx_test k) (list k st)\n\t (vfaat_fnx_induction (vfaat_fnx_branch k st) (vfaat_fnx_comp k st))))\n\n (defun vfaat_fnx (k st)\n (declare (xargs :measure (vfaat_fnx_induction_measure k st)))\n (if (vfaat_fnx_induction_terminates k st)\n\t (if (vfaat_fnx_test k) (vfaat_fnx_base (vfaat_fnx_r0) k st)\n\t (vfaat_fnx_inc k st (vfaat_fnx (vfaat_fnx_branch k st) (vfaat_fnx_comp k st))))\n\t (vfaat_fnx_default)))\n\n (defpun vfaat_fnx_pun (r k st)\n (if (vfaat_fnx_test k) (vfaat_fnx_base r k st)\n\t (vfaat_fnx_pun (vfaat_fnx_inc k st r) (vfaat_fnx_branch k st) (vfaat_fnx_comp k st))))\n\n ))\n\n (defthm vfaat_fnx_step_preserves_vfaat_fnx_hyps\n (implies\n (and\n (vfaat_fnx_hyp1 k)\n (vfaat_fnx_hyp2 st))\n (and (vfaat_fnx_hyp1 (vfaat_fnx_branch k st))\n\t (vfaat_fnx_hyp2 (vfaat_fnx_comp k st)))))\n\n (defthm vfaat_fnx_type_vfaat_fnx_base\n (implies\n (and\n (vfaat_fnx_hyp1 k)\n (vfaat_fnx_hyp2 st)\n (vfaat_fnx_type r))\n (vfaat_fnx_type (vfaat_fnx_base r k st))))\n\n (defthm vfaat_fnx_base_vfaat_fnx_inc_commute\n (equal (vfaat_fnx_base (vfaat_fnx_inc k1 st1 r) k2 st2)\n\t (vfaat_fnx_inc k1 st1 (vfaat_fnx_base r k2 st2))))\n\n (defthm vfaat_fnx_type_vfaat_fnx_r0\n (vfaat_fnx_type (vfaat_fnx_r0)))\n\n (defthm vfaat_fnx_type_vfaat_fnx_default\n (vfaat_fnx_type (vfaat_fnx_default)))\n\n (defthm vfaat_fnx_type_vfaat_fnx_inc\n (implies\n (and\n (vfaat_fnx_hyp1 k)\n (vfaat_fnx_hyp2 st)\n (vfaat_fnx_type r))\n (vfaat_fnx_type (vfaat_fnx_inc k st r))))\n\n (defthm natp-vfaat_fnx_induction_measure\n (natp (vfaat_fnx_induction_measure k st))\n :rule-classes (:rewrite :type-prescription))\n\n (defthm vfaat_fnx_induction_measure_property\n (implies\n (and\n (vfaat_fnx_induction_terminates k st)\n (not (vfaat_fnx_test k)))\n (< (vfaat_fnx_induction_measure (vfaat_fnx_branch k st) (vfaat_fnx_comp k st)) (vfaat_fnx_induction_measure k st)))\n :rule-classes (:rewrite :linear))\n\n (defthm vfaat_fnx_induction_terminates_property\n (and\n (implies\n (and\n (vfaat_fnx_hyp1 k)\n (vfaat_fnx_hyp2 st)\n (vfaat_fnx_test k))\n (iff (vfaat_fnx_induction_terminates k st) t))\n (implies\n (and\n (vfaat_fnx_hyp1 k)\n (vfaat_fnx_hyp2 st)\n (not (vfaat_fnx_test k)))\n (iff (vfaat_fnx_induction_terminates k st) (vfaat_fnx_induction_terminates (vfaat_fnx_branch k st) (vfaat_fnx_comp k st))))))\n\n (defthm vfaat_fnx_pun_prop\n (implies\n (and\n (vfaat_fnx_hyp1 k)\n (vfaat_fnx_hyp2 st)\n (vfaat_fnx_type r))\n (equal (vfaat_fnx_pun r k st)\n\t (if (vfaat_fnx_test k) (vfaat_fnx_base r k st)\n\t (vfaat_fnx_pun (vfaat_fnx_inc k st r) (vfaat_fnx_branch k st) (vfaat_fnx_comp k st)))))\n :rule-classes (:definition))\n\n (defthm vfaat_fnx_inc_of-inc\n (implies\n (and\n (vfaat_fnx_type r)\n (vfaat_fnx_hyps a b)\n (vfaat_fnx_hyps k st))\n (equal (vfaat_fnx_inc a b (vfaat_fnx_inc k st r))\n\t (vfaat_fnx_inc k st (vfaat_fnx_inc a b r)))))\n\n (defthm vfaat_fnx_property\n (equal (vfaat_fnx k st)\n\t (if (vfaat_fnx_induction_terminates k st)\n\t (if (vfaat_fnx_test k) (vfaat_fnx_base (vfaat_fnx_r0) k st)\n\t\t (vfaat_fnx_inc k st (vfaat_fnx (vfaat_fnx_branch k st) (vfaat_fnx_comp k st))))\n\t (vfaat_fnx_default)))\n :rule-classes (:definition))\n\n )\n\n(defthm vfaat_fnx_to_fn_pun\n (implies\n (and\n (vfaat_fnx_hyps k st)\n (vfaat_fnx_induction_terminates k st))\n (equal (vfaat_fnx k st)\n\t (vfaat_fnx_pun (vfaat_fnx_r0) k st)))\n :rule-classes nil\n :hints ((\"Goal\" :use (:functional-instance\n\t\t\t(:instance defxch_fn_to_fn_pun (x (list k st)))\n\t\t\t(defxch_hyps (lambda (list) (vfaat_fnx_hyps (car list) (cadr list))))\n\t\t\t(defxch_type vfaat_fnx_type)\n\t\t\t(defxch_fn (lambda (list) (vfaat_fnx (car list) (cadr list))))\n\t\t\t(defxch_fn_pun (lambda (x list) (vfaat_fnx_pun x (car list) (cadr list))))\n\t\t\t(defxch_test (lambda (list) (vfaat_fnx_test (car list))))\n\t\t\t(defxch_base (lambda (r list) (vfaat_fnx_base r (car list) (cadr list))))\n\t\t\t(defxch_r0 vfaat_fnx_r0)\n\t\t\t(defxch_default vfaat_fnx_default)\n\t\t\t(defxch_steps (lambda (list) (list (vfaat_fnx_branch (car list) (cadr list))\n\t\t\t\t\t\t\t\t(vfaat_fnx_comp (car list) (cadr list)))))\n\t\t\t(defxch_measure (lambda (list) (vfaat_fnx_induction_measure (car list) (cadr list))))\n\t\t\t(defxch_terminates (lambda (list) (vfaat_fnx_induction_terminates (car list) (cadr list))))\n\t\t\t(defxch_inc (lambda (list r) (vfaat_fnx_inc (car list) (cadr list) r)))\n\t\t\t))))\n\n#|\nACL2:\n\n(defthm _to__pun\n (implies\n ( k st)\n (equal ( k st)\n\t (_pun k st)))\n :hints ((\"Goal\" :use (:functional-instance\n\t\t\tvfaat_fn_to_fn_pun\n\t\t\t(vfaat_fn_hyp1 kstate-p)\n\t\t\t(vfaat_fn_hyp2 st-p)\n\t\t\t(vfaat_fn_type )\n\t\t\t(vfaat_fn )\n\t\t\t(vfaat_fn_pun _pun)\n\t\t\t(vfaat_fn_induction_measure )\n\t\t\t(vfaat_fn_induction_terminates )\n\t\t\t(vfaat_fn_test )\n\t\t\t(vfaat_fn_base (lambda () ))\n\t\t\t(vfaat_fn_default (lambda () ))\n\t\t\t(vfaat_fn_branch )\n\t\t\t(vfaat_fn_comp )\n\t\t\t(vfaat_fn_inc _inc)\n\t\t\t))))\n\nPVS:\n\n IMPORTING defxch[\n\t , , ,\n\t ,\n\t _pun,\n\t _inc,\n ,\n ,\n ,\n ,\n ,\n ,\n \n\t ] as _xch\n\n _to__pun: LEMMA\n FORALL (k: , st:):\n =>\n (k,st) =\n _pun(,k,st)\n%|- _to__pun: PROOF\n%|- (auto-rewrite \"_xch.fn_to_fn_pun\") (skosimp) (assert)\n%|- QED\n\n\n|#\n","avg_line_length":28.0953660175,"max_line_length":131,"alphanum_fraction":0.5843094134} +{"size":184,"ext":"lisp","lang":"Common Lisp","max_stars_count":4.0,"content":";;; -*- Mode:Lisp; Syntax:ANSI-Common-Lisp; Coding:utf-8; Package:AprilDemo.Ncurses -*-\n;;;; setup.lisp\n\n(in-package #:april-demo.ncurses)\n\n(april-create-workspace ncurses-demo-space)\n","avg_line_length":26.2857142857,"max_line_length":87,"alphanum_fraction":0.7119565217} +{"size":1255,"ext":"ny","lang":"Common Lisp","max_stars_count":null,"content":";nyquist plug-in\n;version 4\n;type tool\n;name \"Debreather\"\n\n(setf fullVolume 1.0)\n(setf quietColume 0.2)\n\n(setf time0 0) ; time relative to the start of the selection\n(setf time1 0.05) ; time relative to the start of the selection\n(setf time2 -0.05) ; time relative to the end of the selection\n(setf time3 0) ; time relative to the end of the selection\n\n(let ((start (get '*selection* 'start)))\n (setf command (format nil\n \"SetEnvelope: Time=~s Value=~s\"\n (+ start time0)\n fullVolume))\n (aud-do command))\n\n(let ((start (get '*selection* 'start)))\n (setf command (format nil\n \"SetEnvelope: Time=~s Value=~s\"\n (+ start time1)\n quietColume))\n (aud-do command))\n\n(let ((start (get '*selection* 'end)))\n (setf command (format nil\n \"SetEnvelope: Time=~s Value=~s\"\n (+ start time2)\n quietColume))\n (aud-do command))\n\n(let ((start (get '*selection* 'end)))\n (setf command (format nil\n \"SetEnvelope: Time=~s Value=~s\"\n (+ start time3)\n fullVolume))\n (aud-do command))\n","avg_line_length":30.6097560976,"max_line_length":65,"alphanum_fraction":0.5211155378} +{"size":1866,"ext":"lisp","lang":"Common Lisp","max_stars_count":4.0,"content":"(in-package :cl-user)\n(defpackage trivial-extract.cl\n (:use :cl)\n (:export :extract-tar\n :extract-gzip\n :extract-zip)\n (:documentation \"Pure Common Lisp extraction.\"))\n(in-package :trivial-extract.cl)\n\n(defun gunzip (tar-gz-file tar-file)\n \"Extract a .tar.gz file into a .tar archive.\"\n (with-open-file (input-stream tar-gz-file\n :element-type '(unsigned-byte 8))\n (with-open-file (output-stream tar-file\n :direction :output\n :if-exists :supersede\n :element-type '(unsigned-byte 8))\n (deflate:inflate-gzip-stream input-stream output-stream)\n t)))\n\n(defun extract-tar (pathname)\n \"Extract a tarball to its containing directory.\"\n ;; archive, by default, extracts all entries to *default-pathname-defaults*,\n ;; so we have to override its value to the directory that contains the archive\n (let ((current-dpf *default-pathname-defaults*))\n (setf *default-pathname-defaults*\n (make-pathname :directory (pathname-directory pathname)))\n (archive:with-open-archive (archive pathname)\n (archive:do-archive-entries (entry archive)\n (archive:extract-entry archive entry)))\n (setf *default-pathname-defaults* current-dpf)\n t))\n\n(defun extract-gzip (pathname)\n \"Extract a .tar.gz file to its containing directory.\"\n (let ((resulting-tarball (make-pathname :defaults pathname\n :type \"tar-temporary\")))\n (gunzip pathname resulting-tarball)\n (extract-tar resulting-tarball)\n (delete-file resulting-tarball)\n t))\n\n(defun extract-zip (pathname)\n \"Extract a .zip file to its containing directory.\"\n (zip:unzip pathname\n (cl-fad:pathname-directory-pathname pathname)\n :if-exists :supersede)\n t)\n","avg_line_length":38.0816326531,"max_line_length":80,"alphanum_fraction":0.6286173633} +{"size":5527,"ext":"lisp","lang":"Common Lisp","max_stars_count":305.0,"content":";; Cuong Chau \n\n;; October 2021\n\n(in-package \"RTL\")\n\n(include-book \"macros\")\n(include-book \"rtl\/rel11\/lib\/top-alt\" :dir :system)\n\n;; ======================================================================\n\n(defthmd integerp-*\n (implies (and (integerp x)\n (integerp y))\n (integerp (* x y)))\n :rule-classes :type-prescription)\n\n(defthm rationalp-abs\n (implies (rationalp x)\n (rationalp (abs x)))\n :rule-classes :type-prescription)\n\n(defthmd integerp-abs\n (implies (integerp x)\n (integerp (abs x)))\n :rule-classes :type-prescription)\n\n(defthmd abs-of-zero\n (equal (equal (abs x) 0)\n (equal x 0)))\n\n(defthmd int+1<=\n (implies (and (< x y)\n (integerp x)\n (integerp y))\n (<= (1+ x) y)))\n\n;; EXPT\n\n(encapsulate\n ()\n\n (local (include-book \"arithmetic\/top\" :dir :system))\n\n (defthm expt-lemma-1\n (implies (and (<= 1 (* x (expt r i)))\n (<= 1 x)\n (< x r)\n (rationalp x)\n (rationalp r)\n (integerp i))\n (<= 0 i))\n :rule-classes nil)\n\n (defthm expt-lemma-2\n (implies (and (integerp (* x (expt 2 i)))\n (not (integerp (* x (expt 2 j))))\n (integerp x)\n (integerp i)\n (integerp j))\n (< j i))\n :rule-classes nil))\n\n(local (arith-5-for-rtl))\n\n(defthm expt-lemma-3\n (implies (and (rationalp r)\n (<= 1 r)\n (natp i))\n (<= 1 (expt r i)))\n :rule-classes :linear)\n\n(defthm expt-lemma-4a\n (implies (and (<= 1 x)\n (< x r)\n (<= 1 y)\n (< y r)\n (rationalp x)\n (rationalp y)\n (rationalp r)\n (integerp i)\n (integerp j))\n (equal (equal (* x (expt r i)) (* y (expt r j)))\n (and (equal x y)\n (equal i j))))\n :hints ((\"Goal\"\n :nonlinearp t\n :use ((:instance expt-lemma-1\n (i (- i j)))\n (:instance expt-lemma-3\n (i (1- (- i j)))))))\n :rule-classes nil)\n\n(defthm expt-lemma-4b\n (implies (and (<= 2 r)\n (<= 1 x)\n (< x r)\n (<= 1 y)\n (< y r)\n (rationalp x)\n (rationalp y)\n (rationalp r)\n (integerp i)\n (integerp j))\n (equal (< (* x (expt r i)) (* y (expt r j)))\n (or (< i j)\n (and (equal i j)\n (< x y)))))\n :hints ((\"Goal\"\n :nonlinearp t\n :use ((:instance expt-lemma-1\n (i (- i j)))\n (:instance expt-lemma-3\n (i (1- (- i j)))))))\n :rule-classes nil)\n\n(defthm expt-lemma-5\n (implies (and (< x (expt r i))\n (<= 1 r)\n (<= i j)\n (rationalp r)\n (integerp i)\n (integerp j))\n (< x (expt r j)))\n :rule-classes :linear)\n\n(defthmd-nl expt-lemma-6\n (implies (and (< x (expt r (- i)))\n (< 0 r)\n (rationalp r))\n (< (* x (expt r i))\n 1))\n :rule-classes :linear)\n\n(defthmd-nl expt-lemma-7\n (implies (and (< x (expt 2 n))\n (integerp n))\n (< (+ (expt 2 n) x)\n (expt 2 (1+ n))))\n :rule-classes :linear)\n\n(defthmd-nl expt-lemma-8\n (implies (and (bvecp x n1)\n (bvecp y n2)\n (natp n1)\n (integerp n2))\n (< (+ (* x (expt 2 n2)) y)\n (expt 2 (+ n1 n2))))\n :rule-classes :linear)\n\n(defthmd expt-lemma-9\n (implies (and (integerp i)\n (integerp j)\n (<= i j))\n (<= (expt 2 i) (expt 2 j)))\n :rule-classes :linear)\n\n;; LOGXOR\n\n(defthm natp-logxor\n (implies (and (natp x)\n (natp y))\n (natp (logxor x y)))\n :hints ((\"Goal\" :in-theory (enable logxor)))\n :rule-classes :type-prescription)\n\n(defthm logxor-of-bits-<=-1\n (implies (and (<= 0 x)\n (<= x 1)\n (<= 0 y)\n (<= y 1))\n (<= (logxor x y) 1))\n :hints ((\"Goal\" :in-theory (enable logxor\n lognot\n logand\n logior)))\n :rule-classes :linear)\n\n(defthmd logxor-of-bits-rewrite\n (implies (and (bitp x)\n (bitp y))\n (equal (logxor x y)\n (if (equal x y) 0 1))))\n\n;; MOD\n\n(defthm mod-=-0-is-0\n (implies (and (acl2-numberp x)\n (< (abs x) n))\n (equal (equal (mod x n) 0)\n (equal x 0))))\n\n(defthmd mod-integerp-lemma\n (implies (and (equal (mod x n) (mod y n))\n (rationalp x)\n (integerp y)\n (integerp n))\n (integerp x)))\n\n(defthmd-nl mod-equality-preserved\n (implies (and (acl2-numberp x)\n (acl2-numberp y)\n (< (abs (- x y)) n))\n (equal (equal (mod x n) (mod y n))\n (equal x y))))\n\n;; Other lemmas\n\n(defthmd-nl arith-1\n (implies (and (<= a 1\/2)\n (<= 1 x)\n (< x 2)\n (<= 1 y)\n (rationalp a)\n (rationalp x)\n (rationalp y))\n (< (* a x) y))\n :rule-classes :linear)\n\n","avg_line_length":25.1227272727,"max_line_length":73,"alphanum_fraction":0.3942464266} +{"size":3826,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(in-package #:origin.test)\n\n(define-test m2\/identity\n (let ((m (m2:id))\n (r (m2:make 1 0 0 1)))\n (is m2:= m r)\n (is m2:= m2:+id+ r)\n (true (m2:id-p (m2:id)))))\n\n(define-test m2\/copy\n (let ((m m2:+id+)\n (o (m2:zero)))\n (is m2:= (m2:copy! o m) m2:+id+)\n (is m2:= o m2:+id+)\n (is m2:= (m2:copy m) m2:+id+)\n (isnt eq m (m2:copy m))))\n\n(define-test m2\/clamp\n (let ((m (m2:make 1 -2 3 -4))\n (o (m2:zero))\n (r (m2:make 1 -1 1 -1)))\n (is m2:= (m2:clamp! o m :min -1.0 :max 1.0) r)\n (is m2:= o r)\n (is m2:= (m2:clamp m :min -1.0 :max 1.0) r)\n (is m2:= (m2:clamp m) m)))\n\n(define-test m2\/add\n (let ((m1 (m2:make 0.50253403 0.64249194 0.51019014 0.64168155))\n (m2 (m2:make 0.11914015 0.88014805 0.39815342 0.82533318))\n (o (m2:zero))\n (r (m2:make 0.6216742 1.52264 0.90834355 1.4670148)))\n (is m2:= (m2:+! o m1 m2) r)\n (is m2:= o r)\n (is m2:= (m2:+ m1 m2) r)\n (is m2:= (m2:+ m1 m2:+zero+) m1)\n (is m2:= (m2:+ m2 m2:+zero+) m2)))\n\n(define-test m2\/subtract\n (let ((m1 (m2:make 0.50253403 0.64249194 0.51019014 0.64168155))\n (m2 (m2:make 0.11914015 0.88014805 0.39815342 0.82533318))\n (o (m2:zero))\n (r (m2:make 0.38339388 -0.23765612 0.112036705 -0.18365163)))\n (is m2:= (m2:-! o m1 m2) r)\n (is m2:= o r)\n (is m2:= (m2:- m1 m2) r)\n (is m2:= (m2:- m1 m2:+zero+) m1)\n (is m2:= (m2:- m2 m2:+zero+) m2)))\n\n(define-test m2\/multiply\n (let ((m (m2:make 1 5 2 6))\n (r (m2:make 11 35 14 46))\n (rot-z (m2:rotate m2:+id+ (\/ pi 3)))\n (o (m2:zero)))\n (is m2:= (m2:*! o m m) r)\n (is m2:= o r)\n (is m2:= (m2:* m m2:+id+) m)\n (is m2:= (m2:* m2:+id+ m) m)\n (is m2:= (m2:* m m2:+id+) (m2:* m2:+id+ m))\n (isnt m2:= (m2:* m rot-z) (m2:* rot-z m))))\n\n(define-test m2\/rotation-vec)\n(let ((rmx m2:+id+)\n (omx (m2:id))\n (rvx (v2:make 1 0)))\n (is m2:= (m2:rotation-axis-from-vec2! omx rvx :x) rmx)\n (true (m2:~ omx rmx))\n (is m2:= (m2:rotation-axis-from-vec2 m2:+id+ rvx :x) rmx))\n\n(define-test m2\/rotation\n (let ((omz (m2:id))\n (rmz (m2:make 0.5 -0.86602545 0.86602545 0.5)))\n (true (m2:~ (m2:rotate! omz m2:+id+ (\/ pi 3)) rmz))\n (true (m2:~ omz rmz))\n (true (m2:~ (m2:rotate m2:+id+ (\/ pi 3)) rmz))))\n\n(define-test m2\/scale\n (let ((m (m2:make 10 0 0 20))\n (o (m2:id))\n (s (m2:make 10 0 0 40))\n (v (v2:make 1 2)))\n (true (m2:= (m2:scale! o m v) s))\n (true (m2:= o s))\n (is v2:= (m2:get-scale (m2:scale m2:+id+ v)) v)))\n\n(define-test m2\/vec2-multiply\n (let ((m (m2:rotate m2:+id+ (\/ pi 3)))\n (v (v2:make 1 2))\n (o (v2:zero))\n (rv (v2:make -1.2320509 1.8660254)))\n (is v2:= (m2:*v2! o m v) rv)\n (is v2:= o rv)\n (is v2:= (m2:*v2 m v) rv)\n (is v2:= (m2:*v2 m2:+id+ v) v)\n (is v2:= (m2:*v2 m2:+id+ v2:+zero+) v2:+zero+)))\n\n(define-test m2\/transpose\n (let ((m (m2:make 1 5 2 6))\n (r (m2:make 1 2 5 6))\n (o (m2:id)))\n (is m2:= (m2:transpose! o m) r)\n (is m2:= o r)\n (is m2:= (m2:transpose m) r)\n (is m2:= (m2:transpose m2:+id+) m2:+id+)))\n\n(define-test m2\/orthogonal-predicate\n (true (m2:orthogonal-p (m2:rotate m2:+id+ pi)))\n (true (m2:orthogonal-p (m2:rotate m2:+id+ (\/ pi 2))))\n (true (m2:orthogonal-p (m2:rotate m2:+id+ (\/ pi 3)))))\n\n(define-test m2\/trace\n (is = (m2:trace (m2:zero)) 0)\n (is = (m2:trace m2:+id+) 2)\n (is = (m2:trace (m2:make 1 2 3 4)) 5))\n\n(define-test m2\/diagonal\n (let ((m (m2:make 1 2 3 4))\n (r1 (v2:make 1 4))\n (r2 (v2:make 2 3))\n (o (v2:zero)))\n (true (m2:diagonal-p (m2:id)))\n (true (not (m2:diagonal-p m)))\n (is v2:= (m2:main-diagonal! o m) r1)\n (is v2:= o r1)\n (is v2:= (m2:main-diagonal m) r1)\n (is v2:= (m2:anti-diagonal! o m) r2)\n (is v2:= o r2)\n (is v2:= (m2:anti-diagonal m) r2)))\n","avg_line_length":29.890625,"max_line_length":69,"alphanum_fraction":0.498170413} +{"size":6315,"ext":"lisp","lang":"Common Lisp","max_stars_count":305.0,"content":"; Elliptic Curve Library\n;\n; Copyright (C) 2020 Kestrel Institute (http:\/\/www.kestrel.edu)\n;\n; License: A 3-clause BSD license. See the LICENSE file distributed with ACL2.\n;\n; Main Author: Nathan Guermond (guermond@kestrel.edu)\n; Contributing Author: Alessandro Coglio (coglio@kestrel.edu)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(in-package \"ECURVE\")\n\n(include-book \"points\")\n(include-book \"short-weierstrass-closure-lemma\")\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n; Simplified Elliptic Curve Addition Closure\n; ------------------------------------------\n\n; In this book we define \"simplified\" versions of the functions\n; point-on-weierstrass-elliptic-curve-p and curve-group-+ from\n; short-weierstrass.lisp by encapsulating some of the arithmetic using our\n; previously defined polynomials in short-weierstrass-lemma.lisp. We then prove\n; the closure property for these simplified definitions, which\n; short-weierstrass.lisp then uses to prove the closure property on the\n; original definitions of the two aforementioned functions.\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;; We first prove the following simplification theorem:\n;; y1 p\/= - y2, P[x1,y1] =p 0, P[x2,y2] =p 0 --> y1 =p y2.\n\n;; If two points have the same x coordinate, and the y coordinates are not\n;; inverses, then the y coordinate are the same (because the y coordinate is\n;; squared in the curve equation). This is used below in\n;; simp-closure-of-curve-group-+.\n\n(defthmd x1=x2-implies-y1=y2-when-y1+y2=\/=0\n (implies (and (integerp A)\n (integerp B)\n (integerp x1)\n (integerp x2)\n (integerp y1)\n (integerp y2)\n (=p x1 x2)\n (not (=p (i+ y1 y2) 0))\n (=p (P[X.Y] x1 y1 A B) 0)\n (=p (P[X.Y] x2 y2 A B) 0))\n (=p y1 y2))\n :hints ((\"Goal\"\n :in-theory (e\/d (P[X.Y]) (=p-implies-=p-i+-1\n =p-implies-=p-i+-2\n =p-of-i+-and-i+-cancel))\n :use ((:instance =p-implies-=p-i+-2\n (x (i- (i+ B (i* A x1) (icube x1))))\n (y (i+ B (i* A x1) (i- (isqr y1)) (icube x1)))\n (y-equiv (i+ B (i* A x1) (i- (isqr y2)) (icube x1))))\n (:instance |x^2 =p y^2 --> x =p y or x =p -y|\n (x y1)\n (y y2))\n (:instance =p-implies-=p-i+-1\n (y y2)\n (x y1)\n (x-equiv (i- y2)))\n (:instance |-x =p -y --> x =p y|\n (x (isqr y1))\n (y (isqr y2)))))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n; Simplified definitions of point-on-weierstrass-elliptic-curve-p and curve-group-+.\n\n;; The following definitions are based on P[X.Y], alpha{x1=x2}, alpha{x1=\/=x2},\n;; which are disabled, thus greatly simplifying proofs.\n\n(defund simp-point-on-weierstrass-elliptic-curve-p (point a b)\n (or (equal point :infinity)\n (let ((x (car point)) (y (cdr point)))\n (=p (P[X.Y] x y a b) 0))))\n\n(defund simp-curve-group-+ (point1 point2 a b)\n (declare (ignorable a b))\n (if (equal point1 :infinity)\n point2\n (if (equal point2 :infinity)\n point1\n (let ((x1 (car point1)) (x2 (car point2))\n (y1 (cdr point1)) (y2 (cdr point2)))\n (if (and (=p x1 x2)\n (=p (i+ y1 y2) 0))\n :infinity\n (if (=p x1 x2)\n (let* ((slope (alpha{x1=x2} x1 y1 a))\n (x3 (x3 slope x1 x2))\n (y3 (y3 slope x1 y1 x2)))\n (cons (modp x3) (modp y3)))\n (let* ((slope (alpha{x1=\/=x2} x1 y1 x2 y2))\n (x3 (x3 slope x1 x2))\n (y3 (y3 slope x1 y1 x2)))\n (cons (modp x3) (modp y3)))))))))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n; Closure proof for the \"simplified\" (in the aforementioned sense) functions.\n\n(local\n (defthmd lemma\n (implies (and (=p y1 0)\n (=p y1 y2))\n (=p (i+ y1 y2) 0))))\n\n(defthmd simp-closure-of-curve-group-+\n (implies (and (integerp a)\n (integerp b)\n (pointp point1)\n (pointp point2)\n (simp-point-on-weierstrass-elliptic-curve-p point1 a b)\n (simp-point-on-weierstrass-elliptic-curve-p point2 a b))\n (simp-point-on-weierstrass-elliptic-curve-p\n (simp-curve-group-+ point1 point2 a b) a b))\n :hints ((\"Goal\"\n :in-theory (enable simp-curve-group-+\n simp-point-on-weierstrass-elliptic-curve-p\n pointp)\n :use ((:instance P[X1.Y1]=0-and-P[X2.Y2]=0-implies-P[X3.Y3]=0\n (x1 (car point1))\n (y1 (cdr point1))\n (x2 (car point2))\n (y2 (cdr point2))\n (alpha (alpha{x1=\/=x2} (car point1)\n (cdr point1)\n (car point2)\n (cdr point2))))\n (:instance x1=x2-implies-y1=y2-when-y1+y2=\/=0\n (x1 (car point1))\n (x2 (car point2))\n (y1 (cdr point1))\n (y2 (cdr point2)))\n (:instance P[X1.Y1]=0-and-P[X2.Y2]=0-implies-P[X3.Y3]=0\n (x1 (car point1))\n (y1 (cdr point1))\n (x2 (car point2))\n (y2 (cdr point2))\n (alpha (alpha{x1=x2} (car point1) (cdr point1) a)))\n (:instance lemma (y1 (cdr point1)) (y2 (cdr point2)))))))\n\n(defthmd pointp-and-point-in-pxp-p-of-simp-curve-group-+\n (implies (and (pointp point1)\n (pointp point2)\n (point-in-pxp-p point1 (prime))\n (point-in-pxp-p point2 (prime)))\n (and (pointp (simp-curve-group-+ point1 point2 a b))\n (point-in-pxp-p (simp-curve-group-+ point1 point2 a b) (prime))))\n :hints ((\"Goal\" :in-theory (e\/d (simp-curve-group-+ pointp point-in-pxp-p)))))\n","avg_line_length":40.2229299363,"max_line_length":84,"alphanum_fraction":0.4673000792} +{"size":81102,"ext":"lsp","lang":"Common Lisp","max_stars_count":1.0,"content":"; watch-raw.lsp\n; Copyright (C) 2013, Regents of the University of Texas\n\n; This version of ACL2 is a descendent of ACL2 Version 1.9, Copyright\n; (C) 1997 Computational Logic, Inc. See the documentation topic NOTE-2-0.\n\n; This program is free software; you can redistribute it and\/or modify\n; it under the terms of the LICENSE file distributed with ACL2.\n\n; This program is distributed in the hope that it will be useful,\n; but WITHOUT ANY WARRANTY; without even the implied warranty of\n; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n; LICENSE for more details.\n\n; This file was originally part of the HONS version of ACL2. The original\n; version of ACL2(h) was contributed by Bob Boyer and Warren A. Hunt, Jr. The\n; design of this system of Hash CONS, function memoization, and fast\n; association lists (applicative hash tables) was initially implemented by\n; Boyer and Hunt.\n\n(in-package \"ACL2\")\n\n(defmacro defn1 (f a &rest r)\n (when (intersection a lambda-list-keywords)\n (error \"DEFN1: ** In the defintion of ~s, the argument list ~s ~\n contains a member of lambda-list-keywords so do not ~\n use defn1.\"\n f a))\n `(progn\n (mf-note-arity ',f ,(length a) 1)\n (declaim (ftype (function ,(make-list (len a) :initial-element t)\n (values t))\n ,f))\n (defun ,f ,a (declare (xargs :guard t)) ,@r)))\n\n\n(defg *watch-file* nil\n \"If *WATCH-FILE* is not NIL, it is a string that names the 'watch\n file', to which (WATCH-DUMP) prints.\")\n\n(defg *watch-string*\n (let ((ws (make-array 0 :element-type 'character\n :adjustable t :fill-pointer t)))\n (setf (fill-pointer ws) 0)\n ws)\n \"WATCH-DUMP first writes to the adjustable string *WATCH-STRING*\n and then prints to the *WATCH-FILE*.\")\n\n(declaim (type (array character (*)) *watch-string*))\n\n(defg *watch-forms*\n '(\"\\\"A string or a quoted form in *WATCH-FORMS* is ignored.\\\"\"\n (print-call-stack)\n #+Clozure '(bytes-used)\n (memoize-summary)\n (time-since-watch-start)\n (time-of-last-watch-update)\n ;; '(mapc 'print-some-documentation *watch-items*)\n ;; [Jared] removing these, they haven't worked since hl-hons\n ;; '(hons-calls\/sec-run-time)\n ;; '(hons-hits\/calls)\n '(hons-acons-summary)\n '(pons-calls\/sec-run-time)\n '(pons-hits\/calls)\n '(pons-summary)\n '(hons-summary)\n ;; [Jared]; removing this because it seems very architecture specific, etc.\n ;; If we really want this, we can add it back with some kind of ttag book.\n ;; '(print-fds)\n ;; [Jared]: removed this because it lets me get rid of a lot of\n ;; code. If we really want this, we can add it back with some kind\n ;; of ttag book.\n ;; '(print-ancestry)\n ;; [Jared]: removing this \n ;; #+Clozure '(watch-shell-command \"pwd\")\n '(functions-that-may-be-too-fast-to-sensibly-profile)\n '(physical-memory-on-this-machine)\n #+Clozure '(number-of-cpus-on-this-machine)\n #+Clozure (gc-count)\n )\n\n \"The forms in *WATCH-FORMS* are evaluated periodically and the\n output is written to *WATCH-FILE*. Change *WATCH-FORMS*\n to produce whatever watch output you want.\")\n\n(defg *watch-items*\n '((length-memoized-functions)\n *memoize-summary-limit*\n *memoize-summary-order-list*\n *memoize-summary-order-reversed*\n *max-mem-usage*\n\n *watch-forms*\n *watch-file*\n *watch-items*\n\n *count-pons-calls*\n\n *memoize-summary-order-list*\n *memoize-summary-order-reversed*\n *memoize-summary-limit*\n\n *record-bytes*\n *record-calls*\n *record-hits*\n *record-hons-calls*\n *record-mht-calls*\n *record-pons-calls*\n *record-time*\n\n *report-bytes*\n *report-calls*\n *report-calls-from*\n *report-calls-to*\n *report-hits*\n *report-hons-calls*\n *report-mht-calls*\n *report-pons-calls*\n *report-time*\n *report-on-memo-tables*\n *report-on-pons-tables*\n\n #+Clozure (ccl::lisp-heap-gc-threshold)\n #+Clozure (ccl::%freebytes)\n\n )\n \"*WATCH-ITEMS* is a list of forms that are printed with their values\n and documentation if (MAPC 'PRINT-SOME-DOCUMENTATION *WATCH-ITEMS*)\n is a member of *WATCH-FORMS* and (WATCH-DO) is invoked.\")\n\n(defg *watch-last-real-time* 0)\n(defg *watch-last-run-time* 0)\n(defg *watch-start-real-time* 0)\n(defg *watch-start-run-time* 0)\n(defg *watch-start-gc-count* 0)\n(defg *watch-start-gc-time* 0)\n(defg *watch-start-heap-bytes-allocated* 0)\n\n(declaim (mfixnum *watch-last-real-time* *watch-last-run-time*\n *watch-start-real-time* *watch-start-run-time* *watch-start-gc-count*\n *watch-start-gc-time*))\n\n(defg *watch-file-form*\n\n '(format nil \"watch-output-temp-~D.lsp\" (getpid$))\n\n \"The value of *WATCH-FILE-FORM* should be a form that is to\n be evaluated whenever (WATCH) is invoked in order to get\n the string that is to name *WATCH-FILE*.\")\n\n\n\n#+Clozure\n(defv *watch-dog-process* nil\n\n \"*WATCH-DOG-PROCESS*, when non-NIL is a CCL process that\n periodically asks the main CCL thread\/process,\n *WATCH-STARTUP-PROCESS*, to invoke MAYBE-WATCH-DUMP.\n\n It is always ok to kill the *WATCH-DOG-PROCESS*. (WATCH-KILL) does\n that.\")\n\n#+Clozure\n(defv *watch-startup-process* nil\n\n \"*WATCH-STARTUP-PROCESS*, when non-NIL is the CCL process that\n created the *WATCH-DOG-PROCESS*, and the only process that should\n ever run MAYBE-WATCH-DUMP.\")\n\n#+Clozure\n(defparameter *with-space-timer-raw-limit* nil)\n\n#+Clozure\n(defparameter *with-run-timer-raw-limit* nil\n\n \"*WITH-RUN-TIMER-RAW-LIMIT* is bound only by WITH-RUN-TIMER-RAW, and\n is bound to a nonnegative integer representing the value of\n (INTERNAL-RUN-TIME) after which, if the watch process interrupts the\n main Lisp process to run MAYBE-WATCH-DUMP, the execution of\n MAYBE-WATCH-DUMP will raise an error with a condition of type\n WITH-TIMER-RAW-CONDITION-TYPE.\")\n\n#+Clozure\n(defparameter *with-real-timer-raw-limit* nil\n\n \"*WITH-REAL-TIMER-RAW-LIMIT* is bound only by WITH-REAL-TIMER-RAW,\n and is bound to a nonnegative integer representing the value of\n (INTERNAL-REAL-TIME) after which, if the watch process interrupts\n the main Lisp process to run MAYBE-WATCH-DUMP, the execution of\n MAYBE-WATCH-DUMP will raise an error with a condition of type\n WITH-TIMER-RAW-CONDITION-TYPE.\")\n\n#+Clozure\n(defg *watch-lock-ht* (make-hash-table)\n \"*WATCH-LOCK-HT* is used to provide a locking mechanism to\n prevent watch-dump from being run twice at the same time.\")\n\n#+Clozure\n(declaim (hash-table *watch-lock-ht*))\n\n#+Clozure\n(defg *watch-real-seconds-between-dumps* 5\n\n \"WATCH-DUMP will not run more than once every\n *WATCH-REAL-SECONDS-BETWEEN-DUMPS* seconds.\")\n\n#+Clozure\n(declaim (fixnum *watch-real-seconds-between-dumps*))\n\n#+Clozure\n(defn watch-condition ()\n (unless (eq *watch-dog-process* ccl::*current-process*)\n (ofto \"~%WATCH-CONDITION should only be called by ~\n *watch-dog-process*:~%~a~%never by~%~a.\"\n *watch-dog-process*\n ccl::*current-process*))\n (and *watch-file*\n (eql 0 ccl::*break-level*)\n (let ((run nil) (real nil))\n (or (and *with-space-timer-raw-limit*\n (> (ccl::%usedbytes) *with-space-timer-raw-limit*))\n (and *with-real-timer-raw-limit*\n (> (setq real (get-internal-real-time))\n *with-real-timer-raw-limit*))\n (and *with-run-timer-raw-limit*\n (> (setq run (get-internal-run-time))\n *with-run-timer-raw-limit*))\n (and (> (or run (get-internal-run-time))\n *watch-last-run-time*)\n (> (or real (get-internal-real-time))\n (+ *watch-last-real-time*\n (* *watch-real-seconds-between-dumps*\n internal-time-units-per-second))))))\n (eql 0 (hash-table-count *watch-lock-ht*))))\n\n#+Clozure\n(defmacro with-watch-lock (&rest r)\n\n; WITH-WATCH-LOCK may well do nothing, knowing that a later call of\n; MAYBE-WATCH-DUMP will probably evenutally be made by the\n; WATCH-DOG-PROCESS, and that will be good enough. WITH-WATCH-LOCK\n; does not support a queue of pending requests for the lock.\n\n `(progn\n (cond ((not (eq *watch-startup-process* ccl::*current-process*))\n (ofd \"~%; WITH-WATCH-LOCK: ** Only the ~\n *WATCH-STARTUP-PROCESS* may obtain the watch ~\n lock.\"))\n ((not (eql 0 ccl::*break-level*))\n (ofd \"~%; WITH-WATCH-LOCK: ** (eql 0 ~\n ccl::*break-level*).\"))\n ((not *watch-file*)\n (ofd \"~%; *WATCH-FILE* is NIL. Invoke (watch).\"))\n ((eql 0 (hash-table-count *watch-lock-ht*))\n\n; At this point, nothing has the watch lock. We race for the watch\n; lock but unknown others may also get into the race, this very\n; process executing this very code.\n\n (let ((id (cons nil nil))) ; a unique object\n (unwind-protect\n (progn\n (setf (gethash id *watch-lock-ht*) t)\n (cond ((eql (hash-table-count *watch-lock-ht*) 1)\n\n; The watch lock has been obtained by only one of 'us', and any\n; competitors will do nothing.\n\n ,@r)\n (t (ofd \"~%; WITH-WATCH-LOCK: ** the watch ~\n lock is currently taken.\"))))\n (remhash id *watch-lock-ht*))\n\n; The watch lock is released as of now, if it was obtained.\n\n ))\n (t (ofd \"~%; WITH-WATCH-LOCK: ** the watch lock is ~\n currently taken.\")))\n *watch-file*))\n\n\n\n#+Clozure\n(define-condition with-timer-raw-condition-type (error) ())\n\n; The following 'condition' type and one 'instance' thereof are\n; created to support one use in the HANDLER-CASE form in\n; WITH-RUN-TIMER-RAW or WITH-RUN-TIMER-RAW, permitting time out errors\n; to be distinguished from all other sorts of errors.\n\n#+Clozure\n(defg *with-space-timer-raw-condition-instance*\n (make-condition 'with-timer-raw-condition-type))\n\n#+Clozure\n(defg *with-real-timer-raw-condition-instance*\n (make-condition 'with-timer-raw-condition-type))\n\n#+Clozure\n(defg *with-run-timer-raw-condition-instance*\n (make-condition 'with-timer-raw-condition-type))\n\n#+Clozure\n(defv *space-timer-raw-bytes* 1)\n\n#+Clozure\n(defv *space-timer-raw-value* '(\"space out\"))\n\n#+Clozure\n(defv *real-timer-raw-seconds* 1)\n\n#+Clozure\n(defv *real-timer-raw-value* '(\"time out\"))\n\n#+Clozure\n(defv *run-timer-raw-seconds* 1)\n\n#+Clozure\n(defv *run-timer-raw-value* '(\"time out\"))\n\n#+Clozure\n(defmacro with-space-timer-raw (form\n &key\n (bytes *space-timer-raw-bytes*)\n (space-out-value *space-timer-raw-value*))\n `(let* ((old *with-space-timer-raw-limit*)\n (new (+ (ccl::%usedbytes) ,bytes))\n (new2 (if *with-space-timer-raw-limit*\n (min *with-space-timer-raw-limit* new)\n new)))\n (handler-case\n (progn (setq *with-space-timer-raw-limit* new2)\n (unwind-protect ,form\n (setq *with-space-timer-raw-limit* old)))\n (with-timer-raw-condition-type\n (c)\n (cond ((eq c *with-space-timer-raw-condition-instance*)\n ; (ofd \"~&; space-out when evaluating:~%~s.\" ',form)\n (setq *with-space-timer-raw-limit* old)\n ',space-out-value)\n (t (error c)))))))\n\n\n\n#+Clozure\n(defmacro with-real-timer-raw (form\n &key\n (seconds *real-timer-raw-seconds*)\n (time-out-value *real-timer-raw-value*))\n\n \"(WITH-REAL-TIMER-RAW form &key seconds time-out-value) begins an\n evaluation of FORM, but the evaluation may and should be aborted\n when more than SECONDS seconds of real-time (wall time) elapses.\n Whether an abort actually occurs depends upon the vagaries of time,\n including whether the watch-dog-process, if there is one, is\n successful in interrupting the main Lisp process. If and when the\n evaluation of FORM completes, WITH-REAL-TIMER-RAW returns the\n value(s) of that evaluation. But otherwise, TIME-OUT-VALUE is\n returned. SECONDS defaults to the value of\n *REAL-TIMER-RAW-SECONDS*. TIME-OUT-VALUE defaults to a list of\n length one whose only member is a string; such an object satisfies\n TO-IF-ERROR-P.\n\n If WITH-REAL-TIMER-RAW is called while WITH-REAL-TIMER-RAW is\n running, the new time limit is bounded by any and all real-timer\n limits already in place.\"\n\n `(let* ((old *with-real-timer-raw-limit*)\n (new (floor\n (+ (get-internal-real-time)\n (* ,seconds internal-time-units-per-second))))\n (new2 (if *with-real-timer-raw-limit*\n (min *with-real-timer-raw-limit* new)\n new)))\n (handler-case\n (progn (setq *with-real-timer-raw-limit* new2)\n (unwind-protect ,form\n (setq *with-real-timer-raw-limit* old)))\n (with-timer-raw-condition-type\n (c)\n (cond ((eq c *with-real-timer-raw-condition-instance*)\n (ofd \"~&; real-time-out when evaluating:~%~s.\" ',form)\n (setq *with-real-timer-raw-limit* old)\n ',time-out-value)\n (t (error c)))))))\n\n#+Clozure\n(defmacro with-run-timer-raw (form\n &key\n (seconds *run-timer-raw-seconds*)\n (time-out-value *run-timer-raw-value*))\n\n \"(WITH-RUN-TIMER-RAW form &key seconds time-out-value) begins an\n evaluation of FORM, but the evaluation may and should be aborted\n when more than SECONDS seconds of run-time (not wall time) elapses.\n Whether an abort actually occurs depends upon the vagaries of time,\n including whether the watch-dog-process, if there is one, is\n successful in interrupting the main Lisp process. If and when the\n evaluation of FORM completes, WITH-RUN-TIMER-RAW returns the\n value(s) of that evaluation. But otherwise, TIME-OUT-VALUE is\n returned. SECONDS defaults to the value of *RUN-TIMER-RAW-SECONDS*,\n which is initially 5. TIME-OUT-VALUE defaults to a list of length\n one whose only member is a string; such an object satisfies\n TO-IF-ERROR-P.\n\n If WITH-RUN-TIMER-RAW is called while WITH-RUN-TIMER-RAW is running,\n the new time limit is bounded by any and all run-time limits already\n in place.\"\n\n `(let* ((old *with-run-timer-raw-limit*)\n (new (floor\n (+ (get-internal-run-time)\n (* ,seconds internal-time-units-per-second))))\n (new2 (if *with-run-timer-raw-limit*\n (min *with-run-timer-raw-limit* new)\n new)))\n (handler-case\n (progn (setq *with-run-timer-raw-limit* new2)\n (unwind-protect ,form\n (setq *with-run-timer-raw-limit* old)))\n (with-timer-raw-condition-type\n (c)\n (cond ((eq c *with-run-timer-raw-condition-instance*)\n (ofd \"~&; run-time-out when evaluating:~%~s.\" ',form)\n (setq *with-run-timer-raw-limit* old)\n ',time-out-value)\n (t (error c)))))))\n\n\n(defg *watch-count-ht* (make-hash-table))\n\n(defn1 watch-count ()\n (values (gethash 'count *watch-count-ht*)))\n\n(defn1 incf-watch-count ()\n (incf (gethash 'count *watch-count-ht*)))\n\n(defn1 set-watch-count (x)\n (setf (gethash 'count *watch-count-ht*) x))\n\n(defv *watch-sleep-seconds* 1\n\n \"The watch dog process sleeps at least *WATCH-SLEEP-SECONDS*\n before interrupting the main process.\")\n\n\n(defparameter *faking-batch-flag*\n ;; See live-terminal-p\n nil)\n\n(defun live-terminal-p ()\n ;; Part of WATCH\n\n \"(LIVE-TERMINAL-P) attempts to determine whether there\n is an active user terminal for this Lisp.\"\n\n #+Clozure\n (and (null (or *faking-batch-flag* ccl::*batch-flag*))\n (not (search \"FILE\"\n (with-standard-io-syntax\n (write-to-string *terminal-io*\n :escape nil\n :readably nil)))))\n #-Clozure t)\n\n\n#+Clozure\n(defn1 maybe-watch-dump ()\n\n \"The function MAYBE-WATCH-DUMP is only executed as an interruption\n request to the main Lisp thread from the watch dog process. To\n repeat, MAYBE-WATCH-DUMP is executed only by the main Lisp thread.\n There is no overwhelming reason why this should be so, but the issue\n of 'shared' hash tables, 'static' variables, ERROR handling, and\n DEFPARAMETER bindings should be carefully considered if this design\n choice is reconsidered.\n\n (MAYBE-WATCH-DUMP) performs three unrelated tasks.\n\n 1. If *WITH-RUN-TIMER-RAW-LIMIT* is a nonnegative integer that is\n less than (GET-INTERNAL-RUN-TIME), then an error of type\n TIMER-RAW-CONDITION is raised, which normally will be caught by the\n error handler established by a pending call of WITH-RUN-TIMER-RAW.\n\n 2. If *WITH-REAL-TIMER-RAW-LIMIT* is a nonnegative integer that is\n less than (GET-INTERNAL-REAL-TIME), then an error of type\n TIMER-RAW-CONDITION is raised, which normally will be caught by\n the error handler established by a pending call of\n WITH-REAL-TIMER-RAW.\n\n 3. If the watch lock can be obtained, (WATCH-DUMP) is run.\"\n\n (cond ((not (eql 0 ccl::*break-level*))\n (incf-watch-count))\n ((and *watch-file*\n (eq *watch-startup-process* ccl::*current-process*))\n (when (and *with-space-timer-raw-limit*\n (> (ccl::%usedbytes)\n *with-space-timer-raw-limit*))\n (setq *with-space-timer-raw-limit* nil)\n (incf-watch-count)\n (error *with-space-timer-raw-condition-instance*))\n (when (and *with-run-timer-raw-limit*\n (> (get-internal-run-time)\n *with-run-timer-raw-limit*))\n (setq *with-run-timer-raw-limit* nil)\n (incf-watch-count)\n (error *with-run-timer-raw-condition-instance*))\n (when (and *with-real-timer-raw-limit*\n (> (get-internal-real-time)\n *with-real-timer-raw-limit*))\n (setq *with-real-timer-raw-limit* nil)\n (incf-watch-count)\n (error *with-real-timer-raw-condition-instance*))\n (handler-case\n\n; No thread or stack frame can be expected to handle an error under\n; MAYBE-WATCH-DUMP in WATCH-DUMP, because MAYBE-WATCH-DUMP is run as\n; the result of an interrupt from the watch dog process. In this\n; unexpected case, we ignore the error, after printing a note to\n; *DEBUG-IO*.\n\n; MAYBE-WATCH-DUMP calls (INCF-WATCH-COUNT), even if MAYBE-WATCH-DUMP\n; exits via ERROR or exits after catching and ignoring an error.\n; Otherwise, the interrupting watch dog process might wait a very long\n; time before resuming normal operation.\"\n\n (with-watch-lock (watch-dump))\n (with-timer-raw-condition-type\n (c) ; pass it on up\n (incf-watch-count)\n (error c))\n (error\n (x)\n (ofd \"~%; MAYBE-WATCH-DUMP: An error is being ignored:~% ~\n ~a.\" x)\n (incf-watch-count)))\n (incf-watch-count)\n *watch-file*)\n (t (incf-watch-count)\n (ofd \"~%; MAYBE-WATCH-DUMP may only be called by the ~\n *WATCH-STARTUP-PROCESS*\"))))\n\n(defn1 watch-kill ()\n\n \"(WATCH-KILL) kills the CCL *WATCH-DOG-PROCESS*, if any, and sets\n the *WATCH-FILE* to NIL. It is alway OK to invoke (WATCH-KILL).\"\n\n (setq *watch-file* nil)\n #+Clozure\n (when *watch-dog-process*\n (ignore-errors (ccl::process-kill *watch-dog-process*))\n (setq *watch-dog-process* nil))\n #+Clozure\n (setq\n *watch-dog-process* nil\n *with-real-timer-raw-limit* nil\n *with-space-timer-raw-limit* nil\n *with-run-timer-raw-limit* nil\n *watch-startup-process* nil))\n\n\n#+Clozure\n(defn1 watch-dump ()\n\n \"(WATCH-DUMP) writes to the watch file the characters sent to\n *STANDARD-OUTPUT* by the evaluation of the members of *WATCH-FORMS*.\n\n The value of *WATCH-FILE* is returned by WATCH-DUMP.\n\n If *WATCH-FILE* is NIL, (WATCH) is invoked.\"\n\n (unless *watch-file* (watch))\n (setf (fill-pointer *watch-string*) 0)\n (our-syntax-nice\n (with-output-to-string\n (*standard-output* *watch-string*)\n (setq *print-miser-width* 100)\n (loop for form in *watch-forms* do\n (handler-case\n (eval form)\n (with-timer-raw-condition-type\n (c) ; pass it on up\n (incf-watch-count)\n (error c))\n (error ()\n (oft \"~&~s~50t? error in eval ?~%\"\n form)))\n (fresh-line)))\n (with-open-file (stream *watch-file* :direction :output\n :if-exists :supersede)\n (write-string *watch-string* stream))\n (setq *watch-last-real-time* (get-internal-real-time))\n (setq *watch-last-run-time* (get-internal-run-time)))\n *watch-file*)\n\n\n(defun watch (&optional force-dog)\n\n \"WATCH is a raw Lisp function that initiates the printing of\n profiling information. (WATCH) sets *WATCH-FILE* to the string that\n results from the evaluation of *WATCH-FILE-FORM*, a string that is\n to be the name of a file we call the 'watch file'.\n\n In Clozure Common Lisp, (WATCH) also initiates the periodic\n evaluation of (WATCH-DUMP), which evaluates the members of the list\n *WATCH-FORMS*, but diverts characters for *STANDARD-OUTPUT* to the\n watch file. The value of *WATCH-FILE* is returned by both (WATCH)\n and (WATCH-DUMP). (WATCH-KILL) ends the periodic printing to the\n watch file.\n\n You are most welcome to, even encouraged to, change the members of\n *WATCH-FORMS* to have your desired output written to the watch file.\n\n Often (MEMOIZE-SUMMARY) is a member of *WATCH-FORMS*. It prints\n information about calls of memoized and\/or profiled functions.\n\n Often (PRINT-CALL-STACK) is a member of *WATCH-FORMS*. It shows the\n names of memoized and\/or profiled functions that are currently in\n execution and how long they have been executing.\n\n Other favorite members of *WATCH-FORMS* include (PRINT-FDS),\n (BYTES-USED), and (GC-COUNT).\n\n We suggest the following approach for getting profiling information\n about calls to Common Lisp functions:\n\n 0. Invoke (WATCH).\n\n 1. Profile some functions that have been defined.\n\n For example, call (PROFILE-FN 'foo1), ...\n\n Or, for example, call PROFILE-FILE on the name of a file that\n contains the definitions of some functions that have been\n defined.\n\n Or, as a perhaps extreme example, invoke\n (PROFILE-ACL2), which will profile many of the functions that\n have been introduced to ACL2, but may take a minute or two.\n\n Or, as a very extreme example, invoke\n (PROFILE-ALL), which will profile many functions, but may take\n a minute or two.\n\n 2. Run a Lisp computation of interest to you that causes some of\n the functions you have profiled to be executed.\n\n 3. Invoke (WATCH-DUMP).\n\n 4. Examine, perhaps in Emacs, the watch file, whose name was\n returned by (WATCH-DUMP). The watch file contains information\n about the behavior of the functions you had profiled or\n memoized during the computation of interest.\n\n From within ACL2, you may MEMOIZE any of your ACL2 Common Lisp\n compliant ACL2 functions. One might MEMOIZE a function that is\n called repeatedly on the exact same arguments. Deciding which\n functions to memoize is tricky. The information from (WATCH-DUMP)\n helps. Sometimes, we are even led to radically recode some of our\n functions so that they will behave better when memoized.\n\n In Emacs, the command 'M-X AUTO-REVERT-MODE' toggles auto-revert\n mode, i.e., causes a buffer to exit auto-revert mode if it is in\n auto-revert mode, or to enter auto-revert mode if it is not. In\n other words, to stop a buffer from being auto-reverted, simply\n toggle auto-revert mode; toggle it again later if you want more\n updating. 'M-X AUTO-REVERT-MODE' may be thought of as a way of\n telling Emacs, 'keep the watch buffer still'.\n\n In Clozure Common Lisp, if the FORCE-DOG argument to WATCH (default\n NIL) is non-NIL or if (LIVE-TERMINAL-P) is non-NIL a 'watch dog'\n thread is created to periodically call (WATCH-DUMP). The thread is\n the value of *WATCH-DOG-PROCESS*.\n\n Invoke (WATCH-HELP) outside of ACL2 for further details.\"\n\n #-Clozure\n (declare (ignore force-dog))\n\n #+Clozure\n (ccl::cpu-count)\n (watch-kill)\n #+Clozure\n (pushnew 'watch-kill ccl::*save-exit-functions*)\n #+Clozure\n (setq *watch-lock-ht* (make-hash-table))\n (setq *watch-file* nil)\n (setq *watch-start-real-time* (get-internal-real-time))\n (setq *watch-start-run-time* (get-internal-run-time))\n (setq *watch-last-real-time* 0)\n (setq *watch-last-run-time* 0)\n (set-watch-count 0)\n (clear-memoize-call-array)\n (unless (and (ignore-errors\n (setq *watch-file* (eval *watch-file-form*)))\n (stringp *watch-file*))\n (ofe \"; WATCH: evaluation of *WATCH-FILE-FORM* failed to ~\n produce a string.\"))\n #+Clozure\n (progn\n (setq *watch-start-gc-count* (ccl::full-gccount))\n (setq *watch-start-gc-time* (ccl::gctime))\n (setq *watch-start-heap-bytes-allocated* (heap-bytes-allocated))\n (setq *watch-startup-process* ccl::*current-process*)\n (when (or force-dog (live-terminal-p))\n (setq *watch-dog-process*\n (ccl::process-run-function \"watch-dog-process\"\n (lambda ()\n (let (x)\n (loop (sleep *watch-sleep-seconds*)\n (setq x (watch-count))\n (when (watch-condition)\n (ccl:process-interrupt *watch-startup-process*\n #'maybe-watch-dump)\n (loop for i from 1 while (>= x (watch-count))\n do (sleep *watch-sleep-seconds*))))))))\n (ofv \"An invocation of (WATCH) has now started a new ~%; ~\n Aside: Clozure Common Lisp thread, the ~\n *WATCH-DOG-PROCESS*, which~%; Aside: calls ~\n (MAYBE-WATCH-DUMP) periodically, which writes to the ~\n file ~%; Aside: whose name is the value of ~\n *WATCH-FILE*, viz.,~%; Aside: ~a.~%(WATCH-KILL) kills ~\n the thread.~%\"\n *watch-file*)))\n #+Clozure\n (watch-dump))\n\n\n(defmacro defw (fn &rest r)\n `(defn ,fn ()\n (let ((fn (string-capitalize (symbol-name ',fn))))\n ,@r)))\n\n\n\n(defmacro oft-wrm (str &rest r)\n `(oft ,str (or *print-right-margin* 70) ,@r))\n\n\n(defn1 date-string ()\n (multiple-value-bind (sec mi h d mo y)\n (decode-universal-time (get-universal-time))\n (let (m)\n (cond ((> h 12)\n (setq m \" p.m.\")\n (setq h (- h 12)))\n (t (setq m \" a.m.\")))\n (ofn \"~2,d:~2,'0d:~2,'0d~a ~4d\/~d\/~d\"\n h mi sec m y mo d))))\n\n(defw time-of-last-watch-update\n (oft-wrm \"~v<~a~;~a~>\" fn (date-string)))\n\n(defun watch-real-time ()\n (\/ (- (get-internal-real-time) *watch-start-real-time*)\n *float-internal-time-units-per-second*))\n\n(defun watch-run-time ()\n (\/ (- (get-internal-run-time) *watch-start-run-time*)\n *float-internal-time-units-per-second*))\n\n(defw pons-calls\/sec-run-time\n (let* ((c *pons-call-counter*)\n (ans\n (cond ((eql c 0) \"No pons calls yet.\")\n (t (ofn \"~,1e\" (round (\/ c (+ .000001\n (watch-run-time)))))))))\n (oft-wrm \"~v<~a~;~a~>\" fn ans)))\n\n(defw pons-hits\/calls\n (let* ((c *pons-call-counter*)\n (h (- c *pons-misses-counter*))\n (ans\n (cond ((eql c 0) \"No pons calls yet.\")\n (t (ofn \"~,1e \/ ~,1e = ~,2f\" h c (\/ h c))))))\n (oft-wrm \"~v<~a~;~a~>\" fn ans)))\n\n\n\n#+Clozure\n(defw gc-count ()\n (if *watch-file*\n (let ((h 0)\n (mi 0)\n (sec (floor (- (ccl::gctime) *watch-start-gc-time*)\n internal-time-units-per-second)))\n (multiple-value-setq (mi sec) (floor sec 60))\n (multiple-value-setq (h mi) (floor mi 60))\n (oft-wrm \"~v,20<~a~;~a.~;~a~;~2d:~2,'0d:~2,'0d.~>\"\n fn\n (- (ccl::full-gccount) *watch-start-gc-count*)\n \"Time in gc since watch start\"\n h mi sec))))\n\n\n(defw time-since-watch-start ()\n (if *watch-file*\n (multiple-value-bind (mi1 sec1)\n (floor (round (watch-real-time)) 60)\n (multiple-value-bind (h1 mi1) (floor mi1 60)\n (multiple-value-bind (mi2 sec2)\n (floor (round (watch-run-time)) 60)\n (multiple-value-bind (h2 mi2) (floor mi2 60)\n (oft-wrm \"~v\"\n (watch-count) fn h1 mi1 sec1 \"Run-time\"\n h2 mi2 sec2)))))))\n\n\n#+Clozure\n(defun make-watchdog (duration)\n\n; Thanks to Gary Byers for this!\n\n (let* ((done (ccl:make-semaphore))\n (current ccl:*current-process*))\n (ccl::process-run-function \"watchdog\"\n (lambda ()\n (or (ccl:timed-wait-on-semaphore done duration)\n (ccl:process-interrupt\n current #'error \"Time exceeded\"))))\n done))\n\n#+Clozure\n(defw number-of-cpus-on-this-machine\n (let* ((ans (ofn \"~:d\" (ccl::cpu-count))))\n (oft-wrm \"~v<~a~;~a~>\" fn ans)))\n\n\n(defw physical-memory-on-this-machine\n (let* ((ans (ofn \"~:d\" (physical-memory))))\n (oft-wrm \"~v<~a~;~a bytes.~>\" fn ans)))\n\n\n\n\n#+Clozure\n(defun bytes-used ()\n (multiple-value-bind (dynamic static library frozen-size)\n (ccl::%usedbytes)\n (declare (ignorable library))\n (let* ((sum (+ dynamic static library frozen-size))\n (stack-size (ccl::%stack-space))\n (id (ccl::getpid))\n (rwx-size (rwx-size)))\n (declare (ignorable sum))\n (oft\n\n; (stat (proc-stat id))\n\n; ~%reserved: ~15:d~ (ccl::%reservedbytes)\n\n; ~%library: ~15:d library\n\n; ~%memfree: ~15:d~29tfrom \/proc\/meminfo~\n; (* 1024 (meminfo \"MemFree:\")\n; ~%swapfree: ~15:d~29tfrom \/proc\/meminfo\"\n; (* 1024 (meminfo \"SwapFree:\")\n; ~%rss: ~15:d~29tfrom \/proc\/~a\/stat - ram used~\n; (rss-size (* (getf stat :rss) ccl:*host-page-size*))\n; ~%jobs: ~15:d~29tfrom vmstat~\" (number-procs-running)\n; ~%load avg: ~15f~29tone minute, from uptime\" (load-average)\n\n \"~%(bytes-used)~\n ~%dynamic: ~15:d~29tlisp-heap-gc-threshold: ~14:d~\n ~%stack: ~15:d~29tmax-mem-usage: ~14:d~\n ~%free: ~15:d~29tgc-min-threshold: ~14:d~\n ~%rwx: ~15:d~29tfrom \/proc\/~a\/maps - virtual used\"\n\n dynamic (ccl::lisp-heap-gc-threshold)\n stack-size *max-mem-usage*\n (ccl::%freebytes) *gc-min-threshold*\n rwx-size id))))\n\n\n\n\n(defun functions-that-may-be-too-fast-to-sensibly-profile ()\n (let ((ans (loop for fn in (profiled-functions)\n when (< (total-time fn)\n (* 1e-6 (number-of-calls fn)))\n collect fn)))\n (when ans (oft \"Too fast to sensibly profile?~%~a\" ans))))\n\n\n\n\n\n\n;; [Jared]: Removing this since it seems redundant with CSH and is, afaik, unused.\n\n;; (defv *sh-process* nil\n\n;; \"When not NIL, *SH-PROCESS* has as its value the Lisp process\n;; object for an underlying sh process.\")\n\n;; (defv *sh-temporary-file-name* nil\n\n;; \"When not NIL, *SH-TEMPORARY-FILE-NAME* has as it value a stream\n;; via which an underlying sh process sends synchronizing info back to\n;; Lisp.\")\n\n;; #+Clozure\n;; (defn1 sh-stop ()\n\n;; \"(sh-stop) kills the subsidiary sh process if there is one.\"\n\n;; (ignore-errors\n;; (when (ccl::external-process-p *sh-process*)\n;; (ccl::signal-external-process *sh-process* 9)))\n;; (setq *sh-process* nil)\n;; (ignore-errors\n;; (when (and *sh-temporary-file-name*\n;; (probe-file *sh-temporary-file-name*))\n;; (delete-file *sh-temporary-file-name*)))\n;; (setq *sh-temporary-file-name* nil))\n\n;; #+Clozure\n;; (defv *sh-start-string*\n;; \"tm=`mktemp \/tmp\/acl2-sh-temp.XXXXXX`; echo $tm\")\n\n;; #+Clozure\n;; (defn1 sh-start ()\n\n;; \"(SH-START) creates a subsidiary sh process. SH-START\n;; is called automatically by SH.\"\n\n;; (sh-stop)\n;; (setq *sh-process*\n;; (ccl::run-program \"\/bin\/sh\" nil\n;; :input :stream\n;; :output :stream\n;; :wait nil))\n;; (let ((is (ccl::external-process-input-stream *sh-process*)))\n;; (our-syntax\n;; (write-line *sh-start-string* is)\n;; (finish-output is)\n;; (setq *sh-temporary-file-name*\n;; (read-line\n;; (ccl::external-process-output-stream *sh-process*)\n;; nil\n;; :eof)) ; wait\n;; (cond ((probe-file *sh-temporary-file-name*)\n;; *sh-temporary-file-name*)\n;; (t (ofe \"sh-start: failed.\"))))))\n\n;; #+Clozure\n;; (defun sh (&rest args)\n\n;; \"SH is a raw Lisp function. (SH) returns a status report on a lower\n;; 'sh' shell process, which is created if necessary, and which, once\n;; created, is the value of the Lisp variable *SH-PROCESS*.\n\n;; On each call to SH, one sh shell command is executed. The same sh\n;; process executes all the commands. That is, a new process is not\n;; created for each command, but the same sh process is used\n;; repeatedly. This may significantly reduce the copying overhead\n;; incurred by a call to FORK to create a new process under a big Lisp\n;; job, as the ACL2 function SYSTEM-CALL might on each call.\n\n;; (SH :STREAM arg1 ... argn) executes a single sh command, namely,\n;; the string obtained by placing spaces between the strings, symbols,\n;; or numbers arg1 ... argn. A stream of the command's standard output\n;; is returned as the value of SH. For example,\n\n;; (SH :STREAM '|gunzip -c foo.gz|)\n\n;; returns an open input stream that contains the ungzipped contents of\n;; the file 'foo.gz'.\n\n;; If arg1 is not :STREAM, (SH arg1 ... argn) executes one sh command\n;; exactly as in the :STREAM case, namely, the string obtained by\n;; placing spaces between the strings, symbols, or numbers arg1\n;; ... argn. But the standard output of the command is printed into a\n;; string, which is returned as the value of SH. If the last character\n;; of that output is a newline, it is not included in the string\n;; returned.\n\n;; The standard output from the command is diverted through a unique\n;; \/tmp file, whose name is the value of the variable\n;; *SH-TEMPORARY-FILE-NAME*.\n\n;; If the command sends any output to error output, a Lisp ERROR is\n;; caused and the error output of the command is printed to Lisp's\n;; *STANDARD-OUTPUT*.\n\n;; SH is almost identical to CSH.\n\n;; For the best of hacking luck, each single SH command fed to SH\n;; should be only one line long, and should not involve any of the\n;; fancier SH characters such *, ~, !, =, |, <, >, &, \\, {, }, single\n;; quote, semicolon, period, question mark, parentheses, square\n;; brackets, double quote, and backquote. Stick to alphanumeric\n;; characters, space, and hyphen if possible. Create a separate, small\n;; .sh file to do anything fancy involving sh and such punctuation\n;; characters. See abc-iprove.csh for one example, which involves\n;; creating a temp file.\"\n\n;; (with-standard-io-syntax\n;; (pushnew 'sh-stop ccl::*save-exit-functions*)\n;; (unless (ccl::external-process-p *sh-process*) (sh-start))\n;; (prog*\n;; ((p *sh-process*)\n;; (command (if (eq (car args) :stream) (cdr args) args))\n;; (is (ccl::external-process-input-stream p))\n;; (os (ccl::external-process-output-stream p))\n;; (x nil))\n\n;; (unless args\n;; (return\n;; (list :status (ccl::external-process-status p)\n;; :process p\n;; :input-stream (ccl::external-process-input-stream p)\n;; :output-stream (ccl::external-process-output-stream p)\n;; :temp-file-name *sh-temporary-file-name*)))\n\n;; ;; It seems so peculiar to 'print' to an 'input' here, but input\n;; ;; and output are opposite on the other end.\n\n;; (write-string (args-spaced command) is)\n;; (write-line \" > $tm < \/dev\/null ; echo\" is)\n;; (finish-output is)\n;; (setq x (read-char os nil :eof))\n\n;; ;; If necessary, READ-CHAR will wait.\n\n;; (unless (and (eql x #\\Newline) (null (listen os)))\n;; (loop while (characterp x) do\n;; (write-char x *error-output*)\n;; (force-output *error-output*)\n;; (setq x (read-char-no-hang os nil :eof)))\n;; (sh-stop)\n;; (ofe \"SH: ~a.\" args))\n;; (return\n;; (cond\n;; ((eq :stream (car args))\n;; (open *sh-temporary-file-name*))\n;; (t (with-open-file\n;; (o *sh-temporary-file-name*)\n;; (with-output-to-string\n;; (s)\n;; (loop while\n;; (and (not (eq :eof (setq x (read-char\n;; o nil :eof))))\n;; (or (not (eql x #\\Newline))\n;; (not (eq :eof (peek-char\n;; nil o nil :eof)))))\n;; do (write-char x s))))))))))\n\n\n\n\n\n;; [Jared]: removing this, doesn't appear to be used\n\n;; #+Clozure\n;; (defun call-with-timeout (function duration)\n\n;; \"(CALL-WITH-TIMEOUT function duration) calls FUNCTION on no\n;; arguments and returns its values unless more than DURATION seconds\n;; elapses before completion, in which case the FUNCTION computation is\n;; interrupted and calls ERROR.\n\n;; Thanks to Gary Byers for this beaut.\"\n\n;; (let* ((semaphore (make-watchdog duration)))\n;; (unwind-protect\n;; (funcall function)\n;; (ccl:signal-semaphore semaphore))))\n\n\n\n;; [Jared]: removing these because they're no longer used\n\n;; #+Clozure\n;; (defun number-procs-running ()\n;; (with-standard-io-syntax\n;; (with-open-stream (s (csh :stream \"vmstat\"))\n;; (read-line s)\n;; (read-line s)\n;; (read s))))\n\n;; #+Clozure\n;; (defn1 load-average ()\n;; (let ((str (csh \"uptime\")))\n;; (let ((loc (search \"load average: \" str)))\n;; (values (read-from-string str nil nil :start (+ 14 loc))))))\n\n;; #+Clozure\n;; (defn pid-owner (&optional also-cmdline)\n;; (let ((str (csh \"ps -A -o user,pid\"))\n;; (ans nil)\n;; (line nil))\n;; (with-standard-io-syntax\n;; (with-input-from-string\n;; (s str)\n;; (read-line s nil nil)\n;; (loop while (setq line (read-line s nil nil))\n;; collect\n;; (let ((items\n;; (with-input-from-string\n;; (s line)\n;; (loop for i below 2 collect\n;; (ignore-errors (read s nil nil))))))\n;; (let ((owner (car items))\n;; (pid (cadr items)))\n;; (when (and (integerp pid)\n;; (not (equal owner 'root)))\n;; (let* ((cfile\n;; (ignore-errors\n;; (probe-file\n;; (format nil \"\/proc\/~a\/cmdline\" pid)))))\n;; (when cfile\n;; (let ((cmdline\n;; (and also-cmdline\n;; cfile\n;; (with-open-file\n;; (s cfile)\n;; (read-line s nil nil)))))\n;; (push (list pid owner cmdline) ans))))))))))\n;; (sort ans '< :key 'car)))\n\n;; #+Clozure\n;; (defn rss (&optional verbose)\n;; (with-standard-io-syntax\n;; (let ((ans nil))\n;; (loop for triple in (pid-owner) do\n;; (let ((items (proc-stat (car triple))))\n;; (let ((rss (getf items :rss)))\n;; (when (and (integerp rss) (> rss 1000))\n;; (push (list (car triple)\n;; (cadr triple)\n;; rss\n;; (getf items :comm))\n;; ans)))))\n;; (setq ans (sort ans '> :key 'third))\n;; (when verbose\n;; (oft \"~%pid user rss comm\")\n;; (loop for x in ans do\n;; (apply 'format\n;; *standard-output*\n;; \"~%~a~10t~a~20t~12:d~30t~a\"\n;; x))\n;; (oft \"~%from man proc: rss = Resident Set Size. Number of ~\n;; pages in real memory.\")\n;; (oft \"~%host-page-size: ~:d\" CCL:*HOST-PAGE-SIZE*))\n;; ans)))\n\n\n;; [Jared] removing this because it lets me remove more stuff and is only\n;; incidentally used in watch\n\n;; #+Clozure\n;; (defn print-ancestry (&optional (p (ccl::getpid)))\n;; (with-open-stream\n;; (s (csh :stream \"ps ww -A -o pid,ppid,cmd\"))\n;; (let (first l ans trip)\n;; (loop (setq first (read s nil nil))\n;; (when (null first) (return nil))\n;; (push (list first (read s nil nil) (read-line s nil nil))\n;; l))\n;; (loop (setq trip (assoc p l))\n;; (when (null trip) (return nil))\n;; (push (caddr trip) ans)\n;; (setq p (cadr trip)))\n;; (setq ans (nreverse ans))\n;; (loop for i from 0 while ans do\n;; (terpri)\n;; (loop repeat i do (write-char #\\Space))\n;; (princ (pop ans))))))\n\n;; #+Clozure\n;; (defn print-fds (&optional (p (ccl::getpid)))\n;; (loop for x in (directory (ofn \"\/proc\/~a\/fd\/*\" p))\n;; do\n;; (let ((n (namestring x)))\n;; (unless (or (eql #\\\/ (char n (1- (length n))))\n;; (mf-looking-at \"\/dev\/pts\/\" n)\n;; (mf-looking-at \"\/scratch\/\" n)\n;; (mf-looking-at \"\/proc\/\" n))\n;; (fresh-line)\n;; (princ n)))))\n\n;; #+Clozure\n;; (defun watch-shell-command (&rest args)\n;; (let* ((as (args-spaced args))\n;; (output (csh as)))\n;; (oft-wrm \"~v<~a~;~a~>\" as output)))\n\n\n\n\n;; [Jared] Removing CSH since, with the above, we can get rid of it,\n;; and we generally should probably be using tshell anyway\n\n;; ;; CSH\n\n;; ;\n;; ; Here is a quite simple version of OPEN-GZIPPED-FILE that is fine to\n;; ; use in CCL for a few files, but perhaps not for thousands of files\n;; ; because FORK can take a serious amount of time for a big CCL job such\n;; ; as ACL2 since a copy is made by FORK of the entire job.\n;; ;\n;; ; (defun open-gzipped-file (name)\n;; ; (ccl::external-process-output-stream\n;; ; (ccl::run-program \"gunzip\" (list \"-c\" name)\n;; ; :output :stream :wait nil)))\n;; ;\n;; ; To eliminate FORK as a source of such inefficiency, we provide the\n;; ; function CSH, which establishes a lasting subsidiary cshell process\n;; ; executing a 'read-and-execute one CSH line' loop. It may be a good\n;; ; idea to call CSH very early, even before you need it, simply to get\n;; ; that process running when you can, i.e., when your image is small\n;; ; enough.\n\n;; (defv *csh-process* nil\n\n;; \"When not NIL, *CSH-PROCESS* has as its value the Lisp process\n;; object for an underlying csh process.\")\n\n;; (defv *csh-temporary-file-name* nil\n\n;; \"When not NIL, *CSH-TEMPORARY-FILE-NAME* has as its value a stream\n;; via which an underlying csh process sends synchronizing info back to\n;; Lisp.\")\n\n;; #+Clozure\n;; (defn1 csh-stop ()\n\n;; \"(csh-stop) kills the subsidiary csh process if there is one.\"\n\n;; (ignore-errors\n;; (when (ccl::external-process-p *csh-process*)\n;; (ccl::signal-external-process *csh-process* 9)))\n;; (setq *csh-process* nil)\n;; (ignore-errors\n;; (when (and *csh-temporary-file-name*\n;; (probe-file *csh-temporary-file-name*))\n;; (delete-file *csh-temporary-file-name*)))\n;; (setq *csh-temporary-file-name* nil))\n\n;; #+Clozure\n;; (defv *csh-start-string*\n;; \"set tm=`mktemp \/tmp\/acl2-csh-temp.XXXXXX`; echo $tm\")\n\n;; #+Clozure\n;; (defn1 csh-start ()\n\n;; \"(CSH-START) creates a subsidiary csh process. CSH-START\n;; is called automatically by CSH.\"\n\n;; (csh-stop)\n;; (setq *csh-process*\n;; (ccl::run-program \"\/bin\/csh\" (list \"-f\")\n;; :input :stream\n;; :output :stream\n;; :wait nil))\n;; (let ((is (ccl::external-process-input-stream *csh-process*)))\n;; (our-syntax\n;; (write-line *csh-start-string* is)\n;; (finish-output is)\n;; (setq *csh-temporary-file-name*\n;; (read-line\n;; (ccl::external-process-output-stream *csh-process*)\n;; nil\n;; :eof)) ; wait\n;; (cond ((ignore-errors\n;; (probe-file *csh-temporary-file-name*))\n;; *csh-temporary-file-name*)\n;; (t (ofe \"csh-start: failed.\"))))))\n\n;; (defn1 args-spaced (args)\n;; (cond ((atom args) \"\")\n;; ((and (atom (cdr args))\n;; (stringp (car args)))\n;; (car args))\n;; (t (with-output-to-string (s)\n;; (loop for tail on args do\n;; (our-syntax\n;; (princ (car tail) s)\n;; (when (cdr tail) (write-char #\\Space s))))))))\n\n;; #+Clozure\n;; (defun csh (&rest args)\n\n;; \"CSH is a raw Lisp function. Called with no arguments, (CSH)\n;; returns a status report on a process, which is created if necessary,\n;; and which, once created, is the value of the Lisp variable\n;; *CSH-PROCESS*.\n\n;; On each call to CSH, one csh shell command is executed. Unless for\n;; some unusual reason the process is killed, the same process executes\n;; all the commands. That is, to repeat, a new process is not created\n;; for each command, but the same csh process is used repeatedly. This\n;; may significantly reduce the copying overhead of a call to FORK to\n;; create a new process under a big Lisp job, as the ACL2 function\n;; SYSTEM-CALL does on each call.\n\n;; (CSH :STREAM arg1 ... argn) executes a single csh command, namely,\n;; the string obtained by placing spaces between the strings, symbols,\n;; or numbers arg1 ... argn. A stream of the command's standard output\n;; is returned as the value of CSH. For example,\n\n;; (CSH :STREAM '|gunzip -c foo.gz|)\n\n;; returns an open input stream that contains the ungzipped contents of\n;; the file 'foo.gz'.\n\n;; If arg1 is not :STREAM, (CSH arg1 ... argn) executes one csh command\n;; exactly as in the :STREAM case, namely, the string obtained by\n;; placing spaces between the strings, symbols, or numbers arg1\n;; ... argn. But the standard output of the command is printed into a\n;; string, which is returned as the value of CSH. If the last\n;; character of that output is a newline, it is not included in the\n;; string returned.\n\n;; The standard output from the command is diverted through a unique\n;; \/tmp file, whose name is the value of the variable\n;; *CSH-TEMPORARY-FILE-NAME*.\n\n;; If the command sends any output to error output, a Lisp ERROR is\n;; caused and the error output of the command is printed to Lisp's\n;; *STANDARD-OUTPUT*.\n\n;; Each single csh command fed to CSH should be only one line long, and\n;; should not involve any of the fancier csh characters such *, ~, !,\n;; =, |, <, >, &, \\, {, }, single quote, semicolon, period, question\n;; mark, parentheses, square brackets, double quote, and backquote.\n;; Stick to alphanumeric characters, space, and hyphen if possible.\n;; Create a separate, small .csh file to do anything fancy involving\n;; csh and those punctuation characters. See abc-iprove.csh for one\n;; example, which involves creating a temp file.\"\n\n;; ;; CSH is at least as dangerous as SYSCALL, so would need a\n;; ;; trust-tag if made into an ACL2 command.\n\n;; ;; Implementation note: For CSH to work, the csh shell command\n;; ;; 'echo' with no arguments must 'flush' its output, in addition to\n;; ;; printing a newline, or in Lisp terminology, 'echo' must\n;; ;; 'finish-output'. We believe 'echo' does that, but we have not\n;; ;; tracked down where it officially says so. If 'echo' does not\n;; ;; flush its output, then the READ-CHAR below may wait forever.\n;; ;; Probably, adding a 'sync' command would guarantee the flushing.\n\n;; (with-standard-io-syntax\n;; (pushnew 'csh-stop ccl::*save-exit-functions*)\n;; (unless (ccl::external-process-p *csh-process*) (csh-start))\n;; (prog*\n;; ((p *csh-process*)\n;; (command (if (eq (car args) :stream) (cdr args) args))\n;; (is (ccl::external-process-input-stream p))\n;; (os (ccl::external-process-output-stream p))\n;; (x nil))\n\n;; (unless args\n;; (return\n;; (list :status (ccl::external-process-status p)\n;; :process p\n;; :input-stream (ccl::external-process-input-stream p)\n;; :output-stream (ccl::external-process-output-stream p)\n;; :temp-file-name *csh-temporary-file-name*)))\n\n;; ;; It seems so peculiar to 'print' to an 'input' here, but input\n;; ;; and output are opposite on the other end.\n\n;; (write-string (args-spaced command) is)\n;; (write-line \" > $tm < \/dev\/null ; echo\" is)\n;; (finish-output is)\n;; (setq x (read-char os nil :eof))\n\n;; ;; If necessary, READ-CHAR will wait.\n\n;; (unless (and (eql x #\\Newline) (null (listen os)))\n;; (loop while (characterp x) do\n;; (write-char x *error-output*)\n;; (force-output *error-output*)\n;; (setq x (read-char-no-hang os nil :eof)))\n;; (csh-stop)\n;; (ofe \"CSH: ~a.\" args))\n;; (return\n;; (cond\n;; ((eq :stream (car args)) (open *csh-temporary-file-name*))\n;; (t (with-open-file (o *csh-temporary-file-name*)\n;; (with-output-to-string\n;; (s)\n;; (loop while\n;; (and (not (eq :eof (setq x (read-char\n;; o nil :eof))))\n;; (or (not (eql x #\\Newline))\n;; (not (eq :eof (peek-char\n;; nil o nil :eof)))))\n;; do (write-char x s))))))))))\n\n\n\n\n\n\n;; [Jared]: Removing all profiler-if and setup-smashed-if stuff. Sol and I\n;; don't think we have ever used it, and it seems iffy. I've just replaced\n;; uses of profiler-if, etc., above, with their normal Lisp counterparts.\n\n;; ; PROFILER-IF\n\n;; ; See also comments in SETUP-SMASHED-IF.\n\n;; (defg *form-ht* (make-hash-table :test 'eq))\n\n;; (defg *ignore-form-ht* (make-hash-table :test 'eq))\n\n;; (declaim (hash-table *form-ht* *ignore-form-ht*))\n\n;; (defmacro profiler-if (test true &optional false)\n\n;; \"Semantically, PROFILER-IF is the same as IF. However, the\n;; execution of the PROFILER-IF macro also puts the IF form into\n;; *IGNORE-FORM-HT* so that the compiler macro for IF will not consider\n;; 'fixing' it with code to monitor which branch of the IF is taken.\n;; We use PROFILER-IF to avoid monitoring of code that we have\n;; introduced into the user's code for the purpose of profiling.\"\n\n;; (let ((val `(if ,test ,true ,false)))\n;; #+Clozure (setf (gethash val *ignore-form-ht*) t)\n;; val))\n\n;; (defmacro profiler-cond (&rest r)\n;; (cond ((null r) nil)\n;; (t `(profiler-if ,(caar r)\n;; (progn ,@(cdar r))\n;; (profiler-cond ,@(cdr r))))))\n\n;; (defmacro profiler-and (&rest r)\n;; (cond ((null r) t)\n;; ((null (cdr r)) (car r))\n;; (t `(profiler-if ,(car r)\n;; (profiler-and ,@(cdr r))\n;; nil))))\n\n;; (defmacro profiler-or (&rest r)\n;; (cond ((null r) nil)\n;; ((null (cdr r)) (car r))\n;; (t (let ((temp (make-symbol \"TEMP\")))\n;; `(let ((,temp ,(car r)))\n;; (profiler-if ,temp\n;; ,temp\n;; (profiler-or ,@(cdr r))))))))\n\n;; (defmacro profiler-when (test &rest r)\n;; `(profiler-if ,test (progn ,@r)))\n\n;; (defmacro profiler-unless (test &rest r)\n;; `(profiler-if (not ,test) (progn ,@r)))\n\n\n\n;; ; PRINL\n\n;; (defmacro prinl (&rest r)\n\n;; \"PRINL is for debugging. In general, PRINL PRIN1s the members of r\n;; followed by their values to *STANDARD-OUTPUT*. The values are first\n;; followed by =>, to indicate evaluation.\n\n;; For example, (prinl a b (+ a b)) might print:\n;; A => 1\n;; B => 2\n;; (+ A B) => 3\n;; PRINL returns the principal value of the last member of r. PRINL\n;; does not evaluate the members of r that are neither symbols nor\n;; conses, but it does PRINC those members. PRINL evalutes (oft ...)\n;; forms, but does not do the printing twice.\"\n\n;; (let ((tem (make-symbol \"TEM\"))\n;; (tem2 (make-symbol \"TEM2\")))\n;; `(our-syntax-nice\n;; (let ((,tem nil) (,tem2 nil))\n;; (declare (ignorable ,tem2))\n;; ,@(loop for x in r collect\n;; (cond\n;; ((or (symbolp x)\n;; (and (consp x) (not (eq (car x) 'oft))))\n;; `(progn (oft \"~&~:a =>~40t\" ',x)\n;; (setq ,tem ,x)\n;; (cond ((integerp ,tem)\n;; (setq ,tem2 (ofn \"~20:d\" ,tem)))\n;; ((floatp ,tem)\n;; (setq ,tem2 (ofn \"~20,4f\" ,tem)))\n;; ((hash-table-p ,tem)\n;; (let ((l nil))\n;; (maphash (lambda (k v)\n;; (push (cons k v) l))\n;; ,tem)\n;; (setq l (nreverse l))\n;; (setq l (list* 'hash-table-size\n;; (hash-table-size\n;; ,tem)\n;; l))\n;; (setq ,tem l)))\n;; (t (setq ,tem2 (ofn \"~a\" ,tem))))\n;; (cond ((and (stringp ,tem2)\n;; (< (length ,tem2) 40))\n;; (oft \"~a\" ,tem2))\n;; (t (oft \"~% \")\n;; (prin1 ,tem *terminal-io*)))))\n;; ((and (consp x) (eq (car x) 'oft)) x)\n;; (t `(oft \"~&~a\" (setq ,tem ',x)))))\n;; ,tem))))\n\n\n;; [Jared]: I think I'll sleep better knowing that we aren't doing THIS:\n\n\n;; ; The compiler macro for IF in the Clozure Common Lisp sources circa 2008:\n\n;; ; (define-compiler-macro if (&whole call test true &optional false\n;; ; &environment env)\n;; ; (multiple-value-bind (test test-win) (nx-transform test env)\n;; ; (multiple-value-bind (true true-win) (nx-transform true env)\n;; ; (multiple-value-bind (false false-win) (nx-transform false env)\n;; ; (if (or (quoted-form-p test) (self-evaluating-p test))\n;; ; (if (eval test)\n;; ; true\n;; ; false)\n;; ; (if (or test-win true-win false-win)\n;; ; `(if ,test ,true ,false)\n;; ; call))))))\n\n;; #+Clozure\n;; (defun setup-smashed-if ()\n\n;; ; SETUP-SMASHED-IF creates COMPILER-MACRO for IF and OR via calls of\n;; ; DEFINE-COMPILER-MACRO, stores the compiler macros, and restores the\n;; ; previous values.\n\n;; (let ((ccl::*nx-safety* 0)\n;; (ccl::*nx-speed* 3))\n\n;; ; Warning: In Clozure, (DEFINE-COMPILER-MACRO IF ...) 'seems' to do\n;; ; nothing, not even cause an error, if SAFETY=3.\n\n;; ; According to the ANSI standard, one is not supposed to mess with a\n;; ; compiler macro for any symbol in the Common Lisp package. So the\n;; ; following hacking of the compiler macros for IF and OR is very\n;; ; dubious. But it seemed easier than writing a code walker for all of\n;; ; Common Lisp, with its 50 or so special forms. Our purpose this is\n;; ; to help get statistical performance information, and that is all\n;; ; that justifies this dangerous behavior.\n\n;; (when (and *unsmashed-if* (null *smashed-if*))\n;; (unwind-protect\n;; (progn\n\n;; (define-compiler-macro if\n;; (&whole call test true &optional false &environment env)\n;; (declare (ignorable env))\n;; (when *trace-if-compiler-macro*\n;; (prinl call test true false))\n;; (let\n;; ((ans\n;; (cond\n;; ((gethash call *form-ht*)\n\n;; ; According to the ANSI standard, there is no guarantee that a Common\n;; ; Lisp compiler macro ever gets called! We hope and believe that\n;; ; Clozure's compiler arranges that every IF forms gets processed by\n;; ; the compiler macro for IF so that we can 'IF-fix' it, when\n;; ; approriate. A form in *FORM-HT* is an IF form that has been\n;; ; 'IF-fixed': both its true and false branch first increment a special\n;; ; counter for the the number of times that each branch is taken. We\n;; ; do not want to 'IF-fix' again a form that has already been\n;; ; 'IF-fixed'; if it has, the new compiler macro for IF returns it as\n;; ; the answer. Any caller of this compiler macro for IF will know, by\n;; ; the ANSI rules for compiler macros, not to hope for any further\n;; ; improvement on the form. If an ordinary macro (not a compiler\n;; ; macro) returned its input, macro expansion would enter an immediate\n;; ; infinite loop. It is lucky for us that Clozure translates COND and\n;; ; CASE into IF via macros.\n\n;; call)\n;; (t\n\n;; ; Although it may seem very hard to tell, we do closely follow the\n;; ; code for the compiler-macro for IF from the Clozure compiler. See\n;; ; that code below.\n\n;; (multiple-value-bind (test test-win)\n;; (ccl::nx-transform test env)\n;; (multiple-value-bind (true true-win)\n;; (ccl::nx-transform true env)\n;; (multiple-value-bind (false false-win)\n;; (ccl::nx-transform false env)\n;; (cond\n;; ((or (ccl::quoted-form-p test)\n;; (ccl::self-evaluating-p test))\n;; (when *trace-if-compiler-macro*\n;; (prinl \"IF test already settled\"))\n;; (if (eval test) true false))\n;; ((gethash call *ignore-form-ht*)\n\n;; ; Forms in *IGNORE-FORM-HT* are not to be 'fixed' because they are\n;; ; part of the profiling machinery. See the definition of PROFILER-IF\n;; ; and those macros that use PROFILER-IF, such as PROFILER-AND,\n;; ; PROFILER-OR, PROFILER-WHEN, and PROFILER-UNLESS.\n\n;; (when *trace-if-compiler-macro*\n;; (prinl \"ignore case\" test true false))\n;; (cond ((or test-win true-win false-win)\n;; (let ((new `(if ,test ,true ,false)))\n\n;; ; We make ignorability contagious.\n\n;; (setf (gethash new *ignore-form-ht*) t)\n;; new))\n;; (t call)))\n;; (t\n;; (incf *if-counter*)\n;; (when *trace-if-compiler-macro*\n;; (prinl \"*IF-COUNTER* incremented\"\n;; call test true false))\n\n;; ; Our code here would be much simpler if in place of *IF-TRUE-ARRAY*\n;; ; and *IF-FALSE-ARRAY* we used two adjustable arrays and the function\n;; ; VECTOR-PUSH-EXTEND. However, an adjustable array is not a\n;; ; SIMPLE-ARRAY, and so we possibly could lose efficiency, which we\n;; ; need when incrementing IF-branch counters.\n\n;; (when (>= *if-counter* (length *if-true-array*))\n;; (let ((ar (make-array\n;; (+ (length *if-true-array*) 1000)\n;; :element-type 'mfixnum\n;; :initial-element -1)))\n;; (declare (type (simple-array mfixnum (*)) ar))\n;; (loop for i fixnum\n;; below (length *if-true-array*)\n;; do (setf (aref ar i)\n;; (aref *if-true-array* i)))\n;; (setq *if-true-array* ar)))\n;; (when (>= *if-counter* (length *if-false-array*))\n;; (let ((ar (make-array (+ (length *if-false-array*)\n;; 1000)\n;; :element-type 'mfixnum\n;; :initial-element -1)))\n;; (declare (type (simple-array mfixnum (*)) ar))\n;; (loop for i fixnum\n;; below (length *if-false-array*)\n;; do (setf (aref ar i)\n;; (aref *if-false-array* i)))\n;; (setq *if-false-array* ar)))\n;; (setf (aref *if-true-array* *if-counter*) 0)\n;; (setf (aref *if-false-array* *if-counter*) 0)\n;; (let ((new-call `(if ,test\n;; (progn\n;; (very-very-unsafe-aref-incf\n;; *if-true-array*\n;; ,*if-counter*)\n;; ,true)\n;; (progn\n;; (very-very-unsafe-aref-incf\n;; *if-false-array*\n;; ,*if-counter*)\n;; ,false))))\n\n;; ; The immediately preceding backquoted form is what we call the\n;; ; 'IF-fixing' of an expression.\n\n;; (when *trace-if-compiler-macro*\n;; (prinl new-call call))\n;; (setf (gethash new-call *form-ht*)\n;; (list* *if-counter*\n;; *current-compiler-function*\n;; call))\n;; new-call))))))))))\n;; (when *trace-if-compiler-macro* (prinl ans))\n;; ans))\n;; (setq *smashed-if* (compiler-macro-function 'if)))\n;; (setf (compiler-macro-function 'if) *unsmashed-if*))\n\n;; (unwind-protect\n;; (progn\n\n;; ; Apparently some times in CCL compilation, OR is not expanded to IF,\n;; ; so we force it here.\n\n;; (define-compiler-macro or (&whole call &rest r &environment env)\n;; (declare (ignore r) (ignorable env))\n;; (cond ((null (cdr call)) nil)\n;; ((null (cddr call)) (cadr call))\n;; ((null (cdddr call))\n;; (cond ((atom (cadr call))\n;; `(if ,(cadr call)\n;; ,(cadr call)\n;; ,(caddr call)))\n;; (t (let ((v (gensym)))\n;; `(let ((,v ,(cadr call)))\n;; (if ,v ,v ,(caddr call)))))))\n;; (t (cond ((atom (cadr call))\n;; `(if ,(cadr call) ,(cadr call) (or ,@(cddr call))))\n;; (t (let ((v (gensym)))\n;; `(let ((,v ,(cadr call)))\n;; (if ,v ,v (or ,@(cddr call))))))))))\n\n;; (setq *smashed-or* (compiler-macro-function 'or)))\n;; (setf (compiler-macro-function 'or) *unsmashed-or*))\n\n;; )))\n\n\n\n\n\n;; [Jared]: removing watch-if stuff\n\n; WATCH-IF\n\n;; (defg *if-counter* -1)\n\n;; (declaim (type (integer -1 1152921504606846975) *if-counter*))\n\n;; (defg *if-true-array* (make-array 2000\n;; :element-type\n;; '(integer -1 1152921504606846975)\n;; :initial-element -1))\n\n;; (defg *if-false-array* (make-array 2000\n;; :element-type\n;; '(integer -1 1152921504606846975)\n;; :initial-element -1))\n\n;; (declaim (type (simple-array (integer -1 1152921504606846975) (*))\n;; *if-true-array* *if-false-array*))\n\n\n;; #+Clozure\n;; (defg *trace-if-compiler-macro* nil)\n\n;; #+Clozure\n;; (defg *watch-if-branches-ht* (make-hash-table :test 'eq))\n\n;; #+Clozure\n;; (defg *watch-if-branches-taken-ht* (make-hash-table :test 'eq))\n\n;; (declaim (hash-table *watch-if-branches-ht*\n;; *watch-if-branches-taken-ht*))\n\n;; (defv *report-ifs* t\n;; \"If *REPORT-ON-IFS* is not NIL, information about IF coverage is\n;; printed for those functions memoized with :WATCH-IFS option T.\")\n\n\n\n; COMPILER MACRO for IF\n\n;; #+Clozure\n;; (ccl::advise ccl::compile-named-function\n;; (when (and (consp ccl::arglist)\n;; (consp (cdr ccl::arglist))\n;; (consp (cddr ccl::arglist))\n;; (symbolp (caddr ccl::arglist)))\n;; (clrhash *ignore-form-ht*)\n;; (setq *current-compiler-function*\n;; (caddr ccl::arglist)))\n;; )\n\n;; #+Clozure\n;; (defun if-report (&optional fn stream)\n\n;; \"(IF-REPORT) prints information about the execution of every branch\n;; of every IF, COND, AND, OR, CASE, WHEN, and UNLESS form of every\n;; memoized\/profiled function that was memoized with :WATCH-IFS\n;; non-NIL. (IF-REPORT fn) prints the same information, but only about\n;; the given function name, FN.\"\n\n;; (compute-calls-and-times)\n;; (let ((*print-level* 4)\n;; (*print-length* 4)\n;; (*print-pretty* t)\n;; last-fn n (ifs-found 0) (if-true 0) (if-false 0)\n;; (not-called 0)\n;; (called 0))\n;; (when (>= *if-counter* 0)\n;; (format stream \"~2%Report on IF branches taken.\")\n;; (let ((form-ar (make-array (the fixnum (1+ *if-counter*))\n;; :initial-element 0)))\n;; (declare (type (simple-array t (*)) form-ar))\n;; (maphash (lambda (k v) (declare (ignore k))\n;; (when (or (null fn)\n;; (eq (cadr v) fn))\n;; (setf (aref form-ar (car v))\n;; (cons (cddr v) (cadr v)))))\n;; *form-ht*)\n;; (let ((top *if-counter*)\n;; ref)\n;; (declare (type fixnum top))\n;; (loop\n;; for i from 0 to top\n;; unless (eql 0 (setq ref (aref form-ar i)))\n;; do\n;; (let ((call (car ref))\n;; (fn (cdr ref)))\n;; ;; ref has the form\n;; ;; (orig-call . function)\n;; (cond ((not (eq fn last-fn))\n;; (setq n (number-of-calls fn))\n;; (if (eq n 0)\n;; (incf not-called)\n;; (incf called))\n;; (format stream \"~2%~a was called ~a time~:P.\"\n;; fn n)\n;; (setq last-fn fn)))\n;; (cond\n;; ((> n 0)\n;; (incf ifs-found)\n;; (cond\n;; ((eql 0 (aref *if-true-array* i))\n;; (cond\n;; ((eql 0 (aref *if-false-array* i))\n;; (format stream\n;; \"~%Neither branch of ~%~a~%was taken.\"\n;; call))\n;; (t (incf if-true)\n;; (format\n;; stream\n;; \"~%The true branch of ~%~a~%was not taken.\"\n;; call))))\n;; ((eql 0 (aref *if-false-array* i))\n;; (incf if-false)\n;; (format stream\n;; \"~%The false branch of ~%~a~%was not taken.\"\n;; call))\n;; (t (incf if-true) (incf if-false))))))))\n;; (format stream\n;; \"~3%~:d ~10tnumber of functions called.~\n;; ~%~:d ~10tnumber of functions not called.~\n;; ~%~,2f% ~10tpercentage of functions called.~\n;; ~%~:d ~10tnumber of branches taken.~\n;; ~%~:d ~10tnumber of branches not taken.~\n;; ~%~,2f% ~10tpercentage of branches taken.\n;; ~%\"\n;; called\n;; not-called\n;; (if (eql (+ called not-called) 0)\n;; 100\n;; (* 100\n;; (\/ called\n;; (float (+ called not-called)))))\n;; (+ if-true if-false)\n;; (- (* 2 ifs-found) (+ if-true if-false))\n;; (if (eql ifs-found 0)\n;; 100\n;; (* 100\n;; (float\n;; (\/ (+ if-true if-false)\n;; (* 2 ifs-found))))))\n;; (format stream \"~2%End of report on IF branches taken.~%\")))))\n\n;; #+Clozure\n;; (defun dump-if-report (&optional (out \"if-report.text\"))\n;; (with-open-file (stream\n;; out\n;; :direction :output\n;; :if-exists :supersede)\n;; (if-report stream))\n;; \"if-report.text\")\n\n\n; (defg *undocumented-symbols* nil)\n\n\n\n\n\n;; [Jared]: we probably don't need to implement our own raw-lisp help system.\n\n\n\n;; (defn1 first-string (l)\n;; (loop for x in l when (stringp x) do (return x)))\n\n\n;; (defn1 print-some-documentation (x)\n;; (let ((state *the-live-state*)\n;; (types-of-documentation\n;; '(compiler-macro function\n;; method-combination\n;; setf structure type variable\n;; t)))\n\n;; ; 0. Print it, evaluate it, and print the value, if possible.\n\n;; (oft \"~&~%~a\" x)\n;; (let* ((avrc (cons nil nil))\n;; (value avrc))\n;; (cond ((symbolp x)\n;; (cond ((boundp x)\n;; (setq value (symbol-value x)))\n;; ((fboundp x) nil)\n;; (t (setq value \"unbound\"))))\n;; (t (setq value \"error-in-evaluation\")\n;; (ignore-errors\n;; (setq value\n;; (multiple-value-list (eval x))))))\n;; (cond ((not (eq value avrc))\n;; (when (and (consp value) (null (cdr value)))\n;; (setq value (car value)))\n;; (let ((str (format nil \"~a\" value)))\n;; (cond ((numberp value) (oft \" => ~:d.\" value))\n;; ((> (length str) 40)\n;; (oft \" =>~%~a.\" str))\n;; (t (oft \" => ~a.\" str)))))\n;; (t (oft \".\"))))\n;; (cond\n;; ((not (symbolp x)) nil)\n;; ((get-doc-string x state)\n\n;; ; 1. For a symbol with regular ACL2 documentation, use :doc!.\n\n;; (oft \"~%:doc! \")\n;; (let ((*acl2-unwind-protect-stack*\n;; (cons nil *acl2-unwind-protect-stack*)))\n;; (doc!-fn x state)))\n;; (t (let* ((tem nil)\n;; (found nil)\n;; (w (w state))\n;; (def (first-string (cltl-def-from-name x w))))\n;; (cond\n;; (def\n\n;; ; 2. Else, for an ACL2 function symbol with a DOC string, print it.\n\n;; (oft \"~%(first-string (cltl-def-from-name '~a (w ~\n;; *the-live-state*))) =>~%~a\"\n;; x def))\n;; (t\n\n;; ; 3. Else, for a symbol with some Common Lisp DOCUMENTATION, print\n;; ; that.\n\n;; (loop for type in types-of-documentation\n;; when (setq tem (documentation x type)) do\n;; (oft \"~%(documentation '~a '~a) => ~% ~a\"\n;; type x tem)\n;; (setq found t))\n;; (loop for type-pair in '((function saved-function)\n;; (variable saved-variable))\n;; when (and (null (documentation x (car type-pair)))\n;; (setq tem (documentation\n;; x\n;; (cadr type-pair))))\n;; do\n;; (oft \"~%(documentation '~a '~a) => ~% ~a\"\n;; (cadr type-pair) x tem)\n;; (setq found t))\n;; (cond ((null found)\n\n;; ; 4. Else, call DESCRIBE.\n\n;; ;; (pushnew x *undocumented-symbols*)\n\n;; (oft \"~%(describe '~a) =>~%\" x)\n;; (describe x))))))))))\n\n;; (defmacro print-documentation (&rest r)\n\n;; \"(PRINT-DOCUMENTATION x) prints out some things about the symbols in\n;; r, such as values and documentation.\"\n\n;; `(progn\n;; (oft \"~%For further information about these ~a items, see ~\n;; below.~%\"\n;; (length ',r))\n;; (loop for x in ',r as i from 1 do\n;; (oft \"~% ~3d.~4t~a\" i x))\n;; (terpri)\n;; (terpri)\n;; (mapc 'print-some-documentation ',r)\n;; (values)))\n\n;; (defn1 watch-help ()\n\n;; \"(WATCH-HELP) prints some documentation for WATCH, MEMOIZE, PROFILE,\n;; etc.\"\n\n;; (print-documentation\n;; watch\n;; watch-dump\n;; #+Clozure maybe-watch-dump\n;; watch-kill\n\n;; memoize-summary\n;; memoized-values\n;; *memoize-summary-order-list*\n;; *memoize-summary-limit*\n;; *memoize-summary-order-reversed*\n;; hons-acons-summary\n;; if-report\n\n;; #+Clozure bytes-allocated\n;; hons-calls\n;; hons-statistics\n;; hons-summary\n;; number-of-memoized-entries\n;; number-of-mht-calls\n;; print-call-stack\n;; symbol-name-order\n\n;; clear-memoize-call-array\n;; clear-memoize-tables\n;; clear-memoize-table\n\n;; profile\n;; profile-acl2\n;; profile-all\n;; profile-file\n\n;; memoize\n;; memoize-fn\n\n;; pons-summary\n;; print-call-stack\n\n;; unmemoize\n;; unmemoize-all\n;; unmemoize-profiled\n\n;; print-documentation\n;; compact-print-file\n;; compact-read-file\n\n;; *watch-items*\n;; *watch-forms*\n;; *watch-file-form*\n;; *watch-string*\n;; *watch-file*\n;; *watch-startup-process*\n;; *watch-last-real-time*\n;; *watch-last-run-time*\n;; *watch-real-seconds-between-dumps*\n;; #+Clozure\n;; *watch-lock-ht*\n\n;; #+Clozure\n;; *watch-dog-process*\n;; #+Clozure\n;; watch-kill\n\n;; bytes-allocated\n;; bytes-allocated\/call\n;; event-number\n;; execution-order\n;; hits\/calls\n;; hons-calls\n;; pons-calls\n;; number-of-calls\n;; number-of-hits\n;; number-of-memoized-entries\n;; number-of-mht-calls\n;; symbol-name-order\n;; time-for-non-hits\/call\n;; time\/call\n;; total-time\n\n;; resize-memo\n;; resize-pons\n\n;; ))\n\n\n\n;; This stuff is never used\n\n;; (defg *gnu-linux-proc-stat-fields*\n;; '((:pid \"Process ID.\")\n;; (:comm \"Filename of executable.\")\n;; (:state \"Run,Sleep,D=Wait,Zombie,Traced or stopped,W=paging.\")\n;; (:ppid \"PID of parent.\")\n;; (:pgrp \"Process group ID.\")\n;; (:session \"Session ID.\")\n;; (:tty_nr \"TTY.\")\n;; (:tpgid \"Process group ID of tty owner.\")\n;; (:flags \"Kernel flags word.\")\n;; (:minflt \"Minor faults no loading from disk.\")\n;; (:cminflt \"Minor faults of waited-for children.\")\n;; (:majflt \"Major faults loading from disk.\")\n;; (:cmajflt \"Major faults of waited-for children.\")\n;; (:utime \"User time.\")\n;; (:stime \"Kernel time.\")\n;; (:cutime \"User time of waited-for children.\")\n;; (:cstime \"Kernel time of waited-for children.\")\n;; (:priority \"Nice+15.\")\n;; (:nice \"Nice. 19 (nicest) to -19 (not nice to others).\")\n;; (:zero \"Always 0.\")\n;; (:itrealvalue \"Time before SIGALRM.\")\n;; (:starttime \"Time started after system boot.\")\n;; (:vsize \"Virtual memory size.\")\n;; (:rss \"RSS - pages in real memory.\")\n;; (:rlim \"RSS limit.\")\n;; (:startcode \"Address above which program text can run.\")\n;; (:endcode \"Address below which program text can run.\")\n;; (:startstack \"Address of start of the stack.\")\n;; (:kstkesp \"ESP (:stack pointer).\")\n;; (:kstkeip \"EIP (:instruction pointer).\")\n;; (:signal \"Bitmap of pending signals.\")\n;; (:blocked \"Bitmap of blocked signals.\")\n;; (:sigignore \"Bitmap of ignored signals.\")\n;; (:sigcatch \"Bitmap of caught signals.\")\n;; (:wchan \"Channel in which waiting.\")\n;; (:nswap \"(not maintained).\")\n;; (:cnswap \"(not maintained).\")\n;; (:exit_signal \"To be sent to parent when we die.\")\n;; (:processor \"CPU number last executed on.\")\n;; (:rt_priority \"Real-time scheduling.\")\n;; (:policy \"Scheduling.\")))\n\n\n\n\n\n\n;; (defn print-proc-stat (pid)\n;; (with-standard-io-syntax\n;; (ignore-errors\n;; (with-open-file\n;; (s (format nil \"\/proc\/~a\/stat\" pid))\n;; (loop for key in *gnu-linux-proc-stat-fields* do\n;; (let ((x (read s)))\n;; (unless (member (car key)\n;; '(nswap zero cnswap rlim kstkesp kstkeip\n;; startstack wchan policy\n;; rt_policy))\n;; (format *standard-output*\n;; \"~%~a~12t~15:d~30t~a\"\n;; (car key)\n;; x\n;; (cadr key)))))))))\n\n;; (defn proc-stat (pid)\n;; (with-standard-io-syntax\n;; (ignore-errors\n;; (with-open-file\n;; (s (format nil \"\/proc\/~a\/stat\" pid))\n;; (loop for key in *gnu-linux-proc-stat-fields*\n;; nconc (list (car key) (read s)))))))\n\n\n;; ; We use DEFVAR for *UNSMASHED-IF* and *UNSMASHED-OR* so we don't set\n;; ; them; that could accidentally pick up the wrong value if this file\n;; ; were loaded twice.\n\n;; (defvar *unsmashed-if* (compiler-macro-function 'if))\n\n;; (defvar *unsmashed-or* (compiler-macro-function 'or))\n\n;; (defg *smashed-if* nil)\n\n;; (defg *smashed-or* nil)\n\n\n;; #+Clozure\n;; (defg *current-compiler-function* 'unknown)\n\n;; (defg *print-pprint-dispatch-orig* *print-pprint-dispatch*)\n\n;; #+Clozure\n;; (defun rwx-size (&optional verbose)\n\n;; \"(RWX-SIZE) returns two numbers: (a) the number of bytes that are in\n;; use by the current CCL process, according to Gary Byers, as detailed\n;; below, and (b) the number of bytes that are not in use by the\n;; current Lisp process, but that have been merely imagined in secret\n;; correspondence between CCL and Gnu-Linux. Do not worry about (b).\n\n;; If the optional argument, VERBOSE, is T, then information about\n;; memory chunks that both contribute to (a) and that exceed\n;; 1 million bytes are printed to *debug-io*.\"\n\n;; ;; From an email sent by Gary Byers:\n\n;; ;; If you want a meaningful and accurate answer to the question of how\n;; ;; much memory the process is using, I don't know of a more accurate\n;; ;; or meaningful answer than what you'd get if you looked at each line\n;; ;; in the pseudofile\n\n;; ;; \/proc\/\/maps\n\n;; ;; on Linux (where is the process ID of the process) and totaled\n;; ;; the sizes of each region that was readable, writable, or\n;; ;; executable. The regions are described by lines that look something\n;; ;; like:\n\n;; ;; 300040eef000-300042f60000 rwxp 300040eef000 00:00 0\n;; ;; 300042f60000-307c00000000 ---p 300042f60000 00:00 0\n\n;; ;; The first of these lines describes a region that's readable (r),\n;; ;; writable (w), and executable (x); the second line descibes a much\n;; ;; larger region that has none of these attributes. The first region\n;; ;; costs something: we have to have some physical memory in order to\n;; ;; read\/write\/execute the contents of those pages (and if we're low on\n;; ;; physical memory the OS might move those contents to swap space, and\n;; ;; if this happens a lot we'll see delays like those that you\n;; ;; describe.) It's sometimes said that the first region is\n;; ;; \"committed\" memory (the OS has to commit some real resources in\n;; ;; order for you to be able to read and write to it) and the second\n;; ;; region isn't committed.\n\n;; ; The following code by Boyer is not to be blamed on Byers.\n\n;; (let ((fn (format nil \"\/proc\/~a\/maps\" (ccl::getpid)))\n;; (count '?)\n;; potential\n;; int1 int2 pos1 pos2 next)\n;; (with-standard-io-syntax\n;; (when (ignore-errors (probe-file fn))\n;; (setq count 0)\n;; (setq potential 0)\n;; (with-open-file (s fn)\n;; (loop while (setq next (read-line s nil nil)) do\n;; (multiple-value-setq (int1 pos1)\n;; (parse-integer next :radix 16 :junk-allowed t))\n;; (multiple-value-setq (int2 pos2)\n;; (parse-integer next :start (1+ pos1)\n;; :radix 16 :junk-allowed t))\n;; (let ((add (- int2 int1)))\n;; (cond ((loop for i from (+ pos2 1) to (+ pos2 3)\n;; thereis\n;; (member (char next i) '(#\\r #\\w #\\x)))\n;; (incf count add)\n;; (when verbose\n;; (format *debug-io*\n;; \"~&~a~%adds ~:d\"\n;; next (- int2 int1))))\n;; (t (incf potential add))))))))\n;; (when verbose (format *debug-io* \"~%(rwx-size)=~:d\" count))\n;; (values count potential)))\n\n","avg_line_length":36.271019678,"max_line_length":87,"alphanum_fraction":0.5531429558} +{"size":20180,"ext":"lsp","lang":"Common Lisp","max_stars_count":null,"content":"(STR::RPADCHARS (36 4 (:DEFINITION LEN))\n (24 2 (:DEFINITION CHARACTER-LISTP))\n (19 19 (:REWRITE CONSP-BY-LEN))\n (19 8 (:REWRITE LEN-WHEN-ATOM))\n (14 7 (:REWRITE DEFAULT-+-2))\n (14 2 (:DEFINITION BINARY-APPEND))\n (10 5 (:REWRITE DEFAULT-<-1))\n (10 4 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (8 8 (:REWRITE DEFAULT-CDR))\n (8 2\n (:REWRITE CHARACTERP-OF-CAR-WHEN-CHARACTER-LISTP))\n (8 2\n (:REWRITE CHARACTER-LISTP-OF-CDR-WHEN-CHARACTER-LISTP))\n (7 7 (:REWRITE DEFAULT-+-1))\n (6 6 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (6 3 (:REWRITE DEFAULT-UNARY-MINUS))\n (5 5 (:REWRITE DEFAULT-<-2))\n (4 4 (:REWRITE DEFAULT-CAR))\n (2 2 (:REWRITE NATP-RW)))\n(STR::CHARACTER-LISTP-OF-RPADCHARS\n (58 1 (:REWRITE REPEAT-WHEN-ZP))\n (46 1 (:REWRITE ZP-OPEN))\n (36 4 (:REWRITE NEGATIVE-WHEN-NATP))\n (24 2 (:REWRITE NATP-RW))\n (23 1 (:DEFINITION NOT))\n (21 1 (:DEFINITION BINARY-APPEND))\n (18 6 (:REWRITE DEFAULT-<-2))\n (14 1\n (:REWRITE STR::MAKE-CHARACTER-LIST-WHEN-CHARACTER-LISTP))\n (12 12 (:REWRITE CONSP-BY-LEN))\n (12 2 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (11 1 (:DEFINITION CHARACTER-LISTP))\n (9 1 (:DEFINITION LEN))\n (7 3 (:REWRITE DEFAULT-CDR))\n (6 6 (:TYPE-PRESCRIPTION NATP))\n (6 6 (:REWRITE DEFAULT-<-1))\n (6 4\n (:REWRITE STR::CONSP-OF-MAKE-CHARACTER-LIST))\n (6 2 (:REWRITE DEFAULT-CAR))\n (5 3 (:REWRITE DEFAULT-+-2))\n (5 2 (:REWRITE LEN-WHEN-ATOM))\n (4 3 (:REWRITE DEFAULT-+-1))\n (2 2 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (2 1\n (:REWRITE STR::MAKE-CHARACTER-LIST-WHEN-ATOM))\n (2 1 (:REWRITE DEFAULT-UNARY-MINUS))\n (2 1\n (:REWRITE CHARACTERP-OF-CAR-WHEN-CHARACTER-LISTP))\n (2 1\n (:REWRITE CHARACTER-LISTP-OF-CDR-WHEN-CHARACTER-LISTP))\n (1 1 (:TYPE-PRESCRIPTION ZP)))\n(STR::LEN-OF-RPADCHARS (204 3 (:REWRITE CONSP-OF-REPEAT))\n (144 2\n (:REWRITE APPEND-ATOM-UNDER-LIST-EQUIV))\n (122 14 (:DEFINITION LEN))\n (118 4 (:REWRITE ZP-OPEN))\n (79 1 (:DEFINITION BINARY-APPEND))\n (71 25 (:REWRITE DEFAULT-<-2))\n (58 1 (:REWRITE REPEAT-WHEN-ZP))\n (44 25 (:REWRITE DEFAULT-+-2))\n (40 40 (:REWRITE CONSP-BY-LEN))\n (37 25 (:REWRITE DEFAULT-<-1))\n (30 25 (:REWRITE DEFAULT-+-1))\n (15 15 (:REWRITE DEFAULT-CDR))\n (15 15 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (6 6 (:TYPE-PRESCRIPTION REPEAT))\n (5 2 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (4 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (2 2\n (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (1 1 (:TYPE-PRESCRIPTION ZP))\n (1 1 (:REWRITE EQUAL-CONSTANT-+))\n (1 1 (:REWRITE DEFAULT-CAR)))\n(STR::CHARLISTEQV-IMPLIES-EQUAL-RPADCHARS-1\n (116 2 (:REWRITE REPEAT-WHEN-ZP))\n (92 2 (:REWRITE ZP-OPEN))\n (72 8 (:REWRITE NEGATIVE-WHEN-NATP))\n (48 4 (:REWRITE NATP-RW))\n (42 2 (:DEFINITION BINARY-APPEND))\n (36 12 (:REWRITE DEFAULT-<-2))\n (36 4 (:DEFINITION LEN))\n (33 1\n (:REWRITE STR::CHARLISTEQV-WHEN-NOT-SAME-LENS))\n (32 32 (:REWRITE CONSP-BY-LEN))\n (28 2\n (:REWRITE STR::MAKE-CHARACTER-LIST-WHEN-CHARACTER-LISTP))\n (24 4 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (22 2 (:DEFINITION CHARACTER-LISTP))\n (20 20\n (:TYPE-PRESCRIPTION MAKE-CHARACTER-LIST))\n (20 8 (:REWRITE LEN-WHEN-ATOM))\n (16 8 (:REWRITE DEFAULT-CDR))\n (14 14 (:TYPE-PRESCRIPTION CHARACTER-LISTP))\n (14 8 (:REWRITE DEFAULT-+-2))\n (12 12 (:TYPE-PRESCRIPTION NATP))\n (12 12 (:REWRITE DEFAULT-<-1))\n (12 8\n (:REWRITE STR::CONSP-OF-MAKE-CHARACTER-LIST))\n (12 4 (:REWRITE DEFAULT-CAR))\n (10 8 (:REWRITE DEFAULT-+-1))\n (6 6 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (4 2\n (:REWRITE STR::MAKE-CHARACTER-LIST-WHEN-ATOM))\n (4 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (4 2\n (:REWRITE CHARACTERP-OF-CAR-WHEN-CHARACTER-LISTP))\n (4 2\n (:REWRITE CHARACTER-LISTP-OF-CDR-WHEN-CHARACTER-LISTP))\n (2 2 (:TYPE-PRESCRIPTION ZP))\n (2 1\n (:REWRITE STR::CHARLISTEQV-WHEN-NOT-CONSP-RIGHT))\n (2 1\n (:REWRITE STR::CHARLISTEQV-WHEN-NOT-CONSP-LEFT)))\n(STR::ICHARLISTEQV-IMPLIES-ICHARLISTEQV-RPADCHARS-1\n (408 6 (:REWRITE CONSP-OF-REPEAT))\n (288 4\n (:REWRITE APPEND-ATOM-UNDER-LIST-EQUIV))\n (236 8 (:REWRITE ZP-OPEN))\n (158 2 (:DEFINITION BINARY-APPEND))\n (144 2 (:REWRITE CONSP-OF-APPEND))\n (116 2 (:REWRITE REPEAT-WHEN-ZP))\n (108 24 (:REWRITE DEFAULT-<-2))\n (81 2\n (:REWRITE STR::ICHARLISTEQV-WHEN-NOT-CONSP-RIGHT))\n (81 2\n (:REWRITE STR::ICHARLISTEQV-WHEN-NOT-CONSP-LEFT))\n (72 8 (:REWRITE NEGATIVE-WHEN-NATP))\n (48 4 (:REWRITE NATP-RW))\n (36 4 (:DEFINITION LEN))\n (34 2\n (:REWRITE STR::ICHARLISTEQV-WHEN-NOT-SAME-LENS))\n (28 28 (:REWRITE CONSP-BY-LEN))\n (24 24 (:REWRITE DEFAULT-<-1))\n (20 8 (:REWRITE LEN-WHEN-ATOM))\n (14 14 (:TYPE-PRESCRIPTION REPEAT))\n (14 8 (:REWRITE DEFAULT-+-2))\n (12 12 (:TYPE-PRESCRIPTION NATP))\n (10 8 (:REWRITE DEFAULT-+-1))\n (10 4 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (8 4\n (:TYPE-PRESCRIPTION TRUE-LISTP-APPEND))\n (6 6 (:REWRITE DEFAULT-CDR))\n (6 6 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (4 4 (:TYPE-PRESCRIPTION BINARY-APPEND))\n (4 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (2 2 (:TYPE-PRESCRIPTION ZP))\n (2 2 (:REWRITE DEFAULT-CAR)))\n(STR::RPADSTR (177 5 (:DEFINITION BINARY-APPEND))\n (152 4\n (:REWRITE APPEND-ATOM-UNDER-LIST-EQUIV))\n (139 3 (:REWRITE CONSP-OF-REPEAT))\n (131 24 (:REWRITE LEN-WHEN-ATOM))\n (85 17 (:REWRITE DEFAULT-CDR))\n (80 80 (:REWRITE CONSP-BY-LEN))\n (66 5 (:REWRITE REPEAT-WHEN-ZP))\n (52 17 (:REWRITE DEFAULT-<-2))\n (40 22 (:REWRITE DEFAULT-+-2))\n (25 5 (:REWRITE NATP-RW))\n (25 5 (:REWRITE DEFAULT-CAR))\n (24 17 (:REWRITE DEFAULT-<-1))\n (22 22 (:REWRITE DEFAULT-+-1))\n (18 18\n (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n (17 17 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (8 4 (:REWRITE DEFAULT-UNARY-MINUS))\n (6 6\n (:REWRITE LEN-OF-NONEMPTY-STRING-IS-POSITIVE))\n (1 1 (:TYPE-PRESCRIPTION ZP)))\n(STR::STRINGP-OF-RPADSTR)\n(STR::LEN-OF-EXPLODE-OF-RPADSTR\n (298 16 (:DEFINITION LEN))\n (230 33 (:REWRITE LEN-WHEN-ATOM))\n (204 3 (:REWRITE CONSP-OF-REPEAT))\n (144 2\n (:REWRITE APPEND-ATOM-UNDER-LIST-EQUIV))\n (118 4 (:REWRITE ZP-OPEN))\n (93 1 (:DEFINITION BINARY-APPEND))\n (85 17 (:REWRITE DEFAULT-CDR))\n (71 25 (:REWRITE DEFAULT-<-2))\n (70 70 (:REWRITE CONSP-BY-LEN))\n (58 1 (:REWRITE REPEAT-WHEN-ZP))\n (48 27 (:REWRITE DEFAULT-+-2))\n (37 25 (:REWRITE DEFAULT-<-1))\n (32 27 (:REWRITE DEFAULT-+-1))\n (17 17\n (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n (17 17 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (14 2\n (:REWRITE STR::EQUAL-OF-IMPLODE-WITH-EMPTY-STRING))\n (12 2 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (10 10\n (:TYPE-PRESCRIPTION STRINGP-OF-IMPLODE))\n (10 2 (:DEFINITION ATOM))\n (8 8 (:TYPE-PRESCRIPTION STR::RPADCHARS))\n (5 1 (:REWRITE DEFAULT-CAR))\n (4 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (2 2\n (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (1 1 (:TYPE-PRESCRIPTION ZP))\n (1 1 (:REWRITE EQUAL-CONSTANT-+)))\n(STR::STREQV-IMPLIES-EQUAL-RPADSTR-1)\n(STR::ISTREQV-IMPLIES-ISTREQV-RPADSTR-1\n (601 12 (:REWRITE CONSP-OF-REPEAT))\n (500 6\n (:REWRITE STR::ICHARLISTEQV-WHEN-NOT-SAME-LENS))\n (376 8\n (:REWRITE APPEND-ATOM-UNDER-LIST-EQUIV))\n (332 15 (:REWRITE ZP-OPEN))\n (292 2 (:REWRITE LEN-OF-APPEND))\n (286 4 (:DEFINITION BINARY-APPEND))\n (247 13 (:DEFINITION LEN))\n (219 28 (:REWRITE LEN-WHEN-ATOM))\n (214 4 (:REWRITE CONSP-OF-APPEND))\n (164 2 (:REWRITE LEN-OF-REPEAT))\n (149 6\n (:REWRITE STR::ICHARLISTEQV-WHEN-NOT-CONSP-RIGHT))\n (141 4 (:REWRITE REPEAT-WHEN-ZP))\n (140 45 (:REWRITE DEFAULT-<-2))\n (134 8 (:REWRITE NATP-RW))\n (99 99 (:REWRITE CONSP-BY-LEN))\n (85 17 (:REWRITE DEFAULT-CDR))\n (79 45 (:REWRITE DEFAULT-<-1))\n (43 8 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (42 23 (:REWRITE DEFAULT-+-2))\n (29 23 (:REWRITE DEFAULT-+-1))\n (26 13\n (:TYPE-PRESCRIPTION |x < y => 0 < y-x|))\n (24 6 (:REWRITE <-0-+-NEGATIVE-2))\n (22 22 (:TYPE-PRESCRIPTION NATP))\n (20 4 (:REWRITE DEFAULT-CAR))\n (17 17 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (14 2 (:REWRITE |(equal 0 (len x))|))\n (10 10\n (:LINEAR LEN-OF-NONEMPTY-STRING-IS-POSITIVE))\n (8 4 (:REWRITE DEFAULT-UNARY-MINUS))\n (3 3 (:TYPE-PRESCRIPTION ZP))\n (2 2 (:TYPE-PRESCRIPTION NFIX))\n (2 2\n (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (2 2\n (:REWRITE LENGTH-ZERO-WHEN-STRINGP-ALT)))\n(STR::LPADCHARS (66 2 (:DEFINITION BINARY-APPEND))\n (59 6 (:REWRITE CONSP-OF-REPEAT))\n (59 1 (:REWRITE EQUAL-OF-APPEND-REPEAT))\n (57 5 (:DEFINITION LEN))\n (42 10 (:REWRITE LEN-WHEN-ATOM))\n (24 24 (:REWRITE CONSP-BY-LEN))\n (24 2 (:DEFINITION CHARACTER-LISTP))\n (21 9 (:REWRITE DEFAULT-CDR))\n (20 10 (:REWRITE DEFAULT-<-1))\n (16 8 (:REWRITE DEFAULT-+-2))\n (12 10 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE DEFAULT-+-1))\n (8 2\n (:REWRITE CHARACTERP-OF-CAR-WHEN-CHARACTER-LISTP))\n (8 2\n (:REWRITE CHARACTER-LISTP-OF-CDR-WHEN-CHARACTER-LISTP))\n (7 7 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (6 3 (:REWRITE DEFAULT-UNARY-MINUS))\n (6 2 (:REWRITE CAR-OF-REPEAT))\n (2 2 (:REWRITE NATP-RW))\n (2 2 (:REWRITE DEFAULT-CAR)))\n(STR::CHARACTER-LISTP-OF-LPADCHARS\n (122 3 (:REWRITE CONSP-OF-REPEAT))\n (106 5 (:DEFINITION NOT))\n (94 3 (:REWRITE ZP-OPEN))\n (78 2 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (78 1 (:DEFINITION BINARY-APPEND))\n (58 1 (:REWRITE REPEAT-WHEN-ZP))\n (42 10 (:REWRITE DEFAULT-<-2))\n (36 4 (:REWRITE NEGATIVE-WHEN-NATP))\n (24 2 (:REWRITE NATP-RW))\n (14 1\n (:REWRITE STR::MAKE-CHARACTER-LIST-WHEN-CHARACTER-LISTP))\n (11 1 (:DEFINITION CHARACTER-LISTP))\n (10 10 (:REWRITE DEFAULT-<-1))\n (9 9 (:REWRITE CONSP-BY-LEN))\n (9 1 (:DEFINITION LEN))\n (7 3 (:REWRITE DEFAULT-CDR))\n (6 6 (:TYPE-PRESCRIPTION NATP))\n (5 3 (:REWRITE DEFAULT-+-2))\n (5 2 (:REWRITE LEN-WHEN-ATOM))\n (4 3 (:REWRITE DEFAULT-+-1))\n (2 2 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (2 1\n (:REWRITE STR::MAKE-CHARACTER-LIST-WHEN-ATOM))\n (2 1 (:REWRITE DEFAULT-UNARY-MINUS))\n (2 1\n (:REWRITE CHARACTERP-OF-CAR-WHEN-CHARACTER-LISTP))\n (2 1\n (:REWRITE CHARACTER-LISTP-OF-CDR-WHEN-CHARACTER-LISTP))\n (1 1 (:TYPE-PRESCRIPTION ZP))\n (1 1 (:REWRITE DEFAULT-CAR))\n (1 1 (:REWRITE CAR-OF-REPEAT)))\n(STR::LEN-OF-LPADCHARS (190 4 (:REWRITE CONSP-OF-REPEAT))\n (122 14 (:DEFINITION LEN))\n (118 4 (:REWRITE ZP-OPEN))\n (80 1 (:DEFINITION BINARY-APPEND))\n (78 2 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (71 25 (:REWRITE DEFAULT-<-2))\n (58 1 (:REWRITE REPEAT-WHEN-ZP))\n (46 26 (:REWRITE DEFAULT-+-2))\n (41 41 (:REWRITE CONSP-BY-LEN))\n (37 25 (:REWRITE DEFAULT-<-1))\n (32 26 (:REWRITE DEFAULT-+-1))\n (19 15 (:REWRITE DEFAULT-CDR))\n (15 15 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (10 10 (:TYPE-PRESCRIPTION REPEAT))\n (4 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (4 2\n (:REWRITE APPEND-ATOM-UNDER-LIST-EQUIV))\n (2 2\n (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (1 1 (:TYPE-PRESCRIPTION ZP))\n (1 1 (:REWRITE EQUAL-CONSTANT-+))\n (1 1 (:REWRITE CAR-OF-REPEAT)))\n(STR::CHARLISTEQV-IMPLIES-EQUAL-LPADCHARS-1\n (244 6 (:REWRITE CONSP-OF-REPEAT))\n (188 6 (:REWRITE ZP-OPEN))\n (156 4 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (156 2 (:DEFINITION BINARY-APPEND))\n (116 2 (:REWRITE REPEAT-WHEN-ZP))\n (84 20 (:REWRITE DEFAULT-<-2))\n (72 8 (:REWRITE NEGATIVE-WHEN-NATP))\n (48 4 (:REWRITE NATP-RW))\n (36 4 (:DEFINITION LEN))\n (33 1\n (:REWRITE STR::CHARLISTEQV-WHEN-NOT-SAME-LENS))\n (28 2\n (:REWRITE STR::MAKE-CHARACTER-LIST-WHEN-CHARACTER-LISTP))\n (26 26 (:REWRITE CONSP-BY-LEN))\n (22 2 (:DEFINITION CHARACTER-LISTP))\n (20 20 (:REWRITE DEFAULT-<-1))\n (20 8 (:REWRITE LEN-WHEN-ATOM))\n (16 16 (:TYPE-PRESCRIPTION REPEAT))\n (16 8 (:REWRITE DEFAULT-CDR))\n (14 14 (:TYPE-PRESCRIPTION CHARACTER-LISTP))\n (14 8 (:REWRITE DEFAULT-+-2))\n (12 12 (:TYPE-PRESCRIPTION NATP))\n (10 8 (:REWRITE DEFAULT-+-1))\n (6 6 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (4 2\n (:REWRITE STR::MAKE-CHARACTER-LIST-WHEN-ATOM))\n (4 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (4 2\n (:REWRITE CHARACTERP-OF-CAR-WHEN-CHARACTER-LISTP))\n (4 2\n (:REWRITE CHARACTER-LISTP-OF-CDR-WHEN-CHARACTER-LISTP))\n (2 2 (:TYPE-PRESCRIPTION ZP))\n (2 2 (:REWRITE DEFAULT-CAR))\n (2 2 (:REWRITE CAR-OF-REPEAT))\n (2 1\n (:REWRITE STR::CHARLISTEQV-WHEN-NOT-CONSP-RIGHT))\n (2 1\n (:REWRITE STR::CHARLISTEQV-WHEN-NOT-CONSP-LEFT)))\n(STR::ICHARLISTEQV-IMPLIES-ICHARLISTEQV-LPADCHARS-1\n (380 8 (:REWRITE CONSP-OF-REPEAT))\n (236 8 (:REWRITE ZP-OPEN))\n (164 2 (:REWRITE CONSP-OF-APPEND))\n (160 2 (:DEFINITION BINARY-APPEND))\n (156 4 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (116 2 (:REWRITE REPEAT-WHEN-ZP))\n (108 24 (:REWRITE DEFAULT-<-2))\n (93 2\n (:REWRITE STR::ICHARLISTEQV-WHEN-NOT-CONSP-RIGHT))\n (93 2\n (:REWRITE STR::ICHARLISTEQV-WHEN-NOT-CONSP-LEFT))\n (72 8 (:REWRITE NEGATIVE-WHEN-NATP))\n (48 4 (:REWRITE NATP-RW))\n (36 4 (:DEFINITION LEN))\n (34 2\n (:REWRITE STR::ICHARLISTEQV-WHEN-NOT-SAME-LENS))\n (30 30 (:REWRITE CONSP-BY-LEN))\n (24 24 (:REWRITE DEFAULT-<-1))\n (22 22 (:TYPE-PRESCRIPTION REPEAT))\n (20 8 (:REWRITE LEN-WHEN-ATOM))\n (14 8 (:REWRITE DEFAULT-+-2))\n (14 6 (:REWRITE DEFAULT-CDR))\n (12 12 (:TYPE-PRESCRIPTION NATP))\n (12 4\n (:TYPE-PRESCRIPTION TRUE-LISTP-APPEND))\n (10 8 (:REWRITE DEFAULT-+-1))\n (8 4\n (:REWRITE APPEND-ATOM-UNDER-LIST-EQUIV))\n (6 6 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (4 4 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (4 4 (:TYPE-PRESCRIPTION BINARY-APPEND))\n (4 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (2 2 (:TYPE-PRESCRIPTION ZP))\n (2 2 (:REWRITE CAR-OF-REPEAT)))\n(STR::LPADSTR (152 8 (:DEFINITION LEN))\n (140 9 (:REWRITE CONSP-OF-REPEAT))\n (129 3 (:DEFINITION BINARY-APPEND))\n (94 3 (:REWRITE ZP-OPEN))\n (91 16 (:REWRITE LEN-WHEN-ATOM))\n (64 3 (:REWRITE REPEAT-WHEN-ZP))\n (59 11 (:REWRITE DEFAULT-CDR))\n (50 16 (:REWRITE DEFAULT-<-2))\n (46 46 (:REWRITE CONSP-BY-LEN))\n (44 26 (:REWRITE STR::CONSP-OF-EXPLODE))\n (24 4 (:REWRITE NATP-RW))\n (22 16 (:REWRITE DEFAULT-<-1))\n (22 11 (:REWRITE DEFAULT-+-2))\n (19 4\n (:REWRITE APPEND-ATOM-UNDER-LIST-EQUIV))\n (12 12\n (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n (11 11 (:REWRITE DEFAULT-+-1))\n (11 11 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (8 4 (:REWRITE DEFAULT-UNARY-MINUS))\n (7 3 (:REWRITE CAR-OF-REPEAT))\n (5 5\n (:LINEAR LEN-OF-NONEMPTY-STRING-IS-POSITIVE))\n (1 1 (:TYPE-PRESCRIPTION ZP)))\n(STR::STRINGP-OF-LPADSTR)\n(STR::LEN-OF-EXPLODE-OF-LPADSTR\n (298 16 (:DEFINITION LEN))\n (230 33 (:REWRITE LEN-WHEN-ATOM))\n (190 4 (:REWRITE CONSP-OF-REPEAT))\n (118 4 (:REWRITE ZP-OPEN))\n (85 17 (:REWRITE DEFAULT-CDR))\n (84 1 (:DEFINITION BINARY-APPEND))\n (78 2 (:REWRITE APPEND-WHEN-NOT-CONSP))\n (71 25 (:REWRITE DEFAULT-<-2))\n (69 69 (:REWRITE CONSP-BY-LEN))\n (58 1 (:REWRITE REPEAT-WHEN-ZP))\n (50 28 (:REWRITE DEFAULT-+-2))\n (37 25 (:REWRITE DEFAULT-<-1))\n (34 28 (:REWRITE DEFAULT-+-1))\n (17 17\n (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n (17 17 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (14 2\n (:REWRITE STR::EQUAL-OF-IMPLODE-WITH-EMPTY-STRING))\n (12 2\n (:REWRITE APPEND-ATOM-UNDER-LIST-EQUIV))\n (10 10\n (:TYPE-PRESCRIPTION STRINGP-OF-IMPLODE))\n (10 2 (:DEFINITION ATOM))\n (8 8 (:TYPE-PRESCRIPTION STR::LPADCHARS))\n (4 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (2 2\n (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (1 1 (:TYPE-PRESCRIPTION ZP))\n (1 1 (:REWRITE EQUAL-CONSTANT-+))\n (1 1 (:REWRITE CAR-OF-REPEAT)))\n(STR::STREQV-IMPLIES-EQUAL-LPADSTR-1)\n(STR::ISTREQV-IMPLIES-ISTREQV-LPADSTR-1\n (745 12\n (:REWRITE STR::ICHARLISTEQV-WHEN-NOT-SAME-LENS))\n (573 16 (:REWRITE CONSP-OF-REPEAT))\n (414 22 (:DEFINITION LEN))\n (332 15 (:REWRITE ZP-OPEN))\n (323 46 (:REWRITE LEN-WHEN-ATOM))\n (302 2 (:REWRITE LEN-OF-APPEND))\n (268 4 (:DEFINITION BINARY-APPEND))\n (240 4 (:REWRITE CONSP-OF-APPEND))\n (196 12\n (:REWRITE STR::ICHARLISTEQV-WHEN-NOT-CONSP-RIGHT))\n (164 2 (:REWRITE LEN-OF-REPEAT))\n (145 49 (:REWRITE DEFAULT-<-2))\n (143 143 (:REWRITE CONSP-BY-LEN))\n (141 4 (:REWRITE REPEAT-WHEN-ZP))\n (140 10 (:REWRITE NATP-RW))\n (134 26 (:REWRITE DEFAULT-CDR))\n (84 49 (:REWRITE DEFAULT-<-1))\n (68 16\n (:LINEAR LEN-OF-NONEMPTY-STRING-IS-POSITIVE))\n (64 34 (:REWRITE DEFAULT-+-2))\n (43 8\n (:REWRITE APPEND-ATOM-UNDER-LIST-EQUIV))\n (42 34 (:REWRITE DEFAULT-+-1))\n (34 17\n (:TYPE-PRESCRIPTION |x < y => 0 < y-x|))\n (27 27 (:TYPE-PRESCRIPTION NATP))\n (26 26 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (24 6 (:REWRITE <-0-+-NEGATIVE-2))\n (14 2 (:REWRITE |(equal 0 (len x))|))\n (8 4 (:REWRITE DEFAULT-UNARY-MINUS))\n (8 4 (:REWRITE CAR-OF-REPEAT))\n (4 4 (:TYPE-PRESCRIPTION NFIX))\n (3 3 (:TYPE-PRESCRIPTION ZP))\n (3 3\n (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (2 2\n (:REWRITE LENGTH-ZERO-WHEN-STRINGP-ALT)))\n(STR::TRIM-AUX)\n(STR::CHARACTER-LISTP-OF-TRIM-AUX (25 25 (:REWRITE DEFAULT-CAR))\n (17 17 (:REWRITE CONSP-BY-LEN))\n (14 14 (:REWRITE DEFAULT-CDR)))\n(STR::TRUE-LISTP-WHEN-CHARACTER-LISTP)\n(STR::TRIM-BAG (46 2 (:DEFINITION STR::TRIM-AUX))\n (15 7 (:REWRITE DEFAULT-CDR))\n (15 7 (:REWRITE DEFAULT-CAR))\n (14 14 (:REWRITE CONSP-BY-LEN))\n (12 2 (:DEFINITION MEMBER-EQUAL))\n (10 2 (:REWRITE REV-WHEN-NOT-CONSP))\n (7 7 (:TYPE-PRESCRIPTION REV))\n (5 3 (:REWRITE CONSP-OF-REV))\n (4 3 (:REWRITE STR::CONSP-OF-EXPLODE))\n (2 2 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (1 1\n (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP)))\n(STR::STRINGP-OF-TRIM-BAG)\n(STR::TRIM)\n(STR::STRINGP-OF-TRIM)\n","avg_line_length":39.8027613412,"max_line_length":74,"alphanum_fraction":0.5348364718} +{"size":1146,"ext":"lisp","lang":"Common Lisp","max_stars_count":305.0,"content":"; 32-bit right rotate\n;\n; Copyright (C) 2008-2011 Eric Smith and Stanford University\n; Copyright (C) 2013-2020 Kestrel Institute\n;\n; License: A 3-clause BSD license. See the file books\/3BSD-mod.txt.\n;\n; Author: Eric Smith (eric.smith@kestrel.edu)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(in-package \"ACL2\")\n\n(include-book \"rightrotate\")\n;(include-book \"bvcat\")\n(local (include-book \"kestrel\/arithmetic-light\/mod\" :dir :system))\n(local (include-book \"slice\"))\n\n(defund rightrotate32 (amt val)\n (declare (type integer amt val))\n (rightrotate 32 amt val))\n\n;gen\n;justifies the correctness of some operations performed by Axe\n(defthm unsigned-byte-p-of-rightrotate32\n (unsigned-byte-p 32 (rightrotate32 amt val))\n :hints ((\"Goal\" :in-theory (e\/d (rightrotate32) (unsigned-byte-p)))))\n\n;gen\n(defthm rightrotate32-of-bvchop-32\n (equal (rightrotate32 amd (bvchop 32 x))\n (rightrotate32 amd x))\n :hints ((\"Goal\" :in-theory (enable rightrotate32 RIGHTROTATE))))\n\n(defthm rightrotate32-of-0\n (equal (rightrotate32 0 x)\n (bvchop 32 x))\n :hints ((\"Goal\" :in-theory (enable rightrotate32))))\n","avg_line_length":29.3846153846,"max_line_length":80,"alphanum_fraction":0.6579406632} +{"size":1974,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":";;; -*- Mode: Lisp; Package: Maxima; Syntax: Common-Lisp; Base: 10 -*- ;;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; The data in this file contains enhancments. ;;;;;\n;;; ;;;;;\n;;; Copyright (c) 1984,1987 by William Schelter,University of Texas ;;;;;\n;;; All rights reserved ;;;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;; (c) Copyright 1981 Massachusetts Institute of Technology ;;;\n;;; GJC 10:11pm Tuesday, 14 July 1981 ;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(in-package :maxima)\n(macsyma-module trprop)\n\n;; Many macsyma extension commands, e.g. $INFIX, $TELLSIMP,\n;; $DEFTAYLOR work by doing explicit PUTPROPS.\n;; These META-PROP functions allow selected commands to\n;; also output DEFPROP's when processed in the Macsyma->lisp translation.\n\n(defmvar meta-prop-p nil)\n(defmvar meta-prop-l nil)\n\n(defun meta-output (form)\n (if *in-translate-file* (push form meta-prop-l))\n ;; unfortunately, MATCOM needs to see properties in order\n ;; to compose tellsimps. so eval it always.\n (eval form))\n\n(defun meta-add2lnc (item ssymbol)\n (if meta-prop-p\n (meta-output `(add2lnc ',item ,ssymbol))\n (add2lnc item (symbol-value ssymbol))))\n\n(defun meta-putprop (ssymbol item key)\n (if meta-prop-p\n (prog1 item (meta-output `(defprop ,ssymbol ,item ,key)))\n (putprop ssymbol item key)))\n\n(defun meta-mputprop (ssymbol item key)\n (if meta-prop-p\n (prog1 item (meta-output `(mdefprop ,ssymbol ,item ,key)))\n (mputprop ssymbol item key)))\n\n(defun meta-fset (ssymbol definition)\n (if meta-prop-p\n (prog1 definition (meta-output\n\t\t\t `(fset ',ssymbol (coerce ',definition 'function))))\n (fset ssymbol (coerce definition 'function))))\n\n","avg_line_length":39.48,"max_line_length":76,"alphanum_fraction":0.5334346505} +{"size":26822,"ext":"lsp","lang":"Common Lisp","max_stars_count":null,"content":"(VL2014::VL-FIND-DESCRIPTION-FOR-LOC\n (642 24 (:REWRITE VL2014::VL-DESCRIPTIONLIST-P-WHEN-SUBLIST))\n (66 66 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (66 66 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (66 33 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (38 3 (:REWRITE VL2014::VL-UDPLIST-P-WHEN-NOT-CONSP))\n (38 3 (:REWRITE VL2014::VL-TYPEDEFLIST-P-WHEN-NOT-CONSP))\n (38 3 (:REWRITE VL2014::VL-TASKDECLLIST-P-WHEN-NOT-CONSP))\n (38 3 (:REWRITE VL2014::VL-PROGRAMLIST-P-WHEN-NOT-CONSP))\n (38 3 (:REWRITE VL2014::VL-PARAMDECLLIST-P-WHEN-NOT-CONSP))\n (38 3 (:REWRITE VL2014::VL-PACKAGELIST-P-WHEN-NOT-CONSP))\n (38 3 (:REWRITE VL2014::VL-MODULELIST-P-WHEN-NOT-CONSP))\n (38 3 (:REWRITE VL2014::VL-INTERFACELIST-P-WHEN-NOT-CONSP))\n (38 3 (:REWRITE VL2014::VL-IMPORTLIST-P-WHEN-NOT-CONSP))\n (38 3 (:REWRITE VL2014::VL-FWDTYPEDEFLIST-P-WHEN-NOT-CONSP))\n (38 3 (:REWRITE VL2014::VL-FUNDECLLIST-P-WHEN-NOT-CONSP))\n (38 3 (:REWRITE VL2014::VL-CONFIGLIST-P-WHEN-NOT-CONSP))\n (37 37 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-DESCALIST-P . 2))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-DESCALIST-P . 1))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (33 33 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (33 33 (:REWRITE CONSP-BY-LEN))\n (18 1 (:REWRITE VL2014::VL-DESCRIPTIONLIST-P-WHEN-NOT-CONSP))\n (12 12 (:REWRITE DEFAULT-CAR))\n (12 12 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (12 12 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (8 4 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (8 2 (:REWRITE VL2014::MEMBER-EQUAL-WHEN-MEMBER-EQUAL-OF-CDR-UNDER-IFF))\n (8 1 (:REWRITE VL2014::VL-PARAMDECLLIST-P-OF-CDR-WHEN-VL-PARAMDECLLIST-P))\n (6 6 (:REWRITE VL2014::VL-UDPLIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::VL-TYPEDEFLIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::VL-TASKDECLLIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::VL-PROGRAMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::VL-PARAMDECLLIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::VL-PARAMDECLLIST-P-WHEN-MEMBER-EQUAL-OF-VL-PARAMDECLLIST-LIST-P))\n (6 6 (:REWRITE VL2014::VL-PACKAGELIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::VL-MODULELIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::VL-LOCATION-P-WHEN-MEMBER-EQUAL-OF-VL-LOCATIONLIST-P))\n (6 6 (:REWRITE VL2014::VL-INTERFACELIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::VL-IMPORTLIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::VL-FWDTYPEDEFLIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::VL-FUNDECLLIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:REWRITE VL2014::VL-CONFIGLIST-P-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE VL2014::VL-UDPLIST-P-OF-CDR-WHEN-VL-UDPLIST-P))\n (6 1 (:REWRITE VL2014::VL-TYPEDEFLIST-P-OF-CDR-WHEN-VL-TYPEDEFLIST-P))\n (6 1 (:REWRITE VL2014::VL-TASKDECLLIST-P-OF-CDR-WHEN-VL-TASKDECLLIST-P))\n (6 1 (:REWRITE VL2014::VL-PROGRAMLIST-P-OF-CDR-WHEN-VL-PROGRAMLIST-P))\n (6 1 (:REWRITE VL2014::VL-PACKAGELIST-P-OF-CDR-WHEN-VL-PACKAGELIST-P))\n (6 1 (:REWRITE VL2014::VL-MODULELIST-P-OF-CDR-WHEN-VL-MODULELIST-P))\n (6 1 (:REWRITE VL2014::VL-INTERFACELIST-P-OF-CDR-WHEN-VL-INTERFACELIST-P))\n (6 1 (:REWRITE VL2014::VL-IMPORTLIST-P-OF-CDR-WHEN-VL-IMPORTLIST-P))\n (6 1 (:REWRITE VL2014::VL-FWDTYPEDEFLIST-P-OF-CDR-WHEN-VL-FWDTYPEDEFLIST-P))\n (6 1 (:REWRITE VL2014::VL-FUNDECLLIST-P-OF-CDR-WHEN-VL-FUNDECLLIST-P))\n (6 1 (:REWRITE VL2014::VL-CONFIGLIST-P-OF-CDR-WHEN-VL-CONFIGLIST-P))\n (2 2 (:REWRITE SUBSETP-TRANS2))\n (2 2 (:REWRITE SUBSETP-TRANS))\n (2 2 (:REWRITE MEMBER-EQUAL-WHEN-ALL-EQUALP))\n (1 1 (:REWRITE DEFAULT-CDR))\n )\n(VL2014::RETURN-TYPE-OF-VL-FIND-DESCRIPTION-FOR-LOC\n (197 1 (:REWRITE VL2014::VL-DESCRIPTION-FIX-WHEN-VL-DESCRIPTION-P))\n (80 1 (:REWRITE VL2014::VL-DESCRIPTION-P-OF-CAR-WHEN-VL-DESCRIPTIONLIST-P))\n (74 12 (:REWRITE VL2014::VL-DESCRIPTIONLIST-P-WHEN-SUBLIST))\n (33 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-PARAMDECL-P))\n (33 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-IMPORT-P))\n (31 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-MODULE-P))\n (30 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-TYPEDEF-P))\n (30 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-TASKDECL-P))\n (30 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-FWDTYPEDEF-P))\n (30 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-FUNDECL-P))\n (24 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-UDP-P))\n (24 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-PROGRAM-P))\n (24 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-PACKAGE-P))\n (24 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-INTERFACE-P))\n (24 3 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-VL-CONFIG-P))\n (11 11 (:REWRITE DEFAULT-CAR))\n (11 11 (:REWRITE CAR-WHEN-ALL-EQUALP))\n (8 8 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-MEMBER-EQUAL-OF-VL-DESCRIPTIONLIST-P))\n (7 3 (:REWRITE VL2014::VL-MODULE-P-WHEN-VL-MAYBE-MODULE-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-UDP-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-TYPEDEF-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-TASKDECL-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-PROGRAM-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-PARAMDECL-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-PACKAGE-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-MODULE-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-INTERFACE-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-IMPORT-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-FWDTYPEDEF-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-FUNDECL-P))\n (6 6 (:TYPE-PRESCRIPTION VL2014::VL-CONFIG-P))\n (6 6 (:REWRITE VL2014::VL-UDP-P-WHEN-MEMBER-EQUAL-OF-VL-UDPLIST-P))\n (6 6 (:REWRITE VL2014::VL-TYPEDEF-P-WHEN-MEMBER-EQUAL-OF-VL-TYPEDEFLIST-P))\n (6 6 (:REWRITE VL2014::VL-TASKDECL-P-WHEN-MEMBER-EQUAL-OF-VL-TASKDECLLIST-P))\n (6 6 (:REWRITE VL2014::VL-PROGRAM-P-WHEN-MEMBER-EQUAL-OF-VL-PROGRAMLIST-P))\n (6 6 (:REWRITE VL2014::VL-PARAMDECL-P-WHEN-MEMBER-EQUAL-OF-VL-PARAMDECLLIST-P))\n (6 6 (:REWRITE VL2014::VL-PACKAGE-P-WHEN-MEMBER-EQUAL-OF-VL-PACKAGELIST-P))\n (6 6 (:REWRITE VL2014::VL-MODULE-P-WHEN-MEMBER-EQUAL-OF-VL-MODULELIST-P))\n (6 6 (:REWRITE VL2014::VL-INTERFACE-P-WHEN-MEMBER-EQUAL-OF-VL-INTERFACELIST-P))\n (6 6 (:REWRITE VL2014::VL-IMPORT-P-WHEN-MEMBER-EQUAL-OF-VL-IMPORTLIST-P))\n (6 6 (:REWRITE VL2014::VL-FWDTYPEDEF-P-WHEN-MEMBER-EQUAL-OF-VL-FWDTYPEDEFLIST-P))\n (6 6 (:REWRITE VL2014::VL-FUNDECL-P-WHEN-MEMBER-EQUAL-OF-VL-FUNDECLLIST-P))\n (6 6 (:REWRITE VL2014::VL-CONFIG-P-WHEN-MEMBER-EQUAL-OF-VL-CONFIGLIST-P))\n (4 4 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (4 4 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (4 2 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-UDPLIST-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-TYPEDEFLIST-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-TASKDECLLIST-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-PROGRAMLIST-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-PARAMDECLLIST-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-PACKAGELIST-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-MODULELIST-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-MAYBE-MODULE-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-INTERFACELIST-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-IMPORTLIST-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-FWDTYPEDEFLIST-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-FUNDECLLIST-P))\n (3 3 (:TYPE-PRESCRIPTION VL2014::VL-CONFIGLIST-P))\n (3 3 (:REWRITE VL2014::VL-UDP-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (3 3 (:REWRITE VL2014::VL-TYPEDEF-P-BY-TAG-WHEN-VL-MODELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-TYPEDEF-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (3 3 (:REWRITE VL2014::VL-TYPEDEF-P-BY-TAG-WHEN-VL-CTXELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-TASKDECL-P-BY-TAG-WHEN-VL-MODELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-TASKDECL-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (3 3 (:REWRITE VL2014::VL-TASKDECL-P-BY-TAG-WHEN-VL-CTXELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-PROGRAM-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (3 3 (:REWRITE VL2014::VL-PARAMDECL-P-BY-TAG-WHEN-VL-MODELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-PARAMDECL-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (3 3 (:REWRITE VL2014::VL-PARAMDECL-P-BY-TAG-WHEN-VL-CTXELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-PARAMDECL-P-BY-TAG-WHEN-VL-BLOCKITEM-P))\n (3 3 (:REWRITE VL2014::VL-PACKAGE-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (3 3 (:REWRITE VL2014::VL-MODULE-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (3 3 (:REWRITE VL2014::VL-INTERFACE-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (3 3 (:REWRITE VL2014::VL-IMPORT-P-BY-TAG-WHEN-VL-MODELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-IMPORT-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (3 3 (:REWRITE VL2014::VL-IMPORT-P-BY-TAG-WHEN-VL-CTXELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-IMPORT-P-BY-TAG-WHEN-VL-BLOCKITEM-P))\n (3 3 (:REWRITE VL2014::VL-FWDTYPEDEF-P-BY-TAG-WHEN-VL-MODELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-FWDTYPEDEF-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (3 3 (:REWRITE VL2014::VL-FWDTYPEDEF-P-BY-TAG-WHEN-VL-CTXELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-FUNDECL-P-BY-TAG-WHEN-VL-MODELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-FUNDECL-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (3 3 (:REWRITE VL2014::VL-FUNDECL-P-BY-TAG-WHEN-VL-CTXELEMENT-P))\n (3 3 (:REWRITE VL2014::VL-CONFIG-P-BY-TAG-WHEN-VL-DESCRIPTION-P))\n (2 2 (:TYPE-PRESCRIPTION VL2014::VL-DESCRIPTIONLIST-P))\n (2 2 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (2 2 (:REWRITE VL2014::VL-UDPLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-TYPEDEFLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-TASKDECLLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-PROGRAMLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-PARAMDECLLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-PARAMDECLLIST-P-WHEN-MEMBER-EQUAL-OF-VL-PARAMDECLLIST-LIST-P))\n (2 2 (:REWRITE VL2014::VL-PACKAGELIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-MODULELIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-INTERFACELIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-IMPORTLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-FWDTYPEDEFLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-FUNDECLLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-DESCRIPTIONLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::VL-DESCRIPTION-P-WHEN-INVALID-TAG))\n (2 2 (:REWRITE VL2014::VL-CONFIGLIST-P-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (2 2 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (2 2 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-DESCALIST-P . 2))\n (2 2 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-DESCALIST-P . 1))\n (2 2 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (2 2 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (2 2 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (2 2 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (2 2 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (2 2 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (2 2 (:REWRITE CONSP-BY-LEN))\n (2 1 (:REWRITE VL2014::VL-UDP-P-OF-CAR-WHEN-VL-UDPLIST-P))\n (2 1 (:REWRITE VL2014::VL-TYPEDEF-P-OF-CAR-WHEN-VL-TYPEDEFLIST-P))\n (2 1 (:REWRITE VL2014::VL-TASKDECL-P-OF-CAR-WHEN-VL-TASKDECLLIST-P))\n (2 1 (:REWRITE VL2014::VL-PROGRAM-P-OF-CAR-WHEN-VL-PROGRAMLIST-P))\n (2 1 (:REWRITE VL2014::VL-PARAMDECL-P-OF-CAR-WHEN-VL-PARAMDECLLIST-P))\n (2 1 (:REWRITE VL2014::VL-PACKAGE-P-OF-CAR-WHEN-VL-PACKAGELIST-P))\n (2 1 (:REWRITE VL2014::VL-MODULE-P-OF-CAR-WHEN-VL-MODULELIST-P))\n (2 1 (:REWRITE VL2014::VL-INTERFACE-P-OF-CAR-WHEN-VL-INTERFACELIST-P))\n (2 1 (:REWRITE VL2014::VL-IMPORT-P-OF-CAR-WHEN-VL-IMPORTLIST-P))\n (2 1 (:REWRITE VL2014::VL-FWDTYPEDEF-P-OF-CAR-WHEN-VL-FWDTYPEDEFLIST-P))\n (2 1 (:REWRITE VL2014::VL-FUNDECL-P-OF-CAR-WHEN-VL-FUNDECLLIST-P))\n (2 1 (:REWRITE VL2014::VL-CONFIG-P-OF-CAR-WHEN-VL-CONFIGLIST-P))\n (1 1 (:REWRITE VL2014::VL-UDPLIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-TYPEDEFLIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-TASKDECLLIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-PROGRAMLIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-PARAMDECLLIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-PACKAGELIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-MODULELIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-INTERFACELIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-IMPORTLIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-FWDTYPEDEFLIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-FUNDECLLIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-DESCRIPTIONLIST-P-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::VL-CONFIGLIST-P-WHEN-NOT-CONSP))\n )\n(VL2014::VLS-SHOWLOC-PRINT-BC-FN\n (227 17 (:REWRITE NATP-POSP))\n (122 122 (:TYPE-PRESCRIPTION |x < y => 0 < y-x|))\n (110 8 (:REWRITE VL2014::NATP-WHEN-POSP))\n (72 1 (:REWRITE VL2014::STRINGP-WHEN-TRUE-LISTP))\n (55 17 (:REWRITE POSP-RW))\n (54 8 (:REWRITE NATP-RW))\n (38 38 (:TYPE-PRESCRIPTION NATP))\n (34 34 (:REWRITE VL2014::POSP-WHEN-MEMBER-EQUAL-OF-POS-LISTP))\n (29 23 (:REWRITE DEFAULT-+-2))\n (24 24 (:REWRITE INTEGERP-WHEN-MEMBER-EQUAL-OF-INTEGER-LISTP))\n (24 12 (:REWRITE VL2014::INTEGERP-WHEN-NATP))\n (23 23 (:REWRITE DEFAULT-+-1))\n (18 1 (:REWRITE TRUE-LISTP-WHEN-ATOM))\n (16 16 (:REWRITE VL2014::NATP-WHEN-MEMBER-EQUAL-OF-NAT-LISTP))\n (16 16 (:REWRITE NATP-WHEN-MEMBER-EQUAL-OF-NAT-LISTP))\n (14 1 (:REWRITE TRUE-LISTP-WHEN-STRING-LISTP-REWRITE))\n (13 7 (:REWRITE VL2014::|(< c2 (+ c1 a))|))\n (13 1 (:REWRITE TRUE-LISTP-WHEN-SYMBOL-LISTP-REWRITE))\n (12 9 (:REWRITE DEFAULT-<-1))\n (12 1 (:REWRITE TRUE-LISTP-WHEN-CHARACTER-LISTP-REWRITE))\n (11 11 (:META CANCEL_PLUS-LESSP-CORRECT))\n (11 9 (:REWRITE DEFAULT-<-2))\n (8 2 (:REWRITE <-+-NEGATIVE-0-1))\n (8 1 (:REWRITE SET::SETS-ARE-TRUE-LISTS-CHEAP))\n (6 6 (:REWRITE DEFAULT-UNARY-MINUS))\n (6 3 (:REWRITE VL2014::VL-PRINTABLE-P-WHEN-CHARACTERP))\n (6 3 (:REWRITE VL2014::VL-PRINTABLE-P-WHEN-CHARACTER-LISTP))\n (6 3 (:REWRITE VL2014::VL-PRINTABLE-P-WHEN-ACL2-NUMBERP))\n (6 2 (:REWRITE VL2014::NEGATIVE-WHEN-NATP))\n (4 4 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (4 1 (:REWRITE VL2014::STRING-LISTP-WHEN-NO-NILS-IN-VL-MAYBE-STRING-LISTP))\n (2 2 (:TYPE-PRESCRIPTION SYMBOL-LISTP))\n (2 2 (:TYPE-PRESCRIPTION STRING-LISTP))\n (2 2 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (2 2 (:TYPE-PRESCRIPTION CHARACTER-LISTP))\n (2 2 (:REWRITE VL2014::TRUE-LISTP-WHEN-MEMBER-EQUAL-OF-TRUE-LIST-LISTP))\n (2 2 (:REWRITE SYMBOL-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-MEMBER-EQUAL-OF-SYMBOL-LIST-LISTP))\n (2 2 (:REWRITE STRINGP-WHEN-MEMBER-EQUAL-OF-STRING-LISTP))\n (2 2 (:REWRITE STRING-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::STRING-LISTP-WHEN-MEMBER-EQUAL-OF-STRING-LIST-LISTP))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (2 2 (:REWRITE CHARACTER-LISTP-WHEN-SUBSETP-EQUAL))\n (2 1 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (2 1 (:REWRITE SYMBOL-LISTP-WHEN-BOOLEAN-LISTP))\n (2 1 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (2 1 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (2 1 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (2 1 (:REWRITE STR::CHARACTER-LISTP-WHEN-OCT-DIGIT-CHAR-LISTP))\n (2 1 (:REWRITE STR::CHARACTER-LISTP-WHEN-HEX-DIGIT-CHAR-LISTP))\n (2 1 (:REWRITE STR::CHARACTER-LISTP-WHEN-DEC-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION STR::OCT-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (1 1 (:TYPE-PRESCRIPTION STR::HEX-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (1 1 (:TYPE-PRESCRIPTION STR::DEC-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION CONSP-MEMBER-EQUAL))\n (1 1 (:TYPE-PRESCRIPTION BOOLEAN-LISTP))\n (1 1 (:REWRITE TRUE-LISTP-WHEN-UNSIGNED-BYTE-LISTP))\n (1 1 (:REWRITE TRUE-LISTP-WHEN-SIGNED-BYTE-LISTP))\n (1 1 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 2))\n (1 1 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 1))\n (1 1 (:REWRITE SYMBOL-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (1 1 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n (1 1 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE SET::IN-SET))\n (1 1 (:REWRITE FN-CHECK-DEF-FORMALS))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-DESCALIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-DESCALIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (1 1 (:REWRITE CONSP-BY-LEN))\n (1 1 (:REWRITE CHARACTER-LISTP-WHEN-NOT-CONSP))\n )\n(VL2014::VLS-SHOWLOC-PRINT-AC-FN\n (80 80 (:TYPE-PRESCRIPTION |x < y => 0 < y-x|))\n (72 1 (:REWRITE VL2014::STRINGP-WHEN-TRUE-LISTP))\n (48 4 (:REWRITE NATP-POSP))\n (36 30 (:REWRITE DEFAULT-+-2))\n (30 30 (:REWRITE DEFAULT-+-1))\n (24 2 (:REWRITE VL2014::NATP-WHEN-POSP))\n (18 1 (:REWRITE TRUE-LISTP-WHEN-ATOM))\n (14 1 (:REWRITE TRUE-LISTP-WHEN-STRING-LISTP-REWRITE))\n (13 1 (:REWRITE TRUE-LISTP-WHEN-SYMBOL-LISTP-REWRITE))\n (12 4 (:REWRITE POSP-RW))\n (12 1 (:REWRITE TRUE-LISTP-WHEN-CHARACTER-LISTP-REWRITE))\n (10 10 (:TYPE-PRESCRIPTION NATP))\n (10 2 (:REWRITE NATP-RW))\n (8 8 (:REWRITE VL2014::POSP-WHEN-MEMBER-EQUAL-OF-POS-LISTP))\n (8 8 (:REWRITE INTEGERP-WHEN-MEMBER-EQUAL-OF-INTEGER-LISTP))\n (8 5 (:REWRITE DEFAULT-<-1))\n (8 4 (:REWRITE VL2014::INTEGERP-WHEN-NATP))\n (8 1 (:REWRITE SET::SETS-ARE-TRUE-LISTS-CHEAP))\n (7 5 (:REWRITE DEFAULT-<-2))\n (6 6 (:REWRITE DEFAULT-UNARY-MINUS))\n (6 3 (:REWRITE VL2014::VL-PRINTABLE-P-WHEN-CHARACTERP))\n (6 3 (:REWRITE VL2014::VL-PRINTABLE-P-WHEN-CHARACTER-LISTP))\n (6 3 (:REWRITE VL2014::VL-PRINTABLE-P-WHEN-ACL2-NUMBERP))\n (5 5 (:REWRITE VL2014::|(< c2 (+ c1 a))|))\n (5 5 (:META CANCEL_PLUS-LESSP-CORRECT))\n (4 4 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (4 4 (:REWRITE VL2014::NATP-WHEN-MEMBER-EQUAL-OF-NAT-LISTP))\n (4 4 (:REWRITE NATP-WHEN-MEMBER-EQUAL-OF-NAT-LISTP))\n (4 1 (:REWRITE VL2014::STRING-LISTP-WHEN-NO-NILS-IN-VL-MAYBE-STRING-LISTP))\n (2 2 (:TYPE-PRESCRIPTION SYMBOL-LISTP))\n (2 2 (:TYPE-PRESCRIPTION STRING-LISTP))\n (2 2 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (2 2 (:TYPE-PRESCRIPTION CHARACTER-LISTP))\n (2 2 (:REWRITE VL2014::TRUE-LISTP-WHEN-MEMBER-EQUAL-OF-TRUE-LIST-LISTP))\n (2 2 (:REWRITE SYMBOL-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-MEMBER-EQUAL-OF-SYMBOL-LIST-LISTP))\n (2 2 (:REWRITE STRINGP-WHEN-MEMBER-EQUAL-OF-STRING-LISTP))\n (2 2 (:REWRITE STRING-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::STRING-LISTP-WHEN-MEMBER-EQUAL-OF-STRING-LIST-LISTP))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (2 2 (:REWRITE CHARACTER-LISTP-WHEN-SUBSETP-EQUAL))\n (2 1 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (2 1 (:REWRITE SYMBOL-LISTP-WHEN-BOOLEAN-LISTP))\n (2 1 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (2 1 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (2 1 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (2 1 (:REWRITE STR::CHARACTER-LISTP-WHEN-OCT-DIGIT-CHAR-LISTP))\n (2 1 (:REWRITE STR::CHARACTER-LISTP-WHEN-HEX-DIGIT-CHAR-LISTP))\n (2 1 (:REWRITE STR::CHARACTER-LISTP-WHEN-DEC-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION STR::OCT-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (1 1 (:TYPE-PRESCRIPTION STR::HEX-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (1 1 (:TYPE-PRESCRIPTION STR::DEC-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION CONSP-MEMBER-EQUAL))\n (1 1 (:TYPE-PRESCRIPTION BOOLEAN-LISTP))\n (1 1 (:REWRITE TRUE-LISTP-WHEN-UNSIGNED-BYTE-LISTP))\n (1 1 (:REWRITE TRUE-LISTP-WHEN-SIGNED-BYTE-LISTP))\n (1 1 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 2))\n (1 1 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 1))\n (1 1 (:REWRITE SYMBOL-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (1 1 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n (1 1 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE SET::IN-SET))\n (1 1 (:REWRITE FN-CHECK-DEF-FORMALS))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-DESCALIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-DESCALIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (1 1 (:REWRITE CONSP-BY-LEN))\n (1 1 (:REWRITE CHARACTER-LISTP-WHEN-NOT-CONSP))\n )\n(VL2014::VLS-SHOWLOC-PRINT-GOAL-FN\n (221 1 (:DEFINITION NTH))\n (106 17 (:REWRITE LEN-WHEN-ATOM))\n (103 2 (:REWRITE VL2014::NTH-WHEN-TOO-BIG))\n (85 13 (:REWRITE CONSP-UNDER-IFF-WHEN-TRUE-LISTP))\n (79 2 (:REWRITE NTH-WITH-LARGE-INDEX))\n (72 1 (:REWRITE VL2014::STRINGP-WHEN-TRUE-LISTP))\n (66 2 (:REWRITE NTH-WHEN-TOO-LARGE-CHEAP))\n (48 6 (:REWRITE STR::EXPLODE-UNDER-IFF))\n (33 22 (:REWRITE DEFAULT-<-2))\n (32 32 (:TYPE-PRESCRIPTION STR::TRUE-LISTP-OF-EXPLODE))\n (32 3 (:REWRITE VL2014::NATP-WHEN-POSP))\n (32 3 (:LINEAR VL2014::LEN-OF-CDR-STRONG))\n (26 26 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-CONS-LISTP))\n (26 26 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (26 2 (:REWRITE NTH-WHEN-ATOM))\n (26 2 (:REWRITE VL2014::NTH-OF-ATOM))\n (25 22 (:REWRITE DEFAULT-<-1))\n (23 5 (:REWRITE ZP-OPEN))\n (22 22 (:META CANCEL_PLUS-LESSP-CORRECT))\n (22 7 (:LINEAR STR::STRRPOS-UPPER-BOUND-STRONG))\n (21 21 (:TYPE-PRESCRIPTION |x < y => 0 < -x+y|))\n (20 20 (:LINEAR LOWER-BOUND-OF-LEN-WHEN-SUBLISTP))\n (20 20 (:LINEAR LISTPOS-UPPER-BOUND-STRONG-2))\n (20 20 (:LINEAR LEN-WHEN-PREFIXP))\n (18 2 (:REWRITE VL2014::NTH-WHEN-ZP))\n (18 2 (:REWRITE NTH-WHEN-ZP))\n (18 1 (:REWRITE TRUE-LISTP-WHEN-ATOM))\n (17 17 (:REWRITE SET::DOUBLE-CONTAINMENT))\n (17 17 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (17 17 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (14 14 (:TYPE-PRESCRIPTION TRUE-LISTP-SUBSEQ-TYPE-PRESCRIPTION))\n (14 14 (:LINEAR STR::STRRPOS-UPPER-BOUND-STRONGER))\n (14 1 (:REWRITE TRUE-LISTP-WHEN-STRING-LISTP-REWRITE))\n (14 1 (:REWRITE NATP-POSP))\n (13 1 (:REWRITE TRUE-LISTP-WHEN-SYMBOL-LISTP-REWRITE))\n (13 1 (:REWRITE POSP-RW))\n (12 2 (:REWRITE VL2014::INTEGERP-WHEN-NATP))\n (12 1 (:REWRITE TRUE-LISTP-WHEN-CHARACTER-LISTP-REWRITE))\n (10 10 (:LINEAR LEQ-POSITION-EQUAL-LEN))\n (10 10 (:LINEAR INDEX-OF-<-LEN))\n (10 10 (:LINEAR STR::COUNT-LEADING-CHARSET-LEN))\n (9 9 (:REWRITE DEFAULT-CDR))\n (9 9 (:REWRITE DEFAULT-+-2))\n (9 9 (:REWRITE DEFAULT-+-1))\n (9 3 (:REWRITE VL2014::VL-PRINTABLE-P-WHEN-CHARACTER-LISTP))\n (9 3 (:REWRITE VL2014::VL-PRINTABLE-P-WHEN-ACL2-NUMBERP))\n (9 3 (:REWRITE VL2014::|(< c2 (+ c1 a))|))\n (8 1 (:REWRITE SET::SETS-ARE-TRUE-LISTS-CHEAP))\n (7 3 (:REWRITE NATP-RW))\n (6 6 (:TYPE-PRESCRIPTION ZP))\n (6 6 (:REWRITE VL2014::NATP-WHEN-MEMBER-EQUAL-OF-NAT-LISTP))\n (6 6 (:REWRITE NATP-WHEN-MEMBER-EQUAL-OF-NAT-LISTP))\n (6 6 (:REWRITE STR::EXPLODE-WHEN-NOT-STRINGP))\n (4 4 (:TYPE-PRESCRIPTION POSP))\n (4 4 (:REWRITE INTEGERP-WHEN-MEMBER-EQUAL-OF-INTEGER-LISTP))\n (4 1 (:REWRITE VL2014::STRING-LISTP-WHEN-NO-NILS-IN-VL-MAYBE-STRING-LISTP))\n (2 2 (:TYPE-PRESCRIPTION SYMBOL-LISTP))\n (2 2 (:TYPE-PRESCRIPTION STRING-LISTP))\n (2 2 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (2 2 (:TYPE-PRESCRIPTION CHARACTER-LISTP))\n (2 2 (:REWRITE VL2014::TRUE-LISTP-WHEN-MEMBER-EQUAL-OF-TRUE-LIST-LISTP))\n (2 2 (:REWRITE SYMBOL-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-MEMBER-EQUAL-OF-SYMBOL-LIST-LISTP))\n (2 2 (:REWRITE STRINGP-WHEN-MEMBER-EQUAL-OF-STRING-LISTP))\n (2 2 (:REWRITE STRING-LISTP-WHEN-SUBSETP-EQUAL))\n (2 2 (:REWRITE VL2014::STRING-LISTP-WHEN-MEMBER-EQUAL-OF-STRING-LIST-LISTP))\n (2 2 (:REWRITE VL2014::POSP-WHEN-MEMBER-EQUAL-OF-POS-LISTP))\n (2 2 (:REWRITE CHARACTER-LISTP-WHEN-SUBSETP-EQUAL))\n (2 1 (:TYPE-PRESCRIPTION TRUE-LISTP-MEMBER-EQUAL))\n (2 1 (:REWRITE SYMBOL-LISTP-WHEN-BOOLEAN-LISTP))\n (2 1 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (2 1 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (2 1 (:REWRITE STR::CHARACTER-LISTP-WHEN-OCT-DIGIT-CHAR-LISTP))\n (2 1 (:REWRITE STR::CHARACTER-LISTP-WHEN-HEX-DIGIT-CHAR-LISTP))\n (2 1 (:REWRITE STR::CHARACTER-LISTP-WHEN-DEC-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION STR::OCT-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (1 1 (:TYPE-PRESCRIPTION STR::HEX-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (1 1 (:TYPE-PRESCRIPTION STR::DEC-DIGIT-CHAR-LISTP))\n (1 1 (:TYPE-PRESCRIPTION CONSP-MEMBER-EQUAL))\n (1 1 (:TYPE-PRESCRIPTION BOOLEAN-LISTP))\n (1 1 (:REWRITE TRUE-LISTP-WHEN-UNSIGNED-BYTE-LISTP))\n (1 1 (:REWRITE TRUE-LISTP-WHEN-SIGNED-BYTE-LISTP))\n (1 1 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 2))\n (1 1 (:REWRITE VL2014::SYMBOL-LISTP-WHEN-SUBSETP-EQUAL-OF-SYMBOL-LISTP . 1))\n (1 1 (:REWRITE SYMBOL-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 2))\n (1 1 (:REWRITE VL2014::STRING-LISTP-WHEN-SUBSETP-EQUAL-OF-STRING-LISTP . 1))\n (1 1 (:REWRITE STRING-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE NTH-WHEN-PREFIXP))\n (1 1 (:REWRITE VL2014::NTH-OF-EXPLODE-WHEN-CHAR-FIX-KNOWN))\n (1 1 (:REWRITE SET::IN-SET))\n (1 1 (:REWRITE FN-CHECK-DEF-FORMALS))\n (1 1 (:REWRITE DEFAULT-CAR))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-GENCASELIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-DESCALIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-DESCALIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-COMMENTMAP-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-CASELIST-P . 1))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 2))\n (1 1 (:REWRITE VL2014::CONSP-WHEN-MEMBER-EQUAL-OF-VL-ATTS-P . 1))\n (1 1 (:REWRITE CONSP-BY-LEN))\n (1 1 (:REWRITE CHARACTER-LISTP-WHEN-NOT-CONSP))\n (1 1 (:REWRITE CAR-WHEN-ALL-EQUALP))\n )\n(VL2014::VLS-SHOWLOC-PRINT-FN)\n","avg_line_length":55.6473029046,"max_line_length":89,"alphanum_fraction":0.7028185818} +{"size":34612,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":";;;; -*- Mode: Common-Lisp -*-\n\n;;;; See LICENSE for licensing information.\n\n(in-package :usocket)\n\n#+sbcl\n(progn\n #-win32\n (defun get-host-name ()\n (sb-unix:unix-gethostname))\n\n ;; we assume winsock has already been loaded, after all,\n ;; we already loaded sb-bsd-sockets and sb-alien\n #+win32\n (defun get-host-name ()\n (sb-alien:with-alien ((buf (sb-alien:array sb-alien:char 256)))\n (let ((result (sb-alien:alien-funcall\n (sb-alien:extern-alien \"gethostname\"\n (sb-alien:function sb-alien:int\n (* sb-alien:char)\n sb-alien:int))\n (sb-alien:cast buf (* sb-alien:char))\n 256)))\n (when (= result 0)\n (sb-alien:cast buf sb-alien:c-string))))))\n\n#+(and ecl (not ecl-bytecmp))\n(progn\n #-:wsock\n (ffi:clines\n \"#include \"\n \"#include \"\n \"#include \")\n #+:wsock\n (ffi:clines\n \"#ifndef FD_SETSIZE\"\n \"#define FD_SETSIZE 1024\"\n \"#endif\"\n \"#include \")\n\n (ffi:clines\n #+:msvc \"#include \"\n #-:msvc \"#include \"\n \"#include \")\n#|\n #+:prefixed-api\n (ffi:clines\n \"#define CONS(x, y) ecl_cons((x), (y))\"\n \"#define MAKE_INTEGER(x) ecl_make_integer((x))\")\n #-:prefixed-api\n (ffi:clines\n \"#define CONS(x, y) make_cons((x), (y))\"\n \"#define MAKE_INTEGER(x) make_integer((x))\")\n|#\n\n (defun cerrno ()\n (ffi:c-inline () () :int\n \"errno\" :one-liner t))\n\n (defun fd-setsize ()\n (ffi:c-inline () () :fixnum\n \"FD_SETSIZE\" :one-liner t))\n\n (defun fdset-alloc ()\n (ffi:c-inline () () :pointer-void\n \"ecl_alloc_atomic(sizeof(fd_set))\" :one-liner t))\n\n (defun fdset-zero (fdset)\n (ffi:c-inline (fdset) (:pointer-void) :void\n \"FD_ZERO((fd_set*)#0)\" :one-liner t))\n\n (defun fdset-set (fdset fd)\n (ffi:c-inline (fdset fd) (:pointer-void :fixnum) :void\n \"FD_SET(#1,(fd_set*)#0)\" :one-liner t))\n\n (defun fdset-clr (fdset fd)\n (ffi:c-inline (fdset fd) (:pointer-void :fixnum) :void\n \"FD_CLR(#1,(fd_set*)#0)\" :one-liner t))\n\n (defun fdset-fd-isset (fdset fd)\n (ffi:c-inline (fdset fd) (:pointer-void :fixnum) :bool\n \"FD_ISSET(#1,(fd_set*)#0)\" :one-liner t))\n\n (declaim (inline cerrno\n fd-setsize\n fdset-alloc\n fdset-zero\n fdset-set\n fdset-clr\n fdset-fd-isset))\n\n (defun get-host-name ()\n (ffi:c-inline\n () () :object\n \"{ char *buf = (char *) ecl_alloc_atomic(257);\n\n if (gethostname(buf,256) == 0)\n @(return) = make_simple_base_string(buf);\n else\n @(return) = Cnil;\n }\" :one-liner nil :side-effects nil))\n\n (defun read-select (wl to-secs &optional (to-musecs 0))\n (let* ((sockets (wait-list-waiters wl))\n (rfds (wait-list-%wait wl))\n (max-fd (reduce #'(lambda (x y)\n (let ((sy (sb-bsd-sockets:socket-file-descriptor\n (socket y))))\n (if (< x sy) sy x)))\n (cdr sockets)\n :initial-value (sb-bsd-sockets:socket-file-descriptor\n (socket (car sockets))))))\n (fdset-zero rfds)\n (dolist (sock sockets)\n (fdset-set rfds (sb-bsd-sockets:socket-file-descriptor\n (socket sock))))\n (let ((count\n (ffi:c-inline (to-secs to-musecs rfds max-fd)\n (t :unsigned-int :pointer-void :int)\n :int\n \"\n int count;\n struct timeval tv;\n\n if (#0 != Cnil) {\n tv.tv_sec = fixnnint(#0);\n tv.tv_usec = #1;\n }\n @(return) = select(#3 + 1, (fd_set*)#2, NULL, NULL,\n (#0 != Cnil) ? &tv : NULL);\n\" :one-liner nil)))\n (cond\n ((= 0 count)\n (values nil nil))\n ((< count 0)\n ;; check for EINTR and EAGAIN; these should not err\n (values nil (cerrno)))\n (t\n (dolist (sock sockets)\n (when (fdset-fd-isset rfds (sb-bsd-sockets:socket-file-descriptor\n (socket sock)))\n (setf (state sock) :READ))))))))\n) ; progn\n\n(defun map-socket-error (sock-err)\n (map-errno-error (sb-bsd-sockets::socket-error-errno sock-err)))\n\n(defparameter +sbcl-condition-map+\n '((interrupted-error . interrupted-condition)))\n\n(defparameter +sbcl-error-map+\n `((sb-bsd-sockets:address-in-use-error . address-in-use-error)\n (sb-bsd-sockets::no-address-error . address-not-available-error)\n (sb-bsd-sockets:bad-file-descriptor-error . bad-file-descriptor-error)\n (sb-bsd-sockets:connection-refused-error . connection-refused-error)\n (sb-bsd-sockets:invalid-argument-error . invalid-argument-error)\n (sb-bsd-sockets:no-buffers-error . no-buffers-error)\n (sb-bsd-sockets:operation-not-supported-error\n . operation-not-supported-error)\n (sb-bsd-sockets:operation-not-permitted-error\n . operation-not-permitted-error)\n (sb-bsd-sockets:protocol-not-supported-error\n . protocol-not-supported-error)\n #-ecl\n (sb-bsd-sockets:unknown-protocol\n . protocol-not-supported-error)\n (sb-bsd-sockets:socket-type-not-supported-error\n . socket-type-not-supported-error)\n (sb-bsd-sockets:network-unreachable-error . network-unreachable-error)\n (sb-bsd-sockets:operation-timeout-error . timeout-error)\n #-ecl\n (sb-sys:io-timeout . timeout-error)\n #+sbcl\n (sb-ext:timeout . timeout-error)\n (sb-bsd-sockets:socket-error . ,#'map-socket-error)\n\n ;; Nameservice errors: mapped to unknown-error\n #-ecl\n (sb-bsd-sockets:no-recovery-error . ns-no-recovery-error)\n #-ecl\n (sb-bsd-sockets:try-again-error . ns-try-again-condition)\n #-ecl\n (sb-bsd-sockets:host-not-found-error . ns-host-not-found-error)))\n\n(defun handle-condition (condition &optional (socket nil))\n \"Dispatch correct usocket condition.\"\n (typecase condition\n (serious-condition\n (let* ((usock-error (cdr (assoc (type-of condition) +sbcl-error-map+)))\n\t (usock-error (if (functionp usock-error)\n\t\t\t (funcall usock-error condition)\n\t\t\t usock-error)))\n (when usock-error\n\t (error usock-error :socket socket))))\n (condition (let* ((usock-cond (cdr (assoc (type-of condition)\n +sbcl-condition-map+)))\n (usock-cond (if (functionp usock-cond)\n (funcall usock-cond condition)\n usock-cond)))\n (if usock-cond\n (signal usock-cond :socket socket))))))\n\n;;; \"The socket stream ends up with a bogus name as it is created before\n;;; the socket is connected, making things harder to debug than they need\n;;; to be.\" -- Nikodemus Siivola \n\n(defvar *dummy-stream*\n (let ((stream (make-broadcast-stream)))\n (close stream)\n stream))\n\n;;; Amusingly, neither SBCL's own, nor GBBopen's WITH-TIMEOUT is asynch\n;;; unwind safe. The one I posted is -- that's what the WITHOUT-INTERRUPTS\n;;; and WITH-LOCAL-INTERRUPTS were for. :) But yeah, it's miles saner than\n;;; the SB-EXT:WITH-TIMEOUT. -- Nikodemus Siivola \n\n#+(and sbcl (not win32))\n(defmacro %with-timeout ((seconds timeout-form) &body body)\n \"Runs BODY as an implicit PROGN with timeout of SECONDS. If\ntimeout occurs before BODY has finished, BODY is unwound and\nTIMEOUT-FORM is executed with its values returned instead.\n\nNote that BODY is unwound asynchronously when a timeout occurs,\nso unless all code executed during it -- including anything\ndown the call chain -- is asynch unwind safe, bad things will\nhappen. Use with care.\"\n (let ((exec (gensym)) (unwind (gensym)) (timer (gensym))\n\t(timeout (gensym)) (block (gensym)))\n `(block ,block\n (tagbody\n\t (flet ((,unwind ()\n\t\t (go ,timeout))\n\t\t (,exec ()\n\t\t ,@body))\n\t (declare (dynamic-extent #',exec #',unwind))\n\t (let ((,timer (sb-ext:make-timer #',unwind)))\n\t (declare (dynamic-extent ,timer))\n\t (sb-sys:without-interrupts\n\t\t (unwind-protect\n\t\t (progn\n\t\t\t (sb-ext:schedule-timer ,timer ,seconds)\n\t\t\t (return-from ,block\n\t\t\t (sb-sys:with-local-interrupts\n\t\t\t (,exec))))\n\t\t (sb-ext:unschedule-timer ,timer)))))\n\t ,timeout\n\t (return-from ,block ,timeout-form)))))\n\n(defun get-hosts-by-name (name)\n (with-mapped-conditions ()\n (multiple-value-bind (host4 host6)\n (sb-bsd-sockets:get-host-by-name name)\n (let ((addr4 (when host4\n (sb-bsd-sockets::host-ent-addresses host4)))\n (addr6 (when host6\n (sb-bsd-sockets::host-ent-addresses host6))))\n (append addr4 addr6)))))\n\n(defun socket-connect (host port &key (protocol :stream) (element-type 'character)\n timeout deadline (nodelay t nodelay-specified)\n local-host local-port\n\t\t &aux\n\t\t (sockopt-tcp-nodelay-p\n\t\t\t(fboundp 'sb-bsd-sockets::sockopt-tcp-nodelay)))\n (when deadline (unsupported 'deadline 'socket-connect))\n #+ecl\n (when timeout (unsupported 'timeout 'socket-connect))\n (when (and nodelay-specified\n ;; 20080802: ECL added this function to its sockets\n ;; package today. There's no guarantee the functions\n ;; we need are available, but we can make sure not to\n ;; call them if they aren't\n (not (eq nodelay :if-supported))\n (not sockopt-tcp-nodelay-p))\n (unsupported 'nodelay 'socket-connect))\n (when (eq nodelay :if-supported)\n (setf nodelay t))\n\n (let* ((remote (when host\n (car (get-hosts-by-name (host-to-hostname host)))))\n (local (when local-host\n (car (get-hosts-by-name (host-to-hostname local-host)))))\n (ipv6 (or (and remote (= 16 (length remote)))\n (and local (= 16 (length local)))))\n (socket (make-instance #+sbcl (if ipv6\n 'sb-bsd-sockets::inet6-socket\n 'sb-bsd-sockets:inet-socket)\n #+ecl 'sb-bsd-sockets:inet-socket\n :type protocol\n :protocol (case protocol\n (:stream :tcp)\n (:datagram :udp))))\n usocket\n ok)\n\n (unwind-protect\n (progn\n (ecase protocol\n (:stream\n ;; If make a real socket stream before the socket is\n ;; connected, it gets a misleading name so supply a\n ;; dummy value to start with.\n (setf usocket (make-stream-socket :socket socket :stream *dummy-stream*))\n ;; binghe: use SOCKOPT-TCP-NODELAY as internal symbol\n ;; to pass compilation on ECL without it.\n (when (and nodelay-specified sockopt-tcp-nodelay-p)\n (setf (sb-bsd-sockets::sockopt-tcp-nodelay socket) nodelay))\n (when (or local-host local-port)\n (sb-bsd-sockets:socket-bind socket\n (if ipv6\n (or local (ipv6-host-to-vector \"::0\"))\n (or local (host-to-vector-quad *wildcard-host*)))\n (or local-port *auto-port*)))\n\n (with-mapped-conditions (usocket)\n\t\t#+(and sbcl (not win32))\n\t\t(labels ((connect ()\n (sb-bsd-sockets:socket-connect socket remote port)))\n\t\t (if timeout\n\t\t (%with-timeout (timeout (error 'sb-ext:timeout)) (connect))\n\t\t (connect)))\n\t\t#+(or ecl (and sbcl win32))\n\t\t(sb-bsd-sockets:socket-connect socket remote port)\n ;; Now that we're connected make the stream.\n (setf (socket-stream usocket)\n (sb-bsd-sockets:socket-make-stream socket\n :input t :output t :buffering :full\n\t\t\t:element-type element-type\n\t\t\t;; Robert Brown said on Aug 4, 2011:\n\t\t\t;; ... This means that SBCL streams created by usocket have a true\n\t\t\t;; serve-events property. When writing large amounts of data to several\n\t\t\t;; streams, the kernel will eventually stop accepting data from SBCL.\n\t\t\t;; When this happens, SBCL either waits for I\/O to be possible on\n\t\t\t;; the file descriptor it's writing to or queues the data to be flushed later.\n\t\t\t;; Because usocket streams specify serve-events as true, SBCL\n\t\t\t;; always queues. Instead, it should wait for I\/O to be available and\n\t\t\t;; write the remaining data to the socket. That's what serve-events\n\t\t\t;; equal to NIL gets you.\n\t\t\t;;\n\t\t\t;; Nikodemus Siivola said on Aug 8, 2011:\n\t\t\t;; It's set to T for purely historical reasons, and will soon change to\n\t\t\t;; NIL in SBCL. (The docstring has warned of T being a temporary default\n\t\t\t;; for as long as the :SERVE-EVENTS keyword argument has existed.)\n\t\t\t:serve-events nil))))\n (:datagram\n (when (or local-host local-port)\n (sb-bsd-sockets:socket-bind socket\n (if ipv6\n (or local (ipv6-host-to-vector \"::0\"))\n (or local (host-to-vector-quad *wildcard-host*)))\n (or local-port *auto-port*)))\n (setf usocket (make-datagram-socket socket))\n (when (and host port)\n (with-mapped-conditions (usocket)\n (sb-bsd-sockets:socket-connect socket remote port)\n (setf (connected-p usocket) t)))))\n (setf ok t))\n ;; Clean up in case of an error.\n (unless ok\n (sb-bsd-sockets:socket-close socket :abort t)))\n usocket))\n\n(defun socket-listen (host port\n &key reuseaddress\n (reuse-address nil reuse-address-supplied-p)\n (backlog 5)\n (element-type 'character))\n (let* (#+sbcl\n\t (local (when host\n (car (get-hosts-by-name (host-to-hostname host)))))\n\t #+sbcl\n (ipv6 (and local (= 16 (length local))))\n (reuseaddress (if reuse-address-supplied-p reuse-address reuseaddress))\n (ip #+sbcl (if (and local (not (eq host *wildcard-host*)))\n local\n (hbo-to-vector-quad sb-bsd-sockets-internal::inaddr-any))\n #+ecl (host-to-vector-quad host))\n (sock (make-instance #+sbcl (if ipv6\n 'sb-bsd-sockets::inet6-socket\n 'sb-bsd-sockets:inet-socket)\n #+ecl 'sb-bsd-sockets:inet-socket\n :type :stream\n :protocol :tcp)))\n (handler-case\n (with-mapped-conditions ()\n (setf (sb-bsd-sockets:sockopt-reuse-address sock) reuseaddress)\n (sb-bsd-sockets:socket-bind sock ip port)\n (sb-bsd-sockets:socket-listen sock backlog)\n (make-stream-server-socket sock :element-type element-type))\n (t (c)\n ;; Make sure we don't leak filedescriptors\n (sb-bsd-sockets:socket-close sock)\n (error c)))))\n\n;;; \"2. SB-BSD-SOCKETS:SOCKET-ACCEPT method returns NIL for EAGAIN\/EINTR,\n;;; instead of raising a condition. It's always possible for\n;;; SOCKET-ACCEPT on non-blocking socket to fail, even after the socket\n;;; was detected to be ready: connection might be reset, for example.\n;;;\n;;; \"I had to redefine SOCKET-ACCEPT method of STREAM-SERVER-USOCKET to\n;;; handle this situation. Here is the redefinition:\" -- Anton Kovalenko \n\n(defmethod socket-accept ((usocket stream-server-usocket) &key element-type)\n (with-mapped-conditions (usocket)\n (let ((socket (sb-bsd-sockets:socket-accept (socket usocket))))\n (when socket\n (prog1\n\t (make-stream-socket\n\t :socket socket\n\t :stream (sb-bsd-sockets:socket-make-stream\n\t\t socket\n\t\t :input t :output t :buffering :full\n\t\t :element-type (or element-type\n\t\t\t\t (element-type usocket))))\n\n ;; next time wait for event again if we had EAGAIN\/EINTR\n ;; or else we'd enter a tight loop of failed accepts\n #+win32\n (setf (%ready-p usocket) nil))))))\n\n;; Sockets and their associated streams are modelled as\n;; different objects. Be sure to close the stream (which\n;; closes the socket too) when closing a stream-socket.\n(defmethod socket-close ((usocket usocket))\n (with-mapped-conditions (usocket)\n (sb-bsd-sockets:socket-close (socket usocket))))\n\n(defmethod socket-close ((usocket stream-usocket))\n (with-mapped-conditions (usocket)\n (close (socket-stream usocket))))\n\n#+sbcl\n(defmethod socket-shutdown ((usocket stream-usocket) direction)\n (with-mapped-conditions (usocket)\n (sb-bsd-sockets::socket-shutdown (socket usocket) :direction direction)))\n\n#+ecl\n(defmethod socket-shutdown ((usocket stream-usocket) direction)\n (let ((sock-fd (sb-bsd-sockets:socket-file-descriptor (socket usocket)))\n (direction-flag (ecase direction\n (:input 0)\n (:output 1))))\n (unless (zerop (ffi:c-inline (sock-fd direction-flag) (:int :int) :int\n \"shutdown(#0, #1)\" :one-liner t))\n (error (map-errno-error (cerrno))))))\n\n(defmethod socket-send ((usocket datagram-usocket) buffer size &key host port (offset 0))\n (let ((remote (when host\n (car (get-hosts-by-name (host-to-hostname host))))))\n (with-mapped-conditions (usocket)\n (let* ((s (socket usocket))\n (dest (if (and host port) (list remote port) nil))\n (real-buffer (if (zerop offset)\n buffer\n (subseq buffer offset (+ offset size)))))\n (sb-bsd-sockets:socket-send s real-buffer size :address dest)))))\n\n(defmethod socket-receive ((socket datagram-usocket) buffer length\n\t\t\t &key (element-type '(unsigned-byte 8)))\n #+sbcl\n (declare (values (simple-array (unsigned-byte 8) (*)) ; buffer\n\t\t (integer 0) ; size\n\t\t (simple-array (unsigned-byte 8) (*)) ; host\n\t\t (unsigned-byte 16))) ; port\n (with-mapped-conditions (socket)\n (let ((s (socket socket)))\n (sb-bsd-sockets:socket-receive s buffer length :element-type element-type))))\n\n(defmethod get-local-name ((usocket usocket))\n (sb-bsd-sockets:socket-name (socket usocket)))\n\n(defmethod get-peer-name ((usocket stream-usocket))\n (sb-bsd-sockets:socket-peername (socket usocket)))\n\n(defmethod get-local-address ((usocket usocket))\n (nth-value 0 (get-local-name usocket)))\n\n(defmethod get-peer-address ((usocket stream-usocket))\n (nth-value 0 (get-peer-name usocket)))\n\n(defmethod get-local-port ((usocket usocket))\n (nth-value 1 (get-local-name usocket)))\n\n(defmethod get-peer-port ((usocket stream-usocket))\n (nth-value 1 (get-peer-name usocket)))\n\n(defun get-host-by-address (address)\n (with-mapped-conditions ()\n (sb-bsd-sockets::host-ent-name\n (sb-bsd-sockets:get-host-by-address address))))\n\n#+(and sbcl (not win32))\n(progn\n (defun %setup-wait-list (wait-list)\n (declare (ignore wait-list)))\n\n (defun %add-waiter (wait-list waiter)\n (push (socket waiter) (wait-list-%wait wait-list)))\n\n (defun %remove-waiter (wait-list waiter)\n (setf (wait-list-%wait wait-list)\n (remove (socket waiter) (wait-list-%wait wait-list))))\n\n (defun wait-for-input-internal (sockets &key timeout)\n (with-mapped-conditions ()\n (sb-alien:with-alien ((rfds (sb-alien:struct sb-unix:fd-set)))\n (sb-unix:fd-zero rfds)\n (dolist (socket (wait-list-%wait sockets))\n (sb-unix:fd-set\n (sb-bsd-sockets:socket-file-descriptor socket)\n rfds))\n (multiple-value-bind\n (secs musecs)\n (split-timeout (or timeout 1))\n (let* ((wait-list (wait-list-%wait sockets)))\n count err)\n (if (null wait-list)\n (setq count 0) ;; no need to call\n (multiple-value-setq (count err)\n (sb-unix:unix-fast-select\n ;; \"invalid number of arguments: 0\" if wait-list is null.\n (1+ (reduce #'max wait-list\n :key #'sb-bsd-sockets:socket-file-descriptor))\n (sb-alien:addr rfds) nil nil\n (when timeout secs) (when timeout musecs))))\n (if (null count) ; something wrong in #'sb-unix:unix-fast-select\n (unless (= err sb-unix:EINTR)\n (error (map-errno-error err)))\n (when (< 0 count) ; do nothing if count = 0\n ;; process the result...\n (dolist (x (wait-list-waiters sockets))\n (when (sb-unix:fd-isset\n (sb-bsd-sockets:socket-file-descriptor\n (socket x))\n rfds)\n (setf (state x) :READ))))))))))\n) ; progn\n\n;;; WAIT-FOR-INPUT support for SBCL on Windows platform (Chun Tian (binghe))\n;;; Based on LispWorks version written by Erik Huelsmann.\n\n#+win32 ; shared by ECL and SBCL\n(eval-when (:compile-toplevel :load-toplevel :execute)\n (defconstant +wsa-wait-failed+ #xffffffff)\n (defconstant +wsa-infinite+ #xffffffff)\n (defconstant +wsa-wait-event-0+ 0)\n (defconstant +wsa-wait-timeout+ 258))\n\n#+win32 ; shared by ECL and SBCL\n(progn\n (defconstant fd-read 1)\n (defconstant fd-read-bit 0)\n (defconstant fd-write 2)\n (defconstant fd-write-bit 1)\n (defconstant fd-oob 4)\n (defconstant fd-oob-bit 2)\n (defconstant fd-accept 8)\n (defconstant fd-accept-bit 3)\n (defconstant fd-connect 16)\n (defconstant fd-connect-bit 4)\n (defconstant fd-close 32)\n (defconstant fd-close-bit 5)\n (defconstant fd-qos 64)\n (defconstant fd-qos-bit 6)\n (defconstant fd-group-qos 128)\n (defconstant fd-group-qos-bit 7)\n (defconstant fd-routing-interface 256)\n (defconstant fd-routing-interface-bit 8)\n (defconstant fd-address-list-change 512)\n (defconstant fd-address-list-change-bit 9)\n (defconstant fd-max-events 10)\n (defconstant fionread 1074030207)\n\n ;; Note: for ECL, socket-handle will return raw Windows Handle,\n ;; while SBCL returns OSF Handle instead.\n (defun socket-handle (usocket)\n (sb-bsd-sockets:socket-file-descriptor (socket usocket)))\n\n (defun socket-ready-p (socket)\n (if (typep socket 'stream-usocket)\n (plusp (bytes-available-for-read socket))\n (%ready-p socket)))\n\n (defun waiting-required (sockets)\n (notany #'socket-ready-p sockets))\n\n (defun raise-usock-err (errno &optional socket)\n (error 'unknown-error\n :socket socket\n :real-error errno))\n\n (defun wait-for-input-internal (wait-list &key timeout)\n (when (waiting-required (wait-list-waiters wait-list))\n (let ((rv (wsa-wait-for-multiple-events 1 (wait-list-%wait wait-list)\n nil\n (if timeout\n (truncate (* 1000 timeout))\n +wsa-infinite+)\n nil)))\n (ecase rv\n ((#.+wsa-wait-event-0+)\n (update-ready-and-state-slots (wait-list-waiters wait-list)))\n ((#.+wsa-wait-timeout+)) ; do nothing here\n ((#.+wsa-wait-failed+)\n (maybe-wsa-error rv))))))\n\n (defun %add-waiter (wait-list waiter)\n (let ((events (etypecase waiter\n (stream-server-usocket (logior fd-connect fd-accept fd-close))\n (stream-usocket (logior fd-read))\n (datagram-usocket (logior fd-read)))))\n (maybe-wsa-error\n (wsa-event-select (os-socket-handle waiter) (os-wait-list-%wait wait-list) events)\n waiter)))\n\n (defun %remove-waiter (wait-list waiter)\n (maybe-wsa-error\n (wsa-event-select (os-socket-handle waiter) (os-wait-list-%wait wait-list) 0)\n waiter))\n) ; progn\n\n#+(and sbcl win32)\n(progn\n ;; \"SOCKET is defined as intptr_t in Windows headers; however, WS-SOCKET\n ;; is defined as unsigned-int, i.e. 32-bit even on 64-bit platform. It\n ;; seems to be a good thing to redefine WS-SOCKET as SB-ALIEN:SIGNED,\n ;; which is always machine word-sized (exactly as intptr_t;\n ;; N.B. as of Windows\/x64, long and signed-long are 32-bit, and thus not\n ;; enough -- potentially).\"\n ;; -- Anton Kovalenko , Mar 22, 2011\n (sb-alien:define-alien-type ws-socket sb-alien:signed)\n\n (sb-alien:define-alien-type ws-dword sb-alien:unsigned-long)\n (sb-alien:define-alien-type ws-event sb-alien::hinstance)\n\n (sb-alien:define-alien-type nil\n (sb-alien:struct wsa-network-events\n (network-events sb-alien:long)\n (error-code (array sb-alien:int 10)))) ; 10 = fd-max-events\n\n (sb-alien:define-alien-routine (\"WSACreateEvent\" wsa-event-create)\n ws-event) ; return type only\n\n (sb-alien:define-alien-routine (\"WSACloseEvent\" wsa-event-close)\n (boolean #.sb-vm::n-machine-word-bits)\n (event-object ws-event))\n\n (sb-alien:define-alien-routine (\"WSAEnumNetworkEvents\" wsa-enum-network-events)\n sb-alien:int\n (socket ws-socket)\n (event-object ws-event)\n (network-events (* (sb-alien:struct wsa-network-events))))\n\n (sb-alien:define-alien-routine (\"WSAEventSelect\" wsa-event-select)\n sb-alien:int\n (socket ws-socket)\n (event-object ws-event)\n (network-events sb-alien:long))\n\n (sb-alien:define-alien-routine (\"WSAWaitForMultipleEvents\" wsa-wait-for-multiple-events)\n ws-dword\n (number-of-events ws-dword)\n (events (* ws-event))\n (wait-all-p (boolean #.sb-vm::n-machine-word-bits))\n (timeout ws-dword)\n (alertable-p (boolean #.sb-vm::n-machine-word-bits)))\n\n (sb-alien:define-alien-routine (\"ioctlsocket\" wsa-ioctlsocket)\n sb-alien:int\n (socket ws-socket)\n (cmd sb-alien:long)\n (argp (* sb-alien:unsigned-long)))\n\n (defun maybe-wsa-error (rv &optional socket)\n (unless (zerop rv)\n (raise-usock-err (sockint::wsa-get-last-error) socket)))\n\n (defun os-socket-handle (usocket)\n (sb-bsd-sockets:socket-file-descriptor (socket usocket)))\n\n (defun bytes-available-for-read (socket)\n (sb-alien:with-alien ((int-ptr sb-alien:unsigned-long))\n (maybe-wsa-error (wsa-ioctlsocket (os-socket-handle socket) fionread (sb-alien:addr int-ptr))\n socket)\n (prog1 int-ptr\n (when (plusp int-ptr)\n (setf (state socket) :read)))))\n\n (defun map-network-events (func network-events)\n (let ((event-map (sb-alien:slot network-events 'network-events))\n (error-array (sb-alien:slot network-events 'error-code)))\n (unless (zerop event-map)\n (dotimes (i fd-max-events)\n (unless (zerop (ldb (byte 1 i) event-map)) ;;### could be faster with ash and logand?\n (funcall func (sb-alien:deref error-array i)))))))\n\n (defun update-ready-and-state-slots (sockets)\n (dolist (socket sockets)\n (if (%ready-p socket)\n (progn\n (setf (state socket) :READ))\n (sb-alien:with-alien ((network-events (sb-alien:struct wsa-network-events)))\n (let ((rv (wsa-enum-network-events (os-socket-handle socket) 0\n (sb-alien:addr network-events))))\n (if (zerop rv)\n (map-network-events\n #'(lambda (err-code)\n (if (zerop err-code)\n (progn\n (setf (state socket) :READ)\n (when (stream-server-usocket-p socket)\n (setf (%ready-p socket) t)))\n (raise-usock-err err-code socket)))\n network-events)\n (maybe-wsa-error rv socket)))))))\n\n (defun os-wait-list-%wait (wait-list)\n (sb-alien:deref (wait-list-%wait wait-list)))\n\n (defun (setf os-wait-list-%wait) (value wait-list)\n (setf (sb-alien:deref (wait-list-%wait wait-list)) value))\n\n ;; \"Event handles are leaking in current SBCL backend implementation,\n ;; because of SBCL-unfriendly usage of finalizers.\n ;;\n ;; \"SBCL never calls a finalizer that closes over a finalized object: a\n ;; reference from that closure prevents its collection forever. That's\n ;; the case with USOCKET in %SETUP-WAIT-LIST.\n ;;\n ;; \"I use the following redefinition of %SETUP-WAIT-LIST: \n ;;\n ;; \"Of course it may be rewritten with more clarity, but you can see the\n ;; core idea: I'm closing over those components of WAIT-LIST that I need\n ;; for finalization, not the wait-list itself. With the original\n ;; %SETUP-WAIT-LIST, hunchentoot stops working after ~100k accepted\n ;; connections; it doesn't happen with redefined %SETUP-WAIT-LIST.\"\n ;;\n ;; -- Anton Kovalenko , Mar 22, 2011\n\n (defun %setup-wait-list (wait-list)\n (setf (wait-list-%wait wait-list) (sb-alien:make-alien ws-event))\n (setf (os-wait-list-%wait wait-list) (wsa-event-create))\n (sb-ext:finalize wait-list\n\t\t (let ((event-handle (os-wait-list-%wait wait-list))\n\t\t\t (alien (wait-list-%wait wait-list)))\n\t\t #'(lambda ()\n\t\t\t (wsa-event-close event-handle)\n\t\t\t (unless (null alien)\n\t\t\t (sb-alien:free-alien alien))))))\n\n) ; progn\n\n#+(and ecl (not win32))\n(progn\n (defun wait-for-input-internal (wl &key timeout)\n (with-mapped-conditions ()\n (multiple-value-bind (secs usecs)\n (split-timeout (or timeout 1))\n (multiple-value-bind (result-fds err)\n (read-select wl (when timeout secs) usecs)\n\t (declare (ignore result-fds))\n (unless (null err)\n (error (map-errno-error err)))))))\n\n (defun %setup-wait-list (wl)\n (setf (wait-list-%wait wl)\n (fdset-alloc)))\n\n (defun %add-waiter (wl w)\n (declare (ignore wl w)))\n\n (defun %remove-waiter (wl w)\n (declare (ignore wl w)))\n) ; progn\n\n#+(and ecl win32 (not ecl-bytecmp))\n(progn\n (defun maybe-wsa-error (rv &optional syscall)\n (unless (zerop rv)\n (sb-bsd-sockets::socket-error syscall)))\n\n (defun %setup-wait-list (wl)\n (setf (wait-list-%wait wl)\n (ffi:c-inline () () :int\n \"WSAEVENT event;\n event = WSACreateEvent();\n @(return) = event;\")))\n\n (defun %add-waiter (wait-list waiter)\n (let ((events (etypecase waiter\n (stream-server-usocket (logior fd-connect fd-accept fd-close))\n (stream-usocket (logior fd-read))\n (datagram-usocket (logior fd-read)))))\n (maybe-wsa-error\n (ffi:c-inline ((socket-handle waiter) (wait-list-%wait wait-list) events)\n (:fixnum :fixnum :fixnum) :fixnum\n \"int result;\n result = WSAEventSelect((SOCKET)#0, (WSAEVENT)#1, (long)#2);\n @(return) = result;\")\n '%add-waiter)))\n\n (defun %remove-waiter (wait-list waiter)\n (maybe-wsa-error\n (ffi:c-inline ((socket-handle waiter) (wait-list-%wait wait-list))\n (:fixnum :fixnum) :fixnum\n \"int result;\n result = WSAEventSelect((SOCKET)#0, (WSAEVENT)#1, 0L);\n @(return) = result;\")\n '%remove-waiter))\n\n ;; TODO: how to handle error (result) in this call?\n (declaim (inline %bytes-available-for-read))\n (defun %bytes-available-for-read (socket)\n (ffi:c-inline ((socket-handle socket)) (:fixnum) :fixnum\n \"u_long nbytes;\n int result;\n nbytes = 0L;\n result = ioctlsocket((SOCKET)#0, FIONREAD, &nbytes);\n @(return) = nbytes;\"))\n\n (defun bytes-available-for-read (socket)\n (let ((nbytes (%bytes-available-for-read socket)))\n (when (plusp nbytes)\n\t(setf (state socket) :read))\n nbytes))\n\n (defun update-ready-and-state-slots (sockets)\n (dolist (socket sockets)\n (if (%ready-p socket)\n (setf (state socket) :READ)\n (let ((events (etypecase socket\n (stream-server-usocket (logior fd-connect fd-accept fd-close))\n (stream-usocket (logior fd-read))\n (datagram-usocket (logior fd-read)))))\n ;; TODO: check the iErrorCode array\n (multiple-value-bind (valid-p ready-p)\n (ffi:c-inline ((socket-handle socket) events) (:fixnum :fixnum)\n (values :bool :bool)\n \"WSANETWORKEVENTS network_events;\n int i, result;\n result = WSAEnumNetworkEvents((SOCKET)#0, 0, &network_events);\n if (!result) {\n @(return 0) = Ct;\n @(return 1) = (#1 & network_events.lNetworkEvents)? Ct : Cnil;\n } else {\n @(return 0) = Cnil;\n @(return 1) = Cnil;\n }\")\n (if valid-p\n (when ready-p\n (setf (state socket) :READ)\n (when (stream-server-usocket-p socket)\n (setf (%ready-p socket) t)))\n (sb-bsd-sockets::socket-error 'update-ready-and-state-slots)))))))\n\n (defun wait-for-input-internal (wait-list &key timeout)\n (when (waiting-required (wait-list-waiters wait-list))\n (let ((rv (ffi:c-inline ((wait-list-%wait wait-list)\n (if timeout\n (truncate (* 1000 timeout))\n +wsa-infinite+))\n (:fixnum :fixnum) :fixnum\n \"DWORD result;\n WSAEVENT events[1];\n events[0] = (WSAEVENT)#0;\n result = WSAWaitForMultipleEvents(1, events, NULL, #1, NULL);\n @(return) = result;\")))\n (ecase rv\n ((#.+wsa-wait-event-0+)\n (update-ready-and-state-slots (wait-list-waiters wait-list)))\n ((#.+wsa-wait-timeout+)) ; do nothing here\n ((#.+wsa-wait-failed+)\n (sb-bsd-sockets::socket-error 'wait-for-input-internal))))))\n\n) ; progn\n","avg_line_length":39.4663625998,"max_line_length":99,"alphanum_fraction":0.5719692592} +{"size":6128,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(in-package :cl-rtlgen)\n\n(defparameter rtl-counter-vargen 0\n \"Counter for the variable name generator\")\n\n\n(defun rtl-get-dir (base dir &key (sep \"_\"))\n \"Generate a direction suffix with the base direction BASE xor DIR\"\n (case dir\n ('no \"\")\n (t (if (or (and (not base) (not dir)) (and base dir))\n (concatenate 'string sep \"i\")\n (concatenate 'string sep \"o\")))))\n\n(defun rtl-iface-axi-full (&optional (dir 'no) (idw 4) (addrw 32) (dataw 32) (strbw 4))\n \"Alist with the name of a full AXI4 interface with the signal width and direction as the value\"\n ;; TODO Add parameters for user signals\n `(( \"awid\" ,(rtl-get-dir t dir) . ,idw )\n ( \"awaddr\" ,(rtl-get-dir t dir) . ,addrw )\n ( \"awlen\" ,(rtl-get-dir t dir) . 8 )\n ( \"awsize\" ,(rtl-get-dir t dir) . 3 )\n ( \"awburst\" ,(rtl-get-dir t dir) . 2 )\n ( \"awlock\" ,(rtl-get-dir t dir) . 1 )\n ( \"awcache\" ,(rtl-get-dir t dir) . 4 )\n ( \"awprot\" ,(rtl-get-dir t dir) . 3 )\n ( \"awqos\" ,(rtl-get-dir t dir) . 4 )\n ( \"awuser\" ,(rtl-get-dir t dir) . 1 )\n ( \"awvalid\" ,(rtl-get-dir t dir) . 1 )\n ( \"awready\" ,(rtl-get-dir nil dir) . 1 )\n ( \"wdata\" ,(rtl-get-dir t dir) . ,dataw )\n ( \"wstrb\" ,(rtl-get-dir t dir) . ,strbw )\n ( \"wlast\" ,(rtl-get-dir t dir) . 1 )\n ( \"wuser\" ,(rtl-get-dir t dir) . 1 )\n ( \"wvalid\" ,(rtl-get-dir t dir) . 1 )\n ( \"wready\" ,(rtl-get-dir nil dir) . 1 )\n ( \"bid\" ,(rtl-get-dir nil dir) . ,idw )\n ( \"bresp\" ,(rtl-get-dir nil dir) . 2 )\n ( \"buser\" ,(rtl-get-dir nil dir) . 1 )\n ( \"bvalid\" ,(rtl-get-dir nil dir) . 1 )\n ( \"bready\" ,(rtl-get-dir t dir) . 1 )\n ( \"arid\" ,(rtl-get-dir t dir) . ,idw )\n ( \"araddr\" ,(rtl-get-dir t dir) . ,addrw )\n ( \"arlen\" ,(rtl-get-dir t dir) . 8 )\n ( \"arsize\" ,(rtl-get-dir t dir) . 3 )\n ( \"arburst\" ,(rtl-get-dir t dir) . 2 )\n ( \"arlock\" ,(rtl-get-dir t dir) . 1 )\n ( \"arcache\" ,(rtl-get-dir t dir) . 4 )\n ( \"arprot\" ,(rtl-get-dir t dir) . 3 )\n ( \"arqos\" ,(rtl-get-dir t dir) . 4 )\n ( \"aruser\" ,(rtl-get-dir t dir) . 1 )\n ( \"arvalid\" ,(rtl-get-dir t dir) . 1 )\n ( \"arready\" ,(rtl-get-dir nil dir) . 1 )\n ( \"rid\" ,(rtl-get-dir nil dir) . ,idw )\n ( \"rdata\" ,(rtl-get-dir nil dir) . ,dataw )\n ( \"rresp\" ,(rtl-get-dir nil dir) . 2)\n ( \"rlast\" ,(rtl-get-dir nil dir) . 1 )\n ( \"ruser\" ,(rtl-get-dir t dir) . 1 )\n ( \"rvalid\" ,(rtl-get-dir nil dir) . 1 )\n ( \"rready\" ,(rtl-get-dir t dir) . 1 )))\n\n(defun rtl-mult-iface-size (factor iface)\n \"Multiplies the width of all ports of the interface.\"\n (mapcar (lambda (x) (setf (cddr x) (* factor (cddr x))) x) (copy-tree iface)))\n\n\n(defun rtl-iface-axi (&optional (dir 'no) (idw 4) (addrw 32) (dataw 32) (strbw 4))\n \"Alist with the name of a subset of the AXI4 interface with the signal width as the value.\"\n\n (remove-if-not (lambda (x) (find (car x)\n '(\"awid\" \"awaddr\" \"awlen\" \"awburst\" \"awvalid\" \"awready\" \"wdata\" \"wstrb\" \"wlast\" \"wvalid\" \"wready\" \"bid\" \"bresp\" \"bvalid\" \"bready\" \"arid\" \"araddr\" \"arlen\" \"arburst\" \"arvalid\" \"arready\" \"rid\" \"rdata\" \"rresp\" \"rlast\" \"rvalid\" \"rready\") :test #'equal))\n (rtl-iface-axi-full dir idw addrw dataw strbw)))\n\n\n;; Low level access to the language\n\n(defun rtl-assign (lhs rhs)\n \"Assign the RHS to the LHS. assign LHS = RHS;\"\n (format nil \"~%assign ~A = ~A;\" lhs rhs))\n\n(defun rtl-concat (list)\n \"Concat together the given params\"\n (format nil \"{~{~a~^, ~}}\" list))\n\n(defun rtl-define (name bits)\n \"Define the signal\/wire NAME of length BITS\"\n (if (= 1 bits)\n (format nil \"~%wire ~A;\" name)\n (format nil \"~%wire [~A-1:0] ~A;\" bits name)))\n\n(defun rtl-component (comp name params signals)\n \"Instantiate a component\"\n (format nil \"~%~A #(~A) ~A (~A);\" comp params name signals))\n\n(defun rtl-newname () (incf rtl-counter-vargen) (format nil \"tmpvar~A\" rtl-counter-vargen))\n\n(defun rtl-bindvar (var sig)\n \"Bind the variable VAR to signal SIG (as in a component declaration)\"\n (format nil \"~%.~A(~A),\" var sig))\n\n;; Higher level constructs\n\n(defun rtl-concat-to (dest &rest source)\n \"Assign all the sources on the right to the variable on the left.\"\n (rtl-assign dest (rtl-concat source)))\n\n(defun rtl-defineiface (name iface &key (sep \"_\"))\n \"Define the signal\/wires of the interface with the given prefix\"\n (format nil \"~{~A~}\"\n (mapcar #'(lambda (x)\n (rtl-define (concatenate 'string name sep (car x)) (cddr x))) iface)))\n\n(defun rtl-bindiface-prefix (var sig iface &key override (sep \"_\"))\n \"Assign a port from in interface\"\n (let ((ov (assoc (car iface) override :test #'equal)))\n (if (or (not ov) (cdr ov))\n (rtl-bindvar (concatenate 'string var sep (car iface) (cadr iface))\n (or (cdr ov) (concatenate 'string sig sep (car iface))))\n \"\")))\n\n;; (rtl-bindiface-prefix \"axi\" \"var\" '(\"bid\" \"_i\" . 3) :override '( (\"bid\" . \"3'b0\")))\n\n(defun rtl-bindiface (var sig iface &key override)\n \"Bind all the variables in the interface\"\n (apply 'concatenate '(string) (mapcar (lambda (x) (rtl-bindiface-prefix var sig x :override override)) iface)))\n\n(defun rtl-concat-iface (dest sources iface &key (sep \"_\"))\n \"Concat multiple interfaces into a single wider interface signal.\"\n ;; TODO Split signal in opposite direction\n (apply 'concatenate '(string)\n (mapcar (lambda (x)\n (apply #'rtl-concat-to (concatenate 'string dest sep (car x))\n (mapcar #'(lambda (s) (concatenate 'string s sep (car x))) sources))) iface)))\n\n\n;;; Examples usages\n(defun rtl-run-string (text)\n (funcall (cl-template:compile-template text) nil))\n(defun rtl-run-path (path)\n \"Run the template engine on the given path.\"\n (with-open-file (tf path)\n (let ((text (make-string (file-length tf))))\n (read-sequence text tf)\n (rtl-run-string text))))\n(defun rtl-run (name)\n \"Run the template on the file NAME.tpl\"\n (with-open-file (out name :direction :output :if-exists :supersede :if-does-not-exist :create)\n (format out \"~A\" (rtl-run-path (concatenate 'string name \".tpl\")))))\n","avg_line_length":41.4054054054,"max_line_length":283,"alphanum_fraction":0.5864882507} +{"size":15561,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":";;; UPDATE-CONFIG\n;;; With the agent picking the embodiment it wishes to add to a design, this\n;;; function returns how the fp's of the design state are affected. Obviously\n;;; the set-fp is affected since the embodiment attaches to it, but also\n;;; the connect-fps includes other fp's the agent might like to see the\n;;; other ports of the embodiment attach to (only one port can go to any\n;;; in connect-fps, that is, connect-fps are removed after they are \n;;; used. Returns all the fp's of the design, even if some are not changed.\n(defun update-config (eb connect-fps ebs fps);;fps\/ebs -> all the fps\/ebs in existing design\n (do ((new-fps fps ;; new fps set to old fps \n\t\t(cond ((car connect-fps);how does this evaluate to a true\/false ? connect-fp->list of fps on the component\n\t\t (modify-fp-in-list ;;first fp nil -> create new one\n\t\t\t(car connect-fps) new-fps;; \n\t\t\t:class (cond ((nth i (eb-class (eval eb))));;;i -> ports\n\t\t\t\t (t 'empty))\n\t\t\t:domain (cond ((nth i (eb-domain (eval eb))))\n\t\t\t\t (t 'empty))\n\t\t\t:inter (update-interface \n\t\t\t\t(nth i (eb-inter (eval eb)));;;result when fps a \n\t\t\t\t(fp-inter (car connect-fps)))\n\t\t\t:index (cons (list (length ebs) i) \n\t\t\t\t (fp-index (car connect-fps)))));;track of the eb and port of eb connection\n\t\t (t (cons (create-fp ;;create a new fp if nil\n\t\t\t\t;;This will always be executed or the else condition ?\n\t\t\t\t;;creates a new list of fp,eb,domain,interface ?.\n\t\t\t\tnil nil\n\t\t\t\t(nth i (eb-class (eval eb)))\n\t\t\t\t(nth i (eb-domain (eval eb)))\n\t\t\t\tnil (nth i (eb-inter (eval eb))) nil\n\t\t\t\t(list (list (length ebs) i)));;cons new fp to fps\n\t\t\t new-fps))))\n (connect-fps connect-fps (cdr connect-fps))\n (i 0 (1+ i)))\n ((endp connect-fps) \n (list \n\t(update-through-across-direct new-fps (length ebs) (backcons eb ebs));;updation of ebs\/design. Why backcons ?\n\t;; the new-fps But...\n\t(backcons eb ebs);;adds a new eb to the ebs\n\t;; the new-ebs basically adding the new one to the end of the list\n\t))))\n;;; old version - new version not yet tested\n;;(defun update-config (eb set-port set-fp connect-fps ebs fps)\n;; (do ((new-fps (modify-fp-in-list \n;;\t\t set-fp fps \n;;\t\t :class (cond ((cp-class (nth set-port \n;;\t\t\t\t\t (eb-const-param (eval eb)))))\n;;\t\t\t (t 'empty))\n;;\t\t :domain (cond ((cp-domain (nth set-port \n;;\t\t\t\t\t\t(eb-const-param (eval eb)))))\n;;\t\t\t (t 'empty))\n;;\t\t :inter (update-interface \n;;\t\t\t (cp-inter (nth set-port (eb-const-param (eval eb)))) \n;;\t\t\t (fp-inter set-fp))\n;;\t\t :index (cons (list (length ebs) set-port) (fp-index set-fp)))\n;;\t\t(cond ((= i set-port) new-fps)\n;;\t\t ((car connect-fps)\n;;\t\t (modify-fp-in-list \n;;\t\t\t(car connect-fps) new-fps \n;;\t\t\t:class (cond ((cp-class \n;;\t\t\t\t (nth i (eb-const-param (eval eb)))))\n;;\t\t\t\t (t 'empty))\n;;\t\t\t:domain (cond ((cp-domain \n;;\t\t\t\t\t(nth i (eb-const-param (eval eb)))))\n;;\t\t\t\t (t 'empty))\n;;\t\t\t:inter (update-interface \n;;\t\t\t\t(cp-inter (nth i (eb-const-param (eval eb)))) \n;;\t\t\t\t(fp-inter (car connect-fps)))\n;;\t\t\t:index (cons (list (length ebs) i) \n;;\t\t\t\t (fp-index (car connect-fps)))))\n;;\t\t (t (cons (create-fp \n;;\t\t\t\t(make-list (length (cp-domain (car ports))))\n;;\t\t\t\t(make-list (length (cp-domain (car ports))))\n;;\t\t\t\t(cp-class (car ports)) (cp-domain (car ports))\n;;\t\t\t\tnil (cp-inter (car ports)) nil\n;;\t\t\t\t(list (list (length ebs) i)))\n;;\t\t\t new-fps))))\n;; (ports (eb-const-param (eval eb)) (cdr ports))\n;; (connect-fps connect-fps (cdr connect-fps))\n;; (i 0 (1+ i)))\n;; ((endp ports) \n;; (list \n;;\t(update-through-across-direct new-fps (length ebs) (backcons eb ebs))\n;;\t(backcons eb ebs)))))\n\n\n\n;;; MODIFY-FP-IN-LIST\n;;; Makes any modification to an FP in the current set of FP's. All slots are\n;;; optional. Returns the complete FP list.\n(defun modify-fp-in-list (fp fps &key (through 'empty) (across 'empty);;&->optional arguments\n\t\t\t (class 'empty) (domain 'empty) (coord 'empty) \n\t\t\t (inter 'empty) (direct 'empty) (index 'empty));;;explanation of arguments required\n (cons (create-fp;;return \n\t (cond ((equal 'empty through) (fp-through fp)) (t through))\n\t (cond ((equal 'empty across) (fp-across fp)) (t across))\n\t (cond ((equal 'empty class) (fp-class fp)) (t class))\n\t (cond ((equal 'empty domain) (fp-domain fp)) (t domain))\n\t (cond ((equal 'empty coord) (fp-coord fp)) (t coord))\n\t (cond ((equal 'empty inter) (fp-inter fp)) (t inter))\n\t (cond ((equal 'empty direct) (fp-direct fp)) (t direct))\n\t (cond ((equal 'empty index) (fp-index fp)) (t index)))\n\t(remove fp fps)))\n\n\n;;; old version - new version not yet tested\n;(defun update-through-across-direct (fps eb-num ebs)\n; (do* ((other-connects nil (eb-connects-to (list eb-num port-num) new-fps))\n;\t(candidate-through nil (mapcar #'fp-through other-connects))\n;\t(candidate-across nil (mapcar #'fp-across other-connects))\n;\t(candidate-directs nil (mapcar #'fp-direct other-connects))\n;\t(new-fps fps (update-fps-in-branch other-connects eb-num port-num \n;\t\t\t\t\t candidate(1+ i-through candidate-across \n;\t\t\t\t\t candidate-directs new-fps ebs))\n;\t(port-num 0 (1+ port-num))))\n; ((= port-num (length (eb-const-param (eval (nth eb-num ebs))))) \n; new-fps)))\n\n(defun update-through-across-direct (fps eb-num ebs)\n ;;make sure that the through and across vars are correct& direction of flow of energy\n (do* ((port-num (length (eb-domain (eval (nth eb-num ebs)))) (1- port-num))\n\t(other-connects nil (mapcar\n\t\t\t #'(lambda (x y)\n\t\t\t\t (port-connects-to (list eb-num x) new-fps))\n\t\t\t '(0 1 2 3 4 5 6 7 8 9 10)\n\t\t\t (eb-domain (eval (nth eb-num ebs)))))\n\t;; the change from above is done to 'order' the other-connects based\n\t;; on which ports they connect to on the new EB. the 'port-connect-to'\n\t;; function is used repeatedly as opposed to eb-connects-to which \n\t;; does not return the answer in any particular order\n\t(candidate-through nil (mapcar #'fp-through other-connects))\n\t(candidate-across nil (mapcar #'fp-across other-connects))\n\t(candidate-directs nil (mapcar #'fp-direct other-connects))\n\t(new-fps fps (update-fps-in-branch other-connects eb-num port-num \n\t\t\t\t\t candidate-through candidate-across \n\t\t\t\t\t candidate-directs new-fps ebs)))\n ((zerop port-num) new-fps)))\n\n\n(defun update-fps-in-branch (from eb-num port-num cand-through cand-across\n\t\t\t\t cand-drs fps ebs)\n (do* ((start (port-connects-to (list eb-num port-num) fps))\n\t(through (update-through cand-through port-num eb-num ebs))\n\t(across (update-across cand-across port-num eb-num ebs))\n\t(direct (update-direct start (nth eb-num ebs) port-num cand-drs))\n\t(new-fps (cond ((and (equal through (fp-through start))\n\t\t\t (equal across (fp-across start))\n\t\t\t (equal direct (fp-direct start))) nil)\n\t\t (t (modify-fp-in-list start fps :through through \n\t\t\t\t\t :across across :direct direct)))\n\t\t (update-fps-in-branch \n\t\t (cons start from) (caar where-to) (cadar where-to) \n\t\t (list through) (list across) (list direct) new-fps ebs))\n\t;;\n\t;;here's the bug cand-across not include where you are at!!!\n\t;;\n\t(where-to (cond (new-fps (fp-connects-to start nil ;;from\n\t\t\t\t\t\t new-fps)) (t nil))\n\t\t (cdr where-to)))\n ((endp where-to) (cond (new-fps) (t fps)))))\n\n\n(defun update-direct (start eb port-num cand-drs);;;cand-drs ?\n (cond ((or (r-member 'goal (fp-index start))\n\t (member 'ground (fp-index start))) \n\t (fp-direct start))\n\t((nth port-num (eb-direct (eval eb))))\n\t((or (equal (fp-direct start) 'source)\n\t (member 'source cand-drs :test 'equal))\n\t 'source)\n\t((or (equal (fp-direct start) 'sink)\n\t (member 'sink cand-drs :test 'equal))\n\t 'sink)))\n\n\n(defun update-through (cand-through port-num eb-num ebs)\n (do* ((old-through (nth port-num cand-through))\n\t(domain-num 8 (1- domain-num))\n\t(opers nil (remove-if-not #'(lambda (x) (equal (car x) (list port-num domain-num)))\n\t\t\t\t (eb-opers (eval (nth eb-num ebs)))))\n\t(new-through nil (cons (cond (opers \n\t\t\t\t (update-through-term \n\t\t\t\t (nth domain-num old-through)\n\t\t\t\t (mapcar #'(lambda (x) \n\t\t\t\t\t\t (nth (caddr x) \n\t\t\t\t\t\t\t(nth (cadr x) cand-through)))\n\t\t\t\t\t opers)))\n\t\t\t\t (t (nth domain-num old-through)))\n\t\t\t new-through)))\n ((zerop domain-num) new-through)))\n\t\t\t\t\t\t\t \n(defun update-through-term (old-val cand-vals)\n ;; old-val is the old value for that particular term\n ;; cand-vals denotes possible ways the old-val can be updated.\n ;; Note: it is possible that the old value supersedes the new cand's\n ;; for through variables, the operator is unimportant, all that matters \n ;; is that the ports are not anti-coupled (independent).\n (cond ((endp cand-vals) old-val)\n\t((null (car cand-vals))\n\t (update-through-term old-val (cdr cand-vals)))\n\t;; if old-val is a number, this beats all\n\t((numberp old-val) old-val) \n\t;; then if cand is number return candidate\n\t((numberp (car cand-vals)) (car cand-vals)) \n\t;; if the old val is a range\n\t((and (consp old-val) (numberp (car old-val))) \t\n\t (update-through-term old-val (cdr cand-vals)))\n\t;; if the cand is a range\n\t((and (consp (car cand-vals)) (numberp (car (car cand-vals))))\n\t (update-through-term (car cand-vals) (cdr cand-vals)));;cand-val changed to cand-vals\n\t;; if the old val is 'bound'\n\t((equal old-val 'bound) \n\t (update-through-term old-val (cdr cand-vals)))\n\t;; if the cand is 'bound'\n\t((equal (car cand-vals) 'bound) \n\t (update-through-term (car cand-vals) (cdr cand-vals)));;cahnge made to cand-vals from cand-val\n\t;; if the old val is a 'goal' statement\n\t((and (consp old-val) (equal (car old-val) 'goal)) \t\n\t (update-through-term old-val (cdr cand-vals)))\n\t;; if the cand is a 'goal' statement\n\t((and (consp (car cand-vals)) (equal (car (car cand-vals)) 'goal))\n\t (update-through-term (car cand-vals) (cdr cand-vals)));;change made to cand-vals from cand-val\n\t;; else - it's probably nil - just return old-val\n\t(t (update-through-term old-val (cdr cand-vals)))))\n\n\n(defun update-across (cand-across port-num eb-num ebs)\n (cond ((= eb-num 3) (print cand-across)))\n (do* ((old-across (nth port-num cand-across))\n\t(domain-num 8 (1- domain-num))\n\t(opers nil (remove-if-not #'(lambda (x) (equal (car x) (list port-num domain-num)))\n\t\t\t\t (eb-opers (eval (nth eb-num ebs)))))\n\t(new-across nil (cons (cond (opers \n\t\t\t\t (update-across-term \n\t\t\t\t (nth domain-num old-across)\n\t\t\t\t (mapcar #'(lambda (x) \n\t\t\t\t\t\t (nth (caddr x) \n\t\t\t\t\t\t (nth (cadr x) cand-across)))\n\t\t\t\t\t opers)\n\t\t\t\t (mapcar #'(lambda (x) (cdddr x)) opers)))\n\t\t\t\t (t (nth domain-num old-across)))\n\t\t\t new-across)))\n ((zerop domain-num) new-across)))\n\t\t\t\t\t\t\t \n\n(defun update-across-term (old-val cand-vals cand-oper-types)\n ;; old-val is the old value for that particular term\n ;; cand-vals denotes possible ways the old-val can be updated.\n ;; Note: it is possible that the old value supersedes the new cand's\n ;; here we consider the oper-types as well\n ;; trick here is in managing the cand-oper-types!!!\n (cond ((endp cand-vals) old-val)\n\t((null (car cand-vals))\n\t (update-across-term old-val (cdr cand-vals) (cdr cand-oper-types)))\n\t(t\n\t (do ((new-val \n\t nil\n\t (cons \n\t\t(cond\n\t\t ;; if old-val is a number, this beats all\n\t\t ((numberp (nth i old-val)) (nth i old-val)) \n\t\t ;; then if cand is number \n\t\t ((numberp (nth i cand))\n\t\t (cond ((or (member 'c cand-oper-type :test 'equal)\n\t\t\t (and (zerop (nth i cand)) \n\t\t\t\t (member 't cand-oper-type :test 'equal)))\n\t\t\t (nth i cand))\n\t\t\t((or (member 't cand-oper-type :test 'equal)\n\t\t\t (member (car oper-match) cand-oper-type :test 'equal))\n\t\t\t 'bound)))\n\t\t ;; if the old val is a range\n\t\t ((and (consp (nth i old-val)) (numberp (car (nth i old-val))))\n\t\t (nth i old-val))\n\t\t ;; if the cand is a range\n\t\t ((and (consp (nth i cand)) (numberp (car (nth i cand))))\n\t\t (cond ((member 'c cand-oper-type :test 'equal)\n\t\t\t (nth i cand))\n\t\t\t((or (member 't cand-oper-type :test 'equal)\n\t\t\t (member (car oper-match) cand-oper-type :test 'equal))\n\t\t\t 'bound)))\n\t\t ;; if the old val is 'bound'\n\t\t ((equal (nth i old-val) 'bound) (nth i old-val)) \n\t\t ;; if the cand is 'bound'\n\t\t ((and (equal (nth i cand) 'bound)\n\t\t (or (member 'c cand-oper-type :test 'equal)\n\t\t\t (member 't cand-oper-type :test 'equal)\n\t\t\t (member (car oper-match) cand-oper-type :test 'equal)))\n\t\t 'bound)\n\t\t ;; if the old val is a 'goal' statement\n\t\t ((and (consp (nth i old-val)) (equal (car (nth i old-val)) 'goal))\n\t\t (nth i old-val))\n\t\t ;; if the cand is a 'goal' statement\n\t\t ((and (consp (nth i cand)) (equal (car (nth i cand)) 'goal))\n\t\t (cond ((member 'c cand-oper-type :test 'equal)\n\t\t\t (nth i cand))\n\t\t\t((or (member 't cand-oper-type :test 'equal)\n\t\t\t (member (car oper-match) cand-oper-type :test 'equal))\n\t\t\t '(goal bound))))\n\t\t ;; else - it's probably nil - just return (nth i old-val)\n\t\t (t (nth i old-val)))\n\t\tnew-val))\n\t (cand (car cand-vals)) ;; for simplicity in the above code and for speed,\n\t\t\t\t\t;define cand as the first cand in this step of \n\t\t\t\t\t;the recursion.\n\t (cand-oper-type (car cand-oper-types)) ;likewise for oper-type\n\t (oper-match '(i r d) (cdr oper-match))\n\t (i 2 (1- i)))\n\t ((< i 0) (update-across-term new-val (cdr cand-vals)\n\t\t\t\t\t (cdr cand-oper-types)))))))\n\n\n\n(defun make-unique-mg-change (eb-num port-num oper eb);;does unique refer to one eb ? Shouldn't the other ebs be modified as well ?\n (do ((coeff (nth (+ (* 4 port-num) oper) (eb-MG-change (eval eb)))\n\t (subst (intern\n\t\t (make-symbol \n\t\t (format nil \"~A_~D\" (string (car ebdata)) eb-num))) \n\t\t (car ebdata) coeff))\n (ebdata (eb-data (eval eb)) (cdr ebdata)))\n ((endp ebdata) coeff)))\n\n(defun make-unique-po-change (eb-num from-port to-port eb)\n (do ((matrix (nth to-port (nth from-port (eb-PO-change (eval eb))))\n\t (subst (intern \n\t\t (make-symbol\n\t\t\t(format nil \"~A_~D\" (string (car ebdata)) eb-num))) \n\t\t (car ebdata) matrix))\n (ebdata (eb-data (eval eb)) (cdr ebdata)))\n ((endp ebdata) matrix)))\n\n;;; This functions goes through and creates symbolic positions in each of the\n;;; FP's coord slot.\n(defun update-coordinates (fps ebs)\n (do* ((start (find-if #'(lambda (x) (fp-coord x)) fps));;find-if ? test in sequence ,start local variable from hereon\n\t;\t(car (remove-if-not \n\t;\t #'(lambda (x) (and (fp-coord x) \n\t;\t\t\t\t(member 'goal (fp-index x))))\n\t;\t fps)))\n\t(fps fps (cond ((consp (car ports));;consp ? ;; fps set to fps\n\t\t\t(update-coord-branch-eb\n\t\t\t fps ebs (caar ports) (cadar ports) (fp-coord start)))\n\t\t (t fps)))\t \n\t(ports (fp-index start) (cdr ports)));;how does this function work ?\n ((endp ports) fps)))\n\n\n(defun update-coord-branch-eb (fps ebs eb-num port-num coord);;why do we need to do this ?\n (do* ((fp nil (port-connects-to (list eb-num i) fps))\n\t(fps fps (cond ((or (= i port-num) (fp-coord fp)) fps);;not to change the fps\n\t\t (t \n\t\t\t(update-coord-branch-fp \n\t\t\t (modify-fp-in-list \n\t\t\t fp fps :coord (matrix-multiply;;modifies only the coord of the fp in the fps \n\t\t\t\t\t coord (make-unique-po-change\n\t\t\t\t\t eb-num port-num i \n\t\t\t\t\t (eval (nth eb-num ebs))) \n\t\t\t\t\t ));;coord of start for the first time\n\t\t\t ebs (remove-if #'(lambda (x) \n\t\t\t\t\t (or (not (consp x))\n\t\t\t\t\t\t(equal x (list eb-num i))))\n\t\t\t\t\t(fp-index fp))))))\n\t(i (1- (length (eb-domain (eval (nth eb-num ebs)))))\n\t (1- i)))\n ((< i 0) fps)))\n\n\n(defun update-coord-branch-fp (fps ebs ports) \n (do ((coord (fp-coord (car fps)))\n (ports ports (cdr ports))\n (fps fps (update-coord-branch-eb \n\t\t fps ebs (caar ports) (cadar ports) coord)))\n ((endp ports) fps)))\n\n","avg_line_length":41.7184986595,"max_line_length":131,"alphanum_fraction":0.6154488786} +{"size":7667,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"\n(in-package :asys)\n(pax:defsection @actor-system (:title \"Actor-System\")\n (asys:actor-system class)\n (asys:make-actor-system function)\n (asys:*default-config* variable)\n ;; ac protocol\n (ac:actor-of (pax:method () (asys:actor-system t)))\n (ac:find-actors (pax:method () (asys:actor-system t)))\n (ac:find-actor-by-name (pax:method () (asys:actor-system t)))\n (ac:all-actors (pax:method () (asys:actor-system)))\n (ac:stop (pax:method () (asys:actor-system t)))\n (ac:shutdown (pax:method () (asys:actor-system)))\n )\n\n(in-package :ac)\n(pax:defsection @ac-protocol (:title \"Actor-Context protocol\")\n (ac:actor-of generic-function)\n (ac:find-actors generic-function)\n (ac:find-actor-by-name generic-function)\n (ac:all-actors generic-function)\n (ac:stop generic-function)\n (ac:shutdown generic-function))\n\n(pax:defsection @actor-context (:title \"Actor-Context\")\n (ac:actor-context class)\n (ac:make-actor-context function)\n\n (ac:actor-of (pax:method () (ac:actor-context t)))\n (ac:find-actors (pax:method () (ac:actor-context t)))\n (ac:find-actor-by-name (pax:method () (ac:actor-context t)))\n (ac:all-actors (pax:method () (ac:actor-context)))\n (ac:stop (pax:method () (ac:actor-context t)))\n (ac:shutdown (pax:method () (ac:actor-context)))\n\n (ac:notify generic-function)\n\n (ac:system (pax:reader actor-context))\n (ac:id (pax:reader actor-context))\n (ac:actor-name-exists condition)\n\n (@ac-protocol pax:section))\n\n(in-package :act-cell)\n(pax:defsection @actor-cell (:title \"Actor-Cell\")\n (act-cell:actor-cell class)\n (act-cell:name (pax:reader actor-cell))\n (act-cell:state (pax:reader actor-cell))\n (act-cell:msgbox (pax:accessor actor-cell))\n (act-cell:*sender* variable)\n (act-cell:handle-call generic-function)\n (act-cell:handle-cast generic-function)\n (act-cell:pre-start generic-function)\n (act-cell:after-stop generic-function)\n (act-cell:stop generic-function)\n (act-cell:call function)\n (act-cell:cast function)\n (act-cell:running-p function))\n\n(in-package :mesgb)\n(pax:defsection @message-box-base (:title \"Message-box base class\")\n (mesgb::message-box-base class)\n (mesgb::name (pax:reader mesgb::message-box-base))\n (mesgb::max-queue-size (pax:reader mesgb::message-box-base))\n (mesgb:submit generic-function)\n (mesgb:stop generic-function)\n (mesgb:stop (pax:method () (mesgb::message-box-base)))\n (mesgb:with-submit-handler pax:macro))\n\n(pax:defsection @message-box\/bt (:title \"Message-box threaded\")\n (mesgb:message-box\/bt class)\n (mesgb:submit (pax:method () (mesgb:message-box\/bt t t t t))))\n\n(pax:defsection @message-box\/dp (:title \"Message-box dispatched\")\n (mesgb:message-box\/dp class)\n (mesgb:submit (pax:method () (mesgb:message-box\/dp t t t t))))\n\n(in-package :future)\n(pax:defsection @future (:title \"Future (delayed-computation)\")\n (future:future class)\n (future:make-future function)\n (future:complete-p function)\n (future:on-completed function)\n (future:get-result function))\n\n(in-package :act)\n(pax:defsection @actor (:title \"Actor\")\n (act:actor class)\n (act:actor-of pax:macro)\n (act:make-actor generic-function)\n (act:tell generic-function)\n (act:ask-s generic-function)\n (act:ask generic-function)\n (act:become generic-function)\n (act:unbecome generic-function)\n (act:context generic-function)\n (act:path generic-function)\n (act:watch generic-function)\n (act:unwatch generic-function)\n (act:watchers generic-function)\n ;; event stream protocol\n (ev:subscribe (pax:method () (act:actor act:actor)))\n (ev:unsubscribe (pax:method () (act:actor act:actor)))\n (ev:publish (pax:method () (act:actor t)))\n ;; actor-context protocol\n (ac:find-actors (pax:method () (act:actor t)))\n (ac:find-actor-by-name (pax:method () (act:actor t)))\n (ac:all-actors (pax:method () (act:actor)))\n \n (act-cell:@actor-cell pax:section)\n (mesgb:@message-box-base pax:section)\n (mesgb:@message-box\/bt pax:section)\n (mesgb:@message-box\/dp pax:section)\n (future:@future pax:section))\n\n(in-package :agthash)\n(pax:defsection @hash-agent (:title \"Hash-table agent\")\n (agthash:make-hash-agent function)\n (agthash:agent-gethash function)\n (agthash:agent-remhash function)\n (agthash:agent-clrhash function)\n (agthash:agent-dohash function))\n\n(in-package :agtarray)\n(pax:defsection @array-agent (:title \"Array\/Vector agent\")\n (agtarray:make-array-agent function)\n (agtarray:agent-elt function)\n (agtarray:agent-push function)\n (agtarray:agent-push-and-getidx function)\n (agtarray:agent-pop function)\n (agtarray:agent-delete function)\n (agtarray:agent-doarray function))\n\n(in-package :agt)\n(pax:defsection @agent (:title \"Agent\")\n (agt:agent class)\n (agt:make-agent function)\n (agt:agent-get function)\n (agt:agent-update function)\n (agt:agent-update-and-get function)\n (agt:agent-stop function)\n\n (agthash:@hash-agent pax:section)\n (agtarray:@array-agent pax:section))\n\n(in-package :disp)\n(pax:defsection @shared-dispatcher (:title \"Shared dispatcher\")\n (disp:shared-dispatcher class))\n\n(pax:defsection @dispatcher (:title \"Dispatcher\")\n (disp:dispatcher-base class)\n (disp:identifier (pax:reader disp:dispatcher-base))\n (disp:make-dispatcher function)\n (disp:dispatch generic-function)\n (disp:dispatch-async generic-function)\n (disp:stop generic-function)\n (disp:workers generic-function)\n (disp:dispatch-worker class)\n (disp:make-dispatcher-worker function)\n\n (disp:@shared-dispatcher pax:section))\n\n(in-package :router)\n(pax:defsection @router (:title \"Router\")\n (router:router class)\n (router:make-router function)\n (router:add-routee function)\n (router:stop function)\n (router:routees function)\n (router:tell (pax:method () (router:router t)))\n (router:ask-s (pax:method () (router:router t)))\n (router:ask (pax:method () (router:router t))))\n\n(in-package :ev)\n(pax:defsection @eventstream (:title \"Eventstream\")\n (ev:eventstream class)\n (ev:make-eventstream function)\n\n (ev:subscribe generic-function)\n (ev:unsubscribe generic-function)\n (ev:publish generic-function)\n\n (ev:subscribe (pax:method () (ev:eventstream act:actor)))\n (ev:subscribe (pax:method () (asys:actor-system act:actor)))\n (ev:subscribe (pax:method () (act:actor act:actor)))\n (ev:unsubscribe (pax:method () (ev:eventstream act:actor)))\n (ev:unsubscribe (pax:method () (asys:actor-system act:actor)))\n (ev:unsubscribe (pax:method () (act:actor act:actor)))\n (ev:publish (pax:method () (ev:eventstream t)))\n (ev:publish (pax:method () (asys:actor-system t)))\n (ev:publish (pax:method () (act:actor t)))\n )\n\n(in-package :tasks)\n(pax:defsection @tasks (:title \"Tasks\")\n (tasks:with-context pax:macro)\n (tasks:task-yield function)\n (tasks:task-start function)\n (tasks:task-async function)\n (tasks:task-await function)\n (tasks:task-shutdown function)\n (tasks:task-async-stream function))\n\n(in-package :config)\n(pax:defsection @config (:title \"Config\")\n (config:config-from function)\n (config:retrieve-section function)\n (config:retrieve-value function)\n (config:retrieve-keys function)\n (config:merge-config function))\n\n(defpackage :cl-gserver.docs)\n(in-package :cl-gserver.docs)\n\n(pax:defsection @readme (:title \"Introduction\")\n (README.md (pax:include #.(asdf:system-relative-pathname :cl-gserver \"README.md\"))))\n\n(pax:defsection @api (:title \"API documentation\")\n (asys:@actor-system pax:section)\n (ac:@actor-context pax:section)\n (act:@actor pax:section)\n (agt:@agent pax:section)\n (disp:@dispatcher pax:section)\n (router:@router pax:section)\n (ev:@eventstream pax:section)\n (tasks:@tasks pax:section)\n (config:@config pax:section))\n\n(pax:defsection @cl-gserver (:title \"cl-gserver documentation\")\n (@readme pax:section)\n (@api pax:section))\n","avg_line_length":33.0474137931,"max_line_length":86,"alphanum_fraction":0.7071866441} +{"size":27196,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"(in-package :mezzano.internals)\n\n(defun fetch-thread-function-arguments (thread)\n (when (not (mezzano.supervisor:thread-full-save-p thread))\n (format t \"Thread not full save?~%\")\n (return-from fetch-thread-function-arguments '(:thread-in-strange-state)))\n (let ((count (mezzano.supervisor:thread-state-rcx-value thread))\n (reg-vals (list (mezzano.supervisor:thread-state-r8-value thread)\n (mezzano.supervisor:thread-state-r9-value thread)\n (mezzano.supervisor:thread-state-r10-value thread)\n (mezzano.supervisor:thread-state-r11-value thread)\n (mezzano.supervisor:thread-state-r12-value thread)))\n (sp (mezzano.supervisor:thread-state-rsp thread))\n (stack-vals '()))\n (when (not (fixnump count))\n (format t \"Count #x~S not a fixnum?~%\" (mezzano.supervisor:thread-state-rcx thread))\n (return-from fetch-thread-function-arguments '(:thread-in-strange-state)))\n (dotimes (i (max 0 (- count 5)))\n (push (memref-t sp (1+ i)) stack-vals))\n (subseq (append reg-vals (reverse stack-vals))\n 0 count)))\n\n(defun fetch-thread-return-values (thread)\n (when (not (mezzano.supervisor:thread-full-save-p thread))\n (format t \"Thread not full save?~%\")\n (return-from fetch-thread-return-values '(:thread-in-strange-state)))\n (let ((count (mezzano.supervisor:thread-state-rcx-value thread))\n (vals (list (mezzano.supervisor:thread-state-r12-value thread)\n (mezzano.supervisor:thread-state-r11-value thread)\n (mezzano.supervisor:thread-state-r10-value thread)\n (mezzano.supervisor:thread-state-r9-value thread)\n (mezzano.supervisor:thread-state-r8-value thread))))\n (when (not (fixnump count))\n (format t \"Count #x~S not a fixnum?~%\" (mezzano.supervisor:thread-state-rcx thread))\n (return-from fetch-thread-return-values '(:thread-in-strange-state)))\n (dotimes (i (max 0 (- count 5)))\n (push (%object-ref-t thread (+ mezzano.supervisor::+thread-mv-slots+ i)) vals))\n (subseq (reverse vals) 0 count)))\n\n(defparameter *step-special-functions*\n '(mezzano.runtime::slow-cons\n mezzano.runtime::%slow-allocate-from-general-area\n mezzano.runtime::%allocate-from-pinned-area\n mezzano.runtime::%allocate-from-wired-area\n mezzano.supervisor::%call-on-wired-stack-without-interrupts\n mezzano.supervisor::call-with-mutex\n ;; Hidden to prevent infinite rehash loops, printing instructions can cause GC cycles.\n sys.int::find-hash-table-slot\n ))\n\n(defun single-step-wrapper (&rest args &closure call-me)\n (declare (dynamic-extent args))\n (unwind-protect\n (apply call-me args)\n (mezzano.supervisor::stop-current-thread)))\n\n(defun safe-single-step-thread (thread &key report-skipped-functions)\n (check-type thread mezzano.supervisor:thread)\n (assert (eql (mezzano.supervisor:thread-state thread) :stopped))\n ;; If the thread is not in the full-save state, then convert it.\n (mezzano.supervisor::convert-thread-to-full-save thread)\n (let* ((rip (mezzano.supervisor:thread-state-rip thread))\n (fn (return-address-to-function rip)))\n (cond ((member fn *step-special-functions* :key #'fdefinition)\n (when (not (eql rip (%object-ref-unsigned-byte-64 fn +function-entry-point+)))\n (cerror \"Step anyway\"\n \"Cannot single-step function in the middle of special function ~S.\"\n fn)\n (mezzano.supervisor::single-step-thread thread)\n (return-from safe-single-step-thread))\n (when report-skipped-functions\n (format t \"Stepping over special function ~S.~%\" fn))\n ;; Point RIP at single-step-wrapper and RBX (&CLOSURE) at the function to wrap.\n (setf (mezzano.supervisor:thread-state-rbx-value thread) fn\n (mezzano.supervisor:thread-state-rip thread) (%object-ref-unsigned-byte-64 #'single-step-wrapper +function-entry-point+))\n (mezzano.supervisor::resume-thread thread)\n ;; Wait for the thread to stop or die.\n (mezzano.supervisor::wait-for-thread-stop thread))\n (t\n (mezzano.supervisor::single-step-thread thread)))))\n\n(defun step-until-next-call-or-return (thread &optional (limit 1000))\n (let ((prev-fn (return-address-to-function\n (mezzano.supervisor:thread-state-rip thread)))\n (iters 0))\n (loop\n (dump-thread-state thread)\n (safe-single-step-thread thread)\n (let* ((rip (mezzano.supervisor:thread-state-rip thread))\n (fn (return-address-to-function rip)))\n (when (eql rip (%object-ref-unsigned-byte-64 fn +function-entry-point+))\n (format t \"Entered function ~S with arguments ~:S.~%\"\n (cond ((eql fn *funcallable-instance-trampoline*)\n (mezzano.supervisor:thread-state-rbx-value thread))\n (t\n (function-like-name fn)))\n (fetch-thread-function-arguments thread))\n (return))\n (when (not (eql fn prev-fn))\n (format t \"Returning from function ~S to ~S with results ~:S.~%\"\n prev-fn fn (fetch-thread-return-values thread))\n (return))\n (format t \"Current fn ~S prev fn ~S.~%\" fn prev-fn)\n (setf prev-fn fn))\n (when (> (incf iters) limit)\n (format t \"Reached step limit of ~D instructions.~%\" limit)\n (return)))))\n\n(defun dump-thread-state (thread)\n (cond ((mezzano.supervisor:thread-full-save-p thread)\n (format t \"Full-save state:~%\")\n (format t \" r15: ~8,'0X~%\" (mezzano.supervisor:thread-state-r15 thread))\n (format t \" r14: ~8,'0X~%\" (mezzano.supervisor:thread-state-r14 thread))\n (format t \" r13: ~8,'0X~%\" (mezzano.supervisor:thread-state-r13 thread))\n (format t \" r12: ~8,'0X~%\" (mezzano.supervisor:thread-state-r12 thread))\n (format t \" r11: ~8,'0X~%\" (mezzano.supervisor:thread-state-r11 thread))\n (format t \" r10: ~8,'0X~%\" (mezzano.supervisor:thread-state-r10 thread))\n (format t \" r9: ~8,'0X~%\" (mezzano.supervisor:thread-state-r9 thread))\n (format t \" r8: ~8,'0X~%\" (mezzano.supervisor:thread-state-r8 thread))\n (format t \" rdi: ~8,'0X~%\" (mezzano.supervisor:thread-state-rdi thread))\n (format t \" rsi: ~8,'0X~%\" (mezzano.supervisor:thread-state-rsi thread))\n (format t \" rbx: ~8,'0X~%\" (mezzano.supervisor:thread-state-rbx thread))\n (format t \" rdx: ~8,'0X~%\" (mezzano.supervisor:thread-state-rdx thread))\n (format t \" rcx: ~8,'0X~%\" (mezzano.supervisor:thread-state-rcx thread))\n (format t \" rax: ~8,'0X~%\" (mezzano.supervisor:thread-state-rax thread))\n (format t \" rbp: ~8,'0X~%\" (mezzano.supervisor:thread-state-rbp thread))\n (format t \" rip: ~8,'0X~%\" (mezzano.supervisor:thread-state-rip thread))\n (format t \" cs: ~8,'0X~%\" (mezzano.supervisor:thread-state-cs thread))\n (format t \" rflags: ~8,'0X~%\" (mezzano.supervisor:thread-state-rflags thread))\n (format t \" rsp: ~8,'0X~%\" (mezzano.supervisor:thread-state-rsp thread))\n (format t \" ss: ~8,'0X~%\" (mezzano.supervisor:thread-state-ss thread))\n (flet ((read-xmm (index)\n (let ((vector (make-array 16 :element-type '(unsigned-byte 8))))\n (dotimes (i 16)\n (setf (aref vector i) (mezzano.supervisor::thread-fxsave-area thread (+ 160 (* index 16) i))))\n (logior\n (ub64ref\/le vector 0)\n (ash (ub64ref\/le vector 8) 64)))))\n (dotimes (i 16)\n (format t \" xmm~D: ~32,'0X~%\" i (read-xmm i)))))\n (t\n (format t \"Partial-save state:~%\")\n (format t \" rsp: ~8,'0X~%\" (mezzano.supervisor:thread-state-rsp thread))\n (format t \" rbp: ~8,'0X~%\" (mezzano.supervisor:thread-state-rbp thread))\n (format t \" rip: ~8,'0X~%\" (sys.int::memref-unsigned-byte-64 (mezzano.supervisor:thread-state-rsp thread) 0))))\n (values))\n\n(defun backtrace-next-frame (thread stack-pointer frame-pointer return-address)\n (multiple-value-bind (fn fn-offset)\n (return-address-to-function return-address)\n (multiple-value-bind (framep interruptp pushed-values pushed-values-register\n layout-address layout-length\n multiple-values incoming-arguments\n block-or-tagbody-thunk extra-registers\n entry-offset restart)\n (gc-info-for-function-offset fn fn-offset)\n (cond (interruptp\n (when (not framep)\n (error \"Frameless interrupt frames not implemented\" framep interruptp pushed-values pushed-values-register\n layout-address layout-length\n multiple-values incoming-arguments\n block-or-tagbody-thunk extra-registers\n entry-offset restart))\n (values\n ;; Stack pointer is past the frame pointer & additional saved state.\n (memref-unsigned-byte-64 frame-pointer 4)\n (memref-unsigned-byte-64 frame-pointer 0)\n (memref-unsigned-byte-64 frame-pointer 1)))\n (framep\n (values\n ;; Stack pointer is past the frame pointer & saved return address.\n (+ frame-pointer 16)\n (memref-unsigned-byte-64 frame-pointer 0)\n (memref-unsigned-byte-64 frame-pointer 1)))\n (t\n (values\n ;; In a no-frame function the stack layout is directly\n ;; represented by the layout field. Layout size = number of\n ;; elements on the stack, including the return address.\n (+ stack-pointer (* layout-length 8))\n ;; Frame pointer is unchanged.\n frame-pointer\n ;; Return address should be the first entry on the stack.\n (memref-unsigned-byte-64 stack-pointer (1- layout-length))))))))\n\n(defun map-thread-backtrace (thread function)\n (check-type thread mezzano.supervisor:thread)\n (multiple-value-bind (stack-pointer frame-pointer return-address)\n (cond ((mezzano.supervisor:thread-full-save-p thread)\n (values (mezzano.supervisor:thread-state-rsp thread)\n (mezzano.supervisor:thread-state-rbp thread)\n (mezzano.supervisor:thread-state-rip thread)))\n (t\n (values (mezzano.supervisor:thread-state-rsp thread)\n (mezzano.supervisor:thread-state-rbp thread)\n (memref-signed-byte-64\n (mezzano.supervisor:thread-state-rsp thread)\n 0))))\n (loop\n (multiple-value-bind (fn fn-offset)\n (return-address-to-function return-address)\n (funcall function stack-pointer frame-pointer return-address fn fn-offset))\n (setf (values stack-pointer frame-pointer return-address)\n (backtrace-next-frame thread stack-pointer frame-pointer return-address))\n (when (or (zerop frame-pointer)\n (zerop return-address))\n (return)))))\n\n(defun backtrace-thread (thread)\n (map-thread-backtrace\n thread\n (lambda (stack-pointer frame-pointer return-address fn fn-offset)\n (format t \"~X ~X ~X ~S+~D~%\" stack-pointer frame-pointer return-address fn fn-offset))))\n\n(defun dump-thread-stack (thread &optional limit)\n (loop\n with sp = (logand (mezzano.supervisor:thread-state-rsp thread) -16)\n with stack-top = (+ (mezzano.supervisor::stack-base (mezzano.supervisor:thread-stack thread))\n (mezzano.supervisor::stack-size (mezzano.supervisor:thread-stack thread)))\n with n = (truncate (- stack-top sp) 8)\n for i from 0 below (if limit (min limit n) n) by 2\n do\n (format t \"~16,'0X: ~16,'0X ~16,'0X~%\"\n (+ sp (* i 8))\n (memref-unsigned-byte-64 sp i)\n (memref-unsigned-byte-64 sp (1+ i)))))\n\n(defun function-like-name (function)\n (typecase function\n (function (function-name function))\n (function-reference `(function-reference ,(function-reference-name function)))\n (t function)))\n\n(defun trace-execution (function &key full-dump run-forever (print-instructions t) trace-call-mode (trim-stepper-noise t) report-call-counts)\n \"Trace the execution of FUNCTION.\nIf FULL-DUMP is true, then the register state of the thread will be printed each instruction.\nIf RUN-FOREVER is false, then TRACE-EXECUTION will prompt to continue execution every few thousand instructions.\nIf PRINT-INSTRUCTIONS is true, then every instruction executed will be printed.\nIf TRACE-CALL-MODE is true, then calls and returns will be printed in an easy-to-parse way, otherwise they will be printed in a human-readable way.\nIf TRIM-STEPPER-NOISE is true, then instructions executed as part of the trace program will be hidden.\"\n (check-type function function)\n (let* ((next-stop-boundary 10000)\n (stopped nil)\n (terminal-io *terminal-io*)\n (standard-input *standard-input*)\n (standard-output *standard-output*)\n (error-output *error-output*)\n (trace-output *trace-output*)\n (debug-io *debug-io*)\n (query-io *query-io*)\n (thread (mezzano.supervisor:make-thread\n (lambda ()\n (let ((*terminal-io* terminal-io)\n (*standard-input* standard-input)\n (*standard-output* standard-output)\n (*error-output* error-output)\n (*trace-output* trace-output)\n (*debug-io* debug-io)\n (*query-io* query-io)\n (*the-debugger* (lambda (condition)\n (declare (ignore condition))\n (throw 'mezzano.supervisor:terminate-thread nil))))\n (loop\n (when stopped\n (return))\n (mezzano.supervisor:thread-yield))\n (funcall function)))\n :name \"Trace thread\"))\n (instructions-stepped 0)\n (prev-fn nil)\n (disassembler-context (mezzano.disassemble:make-disassembler-context function))\n (in-single-step-wrapper nil)\n (single-step-wrapper-sp nil)\n (prestart trim-stepper-noise)\n (entry-sp nil)\n (fundamental-function (mezzano.disassemble::peel-function function))\n (call-counts (make-hash-table))\n (execution-counts (make-hash-table))\n (callers (make-hash-table))\n (callees (make-hash-table)))\n (mezzano.supervisor::stop-thread thread)\n (setf stopped t)\n (unwind-protect\n (loop\n (when (and (not run-forever)\n (not (zerop instructions-stepped))\n (zerop (mod instructions-stepped next-stop-boundary)))\n (when (y-or-n-p \"Thread has run for ~D instructions. Stop?\" instructions-stepped)\n (mezzano.supervisor:terminate-thread thread)\n (mezzano.supervisor::resume-thread thread)\n (return))\n (setf next-stop-boundary (* next-stop-boundary 2)))\n (when (eql (mezzano.supervisor:thread-state thread) :dead)\n (format t \"Thread has died. ~:D instructions executed~%\" instructions-stepped)\n (return))\n (when full-dump\n (dump-thread-state thread))\n (safe-single-step-thread thread :report-skipped-functions print-instructions)\n (let ((rip (mezzano.supervisor:thread-state-rip thread)))\n (multiple-value-bind (fn offset)\n (return-address-to-function rip)\n (when (and (not entry-sp)\n prestart\n (eql fn fundamental-function))\n (setf entry-sp (mezzano.supervisor:thread-state-rsp thread))\n (setf prestart nil))\n (cond (prestart)\n ((and trim-stepper-noise\n (not in-single-step-wrapper)\n (eql fn #'single-step-wrapper))\n (setf single-step-wrapper-sp (mezzano.supervisor:thread-state-rsp thread))\n (setf in-single-step-wrapper t))\n (in-single-step-wrapper\n (when (and (eql fn #'single-step-wrapper)\n (< single-step-wrapper-sp (mezzano.supervisor:thread-state-rsp thread))\n (logtest #x8 (mezzano.supervisor:thread-state-rsp thread)))\n (setf in-single-step-wrapper nil)))\n (t\n (when (and prev-fn\n (not (eql fn prev-fn)))\n (cond ((or (eql rip (%object-ref-unsigned-byte-64 fn +function-entry-point+))\n (function-reference-p fn))\n (incf (gethash (cond ((eql fn *funcallable-instance-trampoline*)\n (mezzano.supervisor:thread-state-rbx-value thread))\n (t\n fn))\n call-counts\n 0))\n (let ((tbl (gethash fn callers)))\n (when (not tbl)\n (setf tbl (make-hash-table)\n (gethash fn callers) tbl))\n (incf (gethash prev-fn tbl 0)))\n (let ((tbl (gethash prev-fn callees)))\n (when (not tbl)\n (setf tbl (make-hash-table)\n (gethash prev-fn callees) tbl))\n (incf (gethash fn tbl 0)))\n (cond (trace-call-mode\n (write-char #\\>)\n (write-char #\\Space)\n (write instructions-stepped)\n (write-char #\\Space)\n (write (mezzano.supervisor:thread-state-rsp thread) :base 16)\n (write-char #\\Space)\n (write (function-like-name fn))\n (terpri))\n (print-instructions\n (format t \"Entered function ~S with arguments ~:A.~%\"\n (cond ((eql fn *funcallable-instance-trampoline*)\n (mezzano.supervisor:thread-state-rbx-value thread))\n (t\n (or (function-like-name fn) fn)))\n (mapcar #'print-safely-to-string\n (fetch-thread-function-arguments thread))))))\n (t\n (cond (trace-call-mode\n (write-char #\\<)\n (write-char #\\Space)\n (write instructions-stepped)\n (write-char #\\Space)\n (write (mezzano.supervisor:thread-state-rsp thread) :base 16)\n (write-char #\\Space)\n (write (function-like-name prev-fn))\n (terpri))\n (print-instructions\n (format t \"Returning from function ~S to ~S with results ~:A.~%\"\n (function-like-name prev-fn)\n (function-like-name fn)\n (mapcar #'print-safely-to-string\n (fetch-thread-return-values thread))))))))\n (when print-instructions\n (when (not (eql fn (mezzano.disassemble:disassembler-context-function disassembler-context)))\n (setf disassembler-context (mezzano.disassemble:make-disassembler-context fn)))\n (let ((inst (mezzano.disassemble:instruction-at disassembler-context offset)))\n (format t \"~8,'0X: ~S + ~D \" rip (function-like-name fn) offset)\n (when inst\n (mezzano.disassemble:print-instruction disassembler-context inst :print-annotations nil :print-labels nil))\n (terpri)))\n (incf instructions-stepped)\n (incf (gethash fn execution-counts 0))\n (setf prev-fn fn)))\n (when (and (eql entry-sp (mezzano.supervisor:thread-state-rsp thread))\n (not (eql offset 16)))\n (setf prestart t)))))\n (mezzano.supervisor:terminate-thread thread)\n (ignore-errors\n (mezzano.supervisor::resume-thread thread)))\n (when report-call-counts\n (format t \"Call counts:~%\")\n (let ((counts '()))\n (maphash (lambda (fn count)\n (push (cons fn count) counts))\n call-counts)\n (setf counts (sort counts #'< :key #'cdr))\n (loop for (fn . count) in counts do (format t \"~S: ~D~%\" fn count)))\n (format t \"Caller counts:~%\")\n (maphash (lambda (fn callers)\n (format t \"~S:~%\" fn)\n (maphash (lambda (caller count)\n (format t \" ~S: ~D~%\" caller count))\n callers))\n callers)\n (format t \"Callee counts:~%\")\n (maphash (lambda (fn callees)\n (format t \"~S:~%\" fn)\n (maphash (lambda (callee count)\n (format t \" ~S: ~D~%\" callee count))\n callees))\n callees)\n (format t \"Instruction counts:~%\")\n (let ((counts '()))\n (maphash (lambda (fn count)\n (push (cons fn count) counts))\n execution-counts)\n (setf counts (sort counts #'< :key #'cdr))\n (loop\n for (fn . count) in counts\n do (format t \"~S: ~D ~D% ~D per call~%\"\n fn count\n (* (\/ count instructions-stepped) 100.0)\n (float (\/ count (gethash fn call-counts 1)))))))))\n\n(defun profile-execution (function &key (sample-interval 1\/100))\n (check-type function function)\n (let* ((terminal-io *terminal-io*)\n (standard-input *standard-input*)\n (standard-output *standard-output*)\n (error-output *error-output*)\n (trace-output *trace-output*)\n (debug-io *debug-io*)\n (query-io *query-io*)\n (thread (mezzano.supervisor:make-thread\n (lambda ()\n (let ((*terminal-io* terminal-io)\n (*standard-input* standard-input)\n (*standard-output* standard-output)\n (*error-output* error-output)\n (*trace-output* trace-output)\n (*debug-io* debug-io)\n (*query-io* query-io)\n (*the-debugger* (lambda (condition)\n (declare (ignore condition))\n (throw 'mezzano.supervisor:terminate-thread nil))))\n (funcall function)))\n :name \"Trace thread\")))\n (unwind-protect\n (loop\n (mezzano.supervisor::stop-thread thread)\n (when (eql (mezzano.supervisor:thread-state thread) :dead)\n (return))\n (format t \"------~%\")\n (backtrace-thread thread)\n (mezzano.supervisor::resume-thread thread)\n (sleep sample-interval))\n (mezzano.supervisor:terminate-thread thread)\n (ignore-errors\n (mezzano.supervisor::resume-thread thread)))))\n\n(defvar *external-profile-buffer* (make-array (* 1024 1024)))\n(defvar *external-profile-buffer-head* 0)\n(defvar *external-profile-buffer-tail* 0)\n(defvar *external-profile-activep* nil)\n\n(defun external-profiler-sample-thread (thread)\n (let ((stack (make-array 10 :adjustable t :fill-pointer 0)))\n (mezzano.supervisor::stop-thread thread)\n (when (eql (mezzano.supervisor:thread-state thread) :dead)\n (return-from external-profiler-sample-thread nil))\n (map-thread-backtrace\n thread\n (lambda (stack-pointer frame-pointer return-address fn fn-offset)\n (declare (ignore stack-pointer frame-pointer return-address))\n (when (not (or (eql fn #'mezzano.supervisor::stop-current-thread)\n (eql fn #'mezzano.supervisor::%%partial-save-return-thunk)))\n (vector-push-extend (cons fn fn-offset) stack))))\n (mezzano.supervisor::resume-thread thread)\n stack))\n\n(defun external-profiler-sample (threads)\n (let ((thread-samples (make-array 10 :adjustable t :fill-pointer 0)))\n (loop\n for thread in threads\n for call-stack = (external-profiler-sample-thread thread)\n when call-stack\n do (vector-push-extend (mezzano.profiler::make-thread-sample\n :thread thread\n :state nil\n :wait-item nil\n :call-stack call-stack)\n thread-samples))\n thread-samples))\n\n(defun external-profiler-worker ()\n (loop\n (setf (aref *external-profile-buffer* *external-profile-buffer-head*)\n (external-profiler-sample *external-profile-activep*))\n (incf *external-profile-buffer-head*)\n (when (>= *external-profile-buffer-head* (length *external-profile-buffer*))\n (setf *external-profile-buffer-head* 0))\n (sleep 0.1)))\n\n(defun print-safely-to-string (obj)\n (handler-case\n (if (bignump obj)\n ;; Bignums may be non-canonical, which can cause issues.\n (with-output-to-string (s)\n (print-unreadable-object (obj s :identity t)\n (format s \"a bignum\")))\n (format nil \"~S\" obj))\n (error ()\n (with-output-to-string (s)\n (print-unreadable-object (obj s :identity t)\n (format s \"unprintable object\"))))))\n","avg_line_length":52.8077669903,"max_line_length":147,"alphanum_fraction":0.5366598029} +{"size":241661,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(in-package user)\n\n;;;----------------------------------------------------------------------\n;;; benchmark\n;;;----------------------------------------------------------------------\n\n(defun benchmark-run (asl-table)\n (time\n (progn\n (seed-random 467739585)\n (batch-mds-keyword-args\n asl-table\n :starting-coordss\n (make-random-coordss\n (hi-table-length asl-table)\n 2\n 1\n t\n asl-table)))))\n \n(defun benchmark-ten-dim-anneals (asl-table)\n (time\n (progn\n (seed-random 467739585)\n (loop for i below 10 collect\n\t (time \n (batch-mds-keyword-args\n\t asl-table\n\t :starting-coordss\n\t (make-random-coordss\n\t (hi-table-length asl-table)\n\t 2\n\t 1\n\t t\n\t asl-table)\n\t :dim-anneal-f #'lisp-dim-anneal-two-phase\n\t :dim-anneal-starting-dimension 5 \n\t :dim-anneal-ending-dimension 2\n\t ))))))\n\n#|\n(benchmark-run last-hi-table)\n(benchmark-run (hi-table-to-asl (read-hi-table \"mds\/data\/HI-2001-08\/TAB2.txt\")))\n\n;; on linux, allegro 4.2\n(benchmark-run (hi-table-to-asl (read-hi-table \"mds\/data\/HI-2001-08\/TAB2.txt\")))\nexpected one sera line, but got 2, using the last. the sera lines were: \n (HK\/1\/68 EN\/42\/72 PC\/1\/73 SL\/840\/74 VI\/3\/75 TE\/1\/77)\n (F6811 F44\/5 F166\/7 F76\/7 F83\/5 F230\/1)\n; cpu time (non-gc) 8,360 msec user, 40 msec system\n; cpu time (gc) 1,660 msec user, 10 msec system\n; cpu time (total) 10,020 msec user, 50 msec system\n; real time 11,108 msec\n; space allocation:\n; 5,835,166 cons cells, 0 symbols, 274,857,896 other bytes\n(((1.2423610047847409d0 4.303494760481477d0) (0.36707208493548105d0 3.576456387443255d0) (0.3822754008350069d0 3.408598900802788d0)\n (0.1362057323274309d0 3.378548881265441d0) (0.4577011575519079d0 3.358014377404104d0) (0.22334652921312043d0 3.044029799010616d0)\n (0.49184105884314466d0 3.8941300324346892d0) (0.43151536952271186d0 3.65853967527215d0) (0.39233393844468817d0 4.060124856876708d0)\n (0.4777456731245737d0 3.8526571329859816d0) ...)\n 282.1569259530322d0 MULTIPLE-END-CONDITIONS NIL)\nUSER(4): (benchmark-run (hi-table-to-asl (read-hi-table \"mds\/data\/HI-2001-08\/TAB2.txt\")))\nexpected one sera line, but got 2, using the last. the sera lines were: \n (HK\/1\/68 EN\/42\/72 PC\/1\/73 SL\/840\/74 VI\/3\/75 TE\/1\/77)\n (F6811 F44\/5 F166\/7 F76\/7 F83\/5 F230\/1)\n; cpu time (non-gc) 8,220 msec user, 60 msec system\n; cpu time (gc) 1,760 msec user, 0 msec system\n; cpu time (total) 9,980 msec user, 60 msec system\n; real time 10,862 msec\n; space allocation:\n; 5,835,166 cons cells, 0 symbols, 274,857,896 other bytes\n(((1.2423610047847409d0 4.303494760481477d0) (0.36707208493548105d0 3.576456387443255d0) (0.3822754008350069d0 3.408598900802788d0)\n (0.1362057323274309d0 3.378548881265441d0) (0.4577011575519079d0 3.358014377404104d0) (0.22334652921312043d0 3.044029799010616d0)\n (0.49184105884314466d0 3.8941300324346892d0) (0.43151536952271186d0 3.65853967527215d0) (0.39233393844468817d0 4.060124856876708d0)\n (0.4777456731245737d0 3.8526571329859816d0) ...)\n 282.1569259530322d0 MULTIPLE-END-CONDITIONS NIL)\n\n\nseq-t7\nlinux, allegro 4.2\n; cpu time (non-gc) 154,880 msec (00:02:34.880) user, 200 msec system\n; cpu time (gc) 18,080 msec user, 10 msec system\n; cpu time (total) 172,960 msec (00:02:52.960) user, 210 msec system\n; real time 179,686 msec (00:02:59.686)\n; space allocation:\n; 142,850,614 cons cells, 0 symbols, 332,939,384 other bytes\n(((-12.994468780450953d0 -2.7455439822311076d0) (-12.8767525216901d0 -2.735839341066346d0) (-11.534677306240672d0 -1.8953574543175948d0)\n (-14.465498653798733d0 -1.1910842247272388d0) (-12.2522669964619d0 -2.749025602066659d0) (-11.98937683808391d0 -2.6818755144374142d0)\n (-12.718345169908494d0 -2.713531793044326d0) (-12.76895369946809d0 -1.7020288111102d0) (-13.151842678728277d0 -2.9628311260935516d0)\n (-13.512393607207617d0 1.2090687347401174d0) ...)\n 4015.2170616267535d0 MULTIPLE-END-CONDITIONS NIL)\n\n|#\n\n\n\n\n\n\n#|\ntab2 on linux allegro 4.2\n; cpu time (non-gc) 91,540 msec (00:01:31.540) user, 550 msec system\n; cpu time (gc) 20,380 msec user, 60 msec system\n; cpu time (total) 111,920 msec (00:01:51.920) user, 610 msec system\n; real time 121,677 msec (00:02:01.677)\n; space allocation:\n; 67,108,173 cons cells, 0 symbols, 3,225,224,392 other bytes\n((((1.2095894295287153d0 4.313293555525809d0) (0.3751489414655001d0 3.5760325987909316d0) (0.3763775036754763d0 3.4123649761443575d0)\n (0.15147634324914847d0 3.3784334235736857d0) (0.4521290664965054d0 3.362430872385832d0) (0.21361199583037446d0 3.044438479768583d0)\n (0.4393071651193433d0 3.8956500724236793d0) (0.43816464900926405d0 3.658673048511127d0) (0.3998020679973127d0 4.0612699835669055d0)\n (0.4816958561905903d0 3.85168164265843d0) ...)\n 280.8307773828629d0 MULTIPLE-END-CONDITIONS NIL)\n (((1.195960495291391d0 4.279193803182586d0) (0.20227530356570475d0 3.7187417089183765d0) (0.35398965034421537d0 3.5242227473921415d0)\n (-0.10527242199811486d0 3.5787595628980355d0) (0.233087880403151d0 3.4896408794204814d0) (-0.012991517583530569d0 3.2160229926474213d0)\n (0.5426820668403706d0 4.007051639652156d0) (0.2529976227862559d0 3.7942956244818866d0) (0.31320869459520984d0 4.185847138365895d0)\n (0.3941108696932068d0 3.956467591505622d0) ...)\n 312.92898727316174d0 MULTIPLE-END-CONDITIONS NIL)\n (((-2.8978145435136944d0 2.282939519621005d0) (-2.6441766062694247d0 1.1621890155810461d0) (-2.42437771005547d0 1.2371765112878654d0)\n (-2.5871894127039017d0 0.8285321816719909d0) (-2.4081790777029215d0 1.1578469926324988d0) (-2.2083125264738643d0 0.8461388856009396d0)\n (-2.82406571019143d0 1.5628075196522377d0) (-2.7058961336256893d0 1.2291684699696026d0) (-3.0627976925910825d0 1.4079491892989917d0)\n (-2.820949248711177d0 1.4155237816526056d0) ...)\n 315.56619391131653d0 MULTIPLE-END-CONDITIONS NIL)\n (((-1.394351767721225d0 4.364060113801006d0) (-0.498731496238685d0 3.798498766246043d0) (-0.5406060923815029d0 3.57178174551649d0)\n (-0.1517101692876347d0 3.7449658481645627d0) (-0.5063445930188136d0 3.531346769580229d0) (-0.1297837860301833d0 3.3431673681237655d0)\n (-0.8418702939108609d0 4.048382725026153d0) (-0.5889879192972807d0 3.8562297236898138d0) (-0.7254204850769342d0 4.22615844164712d0)\n (-0.7547261256058777d0 3.9736039995737658d0) ...)\n 305.5369525307456d0 MULTIPLE-END-CONDITIONS NIL)\n (((-3.4924480270382583d0 -0.7059533199489433d0) (-2.4338373597491643d0 -1.0136613586335206d0) (-2.266566473264589d0 -0.9228697131330738d0)\n (-2.1432660579853207d0 -1.1925041133256413d0) (-2.264108615388775d0 -0.8237351886622036d0) (-1.8624250824351527d0 -0.9378693942223107d0)\n (-2.8113259620205406d0 -0.9631189642048686d0) (-2.538658803890391d0 -0.9888861488496479d0) (-2.891302742017924d0 -1.1733173898783058d0)\n (-2.7403030769746843d0 -0.9850375997525573d0) ...)\n 327.8522513201378d0 MULTIPLE-END-CONDITIONS NIL)\n (((3.5177718503455537d0 -2.555757705944848d0) (3.3161443484558335d0 -1.5214021481022366d0) (3.108096700460212d0 -1.4567931211864174d0)\n (3.369356211134793d0 -1.1675493253032858d0) (3.0630082519201247d0 -1.4516216404661235d0) (2.9990151625838153d0 -1.0297678403412005d0)\n (3.432639239383829d0 -1.8928803324393868d0) (3.342298469317468d0 -1.6278076503127523d0) (3.6490941917661672d0 -1.8739348810006726d0)\n (3.4044467003570738d0 -1.8194183042297116d0) ...)\n 325.17247487418143d0 MULTIPLE-END-CONDITIONS NIL)\n (((2.5532857147457526d0 4.322464356251138d0) (1.6472816028847688d0 3.782450138602584d0) (1.6832417593907651d0 3.5535039696103796d0)\n (1.2969381661308148d0 3.743621796649992d0) (1.6503814811240103d0 3.509425446125255d0) (1.263428620169419d0 3.3389531353448247d0)\n (2.0012600365421d0 4.015002490352431d0) (1.7402131753612784d0 3.836433563996352d0) (1.897177877713146d0 4.196477611031402d0)\n (1.9135964125555815d0 3.9442233514700162d0) ...)\n 305.5885845477081d0 MULTIPLE-END-CONDITIONS NIL)\n (((2.495521862779555d0 -3.2742859919380725d0) (2.5674155283066256d0 -2.2122765079856404d0) (2.35955645182663d0 -2.1120249492988425d0)\n (2.728149094160367d0 -1.8973957166042363d0) (2.346126334712421d0 -2.0657341281085806d0) (2.413547999785988d0 -1.6492205490919691d0)\n (2.563687303938153d0 -2.6322551839052157d0) (2.562462986498406d0 -2.319485293462806d0) (2.781375718402027d0 -2.645570104079531d0)\n (2.5618389671825654d0 -2.522816300646059d0) ...)\n 305.54035238788646d0 MULTIPLE-END-CONDITIONS NIL)\n (((-3.1079030235445426d0 -1.8214105734847752d0) (-2.0475907284647605d0 -1.8255162704658017d0) (-1.9675162792657648d0 -1.6032870144357936d0)\n (-1.7180030321218378d0 -1.960014160124174d0) (-1.9225395887590302d0 -1.5788679185274987d0) (-1.5007710927604945d0 -1.612016547047094d0)\n (-2.4662085161053504d0 -1.856849516241579d0) (-2.1542041791026136d0 -1.8312785253205803d0) (-2.4625068823835967d0 -2.075798182673831d0)\n (-2.35803800010263d0 -1.842956560147257d0) ...)\n 305.5928226596819d0 MULTIPLE-END-CONDITIONS NIL)\n (((-3.599757802403096d0 -0.7463678468628824d0) (-2.5761197291474143d0 -1.0148860160952011d0) (-2.438634128967435d0 -0.8318069219210765d0)\n (-2.299668692189572d0 -1.2339257115130005d0) (-2.386401892404481d0 -0.8216764780135937d0) (-1.9916168244780967d0 -0.9698384906113207d0)\n (-2.9897085694267096d0 -0.9353159386948299d0) (-2.679632406613155d0 -0.9889960880645894d0) (-3.0431897563636623d0 -1.1447760250692285d0)\n (-2.8781968028497134d0 -0.9499482235771772d0) ...)\n 305.5772365667531d0 MULTIPLE-END-CONDITIONS NIL))\n\n\n\n\n;; lispworks windows\n\nCL-USER 3 > (benchmark-ten-dim-anneals last-hi-table)\nTiming the evaluation of (PROGN (SEED-RANDOM 467739585) (LOOP FOR I BELOW 10 COLLECT (TIME (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2))))\n; Loading fasl file C:\\PROGRAM FILES\\XANALYS\\LISPWORKS\\lib\\4-2-0-0\\modules\\util\\callcoun.fsl\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 297.360\nsystem time = 0.000\nElapsed time = 0:04:58\nAllocation = 3301193664 bytes standard \/ 1887351004 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 312.140\nsystem time = 0.000\nElapsed time = 0:05:12\nAllocation = 3128455496 bytes standard \/ 1788830076 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 380.530\nsystem time = 0.000\nElapsed time = 0:06:20\nAllocation = 3873734224 bytes standard \/ 2214066041 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 363.830\nsystem time = 0.000\nElapsed time = 0:06:04\nAllocation = 3705116664 bytes standard \/ 2117687594 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 263.310\nsystem time = 0.000\nElapsed time = 0:04:23\nAllocation = 2700755960 bytes standard \/ 1544705723 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 356.030\nsystem time = 0.000\nElapsed time = 0:05:56\nAllocation = 3722946112 bytes standard \/ 2127832113 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 200.310\nsystem time = 0.000\nElapsed time = 0:03:21\nAllocation = 2069738552 bytes standard \/ 1185484069 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 287.210\nsystem time = 0.000\nElapsed time = 0:04:47\nAllocation = 3002023224 bytes standard \/ 1716355861 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 402.110\nsystem time = 0.000\nElapsed time = 0:06:42\nAllocation = 4227930304 bytes standard \/ 2416161539 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 328.450\nsystem time = 0.000\nElapsed time = 0:05:29\nAllocation = 3385496904 bytes standard \/ 1935132166 bytes fixlen\n0 Page faults\n\nuser time = 3191.330\nsystem time = 0.000\nElapsed time = 0:53:12\nAllocation = 33117449792 bytes standard \/ 18933718749 bytes fixlen\n0 Page faults\n((((-13.148298982018241 -1.625277195085723) (-12.738977432333959 -2.456157705772215) (-11.412465812395515 -2.1036515051801383) (-14.052666160504733 -2.2812651551745096) (-11.780275966257856 -2.4129097901934875) (-11.759174224027005 -2.9946410613659684) (-12.488427871046484 -2.428410441520733) (-12.590668315034193 -2.222296624397813) (-12.997866023157517 -1.8974080215227216) (-13.986189909710022 -1.3033081741019787) (-12.500065203936119 -2.0944210941691948) (-12.497011002268694 -2.0373647389691705) (-13.474237475285632 -0.16860346381604313) (-11.929948891854696 -1.6338057709155362) (-10.832148270781435 -0.665116336476244) (-10.58390498429077 -1.4591893638024604) (-10.583910961112105 -1.4591858749539395) (-10.47679684767934 0.917133499481381) (-10.14049781100944 -1.3450145166445022) (-10.692151424441366 -0.8282290086908962) (-10.789447156081636 -0.6517313428544965) (-8.590079749804142 -0.9792926500407687) (-10.701425255632582 -0.47387588121545643) (-10.915148301173224 -0.9929906277733413) (-10.430587704537675 -1.2291317462804465) (-8.21389016616606 0.013926796010157285) (-10.004580661452009 -0.8802575171768032) (-9.166195874301254 -1.7068683810664318) (-8.673455447987346 0.6067227234040923) (-11.17146372958931 -1.0602000977578008) (-8.697348388217822 1.3752409207483736) (-7.337401578738776 -1.1269248238355731) (-5.053439834271983 -3.2748854230761846) (-6.618296436026493 -1.4497006461436066) (-5.322730740572188 -3.489405322525482) (-6.463114918147303 -1.8041193425337771) (-6.3726405188578354 -1.7066049515374078) (-6.509926188863387 -1.7561726717465378) (-6.636338993006706 -1.9024673204781353) (-7.374841316682582 -2.2800182561445506) (-6.662409741484182 -1.941463504573718) (-7.262211483506966 -1.1131262623872813) (-7.074680533778714 -1.8900765340996133) (-5.811288970920211 -4.532314576105671) (-4.484896543338848 -5.389312438257606) (-4.565578782992586 -7.2442310003883525) (-3.114170901340612 -7.4048917127283875) (-3.7310756733523434 -5.547214482420245) (-3.816047598897331 -5.654480807581593) (-2.808207552760326 -5.467899082766504) (-3.1173220268798785 -6.110401492129442) (-3.416594771056455 -6.299665873624043) (-4.698510576063016 -7.276907246265181) (-3.033020065904215 -5.622605188198808) (-0.3999709008369953 -6.617634518640613) (-2.6261612313268907 -6.449256633082285) (-2.7519836564006295 -6.095154835079153) (-2.2919270359922153 -7.723144681600072) (-2.8578622613187723 -6.102220725248846) (-2.8727478324934643 -3.851181236290114) (-3.363116074686313 -5.24131171963339) (-0.5540173188368585 -4.868619784502308) (-1.7054578124035633 -5.560402054051299) (-2.8029906798752173 -3.7064370138373395) (-1.8026656492360429 -4.6734848438341645) (-1.3380378999510973 -4.708600938590126) (-1.7451822773425754 -4.908733811057431) (0.031356754817095676 -7.433217691507314) (0.8709646014487712 -2.2345299986042413) (2.7607398886823047 -4.789210822012065) (1.7866909400865063 -4.948227255727369) (-1.807696925298055 -1.3716244337936425) (0.3233413088598604 -2.993812591023664) (-2.5822624643985375 -2.937365451448632) (0.8008358542139054 -4.113348628659701) (0.8303206877956018 -2.2543138909447675) (-0.39605159633842274 -4.207686887153554) (-2.544492645562199 -1.0601108490484643) (0.5563597986161197 -2.8859894134948068) (-2.4041889693991223 -1.6458336144371069) (-1.3886108944885591 -3.2139548719657247) (0.02832887872644699 -1.1822498577557299) (2.344939123549466 1.3133598963408155) (3.810421471208013 -4.545817841010584) (1.1307470423501116 -2.427366120576449) (1.2527998909148086 -2.635289522561254) (0.8726540512979252 -2.3362156408971795) (3.387446171632148 -3.7287234727697602) (0.7446693913698268 -2.4547723824337147) (1.5038233177220444 -1.7146266202444782) (2.777310116335257 -2.768189019195078) (3.212175855405353 -4.105122861801341) (2.3865808821077206 -1.8422975530042254) (1.3131572669839187 -2.1011369857383357) (2.675172297748496 -1.7383005243214034) (0.27208760820583255 -0.5378848846488705) (1.234710887538774 -2.401155294328427) (2.0733893586737087 -6.443018064164114) (2.383068414185873 -3.977498087410441) (1.6132924824430723 -2.0640404343513423) (1.4036159179501384 -2.890944171441845) (-0.43118387831069804 -1.954838762264232) (5.231710086502805 -2.504443137329921) (0.672299323415171 -2.3326176082122982) (0.38218357421012317 1.0998860190863937) (-1.823721213508648 0.6350266482750793) (0.11949307504153803 -1.3823211668656559) (0.1765488244063205 -2.682592626768158) (-1.0569651818859782 0.6393010977766859) (-1.7384581575522222 1.7679712063245285) (1.6624143637052164 -2.692697719530734) (-1.3889927106529019 2.0217628528868934) (1.8332152745570929 1.940949377187295) (0.6656618829169418 2.231209094648587) (-0.32581746472211714 1.5198857788869868) (-2.0370357694052625 1.845659258564888) (-0.741968058501684 1.82002056941706) (-0.6745922951490329 1.6324517854692848) (-0.8962037307535115 1.5584641748841088) (-1.5577981752423515 1.8388916947583882) (-1.0246274927713264 0.8057174865089948) (0.6125243231316483 1.4302917725962876) (-0.9529308440305634 0.8483290611257971) (-1.1052541319337565 0.9510564026684578) (-0.9753681824190757 0.8355066801513421) (-0.6859542098130066 1.3779180930986885) (-0.9680694740665694 0.49240165101327743) (7.227815135111248 -1.354801027302992) (-1.1267497578173093 1.215567518786287) (-1.6497653645763584 2.4858619945614073) (-1.583524712172552 2.7506149806278137) (8.722339648056668 0.8319179607515467) (1.0155685101089271 1.916863623287342) (-0.5428637335809291 2.2467191098924224) (-1.1669578375716934 1.012728217646154) (-0.5427025006917425 2.246770849942158) (-1.8032741776357473 0.6830530502446766) (-0.5832166256091432 1.8188193595869588) (-1.0636479786888036 0.9738053470146524) (-1.6008739047416236 0.920388049605205) (-1.2396085830380934 1.8279539077534084) (-0.16933394979667502 0.5850236557136462) (5.482890122267117 -1.1887851124642255) (-0.3075059468258071 0.14941408945472331) (-0.7998043885133833 1.2712904733387995) (0.3287135745684538 1.731782836945563) (-1.4171659913734633 1.5151016237809525) (-1.689303713592589 1.5143094414846308) (-1.2183815493425387 1.9510864399136996) (-0.7998111079330681 1.27128721930142) (-1.1137060025031411 0.34733813683790943) (-0.5832188879680537 1.818817194310236) (-1.406611824298012 2.236213726018725) (0.4214273673239604 2.5038972843224343) (-1.4603566940876034 1.7492171936993646) (-1.120363972850891 1.574937613804224) (-1.2674004174973708 2.81942809235366) (-1.8057567354134754 0.6792888302914483) (2.6319190368775227 -1.3681892344356734) (-0.22662635371714474 1.4037647430860911) (-1.7988085312455393 2.1614131593318957) (-1.5339520983662405 1.770194306843356) (-1.6497615200247824 2.485862978437728) (9.854323354799691 -0.12847517337382675) (-1.5881110102740756 1.038523389280707) (-1.6930883994045778 1.861117214284691) (7.050775352852849 1.1681693405842157) (0.34647843100972536 0.4487176477343733) (-1.0131318624456624 0.7354838809440324) (2.1191895036506034 2.1105496896114415) (1.6518656842550692 1.990472497801711) (-0.6889143378202098 0.3001374425687276) (0.2097862383697546 0.6232551105243089) (9.367571798106535 0.9752210937308856) (0.6627380812086984 2.6453104474267652) (9.391430682646915 2.3950919851165935) (8.436056615522476 1.201331853364534) (7.979333828396409 1.068525220135722) (7.891533967087824 3.072135182365167) (8.465201808678987 1.8642268657070649) (6.977098554303928 2.767415447253773) (1.6696001715680588 1.739612388150311) (6.856007824256889 1.6319605133081485) (6.901647858315995 2.228072397773505) (2.181549216570604 2.7772237622070297) (7.219033003763849 2.7017635875787374) (7.511808178746787 -0.3479934967284133) (5.530827988707603 5.5143895037063455) (6.053066147856365 1.393518265205172) (5.4815718635124515 -0.2821798974521383) (7.270222353506536 -0.8788077619506861) (7.385714854309751 -0.23063867285028455) (7.602229780960319 -1.1378196261648386) (2.776816751574272 3.159196572171607) (6.50243004376676 0.6708957803081864) (7.572311036218164 2.939610018457239) (7.692996855940009 1.2814877901801167) (9.229650430914232 2.303458876153054) (5.424679264971378 5.678212653391073) (6.718692722099742 2.2923230112502835) (4.70726379519405 3.744653086050428) (7.1476741651331235 1.32668912928705) (7.713019689623769 2.828008933360122) (8.468631572926908 0.2396600336130598) (1.9485638392573472 2.5172049240127747) (9.304424496464161 1.0213943033050739) (9.575645078605913 1.2391771850243598) (7.454154323296121 0.22157251364874217) (8.800714342349801 2.587825185909385) (8.221390878713866 0.37935526170223355) (5.175723119828472 4.517521052735152) (6.9941772255784835 2.7955245377428235) (7.727996719197487 0.9476278567442726) (8.654295896933041 2.1177786649333745) (9.804018907740671 0.9673940541261504) (10.50078509075342 -0.432109575597672) (10.017932893722804 0.5741262399094458) (6.046047287867826 5.892325829937226) (7.1204404778573 2.9584768141430224) (6.483614500078926 2.5635837324592528) (6.871815309941593 3.5296982347118657) (7.3522498075511855 3.217868871361241) (9.983998923093303 2.5490759582243916) (9.566796434084052 1.4969618125291388) (7.060311740143805 2.3594151803250525) (7.323438383625171 3.0957165020757134) (7.601008981697606 3.1500882409947595) (5.441386844680688 5.1912466483467785) (6.622283403341406 6.962619307116554) (6.823019923378503 6.692834245103023) (5.132267745645004 4.905018676817472) (7.007148100123088 4.407560330701364) (5.533292146552259 6.234066487867945) (8.808524710447834 6.145332783476965) (7.027642168127645 2.5347571923305745) (7.6777637722130505 3.0783127815867335) (6.604836592788757 3.1400590792796215) (6.1774223618936555 5.451910595340256) (4.980325082324778 3.3791514812529035) (5.778516166557078 7.004566175503876) (4.483096280658843 3.766692707136325) (8.51159848648488 3.1390892417799887) (5.790690994693866 6.241753330184723) (8.716423540562277 5.47547323509528) (4.652182658574196 3.0495783244046666) (5.736205461400346 6.725361947288685) (6.388776626725417 3.3932424474622813) (7.21861026789948 1.5485759195093092) (6.638630285723466 2.6872120769436365) (3.8051442893230116 3.5687672994958817) (3.0547357567833973 3.3272636619904543) (4.308439493589028 4.628170766013824) (4.180621992608746 4.194886252620625) (8.107900656669962 5.82059142475872) (4.7290423656866 4.215305609168306) (3.3150522253680155 4.121144831400127) (10.311666010782444 2.562054514756513) (4.308293643982294 3.784017185698661) (8.104399211083521 2.346682333446456) (4.658666887885972 6.240289774849368) (4.124208401344149 5.632589866067311) (0.8729272281820496 8.040861920482122) (3.6797653047778693 3.5694523758861547) (2.751840751473116 3.940656990365774) (2.9303698822673905 6.289417771836759) (3.7308539547850477 3.039041324458219) (2.9649557426399413 3.4146204544124674) (1.1615743251901165 8.76707744660509) (4.2203053777191135 3.5165324281612476) (3.9552994654813225 3.5892831513026455) (0.7162174039592432 8.549885476199297) (4.3057072188197045 3.8995661790384744) (1.5510598281249455 7.314674547506928) (1.202364285452093 9.239125511696097) (1.58148389763575 7.187924863250952) (-0.47373180373690593 7.618690960174388) (0.7700292032807983 7.84363553208394) (-0.7564243642908692 6.7269089810892835) (1.3124953461842483 7.495944034634479) (0.20087231140284267 6.988701439323649) (-0.6324893183672036 6.02881352827668) (1.0261721128030104 7.4410497985689155) (-13.213333958435634 -3.424103502943929) (-16.218028434663236 -0.42594768902086444) (-10.345867047607396 -2.04810937423761) (-10.798092744892303 0.9476122730210471) (-9.076841422479093 -0.4492106104228826) (-9.124272316245516 -2.316378107019872) (-8.825857555358498 1.6941415589218645) (-5.977731774756319 -0.3605303839542712) (-5.499569049649652 -2.9444388743480414) (-7.425311667906841 -3.148171623667443) (-3.5864423389980224 -6.528260510916907) (-4.457602655899559 -2.898247349332086) (-4.342857281856269 -3.8378784799481624) (-5.7808070201099255 -7.108107531827175) (-5.479869795646065 -6.251522065642269) (-4.273602943520909 -6.9998622867461275) (-3.6840615563618826 -7.8237567978124245) (-3.748084830203014 -6.478218334792775) (-4.068479437308452 -7.577106525471651) (-4.377108456828167 -7.171864043817215) (-4.25596254300137 -8.15572804019566) (-3.401860765065293 -7.910399602791288) (-4.501774512060929 -7.6654892613398244) (-3.980804532102092 -6.979009467539965) (-4.179128744603155 -7.533103402624501) (-2.678607556891198 -5.236952781732902) (-1.4298392919549388 -3.357019284934177) (-3.111805812700115 -5.711166923850586) (-1.9782172326053193 -4.579259828429581) (-2.636696714726507 -5.091009101085642) (-2.312961536463341 -3.736547510262435) (-1.2335390259805064 -3.566675640727481) (-1.3395569387252773 -3.151302430101779) (-1.6027114618016605 -5.121137312719592) (1.6898888502315212 -3.7949821458167667) (1.1633835816619904 -3.5630051876923337) (0.002539907138461245 -1.3708087780541955) (0.5720740193189034 -2.831593144341203) (1.3571207515704409 0.6701590827656202) (2.0271947411425613 -1.6574754996088625) (0.9585887473705197 -1.3116564986708958) (5.367683754533128 -2.1612286319757574) (-0.025790354646503 0.9641708646992905) (1.6439527257393671 1.3867491998173491) (8.191093605132727 -1.8309388723132423) (6.543844132250206 1.141326774356856) (6.165666900033147 0.1286580697710379) (9.792191594878194 4.618498321995437) (7.21683441589272 4.745741055610259) (7.3898968039312996 2.2003241868962866) (7.441602026771806 1.6217152525090788) (9.173611087056265 4.243801636922957) (6.114240727693542 6.282404151274977) (7.45128437543782 3.745655247597088) (8.536410720276972 4.434603661009538) (7.190523671839911 4.1238377720337285) (6.699655115980236 5.562827435523779) (3.7893744935868026 4.859740973418256) (8.941075861815312 3.8185674021070883) (8.253014024017043 4.535998543197247) (9.08309955926352 5.10919436453533) (7.6639125478142835 4.054054457675539) (6.64139971948525 4.77438006957513) (3.6506079766438244 4.279251810396021) (3.4419332471015767 5.152639277851235) (4.520436398721126 4.809135260172851) (5.630609488041644 7.225905974843413) (4.5542822624692185 4.961465172381999) (3.777308034870941 4.64325952473712) (1.8113440137040464 7.203930889849898) (4.647771728863456 5.282819040134853) (-0.19326854975935617 8.48166597244946) (1.4494896355554618 8.068765298877329) (0.49393893043916104 7.371403712934535) (0.40211616378931847 8.372947345296085) (3.890170631219039 5.226982152858196) (0.9581159714764962 7.818036906564697) (1.650468802641927 7.612495835583414) (0.7440852160906017 7.745219088003315) (0.9588164997755289 7.8721491019718925) (1.0819974059341593 7.000666717695424) ((COL-AND-ROW-ADJUSTS (-1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 7.0 9.0 7.0 9.0 8.0 7.0 8.0 8.0 7.5849624 8.0 7.0 8.0 8.0 9.0 10.0 8.499846 7.0 8.403864 9.0 9.0 9.0 9.0 9.0 9.0 9.0 7.0 7.0 7.5849624 8.0 7.0 8.499846 9.0 10.0 8.0 10.0 8.666757 8.0 10.0 9.0 10.0 11.0 10.0 9.0 8.0 7.0 7.16088 7.0 9.584963 7.0 7.5576553 8.807355 9.584963 8.584963 8.0 10.0 8.146187 8.807355 7.0 9.0 8.79993 9.0 8.428779 7.5849624 8.0 7.0 8.0 9.0 8.0 8.0 8.792465 7.0 9.584963 8.314696 9.584963 8.584963 9.0 7.9576826 8.0 7.5849624 8.0 7.5849624 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0)))) 3765.468935426991 MULTIPLE-END-CONDITIONS NIL) (((-8.098915303634412 -2.599716455482179) (-11.787301367958875 -0.8014576958644279) (-7.613148895813905 -1.5850408983733197) (-11.716904318150476 -2.822906975406286) (-7.449099198944891 -1.876020094927125) (-7.0298482074841555 -2.0335351836107782) (-7.682840245721311 -2.581510453253115) (-8.348130333174453 -2.6456282322007953) (-6.892894487412588 -2.92727657358843) (-7.681327341534455 -3.3373596205501332) (-9.218151622752162 -2.0562641352508333) (-9.251226723686589 -2.0542463665270123) (-11.643630159548794 -1.860242863068865) (-11.00798173639883 -0.30004363267598405) (-11.040479888801613 1.8333114636790186) (-11.029981513402513 3.005217845690384) (-11.030026798007702 3.004692656519354) (-10.791857956853516 0.8189143155193721) (-10.23382108195067 2.7857776873441913) (-11.355367293102729 2.733329599346758) (-11.264604750157988 2.1621768828718144) (-10.322050261353393 3.4482318872537143) (-11.898553455301986 2.673970856756296) (-11.558113438495784 2.611217796297706) (-11.927723164673367 3.5563215018606846) (-11.49067557860388 3.277890310107371) (-10.519207819186875 2.862040994780914) (-11.262318047704527 3.8496820955348316) (-11.114132290502702 2.556468417643665) (-11.809635801656917 2.9392652759279043) (-11.592341174007586 2.6376776378077076) (-8.954684721820676 4.504785526507169) (-5.160226254087635 4.872447592182182) (-5.724268419884315 2.2200701440524564) (-5.369528780804761 4.9389337476779644) (-5.305798686731396 2.2780708816040667) (-5.760816702005845 3.111823908708446) (-5.464640592442689 2.453332009698119) (-5.64565130542625 2.3263409703162234) (-6.513586058610367 2.697006812893446) (-5.740755718611901 2.62700131573164) (-5.957799189674646 1.4065077643446324) (-5.989439171540143 2.3512717853553924) (-5.4655211007643825 6.130241801530227) (-4.218152621296511 5.95433912237728) (-4.190181108536228 8.306527801484977) (-2.609832206475185 7.915317738192989) (-3.3240248355460853 6.344051875424319) (-3.4534699445764923 6.436042696651438) (-2.6083837780324695 6.290529342446024) (-2.771061729324539 6.8617084165793605) (-3.0520240946685284 7.040895791661583) (-4.305774547299599 8.222817571885027) (-3.1345890349957735 6.293588795032657) (-2.8162968400317125 5.266342457446859) (-2.821372246510749 6.735788179415089) (-2.8647674262834983 6.4824122220294065) (-1.9553201373548934 7.956173123002355) (-2.6916374579700393 6.690889577675657) (-2.7621681486639194 4.646261999822672) (-2.971890263496827 6.293176810734818) (-2.4157077696559557 4.059903368438758) (-2.166219150141824 5.660053303951645) (-2.603319516375665 4.342033539131061) (-1.6476528049728443 5.257016580706575) (-1.0743144707197954 5.676150606967252) (-1.607374708274031 5.597803926426616) (0.24136875732630447 7.620883863772494) (0.79567605148904 2.358356049748679) (2.59125019919274 5.8000477828026) (0.718124800407142 5.984668193616476) (-2.6816915632369183 2.3531896062744044) (0.14146386538456382 2.8554639348031152) (0.23808624992359317 6.298350978955538) (0.550051646265094 4.394157163485673) (0.4610772778186169 2.3825782193475855) (-0.46985791092543583 4.837157772677436) (-3.00440864495637 2.2607023602382044) (0.16829464217828163 2.8574560574951926) (-2.63826227197948 2.920287640121747) (-0.4182246507141375 4.650909747458916) (1.9218724728405834 3.131156268245372) (4.793691067383464 1.8796431752024272) (4.271646729786034 6.30571200883498) (0.5376545984129762 1.9923300523136886) (0.3564915083705142 1.8062495586977352) (0.5260486871615777 2.1024940874662765) (-0.6382809384471326 -0.05001710517752694) (0.5185898319962687 2.206857374357288) (0.7669448931578373 1.5905262463867416) (0.19125019821176548 0.48014475034894866) (-0.6529842276648622 -0.12048988307121618) (1.0264145498879789 0.7710504628147326) (0.9023960343739502 1.793567657363155) (0.7816506511654745 0.38831965191163054) (2.561102997309223 2.5450246379725554) (0.5409569557514837 2.05498273893784) (-2.7808909625125082 0.36378960397848314) (-1.3678845957123582 1.3291108906879743) (0.7148465563087918 1.4571358027222987) (0.20291559911649248 1.7344093434473793) (1.2542063757207882 2.991062566099033) (-0.462421039183056 -1.6443004529092735) (0.5786701943467447 2.2792144477884784) (4.020609164855788 3.6934558353993947) (3.4779295466355937 5.2666401545330634) (1.4358399011938316 1.7529079382374186) (0.4957591586121595 2.6527622971074467) (3.767575220530878 4.251401478708785) (4.8601127384549745 4.970801598450351) (0.15394074129808702 1.5368555736051994) (5.0428537469851715 4.752743747073344) (4.7604633160431895 2.635312647490651) (5.270008633911484 2.9496239135761484) (4.609540878430251 3.6054316213960953) (4.812538724187074 5.432921606334922) (4.899107100825756 4.023879835316066) (4.662766362005182 4.065591089801793) (4.6390904941430815 4.155220801953996) (4.8569343603549715 4.902866742830472) (3.9057327903591186 4.178817651230196) (4.54506608301685 2.770393615646851) (4.014697577334532 4.017662204464258) (4.037587206320639 4.334723467443814) (3.993295583137026 4.046849228447105) (4.4093886573942545 4.059584914823441) (3.641755854209914 4.1197033533017775) (8.586102440789308 0.676124264736773) (4.302941135742738 4.333359184590593) (5.43382485508617 5.143859521500749) (5.653565363819182 5.186045540595069) (6.751304230539186 -4.286323993604958) (5.05961865149502 2.5080422659015307) (5.273304532754889 4.014077362253937) (4.062915769867458 4.498994204638958) (5.273667562781865 4.013605053072124) (3.717682248240536 5.125985606758901) (4.904753477442842 3.8588195040811413) (4.100274386459155 4.187528809585325) (4.096442416127203 4.6869371831077515) (4.8775215864209995 4.552121182796689) (3.712328693392554 3.271638338819888) (0.7725698759756131 -2.0100982686085316) (3.2935352757688894 3.397082726024525) (4.344471727705044 4.071324559869644) (4.83108587795801 3.0676671790417473) (4.590389193837511 4.6838266950459015) (4.498932765730369 5.050676129152493) (4.9883910288758475 4.562875405824023) (4.3444940764258195 4.0713184138850345) (3.4562125523002902 4.2841459656438285) (4.9045994057126325 3.858945302953785) (5.296508714868648 4.7105004221039675) (5.5974899634403 3.113753078395547) (4.756704845713718 4.827358594130562) (4.664115022517089 4.352175839806249) (5.926078946592272 4.48663312575489) (3.7417302316099073 5.115368769658243) (1.5178894862870675 0.4493286885075838) (4.329544543376129 3.8920928516738376) (5.2182366400530755 5.0940580869093255) (4.749293468523072 4.936089174686042) (5.433768972985578 5.144521191939006) (6.020873093270066 -6.805589533516411) (4.2318934830398085 4.718162093066221) (4.937311483977623 4.9445144277360065) (4.68145586212705 -4.084995618932847) (3.2649749769288112 3.510927939610871) (3.877341108644917 4.165572788510528) (5.371260885032953 1.8581141177235394) (5.184943267978714 2.655369807801905) (3.4033428803600687 3.821980606824341) (3.7115456866933916 3.0676321195741587) (6.6453748521361495 -5.706875047272362) (5.6614962464765135 2.996742202790894) (6.482738246464343 -5.561527621429035) (5.550209681882099 -5.508065071314569) (6.419595573248921 -3.9630242843283323) (6.467015342867604 -4.048042178903661) (6.411013074512947 -4.850588166546696) (5.4973937312587475 -3.5132299945726966) (4.864476994225578 1.8473475750773616) (4.212698140712776 -5.017558589508098) (4.590101582745252 -4.008986719567574) (6.008655450274569 1.7472092554731007) (6.07018405016502 -2.874044789193519) (3.1283454866439127 -5.003987036228495) (2.586307105258128 -4.178787335806378) (4.688636600130848 -2.6817946700009783) (3.3729625968528842 -2.109468252725169) (1.1806196442001742 -4.42097108694296) (2.4573725292260513 -4.808656820512074) (1.2568870745473348 -4.783367862955089) (6.52552270744279 1.339505014800969) (4.431424155752381 -3.027433479487175) (5.15368661816822 -4.635112531599956) (5.653075002622943 -4.550094631072713) (6.092942097424765 -5.474812285490171) (2.3648790577828813 -4.182732785206364) (5.27760847876896 -3.1122718818081276) (2.1680396846727557 -4.084529790524818) (5.285708067989103 -4.431600985832482) (5.919415313129607 -4.066922683062127) (6.012925941622745 -6.1132410402268285) (5.678844898493772 1.9568850356540801) (5.510517370377172 -6.145741008105814) (6.617786204838553 -5.8676924656596565) (6.462252747568781 -5.628692894345849) (6.4971479789657005 -4.824987611388355) (5.326511439308176 -5.773699815378399) (2.206808212056464 -3.7513722269321006) (5.436150182172818 -3.831850086684485) (4.6230351115832615 -5.097789708114185) (5.737611568837602 -5.155709359579055) (6.560680602176312 -6.183665810349656) (6.031539777941337 -7.370831471604455) (5.544670305669551 -6.663672778389274) (2.6211279384371022 -3.299033353704329) (5.887766459755379 -4.06783953984702) (5.239588682080725 -4.788958150222438) (5.076683755219533 -3.7285188240884186) (5.928673871357363 -3.4482289134452717) (6.74913992016934 -6.027607784962147) (6.162604049726204 -6.019583825501261) (4.8698125116493545 -5.072528438591278) (6.256603719611543 -2.8544144754705356) (6.780058634847966 -2.866287753358387) (2.8172477884277365 -2.9470339870073516) (2.2381932888842195 -4.361980844330226) (2.993652827779389 -4.650067473782178) (2.8600851822941276 -4.494756206624897) (4.6114217531358515 -3.2532919436703494) (2.388969850316974 -3.5745961416349274) (3.588251409718222 -5.754366003663319) (5.197668241578702 -4.272603653314741) (5.723407344338322 -4.1259558667921326) (4.549189149036447 -3.8989388210917792) (3.270372045603876 -3.131494268849778) (2.940322134931566 -2.881057334303932) (2.7544937732827464 -4.555265752153002) (2.359050014733572 -2.4524397832949627) (5.797473326466231 -5.048755817120396) (2.796532628735873 -4.195764228514459) (5.68022812295365 -4.902160185901418) (3.0570981117067118 -5.559555832005336) (2.032240015799548 -3.1990667798641295) (4.3617579887360245 -4.738616593165344) (4.393177602715587 -5.856176757864113) (4.508448183864149 -4.7211222981828085) (1.8396183577644813 -3.6326179802521534) (1.3505118891451744 -4.238552062041434) (2.0214747756378517 -2.861940541846884) (1.9343772159382178 -3.3601652723285644) (4.4085459700973155 -5.483043778856055) (2.5103143200384674 -2.8106217245087706) (1.3177011352469608 -3.7383664902550255) (7.120456306600396 -5.9516404240802405) (2.1933583329684994 -3.347203138781394) (5.49323673876382 -5.26516089429554) (2.127072754243307 -3.9378494810941977) (1.914025676038303 -3.9112336342261695) (-1.987588010979531 -5.0538072035779615) (1.7739285883732943 -3.5206627442872516) (0.8621720278471675 -3.4676843271345414) (1.2108005707538212 -0.8278893105359934) (1.8712193129573842 -3.8658009237664555) (1.146873280497067 -4.029091679714984) (-2.058864561347391 -5.126642450605883) (2.1968440946383283 -3.102728236803855) (1.979225298706027 -3.44632551287567) (-2.541424452481036 -5.072948031608161) (2.404162244592299 -3.429312433291442) (-1.6465731665528167 -3.900325306048742) (-2.3538818290340293 -5.859253299687411) (-1.82066484194915 -3.6717465845382704) (-2.846711947665885 -2.634299389423221) (-2.5120432364630356 -3.9221135791457042) (-3.0074030714140925 -2.147692427259792) (-3.0191125098780516 -4.449611626705335) (-3.406605336080999 -3.3039777686052174) (-4.02388379595105 -2.201169888436482) (-2.974099852785513 -4.196855720788958) (-9.79235832537883 -1.8262717989529822) (-12.666633227073453 -4.43190039726743) (-10.013465751738156 1.9887047854382682) (-9.417904530156024 0.12777206268965716) (-9.453753655790779 2.3867852422921643) (-9.163051136305473 3.036639351880044) (-9.62531234845679 1.9466856078665233) (-9.220282570243048 5.377461837507204) (-5.660586793664871 4.129699604031273) (-7.105468939187639 2.4256362631957105) (-2.890159749634408 7.386246574227444) (-3.9442096301371863 3.4338677358050935) (-4.964379021071043 5.193057661177746) (-5.918743980369534 7.885058073715231) (-5.634147424546781 6.588463758504551) (-4.0125324427863145 7.832821891794557) (-3.0495415718703103 8.782177897581196) (-3.267100244548371 7.460441988915863) (-3.835444792214912 8.585529589737206) (-4.1861974900635675 7.85477355706792) (-3.9514747778077783 8.920658587756611) (-5.587536794751986 6.459960715292494) (-4.292656227852447 8.38754347088542) (-3.830897194457097 7.648294292131727) (-3.7746538132130794 8.468922260825147) (-2.4593035634561367 5.758999248356772) (-0.5434923335491296 4.462003261965097) (-3.064380101647687 6.926741736942226) (-1.9438989526565513 4.8692721441100275) (-2.45161111174001 5.686887063969264) (-1.2856679447681125 4.390335468524119) (-0.6458676689689848 4.124051624125547) (-0.2114069240705741 4.438063426639991) (-1.4931651168678846 5.359927516560109) (-0.5690124297379643 1.0946246720572734) (-0.44456155467729186 2.8062251327642747) (1.5156832648888934 3.5974231734092488) (0.36702601686611425 2.941520495311551) (3.803031295079193 1.8589231909062565) (1.2125513990400738 1.08428078272377) (1.8031741570732165 2.0149967005029774) (7.834225364485914 -0.337024717090762) (4.115092157529785 3.26963661218334) (4.081163794417447 1.5057765437155448) (5.748294783736138 -0.4577975417157457) (5.467400010661657 -2.6783937214646167) (4.429266872865432 -2.0301626972309577) (7.8351693006836705 -2.741505098801828) (4.026815752399682 -3.3951573512094364) (5.877272050249105 -3.9865790675038366) (6.171185417731609 -3.380941237001152) (7.011212253544819 -2.514292615786188) (3.7781618886189614 -0.9340749310254157) (5.139054477528198 -3.185057426011164) (6.3795316309834 -2.342504786073376) (4.879763707913686 -3.8399773212497696) (4.530311943294494 -1.5496722342970715) (1.2407580796625008 -2.7026611969783922) (6.8816861049819895 -4.035775637148471) (5.380026503265607 -5.929951062521878) (6.615199275970963 -3.778788978792471) (5.493671629924465 -4.016343297898334) (4.165916923485621 -3.2065460437186024) (1.920500643044508 -3.7906839227487352) (1.094894064481302 -2.0048345288703957) (2.097754961122878 -2.4680524897641187) (7.535655934368971 -3.1208699794057577) (2.717909156299158 -1.6784808557354576) (1.7374673646578287 -2.0102316003066374) (-1.7560841405090726 -4.698554084054996) (1.962906453897521 -3.2984896258524325) (-3.5479709862626274 -4.95480590937034) (-2.1489473716290455 -4.607598421269644) (-2.9708120761173644 -3.7477165878688843) (-3.0780973217666436 -4.914832525828852) (1.5666305295481884 -1.7711975465060519) (-2.640060403283973 -4.0026963174414005) (-3.197958368526317 -4.792248203031037) (-2.829927361635024 -4.1053130975787395) (-2.434337410759127 -4.093225689891231) (-3.3856866565862256 -4.023826024506868) ((COL-AND-ROW-ADJUSTS (-1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 7.0 9.0 7.0 9.0 8.0 7.0 8.0 8.0 7.5849624 8.0 7.0 8.0 8.0 9.0 10.0 8.499846 7.0 8.403864 9.0 9.0 9.0 9.0 9.0 9.0 9.0 7.0 7.0 7.5849624 8.0 7.0 8.499846 9.0 10.0 8.0 10.0 8.666757 8.0 10.0 9.0 10.0 11.0 10.0 9.0 8.0 7.0 7.16088 7.0 9.584963 7.0 7.5576553 8.807355 9.584963 8.584963 8.0 10.0 8.146187 8.807355 7.0 9.0 8.79993 9.0 8.428779 7.5849624 8.0 7.0 8.0 9.0 8.0 8.0 8.792465 7.0 9.584963 8.314696 9.584963 8.584963 9.0 7.9576826 8.0 7.5849624 8.0 7.5849624 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0)))) 4509.656306535469 MULTIPLE-END-CONDITIONS NIL) (((-9.493193244051643 3.6638848600223244) (-10.684732146526587 3.2091968502781762) (-9.607565237251222 2.557617903510028) (-11.456998611785586 4.472820077720565) (-9.438103816360249 2.4725801669623486) (-9.050098832906297 3.015563332315225) (-9.462693286292733 3.4756421337051386) (-10.140258011120203 3.5668219712805525) (-8.745260983435003 3.828807049992785) (-8.912630355111427 4.398147770718572) (-10.946267058198243 3.0136259058726185) (-11.046155988141198 3.004745765846594) (-13.416917997719585 3.0175329229262515) (-10.927671994861775 2.2640139610458783) (-12.578635729802805 0.08392662306614836) (-12.651634793042174 -0.3466920885680586) (-12.65407491801038 -0.3474839042857966) (-12.474357106961628 0.27541427882430725) (-11.532628760669873 -0.43932448972728333) (-12.885667485904833 -0.5026801037755773) (-12.729570139115385 -0.04531531583593081) (-11.572461054787391 -1.9210589357222985) (-14.003506056593931 -0.8530812605435567) (-12.96545670761699 -0.21937784494023066) (-13.90145558857325 -0.7779690042834306) (-13.675103392510467 -0.9545233735973864) (-11.975377409165908 -0.6717076053153732) (-8.642549802123913 0.13117985491050915) (-13.289179198806293 -1.3760075598720534) (-13.379467363719055 -0.3891951238330922) (-13.65927016537576 -1.643171960991253) (-10.791456509011388 -3.2883026309695387) (-7.297775174729283 -3.6371548507358926) (-8.189628697948438 -1.434282277855218) (-7.5423201404520785 -3.7950994658907846) (-7.669057589034293 -1.3918994520437777) (-8.211974167939923 -1.796724326754503) (-7.804603696375365 -1.5458558501785937) (-7.95255628906564 -1.3163571831055598) (-8.656613861426608 -1.4514977519678767) (-8.008428491836874 -1.6458192371811724) (-8.296295468018178 -0.6168838010912882) (-8.269534179991712 -1.3687896784707936) (-7.563908460416857 -4.750717840250881) (-6.119450722242351 -4.605070228448666) (-5.803231778395857 -6.745287696975466) (-5.174076694579482 -6.470957178525741) (-5.336385536915834 -5.108081969956441) (-5.487333090119716 -5.166065868916395) (-4.6003905544155055 -4.878411706058238) (-4.482611761722765 -5.53198250315221) (-4.7736955077617695 -5.764816449509218) (-5.91056374986607 -6.758724915927412) (-5.203524768713974 -5.084450088016993) (-2.018523515048972 -5.336900061116673) (-5.1079236943884725 -5.412987507121361) (-4.939182633422658 -5.202018429082679) (-5.433383683662844 -5.60675097494477) (-4.68589674632791 -5.3524452673303236) (-4.971406578957933 -3.2415250455504308) (-5.563994620769792 -4.589759700782822) (-4.274102294785376 -2.682212474659308) (-4.341979359850451 -4.038404593540064) (-4.730449510789288 -2.9249716533374275) (-3.691380097370939 -3.740588257195177) (-3.1780520291761065 -3.901111337766971) (-3.771035705624173 -3.7692551268554775) (-4.872447570275573 -1.3556359293891986) (-0.5165203708721541 -2.499174374100432) (-3.2745175722044593 0.7347858643140934) (-1.594261105945049 -4.221280033895666) (-4.584987077531911 -0.7681117254608434) (-1.767579335294622 -1.9623643323927353) (-2.4027903702718745 -4.5291182384271105) (-1.0975318664280798 -2.7509103586146235) (-0.8968874934305164 -1.7888196454880712) (-3.214115004057803 -2.4017321437709716) (-4.506674158910414 -0.4814147176928501) (-1.2790308163503057 -2.2864489497874314) (-4.338632194480235 -1.0522950119672945) (-2.4246039377539437 -3.4848904959886378) (-0.13150557819807798 -1.3289045678430036) (3.2945495268090568 -1.6067454414338043) (-2.534087987753632 2.008732750236121) (-0.7954363074085397 -1.9001906373055253) (-0.9979054571208177 -1.6329254300318536) (-0.7889042118986129 -2.433746046072331) (-2.702215422866813 1.0078265762235517) (-0.9618514251298057 -2.3963940874804357) (-0.4736033928128159 -0.8635104977135538) (0.6196120245035198 -3.1332663847839344) (0.7813213499435567 -4.07838191272619) (-3.7998860829710392 -0.41565265456392236) (-0.5426618721715152 -3.183903867155459) (-3.7283984717325787 0.16057159972784893) (0.17774922522937978 -0.5702013562833644) (-0.6443125545661224 -2.4890403035760604) (0.04165785960301965 -5.478686750878691) (-0.7577150523475924 0.43599148286414346) (-0.19318147259881277 -2.786555277871342) (-1.0794572108447231 -1.769686354649498) (-1.0262844677535292 -3.0026330831324577) (-0.14460855647277288 2.596778909976651) (-0.8932694773919772 -2.317065931169618) (1.2835999222912735 -0.6241598330174645) (1.4284467100171963 0.49165173657958827) (-0.09734637267219229 -2.7130815431149142) (-1.3615004280500969 -2.341931358450887) (1.5506307624865034 -4.303660740007902) (2.1582654570110136 -5.499413985312669) (-0.9917427585158964 -0.5949881970496262) (2.6554064447708354 -5.123932497490471) (3.503346412553213 -2.199461048021115) (3.661575734934686 -2.3185656721063257) (2.439175991073531 -4.014144605463276) (2.4290075544504948 -5.5943492909213335) (2.6560536420779504 -4.437990270788614) (2.4898846833215074 -4.335831846417417) (2.355348520530164 -4.52144462489053) (2.361435506073718 -5.28973565126749) (1.7381993545758518 -4.301715310425171) (2.7568745082036257 -2.8626685240221508) (1.7529167572706574 -4.27192893500981) (1.8374686813330183 -4.433692931959011) (1.7447788909871944 -4.282507934614795) (2.359850349276503 -4.115461216499908) (1.47673334689534 -4.21273222337619) (1.3064091301926775 3.593773635671621) (2.005886289073144 -4.5985056707933) (2.9548916937807226 -5.573765252433294) (3.1165497568503877 -5.7026790318963245) (3.769798838978989 5.263760291907828) (2.617414982016984 -4.387923480541057) (2.880596764516561 -4.70903115351213) (1.5542038958117437 -4.751381885877942) (2.880386001983355 -4.709253226764279) (1.2400592060555877 -5.166366465597279) (2.7115257443639944 -4.2866000586303175) (1.8471130184795947 -4.420813510030284) (1.57276096727971 -5.026984486204809) (2.626016915320225 -4.793836164846148) (1.7161552174663086 -3.470469203973802) (1.132564690258828 2.7004179360905507) (1.2693665292584948 -3.4663260316477436) (2.0683634540519225 -4.384079350112057) (2.8865081119852283 -3.514310949874296) (2.0921405275826745 -5.053634512545974) (2.0983385455994807 -5.250790592603736) (2.671198632756753 -4.911285750851444) (2.0682994628084916 -4.384130633156281) (1.2610714019104325 -4.235281098208783) (2.711531555332417 -4.28661634621977) (2.8191521299065587 -5.243205707470722) (3.6735493454527846 -3.582638259387703) (2.4429630581851436 -5.043607060582871) (2.347049550536651 -4.696259410375418) (3.5160186572500343 -5.180184891661806) (1.2933023433217214 -5.077054093945998) (0.606428773585614 -0.2140989092301646) (2.234971601636126 -4.032503971280365) (2.496703996274455 -5.708953482575866) (2.3601380070983087 -5.188787501277366) (2.955624972263784 -5.572941247471118) (3.1423429154116884 6.24151862628764) (1.7927476053075353 -4.917341434444171) (2.3721393898578595 -5.400609668415678) (3.9805250407872403 3.486404306819466) (2.245950615290835 -1.1704671096978936) (1.653023665924985 -4.28663737584593) (3.7992224058451844 -1.1923778943839736) (3.799997152704923 -2.041194740288576) (1.318477218607706 -3.820801539311161) (1.8588859376393911 -3.1107939350178806) (4.288354729140579 5.4463852605067995) (4.167172730307336 -2.4461236776976696) (8.495743164795861 1.3703731901127336) (4.5376440611353495 4.496136798820454) (1.9599042211725948 4.715016706224485) (6.155793373234857 2.8551379435934434) (5.331699819753547 3.248887428137126) (5.519523489333314 2.6799172186984133) (3.3371513655682072 -1.3839647848750365) (4.203016646111755 3.649969625096898) (4.981565143723045 3.226804268536636) (4.432926837354757 -1.0316866935769426) (5.625603537422973 2.374379981801029) (2.3515256944156557 4.365650999990322) (7.42081070893459 4.6340010658615105) (3.952348518982446 2.1656182402403354) (1.9424641957231294 2.490182555464166) (1.7273747380390179 4.442268485485998) (2.4900878362722985 4.37644520281509) (1.5268932069852956 4.524482665408288) (4.913672401276296 -0.5995754609415797) (3.082819223596514 3.3480706023902447) (6.064373089228287 3.028665949236592) (4.349131853397336 3.6410966096014157) (5.521341198336341 4.324100340456216) (7.242719797872995 4.437526696778441) (5.026493535130684 3.1372261930925776) (5.457761863200695 5.4465244190623965) (4.135249309708091 3.6719713902631606) (5.79515371877418 3.1515052000654937) (3.2703653217891815 4.422152377509624) (4.094777494654218 -1.0877913753173312) (4.347819534581619 5.293384558373992) (4.565297784725353 5.6408418395830235) (3.3113769682721568 4.307696363607604) (5.921926950511904 3.726829496525052) (3.3970085737686415 4.89870438953017) (6.349595695859397 5.033654636259556) (5.613312121492871 2.875523394393003) (4.052864073217354 4.727507768499781) (5.346063008358401 4.3427424302809685) (4.393184646564393 5.987770476393614) (2.911514649334138 6.835632320681915) (4.164555863431824 6.434990749502681) (8.3101577810515 4.125187170996842) (5.872852901621047 2.432647409037176) (5.248660601587033 3.6047084814875325) (6.408063969342712 3.124797495839689) (6.111246834543613 2.4959488621898562) (8.941155216960988 1.0222800698585108) (4.535110006758805 4.481341143454482) (5.186234760276484 3.6964386005583814) (5.895665955979397 2.4588874082283594) (6.092533673509941 2.131259184747403) (7.42204921200167 4.918855675237583) (9.718487616288652 3.3923599343436597) (9.283259734939358 3.5868381367691056) (5.446541685212009 5.448261707778582) (7.364882634447556 3.0964747302034374) (8.413928099339195 4.7049178746047815) (5.249710575603366 5.011362662702561) (5.392310013109693 3.407920416904496) (6.197819406996165 2.6740614897746786) (6.018963706702068 3.6208802176609605) (8.158245934256806 3.9686266621376123) (5.606649895230976 5.196550358638384) (7.878645427392672 5.083551383661194) (5.577866944881668 5.694731182895924) (7.900075364735245 2.2408760216656893) (7.858437084882713 5.040257034486232) (7.710977500765127 2.5229054501251142) (5.3366222365799825 5.585779720219654) (9.271411058713035 4.489814615280141) (6.133990711285231 3.9901851166957676) (9.531821208950575 3.359108357088666) (5.618512460058952 4.041889875705139) (5.17247361788013 6.06502856077442) (7.500606309627325 6.904920100007356) (6.35056328066499 5.998999408978913) (6.4149532222548045 5.9075077752972085) (6.072742269633856 3.3135765370733083) (6.542096683375151 5.279795550675354) (5.507229869410474 6.458009120607331) (8.641224761979306 0.41468109248836266) (6.074954642110237 5.95724655219982) (5.662752955500405 2.6955882526895496) (6.914658141262383 6.182515859178861) (5.2333419213229275 6.0265237520060015) (8.469317544611794 10.436076464442475) (5.802863937915701 6.341327730811316) (7.796859165122436 7.480306267153146) (7.761791751674816 7.978075670489361) (5.206369567767323 6.284465239459024) (8.204367041297662 7.345476143502365) (8.846781044265684 10.509139103849073) (5.77600676221106 5.961475048621183) (5.879960116451282 6.1676186312341) (8.150025641139141 10.91309660476799) (5.710540470515246 5.917414386054416) (8.280103535275098 9.763094391191014) (9.395999857119175 10.812739818642072) (7.242946799695866 9.860358597178749) (6.837023633766055 11.831511453452062) (7.361118688999054 10.743686143911246) (10.012254538982386 10.203321122305436) (7.364126465857243 10.013970789879023) (6.219524771251298 10.471463788118248) (5.0451689087220375 10.830171126044021) (7.135659180358807 10.254749273953442) (-11.064774872077988 3.7033645197271134) (-13.691794147318108 5.718111724960219) (-11.212070785332084 0.14703331109873205) (-11.697726354011937 1.5137587221657411) (-11.565866637591398 -0.9127302134382703) (-10.793082061986608 -1.0336163732432786) (-12.741754693714057 -2.304842821634137) (-12.199278110909658 -4.378428751361172) (-7.749747063078162 -3.1237287158276446) (-9.17736435872537 -1.7243113344667909) (-4.415263236334994 -5.974857382544658) (-6.256651332538753 -2.953886614346021) (-7.138241045946372 -5.673917107159251) (-8.034972961147158 -6.532538867601249) (-7.740295135751352 -5.517482893607263) (-5.955880677407865 -6.571639395580339) (-4.6570048599825915 -7.294441803583341) (-4.2462351754756105 -5.909822713630518) (-5.41826012440097 -7.26105710518742) (-6.322727136835279 -6.405214777102215) (-6.018772343772133 -7.4756445337434405) (-7.523631353279341 -5.07153571755959) (-6.421505632420889 -6.917756902031285) (-6.063284011927885 -6.148723531674357) (-5.318374797859883 -7.079177335201696) (-4.983542160116059 -4.137306548809496) (-2.360300304478219 -4.5187199381706495) (-4.75918014218516 -4.959413841160528) (-4.098125286352478 -3.7598881747929114) (-4.924272976477712 -3.7914382734915453) (-3.247773312009186 -3.034558176426503) (-2.6776548075399575 -3.143056890216794) (-2.4006879690486187 -3.5629019864132645) (-3.5866063605846223 -3.8649814045400968) (-2.0305818722478985 -0.7831716233250099) (-1.848292935729745 -1.2071393372456745) (-1.1372564871582993 -0.7620649425045715) (-1.3599145022885197 -1.7712819184814408) (2.1788187576103293 -2.096424562482976) (0.6799693414816097 -2.6911487599041597) (0.0059534286412607695 -1.9112250851659884) (0.9882482589802309 1.3054781184857678) (2.3043917197530455 -3.30119904958906) (3.281872362056216 -1.1238415585618011) (3.0624488417212103 1.0342855716596424) (3.604303282572719 3.42296000879186) (2.725401032591465 2.7111284130747695) (6.9172032181070175 0.5665154136890892) (7.450323830432438 3.665295535311832) (5.173959278016192 2.620153472248496) (4.084206998310933 2.850323736477242) (6.367935576910081 1.0501652732346087) (9.38557718471957 4.358523469335218) (6.671705110649767 2.3674014335466054) (6.0263037707752005 1.4452317551267106) (6.824898091301524 3.1993589645348273) (8.668661034952995 4.004951203048526) (6.495697387690541 7.0845280319757595) (6.895545186157292 1.526840526901516) (8.233244704139437 2.5911142207462974) (7.084823823254481 1.60554179540021) (7.2728571827357475 2.692080644710592) (7.591115206342541 3.9660153146558184) (5.984071295524628 6.550247844421192) (6.7629439042515065 7.5047977327423645) (6.43301787657114 6.425121597181391) (5.834938635975089 6.478305558880353) (8.10399693884538 6.134965965489434) (5.92463679398134 7.124279977790323) (7.893800561056114 9.797013227119944) (6.587025021784432 6.43630934750093) (8.444613110725781 11.694384951873246) (7.8525098712419155 10.288173929537404) (7.114238486856104 10.931897350750992) (8.002000048800348 11.19194542199916) (5.153165106501665 7.32963192947147) (7.6451844480674565 10.459837074545327) (7.5210450565916265 9.754008617208347) (7.282445757056744 10.634411182987302) (7.338909390449834 10.555732400113037) (6.825489363298597 10.062971159520613) ((COL-AND-ROW-ADJUSTS (-1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 7.0 9.0 7.0 9.0 8.0 7.0 8.0 8.0 7.5849624 8.0 7.0 8.0 8.0 9.0 10.0 8.499846 7.0 8.403864 9.0 9.0 9.0 9.0 9.0 9.0 9.0 7.0 7.0 7.5849624 8.0 7.0 8.499846 9.0 10.0 8.0 10.0 8.666757 8.0 10.0 9.0 10.0 11.0 10.0 9.0 8.0 7.0 7.16088 7.0 9.584963 7.0 7.5576553 8.807355 9.584963 8.584963 8.0 10.0 8.146187 8.807355 7.0 9.0 8.79993 9.0 8.428779 7.5849624 8.0 7.0 8.0 9.0 8.0 8.0 8.792465 7.0 9.584963 8.314696 9.584963 8.584963 9.0 7.9576826 8.0 7.5849624 8.0 7.5849624 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0)))) 4020.391943517329 MULTIPLE-END-CONDITIONS NIL) (((-8.639253413489111 -0.03224444240491724) (-10.844445124277211 -2.7319207713907088) (-7.903019221535585 -1.29013951776381) (-10.952489426830553 -0.8301479370050174) (-7.898871681219767 -1.0319830492688318) (-7.584075553904569 -0.6193227829114524) (-8.422908729215738 -0.4059579844587423) (-9.131840424372124 -0.7480332732616775) (-7.751161550002073 0.2917398676281534) (-12.250902316443296 -2.8737071606045688) (-10.108848146616937 -2.138394313934802) (-10.151622603848736 -2.183972953644274) (-11.581183313898196 -2.8801926083957308) (-10.142663093448295 -3.5943819968545045) (-9.40445271534467 -4.923414471583514) (-9.17951689300421 -5.210371830593088) (-9.180120354075038 -5.209825105124651) (-9.630300946331731 -4.623453302752186) (-8.402541912700029 -5.18765253915346) (-9.402014032921706 -5.330730446724258) (-9.414616131594611 -4.967682458416465) (-8.139777105807093 -6.208062588727348) (-10.123092792091764 -6.130688736829933) (-9.561776345697233 -5.263964369293872) (-6.964196671299922 -2.1428056671588043) (-9.56070495359376 -5.966140243742995) (-8.542313113380613 -5.153585044774302) (-7.2397544764249036 -5.927941239361852) (-9.294317573525616 -6.472882873284941) (-9.840708514628485 -5.635523987849869) (-9.772471488204781 -6.716579108781962) (-6.631518423344205 -7.136242692687722) (-3.185618343289435 -6.25848080321478) (-4.612698023316889 -3.9497162108154367) (-3.3237817160084573 -6.393687632318622) (-4.218538762216742 -3.739216027923853) (-4.528483073903941 -4.664276621130778) (-4.3048220618038044 -4.014791431368564) (-4.45412420083614 -3.974185509977206) (-5.0945100403162895 -4.359282641826152) (-4.48279946440119 -4.322431524885049) (-5.147528718603106 -3.268735497833914) (-4.81359024948817 -4.096824933697199) (-2.860065202928352 -7.323750994467916) (-1.7866139759979198 -6.713832227295099) (-0.9114960025383896 -8.998757649134637) (0.5332647931876673 -8.198520081976378) (-0.801236438960502 -6.759263188540088) (-0.8757188071425831 -6.901270849239129) (-0.14435810237630992 -6.519250029727938) (-0.09458182581675817 -7.124093684911282) (-0.2942463885544805 -7.391650480027765) (-1.0564131760011992 -8.914201113079962) (-0.6111869122218603 -6.718207193535402) (-0.9246901186245814 -5.504967798402785) (-0.0986355205098488 -7.0051544322184025) (-0.26410517404568506 -6.758966421634885) (1.2063740550866615 -8.018283251586626) (-0.03805995619412604 -6.951700227256915) (-0.7613519972106156 -5.040583586783395) (-0.6177910561669441 -6.748731555932165) (-0.6506527862763923 -4.370600629628182) (0.17679182990533476 -5.786071000776134) (-0.7135370078731266 -4.729966196679343) (0.42583215262503665 -5.168547485817535) (1.1756278323915732 -5.432492506217898) (0.6156897375087168 -5.503870094842156) (3.0907517143500436 -6.857565302792106) (1.6025821956630215 -1.6817202792412622) (4.650330190539469 -4.282535656290263) (2.6734754167869403 -4.331059294921358) (-1.7715932254588787 -2.9389356596757117) (1.186076319502181 -2.560005331048871) (2.3967147540969256 -5.602992540834882) (2.2791174248958037 -3.7048066039074086) (1.392775905296978 -1.6788752384753913) (1.3138250318994409 -4.418351956532974) (-2.0808305697739806 -2.9524654175423337) (1.212705249092326 -2.433720337772407) (-1.468940433725168 -3.5250585625105453) (1.3790089589003152 -4.313567142643585) (2.988815291224542 -2.0820471599688126) (5.178449829369722 0.5261179875800839) (5.9652498785540375 -3.4343569238747222) (1.2413415846621993 -1.5065470096922686) (1.003597735284146 -1.460424209559388) (1.267733197515128 -1.5866560046817415) (-0.8024837807992464 -0.14136742426043916) (1.3350355605078954 -1.7349314924232455) (1.4502738196145923 -0.796747581857591) (0.10882511487747162 -0.2916877435989742) (-0.8763468719212728 -0.18135623448004617) (0.8266517822210048 -0.18610029334177494) (1.3645254500462447 -1.0417061894051285) (0.48615795852574056 0.027732175111935372) (0.9869413483736937 -0.284298537586742) (1.1868452456813423 -1.4429854849584238) (-2.6252222359631308 -1.5855342418544622) (-0.4067629124708196 -0.7254443931129924) (1.0613585244860875 -0.8741384886209992) (0.8350280118410849 -1.5020363911690622) (2.5627880915776164 -2.9572542578512007) (-0.6223404337708529 1.1286247235647382) (1.3965793923228509 -1.7520263990772138) (4.787818510329744 -1.186671449670511) (5.291210452216976 -3.1670306647723754) (2.1099934355713574 -1.0041324459429417) (1.5258668162068456 -2.2762831439390365) (5.0960284275842165 -2.2479938213369794) (6.371297180047296 -2.657724713889836) (0.696827182638702 -1.121199020821174) (6.484371826908324 -2.239893128974951) (5.562195628537328 0.3929238334447917) (5.705993272135609 0.1763028798555067) (5.533232281423492 -0.9319188157699873) (6.587867159084068 -2.8273056030311214) (6.052109398264757 -1.6164868720937906) (5.85639736398408 -1.6174092571323155) (5.872049271828074 -1.7500192198331017) (6.378682734251267 -2.439943095047788) (5.234870694984436 -2.130889546378844) (5.0680694150729835 -0.379131886696864) (5.234976278612765 -2.091349275290392) (5.406135801173636 -2.1408976306450564) (5.238472246334299 -2.08873364238467) (5.6173786396499334 -1.7283404083755278) (4.929153952075646 -2.185258293016857) (6.464389821993157 2.068815622097765) (5.6550254585513775 -2.159790371192955) (6.989959908561664 -2.484282386662392) (7.208132014491858 -2.453080092515221) (0.9595632775094424 6.172536471295798) (5.065777782643664 0.5296412850751478) (6.377516049017279 -1.2897203499085745) (5.428104715040687 -2.1509042177769877) (6.37753046004392 -1.2897525302355781) (5.45554055801201 -2.908199931050171) (5.988611861950483 -1.3920487415892924) (5.40628572623783 -2.105350027099704) (5.522636579746895 -2.8409433418601777) (6.256609349724662 -2.0051994033494753) (4.67659688310741 -1.3735468823178132) (0.2601633246510387 2.0586967623532915) (4.344379095842481 -1.6851381354035189) (5.5626494980644505 -1.8750449806525047) (5.416514795526973 -0.38116450400628005) (5.998899163256383 -2.538968721568709) (6.134389848312821 -2.6496156704598675) (6.352570805719279 -2.1200178950671247) (5.562653021836091 -1.8750602220855668) (4.863777119981091 -2.347056439231563) (5.98860980367938 -1.3920682460095828) (6.697267051695951 -2.0886304479820157) (6.044530195652385 0.09744254786010054) (6.283650972398714 -2.2194948846357185) (5.986126558510698 -1.9324073806803965) (7.178537827701817 -1.6006728134397685) (5.454607385575371 -2.884981701312825) (1.5549143585505094 0.2566004842846551) (5.208103594661238 -0.6323286753735352) (6.766552088553658 -2.5736729252204826) (6.296745099193901 -2.525347779942682) (6.9899683486125666 -2.484262300531722) (-0.5593864898140192 6.733952381778084) (5.656185904722209 -2.6752179003481245) (6.466966274984973 -2.4438436921697435) (1.3221033086753995 4.974021159604181) (4.443999792559743 -1.6968351727986137) (5.165697060914905 -2.163400199324758) (5.333869426885945 0.922618097570335) (5.835516983707654 0.27900926757775274) (4.620516372304081 -1.9515860529890223) (4.536666531258004 -1.0370932686056729) (0.8174805640968723 7.048296624820369) (6.16706827892014 0.24584759910801093) (3.7567186636489067 8.799562439424104) (1.050112573235437 6.104702080693003) (-0.01606590005633266 4.468692319683821) (3.606054861112241 6.274843824919881) (1.9652439819323813 6.6113440406598505) (3.760025623843908 5.608889962411512) (4.89282650055658 0.7120107280559199) (2.258840526493584 5.828120615139686) (2.05097595410876 5.66034369702932) (5.727103973422014 1.487576995353325) (4.16269998676782 5.326004623047945) (-0.27206489064112205 4.418297828711694) (2.194119791444782 7.805134966485063) (2.10631598499198 3.8449926965251318) (1.1880111786074126 3.000781915964321) (-0.8528960190652554 3.925718663740957) (-0.2846849610763862 4.494557163021802) (-1.058435530644835 3.9184476143901783) (5.89437242908363 2.1486710800058977) (1.5407410938012756 4.418128996087112) (3.1069089507840895 6.69406678836654) (1.4753649108414306 5.483958477237644) (1.9133509511272104 7.434789919085014) (2.737765778569728 8.083279926435257) (2.9097922732177963 5.404302215722569) (1.0836821238676528 6.766914295079861) (1.4046915784375995 5.097524293726754) (3.2594115630642673 6.174030235250016) (0.36055899962339005 5.4162768655835585) (5.605103586309292 1.131932113335564) (0.981238387318749 7.164551307035495) (0.9457252224018421 7.324411103549886) (0.542884511473052 4.862723890762228) (2.6112463116108127 7.302578675434959) (0.2360312154986126 5.361966965148504) (1.9945498753938982 7.4393014913784254) (3.247219101855082 5.790115821555505) (0.7993441274414771 5.450888039398645) (1.824903156690846 6.744108413096323) (0.6257943338682576 7.454352206659346) (-0.9266895837369649 7.488304351264233) (0.16626346957671922 7.544656524010394) (4.132288752501699 8.493546111788438) (3.579312594075505 5.83662746668026) (1.8042994752075092 6.173379706550441) (3.8289587717960925 6.186405112030218) (4.791409023527206 5.437778012765629) (3.5189738033957045 9.351265560056742) (1.5928078338941554 7.739748551479975) (2.736845978603412 7.700578154232947) (4.504510177994245 5.226743862775454) (5.078992960450421 5.139015398933731) (2.020765940956466 7.2525550223360025) (3.388012461970554 9.205939648572093) (2.647777232100351 8.527186976052683) (0.7477422063686154 6.598192892535088) (4.257083581897519 6.954316032081697) (2.51365815769608 8.251309879802209) (1.565845727260322 8.061694848570319) (2.5415131664346515 5.735095669913467) (3.586472451309077 6.193222348422241) (2.8437364675648245 6.196185087424774) (3.4817823236438867 7.748074014690102) (1.5366058046763 5.248736186594868) (1.494787285772491 7.364773365031539) (1.0091287334140184 5.26649591967699) (3.6820103598292357 7.9194273639437744) (1.751586206026616 7.526634051199508) (3.7305270617381976 7.950253533020142) (1.437273336481568 8.279179493444158) (3.835371189308085 8.892389233410574) (2.458680941080886 7.245605532877739) (3.0917098299055747 9.051619898975298) (2.2700843444076284 6.94487915569525) (0.7767656906088233 5.349143615497502) (-0.006197995989745627 7.031293497342767) (0.7648636975511681 5.6678756631933345) (0.7125391087323825 6.179996741181661) (2.4272608824060913 8.084410644422537) (1.57221220489813 6.396105195280523) (0.20598883791936562 6.917292668386353) (3.3443269903982107 9.373990480747109) (0.8551734737738533 6.316769873678577) (2.0200646340553696 7.052883840903206) (0.8549058090741312 6.427037789260448) (0.4982457212569717 6.223151122732108) (-3.4292673568954983 6.932851600454258) (0.3770153582721945 6.330994673158685) (0.9289939633097172 4.2657015930274715) (1.085048935473111 3.678622115769386) (0.39169414933702956 6.681996924905228) (0.06305346506313651 6.541220600154475) (-3.633012475654062 6.895713399987193) (0.8798460008385122 6.388084078654372) (0.6037026731189978 6.364467718476987) (-4.166397217612621 7.166539685680217) (0.9485105490141426 6.026915136220688) (-2.988873135014924 6.407202810071709) (-4.059572781990074 7.741656255724796) (-3.113497624540512 5.91448287304756) (-2.7205403792868914 7.678423210826627) (-3.2971729087371635 6.190008292432797) (-1.8414317389142856 8.555572002398963) (-4.018629486927686 6.152439915909543) (-3.8053328475111137 5.080987393293053) (-2.6506617749475576 4.028043528970971) (-3.6761930376539294 6.024489477556554) (-10.014567397996288 -1.167870405196186) (-13.39420043814489 -0.5422132885300297) (-8.384104742296751 -4.564619612026041) (-8.704938555142302 -2.915651311837584) (-7.769181139455445 -5.19757991091018) (-7.306420456731347 -5.310310081509676) (-8.707123708590741 -7.182392445116177) (-6.585270833769819 -8.176069283379633) (-3.670908979404829 -5.486947087919959) (-5.484119674377005 -4.028515188508433) (-0.02470560106629897 -7.6431242281192775) (-2.3020023164436383 -4.231545524976574) (-2.683783716959664 -6.27344179387877) (-2.666952587033672 -9.183359059780736) (-2.8331244766454446 -7.852891852291742) (-0.932442412075476 -8.403744276486046) (0.32558645587792423 -8.990930764964048) (-0.4067948306503562 -7.808129000048366) (-0.48949513510613635 -9.083044372399746) (-1.0844720674059471 -8.469215218963434) (-0.5128777921824269 -9.369107589431282) (-2.8721848779276486 -7.639331956300776) (-1.0089219503878017 -8.997265319254645) (-0.7678321141585862 -8.15768371187114) (-0.464101594211631 -9.001326568878758) (-0.07907963207558559 -6.0694277630817925) (1.039591525345959 -4.041722804773112) (-0.27114368974525427 -7.155483314443617) (0.017720541480680977 -5.072843318842154) (-0.0770283441864256 -5.9906827536809235) (0.3436403947574908 -4.082281915255041) (0.9975321330543697 -3.8166451567744963) (1.4772341478546238 -3.923104160282246) (0.711637566079438 -5.635867312545841) (-0.11582315283773911 -1.7079933305546182) (0.5973105543058703 -2.4929951383030238) (2.643890084313653 -2.414322610927018) (1.4867827677183245 -2.509740039085842) (4.109620393387827 -0.06922206264068619) (1.5478135339480699 -0.39940872005056954) (2.367738940501436 -1.3506039178627485) (2.3416334308075943 1.0052417487533) (5.1909149038396185 -1.1202660049177497) (4.349461564272836 1.0161227961969697) (4.086041368141124 3.0880938248248935) (2.2529239633905886 4.22003690557428) (2.268267596192701 3.442500727324262) (5.962397664774793 6.4521216862764215) (4.092675894472419 7.095265861774275) (2.7961038465283248 5.34668528828093) (3.0650560166854675 4.513776434939474) (5.329970693217989 5.771016368652631) (5.453970559703345 7.918366120883096) (4.073940563366848 6.718152142341925) (4.605339125471774 5.138827534962348) (3.4913335845937974 6.679108127123991) (4.951990856752808 7.264195445668118) (-0.34839185679382156 5.382668524168337) (5.307014472848753 6.868259760210141) (4.483753322273254 8.05762189443378) (5.253017889229477 7.692857826597936) (4.103410065378813 7.431364522324621) (3.400264752972949 6.494301886420776) (0.8842952568090462 5.570480179704668) (0.09522206995018712 4.653356901249929) (0.24464649954456041 4.921281520077631) (6.057634417818981 6.730716064357011) (3.0364113463972764 4.264918178432774) (-0.057475297967506334 4.457135685615114) (-3.312403804870532 6.22785486161591) (0.3543991372524845 5.714473632059396) (-5.322123050137402 6.601651878291886) (-3.6854613472146385 6.826071799399916) (-4.286231047736539 5.621123620657532) (-4.61126358678127 6.7399408316534775) (-0.1561442864522958 4.033357860473736) (-3.6195038919122373 6.444574462041919) (-4.369752629618833 6.0448184575019) (-3.612972332476022 6.332449809867131) (-3.338781900720929 6.119302387817566) (-3.4095640837128554 5.699009955511129) ((COL-AND-ROW-ADJUSTS (-1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 7.0 9.0 7.0 9.0 8.0 7.0 8.0 8.0 7.5849624 8.0 7.0 8.0 8.0 9.0 10.0 8.499846 7.0 8.403864 9.0 9.0 9.0 9.0 9.0 9.0 9.0 7.0 7.0 7.5849624 8.0 7.0 8.499846 9.0 10.0 8.0 10.0 8.666757 8.0 10.0 9.0 10.0 11.0 10.0 9.0 8.0 7.0 7.16088 7.0 9.584963 7.0 7.5576553 8.807355 9.584963 8.584963 8.0 10.0 8.146187 8.807355 7.0 9.0 8.79993 9.0 8.428779 7.5849624 8.0 7.0 8.0 9.0 8.0 8.0 8.792465 7.0 9.584963 8.314696 9.584963 8.584963 9.0 7.9576826 8.0 7.5849624 8.0 7.5849624 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0)))) 4574.843485679388 MULTIPLE-END-CONDITIONS NIL) (((-10.299636325805835 2.0735553433949443) (-9.947010291809255 1.7672350390726341) (-7.726992380105376 1.7537511053385773) (-8.646716589734607 3.389717183488498) (-7.860324848592944 1.9378096126445326) (-7.189003822160298 2.2623849762036516) (-7.82205341616511 2.642087512194473) (-8.567540144274712 2.518696854635994) (-6.959513492969098 3.1484968339498223) (-6.849617029733354 4.02978283844365) (-9.278531967662767 1.78969975362494) (-9.322973413028944 1.770845526763155) (-11.007223841355163 1.682410875467356) (-9.744429301447191 0.8393286491646428) (-9.999158264052316 -0.8129014772959814) (-10.004874237073308 -0.872787361654097) (-10.002490922247983 -0.8724364868271798) (-9.41672175842979 -0.5439038147283324) (-9.567973707007976 -1.3629401862308521) (-10.29554883206997 -1.0349327927889036) (-10.126593221846498 -0.709618138171068) (-9.085422556702241 -2.7873268795343717) (-11.020618137760163 -1.481105593738205) (-10.181530296446486 -1.060914030647781) (-10.11740496579391 -1.1772925681706878) (-10.04332128096777 -2.0432068234177536) (-9.8107626127035 -1.4414809227532934) (-8.96115717975625 -2.8983979716080257) (-10.7102868489604 -2.296270897198204) (-10.487411294639509 -1.1781740996580186) (-11.202552716866924 -2.339044122092149) (-8.096242964255763 -3.8783085288912704) (-5.54978575721085 -5.0302761278393335) (-6.9034064894517915 -3.08047742902072) (-5.58973838867358 -5.024944053544664) (-6.574128834927107 -3.214873639184347) (-6.537749316098673 -3.405069607827808) (-6.6638344680246355 -3.2486450816572283) (-6.6367635341006785 -2.9949840298144137) (-6.896107143217068 -3.05553375481803) (-6.60740526096012 -3.149914824733627) (-7.236976937946833 -2.1587735951018456) (-6.880225954934707 -2.8428838248560746) (-5.1380123567934675 -5.785149244741649) (-3.981386659170463 -5.808126705836786) (-3.6197581416997315 -7.533696584734205) (-2.1463725281614665 -8.27528889104035) (-3.059701410965481 -6.5094366856880574) (-3.192685317176794 -6.573481672033298) (-2.0887405208262506 -6.3040316681744955) (-2.575853932718607 -6.41860632186043) (-2.893226230294393 -6.597349481340602) (-3.9234896496285554 -7.726125452011393) (-2.5067537751818225 -6.914575802433297) (-0.05704030587972217 -6.738668440052981) (-2.286285961414822 -7.138679410963384) (-2.3065407075622013 -6.766423924028242) (-1.1638130448107766 -8.467828457544998) (-2.428542175987212 -6.799360442651841) (-0.5190362068473414 -6.096443383615322) (-1.6701082851588438 -7.1590861986270555) (-0.16431904283963109 -5.440382417118659) (-1.1937232014982573 -6.200189954429906) (-0.4869732115844525 -5.80916041305492) (-1.2216153988415117 -5.2734122593761095) (-0.6472750378293297 -5.424881191884599) (-1.1322002212510724 -5.502591717646135) (0.862771565660971 -7.8474933192173735) (0.8066659304571334 -2.733623434160398) (3.150838056435621 -5.049175465535324) (2.165814265606812 -5.193441164317239) (-1.4496031640774734 -2.036717652146243) (0.6471538039940685 -3.4305760172601496) (-2.09270272867739 -3.6931237141735473) (1.0887895160901886 -4.359525666389281) (1.1219621272717626 -2.575802148460068) (0.010586842044937006 -4.609654379368608) (-2.297202582839748 -1.7182207994948493) (0.7397409561698869 -3.2860906828668637) (1.072542790362905 -6.003013011183691) (-1.1225310850336645 -3.8005258440902443) (0.12595473348585068 -1.7681256429434973) (2.1700855025949073 1.1540159682229523) (4.313474248099671 -4.394321344423974) (1.0609285604045293 -2.8233353383536226) (1.0197870256440504 -3.332543990035691) (0.5962205805568573 -2.9363102732143256) (3.743892401862971 -3.9720690842643367) (0.6085155607517788 -2.997446426223609) (1.8163704929508764 -1.9449684293991643) (3.061972336468161 -3.011116132675823) (3.300531829162582 -4.825401493081688) (-0.8337658194304666 -1.2558952740403744) (-0.3024871876356482 -2.3588872006776667) (-0.8506381802265854 -0.9202656037845311) (0.0577315371626281 -1.064173854800987) (0.8541934486516762 -3.7180400057513916) (2.2574116711135304 -6.889904571686204) (2.9564313378077713 -3.8783328419936796) (-0.09257603896274577 -1.867195217296055) (1.5950160909920688 -3.3231561017893836) (-0.24744734778091446 -2.6319262295488755) (5.545015419371936 -2.1499109191995425) (0.609379816281597 -2.8843833889701624) (0.2306931254698194 0.7104131234563138) (-1.858731683860923 -0.019473897173133185) (0.029947144610867976 -1.94019982977047) (0.440760020345889 -3.1706300482952523) (-1.2043613924096563 0.013695941180156207) (-2.041762061360052 1.025439237401435) (0.3022742015958142 -3.724198118512126) (-1.5991286919933152 1.4207570863210266) (1.5913374563279512 1.7142483272877298) (0.3868911974118723 1.847619518012169) (-0.6147853390312908 0.9794145760381774) (-2.2796052142673977 1.1221538703520386) (-1.0074063452258248 1.2514145576452302) (-0.8393986533180932 1.116707298452132) (-1.1708212252726768 0.9466604045013925) (-1.791452998684763 1.186732071894775) (-1.1107363167353423 0.2506993682084486) (0.3558695605487222 1.0494441723667998) (-1.0636115299187665 0.2878780675837834) (-1.2171024840368638 0.3777867871681767) (-1.0818260768996255 0.2743070509211246) (-0.7445001207685754 0.9102635828803749) (-1.0621843449932717 -0.09195460737875405) (7.2515415063268716 -0.785465502541259) (-1.3453946262739986 0.5812089403129432) (-1.736534244464969 1.9682604293553552) (-1.5589860329233622 2.3059444624544914) (8.626807730433251 1.4658204120966611) (0.550893298711085 1.5835551715834724) (-0.8344278774644839 1.7140979122566662) (-1.3453833570265117 0.3496770285951334) (-0.8343763043992901 1.714126168678368) (-1.9058817180375813 0.001035941893771765) (-0.8753284957261042 1.2587388631659668) (-1.2093814587325205 0.383658580781171) (-1.6634777133173158 0.32732562799133225) (-1.3958800136230889 1.2684030822808263) (-0.31425981973440914 0.08829423933762837) (5.623081875155033 -0.7988138105194459) (-0.4198368142991998 -0.37433896795564103) (-1.0200549447209053 0.684984289367061) (-0.021986673495349832 1.2942999305304244) (-1.6809455444300794 0.822666968674231) (-1.8431795364245367 0.8817919373069961) (-1.4401392043183607 1.356712578024273) (-1.020028781337435 0.6850060457489069) (-1.2051534359771274 -0.26328205479205646) (-0.8753294686386757 1.258750788127282) (-1.670324818220862 1.613197249331415) (0.033006530242150285 2.0808039533305465) (-1.6657674525142552 1.124802547419699) (-1.3813151922505258 0.9413911749582655) (-1.561036131383416 2.2292769353040045) (-1.898919226751751 0.005702528811979638) (-1.169094406237925 -1.343275643349683) (-0.5816688374404787 0.8353715803125917) (-2.0310655414936396 1.5076212437916892) (-1.6354115296152651 1.215584514328799) (-1.7363526217388918 1.9683828193172652) (9.845529871707368 0.7274467848509393) (-1.7107786605489657 0.4022524330809472) (-1.9610091961685445 1.1681277402065111) (6.810361686615228 1.7812255444707417) (2.1626956395449697 0.3000042063624374) (-1.1458280326742276 0.1428498171200583) (1.9420573843794895 1.9189086629206735) (1.4405608703937207 1.764567869019542) (-0.7156166298375534 -0.23865548081891402) (0.06943693145643917 0.18058483225441455) (9.22781213905308 1.766259729024742) (0.427581474898866 2.309703230179668) (8.98423420278916 3.168080969384929) (8.236240061431525 1.8813050108238778) (7.864286745527056 1.5066694822122615) (7.4214685084031125 3.661206084406019) (8.1544171450732 2.5667056407447046) (6.6142317715716965 3.2542411702938394) (1.4983917186348163 1.5147394419396663) (6.4816608020618975 2.179891101478611) (6.558810373661405 2.7465126618898466) (1.9165642974201587 2.5953027288668675) (6.868793309113405 3.225253217903543) (7.514642528041967 0.26554124332726037) (4.961280121446288 5.764319236132018) (5.885314663895681 1.8139954435490107) (5.537211496939629 0.02092495566417862) (7.3427496041575075 -0.25302937992301655) (7.349297496611932 0.39731838855300533) (7.685481297516493 -0.46963239571799875) (2.4580668416665157 3.0411567344738137) (6.39598422515058 1.1163466675432745) (7.0687676693223604 3.5138010121521965) (7.341553351976224 1.8602348039484529) (8.882421025995464 3.0432118735359412) (4.916647955224503 5.732188706118755) (6.446878104766595 2.765935502664596) (4.323195156203681 3.9987394012512967) (6.894819440255673 1.908912602311267) (7.319074191890513 3.397059912391986) (8.391486265707956 0.9274762019382908) (1.7612636756002675 2.3005874135402835) (9.062247477053889 1.8000938387952024) (9.397843653869566 2.048266732994877) (7.37371503132303 0.8049100955174049) (8.477222297490103 3.298243983593637) (8.116449510443934 1.0373692880526526) (4.674322608572687 4.707941244847957) (6.570848454618817 3.2824370147001543) (7.5393070408373415 1.5760567496927966) (8.320270302722001 2.825041404208574) (9.650670902593804 1.7957508979258774) (10.496222954494772 0.48928036165084454) (9.907760613873162 1.4421104377837826) (5.423364772656437 6.198571388247136) (6.646552525153649 3.4549444605868764) (6.008873711893401 3.0152926246291725) (6.473140778202807 3.988095930339413) (6.925113620313241 3.736180919861535) (9.506475865427769 3.297964136572111) (9.373050611607397 2.3323430305109354) (6.7002875942648155 2.9474464586905236) (6.915774449467845 3.6061384755811576) (7.183480428852489 3.6979605089156204) (4.803173902174811 5.374704275637078) (5.3523726628930275 7.175957071158047) (5.3558542700837135 6.735037589587896) (4.52070288445291 4.9727293632527765) (6.537204987452029 4.943866667344391) (4.879726695660255 6.527850493353501) (4.819318010857167 3.017271162292494) (6.637262180338218 3.038417180094415) (7.218852249759101 3.643970596227482) (6.141194641737923 3.629712671534032) (5.5650156735755 5.856134129240654) (4.52615433328248 3.7727320049847926) (4.846356607742678 7.171164164962241) (3.9790944083112754 4.054047674085822) (8.036249229468547 3.808173354987078) (5.049453031245059 6.515726420829302) (7.932380499956336 6.096517302007186) (4.238424221058848 3.4888834322660367) (5.037637318690885 7.106023330710014) (5.8721531328840575 3.8751423236590337) (6.216235297446974 7.550023717444908) (6.227710030835562 3.1909024493286777) (3.790400447799527 6.676694987454271) (2.8173290542445604 3.3719949795941826) (3.746919545160803 4.870554304352215) (3.7006543370004206 4.476271472679221) (6.504057327894644 3.285856844698756) (4.233092285845821 4.53378812273742) (2.9248827447087846 4.069276283157952) (9.939584518165091 3.4478721670345625) (3.9120237132384554 4.087368695305243) (6.170958218247673 3.123573982544492) (3.8286428896616957 6.4491006452600885) (3.4778920355121454 4.100804197977564) (-0.04375233509039824 7.9103080528818115) (3.3242916580937076 3.8253145107105175) (3.0566614906869676 7.067041025599372) (2.318574912952112 6.625229918667185) (3.4523504114486916 3.2818188803248316) (3.2998381965585772 7.444785901874948) (-0.18072913718873568 8.173479729737537) (3.883998394265727 3.8073019173299305) (3.597174564827752 3.8613112958348115) (-0.6390167313730273 7.812513056728309) (3.9250395392176696 4.341249108749083) (0.5495278458133351 7.263689809179296) (-0.5053180382160715 8.409321186651939) (0.2056076376785564 6.440331018535988) (-0.35530396308822115 8.576017115117747) (-0.7608030994123368 6.842059519790348) (-1.617853630565455 4.90600499600856) (-1.126121719907897 7.037212624250717) (-1.1397412150805795 5.7371210790915175) (-1.1681173422915563 4.466968686802105) (-0.9690530685547449 6.832892011053358) (-8.72776234164685 2.809970787649138) (-11.259637454240758 4.678069004898534) (-8.832906262590791 -0.9412194794227575) (-7.600796350960991 0.5271066029002874) (-9.194967924936456 -2.0331932355626945) (-8.236626082559662 -2.2542317960003184) (-11.20617955200275 -3.2136140241493316) (-8.263769427389946 -5.068880858448959) (-5.692215813941683 -4.36791898699692) (-5.985624206178872 -1.9328714334721158) (-2.888599392165065 -5.894321542132036) (-4.955525194205394 -4.833816449305467) (-3.9912337729994865 -5.477982789836803) (-5.317405567831547 -7.933694837113588) (-4.99844384825687 -6.32253916070864) (-3.755920517746027 -7.7400514751381815) (-3.118851913605743 -8.649252118626963) (-2.7297594767098134 -5.8987434509998025) (-3.4346841565092667 -8.285485156977082) (-3.9292010909232724 -7.795173142529015) (-3.6078971023393254 -8.869129838102694) (-5.027914758232948 -5.718901188718963) (-4.078116126842685 -8.261528722735498) (-3.4476132870691325 -7.655233028662677) (-3.767575061373864 -8.184878553816468) (-1.0803240384109738 -6.606423465103019) (-1.197107450582114 -3.9978205465915817) (-2.6740345023514656 -5.91975333019587) (-1.7089403708238926 -5.389366442869508) (-1.2229530582023938 -6.43653682175304) (-1.5030083044743627 -3.831516890944485) (-1.0553405137172505 -4.153078536916234) (-1.199723056361932 -3.8470604535493753) (-1.6057452234339553 -5.001098374772579) (2.002082035513896 -3.970723520178295) (1.844962275126486 -3.6351144212378808) (0.6591584235552431 -1.9686843323087844) (1.2129671464653757 -3.0392696916019086) (1.2570175842192983 0.30771910256370716) (1.681084819566703 -1.7913492443856953) (1.0126355100104258 -1.7208088225274631) (5.62885507632586 -1.9574329732908176) (-0.12993300002471794 0.4748120108957094) (1.4446834386420164 1.122287271484974) (8.141704557123347 -1.1858855433414568) (6.519053285710853 1.4537388031081016) (6.128690396180611 0.5225145336595562) (9.142575231039375 5.5102375848670935) (6.577304778781035 5.21645654572745) (7.123419121106388 2.6478832860461172) (7.300386993112238 2.1306372017469264) (8.626169279484142 5.05543281487052) (5.84496345204173 6.883258916179427) (7.023451868911771 4.337755994542477) (8.058875170545894 5.111116442862524) (6.506661553787869 4.553641251860098) (6.370939370241121 6.164839717847322) (3.0981947405369907 5.150676733059434) (8.435853656296324 4.607704110687174) (7.66374228001941 5.027834177413157) (8.319196717885122 5.8101479016944255) (7.1002193899146135 4.746682770693332) (6.129589575076553 5.408512052903185) (3.6862217634376204 5.796301973634188) (2.652607142906707 5.401072440272612) (3.85069256238884 5.301683646297718) (4.582876676156306 7.502608895269063) (3.8611126131500315 5.2843667778804155) (3.1525525187101313 4.9515067421641925) (0.589101016031494 6.829147630506966) (3.8478890193643953 5.407867166208968) (-0.5307886756327894 9.156577810847521) (-0.17810740357685276 7.289085043199167) (-0.6990178152430342 6.606855740478326) (-1.1076795375082353 7.517450885986499) (3.074897196803541 5.312168900481334) (-0.6897440395602487 6.709527366270307) (-1.566562341368951 6.925282277892194) (-0.8424695485607675 7.069895171225631) (-0.5504518587985625 6.690919003752055) (-1.1000815291392652 6.439797770073634) ((COL-AND-ROW-ADJUSTS (-1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 7.0 9.0 7.0 9.0 8.0 7.0 8.0 8.0 7.5849624 8.0 7.0 8.0 8.0 9.0 10.0 8.499846 7.0 8.403864 9.0 9.0 9.0 9.0 9.0 9.0 9.0 7.0 7.0 7.5849624 8.0 7.0 8.499846 9.0 10.0 8.0 10.0 8.666757 8.0 10.0 9.0 10.0 11.0 10.0 9.0 8.0 7.0 7.16088 7.0 9.584963 7.0 7.5576553 8.807355 9.584963 8.584963 8.0 10.0 8.146187 8.807355 7.0 9.0 8.79993 9.0 8.428779 7.5849624 8.0 7.0 8.0 9.0 8.0 8.0 8.792465 7.0 9.584963 8.314696 9.584963 8.584963 9.0 7.9576826 8.0 7.5849624 8.0 7.5849624 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0)))) 3611.7115526919015 MULTIPLE-END-CONDITIONS NIL) (((-4.841756138367074 -6.217009054580695) (-8.420859924878828 -6.594911930979515) (-5.508614127418122 -5.118167378096564) (-6.883631428772479 -7.907016943459008) (-5.37145164541583 -5.2009560885322035) (-4.817577251329424 -5.30672365264127) (-5.0437195554843 -5.939248769819959) (-5.707345125707971 -6.333032397517869) (-4.168907425429435 -5.866923016646296) (-4.037387984058035 -6.570484705275695) (-7.456312675547294 -6.308912192127752) (-7.508089498566847 -6.314717132106792) (-8.970169290884922 -7.048001630346398) (-8.776226954355874 -5.512096145297511) (-9.436042046855432 -4.175211814412867) (-9.558657776367767 -3.8775866336024776) (-9.558660261812689 -3.8775814667265025) (-9.331966419635505 -4.51572750419996) (-9.019722657898628 -3.240006890388001) (-9.83496333499024 -3.9588352718252064) (-9.494659787063256 -4.180657272144517) (-9.985510501727923 -2.640653224106281) (-10.828460186903234 -4.059743118359944) (-9.852094989428611 -4.099675495312133) (-10.145821962023067 -4.105753900245439) (-10.551645208243963 -3.7827624370125896) (-9.180157808176745 -3.3752908211628614) (-9.062841214964772 -1.924702324193981) (-10.621846061992063 -3.1629540203799595) (-10.285286642691101 -4.0975589803071095) (-11.106406399095421 -3.393535541792327) (-9.648694457186306 -0.6804779133085586) (-6.567646155559935 1.5778797017727857) (-5.809179823848891 -0.9484881401059221) (-6.873280267745579 1.5559112445684675) (-5.525201307803286 -0.7142318550331656) (-6.32494195991613 -0.31256452471368945) (-5.746316689743479 -0.6195906496350596) (-5.7395098508959945 -0.9352068656182189) (-6.515286553635335 -1.0654810415004932) (-6.012512990439151 -0.6091734788886568) (-5.832813284024507 -1.8013029240866947) (-6.009488323602711 -0.989463291291043) (-7.398483883254905 2.610369257226095) (-6.199387030093847 2.94399108743337) (-7.409427274200872 4.8435753840642555) (-5.885205932181424 5.818881640002903) (-5.678487339136745 3.840547607232287) (-5.81390489600308 3.8255763817805626) (-5.060726833130246 4.082176877312453) (-5.521578459736353 4.467392542796784) (-5.862635605566101 4.473477026392848) (-7.571550455437262 4.800758945355791) (-5.511936615437125 3.8347958381058493) (-3.480958726805523 5.583007668495021) (-5.404620519152535 4.514725898250051) (-5.318796623287022 4.21705484238586) (-5.1681808910467195 6.310828350416072) (-5.351783871553886 4.394267034906145) (-3.4531948319757393 5.006559827397852) (-5.327515295760438 4.3425305531529395) (-3.004116872596378 4.369948344898059) (-4.279508013180276 3.981465319986073) (-3.3610534521471815 4.692481320363882) (-3.6519393300359275 3.638693137102886) (-3.322789102554916 4.323565537535498) (-3.809298774090091 3.9136049247293547) (-3.063507803005855 6.8407064341959005) (-0.27022165155173955 2.140787555930509) (-0.07279452574760653 5.768015393091257) (-2.6417185497929636 4.919391003459753) (-3.3460859633453683 0.5991403128882202) (-1.088721544711296 2.3781057700813637) (-2.6594702562655748 5.356352182782406) (-1.3238324788452693 1.3634676385769462) (-0.38903670551304587 2.5203806348377498) (-2.8215917890919853 2.8578090873529454) (-3.5557957255169157 0.287030262950913) (-1.083950191948212 2.472801078141752) (-3.575712849124643 1.1644111098741179) (-2.3018058869268327 3.8199013889165543) (0.5133328322663573 3.235448934965743) (3.6390981262652127 2.0271448102237755) (1.3719460765177371 6.6924421622166985) (-0.3648886437414356 1.702744508025846) (-0.4614057495997955 1.5960516198304735) (-0.3294714989275665 1.9003244597348854) (-1.0805915151661298 -0.5743963475357579) (-0.4090114254982593 2.154319620374426) (0.4008995118569226 2.18645657647082) (0.192030374731073 0.2620826700269582) (-0.5653394432361827 -0.7326044893442479) (0.16208064805026426 0.34226717861720163) (0.02780438483081239 1.5872082770739575) (0.6416316359785714 0.25048835994788415) (0.9504207971632799 1.0870098228911673) (-0.291757370383973 1.621697740748918) (-2.979457117948055 -1.0452704058404407) (-0.630649548377555 -0.03953359485366995) (0.12021930551053382 1.3990176423686935) (-0.5905202194353882 1.545182874141585) (0.012798329139606612 2.896143907527087) (6.210053714606779 1.4919074100002436) (-0.35699157756765887 2.1048493131246793) (2.4752878559006866 4.135783450376502) (1.0474070972066267 5.949680276470964) (0.5844421590819754 2.9947241801494435) (-0.6805024351189322 2.531549908241534) (1.8802958427754441 4.861794472529665) (3.7830624333569127 4.553485415658347) (-0.46050176498996864 1.243428849271389) (3.7700290660064653 4.741397359242215) (3.699461218146542 2.799485485359422) (3.703815331892484 4.0327276563083645) (2.9198449337351553 4.41331011912651) (4.187576509303964 4.072498860126688) (3.3699037667687572 4.491613304199644) (3.084470715791242 4.649659960230853) (3.008844165579925 4.7891930750377165) (3.6496436465025583 4.793885460810663) (2.191383033510113 4.73484204565112) (2.9209560273387503 4.093039849739704) (2.3734480272297294 4.558824659890464) (2.0257565466094323 5.090917056152236) (2.318029970398005 4.616422645328678) (2.8102035122907356 4.5679175578180775) (1.8336837299756195 4.712511697441395) (8.017035791822455 -1.7068795741022138) (2.755213023983098 4.799402190938337) (4.571375761792031 4.059616217678137) (4.75673910947707 4.243064327898528) (6.578894748907349 -3.0752377949977037) (3.52919180788195 3.793959692514627) (3.8205818381550474 4.287660349202425) (2.849393373754469 4.117708893913184) (3.8205803431845347 4.287664534797591) (1.1985771899841882 5.9524366802098765) (3.233929846494455 4.700269399534511) (2.4418825003435125 4.708858348293371) (2.8747133475194766 4.400028774417865) (3.627982580702755 4.373287615035107) (2.0045999383137545 4.398143488623014) (5.3959379190138 0.39007652901034545) (1.5613325248632726 4.336305921106316) (2.765869684561399 4.574932365963581) (3.157420332360157 4.271825548952514) (3.450660824948609 4.353322565969948) (3.4090555243388754 4.784371248463459) (3.7249730517687736 4.484140575731112) (2.765873387586405 4.574917167681289) (1.5695415348364887 4.890111084932612) (3.2339342580128725 4.7002568884910145) (3.913662800675003 4.918294965728054) (4.019550865084157 4.149945325911552) (3.3037291897541876 5.1866155188827285) (3.048088863235819 4.9819473979460955) (4.191393353565515 5.445849854306818) (1.2034992134069762 5.991672717317477) (1.2693131497688925 0.8544297561984789) (2.754741849828794 4.384341521925229) (4.162966379526548 4.666153479959547) (3.6562557863298557 4.628591602061662) (4.571404741987 4.059513095344252) (8.151068979101163 -3.225468447318627) (3.1004608584056577 4.3188441459010125) (3.7057553017565033 4.88235352081767) (5.192401502191509 -2.3284769472428137) (2.01335736011589 4.035245117208463) (2.1027652375763397 4.733020870827943) (3.9637122760667314 3.272953704237125) (4.007162832137442 2.9909213883579966) (1.8013087999867423 4.368506460017999) (2.0611051451701123 4.167378313407606) (7.221887659952658 -3.6274900837808377) (4.046730010565923 4.217121499596981) (5.67728639064662 -5.1741379801264795) (6.364464015325442 -3.0592908062501336) (5.766491594280237 -2.8967810555724225) (4.399882858672274 -3.752900319361012) (5.7590195800358535 -3.617785003829713) (4.325624858019185 -3.001315528767411) (3.5165718131418346 3.3866637901117227) (5.856170766724926 -2.6300237631523773) (4.495606865232941 -2.8801635354895465) (4.641473755050661 3.5053484367670036) (4.038918440062699 -3.602274315952859) (6.2309896941542755 -1.4696974340743962) (1.659059957546991 -3.2324209091123035) (4.118557921402989 -1.9245542831800497) (3.6442976582720896 -0.9694201672963142) (5.973263661360115 -0.6766075702467005) (5.930802534067491 -1.3545599797764554) (6.251266972418791 -0.6390609263257486) (5.275551028052994 3.140382631846292) (4.85126480571388 -1.4974518792353624) (4.895829050463571 -3.478395757376554) (5.812974413855009 -2.7955372947979624) (5.8832687645900235 -4.627544377168243) (1.070261501709111 -2.6901683867564756) (4.746010886886018 -2.5208659583507966) (2.89348657640831 -1.6046376048438296) (5.697903225084869 -2.526520436018201) (4.577257466740367 -3.666556888191409) (7.20386262308535 -3.0155393690187187) (4.2634848994636965 3.4401653640071084) (7.188918034020356 -3.385480946749242) (7.09660179764581 -4.216033778022628) (6.85530599624918 -2.312845773654896) (5.275156103677851 -4.377549812908476) (6.896930612388168 -2.8564261357361325) (1.133547003468203 -2.3196883327758147) (4.373953965851907 -2.918068893460349) (6.21827292088049 -2.695208961398906) (5.83570300720124 -3.7810930170825796) (7.5343228738102646 -3.9476604859252733) (8.613811789626858 -3.912817989000473) (7.754390916961034 -3.9526490991635006) (1.350129558528253 -3.0129274538898416) (4.221645046121411 -3.058496021076495) (4.7347059333958645 -2.631453951945248) (3.6849425269873644 -3.1028747306789057) (4.0747513353642875 -3.410370283950485) (6.141060761454456 -5.6384941764616245) (6.75291284569607 -4.480517861868759) (5.837754503897886 -3.7993908856637164) (4.213203802967865 -3.327500309355937) (4.2668142267021825 -3.633959374346264) (1.879961022167557 -2.234946655070948) (0.6978464515659316 -3.2148339958736996) (1.2361840821233763 -3.0552824105113676) (2.068785024295205 -1.9182071812448989) (2.994483952055988 -3.572469393431436) (1.0894537915187485 -2.532602181137127) (6.5795512285932904 -3.5192107343995627) (4.769467737611203 -2.804105714837355) (4.4127536701927195 -3.507069629595331) (4.253207833476656 -2.652946811902721) (1.8577042911296915 -2.954216967968929) (3.9029804162251795 -1.2716266392222586) (4.89160160950569 -1.407290525783354) (3.0275170913618528 -0.8633458697210824) (4.81335485018056 -4.64526818809715) (1.9949731434174096 -2.359740563195985) (3.5566318474054093 -4.452895194286171) (0.6917314671295217 -1.938270209318302) (0.6112360575547731 -2.871111908498765) (3.880013636571352 -2.5637986808710855) (6.19482792899491 -2.8362779534773566) (4.912728980858603 -2.7346363190320995) (4.177145403088664 -0.6127962926245542) (4.020795031086012 0.5194921726783265) (2.970333220190824 -0.7434679135661174) (3.3087956704913952 -0.6507885648715699) (5.794429789730594 -3.1914528314875494) (2.4872164230653824 -1.3303434286867353) (0.9824910347375809 -0.6521970109533375) (6.2653116375657705 -5.8092856634253796) (3.225484782868328 -0.8820061153711313) (5.595873978875006 -3.206946566883496) (4.567473326863777 -0.8498622684687082) (4.517836559668168 -0.43552582488508845) (6.019989197571103 3.392946706022542) (3.3127460635013963 -0.2690685019688109) (3.9956351346409336 0.46949563134199546) (1.040784223579738 0.23328135834641936) (3.897481233859922 -0.30072369732690857) (4.562264906714256 0.13357282264777842) (6.790810198856088 3.2630396913072617) (3.0213417973620187 -0.9649270919393054) (3.2706828764574016 -0.5605360791303853) (5.233899093119051 4.733216377924369) (3.5865509420165496 -1.0081956257184554) (4.858534480760001 3.080966810550165) (6.361828285605724 4.12811625778839) (4.205604440211415 3.300132593859552) (3.558432162364332 4.521208676072915) (4.709120817688059 3.6156602567898855) (6.814924179788358 2.5977678352489817) (5.407433834817026 3.556683591663507) (5.217865425734368 2.4469436557745623) (3.655272005321766 1.5844967984074143) (5.022267096140217 3.3489715213245685) (-6.540381892409906 -6.767183683875459) (-7.972753308130883 -9.974736596737051) (-8.52233746515558 -3.575176101261748) (-7.243964726131593 -4.69749187215574) (-8.8018293988165 -2.6965973342618716) (-8.495863888163994 -2.2728520007380406) (-10.767786562867645 -2.0488607754589867) (-10.115506295435775 0.08540155293265715) (-6.50529485499393 0.7591794709665947) (-6.618618561404546 -1.3722280783545375) (-5.853587547894928 4.916456811278471) (-4.8746146699007 1.2051395108134562) (-6.892221440300631 2.228320862028469) (-8.712613748624968 3.811357722616976) (-7.727185302014839 2.8951347093318005) (-7.006130692147707 4.692917874922242) (-7.036346553779865 5.8203542105448385) (-6.213793397375322 4.756616833605294) (-7.3148855586577195 5.373820582903317) (-7.177984595203731 4.598728411979134) (-7.517155131791541 5.621169850882785) (-7.550580043021286 2.541443401458749) (-7.543324385832684 4.9824277384766305) (-6.7475511706846945 4.595144439902249) (-7.2541666260724735 5.325847611811093) (-4.172478804073105 4.979646195218435) (-2.3577977998316193 3.6905376779474013) (-5.22717501103426 3.805657002506698) (-3.8334915644530634 3.2741137051239524) (-4.2302723223801895 4.808961619492875) (-2.9875728408567856 3.1197549160233917) (-2.0912659980774593 3.1936524345612844) (-1.7196448351363554 3.5989885952290157) (-3.9581413705533266 3.266652067272072) (-1.1779443045672275 0.6399547692769829) (-1.5747167781819176 1.8704955225219888) (-0.0781024105523442 3.4655877723290742) (-0.8986668094628737 2.7303579651247896) (2.250366105855264 2.4881058112095467) (0.7593369147699206 1.601927971943496) (0.6803616311186603 2.184785302963384) (8.950873160935439 0.35019859629714184) (2.439231186587754 5.4139643287520505) (2.9836156039076585 2.852101261395708) (2.903048098188256 -1.7186076564463781) (5.726208170493213 -1.5605212705318448) (5.794118160187272 -0.6836609765696938) (3.654117278516005 -6.24095878973556) (2.958888645144571 -4.038329576513165) (5.270256089707108 -2.771557416176483) (5.133987952681415 -4.116305847030741) (3.756439874935844 -5.668657616105437) (0.9114391812153362 -3.753203581841561) (3.8312993841535197 -3.655118391772092) (3.571922921587695 -5.142471805027198) (3.917304760179879 -3.319121069202445) (1.8322688803312341 -3.868986659673609) (3.2091620818185733 0.3058735876175693) (4.274892029769872 -5.333789563135276) (4.214519171599736 -4.762684594982732) (2.991444320223015 -4.944936463683617) (4.032782364198053 -4.004816082730063) (2.990085041730112 -3.0225625345120593) (3.900362857366976 -0.5142272479239269) (2.618080227627527 0.27874884013663354) (2.8585508391783696 -0.5620924143281829) (7.670063106522217 -1.7755148738313673) (2.190208379282114 -0.5783808934759851) (2.2952181134159377 -0.47563541565321193) (5.746491111632645 3.0202317973435) (3.7915801528478874 -0.39705724478654303) (7.131524398587512 4.727760334875918) (4.93025700510456 3.957232634178763) (4.427883914273731 4.364114978172942) (5.19251587034759 4.5860454336688035) (2.0702385187778787 -0.42018741914625113) (4.955478337272598 3.722547051130143) (5.707927724683202 3.5532480962059285) (4.868273320883393 3.7141780464148915) (4.802882287068051 3.5780816498922396) (4.811684656740271 3.0731373973350906) ((COL-AND-ROW-ADJUSTS (-1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 7.0 9.0 7.0 9.0 8.0 7.0 8.0 8.0 7.5849624 8.0 7.0 8.0 8.0 9.0 10.0 8.499846 7.0 8.403864 9.0 9.0 9.0 9.0 9.0 9.0 9.0 7.0 7.0 7.5849624 8.0 7.0 8.499846 9.0 10.0 8.0 10.0 8.666757 8.0 10.0 9.0 10.0 11.0 10.0 9.0 8.0 7.0 7.16088 7.0 9.584963 7.0 7.5576553 8.807355 9.584963 8.584963 8.0 10.0 8.146187 8.807355 7.0 9.0 8.79993 9.0 8.428779 7.5849624 8.0 7.0 8.0 9.0 8.0 8.0 8.792465 7.0 9.584963 8.314696 9.584963 8.584963 9.0 7.9576826 8.0 7.5849624 8.0 7.5849624 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0)))) 4396.195005818032 MULTIPLE-END-CONDITIONS NIL) (((10.421469515614472 -0.40042225261630143) (10.842697239319586 -0.8315283332757) (10.281210242528957 -1.29680525519326) (12.908461646727028 0.3097007533664121) (10.170218300220439 -1.508779738001406) (9.889101523638885 -0.7226144674455418) (10.359542942117677 -0.44290280939711146) (10.828731872090984 -0.4414431546244961) (9.81885813268426 0.06963859190511992) (10.049295802206784 0.5986260944116728) (11.242632051828693 -1.1565867565280303) (11.311680033973106 -1.1744068302400226) (14.611188330115782 -2.0158014448884085) (11.232901742544353 -2.0218660855872277) (12.209046994679264 -4.1233975574446085) (11.431301218291848 -3.989195490002894) (11.431241039811354 -3.9881118090717624) (12.742718620961393 -4.156153830647411) (11.063531999755558 -4.309634112534408) (12.314469439489745 -4.639000258981678) (12.265214020313074 -4.199804783748903) (11.12101769836211 -5.988564251403104) (13.591288609007188 -5.502727415241172) (12.298316540568246 -4.486587122050332) (11.509518321921863 -4.418672406552112) (12.916642512405554 -5.339700439429698) (11.523431136048607 -4.8233732856100575) (9.646663367641533 -3.9157483462478444) (12.878697206401094 -5.7497718578550385) (12.68567094056699 -4.668004646352993) (13.200262333108933 -6.15940867059962) (9.945348698678211 -6.978388761863803) (6.283814344743586 -6.005782505710347) (8.073162155196918 -4.934893865139119) (6.4820686477468845 -6.3680112907038575) (7.622499878701411 -4.901828453741154) (8.332065902086127 -5.261465770498427) (7.699411322922641 -5.0210188110255105) (7.842267416861156 -4.777663367352783) (8.512752522966785 -5.248927527089363) (7.804159259209253 -5.011944722268804) (8.429138105829892 -4.2049768807646695) (8.154794055588999 -4.946765074464962) (6.311018379929557 -7.4638092073259745) (4.7158606326968835 -6.733739505834302) (3.7728142835589025 -8.67669586718318) (3.349488749431953 -8.21468631810233) (3.822956410708881 -6.901315131381389) (3.9187400541286403 -7.046287971640434) (3.1696751969932517 -6.538214365571262) (2.946223151831131 -7.134048960802627) (3.1673269919823124 -7.450016931934346) (3.877071859093583 -8.790175305344626) (3.621023626125322 -6.826737836286018) (4.31399613819214 -5.16670632109042) (3.3622371482511593 -7.083406413867571) (3.308417415132667 -6.86500737639406) (4.182406905328075 -7.385382018740285) (3.0208094135664902 -6.938874534728497) (4.101758288188193 -5.0652955201419365) (4.588078582081445 -6.483034446261829) (3.7207289675582222 -4.3903940567881765) (3.1223955582942287 -5.683666312282226) (3.9928348957220448 -4.728234853793918) (2.7308092300895637 -5.110569563269232) (2.3648215509225303 -5.059606575733407) (2.8770896478398487 -5.1592277793594885) (4.85725012632385 -3.711820061691237) (0.5090319787735156 -2.5826684647437137) (-1.1912959883626468 -4.44667200992864) (4.132737858051261 -2.697864763192358) (4.936339201911193 -2.822345853758923) (1.904010290593047 -2.6784390499161432) (0.9669010893610458 -5.282905519982165) (1.0234245751580668 -3.064824216915083) (1.0178889010876897 -2.195017358481975) (3.036990668304313 -3.7150445899761917) (5.002764596116299 -2.5312107217039372) (1.2600035001155714 -2.7744087122691186) (4.582250518581304 -2.963668973805786) (1.7544473666226454 -4.3626267806729775) (0.26775687382122854 -2.307321049564379) (-2.0419861609298056 0.1694840904645765) (4.80832652648019 0.12966196814237294) (1.088042181487121 -2.2464039926874033) (1.1755392296440823 -2.126114212396968) (0.8558559335907512 -2.6952022638116877) (-1.3879774637352942 -4.129355399073276) (0.9230598615662626 -2.6963952459457614) (0.9347888690491364 -1.1518230103266234) (-0.7237451401816466 -2.6017968738477366) (-1.371527620522871 -3.2899337396938595) (-0.6485465897646492 -2.7582782281706) (0.20203730118569818 -3.126688899180339) (4.6276785797068385 -1.7990814852792734) (0.7672137590813735 -0.580149947790901) (0.7543407090455867 -2.6257429909182344) (5.844498181360298 -2.98729340657368) (2.30993072059487 -0.1668668286684538) (0.19062855354188912 -2.629328856786513) (1.2425650195287625 -2.4385517089340043) (0.7886672874472178 -3.220396375107321) (3.2452058106664885 1.9582712384866279) (0.998823726771521 -2.6462362381825324) (-1.1899948041376962 -0.5043159589195789) (0.03370544562293756 0.9681001974140117) (-0.06745992975848682 -2.5503487628611117) (1.2693595423997759 -2.7633459795747326) (-2.126697073977641 -3.0780437990250653) (-3.2531149610329826 -3.7847702961895195) (0.643584008529842 -3.2879813327087133) (-3.4397760607681263 -3.436474648874976) (-3.207877616872433 -0.9427532128613428) (-3.206420112998284 -0.5036875034548156) (-2.7528663527106363 -2.469568538422432) (-3.365275273802122 -4.078804556375178) (-3.133577175047507 -2.8402898632719533) (-2.961566558280246 -2.7023033283442306) (-2.960903019801389 -2.853364964312213) (-3.3092899767570696 -3.5652678846892747) (-2.284032688609466 -2.9417515570719637) (-2.439041711803205 -1.3133443321391545) (-2.297325250116049 -2.870010597124263) (-2.4414227718448167 -3.018261099083046) (-2.292335461367776 -2.898146074609169) (-2.7295927811222302 -2.6134774029913306) (-1.9755430464197803 -2.983999701832982) (2.2363668407161983 4.070090062710192) (-2.6755086556656744 -3.0912732929529505) (-3.9258384425039217 -3.6793890917486722) (-4.17214018988417 -3.625547520297946) (0.6935319756559166 6.386599597419692) (-2.9711594705618256 -2.9171359468711775) (-3.458510846223484 -2.9721113558309336) (-2.380971338265691 -3.2041659246242453) (-3.4590364863295133 -2.972149229363601) (-2.3207147858797263 -3.803522656122599) (-3.139983915064038 -2.634402765899502) (-2.447314450344548 -2.9896957074219506) (-2.5183451629860594 -3.4620133044420784) (-3.2398487529248365 -3.2404692837612634) (-1.9324025411642793 -2.2547172759675407) (2.1299444080963768 2.524303686956413) (-1.5457278074418541 -2.4803327082560567) (-2.632984310963157 -2.800917498005149) (-2.9108311504100004 -1.4879762251981552) (-2.944316168857324 -3.4739601198109034) (-3.0597139150630634 -3.617851777795469) (-3.3208254602740204 -3.312381433846798) (-2.6327234497054914 -2.800066382899698) (-1.8880571005243965 -3.1511465737663804) (-3.1397064609265883 -2.6348824755501137) (-3.6696019206244275 -3.4192848687394943) (-3.7274717814451304 -1.6692156429159426) (-3.266436667777773 -3.352641342053362) (-3.036039425873926 -3.027043052979685) (-4.279258714659285 -3.0647817745758155) (-2.324121722681519 -3.775415733068917) (0.49437220738504745 -0.11613177293309822) (-2.5620125888551035 -2.4980343728007544) (-3.63320801848776 -3.846968255828296) (-3.2348029055592624 -3.5507062320573595) (-3.9259325808755734 -3.6791558984299018) (1.1564322197077292 7.412327166069609) (-2.5930522643385205 -3.5188003406995496) (-3.376300227490279 -3.6628933783351565) (0.11021739461275623 4.8942039952) (-1.7998425193835041 -1.4883789522465236) (-2.2104950906591294 -2.988591636344142) (-2.2649289229952405 0.9275699640490912) (-2.9382220438376523 0.02348998828017306) (-1.7392936997880393 -2.6798773238987934) (-1.878183771204735 -1.869631039185442) (-0.14069849575050963 7.035487902494881) (-3.660734522255209 -0.23166763358044484) (-0.35315834606832863 6.636459626679759) (-0.1264577462355879 6.339845100806635) (0.6895986838696676 5.644897039658067) (-2.0210103095489207 5.149107658253916) (-0.8327828246248019 5.93044990904957) (-1.780618323062378 4.509639141832177) (-2.5824761672595966 0.20571124575575636) (-0.44016811319347504 5.974444178930456) (-1.101440129749367 5.1318680416872615) (-3.3400109376386267 1.0876622744808067) (-1.8714548712419112 4.308092791230839) (1.658509943349614 5.033252250055251) (-3.746773811600445 6.685851284199498) (-0.46526409304533556 3.423341455289565) (0.6179844056787184 3.0283133992407882) (2.305389228387368 4.692112076772867) (1.578601259627201 5.034196050958048) (2.5289034192728734 4.7561905419159505) (-3.5344432108414576 1.64079800796576) (-0.027795773477428294 4.333683409702776) (-1.3541893598726078 6.1859447106902685) (-0.13795769077664188 5.346988422572699) (-1.213456064907495 6.754976732745315) (-3.5209120592855685 6.951370322914926) (-1.2113649674253566 4.541081089875605) (-2.1561783995588653 7.273548757156667) (-0.11384934883481847 5.236188447262435) (-1.7202971930925288 5.245338399871325) (1.1052194587753217 6.129533598175811) (-2.739701710985154 1.1132472501021469) (0.584762861138709 6.717641955997889) (-0.3968304960761627 7.2818622997502604) (1.0124256678734485 5.248970203110275) (-1.6811877185779767 6.1869764589733425) (0.6674641506783572 6.1830424363931895) (-3.2385133544079245 7.0140028847258975) (-1.7664180956755668 4.774274431183717) (-0.11310005600812761 6.212860732767812) (-1.2407014814885213 6.423579500835611) (-0.3555146729287111 7.580686011662938) (1.3655338657846983 7.825604577469344) (-0.18902016333460564 7.884740081811897) (-4.357720798655176 6.324503689058057) (-2.0919761796956124 4.460839188502137) (-1.1824944957689225 5.848169930765411) (-2.298115481375201 5.396507330438582) (-2.3170043217692773 4.39571499591999) (0.06094173675548789 6.867606045266053) (-0.05979490471512751 6.673788365136643) (-1.6962121063642823 5.455095341964206) (-2.1852480119068827 4.315287231789185) (-2.3459770817441563 3.9882626981006353) (-4.157775680702153 6.090021685078104) (-4.148221317948088 7.42931464285894) (-3.5283907384499256 7.189093608312087) (-3.2821361701940375 7.2028976491359655) (-2.857401812356543 5.414636573008435) (-4.416560590244343 6.61331697686147) (-1.9980403697250815 7.746911015163613) (-1.2396152048185314 5.810648647655772) (-1.6576383038742073 5.601776279436068) (-2.105250913517868 5.8927167210874805) (-3.995672129299836 5.807712824796403) (-3.728844273141108 6.436261583507122) (-3.572611028795414 7.397832634515138) (-4.467740218501573 6.590714181433394) (-1.0725905554215738 6.3793647864119745) (-4.117549351639732 6.6270990914252215) (-1.657148579548615 6.248970628964262) (-2.587958599632677 7.99655789898824) (-5.647531623544859 5.612131726106147) (-2.167457360162085 6.3968531022992225) (-1.7360672733163687 7.393179151976974) (-1.6852695881096451 6.364473935461832) (-4.570476337275032 7.448295810050584) (-4.238286572020052 8.403977880292507) (-4.676100493038752 6.847017662362374) (-4.491590116708079 7.085982451508086) (-1.5653113413637023 7.14566615163852) (-4.103650173374898 6.48349974897423) (-4.221077608931466 8.058466594243113) (0.13866353212650748 6.381314223527839) (-3.921809752337532 7.328135142017077) (-1.064659464749118 6.384135071960528) (-5.077583247347007 7.189130138392187) (-4.439735996524356 7.392037123732116) (-7.813232288583845 10.440831701628376) (-4.344034618119211 7.669992797906715) (-5.580396445499405 8.152467254725126) (-6.241818599645847 8.19823094903415) (-3.9306692707956796 7.725193095450539) (-5.147516901195624 8.479040357901638) (-7.818202357352846 10.639569443076832) (-4.07050886680828 7.061363736940965) (-4.023117434083696 7.535561161471589) (-8.137770089295731 10.730501747457911) (-4.3247379775487795 6.848081499518949) (-7.504700855460928 9.541995221680285) (-7.623881118593538 11.300471603581288) (-7.849372051833076 9.224220175983849) (-7.010805241350395 11.082579158983531) (-8.128746549202079 9.821413889886399) (-6.05053343521458 11.35670214538042) (-8.59548462105349 9.906964261098707) (-8.371733301023704 8.678797044922709) (-7.561379976348428 7.514909829301052) (-8.270567244127053 9.648591309528811) (11.86008230016284 -0.24578825926963133) (15.478048258182184 0.6674604139965464) (10.854356884737872 -3.637030330987533) (12.504602020254863 -2.4317134856083302) (11.444964515926012 -5.1762166446025155) (10.205628420036952 -4.73725993897685) (12.49625543609936 -6.647176995961387) (10.893055657614074 -8.495606054631759) (6.818464771116932 -6.323479588143141) (8.781540940421987 -5.821878962091041) (2.8420090934435147 -7.616736675123026) (5.967218195101856 -6.687602975700426) (5.614186135059526 -8.291770955396316) (5.774012578390672 -9.312330396903468) (5.782372748554673 -8.331385371201389) (3.756454239686991 -8.517104122296423) (2.698053646469349 -8.974208005869192) (2.747240982639017 -7.625641240516999) (2.7293608234010556 -8.834135618225979) (4.23143132342331 -8.5381097846959) (3.438035664864739 -9.392452370210728) (5.882649690003445 -7.604908249748603) (4.124281853375198 -9.035347600393512) (4.061781548741928 -8.239891373722786) (3.565633324328539 -8.956821561228319) (3.8212376177841585 -5.978602966000557) (1.3141080673427157 -5.307240642586629) (3.2234426616183143 -6.841071632313968) (3.056845615741723 -5.398706012746125) (3.9897784011428805 -5.663672250564976) (2.59499770526873 -4.32520362688838) (2.065436269353456 -4.254109804533609) (1.66760432953483 -4.488909414214506) (2.614956861502116 -5.547963623311643) (2.7216585522109393 -1.712002184436118) (2.343888424505372 -1.922149070863549) (1.8585104931920393 -1.3646199961213488) (1.6139222626634333 -2.2511672331778527) (-1.7103749592691704 -0.7850410985817164) (-0.5394000944332791 -2.323538973421807) (0.3837668560495359 -1.6323166851011222) (1.417858021207233 1.768057251760109) (-2.6859390742142852 -1.7748815647829528) (-2.682943191379697 0.4319949669195618) (1.362170633616717 2.7086949493466053) (-0.3797697139071731 4.5946451627866605) (0.6374789179033503 3.719376924473768) (-2.500062288124502 2.663249655947298) (-3.246492557523909 6.062781545249804) (-0.7139226618416181 5.036433026706693) (-0.5297485335466563 4.595283365332648) (-2.4923423446196287 3.1560076965454473) (-5.286285128221057 4.765408714983143) (-2.270972061010814 4.974313687250352) (-2.7342993272671867 3.590501486703812) (-2.2364268368247187 5.598249980799237) (-4.452700853259034 4.6109926118281646) (-5.517131273963701 7.212668383501272) (0.07319445122457571 8.185182154417792) (-0.5494017592816199 8.154214632542043) (-2.4757844547116195 4.010076199645929) (-1.7959843429697877 5.32921508630115) (-3.414506189090725 5.249452153638073) (-4.556429860444375 7.199246265934805) (-6.0825486000797495 7.315226549711267) (-5.257181729609258 6.459345688588986) (-5.699686879123379 6.1719733133723675) (-5.151125767269525 5.909678820301749) (-5.774927694583287 6.139881374815453) (-7.2157403931836726 10.142480956503459) (-4.99394342273054 7.362348499685155) (-9.33173641492154 10.82519210408936) (-8.003812281530404 10.3376591569367) (-8.916898625270264 9.4124340731195) (-8.780854577473788 10.74242992656692) (-6.18181084973856 5.958686949412373) (-8.226924224163943 9.946327195438874) (-8.955910360504534 9.833658748790143) (-8.101497251782352 9.959806923481338) (-7.941887131203992 9.683585251688736) (-8.138753514763069 9.305658873441255) ((COL-AND-ROW-ADJUSTS (-1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 7.0 9.0 7.0 9.0 8.0 7.0 8.0 8.0 7.5849624 8.0 7.0 8.0 8.0 9.0 10.0 8.499846 7.0 8.403864 9.0 9.0 9.0 9.0 9.0 9.0 9.0 7.0 7.0 7.5849624 8.0 7.0 8.499846 9.0 10.0 8.0 10.0 8.666757 8.0 10.0 9.0 10.0 11.0 10.0 9.0 8.0 7.0 7.16088 7.0 9.584963 7.0 7.5576553 8.807355 9.584963 8.584963 8.0 10.0 8.146187 8.807355 7.0 9.0 8.79993 9.0 8.428779 7.5849624 8.0 7.0 8.0 9.0 8.0 8.0 8.792465 7.0 9.584963 8.314696 9.584963 8.584963 9.0 7.9576826 8.0 7.5849624 8.0 7.5849624 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0)))) 4108.669500143968 MULTIPLE-END-CONDITIONS NIL) (((-14.093246186810152 2.101312129095566) (-13.799467803006223 1.98140180550637) (-11.254314560955466 3.357619170547444) (-15.602766890016772 1.2215752137615914) (-11.003632687014825 3.701387257600127) (-11.313134743575706 4.174218159897024) (-12.296729793042573 3.9803121268508774) (-12.580777762540736 3.383260823737097) (-12.394582825983978 4.473932285311302) (-14.167629592885811 4.406577170098921) (-12.51140782231092 3.134076990495565) (-12.535844449517146 3.0600097816675778) (-13.549951636059864 -1.9969830130169288) (-11.903251962900555 2.652580893908636) (-11.407252478238886 -0.40950356488322076) (-10.401431102133689 1.9968710718753233) (-10.40137201584843 1.9970421970095396) (-11.586319487804646 0.4596532304602631) (-10.098810149793799 1.713865348742899) (-10.652029190670524 1.035020736897642) (-10.943873558324894 1.2651460789505204) (-9.416364450734521 1.4811228568665886) (-11.549496939298438 -1.8555453722689286) (-11.32028098535076 -0.7776567910842238) (-10.192942351491217 1.1511433057010796) (-11.307922839493903 -1.6442798943473185) (-9.92614067708054 0.7165193829911812) (-9.19907812512277 2.714712179960946) (-10.823344023623392 -1.4232579741105598) (-11.407180310799466 -1.1097029864023005) (-10.855498504471141 -1.9441743367418967) (-9.110485402247438 3.066338351758768) (-5.336179648071544 2.959161950929087) (-6.721116200727704 1.7383563044571326) (-5.377682000794587 2.82844656624171) (-6.3686945345701655 1.9570446823698362) (-7.3975424682791475 2.1567504457723503) (-6.458037596633549 1.9598562643017319) (-6.794145322200735 2.2164613843884218) (-7.153200033929858 1.309227003839805) (-6.739394883512949 2.2446519430849055) (-6.951262510551817 1.183824416558238) (-6.989195128689326 1.8978403624412925) (-6.495211657222077 4.890494924577497) (-4.856644670900021 4.841553371205888) (-3.7548736227451545 5.4295693268254634) (-4.815552472527514 5.031450483246585) (-4.19517408221297 5.100256102714765) (-4.290013762642886 5.081995129334247) (-2.8808869211112036 5.034966003178596) (-2.7670871068269087 6.333164513473459) (-3.1016293558278307 6.544519443453179) (-3.64898156018696 5.323971821495143) (-3.25915158060024 4.839760892033455) (-3.0183011177565477 3.0897595893098813) (-4.141403957875666 5.103637415688792) (-3.950444154855849 5.010646732778839) (-4.436978162845694 3.5010608743449105) (-2.471454178776626 6.496517349686953) (-2.934106650986332 3.534810125308286) (-4.887205983653432 5.393113480106972) (-1.8199553448292294 3.7509164041513094) (-2.995592029766776 4.270902083529475) (-2.410807778788126 3.461959434145139) (-2.183251074058276 4.304551287047599) (-1.9373900918176132 4.125562564741621) (-2.3689258808439893 4.069392059635242) (-2.4115673335870587 2.137286944989586) (1.7736831555555033 4.852891247463939) (-1.1944019598389701 1.8094934450300502) (-1.5649361010661602 3.5930045832071436) (1.2394206154623184 2.4808275079367013) (0.2164961061252434 4.578616652406159) (-2.2030359760232137 4.076344302071512) (0.20634039620372932 5.886613734785508) (1.447385255202177 4.462568165018002) (-0.27006260097406254 3.9765195276001633) (1.0383359640258345 1.7533433625410355) (1.0942706841337329 4.9445801903073985) (0.35748611108226347 2.0615822614527652) (-0.7606627574532686 4.196016478921258) (1.43158019025522 3.0820076005281276) (3.544163252578038 1.2397382849888683) (4.448812237852573 5.120109912887512) (1.2424553485969987 5.256955316870816) (1.174704224312714 5.342529604650283) (1.1290591327127055 5.336377890505395) (-1.5375193704954129 0.8150109286060417) (1.1065051404694266 5.1718955175005785) (2.03513684009312 3.923135641225549) (1.2790595095575665 7.0341148557789195) (0.4716853880091152 7.845621215289862) (-0.03443732096730798 1.8562116795331496) (1.776371912227096 5.460521406045259) (0.22927662333739696 1.5528259230626946) (2.5464814488930165 3.8874042222200296) (1.2943830085789898 5.41947124002753) (-1.4164997468890625 8.266471684870542) (2.907021812409064 4.964024858593273) (1.8164498977030448 5.4278092334704136) (0.8991006409020503 5.589252371258318) (0.4155021816821385 3.1780094005677326) (-0.9163848284408664 0.9807058949246803) (1.0957065509451678 5.105654748591925) (3.3783965051505396 2.5817315111084964) (2.286563931829024 1.1064141245652266) (1.5144085024105107 3.296933997287691) (0.5444321599999861 4.2922132768507595) (3.0204732423274607 1.771369785670043) (3.4123046406300146 0.5108341970968041) (0.2408518640915259 3.0232893273679617) (3.8476195762559886 0.706701100592254) (4.027787605610894 1.16366083606446) (4.633380124784478 1.6557310198664785) (3.980317474474444 1.9668851810292798) (3.2553313257458654 0.1880591998101871) (3.9983550919735853 1.387092158191019) (4.022617918749911 1.6449545490409776) (3.887295913591999 1.5118376225648151) (3.649340024410808 0.6736114155645075) (3.2383633468448925 1.7539996319138664) (3.977369139204744 2.2046763926462667) (3.2545064125097265 1.766962601999376) (3.382631400474555 1.667399984788159) (3.255444916594443 1.7675158528710122) (3.975417365214518 1.961854044467056) (2.9490496589042112 1.924059997506484) (-0.5212012858612082 -1.1279009592023108) (3.3568060277782994 1.3464854644880677) (3.8705691384741727 0.11017930091813376) (4.013029660770084 -0.05560393991258336) (-0.29976859671849776 -3.5064077135567757) (3.750066768592226 1.3299324219864195) (4.150382734540235 1.083776583775452) (3.099884569176098 1.4178596207046867) (4.150381667182075 1.083775639354813) (2.6311958630427763 1.0326709209990754) (4.182951993427905 1.600198087285431) (3.3571305433606464 1.6465694203054861) (3.095434879959031 1.2126497704216608) (3.8379683273641936 1.0122703858053912) (3.3896990721951186 2.655771514783375) (0.03970867999128576 0.04736894953192785) (2.971236755811905 2.8089721610209435) (3.6106281865765015 1.6668220431684284) (4.231718274900754 2.046798265367702) (3.2848342318048864 0.8688011438410631) (3.396026042914657 0.7599429419122106) (3.7600170213055017 0.8228005861885646) (3.6106293691766354 1.6668200274289529) (2.7897595536809217 1.8837028673364904) (4.182950147353606 1.6001948850453023) (4.050888229499768 0.6024893417844774) (4.492691167416144 1.2068789416815766) (3.808557881371567 0.9074237618082874) (3.8017398465528207 1.282539568686144) (4.8138869369806105 0.5890422575752874) (2.62497367610619 1.0283723691760354) (1.350688375310722 1.8991027842803287) (3.8552144696524135 2.0497616330543504) (3.657948252811191 0.22039076493946638) (3.604904236339851 0.7225184556271913) (3.8705934818447125 0.11019063399911712) (-1.561360250595817 -4.082047770026092) (2.950369946822076 1.0271052507567415) (3.6303972653705796 0.5588654133429314) (1.0230757779516306 -2.48907718696175) (3.0321524751177202 2.275073510945689) (3.1365749687941213 1.767637681852241) (3.473605452193905 1.0801768103504352) (4.349311655677521 1.5336259422497063) (2.9189701554137026 2.262592039787475) (3.684501808070545 3.147939986934404) (-0.3622999446116619 -4.203844100362625) (5.340900595131275 1.749632096967935) (0.7576450136368197 -5.1345920878845375) (2.1774824475232273 -2.3342163018725803) (2.3690964691453202 -3.03662959091545) (2.346236976041177 -4.198506670721834) (0.7606113408816162 -3.9463026556177887) (2.5729478343690326 -3.2425488068250923) (3.991297937598018 1.6439337104031941) (1.9420948207305742 -2.556147722900929) (2.088183468031751 -2.836756869089831) (4.334097313462124 0.5392837194614358) (2.2435099419325866 -3.4409093762751355) (-0.39304418865020113 -2.0244290717932416) (5.403730129678389 -3.740130125623884) (1.80159633441665 -1.8031049168363391) (0.4572081608235242 -0.2585105801154825) (-0.696767427095615 -1.5362570973373455) (-0.19136725835552454 -1.970826515410251) (-1.1141676922638366 -1.651592150460388) (4.448763000039024 -0.04842881357651726) (0.731532719171155 -1.635532673178885) (2.338872751833324 -3.895093040608967) (1.0751178134080999 -2.9307347278155866) (0.721954079565419 -4.965181309547524) (5.030362319766396 -3.1871540925702573) (2.2651881383789725 -2.846678629916394) (4.666850999658744 -2.0642478204106345) (1.386470560719926 -2.647020521638083) (2.180531484232975 -3.9730375956798385) (-0.3895369804603778 -2.9041468966969206) (3.7469575293324393 0.78307582876081) (-0.1807987354087757 -3.7125261014477102) (-0.25597667033612803 -4.619685892417844) (0.2588647117842632 -2.255573139705293) (1.2032808404939224 -4.8439537111306) (-0.11530218959494716 -2.952603295687688) (4.890159199923059 -2.58668793232596) (2.6124987449060475 -3.262514659822791) (0.6100711695450475 -2.9446246432501955) (1.1748841790438358 -4.358628819945176) (-0.621472978166458 -4.716140989952696) (-2.155006291961384 -4.411861394246806) (-1.0142510723684621 -4.5989352983602645) (5.572183644147352 -4.569698283978611) (2.813262884421496 -3.297623047900177) (2.86030581285575 -2.542506963643988) (3.2320195212774228 -3.653397746590598) (2.715260817142156 -3.849210693346763) (0.4081340789743315 -5.20864926647384) (-0.168885013443481 -5.057883446022003) (3.748017441602301 -6.749008509151432) (2.6102077578605942 -3.7607418011542557) (2.523172622420529 -3.998394068436293) (5.288618241916448 -3.5298570295218292) (5.946221588146481 -5.993299939032004) (5.728530022317251 -5.8554900695323715) (5.339882114742718 -3.07717905499651) (3.8282730032545227 -4.287949262314343) (6.16657920321366 -4.356566050996701) (3.5299007710453796 -7.084221388119922) (2.3566221112133916 -3.1789547981255692) (2.3748202127206097 -4.069967810365814) (3.1367067826936212 -3.272949405893485) (5.157740075208743 -4.397600747805925) (4.373990659078866 -2.2773730971652375) (6.5392900477062845 -5.400264170225378) (4.994362581425059 -2.063875502897812) (1.9202129781386148 -4.747414021641567) (6.1243681896818645 -4.874450026953048) (3.578174287634644 -6.457361148074698) (4.284573042360235 -1.7034182559190125) (6.446839838286345 -4.833305007343274) (3.527244841388055 -3.199467662063505) (5.753877842782701 -6.317432998389113) (2.84490872617294 -2.9630272442876384) (5.33168547814384 -1.5498413047301445) (5.472644191691622 -0.825278000301837) (5.717712979667264 -2.5559031111093127) (5.513268919220344 -2.144636138623883) (2.691824518377021 -2.8226246010839104) (5.065755003766116 -2.5033263887844215) (5.759070249454587 -1.32273281435003) (0.6109855725591651 -6.552112724067801) (5.0152756971375005 -1.9865535861970856) (2.9203135982090105 -2.561987020073173) (6.814102388857408 -3.743157892456203) (5.408970695774047 -1.6479442077841417) (10.281021173390775 -1.2405395594749051) (5.3412603762364625 -1.4286983419810286) (6.335107279913528 -1.04892524355195) (6.652923205453609 -1.0085685426432422) (4.7931920184774714 -1.0932718147650822) (5.882522609844297 -0.830731210691849) (10.688255528612459 -1.6764784480766541) (4.88801284003083 -1.7549509487265302) (5.069923501276527 -1.5851858475476648) (10.807933785566775 -1.570016646971609) (5.14064598309915 -2.0645281615041426) (9.428374467919838 -1.5311186593441237) (10.575391899969311 -0.43528013753079414) (9.454646931152851 -2.1064748868446608) (9.734653570023802 0.6263700920405696) (10.32385365390289 -0.8141696504422202) (9.540835819747695 1.0711397679104246) (10.846124164690885 -0.8832666032323058) (10.443444453569947 0.25526150051999225) (10.455462747705404 1.532497029118917) (10.664999625798671 -0.6746909062973628) (-13.364628474410875 3.263851819341086) (-16.415200322495522 -2.1915694646753896) (-10.839054256029941 0.9507113395546327) (-12.257160555972954 1.2258419497602921) (-9.991128018152956 0.18660923124161427) (-9.649624347181152 1.0717971054981172) (-9.60953554761376 -1.516195770652513) (-10.599869049158706 5.134590196662337) (-5.471540844632365 2.283995633091134) (-7.370580512970395 0.7733382154004675) (-3.1892792173116704 6.306390313501345) (-4.41979914931426 2.0467580441122135) (-6.574250325087843 5.951118738763258) (-3.637454393731004 -0.2476194637828685) (-5.1265952685305205 6.780676412457618) (-4.315308236731927 6.98080254487886) (-3.36012673008303 7.607081745761048) (-3.2911300810002255 6.379078529167882) (-3.3987555106492873 7.410496288137956) (-5.435978407083114 6.098168980584754) (-5.407406045276864 7.278089676758213) (-5.93579798338589 4.446479964858635) (-5.635080149621238 6.635386720899837) (-5.10890843152377 5.836757008022149) (-3.7372746681933013 7.398110858976933) (-3.313006864681322 4.0468360178643605) (-1.8081171770403515 6.219270294929346) (-3.4838307780400535 5.435475645848167) (-2.4983811093193586 4.708761057917823) (-3.2811292569466013 3.7879750894194606) (-2.2373442171309326 4.365739569752719) (-0.9888514658801028 4.141757918067961) (-0.5967098126285131 3.9047851006799084) (-2.3871598576547783 5.753264661999887) (-0.2590279445654306 5.466891562741539) (0.1560883075115122 5.324033490310842) (1.4622520414776263 3.3462620846400903) (0.7166650200858476 4.8144374793787375) (3.7675608809317107 3.118917071233694) (2.0394110238513394 6.444627293401521) (1.5885916295236147 4.031377184513765) (-0.5386968511299235 0.8833222123763268) (4.500093113397588 3.1734578947898906) (4.3145979234331175 1.893836830329066) (2.366503348406148 -1.642191549187181) (1.191326388971523 -2.364366861076156) (0.7412604803143628 -1.1084281683435808) (2.4541160475248947 -6.694330592570383) (3.872473987774266 -4.8629318625726325) (1.8878011305132278 -3.337877198547088) (1.3231416014838195 -3.518314096131388) (2.391326318600096 -6.005170372804408) (5.816334543031786 -4.967939817331629) (2.94210307908549 -4.4166258156968095) (2.834930324222511 -5.525035734897835) (3.5377242170215157 -4.407950295920577) (4.926079256831714 -4.979356839998872) (6.27343089860201 -2.502306262434633) (1.9136543290021035 -5.095480597241334) (3.220899939121927 -5.514018468347591) (2.761050657327976 -5.628797825096003) (3.314340452956497 -4.793123135034714) (4.507640204917159 -4.523288636592658) (5.716614284624179 -1.8505806042146051) (6.72797079614105 -2.113566096772211) (5.889496424313832 -2.957710992705338) (6.987929684594171 -4.706814439565865) (5.916868616417723 -3.197627880709693) (6.056364801279996 -2.6576279887389247) (9.157899501885659 -1.4191613644133754) (6.073892884912803 -3.2991559819816616) (11.594501491302655 -1.5077885773133746) (10.023110385502024 -1.4708511446555341) (10.30532621907324 -2.7668397898545107) (11.068813063723333 -1.7150950980741841) (6.619372168410959 -3.0959152312459537) (10.259931009864044 -0.9848412556626877) (11.250998921630538 -1.028713948174639) (10.53491359310222 -0.6734281447656518) (10.183610686885512 -0.8820609516560332) (10.97177638132702 -0.2782543565113591) ((COL-AND-ROW-ADJUSTS (-1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 7.0 9.0 7.0 9.0 8.0 7.0 8.0 8.0 7.5849624 8.0 7.0 8.0 8.0 9.0 10.0 8.499846 7.0 8.403864 9.0 9.0 9.0 9.0 9.0 9.0 9.0 7.0 7.0 7.5849624 8.0 7.0 8.499846 9.0 10.0 8.0 10.0 8.666757 8.0 10.0 9.0 10.0 11.0 10.0 9.0 8.0 7.0 7.16088 7.0 9.584963 7.0 7.5576553 8.807355 9.584963 8.584963 8.0 10.0 8.146187 8.807355 7.0 9.0 8.79993 9.0 8.428779 7.5849624 8.0 7.0 8.0 9.0 8.0 8.0 8.792465 7.0 9.584963 8.314696 9.584963 8.584963 9.0 7.9576826 8.0 7.5849624 8.0 7.5849624 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0)))) 4080.9711712129365 MULTIPLE-END-CONDITIONS NIL) (((6.492738449164781 5.930211926890789) (6.096417695316663 9.966647250918502) (5.6172154543532855 7.008611499888628) (8.17624716099781 8.528503811205397) (5.971800323358667 9.769371615095741) (5.961694475948166 6.260094364781092) (6.338472274471598 9.212036663282618) (6.699978113338276 7.845631453790449) (6.349900668253392 10.013290568660695) (6.976617900881887 5.186488829583533) (6.2828174978421 8.450024821919438) (6.2842200687397 8.460299920407316) (7.16944548081697 7.046507897985959) (5.5701191716089244 8.863728110732167) (4.213381177943932 9.607520869105368) (4.0063412871029325 10.030034287820992) (4.006307259569161 10.030070473164034) (4.4624687306352655 8.352052418201497) (3.7239759222775928 9.39339568155729) (4.145798919700184 10.156716131488666) (4.426777447082041 9.669702678056693) (2.427882900856058 9.620146041695696) (4.494798488106884 4.955627840479727) (3.9242350705564832 10.40278352402819) (3.2399505242057143 11.228272160075477) (3.15042082232954 10.364060481304481) (3.6551204855018553 9.966808187011582) (2.7597436998999703 10.763896030083181) (2.8960024916974243 5.576351314354505) (3.8874740207957075 10.754151104450933) (4.128175645101054 5.273410263643658) (0.8622857324138079 9.472884755480699) (-1.8546440725382223 7.0831021039180895) (0.44413210970065253 9.37017237990609) (-1.8055457848251208 7.304987247703805) (-0.004081479457736835 9.817053264209756) (0.4821495599152929 10.01807489946162) (0.13148370935914921 9.488776498029951) (0.22172958607453944 9.328640453830817) (0.40889193922373107 9.475852010640086) (0.2573557945561044 8.994539284968525) (1.431521550384491 9.184198805951693) (0.6861032225156605 9.12656145522398) (-2.7184335483733624 8.559194737050667) (-3.238242043332056 7.318203986501502) (-4.902808683797551 7.742736922542642) (-6.3065573555511865 6.83280476825365) (-4.4392517540045935 6.821928422500648) (-4.406800056832938 7.059253096196983) (-4.475059053854541 5.864454493708596) (-4.44985823565651 6.460206250508434) (-4.4322668811238435 6.804717380824993) (-4.874357705197722 8.12753325271563) (-4.7806479557302435 6.240737374419153) (-5.841079362194001 4.443337270610055) (-5.216403310101673 6.544553873449316) (-4.862907904568546 6.35284691275588) (-6.877156226224914 6.07311105773585) (-4.801847428713721 6.364716361639834) (-5.0020899927380285 4.320015489591218) (-5.7390709662196935 5.744314244404195) (-4.752293375265067 3.6936249259219207) (-4.886411634783173 5.093985595540248) (-4.716819227510389 4.165412437473967) (-4.001428137700802 4.746425691776807) (-4.630817353062762 4.226873560297603) (-4.417135451958567 4.679628468754061) (-7.239618904233777 3.963951507765202) (-2.5991635845384393 1.4698591665495873) (-5.803999969013164 0.7492318453647299) (-5.545175567164963 1.6211440586359958) (-0.8972170977684337 3.5236563312871536) (-3.202152357619178 2.179107437971013) (-1.9849837913012358 4.840827534633607) (-4.265159370684782 2.1516067031173414) (-2.5505803518625605 1.409667546073504) (-4.0042722209433474 3.252776700194649) (-0.2970491117550413 4.010276407477441) (-3.1278344877916404 1.9376240095123785) (-5.642265541045487 3.0260453915208014) (-2.933147172453643 3.829317505954518) (-1.461101948689609 2.0868848849104538) (0.4565069490548971 -1.0472215185560554) (-5.846968260342015 -0.5938884707524974) (-2.845269058607704 1.486100209850802) (-3.194246153007816 1.7943199427033847) (-2.7163416701222136 1.819863363128575) (-5.016352305632681 -0.31728797370246037) (-2.8366285631855175 1.9080504262241997) (-2.358671327072232 0.5341169072657161) (-3.538429414345613 -0.26327380997040767) (-5.272375106977555 -0.06854733068457121) (-1.3227132242795265 0.4873494467674129) (-2.3665009831702073 1.881088821358) (-0.3096529143807676 1.6222202214111139) (-0.8489539390436119 1.7150752066566965) (-3.5285041284859244 2.0712992587645744) (-6.972056756548326 1.8711133976225267) (-0.5457860036344065 0.9730703755410426) (-2.2092067944482587 1.0951985701490943) (-3.5194128653578853 1.2084587911865297) (-2.203003379191668 2.6785709547504197) (-4.134116004694342 -2.7975240960763696) (-2.7114369443008375 1.9006514229745188) (0.7759522982182631 1.0216068198885195) (0.9520741812834339 3.006352956042964) (-1.6353295996987298 2.0441315121038985) (-2.921467690422684 2.2372200083951186) (0.670225400754687 2.388556483347025) (1.9593676491100562 2.639945141009118) (-3.356833579051294 2.5860533801584644) (2.116094389719264 2.0807849372001304) (1.1291725344151724 -0.69521527848656) (1.7076563592129412 0.29029682762044384) (1.288361386026997 1.4114416267701495) (2.1428906581198737 2.8394355863173666) (1.7041333748929692 1.6147914835616692) (1.5077939958922122 1.5312905960594791) (1.5000069697050853 1.9247634352727319) (1.990430912583644 2.354172981517377) (0.8485261161837828 2.169645138368485) (0.9574943357225708 0.5614255685438234) (0.8641716341349436 2.1057622169067507) (1.003011521880469 2.232837366197578) (0.8589182646776637 2.1285736086449165) (1.2819262707237145 1.5705989560665246) (0.5208228103594854 2.30963410812739) (-3.642464583089683 -4.951853048645566) (1.2478894049847773 2.2272882030799575) (2.6931628229408746 1.7631511357948382) (2.9026982981042537 1.6591594105715821) (-2.024611423459897 -7.118239685025662) (1.415001328235537 0.2898210968914399) (2.0460041599322936 1.2970529894017895) (1.0806528716182362 2.2031318564418) (2.0460040024028125 1.2970542059220083) (0.9813837387390811 2.9831978938517527) (1.6510119786031217 1.5095838087639764) (1.008758464814128 2.2066389934308646) (1.1505691581191002 2.6597671940683956) (1.8901820520132084 1.9650340144436058) (0.3487769544117797 1.5525981852791608) (-2.960609461292703 -3.4642706852799816) (-0.025377947521926913 1.8423819298126463) (1.2044742885476325 1.8845973433883172) (1.323009424321805 0.7766791006763766) (1.627539424852369 2.3737667918200134) (1.7373809355831902 2.543014822287332) (1.9918028159808474 1.9475944469790432) (1.204473263457285 1.8846020816132925) (0.4168300110748741 2.5052156473516782) (1.6510115597857544 1.509584058758522) (2.3193006520521187 2.0640186646915493) (2.02778540352909 0.4375818041525475) (1.8743429319098537 2.284178848187083) (1.5852739743041047 2.1092616891935756) (2.8240285569873675 1.7087660562184306) (0.9848063135304955 2.958674590700484) (-0.5758707225519742 2.8918207821788338) (1.1460193260464104 1.4353868076626288) (2.3864106720018308 2.417611826747332) (1.9497057853738768 2.1903733537947) (2.693160358239312 1.7632187343056276) (-3.310504475190535 -7.866776782206604) (1.2509259254075766 2.640789550336883) (2.0489989777570243 2.5074664103729876) (-1.1468847553614163 -5.650963752590822) (0.5851869535763525 0.46845215116124717) (0.7704212269905429 2.234577079200399) (1.2676174454986435 -1.057235377630586) (1.2572354652193674 -0.5891103194770214) (0.24098263577793158 2.0247868365014408) (0.27447029383854316 1.1952038382325583) (-2.0955712935920716 -7.771676508909175) (2.087223356172761 0.10226198362422798) (-0.766645737635635 -8.080913429686401) (-1.5846592170283536 -6.9169410563566895) (-1.7631241091624692 -6.417745115471749) (0.37852805962645625 -6.942373414042873) (-0.924396868588082 -7.136967226579313) (0.3769732081373694 -6.109692529226581) (0.949032900568092 -0.5971226866079672) (-0.7030655235346572 -5.627715211505706) (-0.10089815157030518 -5.870104653206152) (1.8151475726137318 -1.3653448509879793) (0.22363954457505839 -6.286046082836849) (-2.8070287344013973 -5.6437770588584115) (3.3543861623302416 -5.583737964312697) (-0.6676250868518369 -4.8262438678448065) (-2.0998102044518503 -3.7377504655708598) (-3.30150821637155 -5.314888132488119) (-2.686006297976456 -5.602328485670246) (-3.6103173796309656 -5.501774421490815) (2.0200796834450943 -2.0526348721782215) (-1.4360685985550559 -4.981556356523563) (0.42220766232455736 -6.595418679889102) (-1.2291393121882797 -6.308861342624112) (-0.8156865399988141 -7.962150702266569) (3.533190884890769 -5.482971652871908) (0.011979549534013624 -5.701501204601424) (2.1654843423149575 -4.467499774442379) (-1.022745721469159 -5.751334308315204) (0.1893791746168802 -6.73865965368832) (-2.5134139874616777 -6.660310032574127) (1.6531500309205729 -1.0403813841920018) (-2.0466918292237755 -7.639685186890803) (-1.926216894548762 -8.030146505305268) (-2.2291168394581358 -5.7333930014190315) (-0.37054693416154594 -7.6754967727141805) (-2.3114880022243267 -6.439905564313492) (3.2710230823448603 -5.085254741174497) (0.40440267918329964 -6.060306147287798) (-1.6035888558917526 -6.148696005304446) (-0.77432772387059 -7.356608123798973) (-2.2671460496356923 -8.146905150096096) (-3.823375813904004 -8.407939890565602) (-2.712490216804765 -8.234397029857236) (3.522540060097919 -6.1468193131534345) (0.4920529272448022 -6.283897147844646) (0.3360026439999704 -5.611682482063651) (1.0762557316586063 -6.250345199744441) (0.6620715164145673 -6.543491614260785) (-0.8695639283124174 -8.625520063901812) (-1.6689882150794015 -8.002843708502933) (-0.01309226966300689 -6.123578896610604) (0.5518538630624344 -6.4743492614101745) (0.5101304505130067 -6.757677095661355) (3.069514922516252 -5.249375904430327) (4.333644676784766 -6.270780985724003) (3.933040868281289 -6.144348542351091) (2.80847787890976 -4.915571753980353) (1.9408339680796018 -6.69450152418344) (3.967677230665243 -5.692226842088627) (0.8847547845425029 -4.550191440061726) (0.1400381529241952 -5.984320395765247) (0.4512423210701885 -6.741913917681854) (0.8650372786726169 -5.8131958790058755) (3.154442305146829 -6.12264162691182) (1.5063835225759197 -4.325921478553051) (4.33195584185649 -5.6426492128833825) (1.9693381560576533 -3.929773125141992) (0.279846902751342 -7.579193526048673) (3.7793686380826386 -5.706215999191667) (2.2657287113810463 -8.182332719585919) (4.292818520637169 -4.9942677396029875) (4.4198630700750225 -6.080277835959171) (1.2101929560785973 -5.722276374062652) (4.343741906416239 -7.022117982209831) (0.35824922733903913 -5.83668340769882) (3.8019413969194114 -4.325605211995687) (4.294714474475194 -3.9182727318021624) (2.8325325647893833 -4.028510166325758) (3.334841799792132 -4.2055940835999905) (0.4443321038030667 -6.290157493226678) (2.4997402637629507 -4.414677696391068) (3.9905149992091276 -3.6606899183090276) (-0.9951791734524497 -8.959504999414056) (2.0725592590962743 -3.9991904728804393) (-0.119015283556053 -6.6589601517207075) (4.142987742184588 -4.628691968307669) (3.778289447393665 -4.177196861451987) (7.023802691571932 -1.7201874741332224) (1.9208509383032475 -3.2162732952441733) (4.498153615943482 -3.7188071911518703) (1.7455568006869944 -2.2896261664107476) (1.4155082607645333 -3.196041584740195) (4.8376641733892685 -4.209660366137533) (7.52494640327708 -2.0819480575738303) (1.789615290601725 -3.8651010300120148) (1.923059247208323 -3.554365060581311) (7.602411499590048 -1.6443698979991053) (2.4872602808779525 -4.233996841904536) (6.204095469408208 -1.8981022131970924) (8.03732474717162 -2.283124718812598) (5.983978805550855 -1.537057667386735) (7.929025876834129 -2.3962670010665286) (6.822763849630313 -1.0497864025424009) (6.083599332031985 0.6244600680056936) (7.247436432723065 -0.8293344241586326) (6.541893174615715 0.08679324348504996) (5.071021023023463 0.5479724747466286) (6.962144343149196 -0.853775507076511) (6.966796199966191 7.670127579936526) (9.8474462863268 6.52208737389602) (3.3210510611899373 9.21404797246467) (4.161345663313252 7.353031945504096) (2.7601023365707937 8.6378696345679) (1.900650680161157 9.377024013358572) (2.9581607132405483 6.249122149816045) (0.010583964537035377 10.041079992473675) (-1.1546936494098543 8.51764556226697) (0.8070116805354276 8.295033919374188) (-4.400459506278066 7.233169036862281) (-2.2704738620625506 9.027773768213454) (-2.9677567725042953 7.295513919483642) (-4.375185076734299 9.258023652137412) (-2.9060312876869006 8.024132823820455) (-5.040358408170749 8.043948531579746) (-6.09961384584157 7.897262805351266) (-3.7448385787602803 6.4255880850621026) (-5.659126465178616 7.933614604379908) (-5.083465173449168 8.298549586492193) (-6.268404378377423 8.353641014562138) (-2.60953356394856 8.086770680677061) (-5.397689323241323 8.632847771361082) (-5.189633778494804 7.786291005711051) (-5.344070143936226 8.281388626374605) (-5.213511090570322 5.043760841503118) (-2.651752001913764 4.370209230015081) (-3.816435321891329 6.333599251020222) (-3.918720543122111 5.0620229269573835) (-5.050162957372169 5.207218653603591) (-2.461682039298348 4.5583306008389775) (-3.1344540521800983 3.966252045312474) (-2.713756494541899 4.100283101588513) (-3.706517451263235 5.023709656471269) (-4.280561309447593 1.0405039081240282) (-3.9393330834071607 1.1529413951020848) (-1.7047282039715945 2.312644685215165) (-3.1279145893887104 1.5293429371476335) (-0.1353406298874657 -0.0015474062815719614) (-2.38548728323254 0.28958384557463257) (-1.8474174524655675 1.024141423323357) (-3.7092286225210804 -2.7775480831091675) (0.5593491549742393 1.249624521614939) (0.5863202989412156 -0.5113462015768576) (-4.333736561504885 -5.438524548874151) (-1.0840674329428248 -5.029061552165097) (-1.8164723956679003 -4.402519202758322) (1.3206443070263933 -9.33291605194625) (2.1635272439206923 -6.752632538203463) (-0.4443400910351632 -6.217189032863905) (-0.962643919693836 -6.044142787434272) (1.118000095397765 -8.663393396594262) (3.9602803660632637 -6.9963802108136415) (1.1663111463954785 -6.850953004211976) (1.4199262503957295 -8.188951389186945) (1.4990437337989888 -6.410825818537311) (3.079557044441927 -7.115836352397274) (3.227355897361698 -3.3673336786625847) (0.8606431117041565 -8.345672207967084) (1.4882613835193401 -7.7858891879499135) (1.904461900246855 -8.688603646785454) (1.4808775972668702 -7.176965005217533) (2.390630489286179 -6.497273214212613) (3.491946852446096 -4.1544463121113) (2.9932542804284066 -2.821177639057169) (2.753809943882521 -3.8637156674085062) (5.020724555956566 -5.746545638569706) (2.828378079565595 -3.769758966447407) (2.839956860275667 -3.21535119655801) (6.256563562624525 -2.212749506693374) (3.325727454091353 -4.380277689781701) (7.987616627993047 -0.945409776174366) (6.960889522822391 -1.811466536524398) (6.609091740196133 -0.7495000199604498) (7.710785721868211 -1.1376599381724364) (2.737136745707328 -2.7107991990217077) (6.752738156708731 -1.0257762846813328) (7.460315916150301 -0.41427809595475407) (7.106981532511158 -1.0810487615697106) (6.6219046811103635 -1.0815935069232958) (6.545714685335152 -0.65105507105104) ((COL-AND-ROW-ADJUSTS (-1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 7.0 9.0 7.0 9.0 8.0 7.0 8.0 8.0 7.5849624 8.0 7.0 8.0 8.0 9.0 10.0 8.499846 7.0 8.403864 9.0 9.0 9.0 9.0 9.0 9.0 9.0 7.0 7.0 7.5849624 8.0 7.0 8.499846 9.0 10.0 8.0 10.0 8.666757 8.0 10.0 9.0 10.0 11.0 10.0 9.0 8.0 7.0 7.16088 7.0 9.584963 7.0 7.5576553 8.807355 9.584963 8.584963 8.0 10.0 8.146187 8.807355 7.0 9.0 8.79993 9.0 8.428779 7.5849624 8.0 7.0 8.0 9.0 8.0 8.0 8.792465 7.0 9.584963 8.314696 9.584963 8.584963 9.0 7.9576826 8.0 7.5849624 8.0 7.5849624 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0)))) 3726.6555796397465 MULTIPLE-END-CONDITIONS NIL) (((4.885471175214588 10.019005062018325) (4.677209032303973 10.602780478976218) (3.9715288476972654 9.66971410948004) (6.397904305162065 11.614898143194472) (3.973185253605005 9.392630408778366) (4.324615728550783 9.077954227143266) (4.910074010980323 9.36162212792148) (5.081716341872426 9.97118927395745) (5.132355274367526 8.744413538140137) (5.1777250801717365 14.34686940948815) (4.65056154327183 10.629848645087005) (4.659088096281607 10.678723999390975) (5.572450695830687 12.612698342113145) (3.913349239188292 10.635220142248924) (0.9727828803957 13.408968975347685) (-0.20682312742746206 13.516280956587746) (-0.20680777565723746 13.51628500040036) (2.454074560098959 13.56851321903421) (0.2546482696560875 12.57106042591856) (0.014930186213840376 13.864770518620006) (0.4595497482852689 13.77407028112935) (-0.20240417838151525 13.448048548067463) (2.9226035571463624 10.199196068623122) (0.17650451498589115 13.922310611554806) (-0.8663160994817329 14.346222280325353) (1.6639366045077744 9.635389560437002) (0.022838391900275715 12.93415530834016) (-1.011688319947327 13.61972092043611) (0.7863500740661509 13.614909924231203) (-0.08845216244732791 14.22755057225242) (0.6043817082832237 14.446122657354113) (-1.567858686362481 11.961899264083662) (-2.38510210385013 8.038555749157513) (-0.07139089065744811 8.586015983280827) (-2.503584468655754 8.29229539748416) (-0.2664002335619384 8.246943029041597) (-1.820966901695485 10.995238050632295) (-0.34461135060297277 8.377227110824927) (-0.16106038736422557 8.484336089666472) (-0.5395749318723736 9.443274787728047) (-0.4028446278574692 8.575741446722988) (0.7494487472061068 8.727558345978533) (-0.12456829281555715 8.811815858434771) (-3.6515366084232213 8.714498918099109) (-3.7260149097125455 7.151154452142352) (-6.089664309352595 7.184367943116153) (-5.857969596983004 5.8470906820780435) (-4.220944110575693 6.32029068337003) (-4.3013068253600055 6.450782940522535) (-4.2138459996198625 5.534960341506573) (-4.786123159373988 5.758602911865797) (-4.958792897433766 6.0476748510066205) (-5.974389201181535 7.311848028992156) (-4.210996610860825 5.934735488671991) (-2.6759095338371273 5.92993748273556) (-4.910164288315443 5.682128669932119) (-4.5330648069856405 5.773591066644562) (-5.990021650142154 5.199131302287652) (-4.665558519469443 5.585527717525729) (-2.591938123387616 5.537806442336218) (-3.8833225884937304 6.613957746110662) (-1.983239133058112 5.083450840124032) (-3.5633180115577012 5.1317446967347795) (-2.2797775554044866 5.400808616977848) (-3.304673327068638 4.529079983981975) (-3.6551148073209907 3.868433016197387) (-3.4733160875962064 4.592494552263124) (-5.888822253038842 2.8545925505247225) (-0.6922068223542597 1.9653908151341186) (-3.9880525435884913 0.28876204817919937) (0.6323657330295728 4.355322461092644) (-3.518723304908754 1.2244717569058043) (-1.1832486386434604 2.70705285332411) (-4.32598665527237 2.795210654140008) (-0.14871933588204253 2.9055024256254427) (-0.48471049415213896 2.1729926166178894) (-1.9299466387783641 4.075392643769955) (-4.21116524566212 0.9245054884161965) (-1.0985708770824818 2.611888481733221) (-4.132421501162573 1.7017881535651258) (-2.8706169080312294 3.2267463795001303) (-1.7754539959993187 0.9264146156529548) (0.29213548936023687 -1.778314576232965) (2.655701388221945 3.388573111545147) (-0.42301728333246846 2.139611013127881) (-0.2330448594682162 2.3450513383067793) (-0.5606236433784451 2.0958455093228276) (2.035059367181406 3.322888793513244) (-0.6925494951093853 2.2212909920233006) (0.25493742713377165 1.6719600987001983) (1.2487948481281839 2.3428577267707555) (1.8777323098271355 3.323937598653651) (0.8496532368562438 1.5310665579150333) (-0.22817856302114878 1.8014013049105482) (1.165720222855482 1.4914494870333557) (-1.4731187735582345 0.27267272300506357) (-0.28011275830710075 2.0744618761611773) (1.378319567829898 5.657376999487563) (1.1786293817559317 3.0065600660973844) (0.05985771178486314 1.7788845993362656) (-0.145356372640747 2.5688219218694766) (-2.0263782707992166 1.767422852198269) (3.5618378531904455 1.655672611106735) (-0.7700911635792834 2.080931040479681) (-1.64153640858003 -1.2895955482191188) (-3.8505953368093637 -0.539295454109651) (-1.5132257351518945 1.1398904225330382) (-1.2555581176980133 2.623848371049938) (-2.9296472054896388 -0.742124975863586) (-3.929950703696639 -1.6043981139163446) (0.302144154940676 2.43626641124848) (-3.422125954007387 -2.0531783242147394) (-0.13009799303238614 -2.2053780396305585) (-1.3895431088587396 -2.450740753928725) (-1.9485185521936272 -1.7519391555829649) (-3.774275767582118 -2.0478850760241882) (-2.3537075129990064 -2.0797455890961034) (-2.355757263473758 -1.875652892708642) (-2.8031391148240288 -1.6911320475963714) (-3.662016057203633 -1.786233666709608) (-2.9923427289016304 -0.8635549130209857) (-1.3752474510800095 -1.6627038718975) (-2.9465379452750624 -0.876331941108048) (-2.990205977913451 -1.0724828066863936) (-2.959718473256019 -0.8786189077404988) (-2.0961255891051804 -1.7197126687610271) (-2.9575103120540924 -0.5044537688583101) (5.394823227360467 0.2762202992060934) (-3.0573268601452748 -1.3145073925277313) (-2.165640720470225 -3.1364725010209633) (-2.7895331269482657 -3.1794739533227028) (6.702202271587909 -1.928584659181217) (-0.937622142735177 -2.172742366741821) (-1.9897920837908243 -2.5207891142352508) (-1.867576384269729 -1.7051186959723776) (-1.9898005865410457 -2.5207988606702383) (-3.564052371888874 -0.8623774688434278) (-2.3884928349254966 -2.009521068670574) (-2.8833528645995172 -1.1178688656584825) (-3.662885066953069 -0.7813387669039502) (-2.636205429447729 -2.2022594053915028) (-2.090206873000934 -0.7439882671269717) (3.692252335334397 0.3094375695673793) (-2.1422872275486404 -0.3067244065277211) (-2.6941934441002315 -1.4260569348928867) (-1.5744879774120526 -1.9339372402630999) (-3.5814768252622216 -1.400715428877404) (-3.7589275779843074 -1.4506681090362783) (-3.144978265311437 -2.0641089795507312) (-2.6941913353991485 -1.4260556315003832) (-3.018662433786253 -0.36593829817996354) (-2.388495411463342 -2.0095138308604534) (-3.3095217593058255 -2.3504309495409075) (-1.3709346913272542 -2.7174136716515678) (-3.4026423492700015 -1.8215279224994598) (-3.058932944195752 -1.6721141676593387) (-3.004552862513326 -3.0186408632123363) (-3.5820307441322443 -0.8580704128232052) (1.0163039770645903 0.9311917570184878) (-1.774761487874762 -1.6356003973072302) (-3.8793077827403404 -2.1235954011401756) (-3.66303390157677 -1.698229624991095) (-2.1657172252564756 -3.1364654531508918) (7.869696597626377 -1.1343428292480016) (-3.6595833860908953 -0.9407967130189402) (-3.716517537293402 -1.8531971281438389) (4.949718862576594 -2.223466569369167) (-1.3647225151601021 -1.0265618293692065) (-2.942801350904724 -0.8096909893849314) (-0.3158474667202641 -2.5648833513283877) (-0.5555620275709838 -2.3316504020009523) (-2.5418499429040677 -0.41112693452039745) (-1.66431733956833 -0.818236628983064) (7.311364513372773 -2.1966174945070738) (-1.5146561471210378 -2.838851036914524) (7.2028826887413695 -3.6397877241298593) (6.405585223479946 -2.3975607131773637) (6.093103153584469 -1.6955037087082696) (5.631133820676813 -4.15571201990719) (6.3201618197114176 -3.044419671533906) (4.828473023079337 -3.7839735492429543) (-0.5393258527831495 -2.0696260558880426) (4.710362112944401 -2.6443600160575804) (4.735080680762032 -3.2356492496648728) (-0.20209804765427622 -3.1776466056073285) (5.011337252291539 -3.7142848282495575) (5.6043695561510996 -0.7041205524245386) (3.112080861724038 -6.2935919778472895) (3.9966959189069957 -2.3194957093401825) (3.605769595249671 -0.4607913001431878) (5.463966291797926 -0.1542923964356319) (5.495720478572826 -0.8119464956631519) (5.777576656911456 0.04767722773320036) (0.4295208366605591 -3.6265499467384177) (4.498591072886921 -1.5563228963870006) (5.319042308572621 -3.9906114536570714) (5.69096285206277 -2.4399420046439504) (7.052055450922324 -3.5024649597892985) (3.042744444008822 -6.433683322003067) (4.615449448091321 -3.305231688200653) (2.5103411647284135 -4.598434122246383) (5.057578991259974 -2.4037012388184946) (5.507468584769475 -3.8972583226689794) (6.553659470256271 -1.4320997298077383) (-0.48748440030615275 -2.8948726499137485) (7.194347289019341 -2.2593082880846485) (7.486915783447911 -2.4730130261426333) (5.530165021044438 -1.3002086424364332) (6.6204674849409395 -3.779254491553426) (6.2642936519330314 -1.5244830219493237) (2.8134823246045273 -5.925463466795646) (4.794683414011881 -3.8064328062389485) (5.711934543684754 -2.0534420720173645) (6.476976386453979 -3.298598039078656) (7.738156565042657 -2.2190599959007113) (8.595163653799188 -0.9009810975542484) (7.998508955687934 -1.8615403039467662) (3.6206728841027593 -6.7462758036494295) (4.938712501132295 -3.972778518488522) (4.364497492280788 -3.554316502941852) (4.687599971081701 -4.518437931696815) (5.127376561156067 -4.248771279230207) (7.730313760773436 -3.8173696878658685) (7.450879790543553 -2.77277146409461) (5.025708465290454 -3.399467731986427) (5.11243475327541 -4.121796343566067) (5.384386884034808 -4.20341306329703) (2.987822372264554 -5.976962445626179) (3.472036218734048 -7.64800720135524) (3.4649701146273317 -7.232821608354456) (2.7358733199714815 -5.541277887325338) (4.726698629429338 -5.481461718186095) (3.016169677709172 -7.033479807882392) (3.102040181415617 -3.6142818834797015) (4.838098170505828 -3.557127909553388) (5.4194340947125 -4.144659852494383) (4.3659829226513995 -4.15769381118919) (3.7338173541066597 -6.405015126214958) (2.7441875144610064 -4.206908425936177) (3.1155646601526406 -7.732841763085993) (2.2188539328764794 -4.464653488545126) (6.247493517488978 -4.3226196269296615) (3.2336369916872467 -7.105712999235608) (6.208155447961115 -6.617288161438296) (2.2425348372192366 -7.132814419677113) (3.1893586202680444 -7.585254836699346) (4.1351807415877335 -4.410463635247038) (4.221461791680557 -7.993681216113275) (4.537548589087632 -3.710173152518127) (1.6497354971903433 -4.258898322660046) (0.8874544174895399 -3.936705481879808) (1.98496616362259 -5.367155324443899) (1.959159628057626 -5.049888992457194) (4.995942803799132 -3.797726030210227) (2.428458075861273 -5.1035359635001205) (1.072531592582548 -6.084866539687885) (8.056627059140379 -3.821889644247337) (2.1208120046956003 -4.558137542538885) (5.470262103604776 -3.6061823532384625) (2.1287684564518985 -6.950952256329385) (1.7186987747561138 -4.521861389329573) (-2.1655322133654167 -7.545956023489892) (1.4863133439847043 -4.305739397859753) (0.5317989592018524 -4.423031268137308) (0.516669826418604 -4.188055213048215) (1.6486461720473824 -3.725432112609583) (1.5633935932824403 -7.767409478243309) (-2.032065132404567 -8.632254645181265) (2.0806551623728815 -4.234958890770967) (1.786017874618121 -4.31461148206422) (-2.205709034189209 -8.610686897361202) (2.13608394194443 -4.687496879385078) (-1.4833989268712053 -7.241967567217753) (-3.00635149613847 -7.336754041299988) (-0.7978828488863675 -7.856472002731885) (-3.3676724239438762 -7.31785329892021) (-2.177878302474547 -7.8299361821538715) (-3.4614792661454157 -6.397465438973253) (-1.5886640760047783 -7.547730459569947) (-2.678859444255416 -6.959555339669362) (-3.32228550370603 -5.839188545801123) (-1.8739501196956967 -7.45512139031249) (4.785844178292139 11.615634787607231) (8.052371942001104 12.543152945025833) (1.1110222007575963 12.023623189077718) (2.756631728950366 12.310916486512893) (0.5574890834292273 12.014632375642995) (-0.22479828635173868 11.540540636040907) (1.6436662879335533 12.939852160478376) (-2.325575304983452 12.460276915364956) (-2.0678814418770988 8.539777395531699) (-0.543477256229826 9.986289600051675) (-5.338533098345475 5.990175449389969) (-1.8414674124133326 6.858613150928618) (-2.7395118050310594 8.396945486777646) (-5.501078556342235 8.775613652744608) (-4.427008337174496 8.551832090484712) (-5.688906342599939 6.993979180395978) (-6.629445878534375 6.173408632900485) (-5.226208607395996 6.379401013929981) (-6.417373832342546 6.738585108627304) (-5.722799038344013 7.176561256166964) (-6.79919189008615 6.954188812441175) (-4.053556215436457 8.490586077263169) (-6.264328219295484 7.276770734521362) (-5.536247961869135 6.83891669937716) (-6.259885832627582 6.806218085383165) (-3.736481257870403 5.391855400088089) (-2.926476091647404 3.21348239974516) (-4.64565125280595 5.857280903122155) (-3.002648836922276 4.753932269153919) (-3.6741405494005277 5.402149583770154) (-2.357577752915966 4.056546754788186) (-2.2486898028670095 3.4997983393541037) (-2.703182063360641 3.125579965021046) (-3.385579398993144 4.4177255998234335) (0.189763100656752 3.4362366002410853) (-0.4166161357906734 3.2591177548257737) (-1.9940865467891178 1.0718469837055387) (-1.1742548762223985 2.4500982594656042) (-0.4284034323476584 -0.8423125980739782) (0.3011680086456176 1.4006024974974278) (-0.7405676982669486 1.084091290364621) (3.5830083997001867 1.3511148432644409) (-2.054933288751185 -1.0157022603894361) (-0.38012118582525745 -1.7373400934003458) (6.198193714633077 0.7557343589941656) (4.467924893263315 -2.017729462110812) (4.214287894291918 -1.1206483375518799) (7.361978133437943 -6.01324358960664) (4.756240723256019 -5.723975088224248) (5.3079157302001665 -3.1653364482559434) (5.309036376682026 -2.54138857504298) (6.834198122611012 -5.554671580876115) (4.146584100585142 -7.394282880224128) (5.23682274277626 -4.851190848903676) (6.258441623177434 -5.6167518713427524) (4.7111715119999715 -5.073544194938437) (4.529158600702812 -6.658743797613322) (1.4121760693744545 -5.629227619668733) (6.654782279261177 -5.239643821798781) (5.8413012460527955 -5.631683491088551) (6.50347204360377 -6.321141638384158) (5.319833468985682 -5.3532325698657575) (4.3668900334496 -5.901599813320409) (1.311248533876618 -4.8555255317670705) (0.7619083012034876 -5.27578418206215) (2.079573701805324 -5.69265500319497) (2.8199776443045117 -7.980377889518473) (1.991669026547301 -5.602119578650065) (1.5685431628961264 -5.600699075539432) (-1.2036086418525072 -7.049289285953615) (2.1009283619529833 -5.896706822497436) (-3.0834754091805756 -8.24896618479829) (-1.501292723426869 -8.060887084670576) (-1.238718016338679 -8.674789239731348) (-2.2735787623416046 -8.670345884149777) (1.488283523126657 -6.033700440382129) (-1.9363979918477032 -7.827439628132726) (-1.2760686210178085 -7.742599674786119) (-2.1693829055095843 -7.7310692734137705) (-2.0363063932345016 -7.893512269795277) (-1.7703809573233869 -7.039662025677205) ((COL-AND-ROW-ADJUSTS (-1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 -1.0E7 7.0 9.0 7.0 9.0 8.0 7.0 8.0 8.0 7.5849624 8.0 7.0 8.0 8.0 9.0 10.0 8.499846 7.0 8.403864 9.0 9.0 9.0 9.0 9.0 9.0 9.0 7.0 7.0 7.5849624 8.0 7.0 8.499846 9.0 10.0 8.0 10.0 8.666757 8.0 10.0 9.0 10.0 11.0 10.0 9.0 8.0 7.0 7.16088 7.0 9.584963 7.0 7.5576553 8.807355 9.584963 8.584963 8.0 10.0 8.146187 8.807355 7.0 9.0 8.79993 9.0 8.428779 7.5849624 8.0 7.0 8.0 9.0 8.0 8.0 8.792465 7.0 9.584963 8.314696 9.584963 8.584963 9.0 7.9576826 8.0 7.5849624 8.0 7.5849624 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0)))) 3686.9802084848648 MULTIPLE-END-CONDITIONS NIL))\n\n\nunix, allegro 4.2\n\nUSER(2): (benchmark-ten-dim-anneals last-hi-table)\n5143464 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5015288 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5031576 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 187,530 msec (00:03:07.530) user, 340 msec system\n; cpu time (gc) 22,670 msec user, 50 msec system\n; cpu time (total) 210,200 msec (00:03:30.200) user, 390 msec system\n; real time 218,666 msec (00:03:38.666)\n; space allocation:\n; 171,442,642 cons cells, 0 symbols, 1,264,977,344 other bytes\n5013152 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5031744 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5002040 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 178,020 msec (00:02:58.020) user, 400 msec system\n; cpu time (gc) 21,960 msec user, 0 msec system\n; cpu time (total) 199,980 msec (00:03:19.980) user, 400 msec system\n; real time 208,193 msec (00:03:28.193)\n; space allocation:\n; 162,618,034 cons cells, 0 symbols, 978,760,112 other bytes\n5016368 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5020360 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5031624 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 219,380 msec (00:03:39.380) user, 410 msec system\n; cpu time (gc) 14,310 msec user, 20 msec system\n; cpu time (total) 233,690 msec (00:03:53.690) user, 430 msec system\n; real time 243,788 msec (00:04:03.788)\n; space allocation:\n; 200,947,414 cons cells, 0 symbols, -2,073,675,784 other bytes\n5010024 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5020160 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5020128 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 210,710 msec (00:03:30.710) user, 440 msec system\n; cpu time (gc) 25,140 msec user, 10 msec system\n; cpu time (total) 235,850 msec (00:03:55.850) user, 450 msec system\n; real time 246,329 msec (00:04:06.329)\n; space allocation:\n; 192,514,489 cons cells, 0 symbols, 1,950,317,328 other bytes\n5145584 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5017176 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5032056 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 152,470 msec (00:02:32.470) user, 300 msec system\n; cpu time (gc) 19,760 msec user, 0 msec system\n; cpu time (total) 172,230 msec (00:02:52.230) user, 300 msec system\n; real time 179,068 msec (00:02:59.068)\n; space allocation:\n; 140,426,162 cons cells, 0 symbols, 259,001,720 other bytes\n5024864 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5008128 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5002576 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 211,040 msec (00:03:31.040) user, 430 msec system\n; cpu time (gc) 24,590 msec user, 10 msec system\n; cpu time (total) 235,630 msec (00:03:55.630) user, 440 msec system\n; real time 245,551 msec (00:04:05.551)\n; space allocation:\n; 193,370,158 cons cells, 0 symbols, -2,317,123,504 other bytes\n5018984 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5007688 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 118,510 msec (00:01:58.510) user, 240 msec system\n; cpu time (gc) 7,450 msec user, 10 msec system\n; cpu time (total) 125,960 msec (00:02:05.960) user, 250 msec system\n; real time 132,431 msec (00:02:12.431)\n; space allocation:\n; 107,770,141 cons cells, 0 symbols, 3,487,848,120 other bytes\n5013368 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5020016 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 171,090 msec (00:02:51.090) user, 360 msec system\n; cpu time (gc) 19,420 msec user, 30 msec system\n; cpu time (total) 190,510 msec (00:03:10.510) user, 390 msec system\n; real time 198,554 msec (00:03:18.554)\n; space allocation:\n; 156,029,851 cons cells, 0 symbols, -3,527,661,328 other bytes\n5036560 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5002256 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5008584 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5008488 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 239,880 msec (00:03:59.880) user, 500 msec system\n; cpu time (gc) 29,620 msec user, 20 msec system\n; cpu time (total) 269,500 msec (00:04:29.500) user, 520 msec system\n; real time 282,040 msec (00:04:42.040)\n; space allocation:\n; 219,714,612 cons cells, 0 symbols, 2,831,652,816 other bytes\n5004784 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5031816 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n5020040 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 190,160 msec (00:03:10.160) user, 410 msec system\n; cpu time (gc) 12,230 msec user, 30 msec system\n; cpu time (total) 202,390 msec (00:03:22.390) user, 440 msec system\n; real time 212,065 msec (00:03:32.065)\n; space allocation:\n; 173,942,910 cons cells, 0 symbols, 1,348,665,464 other bytes\n; cpu time (non-gc) 1,878,800 msec (00:31:18.800) user, 3,830 msec system\n; cpu time (gc) 197,150 msec (00:03:17.150) user, 180 msec system\n; cpu time (total) 2,075,950 msec (00:34:35.950) user, 4,010 msec system\n; real time 2,166,849 msec (00:36:06.849)\n; space allocation:\n; 1,718,781,212 cons cells, 0 symbols, 4,202,887,856 other bytes\n((((-13.148785685522071d0 -1.6228114577900512d0) (-12.739043690130629d0 -2.455993036265313d0) (-11.412248341494202d0 -2.1049605124411035d0)\n (-14.051581691297903d0 -2.2832675255551997d0) (-11.77981792713656d0 -2.4131243418577095d0) (-11.759040140137591d0 -2.9959585214950812d0)\n (-12.488579082043788d0 -2.4279588098225284d0) (-12.590285318920955d0 -2.2237809019009993d0) (-13.000157866958132d0 -1.892365510624885d0)\n (-13.986506653538331d0 -1.3079994384083087d0) ...)\n 3765.4830219042015d0 MULTIPLE-END-CONDITIONS NIL)\n (((-8.098916503694094d0 -2.5997156072681276d0) (-11.787304098364752d0 -0.8014542484770566d0) (-7.613150106730604d0 -1.5850409867274113d0)\n (-11.716905951221008d0 -2.8229058895781063d0) (-7.449101096261155d0 -1.8760206072820385d0) (-7.02984950933407d0 -2.0335353315042037d0)\n (-7.682841801169896d0 -2.581510630785171d0) (-8.348132515688194d0 -2.6456276828236134d0) (-6.892895500487715d0 -2.927276846672471d0)\n (-7.681330164846373d0 -3.3373602182236692d0) ...)\n 4509.6562412756975d0 MULTIPLE-END-CONDITIONS NIL)\n (((-9.460560337336217d0 3.6666224508745997d0) (-10.630098781194365d0 3.227969696590963d0) (-9.589106053629441d0 2.5717485436571352d0)\n (-11.448120702496958d0 4.501495332598538d0) (-9.415171622183935d0 2.477562219574234d0) (-9.028689065426308d0 3.0269870292094874d0)\n (-9.435571328992195d0 3.489384270671226d0) (-10.105564737415481d0 3.585126038380113d0) (-8.721162921565448d0 3.84019120747363d0)\n (-8.879012622635909d0 4.411448584715208d0) ...)\n 4021.0064005160657d0 MULTIPLE-END-CONDITIONS NIL)\n (((-8.639044318029875d0 -0.03152809342218534d0) (-10.845165640958239d0 -2.7308562342112186d0) (-7.903055982419902d0 -1.2905043923190713d0)\n (-10.951430910115517d0 -0.829323284274589d0) (-7.897990081358704d0 -1.0320819268930221d0) (-7.5841331064010715d0 -0.6197783561406537d0)\n (-8.42264462024102d0 -0.4060111898958782d0) (-9.131012138124383d0 -0.7475012047768854d0) (-7.751093033948316d0 0.2915840854388156d0)\n (-12.250416946229837d0 -2.8733273677837916d0) ...)\n 4574.938415094654d0 MULTIPLE-END-CONDITIONS NIL)\n (((-10.299638099119896d0 2.073552219172628d0) (-9.947008507242188d0 1.7672342126337213d0) (-7.726995490209915d0 1.753747244396106d0)\n (-8.646714353321581d0 3.3897153667891433d0) (-7.8603559469619375d0 1.9377988193380602d0) (-7.189006515862207d0 2.2623812251274176d0)\n (-7.822058918022846d0 2.642082860829442d0) (-8.567545894114268d0 2.518692233620829d0) (-6.959517496108855d0 3.148494587195815d0)\n (-6.849618534291138d0 4.0297791073870854d0) ...)\n 3611.7118040086775d0 MULTIPLE-END-CONDITIONS NIL)\n (((-4.841482270653437d0 -6.217838153282934d0) (-8.420264739385145d0 -6.595177855718531d0) (-5.508124158258234d0 -5.118020906107479d0)\n (-6.883122253612464d0 -7.907321631001897d0) (-5.37115234973169d0 -5.201555765951633d0) (-4.817097505571246d0 -5.306561382846337d0)\n (-5.043594600118635d0 -5.939232897121974d0) (-5.7073632545180875d0 -6.33308322901028d0) (-4.168587536694739d0 -5.866642283941992d0)\n (-4.037313896018686d0 -6.571446098567394d0) ...)\n 4396.199136680333d0 MULTIPLE-END-CONDITIONS NIL)\n (((10.421461059257172d0 -0.40041719912588036d0) (10.842685721714165d0 -0.8315179164383907d0) (10.281204467399762d0 -1.296796726809475d0)\n (12.908441306464672d0 0.30971539286210376d0) (10.17021457748627d0 -1.5087682807723195d0) (9.889095070861416d0 -0.7226117859293794d0)\n (10.3595343241014d0 -0.44289306379800875d0) (10.828725388154236d0 -0.4414329348226444d0) (9.818847656434933d0 0.06964760941503507d0)\n (10.049286452128516d0 0.5986326104271011d0) ...)\n 4108.669849136427d0 MULTIPLE-END-CONDITIONS NIL)\n (((-14.093260021983665d0 2.1015734632213783d0) (-13.799521777744069d0 1.981566015911056d0) (-11.254331643650938d0 3.357731574851035d0)\n (-15.602814688994457d0 1.2217891299490156d0) (-11.003620880942764d0 3.701501322953769d0) (-11.313141018090361d0 4.174328948805389d0)\n (-12.296744398223147d0 3.980441901061714d0) (-12.580796201462796d0 3.3833948214115575d0) (-12.39459408827515d0 4.47406344761317d0)\n (-14.16808983221294d0 4.406239167965559d0) ...)\n 4080.9720305083547d0 MULTIPLE-END-CONDITIONS NIL)\n (((6.4906377016030685d0 5.924386907163243d0) (6.0977199210791335d0 9.963402069420132d0) (5.616909996572465d0 7.000145449661906d0)\n (8.176046550464632d0 8.524089006929096d0) (5.9740074280545805d0 9.765708234940634d0) (5.960669000557925d0 6.248982109525613d0)\n (6.340762621339015d0 9.205707076454228d0) (6.700852296423071d0 7.8381442126333205d0) (6.352619334790651d0 10.008334960055372d0)\n (6.976505249357948d0 5.183372301593193d0) ...)\n 3726.632701212225d0 MULTIPLE-END-CONDITIONS NIL)\n (((4.8869418899489006d0 9.879839577295865d0) (4.605046253300509d0 10.50610188415266d0) (3.972659246828573d0 9.615501363887239d0)\n (6.436563620250787d0 11.392645441271547d0) (3.9363518912121864d0 9.319997666706202d0) (4.325563359527706d0 9.015425201357395d0)\n (4.906813725550486d0 9.26988785578811d0) (5.091677178930668d0 9.851455022922211d0) (5.121108410794977d0 8.694397518255393d0)\n (5.1980625566371454d0 14.270827908403108d0) ...)\n 3691.528961434071d0 MULTIPLE-END-CONDITIONS NIL))\n\nwindows:\nuser time = 3191.330\nsystem time = 0.000\nElapsed time = 0:53:12\n\nunix:\n; cpu time (non-gc) 1,878,800 msec (00:31:18.800) user, 3,830 msec system\n; cpu time (gc) 197,150 msec (00:03:17.150) user, 180 msec system\n; cpu time (total) 2,075,950 msec (00:34:35.950) user, 4,010 msec system\n; real time 2,166,849 msec (00:36:06.849)\n\nlispworks on windows is 50% slower.\n\nand 4.2 on linux, we know is about 10% slower than on 6.2 on windows,\nso lispworks takes about about 65% more time.\n\n\n\nallegro on unix\n\nUSER(2): expected one sera line, but got 2, using the last. the sera lines were: \n (HK\/1\/68 EN\/42\/72 PC\/1\/73 SL\/840\/74 VI\/3\/75 TE\/1\/77)\n (F6811 F44\/5 F166\/7 F76\/7 F83\/5 F230\/1)\n(benchmark-ten-dim-anneals last-hi-table)\n; cpu time (non-gc) 6,770 msec user, 40 msec system\n; cpu time (gc) 1,400 msec user, 10 msec system\n; cpu time (total) 8,170 msec user, 50 msec system\n; real time 8,893 msec\n; space allocation:\n; 4,995,330 cons cells, 0 symbols, 239,231,864 other bytes\n; cpu time (non-gc) 10,700 msec user, 90 msec system\n; cpu time (gc) 1,870 msec user, 0 msec system\n; cpu time (total) 12,570 msec user, 90 msec system\n; real time 14,075 msec\n; space allocation:\n; 7,931,004 cons cells, 0 symbols, 382,291,176 other bytes\n5001752 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 13,780 msec user, 70 msec system\n; cpu time (gc) 2,910 msec user, 10 msec system\n; cpu time (total) 16,690 msec user, 80 msec system\n; real time 18,651 msec\n; space allocation:\n; 10,184,185 cons cells, 0 symbols, 490,359,136 other bytes\n; cpu time (non-gc) 8,360 msec user, 50 msec system\n; cpu time (gc) 1,500 msec user, 0 msec system\n; cpu time (total) 9,860 msec user, 50 msec system\n; real time 10,794 msec\n; space allocation:\n; 6,150,585 cons cells, 0 symbols, 295,144,312 other bytes\n; cpu time (non-gc) 10,570 msec user, 70 msec system\n; cpu time (gc) 2,010 msec user, 0 msec system\n; cpu time (total) 12,580 msec user, 70 msec system\n; real time 14,085 msec\n; space allocation:\n; 7,812,201 cons cells, 0 symbols, 376,788,456 other bytes\n5005944 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 6,360 msec user, 50 msec system\n; cpu time (gc) 1,670 msec user, 0 msec system\n; cpu time (total) 8,030 msec user, 50 msec system\n; real time 8,669 msec\n; space allocation:\n; 4,684,846 cons cells, 0 symbols, 224,334,088 other bytes\n; cpu time (non-gc) 6,290 msec user, 40 msec system\n; cpu time (gc) 1,180 msec user, 0 msec system\n; cpu time (total) 7,470 msec user, 40 msec system\n; real time 8,317 msec\n; space allocation:\n; 4,671,696 cons cells, 0 symbols, 223,653,544 other bytes\n; cpu time (non-gc) 5,470 msec user, 30 msec system\n; cpu time (gc) 1,040 msec user, 0 msec system\n; cpu time (total) 6,510 msec user, 30 msec system\n; real time 7,218 msec\n; space allocation:\n; 4,025,241 cons cells, 0 symbols, 192,126,080 other bytes\n; cpu time (non-gc) 11,800 msec user, 60 msec system\n; cpu time (gc) 1,910 msec user, 0 msec system\n; cpu time (total) 13,710 msec user, 60 msec system\n; real time 15,214 msec\n; space allocation:\n; 8,698,701 cons cells, 0 symbols, 418,703,768 other bytes\n5004864 bytes have been tenured, next gc will be global.\nSee the documentation for variable *GLOBAL-GC-BEHAVIOR* for more information.\n; cpu time (non-gc) 10,770 msec user, 40 msec system\n; cpu time (gc) 2,530 msec user, 0 msec system\n; cpu time (total) 13,300 msec user, 40 msec system\n; real time 14,457 msec\n; space allocation:\n; 7,953,354 cons cells, 0 symbols, 382,586,824 other bytes\n; cpu time (non-gc) 90,890 msec (00:01:30.890) user, 540 msec system\n; cpu time (gc) 18,020 msec user, 20 msec system\n; cpu time (total) 108,910 msec (00:01:48.910) user, 560 msec system\n; real time 120,527 msec (00:02:00.527)\n; space allocation:\n; 67,110,476 cons cells, 0 symbols, 3,225,341,552 other bytes\n((((1.2095894295287153d0 4.313293555525809d0) (0.3751489414655001d0 3.5760325987909316d0) (0.3763775036754763d0 3.4123649761443575d0)\n (0.15147634324914847d0 3.3784334235736857d0) (0.4521290664965054d0 3.362430872385832d0) (0.21361199583037446d0 3.044438479768583d0)\n (0.4393071651193433d0 3.8956500724236793d0) (0.43816464900926405d0 3.658673048511127d0) (0.3998020679973127d0 4.0612699835669055d0)\n (0.4816958561905903d0 3.85168164265843d0) ...)\n 280.8307773828629d0 MULTIPLE-END-CONDITIONS NIL)\n (((1.195960495291391d0 4.279193803182586d0) (0.20227530356570475d0 3.7187417089183765d0) (0.35398965034421537d0 3.5242227473921415d0)\n (-0.10527242199811486d0 3.5787595628980355d0) (0.233087880403151d0 3.4896408794204814d0) (-0.012991517583530569d0 3.2160229926474213d0)\n (0.5426820668403706d0 4.007051639652156d0) (0.2529976227862559d0 3.7942956244818866d0) (0.31320869459520984d0 4.185847138365895d0)\n (0.3941108696932068d0 3.956467591505622d0) ...)\n 312.92898727316174d0 MULTIPLE-END-CONDITIONS NIL)\n (((-2.8978145435136944d0 2.282939519621005d0) (-2.6441766062694247d0 1.1621890155810461d0) (-2.42437771005547d0 1.2371765112878654d0)\n (-2.5871894127039017d0 0.8285321816719909d0) (-2.4081790777029215d0 1.1578469926324988d0) (-2.2083125264738643d0 0.8461388856009396d0)\n (-2.82406571019143d0 1.5628075196522377d0) (-2.7058961336256893d0 1.2291684699696026d0) (-3.0627976925910825d0 1.4079491892989917d0)\n (-2.820949248711177d0 1.4155237816526056d0) ...)\n 315.56619391131653d0 MULTIPLE-END-CONDITIONS NIL)\n (((-1.394351767721225d0 4.364060113801006d0) (-0.498731496238685d0 3.798498766246043d0) (-0.5406060923815029d0 3.57178174551649d0)\n (-0.1517101692876347d0 3.7449658481645627d0) (-0.5063445930188136d0 3.531346769580229d0) (-0.1297837860301833d0 3.3431673681237655d0)\n (-0.8418702939108609d0 4.048382725026153d0) (-0.5889879192972807d0 3.8562297236898138d0) (-0.7254204850769342d0 4.22615844164712d0)\n (-0.7547261256058777d0 3.9736039995737658d0) ...)\n 305.5369525307456d0 MULTIPLE-END-CONDITIONS NIL)\n (((-3.4924480270382583d0 -0.7059533199489433d0) (-2.4338373597491643d0 -1.0136613586335206d0) (-2.266566473264589d0 -0.9228697131330738d0)\n (-2.1432660579853207d0 -1.1925041133256413d0) (-2.264108615388775d0 -0.8237351886622036d0) (-1.8624250824351527d0 -0.9378693942223107d0)\n (-2.8113259620205406d0 -0.9631189642048686d0) (-2.538658803890391d0 -0.9888861488496479d0) (-2.891302742017924d0 -1.1733173898783058d0)\n (-2.7403030769746843d0 -0.9850375997525573d0) ...)\n 327.8522513201378d0 MULTIPLE-END-CONDITIONS NIL)\n (((3.5177718503455537d0 -2.555757705944848d0) (3.3161443484558335d0 -1.5214021481022366d0) (3.108096700460212d0 -1.4567931211864174d0)\n (3.369356211134793d0 -1.1675493253032858d0) (3.0630082519201247d0 -1.4516216404661235d0) (2.9990151625838153d0 -1.0297678403412005d0)\n (3.432639239383829d0 -1.8928803324393868d0) (3.342298469317468d0 -1.6278076503127523d0) (3.6490941917661672d0 -1.8739348810006726d0)\n (3.4044467003570738d0 -1.8194183042297116d0) ...)\n 325.17247487418143d0 MULTIPLE-END-CONDITIONS NIL)\n (((2.5532857147457526d0 4.322464356251138d0) (1.6472816028847688d0 3.782450138602584d0) (1.6832417593907651d0 3.5535039696103796d0)\n (1.2969381661308148d0 3.743621796649992d0) (1.6503814811240103d0 3.509425446125255d0) (1.263428620169419d0 3.3389531353448247d0)\n (2.0012600365421d0 4.015002490352431d0) (1.7402131753612784d0 3.836433563996352d0) (1.897177877713146d0 4.196477611031402d0)\n (1.9135964125555815d0 3.9442233514700162d0) ...)\n 305.5885845477081d0 MULTIPLE-END-CONDITIONS NIL)\n (((2.495521862779555d0 -3.2742859919380725d0) (2.5674155283066256d0 -2.2122765079856404d0) (2.35955645182663d0 -2.1120249492988425d0)\n (2.728149094160367d0 -1.8973957166042363d0) (2.346126334712421d0 -2.0657341281085806d0) (2.413547999785988d0 -1.6492205490919691d0)\n (2.563687303938153d0 -2.6322551839052157d0) (2.562462986498406d0 -2.319485293462806d0) (2.781375718402027d0 -2.645570104079531d0)\n (2.5618389671825654d0 -2.522816300646059d0) ...)\n 305.54035238788646d0 MULTIPLE-END-CONDITIONS NIL)\n (((-3.1079030235445426d0 -1.8214105734847752d0) (-2.0475907284647605d0 -1.8255162704658017d0) (-1.9675162792657648d0 -1.6032870144357936d0)\n (-1.7180030321218378d0 -1.960014160124174d0) (-1.9225395887590302d0 -1.5788679185274987d0) (-1.5007710927604945d0 -1.612016547047094d0)\n (-2.4662085161053504d0 -1.856849516241579d0) (-2.1542041791026136d0 -1.8312785253205803d0) (-2.4625068823835967d0 -2.075798182673831d0)\n (-2.35803800010263d0 -1.842956560147257d0) ...)\n 305.5928226596819d0 MULTIPLE-END-CONDITIONS NIL)\n (((-3.599757802403096d0 -0.7463678468628824d0) (-2.5761197291474143d0 -1.0148860160952011d0) (-2.438634128967435d0 -0.8318069219210765d0)\n (-2.299668692189572d0 -1.2339257115130005d0) (-2.386401892404481d0 -0.8216764780135937d0) (-1.9916168244780967d0 -0.9698384906113207d0)\n (-2.9897085694267096d0 -0.9353159386948299d0) (-2.679632406613155d0 -0.9889960880645894d0) (-3.0431897563636623d0 -1.1447760250692285d0)\n (-2.8781968028497134d0 -0.9499482235771772d0) ...)\n 305.5772365667531d0 MULTIPLE-END-CONDITIONS NIL))\n\nwindows lispworks\nCL-USER 4 : 1 > (benchmark-ten-dim-anneals last-hi-table)\nTiming the evaluation of (PROGN (SEED-RANDOM 467739585) (LOOP FOR I BELOW 10 COLLECT (TIME (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS # :DIM-ANNEAL-F # :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2))))\n; Loading fasl file C:\\PROGRAM FILES\\XANALYS\\LISPWORKS\\lib\\4-2-0-0\\modules\\util\\callcoun.fsl\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 9.500\nsystem time = 0.000\nElapsed time = 0:00:10\nAllocation = 138877808 bytes standard \/ 54957012 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 14.120\nsystem time = 0.000\nElapsed time = 0:00:14\nAllocation = 221727304 bytes standard \/ 87253859 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 18.130\nsystem time = 0.000\nElapsed time = 0:00:18\nAllocation = 284649528 bytes standard \/ 112040632 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 10.820\nsystem time = 0.000\nElapsed time = 0:00:11\nAllocation = 171333744 bytes standard \/ 67666984 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 15.810\nsystem time = 0.000\nElapsed time = 0:00:15\nAllocation = 218558952 bytes standard \/ 85946839 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 11.100\nsystem time = 0.000\nElapsed time = 0:00:12\nAllocation = 130208696 bytes standard \/ 51541600 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 11.150\nsystem time = 0.000\nElapsed time = 0:00:11\nAllocation = 129817848 bytes standard \/ 51397489 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 9.670\nsystem time = 0.000\nElapsed time = 0:00:09\nAllocation = 111564824 bytes standard \/ 44285549 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 20.870\nsystem time = 0.000\nElapsed time = 0:00:21\nAllocation = 243072984 bytes standard \/ 95699340 bytes fixlen\n0 Page faults\nTiming the evaluation of (BATCH-MDS-KEYWORD-ARGS ASL-TABLE :STARTING-COORDSS (MAKE-RANDOM-COORDSS (HI-TABLE-LENGTH ASL-TABLE) 2 1 T ASL-TABLE) :DIM-ANNEAL-F (FUNCTION LISP-DIM-ANNEAL-TWO-PHASE) :DIM-ANNEAL-STARTING-DIMENSION 5 :DIM-ANNEAL-ENDING-DIMENSION 2)\n\nuser time = 20.540\nsystem time = 0.000\nElapsed time = 0:00:21\nAllocation = 222428504 bytes standard \/ 87632490 bytes fixlen\n0 Page faults\n\nuser time = 141.710\nsystem time = 0.000\nElapsed time = 0:02:22\nAllocation = 1872300952 bytes standard \/ 738536557 bytes fixlen\n0 Page faults\n((((1.2095895451043803 4.313293511276112) (0.37514901283054924 3.5760325904888544) (0.37637755004686396 3.412364985127238) (0.15147640145649313 3.378433423706997) (0.45212916357688415 3.3624308578099873) (0.2136120982153234 3.0444384909202276) (0.4393071879792948 3.895650088133735) (0.438164740230924 3.6586730611177867) (0.3998021824918064 4.061269997944101) (0.48169591888594315 3.8516816497140294) (0.3378935689673211 3.9777260209284684) (0.17197636394651172 3.6543899028794913) (0.2678588649890322 3.1717407531254067) (1.1897560348926934 3.5416331412995987) (2.5603170375340336 4.877286965605629) (1.290354735112194 3.5174089980369994) (2.131690929043784 4.123869619216215) (0.2755968079413695 3.987698229256067) (2.1001820171374432 4.143011234193068) (2.193630902638323 4.262884072932045) (1.9722555984598436 3.9085982302779967) (1.9627320331718565 2.78627281441096) (1.4109981395724271 3.2647764334625147) (1.579663889687655 2.565490134393275) (0.47822132246884524 4.178044753841979) (1.3670450179485414 4.986044941325726) (0.2705468574189761 3.173312176648087) (0.006541590835483432 0.5376908291496264) (-0.6579253056851192 0.7878024461480599) (-1.0022100200399287 0.25084990685512776) (-0.8947217551022801 0.45046968696625334) (-0.6225251436715264 0.35487520235879894) (-0.9567866231394168 0.6925312770716694) (0.4048306780370552 0.31739706813302565) (-0.8919444891013765 0.9093408713915422) (-0.561619608315132 0.5605868744891812) (-0.3044637519212399 0.20652114415870246) (-1.1204054267469572 0.4825465419147027) (1.4434899515262611 0.5317728245282417) (-1.3060082394288024 1.182143229972893) ...) 280.83077692657406 MULTIPLE-END-CONDITIONS NIL) (((1.1959632705419423 4.279191408344377) (0.20227622269982254 3.718740862107428) (0.35398901281762607 3.5242220636414086) (-0.10527068922062088 3.5787586254730184) (0.2330870412169985 3.4896412256620137) (-0.012992148725715663 3.2160227305507596) (0.5426839023019112 4.0070503432689435) (0.2529976858645542 3.7942952339750313) (0.31320816060889595 4.185847008807201) (0.3941105485113862 3.9564671953593833) (0.2674987232355649 4.108910847519456) (0.7542751909843872 3.75927575254356) (-0.01221335929442193 3.347399095756791) (1.163395470535203 3.4933706750459383) (2.7029203022099066 4.481215624139179) (1.1185944662540475 3.5123139544806903) (2.077648270619518 3.9079806037627627) (0.1034340186659214 4.1541305156303965) (2.064377977954919 3.920984366396129) (2.195561395714089 3.996050523489314) (1.8583877796388817 3.7629807531011035) (1.7296538176723788 2.592707251104915) (1.2444345072849843 3.2076336660561493) (1.398816769210359 2.392332532735684) (0.37532388842994147 4.295256806254331) (1.5440808919325226 4.841061785920721) (-0.012849064349548177 3.3473996267497568) (-0.48936636163621267 0.7476776477825925) (-0.9213509007811975 1.0377909933804998) (-1.2440126481315752 0.5156337922902143) (-1.2192057905082518 0.7385279151675759) (-0.9365883916404757 0.6155635811164853) (-1.3890952660790328 1.0187629932090432) (-0.1132977953027114 0.45215943428457966) (-0.9240239331501292 1.0442467043463628) (-0.9245684922896201 0.82719606327585) (-0.7282582497998444 0.4118290780194047) (-1.4903886023076989 0.8180415452154283) (0.9628834839747105 0.4880472718528463) (0.9221740608510568 0.7701164561036185) ...) 312.92896227247996 MULTIPLE-END-CONDITIONS NIL) (((-2.8978139599118475 2.2829427804109295) (-2.6441759027177794 1.162190276234665) (-2.424376368310573 1.237179158794921) (-2.5871883526673902 0.8285340582826364) (-2.408180182950749 1.1578456892974627) (-2.208314141372405 0.8461361567214096) (-2.8240648742065635 1.5628090918947697) (-2.7058954767472723 1.2291700942530293) (-3.062796784211086 1.407949697999253) (-2.8209489536278656 1.4155247956761547) (-2.9965168042183796 1.3473996182364703) (-2.5285486303872236 1.6888870535088765) (-2.3334892319310665 0.8845613709410026) (-2.185576950328273 2.009162634467715) (-2.691499994799335 3.8010196819660425) (-2.194498297899401 1.9950384087254087) (-2.3325137472242767 3.0246239378150293) (-3.0870672346855654 1.1941082461091257) (-2.299348873461604 3.0437077143054054) (-2.371021157932151 3.1652541000728935) (-2.232585264530837 2.768774141844402) (-1.1227140455630813 2.392015092994046) (-1.8541509146728865 2.036576676073037) (-1.2011628184280785 1.8918093285011117) (-3.1533145455158906 1.4937100904777445) (-3.3561160201188813 2.7790755986169833) (-2.334005305701724 0.8843056096850225) (0.008461978496997143 -0.32609423966922685) (-0.41662306218547035 -0.7015744142113324) (-0.002193280790095766 -1.145565306460431) (-0.20290599342779192 -1.0521945555741392) (-0.0038274232356400643 -0.8097452815429105) (-0.4949741956435353 -1.1156305052485902) (0.3824882930597507 -0.051998704704645876) (-0.4883969665981887 -0.7449038418562103) (-0.19034708008705267 -0.7220957824898536) (0.26426037577657224 -0.6419605639050491) (-0.34411645419876175 -1.2974646846536855) (0.65122152189419 1.055701109610159) (-1.063862896734142 -1.2288893434906367) ...) 315.56609887177257 MULTIPLE-END-CONDITIONS NIL) (((-1.394351645850654 4.364060116352695) (-0.49873147371231785 3.798498704115585) (-0.5406059661079982 3.571781771594448) (-0.151710179506418 3.7449657750356264) (-0.5063445614939721 3.531346751559637) (-0.12978379327709885 3.343167323997916) (-0.8418701498516653 4.048382710438426) (-0.5889879143408088 3.8562297007514075) (-0.725420438628323 4.226158436107826) (-0.7547260472258867 3.973604054624578) (-0.640025352892397 4.166408513526258) (-0.8895794211047207 3.825227265471196) (-0.2051235323297045 3.473909601588033) (-1.2801100399638883 3.459239611209393) (-3.048445050990395 4.147931533219938) (-1.3646331628064623 3.3765392646154986) (-2.1991874900506474 3.8440040281632464) (-0.513967491930082 4.257126935027271) (-2.094568778294876 3.996091637866836) (-2.275134270875945 4.000973108752866) (-1.9611825686845006 3.719391224136752) (-1.5710634502254808 2.605343867114744) (-1.339190238258713 3.161730032817347) (-1.0655931969150942 2.5965529059171804) (-0.8461978849389704 4.308509029275843) (-2.0653447683545667 4.616128653912817) (-0.204011548421326 3.4741189048302297) (1.0847789709213358 1.132250451110645) (1.604691970796504 1.2092306235843888) (1.705840465639001 0.7633916861286246) (1.6373919233311616 1.1680525026748751) (1.5216740877514305 0.9455016004202554) (1.5228554429684096 1.5078694250439544) (0.8897971695800971 0.8075439988355977) (1.6279003399639613 1.045567977420696) (1.4389100300434416 1.2818063765252188) (1.4395717474019185 0.8242468371345) (1.545862183702771 1.000041060530053) (0.9769406358084631 0.18149467090059865) (1.4825488365116557 1.4829912536477297) ...) 305.5369525310978 MULTIPLE-END-CONDITIONS NIL) (((-3.4924481757926373 -0.7059521758916742) (-2.433837350589053 -1.0136615651592709) (-2.26656645743965 -0.9228697945441711) (-2.1432660233097938 -1.1925043083105458) (-2.264108604291871 -0.8237353116973376) (-1.8624250779429699 -0.9378694593889603) (-2.811325548042374 -0.9631192174988301) (-2.5386588389969553 -0.988886322430876) (-2.891302739265327 -1.173317600629503) (-2.74030308253019 -0.985037857144514) (-2.787723618035198 -1.1940151441699955) (-2.2989237801898437 -1.6763240464888827) (-2.001238755657614 -0.9688738326479466) (-2.752702584575756 -0.20893495005738486) (-4.557684606673704 0.47517336002736066) (-2.760155781221096 -0.1118750923144513) (-3.717815274712347 0.14238514994031604) (-2.7590697667637576 -1.3116726778261032) (-3.1643691991717113 -2.2964640259241595) (-3.877061078076604 0.1097281949882545) (-2.890185233924851 -2.168622106484955) (-2.3866791259466167 0.5797654147656076) (-2.592348765009845 0.06904403402532944) (-1.9716664013713463 0.2328822808059708) (-3.0355188350914837 -1.1432425029819908) (-4.158662224535515 -0.5916399610708363) (-2.0013618089311542 -0.9688165545178907) (0.5659959214417875 -0.2577781478268297) (0.8249222051503914 -0.8994260719088558) (1.1752890988184819 -0.5620330846806714) (0.8659532460082724 -0.7925461953640985) (0.95929156235719 -0.5108703660346308) (0.5579094057442318 -1.0314240405751323) (0.6509360481376124 0.11542086534244385) (0.7620176674553165 -0.9755689323955087) (0.6829169168685657 -0.6790093038663471) (1.0141275394451295 -0.26392878280665494) (0.8595779693643184 -0.8340281217797095) (1.0132857821631394 0.3720554756840209) (0.37831628434196884 -1.5709112447128135) ...) 327.85225497276065 MULTIPLE-END-CONDITIONS NIL) (((3.5177718392184416 -2.55575771670907) (3.316144339227444 -1.5214021594343567) (3.1080967289774715 -1.456793103141299) (3.369356203207613 -1.16754933676358) (3.063008242542121 -1.4516216507350073) (2.9990151522340445 -1.0297678834493222) (3.432639290067965 -1.892880299053662) (3.3422984661165365 -1.6278076885479607) (3.6490941881034713 -1.8739349198487887) (3.404446729496616 -1.8194183073045689) (3.6195235827257863 -1.7703848800481727) (3.2202878889878357 -1.8006719918698966) (3.0959340964625346 -1.1452104618977073) (2.742165152150726 -2.1324948456434547) (2.8253304124588827 -4.050338786921419) (2.6415982048946147 -2.1925550064239387) (2.7712154539556346 -3.1435307072112177) (3.7404700364597234 -1.6840823944019387) (2.92459900578686 -3.0975858051351866) (2.8833635660170307 -3.271740669440036) (2.726465776199734 -2.8688920303980763) (1.8038176366812892 -2.147298719432437) (2.4375401914495765 -2.113608599597063) (1.9648442292400097 -1.660481259975992) (3.690612765138154 -2.016345029439088) (3.5921530435535995 -3.2554330415821924) (3.096543139298736 -1.1455557594228252) (1.14113447055637 0.9170657140881657) (1.4243754844927767 1.0100500992744172) (1.1198595402837066 1.6194185306271751) (1.3696226616072384 1.4696198384621633) (1.1691276781797526 1.3943095624126687) (1.5314079388320503 1.284960863109859) (0.7500188788908423 0.7733381350217825) (1.404275008495386 1.0649604460307946) (1.3811789988481573 1.2466172676168605) (1.0361270853035442 1.3311003813001658) (1.2200001156264215 1.408908999877774) (0.42060889877388324 0.44763822290177097) (1.0380411075723146 0.68444095559132) ...) 325.1724739487465 MULTIPLE-END-CONDITIONS NIL) (((2.5532857080445033 4.322464359380118) (1.6472815988458342 3.782450137414133) (1.6832417025894515 3.553503998112214) (1.296938163951972 3.743621795413781) (1.6503814730753845 3.509425446855685) (1.263428645707452 3.338953140294913) (2.00125996692149 4.015002532447724) (1.7402131946869417 3.8364335763155695) (1.897177891357304 4.1964776260435865) (1.9135963859897334 3.944223387026517) (1.8084583689475677 4.1405597823071085) (2.032113355214789 3.7889908517400475) (1.3458256636364778 3.46581118084124) (2.4082996716136216 3.4140469880160658) (4.214034859112767 4.023556130616414) (2.4997378350793733 3.3172753120390146) (3.3372923459535446 3.783112187492917) (1.6877928429756412 4.2367736982663375) (3.2347863847757794 3.932738304152863) (3.420408294045197 3.926500617364515) (3.093534454278617 3.6613013120186215) (2.651193238593335 2.562918927266689) (2.4480855245943483 3.1233783351036832) (2.1258840618087107 2.5757520854863376) (2.0233008656849885 4.27304745662893) (3.250240433322585 4.532991320515883) (1.3458224079730152 3.465839892148522) (-0.04345147430881421 1.1780282965738729) (-0.5538494397096759 1.2762528418484613) (-0.6744924494683889 0.8345126828493153) (-0.5889833349033116 1.239552378444939) (-0.48340151238308265 1.007624063521485) (-0.46288182596131844 1.5899926385999028) (0.14158766935570902 0.8415182466320564) (-0.58500938748377 1.1126684011461774) (-0.38750672217255316 1.3400858519839496) (-0.41185874224347124 0.8892288796275936) (-0.5104507084322808 1.0876586100397838) (0.022821800889732957 0.23024442418802726) (-0.3294726797773615 1.2064311818537772) ...) 305.58858532060134 MULTIPLE-END-CONDITIONS NIL) (((2.4955218548927416 -3.274286001320957) (2.567415520860242 -2.2122765054278366) (2.3595565003055343 -2.1120249196304717) (2.7281490875448218 -1.8973957143718212) (2.3461263316387746 -2.0657341252408874) (2.413547983317124 -1.6492205762744627) (2.5636873647706913 -2.6322551503974636) (2.562462978053394 -2.319485317936426) (2.7813757114088635 -2.64557012684768) (2.561839001159336 -2.52281630142831) (2.782834664739288 -2.5394719221579147) (2.34055941367103 -2.5423100169446577) (2.4754059847709464 -1.7864818364754311) (1.8360624009198028 -2.641341507090479) (1.3703527017804775 -4.477729050152605) (1.7202299702868 -2.667884810752467) (1.6269428564774069 -3.6146151090432963) (2.9330830826914642 -2.4931375234044215) (1.7876071797209887 -3.6250896741705563) (1.6912171188819942 -3.766915675843378) (1.6609781441632316 -3.348148978228379) (0.9684080335648954 -2.379827019685047) (1.56117786954892 -2.523484619884798) (1.2620205605125367 -1.9757095053524418) (2.779809619546328 -2.7917560511064434) (2.327079092549308 -3.9618393001004746) (2.4759349427167665 -1.7874406980246331) (1.3290019267992736 0.6317549791835579) (1.6987691243670804 1.0046264074245963) (1.3896465257705415 1.3472827556627045) (1.6798905408267935 1.0576810336884157) (1.4270564881676115 1.0931237753811212) (1.899773448572889 0.7608253302830679) (0.946700863853124 0.6697230828114586) (1.5832285515649065 1.1152729440980496) (1.649777699987679 0.8309739478166773) (1.2877918951125549 1.098718952482588) (1.5079877971917368 1.0752925775562812) (0.5002975510172699 1.097033805385372) (1.6922318863062848 0.7984405273207116) ...) 305.54035321981763 MULTIPLE-END-CONDITIONS NIL) (((-3.1079042430514425 -1.8214134995974374) (-2.0475913443438514 -1.825516770180617) (-1.9675178017052684 -1.6032869947191797) (-1.718003654447032 -1.9600146442099322) (-1.9225411276527613 -1.5788669252385392) (-1.5007732239613933 -1.612015090949439) (-2.4662103241259334 -1.8568501502373846) (-2.1542046711703824 -1.8312792306542156) (-2.4625075157810032 -2.075798685537367) (-2.3580387214213334 -1.8429569789031441) (-2.358190844185602 -2.065717226532487) (-2.3916417842453463 -1.6323730070211517) (-1.6345788709041529 -1.6869646813089416) (-2.535784190130251 -1.1271107803949962) (-4.42059161109698 -0.7702512945689781) (-2.5737100217259665 -1.0041974831673628) (-3.5192653733605526 -0.9965959360130912) (-2.2951487230479217 -2.2143310143651838) (-3.505290784492552 -1.157544538283882) (-3.662616064612415 -1.0668421595197999) (-3.2516436623663116 -1.017341523482413) (-2.3190831609171036 -0.26396813338291697) (-2.421458137668668 -0.8484732541904875) (-1.8825994229061551 -0.4943152922849587) (-2.6083764989263534 -2.0861800957070966) (-3.8200051157795967 -1.7152084113657373) (-1.634578861946564 -1.6865465402773638) (0.6784568662613333 -0.34601902056866374) (1.075392621968504 -0.6927446244532122) (1.394754646138038 -0.35988078928782774) (1.1247946636516304 -0.6712489915412535) (1.143255455675852 -0.41959534139828025) (0.8489410618953745 -0.9007074031691358) (0.6701484338206348 0.013192646226226583) (1.18360482354716 -0.5472572165963955) (0.8994177586080189 -0.6617912924855136) (1.1423695925825375 -0.27163778944539496) (1.1340480041569712 -0.49110117874204035) (1.0864300017223407 0.5029604181173216) (0.9112284911253082 -0.5671513810473798) ...) 305.59281380909835 MULTIPLE-END-CONDITIONS NIL) (((-3.599740393307246 -0.7464288073966051) (-2.5761024089913516 -1.0149353525937312) (-2.438613233153566 -0.8318480643602272) (-2.29964391803952 -1.2339724026363448) (-2.3863855735368467 -0.8217103286837825) (-1.991592676422665 -0.9698762545337238) (-2.9896783658360477 -0.9353666231921233) (-2.6796184638888483 -0.989046573860924) (-3.043170409947802 -1.1448324750467824) (-2.8781798459008807 -0.9500006177408616) (-2.940778614854168 -1.166788071714717) (-2.8622540461681965 -0.7376203385595708) (-2.139635431134953 -1.0030791759925608) (-2.8560615692774283 -0.2186820428017418) (-4.567193568385971 0.6220821363592086) (-2.8541561978324346 -0.09339970648063056) (-3.7698660904864396 0.1778783718945571) (-2.9213991609443397 -1.3203969353136558) (-3.806802825938362 0.003773357352963585) (-3.9335107540759324 0.13398684402883923) (-3.514331215970092 0.08360372793405199) (-2.433152614392184 0.5602399354029411) (-2.6807351108421664 0.024286848971212277) (-2.0756978740145353 0.20346118500176702) (-3.1860719095813956 -1.1126826311298037) (-4.244069515842643 -0.4295937714049387) (-2.1395885565171207 -1.0030552244046025) (0.45236535412783185 -0.36948031122574115) (0.7465984555510229 -0.8062064128708928) (1.148992714973307 -0.5654118573721136) (0.8043082557788651 -0.7934604795257041) (0.895125968916183 -0.5492195493794131) (0.4668764710387353 -0.954897747848526) (0.5625735615297777 -2.8473458800410417E-5) (0.8828083312985826 -0.7079679829294409) (0.5897975369501555 -0.7210349453025044) (0.917210092281703 -0.42281531690572954) (0.8506525502526829 -0.6367527908315022) (1.0676180566350453 0.3454073362396567) (0.5137097159497577 -0.8109654465339863) ...) 305.57696849338924 MULTIPLE-END-CONDITIONS NIL))\n\n\non tab 2\nlinux allegro 121 seconds. (will be say 10% faster on 6.2, which is 109 secons)\nwindows lispworks 141 seconds.\n\nSo, lispworks takes 40% more time.\n\n|#\n","avg_line_length":366.153030303,"max_line_length":184004,"alphanum_fraction":0.7709229044} +{"size":781,"ext":"lisp","lang":"Common Lisp","max_stars_count":305.0,"content":"; List Utilities -- Theorems about INTERSECTION-EQUAL\n;\n; Copyright (C) 2018 Kestrel Institute (http:\/\/www.kestrel.edu)\n;\n; License: A 3-clause BSD license. See the LICENSE file distributed with ACL2.\n;\n; Author: Alessandro Coglio (coglio@kestrel.edu)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(in-package \"ACL2\")\n\n(include-book \"std\/util\/defrule\" :dir :system)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(defsection intersection-equal-theorems\n :parents (list-utilities intersection$)\n :short \"Some theorems about the built-in function @(tsee intersection$).\"\n\n (defrule true-listp-of-intersection-equal\n (true-listp (intersection-equal x y))\n :rule-classes (:rewrite :type-prescription)))\n","avg_line_length":32.5416666667,"max_line_length":80,"alphanum_fraction":0.5838668374} +{"size":143,"ext":"asd","lang":"Common Lisp","max_stars_count":null,"content":"(defsystem \"lem-fm-mode\"\n :description \"Lem's frame multiplex mode\"\n :depends-on (\"lem-core\")\n :serial t\n :components ((:file \"fm-mode\")))\n","avg_line_length":23.8333333333,"max_line_length":43,"alphanum_fraction":0.6573426573} +{"size":167,"ext":"lisp","lang":"Common Lisp","max_stars_count":3.0,"content":"(defpackage lila\n (:use :cl)\n (:export lila-version))\n\n(in-package lila)\n\n(define-symbol-macro lila-version\n (slot-value (asdf:find-system 'lila) 'asdf:version))\n","avg_line_length":18.5555555556,"max_line_length":56,"alphanum_fraction":0.6886227545} +{"size":36536,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"; S-Expressions for 4-Valued Logic\n; Copyright (C) 2010-2012 Centaur Technology\n;\n; Contact:\n; Centaur Technology Formal Verification Group\n; 7600-C N. Capital of Texas Highway, Suite 300, Austin, TX 78731, USA.\n; http:\/\/www.centtech.com\/\n;\n; License: (An MIT\/X11-style license)\n;\n; Permission is hereby granted, free of charge, to any person obtaining a\n; copy of this software and associated documentation files (the \"Software\"),\n; to deal in the Software without restriction, including without limitation\n; the rights to use, copy, modify, merge, publish, distribute, sublicense,\n; and\/or sell copies of the Software, and to permit persons to whom the\n; Software is furnished to do so, subject to the following conditions:\n;\n; The above copyright notice and this permission notice shall be included in\n; all copies or substantial portions of the Software.\n;\n; THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n; DEALINGS IN THE SOFTWARE.\n;\n; Original author: Sol Swords \n\n(in-package \"ACL2\")\n(include-book \"sexpr-eval\")\n(include-book \"sexpr-3v\")\n(include-book \"centaur\/aig\/faig-base\" :dir :system)\n(include-book \"centaur\/aig\/faig-constructors\" :dir :system)\n(include-book \"centaur\/aig\/faig-equivs\" :dir :system)\n(include-book \"centaur\/aig\/aig-equivs\" :dir :system)\n(include-book \"centaur\/misc\/tuplep\" :dir :system)\n(local (include-book \"std\/lists\/nth\" :dir :system))\n(local (include-book \"centaur\/aig\/eval-restrict\" :dir :system))\n\n(local (in-theory (disable 4v-sexpr-eval)))\n\n(local (in-theory (disable* (:ruleset t-aig-defs)\n (:ruleset f-aig-defs)\n (:ruleset 4v-op-defs))))\n\n\n\n(defsection 4v-sexpr-to-faig\n :parents (4v-sexprs)\n :short \"Translation from @(see 4v-sexprs) into a @(see faig)s.\"\n\n :long \"

    It is often useful to be able to convert a sexpr into a @(see\nfaig), since then you can apply AIG\/FAIG based tools such as ABC, sat solvers,\nthe @(see bddify) algorithm, and so forth to sexpr-based models. For instance,\nwe use this conversion to implement an efficient @(see gl) symbolic counterpart\nfor @(see 4v-sexpr-eval), which is used in practically all of our GL-based\nhardware proofs.<\/p>\n\n

    Signature:<\/b> @(call 4v-sexpr-to-faig) builds an @(see faig).<\/p>\n\n

    @('x') is the sexpr you want to convert into an FAIG.<\/p>\n\n

    @('onoff') argument should be an alist that assigns an initial FAIG for\nevery variable of @('x'). Commonly the @('onoff') alist should bind each\nvariable @('v') to some pair of fresh variables like @('(v1 . v0)'), i.e.,\n@('v1') is the onset variable and @('v0') is the offset variable for @('v'),\nbut other uses are also possible. It is beneficial for @('onoff') to be a fast\nalist, but it will be made fast if necessary.<\/p>\n\n

    @('optimize') is an optional flag that defaults to @('t'). When\noptimization is allowed, we convert the sexpr in a smarter way that is\ngenerally faster and produces smaller FAIGs which may be easier for other tools\nto analyze. You almost certainly want optimization unless<\/b> you are doing\ncertain kinds of fragile AIG decomposition where you really want AIGs that are\nexactly the same. (If that sounds like nonsense, then you want\noptimization.)<\/p>\n\n

    The basic idea of the optimization is to take advantage of the fact that\nmany sexpr operations are actually \\\"three-valued,\\\" i.e., they never produce\nZ. For instance, when we are converting a sexpr like @('(NOT (AND A B))') into\nan @(see faig), since we know the result of an @('AND') gate is never Z, it\nsuffices to use @(see t-aig-not) instead of @(see f-aig-not). There are\nsimilar reductions for many gates; see @(see faig-constructors) for some\ndetails.<\/p>\n\n

    You might regard @('4v-sexpr-to-faig') as a somewhat low-level function.\nIts correctness theorem is rather elaborate and to make use of it you generally\nneed to construct an @('onoff') alist that sensibly accomplishes your goal. A\ngood starting place and example might be @('4v-sexpr-eval-by-faig'), which\ngenerates an appropriate @('onoff') so that it can carry out a @(see\n4v-sexpr-eval) computation using FAIG evaluation as the engine.<\/p>\")\n\n\n(local (defthm equal-len-0\n (equal (equal (len x) 0)\n (atom x))))\n\n(local (defthmd nth-open-quotep\n (implies (syntaxp (quotep n))\n (equal (nth n x)\n (if (zp n)\n (car x)\n (nth (1- n) (cdr x)))))))\n\n\n\n\n(local (defthm faig-equiv-nil-x\n ;; BOZO find me a home?\n (equal (faig-equiv nil (faig-x)) t)\n :hints ((\"goal\" :in-theory (enable faig-equiv)))))\n\n(local (defthm faig-eval-when-atom\n (implies (atom x)\n (equal (faig-eval x env)\n (faig-x)))\n :hints((\"Goal\" :in-theory (enable faig-eval)))))\n\n\n\n\n\n\n\n\n\n\n\n\n(define faig-const->4v (x)\n :parents (4v-sexpr-to-faig)\n :short \"Convert a @(see faig-const-p) into a @(see 4vp).\"\n (cond ((equal x (faig-t)) (4vt))\n ((equal x (faig-f)) (4vf))\n ((equal x (faig-z)) (4vz))\n (t (4vx)))\n \/\/\/\n (defcong faig-const-equiv equal (faig-const->4v x) 1\n :hints((\"Goal\" :in-theory (enable faig-const-fix faig-const-equiv))))\n \n (defthm 4vp-of-faig-const->4v\n (4vp (faig-const->4v x))))\n\n(define faig-const-list->4v-list (x)\n :parents (faig-const->4v)\n (if (atom x)\n nil\n (cons (faig-const->4v (car x))\n (faig-const-list->4v-list (cdr x))))\n \/\/\/\n (defthm nth-of-faig-const-list->4v-list\n (4v-equiv (nth n (faig-const-list->4v-list args))\n (faig-const->4v (nth n args)))))\n\n\n(define faig-const-alist->4v-alist (x)\n :parents (faig-const->4v)\n (cond ((atom x)\n nil)\n ((atom (car x))\n ;; Bad alist convention\n (faig-const-alist->4v-alist (cdr x)))\n (t\n (cons (cons (caar x) (faig-const->4v (cdar x)))\n (faig-const-alist->4v-alist (cdr x)))))\n \/\/\/\n\n (defthm lookup-faig-const-alist->4v-alist\n (equal (hons-assoc-equal k (faig-const-alist->4v-alist x))\n (and (hons-assoc-equal k x)\n (cons k (faig-const->4v (cdr (hons-assoc-equal k x))))))\n :hints((\"Goal\" :in-theory (disable faig-const->4v)))))\n\n\n\n\n\n\n(define 4v->faig-const (x)\n :parents (4v-sexpr-to-faig)\n :short \"Convert a @(see 4vp) into a @(see faig-const-p).\"\n (cond ((eq x (4vt)) (faig-t))\n ((eq x (4vf)) (faig-f))\n ((eq x (4vz)) (faig-z))\n (t (faig-x)))\n \/\/\/\n (local (in-theory (enable 4v-fix)))\n\n (defthm 4v->faig-const-of-faig-const->4v\n (equal (4v->faig-const (faig-const->4v x))\n (faig-const-fix x))\n :hints((\"Goal\" :in-theory (enable faig-const->4v faig-const-fix\n faig-const-p))))\n\n (defthm faig-const->4v-of-4v->faig-const\n (equal (faig-const->4v (4v->faig-const x))\n (4v-fix x))\n :hints((\"Goal\" :in-theory (enable faig-const->4v))))\n\n (defthm faig-const-<=-4v->faig-const\n (equal (faig-const-<= (4v->faig-const a) b)\n (4v-<= a (faig-const->4v b)))\n :hints((\"Goal\" :in-theory (enable faig-const->4v\n faig-const-<=\n faig-const-fix))))\n\n (defthm 4v-<=-faig-const->4v\n (equal (4v-<= (faig-const->4v a) b)\n (faig-const-<= a (4v->faig-const b)))\n :hints((\"Goal\" :in-theory (enable faig-const->4v\n faig-const-<=\n faig-const-fix\n faig-const-p))))\n\n (defcong 4v-equiv equal (4v->faig-const x) 1\n :hints((\"Goal\" :in-theory (enable 4v-equiv))))\n\n (defthm faig-const-p-of-4v->faig-const\n (faig-const-p (4v->faig-const x))\n :hints((\"Goal\" :in-theory (enable faig-const-p)))))\n\n\n(define 4v-list->faig-const-list (x)\n :parents (4v->faig-const)\n (if (atom x)\n nil\n (cons (4v->faig-const (car x))\n (4v-list->faig-const-list (cdr x))))\n \/\/\/\n (defthm nth-of-4v-list->faig-const-list\n (faig-const-equiv (nth n (4v-list->faig-const-list x))\n (4v->faig-const (nth n x)))))\n\n\n\n\n(define 4v-alist->faig-const-alist (x)\n :parents (4v->faig-const)\n (cond ((atom x)\n nil)\n ((atom (car x))\n ;; Bad alist convention\n (4v-alist->faig-const-alist (cdr x)))\n (t\n (cons (cons (caar x) (4v->faig-const (cdar x)))\n (4v-alist->faig-const-alist (cdr x)))))\n \/\/\/\n\n (defthm hons-assoc-equal-4v-alist->faig-const-alist\n (equal (hons-assoc-equal k (4v-alist->faig-const-alist al))\n (and (hons-assoc-equal k al)\n (cons k (4v->faig-const (cdr (hons-assoc-equal k al))))))))\n\n\n\n\n(defsection 4v-and-faig-operations-commute\n :parents (4v-sexpr-to-faig)\n :short \"Lemmas showing that equivalence of @(see 4v-operations) to @(see\nfaig-constructors).\"\n\n (local (in-theory (enable* (:ruleset f-aig-defs)\n (:ruleset 4v-op-defs))))\n\n (defun apply-to-args (fn args)\n (declare (xargs :guard t))\n (if (atom args)\n nil\n (cons (list fn (car args))\n (apply-to-args fn (cdr args)))))\n\n (defmacro fv-4v-commute (4vfn fvfn args)\n `(defthm ,(intern-in-package-of-symbol\n (concatenate 'string \"4V->FAIG-CONST-OF-\" (symbol-name 4vfn))\n 4vfn)\n (equal (4v->faig-const (,4vfn . ,args))\n (,fvfn . ,(apply-to-args '4v->faig-const args)))))\n\n (local (in-theory (enable 4v->faig-const)))\n\n (fv-4v-commute 4v-fix faig-const-fix (a))\n (fv-4v-commute 4v-unfloat f-aig-unfloat (a))\n (fv-4v-commute 4v-not f-aig-not (a))\n (fv-4v-commute 4v-xdet f-aig-xdet (a))\n (fv-4v-commute 4v-and f-aig-and (a b))\n (fv-4v-commute 4v-or f-aig-or (a b))\n (fv-4v-commute 4v-xor f-aig-xor (a b))\n (fv-4v-commute 4v-iff f-aig-iff (a b))\n (fv-4v-commute 4v-ite f-aig-ite (a b c))\n (fv-4v-commute 4v-ite* f-aig-ite* (a b c))\n (fv-4v-commute 4v-zif f-aig-zif (a b c))\n (fv-4v-commute 4v-tristate t-aig-tristate (c a))\n (fv-4v-commute 4v-pullup f-aig-pullup (a))\n (fv-4v-commute 4v-res f-aig-res (a b)))\n\n\n(define 4v-sexpr-to-faig-apply (fn (args true-listp))\n (b* ((arg1 (4v-first args))\n (arg2 (4v-second args))\n (arg3 (4v-third args)))\n (case fn\n ((t) (faig-t))\n ((f) (faig-f))\n ((z) (faig-z))\n ((x) (faig-x))\n (not (f-aig-not arg1))\n (xdet (f-aig-xdet arg1))\n (and (f-aig-and arg1 arg2))\n (xor (f-aig-xor arg1 arg2))\n (iff (f-aig-iff arg1 arg2))\n (or (f-aig-or arg1 arg2))\n (ite* (f-aig-ite* arg1 arg2 arg3))\n (zif (f-aig-zif arg1 arg2 arg3))\n (buf (f-aig-unfloat arg1))\n (res (f-aig-res arg1 arg2))\n (tristate (t-aig-tristate arg1 arg2))\n (ite (f-aig-ite arg1 arg2 arg3))\n (pullup (f-aig-pullup arg1))\n (id (faig-fix arg1))\n (otherwise (faig-x))))\n \/\/\/\n\n (defthm faig-eval-4v-sexpr-to-faig-apply\n (equal (faig-eval (4v-sexpr-to-faig-apply fn args) env)\n (4v->faig-const (4v-sexpr-apply fn (faig-const-list->4v-list\n (faig-eval-list args env)))))\n :hints((\"Goal\" :in-theory (e\/d* (4v-sexpr-apply 4v-sexpr-to-faig-apply)\n (4v-op-defs 4v->faig-const\n faig-const->4v\n nth nth-when-zp nth-add1\n faig-fix\n faig-const-fix))\n :do-not-induct t)))\n\n (defthm 4v-sexpr-to-faig-apply-of-consts\n (and (equal (4v-sexpr-to-faig-apply 't args) (faig-t))\n (equal (4v-sexpr-to-faig-apply 'f args) (faig-f))\n (equal (4v-sexpr-to-faig-apply 'z args) (faig-z))\n (equal (4v-sexpr-to-faig-apply 'x args) (faig-x)))))\n\n\n(defsection 4v-sexpr-to-faig-plain\n :parents (4v-sexpr-to-faig)\n :short \"Non-optimized conversion from sexprs into faigs.\"\n :long \"

    This is a straightforward, non-optimizing conversion where we just\nuse the @('f-') versions of the @(see faig-constructors) at each level.<\/p>\"\n\n (mutual-recursion\n (defun 4v-sexpr-to-faig-plain (x onoff)\n (declare (xargs :guard t\n :verify-guards nil))\n (b* (((when (atom x))\n (if x\n (let ((look (hons-get x onoff)))\n (if (consp (cdr look))\n (cdr look)\n (faig-x)))\n (faig-x)))\n (fn (car x)))\n (mbe :logic (4v-sexpr-to-faig-apply\n fn (4v-sexpr-to-faig-plain-list (cdr x) onoff))\n :exec\n (b* (((when (eq fn (4vt))) (faig-t))\n ((when (eq fn (4vf))) (faig-f))\n ((when (eq fn (4vz))) (faig-z))\n ((when (eq fn (4vx))) (faig-x))\n (args (4v-sexpr-to-faig-plain-list (cdr x) onoff))\n (arg1 (4v-first args))\n (arg2 (4v-second args))\n (arg3 (4v-third args)))\n (case fn\n (not (f-aig-not arg1))\n (and (f-aig-and arg1 arg2))\n (xor (f-aig-xor arg1 arg2))\n (iff (f-aig-iff arg1 arg2))\n (or (f-aig-or arg1 arg2))\n (ite* (f-aig-ite* arg1 arg2 arg3))\n (zif (f-aig-zif arg1 arg2 arg3))\n (buf (f-aig-unfloat arg1))\n (xdet (f-aig-xdet arg1))\n (res (f-aig-res arg1 arg2))\n (tristate (t-aig-tristate arg1 arg2))\n (ite (f-aig-ite arg1 arg2 arg3))\n (pullup (f-aig-pullup arg1))\n (id (faig-fix arg1))\n (otherwise (faig-x)))))))\n (defun 4v-sexpr-to-faig-plain-list (x onoff)\n (declare (xargs :guard t))\n (if (atom x)\n nil\n (cons (4v-sexpr-to-faig-plain (car x) onoff)\n (4v-sexpr-to-faig-plain-list (cdr x) onoff)))))\n\n (verify-guards 4v-sexpr-to-faig-plain\n :hints ((\"goal\" :in-theory (e\/d* (4v-sexpr-to-faig-apply)\n (faig-fix nth nth-when-zp)))\n (and stable-under-simplificationp\n '(:in-theory (e\/d (nth-open-quotep nth-when-zp)\n (faig-fix))))))\n\n (memoize '4v-sexpr-to-faig-plain\n :condition '(and (consp x) (consp (cdr x))))\n\n (defthm-4v-sexpr-flag\n (defthm consp-4v-sexpr-to-faig-plain\n (consp (4v-sexpr-to-faig-plain x al))\n :rule-classes :type-prescription\n :flag sexpr)\n (defthm alistp-4v-sexpr-to-faig-plain-list\n (alistp (4v-sexpr-to-faig-plain-list x al))\n :flag sexpr-list))\n\n\n ;; (local (defthm 4v->faig-const-nth-when-lists-equal\n ;; (let ((4v-env (faig-const-alist->4v-alist (faig-eval-alist onoff env))))\n ;; (implies (equal (faig-eval-list (4v-sexpr-to-faig-plain-list x onoff) env)\n ;; (4v-list->faig-const-list (4v-sexpr-eval-list x 4v-env)))\n ;; (equal (4v->faig-const (nth n (4v-sexpr-eval-list x 4v-env)))\n ;; (faig-eval (nth n (4v-sexpr-to-faig-plain-list x onoff)) env))))\n ;; :hints ((\"goal\"\n ;; :in-theory (disable 4v->faig-const faig-eval\n ;; 4v-sexpr-to-faig-plain\n ;; faig-const-alist->4v-alist\n ;; faig-eval-alist)\n ;; :induct (nth n x)))))\n\n (local\n (defthm 4v-sexpr-apply-of-faig-const-list->4v-list-of-4v-list->faig-const-list\n (equal (4v-sexpr-apply fn (faig-const-list->4v-list\n (4v-list->faig-const-list args)))\n (4v-sexpr-apply fn args))\n :hints((\"Goal\" :in-theory (e\/d* (4v-sexpr-apply)\n (4v-op-defs nth nth-when-zp))))))\n\n \n (defthm-4v-sexpr-flag\n (defthm faig-eval-4v-sexpr-to-faig-plain\n (let ((4v-env (faig-const-alist->4v-alist (faig-eval-alist onoff env))))\n (equal (faig-eval (4v-sexpr-to-faig-plain x onoff) env)\n (4v->faig-const (4v-sexpr-eval x 4v-env))))\n :hints ('(:expand ((:free (env) (4v-sexpr-eval x env)))))\n :flag sexpr)\n (defthm faig-eval-4v-sexpr-to-faig-plain-list\n (let ((4v-env (faig-const-alist->4v-alist (faig-eval-alist onoff env))))\n (equal (faig-eval-list (4v-sexpr-to-faig-plain-list x onoff) env)\n (4v-list->faig-const-list (4v-sexpr-eval-list x 4v-env))))\n :hints ('(:expand ((:free (a b) (4v-list->faig-const-list (cons a b))))))\n :flag sexpr-list)\n :hints((\"Goal\"\n :in-theory (e\/d* () (nth nth-when-zp))))))\n\n\n\n(local\n (defsection promote-t-aig-ops-to-f-aig-ops\n\n (local (in-theory (enable* (:ruleset f-aig-defs)\n (:ruleset t-aig-defs))))\n\n (defthm t-aig-not-of-f-aig-unfloat\n (equal (t-aig-not (f-aig-unfloat x))\n (f-aig-not x)))\n\n (defthm t-aig-xdet-of-f-aig-unfloat\n (equal (faig-eval (t-aig-xdet (f-aig-unfloat x)) env)\n (faig-eval (f-aig-xdet x) env))\n :hints((\"Goal\" :in-theory (enable faig-eval))))\n\n (defthm t-aig-xdet-of-f-aig-unfloat-for-constants\n (implies (faig-const-p x)\n (equal (t-aig-xdet (f-aig-unfloat x))\n (f-aig-xdet x)))\n :hints((\"Goal\" :in-theory (enable faig-const-p\n aig-iff aig-not aig-and))))\n\n (defthm t-aig-and-f-aig-unfloat\n (equal (t-aig-and (f-aig-unfloat x) (f-aig-unfloat y))\n (f-aig-and x y)))\n\n (defthm t-aig-or-f-aig-unfloat\n (equal (t-aig-or (f-aig-unfloat x) (f-aig-unfloat y))\n (f-aig-or x y)))\n\n (defthm t-aig-xor-f-aig-unfloat\n (equal (t-aig-xor (f-aig-unfloat x) (f-aig-unfloat y))\n (f-aig-xor x y)))\n\n (defthm t-aig-iff-f-aig-unfloat\n (equal (t-aig-iff (f-aig-unfloat x) (f-aig-unfloat y))\n (f-aig-iff x y)))\n\n (defthm t-aig-ite-f-aig-unfloat\n (equal (t-aig-ite (f-aig-unfloat c) (f-aig-unfloat x) (f-aig-unfloat y))\n (f-aig-ite c x y)))\n\n (defthm t-aig-ite*-unfloat-is-f-aig-zif-unfloat\n (equal (t-aig-ite* (f-aig-unfloat c) x y)\n (f-aig-zif c x y)))\n\n (defthm t-aig-ite*-f-aig-unfloat\n (equal (f-aig-zif c (f-aig-unfloat x) (f-aig-unfloat y))\n (f-aig-ite* c x y)))))\n\n\n\n(local (defun nth-both-ind (n x y)\n (if (zp n)\n (cons x y)\n (nth-both-ind (1- n) (cdr x) (cdr y)))))\n\n\n(define maybe-f-aig-unfloat (sexpr faig)\n (if (3v-syntax-sexprp sexpr)\n faig\n (f-aig-unfloat faig))\n \/\/\/\n\n (defthm faig-eval-maybe-f-aig-unfloat\n (implies (equal (faig-eval x fenv)\n (4v->faig-const (4v-sexpr-eval sexpr senv)))\n (equal (faig-eval (maybe-f-aig-unfloat sexpr x) fenv)\n (faig-eval (f-aig-unfloat x) fenv)))\n :hints((\"Goal\" :in-theory (enable 4v->faig-const)))))\n\n\n\n(define maybe-f-aig-unfloat-list (sexprs faigs)\n :guard (equal (len sexprs) (len faigs))\n (if (atom sexprs)\n nil\n (cons (maybe-f-aig-unfloat (car sexprs) (car faigs))\n (maybe-f-aig-unfloat-list (cdr sexprs) (cdr faigs))))\n \/\/\/\n\n (defthm nth-maybe-f-aig-unfloat-list\n (implies (equal (len x) (len sexprs))\n (faig-fix-equiv (nth n (maybe-f-aig-unfloat-list sexprs x))\n (maybe-f-aig-unfloat (nth n sexprs) (nth n x))))\n :hints((\"Goal\"\n :induct (nth-both-ind n sexprs x)\n :expand ((maybe-f-aig-unfloat-list sexprs x))))))\n\n\n(define 4v-sexpr-to-faig-opt-apply (fn\n (sargs \"sexpr args\")\n (fargs \"faig args\" true-listp))\n :guard (equal (len sargs) (len fargs))\n :guard-hints ((\"Goal\" :in-theory (enable nth-open-quotep)))\n (b* ((targs (maybe-f-aig-unfloat-list sargs fargs)) ;; three-valued faig args\n (targ1 (4v-first targs))\n (targ2 (4v-second targs))\n (targ3 (4v-third targs))\n (farg1 (4v-first fargs))\n (farg2 (4v-second fargs))\n (farg3 (4v-third fargs)))\n (case fn\n ((t) (faig-t))\n ((f) (faig-f))\n ((z) (faig-z))\n ((x) (faig-x))\n (id (faig-fix farg1))\n (res (f-aig-res farg1 farg2))\n (tristate (t-aig-tristate farg1 farg2))\n (pullup (f-aig-pullup farg1))\n (zif (t-aig-ite* targ1 farg2 farg3))\n (not (t-aig-not targ1))\n (xdet (t-aig-xdet targ1))\n (and (t-aig-and targ1 targ2))\n (xor (t-aig-xor targ1 targ2))\n (iff (t-aig-iff targ1 targ2))\n (ite* (t-aig-ite* targ1 targ2 targ3))\n (or (t-aig-or targ1 targ2))\n (buf (faig-fix targ1))\n (ite (t-aig-ite targ1 targ2 targ3))\n (otherwise (faig-x))))\n \/\/\/\n\n (local (in-theory (enable 4v-sexpr-to-faig-opt-apply)))\n \n (local (defthm faig-eval-maybe-f-aig-unfloat-bind\n (implies (and (bind-free '((senv . senv)) (senv))\n (equal (faig-eval x fenv)\n (4v->faig-const (4v-sexpr-eval sexpr senv))))\n (equal (faig-eval (maybe-f-aig-unfloat sexpr x) fenv)\n (faig-eval (f-aig-unfloat x) fenv)))\n :hints((\"Goal\" :use faig-eval-maybe-f-aig-unfloat\n :in-theory (disable faig-eval-maybe-f-aig-unfloat)))))\n\n (local (defthm equal-implies-nth-equal-lemma\n (implies (equal (faig-eval-list fargs env)\n (4v-list->faig-const-list (4v-sexpr-eval-list sargs senv)))\n (equal (faig-eval (nth n fargs) env)\n (4v->faig-const (4v-sexpr-eval (nth n sargs) senv))))\n :hints ((\"goal\" :use ((:instance nth-of-faig-eval-list (x fargs))\n (:instance nth-of-4v-list->faig-const-list\n (x (4v-sexpr-eval-list sargs senv))))\n :do-not-induct t\n :in-theory (e\/d (faig-const-equiv)\n (nth-of-faig-eval-list\n nth-of-4v-list->faig-const-list))))))\n\n (defthm faig-eval-of-4v-sexpr-to-faig-opt-apply\n (implies (and (equal (faig-eval-list fargs env)\n (4v-list->faig-const-list (4v-sexpr-eval-list sargs senv)))\n (equal (len fargs) (len sargs))) ;; bozo implied by above\n (equal (faig-eval (4v-sexpr-to-faig-opt-apply fn sargs fargs) env)\n (4v->faig-const (4v-sexpr-apply fn (faig-const-list->4v-list\n (faig-eval-list fargs env))))))\n :hints((\"Goal\" :in-theory (e\/d* (4v-sexpr-apply 4v-sexpr-to-faig-apply)\n (4v-op-defs 4v->faig-const\n faig-const->4v\n nth nth-when-zp nth-add1\n faig-fix\n faig-const-fix))\n :do-not-induct t))))\n\n(defsection 4v-sexpr-to-faig-opt\n :parents (4v-sexpr-to-faig)\n :short \"Optimized conversion from sexprs into faigs.\"\n\n (mutual-recursion\n (defun 4v-sexpr-to-faig-opt (x onoff)\n (declare (xargs :guard t :verify-guards nil))\n (b* (((when (atom x))\n (if x\n (let ((look (hons-get x onoff)))\n (if (consp (cdr look))\n (cdr look)\n (faig-x)))\n (faig-x)))\n (fn (car x)))\n (mbe :logic (let ((sargs (cdr x)))\n (4v-sexpr-to-faig-opt-apply\n fn sargs (4v-sexpr-to-faig-opt-list sargs onoff)))\n :exec (b* (((when (eq fn (4vt))) (faig-t))\n ((when (eq fn (4vf))) (faig-f))\n ((when (eq fn (4vz))) (faig-z))\n ((when (eq fn (4vx))) (faig-x))\n (sargs (cdr x))\n (args (4v-sexpr-to-faig-opt-list sargs onoff))\n ;; There are a few functions where we don't really get any benefit from\n ;; knowing the args are three-valued:\n ((when (eq fn 'id)) (faig-fix (4v-first args))) ;; bozo why??\n ((when (eq fn 'res)) (f-aig-res (4v-first args) (4v-second args)))\n ((when (eq fn 'tristate)) (t-aig-tristate (4v-first args) (4v-second args)))\n ((when (eq fn 'pullup)) (f-aig-pullup (4v-first args)))\n ((when (eq fn 'zif))\n (t-aig-ite* (maybe-f-aig-unfloat\n (mbe :logic (first sargs)\n :exec (and (consp sargs) (car sargs)))\n (4v-first args))\n (4v-second args)\n (4v-third args)))\n ;; Otherwise, fixup only those subexpressions that might produce Zs\n (args (maybe-f-aig-unfloat-list sargs args))\n (arg1 (4v-first args))\n (arg2 (4v-second args))\n (arg3 (4v-third args)))\n (case fn\n (not (t-aig-not arg1))\n (and (t-aig-and arg1 arg2))\n (xor (t-aig-xor arg1 arg2))\n (iff (t-aig-iff arg1 arg2))\n (ite* (t-aig-ite* arg1 arg2 arg3))\n (or (t-aig-or arg1 arg2))\n (buf (faig-fix arg1))\n (xdet (t-aig-xdet arg1))\n (ite (t-aig-ite arg1 arg2 arg3))\n (otherwise (faig-x)))))))\n (defun 4v-sexpr-to-faig-opt-list (x onoff)\n (declare (xargs :guard t))\n (if (atom x)\n nil\n (cons (4v-sexpr-to-faig-opt (car x) onoff)\n (4v-sexpr-to-faig-opt-list (cdr x) onoff)))))\n\n (defthm len-4v-sexpr-to-faig-opt-list\n (equal (len (4v-sexpr-to-faig-opt-list x onoff))\n (len x)))\n\n (defthm-4v-sexpr-flag\n (defthm consp-4v-sexpr-to-faig-opt\n (consp (4v-sexpr-to-faig-opt x al))\n :rule-classes :type-prescription\n :flag sexpr)\n (defthm alistp-4v-sexpr-to-faig-opt-list\n (alistp (4v-sexpr-to-faig-opt-list x al))\n :flag sexpr-list))\n\n\n (verify-guards 4v-sexpr-to-faig-opt\n :hints ((\"goal\" :in-theory (e\/d (4v-sexpr-to-faig-opt-apply)\n (nth-when-zp nth)))\n (and stable-under-simplificationp\n '(:in-theory (enable nth-open-quotep)))))\n\n (memoize '4v-sexpr-to-faig-opt\n :condition '(and (consp x) (consp (cdr x))))\n\n ;; (local\n ;; (defthm substitute-4v-sexpr-to-faig-plain-3v-when-lists-equal\n ;; (implies (equal (faig-eval-list (4v-sexpr-to-faig-opt-list x al) env)\n ;; (faig-eval-list (4v-sexpr-to-faig-plain-list x al) env))\n ;; (equal (faig-eval (nth n (4v-sexpr-to-faig-opt-list x al)) env)\n ;; (faig-eval (nth n (4v-sexpr-to-faig-plain-list x al)) env)))\n ;; :hints((\"Goal\" :in-theory (disable 4v-sexpr-to-faig-plain\n ;; faig-eval-4v-sexpr-to-faig-plain\n ;; faig-eval-4v-sexpr-to-faig-plain-list\n ;; 4v-sexpr-to-faig-opt)\n ;; :induct (nth n x)\n ;; :expand ((4v-sexpr-to-faig-opt-list x al)\n ;; (4v-sexpr-to-faig-plain-list x al))))))\n\n ;; (local (defthm faig-eval-nth-when-faig-eval-list-equal\n ;; (implies (equal (faig-eval-list x env)\n ;; (4v-list->faig-const-list y))\n ;; (equal (faig-eval (nth n x) env)\n ;; (4v->faig-const (nth n y))))))\n\n\n\n ;; (local (defthm faig-eval-maybe-f-aig-unfloat-rw\n ;; (let ((4v-env (faig-const-alist->4v-alist (faig-eval-alist al fenv))))\n ;; (implies (and (bind-free '((al . al)) (al))\n ;; (equal (faig-eval x fenv)\n ;; (4v->faig-const (4v-sexpr-eval sexpr 4v-env))))\n ;; (equal (faig-eval (maybe-f-aig-unfloat sexpr x) fenv)\n ;; (faig-eval (f-aig-unfloat x) fenv))))\n ;; :hints((\"Goal\" :in-theory (enable maybe-f-aig-unfloat)))))\n\n ;; (local (defthm faig-eval-maybe-f-aig-unfloat-rw1\n ;; (let ((4v-env (faig-const-alist->4v-alist (faig-eval-alist al fenv))))\n ;; (implies\n ;; (and (bind-free '((al . al)) (al))\n ;; (equal (faig-eval-list x fenv)\n ;; (4v-list->faig-const-list (4v-sexpr-eval-list sexprs 4v-env))))\n ;; (equal (faig-eval (maybe-f-aig-unfloat (nth n sexprs) (nth n x)) fenv)\n ;; (faig-eval (f-aig-unfloat (nth n x)) fenv))))\n ;; :hints((\"Goal\"\n ;; :in-theory (disable* maybe-f-aig-unfloat)\n ;; :expand ((faig-eval-list x fenv)\n ;; (:free (a) (4v-sexpr-eval-list sexprs a))\n ;; (:free (a b) (4v-list->faig-const-list (cons a b))))\n ;; :induct (nth-both-ind n sexprs x)))))\n\n ;; (local (defthm faig-eval-nth-maybe-f-aig-unfloat-list\n ;; (implies (and (equal (faig-eval (nth n x) fenv)\n ;; (4v->faig-const (4v-sexpr-eval (nth n sexprs) senv)))\n ;; (equal (len x) (len sexprs)))\n ;; (equal (faig-eval (nth n (maybe-f-aig-unfloat-list sexprs x)) fenv)\n ;; (faig-eval (f-aig-unfloat (nth n x)) fenv)))\n ;; :hints((\"Goal\" :in-theory (disable* 4v->faig-const)))))\n\n (local\n (defthm 4v-sexpr-apply-of-faig-const-list->4v-list-of-4v-list->faig-const-list\n (equal (4v-sexpr-apply fn (faig-const-list->4v-list\n (4v-list->faig-const-list args)))\n (4v-sexpr-apply fn args))\n :hints((\"Goal\" :in-theory (e\/d* (4v-sexpr-apply)\n (4v-op-defs nth nth-when-zp))))))\n\n (defthm-4v-sexpr-flag\n (defthm faig-eval-4v-sexpr-to-faig-opt\n (equal (faig-eval (4v-sexpr-to-faig-opt x al) env)\n (faig-eval (4v-sexpr-to-faig-plain x al) env))\n :hints ('(:expand ((:free (env) (4v-sexpr-eval x env)))))\n :flag sexpr)\n (defthm faig-eval-4v-sexpr-to-faig-opt-list\n (equal (faig-eval-list (4v-sexpr-to-faig-opt-list x al) env)\n (faig-eval-list (4v-sexpr-to-faig-plain-list x al) env))\n :hints ('(:expand (:free (a b) (4v-list->faig-const-list (cons a b)))))\n :flag sexpr-list)))\n\n\n\n(defsection wrapper\n :extension 4v-sexpr-to-faig\n\n (defund 4v-sexpr-to-faig-fn1 (x onoff optimizep)\n \"Assumes ONOFF is fast.\"\n (declare (xargs :guard t))\n (if optimizep\n (4v-sexpr-to-faig-opt x onoff)\n (4v-sexpr-to-faig-plain x onoff)))\n\n (defund 4v-sexpr-to-faig-fn (x onoff optimizep)\n \"Assumes ONOFF is fast.\"\n (declare (xargs :guard t))\n (with-fast-alist onoff\n (if optimizep\n (4v-sexpr-to-faig-opt x onoff)\n (4v-sexpr-to-faig-plain x onoff))))\n\n (defmacro 4v-sexpr-to-faig (x onoff &key (optimize 't))\n `(4v-sexpr-to-faig-fn ,x ,onoff ,optimize))\n\n (add-macro-alias 4v-sexpr-to-faig 4v-sexpr-to-faig-fn)\n\n (local (in-theory (enable 4v-sexpr-to-faig-fn1\n 4v-sexpr-to-faig-fn)))\n\n (defthm 4v-sexpr-to-faig-fn1-removal\n (equal (4v-sexpr-to-faig-fn1 x onoff optimizep)\n (4v-sexpr-to-faig-fn x onoff optimizep)))\n\n (defthm consp-of-4v-sexpr-to-faig-fn\n (consp (4v-sexpr-to-faig-fn x onoff optimize))\n :rule-classes :type-prescription)\n\n (defthm faig-eval-of-4v-sexpr-to-faig\n (equal (faig-eval (4v-sexpr-to-faig-fn x onoff optimize) env)\n (faig-eval (4v-sexpr-to-faig-plain x onoff) env))))\n\n\n\n(defsection 4v-sexpr-to-faig-list\n :parents (4v-sexpr-to-faig)\n :short \"Convert a sexpr list into a @(see faig) list.\"\n\n (defund 4v-sexpr-to-faig-list-fn1 (x onoff optimizep)\n \"Assumes ONOFF is fast.\"\n (declare (xargs :guard t))\n (if optimizep\n (4v-sexpr-to-faig-opt-list x onoff)\n (4v-sexpr-to-faig-plain-list x onoff)))\n\n (defund 4v-sexpr-to-faig-list-fn (x onoff optimizep)\n \"Assumes ONOFF is fast.\"\n (declare (xargs :guard t :verify-guards nil))\n (mbe :logic\n (if (atom x)\n nil\n (cons (4v-sexpr-to-faig-fn (car x) onoff optimizep)\n (4v-sexpr-to-faig-list-fn (cdr x) onoff optimizep)))\n :exec\n (with-fast-alist onoff\n (4v-sexpr-to-faig-list-fn1 x onoff optimizep))))\n\n (defmacro 4v-sexpr-to-faig-list (x onoff &key (optimize 't))\n `(4v-sexpr-to-faig-list-fn ,x ,onoff ,optimize))\n\n (add-macro-alias 4v-sexpr-to-faig-list 4v-sexpr-to-faig-list-fn)\n\n (local (in-theory (enable 4v-sexpr-to-faig-list-fn1\n 4v-sexpr-to-faig-list-fn\n 4v-sexpr-to-faig-fn)))\n\n (defthm 4v-sexpr-to-faig-list-fn1-removal\n (equal (4v-sexpr-to-faig-list-fn1 x onoff optimizep)\n (4v-sexpr-to-faig-list-fn x onoff optimizep)))\n\n (verify-guards 4v-sexpr-to-faig-list-fn)\n\n (defthm alistp-of-4v-sexpr-to-faig-list-fn\n ;; Sort of an abuse of alistp, just showing that they're all conses.\n (alistp (4v-sexpr-to-faig-list-fn x onoff optimize))\n :rule-classes :type-prescription)\n\n (defthm len-of-4v-sexpr-to-faig-list-fn\n (equal (len (4v-sexpr-to-faig-list-fn x onoff optimize))\n (len x)))\n\n (defthm faig-eval-list-of-4v-sexpr-to-faig\n (equal (faig-eval-list (4v-sexpr-to-faig-list-fn x onoff optimize) env)\n (faig-eval-list (4v-sexpr-to-faig-plain-list x onoff) env))\n :hints((\"Goal\" :in-theory (enable 4v-list->faig-const-list)))))\n\n\n\n\n(defsection 4v-sexpr-to-faig-alist\n :parents (4v-sexpr-to-faig)\n :short \"Convert a sexpr alist into an @(see faig) alist.\"\n\n (defund 4v-sexpr-to-faig-alist-fn1 (x onoff optimizep)\n \"Assumes ONOFF is fast.\"\n (declare (xargs :guard t))\n (cond ((atom x)\n nil)\n ((atom (car x))\n (4v-sexpr-to-faig-alist-fn1 (cdr x) onoff optimizep))\n (t\n (cons (cons (caar x)\n (4v-sexpr-to-faig-fn1 (cdar x) onoff optimizep))\n (4v-sexpr-to-faig-alist-fn1 (cdr x) onoff optimizep)))))\n\n (defun 4v-sexpr-to-faig-alist-fn (x onoff optimizep)\n \"Assumes ONOFF is fast.\"\n (declare (xargs :guard t :verify-guards nil))\n (mbe :logic\n (cond ((atom x)\n nil)\n ((atom (car x))\n (4v-sexpr-to-faig-alist-fn (cdr x) onoff optimizep))\n (t\n (cons (cons (caar x)\n (4v-sexpr-to-faig-fn (cdar x) onoff optimizep))\n (4v-sexpr-to-faig-alist-fn (cdr x) onoff optimizep))))\n :exec\n (with-fast-alist onoff\n (4v-sexpr-to-faig-alist-fn1 x onoff optimizep))))\n\n (defmacro 4v-sexpr-to-faig-alist (x onoff &key (optimize 't))\n `(4v-sexpr-to-faig-alist-fn ,x ,onoff ,optimize))\n\n (add-macro-alias 4v-sexpr-to-faig-alist 4v-sexpr-to-faig-alist-fn)\n\n (local (in-theory (enable 4v-sexpr-to-faig-alist-fn1\n 4v-sexpr-to-faig-alist-fn)))\n\n (defthm 4v-sexpr-to-faig-alist-fn1-removal\n (equal (4v-sexpr-to-faig-alist-fn1 x onoff optimizep)\n (4v-sexpr-to-faig-alist-fn x onoff optimizep)))\n\n (verify-guards 4v-sexpr-to-faig-alist-fn))\n\n","avg_line_length":39.7562568009,"max_line_length":99,"alphanum_fraction":0.5306546967} +{"size":1789,"ext":"lisp","lang":"Common Lisp","max_stars_count":11.0,"content":"#|\n This file is a part of lichat\n (c) 2016 Shirakumo http:\/\/tymoon.eu (shinmera@tymoon.eu)\n Author: Nicolas Hafner \n|#\n\n(in-package #:org.shirakumo.lichat.lionchat)\n(in-readtable :qtools)\n\n(define-widget tray (QSystemTrayIcon)\n ((main :initarg :main :accessor main)))\n\n(define-subwidget (tray show) (q+:make-qaction \"&Show\/Hide\" tray))\n\n(define-subwidget (tray settings) (q+:make-qaction \"&Settings\" tray)\n (connect settings \"triggered()\" (main tray) \"m_SettingsCTRLPActionSlot()\"))\n\n(define-subwidget (tray quit) (q+:make-qaction \"&Quit\" tray)\n (connect quit \"triggered()\" (main tray) \"m_QuitCTRLQActionSlot()\"))\n\n(define-subwidget (tray menu) (q+:make-qmenu)\n (q+:add-action menu show)\n (q+:add-action menu settings)\n (q+:add-separator menu)\n (q+:add-action menu quit))\n\n(define-initializer (tray setup 0)\n (setf (q+:tool-tip tray) \"Lionchat\")\n (setf (q+:icon tray) (q+:window-icon *qapplication*))\n (setf (q+:context-menu tray) menu))\n\n(define-signal (tray tray-message) (string string))\n\n(define-slot (tray tray-message) ((title string) (message string))\n (declare (connected tray (tray-message string string)))\n (q+:show-message tray title message (q+:qsystemtrayicon.no-icon) 5000))\n\n(defmethod tray-message ((tray tray) title message)\n (signal! tray (tray-message string string) title message))\n\n;; Doesn't seem to get the signal for unknown reasons.\n(define-slot (tray clicked) ((reason \"QSystemTrayIcon::ActivationReason\"))\n (declare (connected tray (activated \"QSystemTrayIcon::ActivationReason\")))\n (when (= 3 (enum-value reason))\n (setf (q+:visible (main tray)) (not (q+:is-visible (main tray))))))\n\n(define-slot (tray show) ()\n (declare (connected show (triggered)))\n (setf (q+:visible (main tray)) (not (q+:is-visible (main tray)))))\n","avg_line_length":35.78,"max_line_length":77,"alphanum_fraction":0.7009502515} +{"size":27967,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"; Mixed theorems about bit-vector operations\n;\n; Copyright (C) 2008-2011 Eric Smith and Stanford University\n; Copyright (C) 2013-2020 Kestrel Institute\n;\n; License: A 3-clause BSD license. See the file books\/3BSD-mod.txt.\n;\n; Author: Eric Smith (eric.smith@kestrel.edu)\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n(in-package \"ACL2\")\n\n;; TODO: Merge this book into the more basic files.\n\n;; TODO: Generalize some 32s in this book to arbitrary sizes.\n\n(include-book \"rules\")\n(include-book \"overflow-and-underflow\")\n(local (include-book \"arith\"))\n;; (local (include-book \"kestrel\/arithmetic-light\/expt\" :dir :system))\n;; (local (include-book \"kestrel\/arithmetic-light\/expt2\" :dir :system))\n;; (local (include-book \"kestrel\/arithmetic-light\/plus-and-minus\" :dir :system))\n;; (local (include-book \"kestrel\/arithmetic-light\/plus\" :dir :system))\n\n(local (in-theory (disable LOGEXT-WHEN-NON-NEGATIVE-BECOMES-BVCHOP))) ;for speed\n\n;this helps a lot\n(defthm expt-of-one-less-linear\n (implies (integerp size)\n (equal (expt 2 size)\n (* 2 (expt 2 (+ -1 size)))))\n :rule-classes :linear)\n\n;Normal case: no overflow or underflow. Because of symmetry, we can reorder\n;the arguments to signed-addition-overflowsp and signed-addition-underflowsp if\n;we'd like.\n(defthmd sbvlt-add-to-both-sides-normal-case\n (implies (and (not (signed-addition-overflowsp size k x))\n (not (signed-addition-overflowsp size k y))\n (not (signed-addition-underflowsp size k x))\n (not (signed-addition-underflowsp size k y))\n (posp size))\n (equal (sbvlt size (bvplus size k x) (bvplus size k y))\n (sbvlt size x y)))\n :otf-flg t\n :hints ((\"Goal\" :in-theory (e\/d (bvplus bvchop-of-sum-cases sbvlt bvlt GETBIT-OF-PLUS\n logext-cases\n bvminus\n BVCHOP-WHEN-TOP-BIT-1\n GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER\n bvuminus bvcat logapp\n ;expt-of-+\n )\n (BVMINUS-BECOMES-BVPLUS-OF-BVUMINUS\n ;PLUS-BVCAT-WITH-0-ALT ;looped!\n ;PLUS-BVCAT-WITH-0 ;looped!\n bvlt-tighten-when-getbit-0-alt)))))\n\n;todo: add more versions\n(defthmd sbvlt-add-to-both-sides-normal-case-alt\n (implies (and (not (signed-addition-overflowsp size k x))\n (not (signed-addition-overflowsp size k y))\n (not (signed-addition-underflowsp size k x))\n (not (signed-addition-underflowsp size k y))\n (posp size))\n (equal (sbvlt size (bvplus size x k) (bvplus size y k))\n (sbvlt size x y)))\n :hints ((\"Goal\" :in-theory (enable sbvlt-add-to-both-sides-normal-case))))\n\n;if both additions overflow, adding k does not affect the relative positions of x and y\n(defthmd sbvlt-add-to-both-sides-both-overflow\n (implies (and (signed-addition-overflowsp size k x)\n (signed-addition-overflowsp size k y)\n (posp size))\n (equal (sbvlt size (bvplus size k x) (bvplus size k y))\n (sbvlt size x y)))\n :otf-flg t\n :hints ((\"Goal\" :in-theory (e\/d (bvplus bvchop-of-sum-cases sbvlt bvlt GETBIT-OF-PLUS\n logext-cases\n bvminus\n BVCHOP-WHEN-TOP-BIT-1\n GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER\n bvuminus\n )\n (BVMINUS-BECOMES-BVPLUS-OF-BVUMINUS\n;unsigned-byte-p-when-not-bvlt-tighten\n ;bvlt-when-unsigned-byte-p-better-non-constant\n ;bvlt-tighten-free\n bvlt-tighten-when-getbit-0-alt)))))\n\n;if both additions underflow, adding k does not affect the relative positions of x and y\n(defthmd sbvlt-add-to-both-sides-both-underflow\n (implies (and (signed-addition-underflowsp size k x)\n (signed-addition-underflowsp size k y)\n (posp size))\n (equal (sbvlt size (bvplus size k x) (bvplus size k y))\n (sbvlt size x y)))\n :otf-flg t\n :hints ((\"Goal\" :in-theory (e\/d (bvplus bvchop-of-sum-cases sbvlt bvlt GETBIT-OF-PLUS\n logext-cases\n bvminus\n BVCHOP-WHEN-TOP-BIT-1\n GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER\n bvuminus\n )\n (BVMINUS-BECOMES-BVPLUS-OF-BVUMINUS\n ;unsigned-byte-p-when-not-bvlt-tighten\n ;bvlt-when-unsigned-byte-p-better-non-constant\n ;bvlt-tighten-free\n bvlt-tighten-when-getbit-0-alt)))))\n\n(defthmd sbvlt-add-to-both-only-x-underflows\n (implies (and (signed-addition-underflowsp size k x)\n (not (signed-addition-underflowsp size k y))\n (posp size))\n (not (sbvlt size (bvplus size k x) (bvplus size k y))))\n :otf-flg t\n :hints ((\"Goal\" :in-theory (e\/d (bvplus bvchop-of-sum-cases sbvlt bvlt GETBIT-OF-PLUS\n logext-cases\n bvminus\n BVCHOP-WHEN-TOP-BIT-1\n GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER\n bvuminus\n )\n (BVMINUS-BECOMES-BVPLUS-OF-BVUMINUS\n ;unsigned-byte-p-when-not-bvlt-tighten\n ;bvlt-when-unsigned-byte-p-better-non-constant\n ;bvlt-tighten-free\n bvlt-tighten-when-getbit-0-alt)))))\n\n(defthmd sbvlt-add-to-both-only-y-underflows\n (implies (and (signed-addition-underflowsp size k y)\n (not (signed-addition-underflowsp size k x))\n (posp size))\n (sbvlt size (bvplus size k x) (bvplus size k y)))\n :otf-flg t\n :hints ((\"Goal\" :in-theory (e\/d (bvplus bvchop-of-sum-cases sbvlt bvlt GETBIT-OF-PLUS\n logext-cases\n bvminus\n BVCHOP-WHEN-TOP-BIT-1\n GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER\n bvuminus\n )\n (BVMINUS-BECOMES-BVPLUS-OF-BVUMINUS\n ;unsigned-byte-p-when-not-bvlt-tighten\n ;bvlt-when-unsigned-byte-p-better-non-constant\n ;bvlt-tighten-free\n bvlt-tighten-when-getbit-0-alt)))))\n\n(defthmd sbvlt-add-to-both-only-x-overflows\n (implies (and (signed-addition-overflowsp size k x)\n (not (signed-addition-overflowsp size k y))\n (posp size))\n (sbvlt size (bvplus size k x) (bvplus size k y)))\n :otf-flg t\n :hints ((\"Goal\" :in-theory (e\/d (bvplus bvchop-of-sum-cases sbvlt bvlt GETBIT-OF-PLUS\n logext-cases\n bvminus\n BVCHOP-WHEN-TOP-BIT-1\n GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER\n bvuminus\n )\n (BVMINUS-BECOMES-BVPLUS-OF-BVUMINUS\n ;unsigned-byte-p-when-not-bvlt-tighten\n ;bvlt-when-unsigned-byte-p-better-non-constant\n ;bvlt-tighten-free\n bvlt-tighten-when-getbit-0-alt)))))\n\n(defthmd sbvlt-add-to-both-only-y-overflows\n (implies (and (signed-addition-overflowsp size k y)\n (not (signed-addition-overflowsp size k x))\n (posp size))\n (not (sbvlt size (bvplus size k x) (bvplus size k y))))\n :otf-flg t\n :hints ((\"Goal\" :in-theory (e\/d (bvplus bvchop-of-sum-cases sbvlt bvlt GETBIT-OF-PLUS\n logext-cases\n bvminus\n BVCHOP-WHEN-TOP-BIT-1\n GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER\n bvuminus\n )\n (BVMINUS-BECOMES-BVPLUS-OF-BVUMINUS\n ;unsigned-byte-p-when-not-bvlt-tighten\n ;bvlt-when-unsigned-byte-p-better-non-constant\n ;bvlt-tighten-free\n bvlt-tighten-when-getbit-0-alt)))))\n\n(defthmd sbvlt-add-to-both-sides-gen\n (implies (and (equal (signed-addition-underflowsp size k x)\n (signed-addition-underflowsp size k y))\n (equal (signed-addition-overflowsp size k x)\n (signed-addition-overflowsp size k y))\n (posp size))\n (equal (sbvlt size (bvplus size k x) (bvplus size k y))\n (sbvlt size x y)))\n :hints ((\"Goal\" :in-theory (e\/d (sbvlt-add-to-both-sides-both-underflow\n sbvlt-add-to-both-sides-both-overflow\n sbvlt-add-to-both-sides-normal-case)\n (SIGNED-ADDITION-OVERFLOWSP\n SIGNED-ADDITION-undERFLOWSP)))))\n\n\n;move\n(DEFTHM BVMINUS-TRIM-ARG1\n (IMPLIES (AND (BIND-FREE (BIND-VAR-TO-UNSIGNED-TERM-SIZE-IF-TRIMMABLE 'XSIZE\n X))\n (< SIZE XSIZE)\n (NATP SIZE)\n (POSP XSIZE))\n (EQUAL (BVMINUS SIZE X Y)\n (BVMINUS SIZE (TRIM SIZE X) Y)))\n :HINTS ((\"Goal\" :IN-THEORY (ENABLE TRIM))))\n\n;move\n(DEFTHM BVMINUS-TRIM-LEADING-CONSTANT\n (IMPLIES (AND (SYNTAXP (QUOTEP K))\n (NOT (UNSIGNED-BYTE-P SIZE K))\n (NATP SIZE))\n (EQUAL (BVMINUS SIZE K X)\n (BVMINUS SIZE (BVCHOP SIZE K) X)))\n :HINTS ((\"Goal\" :IN-THEORY (E\/D (BVMINUS) NIL)\n :CASES ((NATP SIZE)))))\n\n(defthm not-signed-addition-overflowsp-when-signed-addition-underflowsp-cheap\n (implies (and (signed-addition-underflowsp size x y)\n (posp size))\n (not (signed-addition-overflowsp size x y)))\n :rule-classes ((:rewrite :backchain-limit-lst (0 nil)))\n :hints ((\"Goal\" :use (:instance SBVLT-TRANSITIVE-2-A\n (y x)\n (k 0)\n (free -1))\n :in-theory (disable SBVLT-TRANSITIVE-2-A SBVLT-OF-0-ARG2-POLARITY)))\n; :hints ((\"Goal\" :in-theory (enable bvplus)))\n )\n\n(defthm not-signed-addition-underflowsp-when-signed-addition-overflowsp-cheap\n (implies (and (signed-addition-overflowsp size x y)\n (posp size))\n (not (signed-addition-underflowsp size x y)))\n :rule-classes ((:rewrite :backchain-limit-lst (0 nil))))\n\n(defthmd sbvlt-add-to-both-sides-all-cases\n (implies (posp size)\n (equal (sbvlt size (bvplus size k x) (bvplus size k y))\n (if (signed-addition-overflowsp size k x)\n (if (signed-addition-overflowsp size k y)\n (sbvlt size x y)\n t)\n (if (signed-addition-overflowsp size k y)\n nil\n ;; neither overflows, so check underflow:\n (if (signed-addition-underflowsp size k x)\n (if (signed-addition-underflowsp size k y)\n (sbvlt size x y)\n nil)\n (if (signed-addition-underflowsp size k y)\n t\n (sbvlt size x y)))))))\n :hints ((\"Goal\" :in-theory (e\/d (sbvlt-add-to-both-sides-both-underflow\n sbvlt-add-to-both-sides-both-overflow\n sbvlt-add-to-both-sides-normal-case\n sbvlt-add-to-both-only-x-overflows\n sbvlt-add-to-both-only-y-overflows\n sbvlt-add-to-both-only-x-underflows\n sbvlt-add-to-both-only-y-underflows\n sbvlt-add-to-both-sides-gen)\n (signed-addition-overflowsp\n signed-addition-underflowsp)))))\n\n(defthm not-sbvlt-of-maxint\n (implies (and (syntaxp (quotep k))\n (equal k (- (expt 2 (- size 1)) 1))\n (posp size))\n (not (sbvlt size k x)))\n :hints ((\"Goal\" :in-theory (e\/d (sbvlt) nil))))\n\n(defthm sbvlt-of-bvplus-same-arg2\n (implies (and (not (signed-addition-overflowsp size y x)) ;we put y first in case it's a constant\n (not (signed-addition-underflowsp size y x))\n (posp size))\n (equal (sbvlt size x (bvplus size y x))\n (sbvlt size 0 y)))\n :otf-flg t\n :hints ((\"Goal\" :in-theory (e\/d (bvplus bvchop-of-sum-cases sbvlt bvlt GETBIT-OF-PLUS\n logext-cases\n bvminus\n BVCHOP-WHEN-TOP-BIT-1\n GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER\n ;expt-of-+\n )\n (BVMINUS-BECOMES-BVPLUS-OF-BVUMINUS\n ;unsigned-byte-p-when-not-bvlt-tighten\n ;bvlt-when-unsigned-byte-p-better-non-constant\n ;bvlt-tighten-free\n bvlt-tighten-when-getbit-0-alt)))))\n\n;just reorders the args to bvplus in the LHS and the over\/underflow hyps\n(defthm sbvlt-of-bvplus-same-arg1\n (implies (and (not (signed-addition-overflowsp size x y)) ;we put x first in case it's a constant\n (not (signed-addition-underflowsp size x y))\n (posp size))\n (equal (sbvlt size x (bvplus size x y))\n (sbvlt size 0 y)))\n :hints ((\"Goal\" :use (:instance sbvlt-of-bvplus-same-arg2)\n :in-theory (e\/d (signed-addition-overflowsp-symmetric\n signed-addition-underflowsp-symmetric)\n (SIGNED-ADDITION-OVERFLOWSP\n SIGNED-ADDITION-underFLOWSP)))))\n\n(defthm unsigned-byte-p-of-bvplus-of-bvuminus-one-bigger\n (implies (and (equal sizeplusone (+ 1 size))\n (unsigned-byte-p size x)\n (natp size)\n (unsigned-byte-p size y))\n (equal (unsigned-byte-p size (bvplus sizeplusone (bvuminus sizeplusone x) y))\n (bvle size x y)))\n :otf-flg t\n :hints ((\"Goal\" ;:cases ((natp size))\n :in-theory (e\/d (bvplus bvchop-of-sum-cases\n bvuminus\n bvchop-of-minus\n bvminus\n bvlt\n expt-of-+)\n (bvlt-of-plus-arg1\n bvlt-of-plus-arg2\n bvminus-becomes-bvplus-of-bvuminus\n <-becomes-bvlt-free\n <-becomes-bvlt-free-alt\n <-becomes-bvlt\n collect-constants-over-<\n <-becomes-bvlt-alt)))))\n\n(defthm unsigned-byte-p-of-bvplus-of-bvuminus-one-bigger-alt\n (implies (and (equal sizeplusone (+ 1 size))\n (unsigned-byte-p size x)\n (natp size)\n (unsigned-byte-p size y))\n (equal (unsigned-byte-p size (bvplus sizeplusone y (bvuminus sizeplusone x)))\n (bvle size x y)))\n :hints ((\"Goal\" :use (:instance unsigned-byte-p-of-bvplus-of-bvuminus-one-bigger)\n :in-theory (disable unsigned-byte-p-of-bvplus-of-bvuminus-one-bigger))))\n\n(defthm unsigned-byte-p-of-bvplus-of-bvuminus-one-bigger-alt-signed\n (implies (and (equal sizeplusone (+ 1 size))\n (posp size)\n (sbvle sizeplusone 0 x) ;x is non-negative\n (sbvle sizeplusone 0 y)) ;y is non-negative\n (equal (unsigned-byte-p size (bvplus sizeplusone y (bvuminus sizeplusone x)))\n (sbvle sizeplusone x y)))\n :hints ((\"Goal\" :use (:instance unsigned-byte-p-of-bvplus-of-bvuminus-one-bigger-alt\n (x (bvchop sizeplusone x))\n (y (bvchop sizeplusone y))\n )\n :in-theory (e\/d (sbvlt-rewrite)\n ( unsigned-byte-p-of-bvplus-of-bvuminus-one-bigger-alt ;todo in dagrulesmore0.lisp\n ;UNSIGNED-BYTE-P-OF-BVPLUS-TIGHTEN\n )))))\n\n(defthmd signed-addition-underflowsp-symmetric-limited\n (implies (and (syntaxp (smaller-termp y x))\n (posp size))\n (equal (signed-addition-underflowsp size x y)\n (signed-addition-underflowsp size y x)))\n :hints ((\"Goal\" :in-theory (e\/d (signed-addition-underflowsp-symmetric)\n (signed-addition-underflowsp)))))\n\n(defthmd signed-addition-overflowsp-symmetric-limited\n (implies (and (syntaxp (smaller-termp y x))\n (posp size))\n (equal (signed-addition-overflowsp size x y)\n (signed-addition-overflowsp size y x)))\n :hints ((\"Goal\" :in-theory (e\/d (signed-addition-overflowsp-symmetric)\n (signed-addition-overflowsp)))))\n\n;for overflow to happen (bvuminus 32 k2) must be positive, so k2 must be negative...\n(defthm signed-addition-overflowsp-of-bvuminus-and-bvplus-same\n (implies (not (signed-addition-underflowsp 32 k2 x)) ;this also works: (sbvlt 32 (bvuminus 32 k2) x) ;todo: gen\n (equal (signed-addition-overflowsp 32 (bvuminus 32 k2) (bvplus 32 k2 x))\n nil))\n :hints ((\"Goal\":in-theory (e\/d (signed-addition-overflowsp\n bvplus bvchop-of-sum-cases sbvlt bvlt GETBIT-OF-PLUS\n bvuminus\n logext-cases\n bvminus\n BVCHOP-WHEN-TOP-BIT-1\n GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER\n )\n (BVMINUS-BECOMES-BVPLUS-OF-BVUMINUS\n ;;unsigned-byte-p-when-not-bvlt-tighten\n ;bvlt-when-unsigned-byte-p-better-non-constant\n ;bvlt-tighten-free\n bvlt-tighten-when-getbit-0-alt)))))\n\n\n\n;for underflow to happen, (bvuminus 32 k2) must be negative, so k2 must be positive\n(defthm signed-addition-underflowsp-of-bvuminus-and-bvplus-same\n (implies (and (not (signed-addition-overflowsp 32 k2 x))\n (not (equal (bvchop 32 k2) (expt 2 31)))) ;k2 not min int\n (equal (signed-addition-underflowsp 32 (bvuminus 32 k2) (bvplus 32 k2 x))\n nil))\n :otf-flg t\n :hints ((\"Goal\":in-theory (e\/d (signed-addition-underflowsp\n bvplus bvchop-of-sum-cases sbvlt bvlt GETBIT-OF-PLUS\n bvuminus\n logext-cases\n bvminus\n BVCHOP-WHEN-TOP-BIT-1\n GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER\n )\n (BVMINUS-BECOMES-BVPLUS-OF-BVUMINUS\n ;;unsigned-byte-p-when-not-bvlt-tighten\n ;bvlt-when-unsigned-byte-p-better-non-constant\n ;bvlt-tighten-free\n bvlt-tighten-when-getbit-0-alt)))))\n\n(defthm sbvlt-of-bvplus-of-constant-and-constant-2\n (implies (and (syntaxp (and (quotep k) (quotep k2)))\n (not (signed-addition-overflowsp 32 k x))\n (not (signed-addition-overflowsp 32 k (bvuminus 32 k2))) ;gets computed\n (not (signed-addition-underflowsp 32 k x))\n (not (signed-addition-underflowsp 32 k (bvuminus 32 k2))) ;gets computed\n (not (signed-addition-overflowsp 32 k2 x))\n (not (signed-addition-underflowsp 32 k2 x))\n (not (equal (bvchop 32 k2) (expt 2 31))) ;gen?\n )\n (equal (sbvlt 32 (bvplus 32 k2 x) k)\n (sbvlt 32 x (bvplus 32 k (bvuminus 32 k2)))))\n :hints ((\"Goal\" :use (:instance sbvlt-add-to-both-sides-normal-case\n (x (bvplus 32 k2 x))\n (y k)\n (k (bvuminus 32 k2))\n (size 32)\n )\n :in-theory (e\/d (SIGNED-ADDITION-OVERFLOWSP-symmetric-limited\n SIGNED-ADDITION-underFLOWSP-symmetric-limited)\n ( signed-addition-overflowsp\n signed-addition-underflowsp)))))\n\n;add dual for overflow?\n(defthm signed-addition-underflowsp-of-min-int\n (equal (signed-addition-underflowsp 32 2147483648 k)\n (sbvlt 32 k 0)))\n\n;todo: dual for underflow?\n(defthm signed-addition-overflowsp-when-negative-constant-version\n (implies (and (syntaxp (quotep k))\n (sbvle 32 k 0))\n (not (signed-addition-overflowsp 32 k k))))\n\n(defthm sbvlt-of-bvplus-of-min-int-when-positive\n (implies (and (sbvle 32 0 k)\n (sbvlt 32 0 x))\n (sbvlt 32\n (bvplus 32 2147483648 k) ;must negative\n x ;assumed to be non-negative\n ))\n :hints ((\"Goal\" :in-theory (enable sbvlt bvplus bvchop-of-sum-cases))))\n\n;gen the size\n(defthm getbit-when-bvchop-bound\n (implies (and (< (bvchop 32 x) k)\n (syntaxp (quotep k))\n (<= k 2147483648))\n (equal (getbit 31 x)\n 0))\n :hints ((\"Goal\" :in-theory (enable bvchop-reduce-when-top-bit-known bvcat logapp))))\n\n;gen the size?\n(defthm bvchop-tighten-when-bound-cheap\n (implies (< (bvchop 32 x) 2147483648) ;gen the constant?\n (equal (bvchop 32 x)\n (bvchop 31 x)))\n :rule-classes ((:rewrite :backchain-limit-lst (0))))\n\n(defthmd bvlt-of-min-int-becomes-sbvlt-of-0\n (equal (bvlt 32 x 2147483648)\n (sbvle 32 0 x))\n :hints ((\"Goal\" :in-theory (enable sbvlt bvlt logext))))\n\n(defthm sbvlt-of-bvplus-of-min-int-and-0\n (equal (sbvlt 32 (bvplus 32 2147483648 x) 0)\n (sbvle 32 0 x))\n :hints ((\"Goal\" :in-theory (e\/d (bvplus bvchop-of-sum-cases sbvlt bvlt GETBIT-OF-PLUS\n logext-cases\n bvminus\n BVCHOP-WHEN-TOP-BIT-1\n GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER\n )\n (;unsigned-byte-p-when-not-bvlt-tighten\n ;bvlt-when-unsigned-byte-p-better-non-constant\n ;bvlt-tighten-free\n bvlt-tighten-when-getbit-0-alt)))))\n\n(defthm sbvlt-of-bvplus-of-constant-and-constant-2b\n (implies (and (syntaxp (and (quotep k) (quotep k2)))\n (not (signed-addition-overflowsp 32 k x))\n (not (signed-addition-overflowsp 32 k (bvuminus 32 k2))) ;gets computed\n (not (signed-addition-underflowsp 32 k x))\n (not (signed-addition-underflowsp 32 k (bvuminus 32 k2))) ;gets computed\n (not (signed-addition-overflowsp 32 k2 x))\n (not (signed-addition-underflowsp 32 k2 x))\n (not (equal (bvchop 32 k2) (expt 2 31))) ;gen?!\n )\n (equal (sbvlt 32 k (bvplus 32 k2 x))\n (sbvlt 32 (bvplus 32 k (bvuminus 32 k2)) x)))\n :hints ((\"Goal\" :cases ((not (equal (bvchop 32 k2) (expt 2 31))))\n :use (:instance sbvlt-add-to-both-sides-normal-case\n (x k)\n (y (bvplus 32 k2 x))\n (k (bvuminus 32 k2))\n (size 32)\n )\n :in-theory (e\/d (bvlt-of-min-int-becomes-sbvlt-of-0\n SIGNED-ADDITION-OVERFLOWSP-symmetric-limited\n SIGNED-ADDITION-underFLOWSP-symmetric-limited)\n ( signed-addition-overflowsp\n signed-addition-underflowsp\n SBVLT-OF-0-ARG2-POLARITY ;todo: looped\n )))))\n\n(local (include-book \"kestrel\/library-wrappers\/arithmetic-top-with-meta\" :dir :system))\n\n;seems helpful (e.g., in proving that 2^(i-1) + x < 2^i when x < 2^(i-1)).\n(defthm expt-half-linear\n (implies (natp i)\n (equal (expt 2 i)\n (+ (expt 2 (+ -1 i))\n (expt 2 (+ -1 i)))))\n :hints ((\"Goal\" :in-theory (enable expt-of-+)))\n :rule-classes :linear)\n\n;If k+x=0, then x :key #'length))))\n (if boundary\n `(:sequence ,boundary ,alternation ,boundary)\n alternation)))\n\n(defun make-tm-string-region (sepalator)\n (make-tm-region `(:sequence ,sepalator)\n `(:sequence ,sepalator)\n :name 'syntax-string-attribute\n :patterns (make-tm-patterns (make-tm-match \"\\\\\\\\.\"))))\n\n(defun floating-point-literals ()\n (let* ((digitpart \"([0-9](_?[0-9])*)\")\n (fraction (format nil \"\\\\.(~a)\" digitpart))\n (exponent (format nil \"((e|E)(\\\\+|\\\\-)?(~a))\" digitpart))\n (pointfloat (format nil \"(((~a)?(~a))|((~a)\\\\.))\" digitpart fraction digitpart))\n (exponentfloat (format nil \"(((~a)|(~a))(~a))\" digitpart pointfloat exponent)))\n (format nil \"\\\\b((~a)|(~a))\\\\b\" pointfloat exponentfloat)))\n\n#| link : https:\/\/docs.python.org\/3\/reference\/lexical_analysis.html |#\n(defun make-tmlanguage-python ()\n (let* ((integer-literals \"\\\\b(([1-9](_?[0-9])*)|(0(_?0)*)|(0(b|B)(_?[01])+)|(0(o|O)(_?[0-7])+)|(0(x|X)(_?[0-9a-fA-F])+))\\\\b\")\n (floating-point-literals (floating-point-literals))\n (patterns (make-tm-patterns\n (make-tm-region \"#\" \"$\" :name 'syntax-comment-attribute)\n (make-tm-match (tokens :word-boundary\n '(\"and\" \"as\"\n \"assert\" \"break\" \"class\" \"continue\" \"def\"\n \"del\" \"elif\" \"else\" \"except\" \"finally\"\n \"for\" \"from\" \"global\" \"if\" \"import\"\n \"in\" \"is\" \"lambda\" \"nonlocal\" \"not\"\n \"or\" \"pass\" \"raise\" \"return\" \"self\" \"try\"\n \"while\" \"with\" \"yield\"))\n :name 'syntax-keyword-attribute)\n (make-tm-match (tokens :word-boundary\n '(\"False\" \"None\" \"True\"))\n :name 'syntax-constant-attribute)\n (make-tm-string-region \"\\\"\")\n (make-tm-string-region \"'\")\n (make-tm-string-region \"\\\"\\\"\\\"\")\n (make-tm-string-region \"'''\")\n (make-tm-match integer-literals\n :name 'syntax-constant-attribute)\n (make-tm-match floating-point-literals\n :name 'syntax-constant-attribute)\n #+nil\n (make-tm-match (tokens nil '(\"+\" \"-\" \"*\" \"**\" \"\/\" \"\/\/\" \"%\" \"@\"\n \"<<\" \">>\" \"&\" \"|\" \"^\" \"~\"\n \"<\" \">\" \"<=\" \">=\" \"==\" \"!=\"))\n :name 'syntax-keyword-attribute))))\n (make-tmlanguage :patterns patterns)))\n\n(defvar *python-syntax-table*\n (let ((table (make-syntax-table\n :space-chars '(#\\space #\\tab #\\newline)\n :paren-pairs '((#\\( . #\\))\n (#\\{ . #\\})\n (#\\[ . #\\]))\n :string-quote-chars '(#\\\" #\\')\n :block-string-pairs '((\"\\\"\\\"\\\"\" . \"\\\"\\\"\\\"\")\n (\"'''\" . \"'''\"))\n :line-comment-string \"#\"))\n (tmlanguage (make-tmlanguage-python)))\n (set-syntax-parser table tmlanguage)\n table))\n\n(define-major-mode python-mode language-mode\n (:name \"python\"\n :keymap *python-mode-keymap*\n :syntax-table *python-syntax-table*\n :mode-hook *python-mode-hook*)\n (setf (variable-value 'enable-syntax-highlight) t\n (variable-value 'indent-tabs-mode) nil\n (variable-value 'tab-width) 4\n (variable-value 'calc-indent-function) 'python-calc-indent\n (variable-value 'line-comment) \"#\"\n (variable-value 'beginning-of-defun-function) 'beginning-of-defun\n (variable-value 'end-of-defun-function) 'end-of-defun))\n\n#| link : https:\/\/www.python.org\/dev\/peps\/pep-0008\/ |#\n(defun python-calc-indent (point)\n (with-point ((point point))\n (let ((tab-width (variable-value 'tab-width :default point))\n (column (point-column point)))\n (+ column (- tab-width (rem column tab-width))))))\n\n(defun beginning-of-defun (point n)\n (loop :repeat n :do (search-backward-regexp point \"^\\\\w\")))\n\n(defun end-of-defun (point n)\n (with-point ((p point))\n (loop :repeat n\n :do (line-offset p 1)\n (unless (search-forward-regexp p \"^\\\\w\") (return)))\n (line-start p)\n (move-point point p)))\n\n(pushnew (cons \"\\\\.py$\" 'python-mode) *auto-mode-alist* :test #'equal)\n(pushnew (cons \"wscript\" 'python-mode) *auto-mode-alist* :test #'equal)\n","avg_line_length":46.785046729,"max_line_length":127,"alphanum_fraction":0.4740311626} +{"size":3690,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"#|\n This file is a part of Atomics\n (c) 2019 Shirakumo http:\/\/tymoon.eu (shinmera@tymoon.eu)\n Author: Nicolas Hafner \n|#\n\n(defpackage #:atomics\n (:nicknames #:org.shirakumo.atomics)\n (:use #:cl)\n (:shadow #:defstruct)\n (:export\n #:implementation-not-supported\n #:operation\n #:cas\n #:atomic-incf\n #:atomic-decf\n #:atomic-update\n #:defstruct))\n(in-package #:org.shirakumo.atomics)\n\n(define-condition implementation-not-supported (error)\n ((operation :initarg :operation :initform NIL :reader operation))\n (:report (lambda (c s) (format s \"~\n~:[~a is not supported by the Atomics library.~;\n~:*The ~a operation is not supported by ~a in Atomics.~]\nThis is most likely due to lack of support by the implementation.\n\nIf you think this is in error, and the implementation does expose\nthe necessary operators, please file an issue at\n\n https:\/\/github.com\/shinmera\/atomics\/issues\"\n (operation c)\n (lisp-implementation-type)))))\n\n(defun no-support (&optional operation)\n (error 'implementation-not-supported :operation operation))\n\n#-(or allegro ccl clasp ecl lispworks mezzano sbcl)\n(no-support)\n\n(defmacro cas (place old new)\n #+allegro\n `(if (excl:atomic-conditional-setf ,place ,new ,old) T NIL)\n #+ccl\n `(ccl::conditional-store ,place ,old ,new)\n #+clasp\n (let ((tmp (gensym \"OLD\")))\n `(let ((,tmp ,old)) (eq ,tmp (mp:cas ,place ,tmp ,new))))\n #+ecl\n (let ((tmp (gensym \"OLD\")))\n `(let ((,tmp ,old)) (eq ,tmp (mp:compare-and-swap ,place ,tmp ,new))))\n #+lispworks\n `(system:compare-and-swap ,place ,old ,new)\n #+mezzano\n (let ((tmp (gensym \"OLD\")))\n `(let ((,tmp ,old))\n (eq ,tmp (mezzano.extensions:compare-and-swap ,place ,tmp ,new))))\n #+sbcl\n (let ((tmp (gensym \"OLD\")))\n `(let ((,tmp ,old)) (eq ,tmp (sb-ext:cas ,place ,tmp ,new))))\n #-(or allegro ccl clasp ecl lispworks mezzano sbcl)\n (no-support 'CAS))\n\n(defmacro atomic-incf (place &optional (delta 1))\n #+allegro\n `(excl:incf-atomic ,place ,delta)\n #+ccl\n `(ccl::atomic-incf-decf ,place ,delta)\n #+clasp\n `(mp:atomic-incf ,place ,delta)\n #+ecl\n `(+ (mp:atomic-incf ,place ,delta) ,delta)\n #+lispworks\n `(system:atomic-incf ,place ,delta)\n #+mezzano\n `(+ (mezzano.extensions:atomic-incf ,place ,delta) ,delta)\n #+sbcl\n `(+ (sb-ext:atomic-incf ,place ,delta) ,delta)\n #-(or allegro ccl clasp ecl lispworks mezzano sbcl)\n (no-support 'atomic-incf))\n\n(defmacro atomic-decf (place &optional (delta 1))\n #+allegro\n `(excl:decf-atomic ,place ,delta)\n #+ccl\n `(ccl::atomic-incf-decf ,place (- ,delta))\n #+clasp\n `(mp:atomic-decf ,place ,delta)\n #+ecl\n `(- (mp:atomic-decf ,place ,delta) ,delta)\n #+lispworks\n `(system:atomic-decf ,place ,delta)\n #+mezzano\n `(- (mezzano.extensions:atomic-decf ,place ,delta) ,delta)\n #+sbcl\n `(- (sb-ext:atomic-decf ,place ,delta) ,delta)\n #-(or allegro ccl clasp ecl lispworks mezzano sbcl)\n (no-support 'atomic-decf))\n\n(defmacro atomic-update (place update-fn)\n #+allegro\n (let ((value (gensym \"VALUE\")))\n `(excl:update-atomic (,value ,place) (funcall ,update-fn ,value)))\n #+clasp\n `(mp:atomic-update ,place ,update-fn)\n #+ecl\n `(mp:atomic-update ,place ,update-fn)\n #+sbcl\n `(sb-ext:atomic-update ,place ,update-fn)\n #-(or allegro clasp ecl sbcl)\n (let ((old (gensym \"OLD\"))\n (new (gensym \"NEW\")))\n `(loop for ,old = ,place\n for ,new = (funcall ,update-fn ,old)\n until (cas ,place ,old ,new))))\n\n(defmacro defstruct (name &rest slots)\n #+ecl\n `(cl:defstruct (,@(if (listp name) name (list name))\n :atomic-accessors)\n ,@slots)\n #-ecl\n `(cl:defstruct ,name ,@slots))\n","avg_line_length":29.7580645161,"max_line_length":74,"alphanum_fraction":0.6308943089} +{"size":1659,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":";;;; Reimplementation of Owl Lisp in Common Lisp\n\n(defmacro while (test &body body)\n `(loop while ,test do (progn ,@body)))\n\n(defun << (a b)\n (ash a b))\n\n(defun >> (a b)\n (ash a (- b)))\n\n;;\n\n(defconstant W 2) ;;sizeof(word)\n\n(defvar *heap* nil)\n(defvar *hp* 0)\n\n(defun hp ()\n (elt *heap* *hp*))\n\n(defun hp++ ()\n (prog1 (elt *heap* *hp*)\n (incf *hp*)))\n\n(defun load-heap (filename)\n (with-open-file (file filename :element-type '(unsigned-byte 8))\n (let* ((size (file-length file))\n (heap (make-array size :element-type '(unsigned-byte 8))))\n (assert (= size (read-sequence heap file)))\n (setf *heap* heap *hp* 0)\n t)))\n\n;;; FASL decoding\n\n(defun get-nat ()\n (let ((result 0))\n (loop (progn (let ((i (hp++))\n (new (<< result 7)))\n (assert (= result (>> new 7))) ; overflow check\n (setf result (+ new (logand i 127)))\n (when (zerop (logand i 128)) (return result)))))))\n\n(defun get-obj-metrics ()\n (let ((nwords 0) (nobjs 0))\n (while (not (zerop (hp)))\n (ecase (hp++)\n (1\n (hp++)\n (let ((size (get-nat)))\n (incf nobjs)\n (incf nwords size)\n (dotimes (_ size)\n (when (zerop (hp))\n (incf *hp* 2))\n (get-nat))))\n (2\n (hp++)\n (let* ((bytes (get-nat))\n (size (if (zerop (mod bytes W))\n (+ 1 (truncate bytes W))\n (+ 2 (truncate bytes W)))))\n (incf *hp* bytes)\n (incf nobjs)\n (incf nwords size)))))\n (values nwords nobjs)))\n","avg_line_length":24.7611940299,"max_line_length":69,"alphanum_fraction":0.4611211573} +{"size":41945,"ext":"lisp","lang":"Common Lisp","max_stars_count":3.0,"content":"(in-package :fcg)\n\n(export '(*update-references* match-structures))\n\n;;; 1. Matching of structures\n\n(defun valid-component-p (p &optional (bs +no-bindings+))\n (or (atom p)\n (not (duplicates? (substitute-bindings bs (rest p)) \n \t\t\t:test #'equal))))\n\n(defun valid-component-list-p (p &optional (bs +no-bindings+))\n (setq p (substitute-bindings bs p))\n (and (every #'valid-component-p p)\n (not (duplicates? p :test #'equal))))\n\n(defun unify-components (c1 c2 &optional (bsl (list +no-bindings+)) &key cxn-inventory)\n (delete-if-not #'(lambda (bs)\n\t\t (valid-component-p c1 bs))\n\t\t (unify c1 c2 bsl :cxn-inventory cxn-inventory)))\n\n(defun unify-component-values (v1 v2 &optional (bsl (list +no-bindings+)) &key cxn-inventory)\n (delete-if-not #'(lambda (bs)\n\t\t (valid-component-list-p v1 bs))\n\t\t (unify v1 v2 bsl :cxn-inventory cxn-inventory)))\n\n(defun remove-cons-cell (dotted-list)\n \"Turns '(a b . c) into '(a b)\"\n (if (symbolp (rest dotted-list))\n (list (first dotted-list))\n (cons (first dotted-list) (remove-cons-cell (rest dotted-list)))))\n\n(defun unify-features (f1 f2 bsl &key cxn-inventory)\n (cond ((eq 'TAG (unit-name f1))\n\t (unify-tags f1 f2 bsl #'(lambda (f1 f2 bsl &key cxn-inventory)\n\t\t\t\t (unify-features f1 f2 bsl :cxn-inventory cxn-inventory))\n :cxn-inventory cxn-inventory))\n\t((eq 'TAG-ALL (unit-name f1))\n\t (unify-tag-all f1 f2 bsl #'(lambda (f1 f2 bsl &key cxn-inventory)\n\t\t\t\t (unify-features f1 f2 bsl :cxn-inventory cxn-inventory)) :cxn-inventory cxn-inventory))\n\t((string= (feature-name f1) (feature-name f2))\n\t (case (feature-name f1)\n\t ;; (meaning (unify-component-values (feature-value f1) (feature-value f2) bsl))\n\t ;; (form (unify-component-values (feature-value f1) (feature-value f2) bsl))\n\t (otherwise (unify (feature-value f1)\n\t\t\t (feature-value f2)\n\t\t\t bsl\n :cxn-inventory cxn-inventory))))))\n\n(defun unify-unit-features (fs1 fs2 bsl &key cxn-inventory)\n (loop for f1 in fs1 while bsl do\n (let ((f2 (find (if (tag-p f1)\n\t\t\t (feature-name (third f1))\n\t\t\t (feature-name f1))\n\t\t fs2\n\t\t :key #'feature-name\n :test #'string=)))\n\t (if f2\n ;; If feature with same feature-name is found in fs2 (transient structure unit)\n ;; then unify f1 with f2\n (setq bsl (unify-features f1 f2 bsl :cxn-inventory cxn-inventory))\n ;; otherwise, unify it with (feature-name nil)\n ;; This case is for example often used for footprints\n (setq bsl (unify-features f1 (make-feature (feature-name f1) nil) bsl :cxn-inventory cxn-inventory)))))\n bsl)\n\n(defun unify-units (u1 u2 bsl &key cxn-inventory)\n (setq bsl (unify (unit-name u1) (unit-name u2) bsl :cxn-inventory cxn-inventory))\n (unless (fail? bsl)\n (unify-unit-features (unit-features u1)\n\t\t\t (unit-features u2)\n\t\t\t bsl\n :cxn-inventory cxn-inventory)))\n\n(defun unify-structures (pattern source bsl &key cxn-inventory)\n (setq pattern (remove-J-units pattern))\n (when (<= (length pattern) (length source))\n (cond ((null pattern) bsl)\n\t ((<= (length pattern) (length source))\n\t (subset-p pattern source bsl :unify-fn #'(lambda (u1 u2 bsl &key cxn-inventory)\n\t\t\t\t\t\t (unify-units u1 u2 bsl :cxn-inventory cxn-inventory))\n :cxn-inventory cxn-inventory))\n\t (t +fail+))))\n\n(define-event matching-finished (pattern list) (source list) (bindings-list list))\n\n(defun match-structures (pattern source &optional (bindings +no-bindings+) &key cxn-inventory)\n (let ((result (unify-structures pattern source (list bindings) :cxn-inventory cxn-inventory)))\n (notify matching-finished pattern source result)\n result))\n\n;;; 2. Merging of structures\n\n(defun merge-components (c1 c2 bindings &key cutoff cxn-inventory)\n (declare (ignore cutoff))\n (let ((bsl (unify-components c1 c2 (list bindings) :cxn-inventory cxn-inventory)))\n (when bsl\n (list (make-merge-result c2 bsl)))))\n\n\n(defun merge-component-values (m1 m2 bindings &key cutoff cxn-inventory)\n (if (and (consp m1) (merge-fn (first m1)))\n (let ((mrs (merge-special m1 m2 bindings cutoff #'merge-components :cxn-inventory cxn-inventory)))\n\t(dolist (mr mrs)\n\t (setf (mr-bsl mr)\n\t\t(delete-if-not\n\t\t #'(lambda (bs)\n\t\t (valid-component-list-p (mr-expr mr) bs))\n\t\t (mr-bsl mr))))\n\t(delete-if #'null mrs :key #'mr-bsl))\n (let ((bsl (unify-component-values m1 m2 (list bindings) :cxn-inventory cxn-inventory)))\n\t(when bsl (list (make-merge-result m2 bsl))))))\n\n(defun merge-features (f1 f2 bindings &key cutoff cxn-inventory)\n (cond ((eq 'TAG (feature-name f1))\n\t (merge-tags f1 f2 bindings :merge-fn #'merge-features :cutoff cutoff :cxn-inventory cxn-inventory))\n\t((eq 'TAG-ALL (feature-name f1))\n\t (merge-tag-all f1 f2 bindings :merge-fn #'merge-features :cutoff cutoff :cxn-inventory cxn-inventory))\n\t((eq (feature-name f1) (feature-name f2))\n\t (let* ((pattern (feature-value f1))\n\t\t(value-merges\n\t\t (case (feature-name f1)\n\t\t ;;(referent (merge-referent-values (feature-value f1) (feature-value f2) bindings :cutoff cutoff))\n\t\t (meaning (if (or (variable-p pattern) (variable-p (feature-value f2)))\n (fcg-merge pattern (feature-value f2) bindings :cutoff cutoff :cxn-inventory cxn-inventory)\n (merge-component-values (feature-value f1) (feature-value f2) bindings\n :cutoff cutoff :cxn-inventory cxn-inventory)))\n\t\t (form (fcg-merge (feature-value f1) (feature-value f2) bindings :cutoff cutoff :cxn-inventory cxn-inventory))\n ;; (merge-component-values (feature-value f1) (feature-value f2) bindings :cutoff cutoff))\n\t\t ;;(boundaries (fcg-merge (feature-value f1) (feature-value f2) bindings :cutoff cutoff))\n\t\t (otherwise (fcg-merge pattern\n\t\t\t\t\t (feature-value f2)\n\t\t\t\t\t bindings :cutoff cutoff :cxn-inventory cxn-inventory)))))\n;;\t (format t \"~%f1=~A,~%f2=~A~%pattern=~A~%bs=~A\" f1 f2 pattern bindings)\n;;\t (format t \"~%vm=~A\" value-merges)\n\t (let ((result nil))\n\t (dolist (mr value-merges)\n\t (setf (mr-expr mr) \n\t\t (make-feature (feature-name f1) (mr-expr mr)))\n\t (when (mr-added mr)\n\t\t (setf (mr-added mr)\n\t\t (list (list (feature-name f1) (mr-added mr)))))\n\t (if (= 1 (length (mr-bsl mr)))\n\t\t (push mr result)\n\t\t (dolist (bs (mr-bsl mr))\n\t\t (let* ((e (substitute-bindings bs (mr-expr mr)))\n\t\t\t (prev (find e result :key #'mr-expr :test #'equalp)))\n\t\t (if prev \n\t\t\t (push bs (mr-bsl prev))\n\t\t\t (push (make-merge-result e (list bs))\n\t\t\t\t result))))))\n\t result)))))\n\n(defun merge-unit-features (fs1 fs2 bindings &key cutoff cxn-inventory)\n (make-subset fs1 fs2 bindings\n\t :test-fn #'(lambda (f1 f2) \n\t\t\t (eq (if (tag-p f1) (feature-name (third f1)) (feature-name f1))\n\t\t\t\t(if (tag-p f2) (feature-name (third f2)) (feature-name f2))))\n\t :merge-fn #'merge-features\n :cutoff cutoff\n :cxn-inventory cxn-inventory))\n\n(defun merge-units (u1 u2 bindings &key cutoff cxn-inventory)\n (setq bindings (unify-simple (unit-name u1) (unit-name u2) bindings :cxn-inventory cxn-inventory))\n (unless (fail? bindings)\n (let ((mrs (merge-unit-features (unit-features u1)\n\t\t\t\t (unit-features u2)\n\t\t\t\t bindings\n\t\t\t\t :cutoff cutoff\n :cxn-inventory cxn-inventory)))\n (dolist (mr mrs)\n\t(setf (mr-expr mr) (make-unit :name (unit-name u2)\n\t\t\t\t :features (mr-expr mr)))\n\t(when (mr-added mr)\n\t (setf (mr-added mr)\n\t\t(list (cons (unit-name u2) (mr-added mr))))))\n mrs)))\n\n(defun merge-structures-without-Js (pattern source bindings &key cxn-inventory)\n ;; (format t \"~%bs=~A\" bindings)\n (make-subset (substitute-bindings bindings (remove-J-units pattern))\n source \n bindings\n :test-fn #'(lambda (u1 u2)\n (unify-simple (unit-name u1) (unit-name u2) bindings :cxn-inventory cxn-inventory))\n :merge-fn #'merge-units\n :cxn-inventory cxn-inventory))\n\n(export '(merge-structures))\n;;; Handling of J-units. \n;;; A J-unit looks as follows:\n;;; ((J ?name ?parent (?child-1 ... ?child-n))\n;;; new-features\n;;; tags) \n;;; They are handled in the same order as they appear in the construction\n;;; Each of them is handled as follows: \n\n;;; 1) unless the first argument is already bound, a new constant\n;;; binding is created for it. This will correspond to the name of\n;;; the newly created unit\n;;; 2) The (new) unit will receive the specified new-features\n;;; 3) It will also extract all feature (values) specified by tags\n;;; from their original units\n;;; 4) The (new) unit will become a child of the ?parent unit and receives\n;;; the children-units as specified\n(defun remove-tag-from-source (tag-variable pattern-unit source-unit source bindings &key cxn-inventory)\n (let ((new-unit nil)\n\t(processed-feature-names nil))\n #+dbg\n (format t \"~%tv~% ~A,~% pu ~A,~% su ~A,~% s ~A~% bs ~A\" tag-variable pattern-unit source-unit source bindings)\n ;; first we locate the tag in the pattern\n ;; we construct a new-unit which will later be added to the resulting structure\n (setq new-unit (make-unit :name (unit-name source-unit)))\n ;; for each feature in the pattern unit containing the tag\n (dolist (feature (unit-features pattern-unit))\n ;; if the feature happens to be a tag and contains the variable we want to remove\n #+dbg\n (format t \"~%f=~A, tag-p: ~A, find(~A): ~A\" feature (tag-p feature) tag-variable (find tag-variable (rest feature)))\n (when (and (tag-p feature)\n (find tag-variable (rest feature)))\n ;; we add the feature name to the list of processed-feature-names\n ;; (?unit (TAG ?tag (feature-name ...)))\n (push (feature-name (third feature)) processed-feature-names)\n (let ((original-feature (unit-feature source-unit \n (feature-name (third feature)))))\n\t #+dbg\n\t (format t \"~%of=~A,~%tv=~A\" original-feature (lookup tag-variable bindings))\n (unless (atom (feature-value original-feature))\n ;; we only keep feature-values that are not part of the binding for\n ;; the tag-variable\n (let ((feature-value nil))\n (dolist (value-element\n\t\t\t(remove-special-operators (feature-value original-feature) bindings))\n (if (and (consp (feature-value (lookup tag-variable bindings)))\n\t\t\t (find value-element\n\t\t\t (feature-value (lookup tag-variable bindings))\n\t\t\t :test #'(lambda (x y)\n\t\t\t\t\t (or (equal x y)\n\t\t\t\t\t (unify x y (list bindings) :cxn-inventory cxn-inventory)))))\n\t\t (setf (feature-value (lookup tag-variable bindings))\n\t\t\t (remove value-element (feature-value (lookup tag-variable bindings))\n\t\t\t\t :test #'(lambda (x y)\n\t\t\t\t\t (or (equal x y)\n\t\t\t\t\t\t(unify x y (list bindings) :cxn-inventory cxn-inventory)))\n\t\t\t\t :count 1))\n\t\t (push value-element feature-value))\n\t\t#+dbg\n\t\t(format t \"~%bs after: ~A\" bindings))\n (when feature-value\n ;; we add newly constructed feature to new-unit\n (push (make-feature (feature-name original-feature)\n feature-value)\n (unit-features new-unit))))))))\n ;; we loop over all features in source-unit and 'copy' all features\n ;; that are not processed\n (dolist (feature (unit-features source-unit))\n (unless (find (feature-name feature) processed-feature-names)\n\t(push feature (unit-features new-unit))))\n ;; the new source is reconstructed by incorporating the new unit\n (loop for unit in source collect\n\t (if (eq (unit-name unit) (unit-name new-unit))\n\t new-unit\n\t unit))))\n\n(defun remove-tag-from-added (tag-variable pattern added bindings &key cxn-inventory)\n ;; should be non-destructive; needed for the cases in which a tag is first merged \n ;; into a normal unit and then this tagged feature\/value would be moved by means\n ;; of a tag; without this removal this value it would incorrectly indicate that\n ;; it is merged twice\n (let ((tag-removed-from-unit nil))\n (loop for pattern-unit in (remove-J-units pattern) until tag-removed-from-unit do\n\t (when (find tag-variable (variables-in pattern-unit))\n\t (setf tag-removed-from-unit\n\t\t (structure-unit added (or (lookup (unit-name pattern-unit)\n\t\t\t\t\t\t bindings)\n\t\t\t\t\t (unit-name pattern-unit))))))\n (if tag-removed-from-unit\n\t(let ((tagged-feature (lookup tag-variable bindings)))\n\t (loop for unit in added\n\t if (eq (unit-name tag-removed-from-unit)\n\t\t (unit-name unit))\n\t append (let ((features (loop for feature in (unit-features unit)\n\t\t\t\t if (eq (feature-name feature)\n\t\t\t\t\t (feature-name tagged-feature))\n\t\t\t\t append (if (variable-p (feature-value tagged-feature))\n\t\t\t\t\t\t (list (list (feature-name feature)))\n\t\t\t\t\t\t (let ((values (copy-list (feature-value feature))))\n\t\t\t\t\t\t (loop for value in (feature-value tagged-feature)\n\t\t\t\t\t\t do (setf values\n\t\t\t\t\t\t\t\t(remove value values\n\t\t\t\t\t\t\t\t\t:test #'(lambda (x y)\n\t\t\t\t\t\t\t\t\t\t (or (equal x y)\n\t\t\t\t\t\t\t\t\t\t (unify x y (list bindings)\n :cxn-inventory cxn-inventory)))\n\t\t\t\t\t\t\t\t\t:count 1)))\n\t\t\t\t\t\t (when values\n\t\t\t\t\t\t (list (list (feature-name feature) values)))))\n\t\t\t\t else\n\t\t\t\t collect feature)))\n\t\t (when features\n\t\t\t(list (cons (unit-name unit) features))))\n\t else\n\t collect unit))\n\tadded)))\n\n\n(define-event warn-unable-to-determine-domain (structure t))\n\n(defun make-child (unit-name parent-name source &optional unit-name-var)\n (unless (or (eq unit-name parent-name)\n\t (find (structure-unit source parent-name)\n\t\t (subunits (structure-unit source unit-name) source)))\t \n ;; (format t \"~%(make-child ~% '~A~% '~A~% '~A~%~%\"\n ;; \t unit-name parent-name source)\n ;; first delete unit from its current parrent:\n (loop for unit in source \n unless (eq (unit-name unit) unit-name)\n do (let ((subunits-feature (get-subunits-feature unit)))\n\t (when (find unit-name (feature-value subunits-feature))\n\t (setf (feature-value subunits-feature)\n\t\t (delete unit-name (feature-value subunits-feature))))))\n ;; now add it to the new parent:\n (let* ((parent-unit (structure-unit source parent-name))\n\t (subunits-feature (get-subunits-feature parent-unit)))\n ;; (format t \"~%~%unit-name=~A, parent-name=~A~%source=~A~%parent-unit=~A~%subunits-feature=~A~%~%\"\n ;; \t unit-name parent-name source parent-unit subunits-feature)\n (unless parent-unit\n\t(return-from make-child nil))\n (cond (subunits-feature\n (unless (or (find unit-name (feature-value subunits-feature))\n (find unit-name-var (feature-value subunits-feature)))\n (push unit-name (feature-value subunits-feature))))\n ((or (find-anywhere 'meaning source)\n (find-anywhere 'referent source)\n (find-anywhere 'sem-cat source)\n (find-anywhere 'sem-subunits source))\n (push (make-feature 'sem-subunits (list unit-name))\n (unit-features parent-unit)))\n ((or (find-anywhere 'form source)\n (find-anywhere 'syn-cat source)\n (find-anywhere 'syn-subunits source))\n (push (make-feature 'syn-subunits (list unit-name))\n (unit-features parent-unit)))\n (t (notify warn-unable-to-determine-domain source)\n (push (make-feature 'subunits (list unit-name))\n (unit-features parent-unit)))))\n ;; (format t \"~%finished\")\n source))\n\n(define-event warn-unable-to-merge-tag-value (j-unit list) (tag-variable symbol) (tag-value list) (unit list))\n(define-event warn-tag-variable-unbound (j-unit list) (tag-variable symbol))\n(define-event warn-hierarchy-in-structure-broken (j-unit list) (pattern list) (bindings list))\n\n(defun get-tag (tag-variable unit)\n (let ((R nil))\n (do* ((tags (mappend #'rest (find-all 'TAG (remove-if-not #'consp (unit-features unit)) :key #'first)) (rest (rest tags)))\n\t (tag-var (first tags) (first tags)))\n\t ((or R (null tags)) R)\n (when (eq tag-variable tag-var)\n\t(setq R (second tags))))))\n\n(defun retrieve-special-operator (tag-val bindings)\n (let (special-op)\n (when (consp tag-val)\n (setq special-op (first tag-val))\n (if (eq special-op '++)\n (retrieve-special-operator (fcg-expand (second tag-val) :merge? t :bindings bindings \n :source nil :value (third tag-val))\n bindings)\n special-op))))\n \n\n(defun handle-J-unit (J-unit pattern source bindings tag-variables &optional added &key cxn-inventory)\n \"Helper function for merging of structures called from\nHANDLE-J-UNITS. Returns a list of MERGE-RESULTs.\"\n #+dbg\n (format t \"~%++++++++++++++ hande-J-unit ++++++++++++++\n J-unit = ~A\n pattern = ~A\n source = ~A\n bindings = ~A\n added = ~A\" J-UNIT pattern source bindings added)\n (unless (or (not (variable-p (second (unit-name J-unit))))\n\t (and (lookup (second (unit-name J-unit)) bindings)\n\t\t (not (variable-p (lookup (second (unit-name J-unit)) bindings)))))\n (let ((new-unit-name (make-const (second (unit-name J-unit)))))\n (setq bindings (extend-bindings (second (unit-name J-unit))\n\t\t\t\t new-unit-name\n\t\t\t\t bindings))))\n (let ((new-unit (structure-unit source (or (lookup (second (unit-name J-unit)) bindings)\n\t\t\t\t\t (second (unit-name J-unit)))))\n\t(tags nil))\n (unless new-unit\n (setq new-unit (make-unit :name (or (lookup (second (unit-name J-unit)) bindings)\n\t\t\t\t\t (second (unit-name J-unit)))))\n (push new-unit source))\n ;; First move the tags. Currently this is only implemented for\n ;; tag-variables bound to an entire feature (i.e. including the\n ;; feature's name.)\n (dolist (e (unit-features J-unit))\n #+dbg\n (format t \"~%e=~A\" e)\n (when (atom e)\t\n\t(if (find e tag-variables)\n\t (let ((tag-value (substitute-bindings bindings (lookup e bindings)))\n\t\t pattern-unit source-unit special-op)\n\t (loop for unit in (remove-J-units pattern) until pattern-unit do\n\t\t (when (and (find 'TAG (unit-features unit) :key #'feature-name)\n\t\t\t (find e (variables-in unit)))\n\t\t (setq pattern-unit unit)\n\t\t (setq source-unit (structure-unit source\n\t\t\t\t\t\t (or (lookup (unit-name pattern-unit)\n\t\t\t\t\t\t\t\t bindings)\n\t\t\t\t\t\t\t (unit-name pattern-unit))))))\n\t ;; now pattern-unit is the pattern unit containing the tag and source\n\t ;; unit is the corresponding unit in the source\n\t #+dbg\n\t (format t \"~%pu=~A, su=~A\" pattern-unit source-unit)\n\t #+dbg\n\t (assert (and pattern-unit source-unit))\n\t (push e tags)\n\t ;; bindings need to be copied because the values in it might be\n\t ;; changed as side effect, for example while removing tag-values\n\t ;; from a unit:\n\t (setq source\n\t\t(remove-tag-from-source e pattern-unit source-unit source (copy-tree bindings) :cxn-inventory cxn-inventory))\n\t (setq added\n\t\t(remove-tag-from-added e pattern added bindings :cxn-inventory cxn-inventory))\n\t #+dbg\n \t (format t \"~%e=~A=>source=~A\" e source)\n ;; As far as I understand: at this point the tag\n ;; variable is bound to its value BUT for some reason\n ;; without the initial special operator... Therefore the\n ;; tag is looked up again and the special operator is\n ;; fetched. This however does not work for ++ operator.\n\t (let ((tag-val (feature-value (get-tag e pattern-unit))))\n (setq special-op (retrieve-special-operator tag-val bindings)))\n\t #+dbg\n \t (format t \"~%(values '~A '~A '~A)\" \n\t\t special-op\n\t\t tag-value\n \t\t (make-feature (feature-name tag-value)\n\t\t\t\t (cons special-op (feature-value tag-value)))\n \t\t )\n\t (let* ((to-merge (if special-op\n\t\t\t\t (make-feature (feature-name tag-value)\n\t\t\t\t\t\t (cons special-op (feature-value tag-value)))\n\t\t\t\t tag-value))\n\t\t (merges (merge-unit-features\n\t\t\t (list to-merge)\n\t\t\t (unit-features new-unit)\n\t\t\t bindings :cxn-inventory cxn-inventory)))\n\t\t#+dbg\n\t\t(format t \"~% => ~A\" merges)\n\t\t(unless merges\n\t\t (notify warn-unable-to-merge-tag-value J-unit e tag-value new-unit)\n\t\t (return-from handle-J-unit nil))\n\t\t#+dbg\n\t\t(assert (and (= (length merges) 1)\n\t\t\t (= 1 (length (mr-bsl (first merges))))))\n\t\t(setf (unit-features new-unit) (mr-expr (first merges)))\n\t\t(setq bindings (first (mr-bsl (first merges))))\n\t\t(setf added\n\t\t (let ((merge-results (merge-structures\n\t\t\t\t\t (list (make-unit \n\t\t\t\t\t\t :name (unit-name new-unit)\n\t\t\t\t\t\t :features\n\t\t\t\t\t\t (list (if special-op \n\t\t\t\t\t\t\t (make-feature (feature-name tag-value)\n\t\t\t\t\t\t\t\t\t (cons special-op (feature-value tag-value)))))))\n\t\t\t\t\t added\n\t\t\t\t\t bindings\n nil\n :cxn-inventory cxn-inventory)))\n\t\t\t#+dbg\n\t\t\t(assert (= (length merge-results) 1))\n\t\t\t(mr-expr (first merge-results))))))\n\t (progn\n\t (notify warn-tag-variable-unbound J-unit e)\n\t (return-from handle-J-unit nil)))))\n #+dbg\n (format t \"~%source=~A\" source)\n ;; Next change the hierarchical structure.\n (when (third (unit-name J-unit))\n (let ((parent-name (or (lookup (third (unit-name J-unit)) bindings) (third (unit-name J-unit)))))\n;; \t(unless (find parent-name source :key #'unit-name)\n;; \t (when (variable-p parent-name)\n;; \t (let ((new-unit-name (make-const (second (unit-name J-unit)))))\n;; \t (setq bindings (extend-bindings parent-name\n;; \t\t\t\t\t new-unit-name\n;; \t\t\t\t\t bindings)\n;; \t\t parent-name new-unit-name)))\n;; \t (push (make-unit :name parent-name) source))\n\t(setq source \n\t (make-child (unit-name new-unit) \n\t\t\t parent-name\n\t\t\t source\n (second (unit-name J-unit)))))\n (unless source\n\t(notify warn-hierarchy-in-structure-broken J-unit pattern bindings)\n (return-from handle-J-unit nil)))\n #+dbg\n (format t \"~%2 source=~A\" source)\n (dolist (unit-name (fourth (unit-name J-unit)))\n (setq source \n\t (make-child (or (lookup unit-name bindings) unit-name)\n\t\t\t(unit-name new-unit)\n\t\t\tsource\n unit-name)))\n ;; Finally add all features to the new unit.\n #+dbg\n (format t \"~%3 source=~A\" source)\n (let ((mrs (merge-unit-features (substitute-bindings \n\t\t\t\t bindings\n\t\t\t\t (set-difference \n\t\t\t\t (unit-features J-unit)\n\t\t\t\t tags))\n\t\t\t\t (substitute-bindings bindings (unit-features new-unit)) ;; Remi: avoids problem of NIL in circular bindings\n\t\t\t\t bindings\n :cxn-inventory cxn-inventory)))\n (dolist (merge-result mrs)\n\t(let* ((c-source (copy-tree source))\n\t (nu (structure-unit c-source (unit-name new-unit))))\n\t (setf (unit-features nu) (mr-expr merge-result))\n\t (setf (mr-expr merge-result) c-source)\n\t (setf (mr-added merge-result)\n\t\t(let ((merge-results \n\t\t (merge-structures\n\t\t\t(when (mr-added merge-result)\n\t\t\t (list (cons (unit-name new-unit)\n\t\t\t\t (mr-added merge-result))))\n\t\t\tadded\n\t\t\t(first (mr-bsl merge-result)))))\n\t\t (when (= (length merge-results) 1)\n\t\t (mr-expr (first merge-results)))))))\n (setf mrs (delete-if #'null mrs :key #'mr-expr))\n #+dbg\n (format t \"~%-------------- handle-J-unit ---------------\")\n mrs)))\n\n;; new functions for updating references\n\n(defun update-references-upwards (old-values new-value new-source starting-unit)\n (let ((updated-units nil))\n (loop for current-unit = (get-parent-unit starting-unit new-source)\n then (let ((parent-unit (get-parent-unit current-unit new-source)))\n (unless (or (eq parent-unit current-unit)\n (member parent-unit updated-units))\n parent-unit))\n while current-unit\n do ;; (format t \"~% current-unit: ~a old-values: ~a new-value: ~a\"\n ;; (unit-name current-unit) old-values new-value)\n (nsublis (mapcar #'(lambda (x) (cons x new-value))\n old-values)\n ;; only update ordering constraints\n (loop for form-constraint in (unit-feature-value current-unit 'form)\n unless (member (first form-constraint) '(string stem))\n collect form-constraint))\n ;; could check for duplicates in old-values but might be\n ;; more costly than just leaving them in the list\n (push current-unit updated-units)\n (push new-value old-values)\n (setf new-value (unit-name current-unit)))))\n\n(defun collect-form-values (form-constraints)\n ;; collect all special values from form constraints that\n ;; might need to be updated\n (remove-duplicates\n (loop for form-constraint in form-constraints\n when (consp form-constraint)\n append (case (first form-constraint)\n\t ((string stem) (list (second form-constraint)))\n\t ((meets precedes pattern) (cdr form-constraint))\n\t ((or) (collect-form-values (cdr form-constraint)))\n\t (otherwise nil)))))\n\n(defun unit-update-references (new-source unit-name)\n (let* ((unit (structure-unit new-source unit-name))\n\t (form-constraints (delete-duplicates (remove-if-not #'consp (unit-feature-value unit 'form))\n\t\t\t\t\t :test #'equal)))\n ;; when there are no form-constraints we don't need to update any\n ;; references\n (unless form-constraints\n (return-from unit-update-references new-source))\n ;; otherwise we update the references by first collecting all\n ;; values that need to be changed\n (let ((values-to-be-updated (collect-form-values form-constraints)))\n ;; (format t \"~%unit-name: ~a form-constraints: ~a values-to-be-updated: ~a\"\n ;; unit-name form-constraints values-to-be-updated)\n (update-references-upwards values-to-be-updated unit-name new-source unit))))\n\n(defun update-references (new-source j-units bindings)\n (loop for unit-name in \n (loop for j-unit in j-units\n\t for unit-name = (unit-name j-unit)\n\t for unit-name-vars = (cons (second unit-name)\n\t\t\t\t (fourth unit-name))\n\t append (loop for unit-name-var in unit-name-vars\n\t\t collect (cdr (get-binding unit-name-var bindings))))\n do (unit-update-references new-source unit-name))\n new-source)\n\n(defvar *update-references* nil)\n\n(defun tag-get-variables (tag)\n (let ((r nil))\n (do ((remaining (rest tag) (cddr remaining)))\n\t((null remaining) r)\n (push (first remaining) r))))\n(defun unit-get-tag-variables (unit-structure)\n (loop for unit in unit-structure append\n (loop \n\t for feature in (unit-features unit)\n\t when (tag-p feature)\n\t append (tag-get-variables feature))))\n\n(defun get-subunits (pole)\n (remove nil\n (loop for unit in pole\n for subunits = (or (unit-feature-value unit 'syn-subunits)\n (unit-feature-value unit 'sem-subunits)\n (unit-feature-value unit 'subunits))\n when subunits\n collect (list (unit-name unit)\n subunits))))\n\n(defun get-superunit (unit-name subunit-structure-in-pole)\n (loop for (superunit subunits) in subunit-structure-in-pole\n when (find unit-name subunits :test #'string=)\n return superunit))\n\n(defun get-all-subunits (superunit subunit-structure-in-pole)\n (loop for (a-superunit subunits) in subunit-structure-in-pole\n when (eq a-superunit superunit)\n return subunits))\n\n(defun expand-root-form (form-feature-value subunit-structure-in-pole)\n (if subunit-structure-in-pole\n (let* ((expansion-for-form-feature-value\n (loop for feature in form-feature-value\n for form-type = (first feature)\n for form-content = (rest feature)\n if (or (eq form-type 'meets)\n (eq form-type 'precedes))\n collect `(,form-type\n ,@(loop for unit-name in form-content\n for superunit\n = (get-superunit unit-name subunit-structure-in-pole)\n if (and superunit\n (null (permutation-of?\n (get-all-subunits\n superunit subunit-structure-in-pole)\n form-content)))\n ;;EXPANSION HAPPENS HERE > replace unit name by superunit name\n collect superunit \n else collect unit-name))))\n (new-form-feature-value\n (sort\n (remove-duplicates\n (append form-feature-value expansion-for-form-feature-value) :test #'equalp)\n #'string-lessp :key #'first)))\n new-form-feature-value)\n form-feature-value))\n\n(defun update-references-in-root (new-source)\n (when (find 'root new-source :key #'first)\n (let ((root-unit (find 'root new-source :key #'first))\n (subunits-features (get-subunits new-source))\n (new-root-unit nil))\n (setf new-root-unit\n `(root\n ,@(loop for (feature value) in (rest root-unit)\n if (eq feature 'form)\n collect (list feature (expand-root-form value subunits-features))\n else collect (list feature value))))\n (setf new-source (remove root-unit new-source))\n ;;add new root unit\n (setf new-source (append new-source (list new-root-unit)))))\n new-source)\n\n(defun handle-J-units (pattern source bindings &optional added &key cxn-inventory)\n ;; returns a list of MERGE-RESULT cells (i.e. (new-source . new-bindings-list) cells.)\n ;; for every J-unit:\n ;; - for every binding: handle-J-unit\n ;; This returns a list of (new-source . bsl) cells\n ;; - One such cell provides either an output cell \n ;; or else the input for the next J-unit with a modified pattern\n ;; - The modified pattern is always the same\n ;; - different bindings may return the same new-source\n #+dbg\n (format t \"~%++++++++++++++ handle-J-units ++++++++++++++++\n pattern = ~A\n source = ~A\n bindings = ~A\" pattern source bindings)\n;; (format t \"~%hjus ~A\" bindings)\n (let ((results (list (make-merge-result source (list bindings) added)))\n\t(J-units (get-J-units pattern))\n\t(tag-variables (unit-get-tag-variables pattern)))\n (dolist (J-unit J-units)\n;; (format t \"~%J-unit=~A\" J-unit)\n;; (format t \"~%results=~A\" results)\n;; (format t \"~%pattern=~A\" pattern)\n (let ((new-results nil))\n\t(dolist (r results)\n\t (dolist (bs (mr-bsl r))\n;; \t (format t \"~%bs=~A\" bs)\n;; \t (format t \"~%=>(handle-j-unit~% '~A~% '~A~% '~A~% '~A)~%=> ~A\"\n;; \t\t J-UNIT pattern (first r) bs\n;; \t\t (handle-j-unit J-unit pattern (first r) bs))\n\t (dolist (j-result (handle-J-unit J-unit pattern (mr-expr r) bs tag-variables (mr-added r) :cxn-inventory cxn-inventory))\n\t #+dbg\n\t (format t \" j-result=~A\" j-result)\n\t (let ((prev (find (mr-expr j-result) new-results :key #'mr-expr :test #'equal)))\n\t\t(if prev\n\t\t (setf (mr-bsl prev) (append (mr-bsl j-result) (mr-bsl prev)))\n\t\t (push j-result new-results))))))\n\t(setq results new-results\n\t pattern (cons (make-unit :name (second (unit-name J-unit))\n\t\t\t\t :features (unit-features J-unit))\n\t\t\t (remove J-unit pattern)))))\n;; (format t \"~%=> results=~A\" results)\n (setq results\n\t (loop for mr in results\n\t append (loop for bs in (mr-bsl mr)\n\t\t ;; we replace the variables in the current expr\n\t\t ;; based on bindings and remove units which\n\t\t ;; have nil as unit-name\n\t\t for expr = (substitute-bindings \n\t\t\t\t bs (delete-if #'null (mr-expr mr) \n\t\t\t\t\t\t :key #'unit-name))\n\t\t collect (make-merge-result\n expr\n\t\t\t\t(list bs)\n\t\t\t\t(mr-added mr)))))\n #+dbg\n (format t \"~%-------------- handle-J-units ---------------\")\n results))\n\n(define-event merging-finished (pattern list) (source list) (new-sources+bindings list))\n\n(defun merge-structures (pattern source &optional (bindings +no-bindings+) unified &key cxn-inventory)\n ;; non-destructive because of copy-tree\n #+dbg\n (format t \"~%++++++++++++++ merge-structures +++++++++++++++\n pattern = ~A\n source = ~A\n bindings = ~A\n unified = ~A\" pattern source bindings unified)\n;; (format t \"~%(merge-structures-without-Js~% '~A~% '~A~% '~A\"\n;; \t pattern source bindings)\n (let ((result nil))\n (dolist (mr (if unified \n (list (make-merge-result source (list bindings) nil))\n (merge-structures-without-Js pattern (copy-tree source) bindings :cxn-inventory cxn-inventory)))\n #+dbg\n (format t \"~%mr=~A\" mr)\n (dolist (bindings (mr-bsl mr))\n\t;; added copy-tree because some of the underlying functions (eg. make-child) \n\t;; are destructive so if there is more than one bindings the handling of\n\t;; the j-units might interfere with each other (for example producing\n\t;; when ball is twice in the meaning)\n\t#+dbg\n\t(format t \"~%bs=~A\" bindings)\n\t(dolist (fmr (handle-J-units pattern (copy-tree (mr-expr mr)) bindings\n\t\t\t\t ;; mr-added is a list of pointers so i only \n\t\t\t\t ;; copy the outer list structure\n\t\t\t\t (copy-list (mr-added mr)) :cxn-inventory cxn-inventory))\n\t #+dbg\n\t (format t \"~%fmr=~A\" fmr)\n\t (let ((prev (find-if #'(lambda (rm) (equal (mr-expr rm)\n\t\t\t\t\t\t (mr-expr fmr)))\n\t\t\t ;; not checking the mr-added because equal expects\n\t\t\t ;; symbol within lists to be eq anyway\n\t\t\t result)))\n\t (if prev \n\t\t(push bindings (mr-bsl prev))\n\t\t(push fmr result))))))\n #+dbg\n (format t \"~%-------------- merge-structures ---------------\")\n (notify merging-finished pattern source result)\n result))\n\n(defun merge-intersection (int y bindings &key cxn-inventory)\n (declare (ignore y))\n (let ((i1 (substitute-bindings bindings (second int)))\n\t(i2 (substitute-bindings bindings (third int))))\n;; (format t \"~%int=~A, y=~A, i1=~A, i2=~A\" int y i1 i2)\n #+dbg\n (assert (and (null y)))\n (cond ((and (listp i1) (listp i2))\n\t (let ((res nil)\n\t\t (bsl (list bindings)))\n\t (dolist (e1 i1)\n\t (let ((new-bsl (loop for bs in bsl append\n\t\t\t\t (unify (list '== e1) i2 (list bs) :cxn-inventory cxn-inventory))))\n\t\t (when new-bsl\n\t\t (setq bsl (delete-duplicates new-bsl\n\t\t\t\t\t\t:test #'(lambda (bs1 bs2)\n\t\t\t\t\t\t\t (permutation-of? bs1 bs2 :test #'equal))))\n\t\t (push e1 res))))\n;; \t (setf bsl (delete-if-not #'(lambda (bs)\n;; \t\t\t\t\t (valid-includes-uniquely-list? res bs))\n;; \t\t\t\t bsl))\n\t (when bsl\n\t (list (make-merge-result (reverse res) bsl)))))\n\t ((equal i1 i2) (list (make-merge-result i1 (list bindings))))\n\t (t (list (make-merge-result nil (list bindings)))))))\n\n(defun clean-intersection (int bindings)\n (let ((mrs (merge-intersection int nil bindings)))\n (assert (and (= 1 (length mrs))\n\t\t (= 1 (length (mr-bsl (first mrs))))))\n (values (mr-expr (first mrs) )\n\t (first (mr-bsl (first mrs))))))\n\n(defun clean-structure (structure &optional (bindings +no-bindings+))\n (remove-special-operators (remove-J-units structure) bindings))\n\n(add-special-operator (make-instance 'special-operator\n\t\t\t\t :representation 'int\n\t\t\t\t :merge-fn #'merge-intersection\n\t\t\t\t :clean-fn #'clean-intersection))\n\n\n\n;;; 3. partial matching\n\n\n(defun find-container (element tree &key (test #'eq))\n (cond ((funcall test element tree) (values nil t))\n\t((consp tree)\n\t (multiple-value-bind (container found)\n\t (find-container element (car tree) :test test)\n\t (if found\n\t (values (or container tree) t)\n\t (progn\n\t\t (multiple-value-setq (container found)\n\t\t (find-container element (cdr tree) :test test))\n\t\t (if found\n\t\t (progn (assert container)\n\t\t\t (values container t))\n\t\t (values nil nil))))))\n\t(t (values nil nil))))\n\t\n(defun mark-added (mr)\n (loop for added in (mr-added mr) do\n (multiple-value-bind (container found)\n\t (find-container added (mr-expr mr))\n\t (assert found)\n\t (setf (car container)\n\t (cons :added (car container)))))\n mr)\n \n(defun partial-match-structures (pat src &optional (bindings +no-bindings+))\n (mapcar #'(lambda (mr)\n\t (mr-expr (mark-added mr)))\n\t (merge-structures-without-Js pat src bindings)))\n\n\n\n(export '(equivalent-coupled-feature-structures equivalent-feature-structures))\n\n\n;; TODO: The function below takes 60% of all processing time of FCG\n;; for large grammars and sentences. ideas for optimization:\n;;; 1: first check specific feature-values like meaning, form,\n;;; sem-cat, syn-cat. I tried this but has no impact.\n;; 2. You do not need to check the full cfs of both nodes but only\n;; those units that changed since their last communal point (their\n;; branching point). This can be done by looking at bindings for\n;; units. Not yet tried.\n;;; 3. More tricky but maybe it is possible to ignore the cfs all\n;;; together and just look at bindings and potentially whether the\n;;; split in the tree was because of different constructions or one\n;;; construction that had different hypotheses. The idea would be that\n;;; two nodes that have accumulated in some way equivalent bindings\n;;; (with the same constructions which is anyway first checked) result\n;;; in equivalent cfs's.\n\n(defun equivalent-coupled-feature-structures (cfs-1 cfs-2)\n (and cfs-1 cfs-2\n (length= (left-pole-structure cfs-1)\n (left-pole-structure cfs-2))\n (length= (right-pole-structure cfs-1)\n (right-pole-structure cfs-2))\n ;; (equivalent-structure-for-feature-x \n ;; (left-pole-structure cfs-1) (left-pole-structure cfs-2) 'meaning)\n ;; (equivalent-structure-for-feature-x \n ;; (right-pole-structure cfs-1) (right-pole-structure cfs-2) 'form)\n ;; (equivalent-structure-for-feature-x \n ;; (left-pole-structure cfs-1) (left-pole-structure cfs-2) 'sem-cat)\n ;; (equivalent-structure-for-feature-x \n ;; (right-pole-structure cfs-1) (right-pole-structure cfs-2) 'syn-cat)\n (equivalent-coupled-feature-structures-aux cfs-1 cfs-2)\n (equivalent-coupled-feature-structures-aux cfs-2 cfs-1)))\n\n(defun transform-feature-value (v &optional (feature-directive '==p))\n (if (and (consp v) (not (merge-fn (first v))))\n (cons feature-directive v)\n v))\n\n(defun transform-structure (s &optional (feature-directive '==p))\n (loop for unit in s collect\n (make-unit \n\t:name (unit-name unit)\n\t:features\n\t(loop for feature in (unit-features unit) collect\n\t (if (tag-p feature)\n\t\t feature\n\t\t (make-feature (feature-name feature)\n\t\t\t (transform-feature-value (feature-value feature) feature-directive)))))))\n\n(defun equivalent-feature-structures (fs-1 fs-2 &key cxn-inventory)\n (multiple-value-bind (instantiated-2-left instantiations)\n (instantiate-expression fs-2)\n (declare (ignore instantiations))\n (let* ((unit-name-renamings\n (when fs-1\n (unless (variable-p (unit-name (first fs-1)))\n (create-vars (mapcar #'unit-name fs-1)))))\n (rcfs (sublis unit-name-renamings fs-1)))\n (unify-structures\n (transform-structure rcfs)\n instantiated-2-left\n (list +no-bindings+)\n :cxn-inventory cxn-inventory))))\n\n(defun equivalent-coupled-feature-structures-aux (cfs-1 cfs-2 &key cxn-inventory)\n (multiple-value-bind (instantiated-2-left instantiations)\n (instantiate-expression (left-pole-structure cfs-2))\n (let* ((instantiated-2-right (instantiate-expression \n (right-pole-structure cfs-2) instantiations))\n (unit-name-renamings\n (when (left-pole-structure cfs-1)\n (unless (variable-p (unit-name (first (left-pole-structure cfs-1))))\n (create-vars\n (union (mapcar #'unit-name (left-pole-structure cfs-1))\n (mapcar #'unit-name (right-pole-structure cfs-1)))))))\n (rcfs (sublis unit-name-renamings (left-pole-structure cfs-1)))\n (bsl (progn \n (unify-structures\n (transform-structure rcfs)\n instantiated-2-left\n (list +no-bindings+)\n :cxn-inventory cxn-inventory))))\n\t(when bsl\n\t (unify-structures\n\t (transform-structure (sublis unit-name-renamings (right-pole-structure cfs-1)))\n\t instantiated-2-right\n\t bsl\n :cxn-inventory cxn-inventory)))))\n\n(defun equivalent-structure-for-feature-x (structure-1 structure-2 feature &key cxn-inventory)\n \"Compares two cfs's for equality but only for the given\nfeature (e.g. form, meaning, etc). This is made with both structure-1\nand 2 coming from a cfs and not from constructions. For example tags\nor syn-syn, sem-sem are not taken into account.\"\n (let ((feature-in-1 (loop for unit in structure-1\n append (unit-feature-value unit feature nil)))\n (feature-in-2 (loop for unit in structure-2\n append (unit-feature-value unit feature nil))))\n (when (and feature-in-1 feature-in-2)\n (let ((instantiated-2 (instantiate-expression feature-in-2)))\n (unify (transform-feature-value feature-in-1)\n instantiated-2 +no-bindings+ :cxn-inventory cxn-inventory)))))\n","avg_line_length":43.4213250518,"max_line_length":126,"alphanum_fraction":0.6064608416} +{"size":2995,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"#|-*-Lisp-*-=================================================================|#\n#| |#\n#|===========================================================================|#\n#|\n\n Fully Ordered Finite Sets, Version 0.9\n Copyright (C) 2003, 2004 by Jared Davis \n\n This program is free software; you can redistribute it and\/or\n modify it under the terms of the GNU General Public License as\n published by the Free Software Foundation; either version 2 of\n the License, or (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public Lic-\n ense along with this program; if not, write to the Free Soft-\n ware Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA\n 02111-1307, USA.\n|#\n\n;; COI version, modified by Jared Davis, 2014-10, to include std\/osets books\n;; and only add the new functions and theorems that had been in COI.\n\n(in-package \"SET\")\n(include-book \"membership\")\n(include-book \"std\/osets\/union\" :dir :system)\n(include-book \"std\/osets\/intersect\" :dir :system)\n(include-book \"std\/osets\/difference\" :dir :system)\n(set-verify-guards-eagerness 2)\n\n(local (in-theory (enable weak-insert-induction-helper-1)))\n(local (in-theory (enable weak-insert-induction-helper-2)))\n(local (in-theory (enable weak-insert-induction-helper-3)))\n\n;;; First we introduce some basic theory about cons and sets. Note\n;;; that this theory is disabled at the end of this file. However, if\n;;; you are introducing fast versions of new set functions, you can\n;;; enable these theorems by enabling cons-theory.\n\n(defthm cons-set\n (equal (setp (cons a X))\n (and (setp X)\n (or (<< a (head X))\n (empty X))))\n :hints((\"Goal\" :in-theory (enable primitives-theory))))\n\n(defthm cons-head\n (implies (setp (cons a X))\n (equal (head (cons a X)) a))\n :hints((\"Goal\" :in-theory (enable primitives-theory))))\n\n(defthm cons-to-insert-empty\n (implies (and (setp X)\n (empty X))\n (equal (cons a X) (insert a X)))\n :hints((\"Goal\" :in-theory (enable primitives-theory))))\n\n(defthm cons-to-insert-nonempty\n (implies (and (setp X)\n (<< a (head X)))\n (equal (cons a X) (insert a X)))\n :hints((\"Goal\" :in-theory (enable primitives-theory\n primitive-order-theory))))\n\n(defthm cons-in\n (implies (and (setp (cons a X))\n (setp X))\n (equal (in b (cons a X))\n (or (equal a b)\n (in b X)))))\n\n\n(deftheory cons-theory\n '(cons-set\n cons-head\n cons-to-insert-empty\n cons-to-insert-nonempty\n cons-in))\n\n(in-theory (disable cons-theory))\n","avg_line_length":35.2352941176,"max_line_length":79,"alphanum_fraction":0.5979966611} +{"size":625,"ext":"lsp","lang":"Common Lisp","max_stars_count":3.0,"content":";(myreverse '(1 2 3))\n;->(3 2 1)\n(defun myreverse (L)\n\n (labels ((rev (L R)\n \n (if (null L) nil\n\n (append (rev (cdr L) R) (cons (car L) R))\n ) \n\n ))\n\n (rev L nil)\n )\n)\n\n(defun reverseFromNum (N)\n\n (let ((L))\n\n (do ((i N (floor (\/ i 10)))) ((= i 0) L)\n\n (setf L (cons (REM i 10) L))\n )\n\n (labels ((rev (L R)\n\n (if (null L) R\n\n (rev (cdr L) (cons (car L) R))\n ) \n ))\n\n (rev L nil)\n )\n )\n)","avg_line_length":16.4473684211,"max_line_length":67,"alphanum_fraction":0.2848} +{"size":160,"ext":"lisp","lang":"Common Lisp","max_stars_count":37.0,"content":";;\n;; Code\n;;\n(load #p\"test\/rtcode-control.lisp\")\n(load #p\"test\/rtcode-parse.lisp\")\n(load #p\"test\/rtcode-scope.lisp\")\n\n\n;;\n;; do-tests\n;;\n(do-tests :test t)\n\n","avg_line_length":11.4285714286,"max_line_length":35,"alphanum_fraction":0.60625} +{"size":1446,"ext":"lisp","lang":"Common Lisp","max_stars_count":47.0,"content":";;;; -*- Mode: LISP; Syntax: COMMON-LISP; indent-tabs-mode: nil; coding: utf-8; show-trailing-whitespace: t -*-\r\n;;;; Copyright (C) 2011 Anton Vodonosov (avodonosov@yandex.ru)\r\n;;;; See LICENSE for details.\r\n\r\n;;;; This file is loaded into a child lisp process to test\r\n;;;; whether particular ASDF system can be quickloaded on\r\n;;;; this lisp implementation.\r\n\r\n(in-package :cl-user)\r\n\r\n;;; Configure away the normal ASDF source registry, so we only use Quicklisp.\r\n(asdf:initialize-source-registry `(:source-registry :ignore-inherited-configuration))\r\n\r\n(defun test-loading (system-name)\r\n (wrap-status\r\n (ql:quickload system-name :verbose t)\r\n :ok))\r\n\r\n(defun test-loading-main (log-file system-name private-quicklisp-dir asdf-output-root-dir)\r\n (let ((quicklisp-output-dir (merge-pathnames (make-pathname :directory '(:relative \"ql\"))\r\n asdf-output-root-dir)))\r\n\r\n (add-asdf-output-translation private-quicklisp-dir quicklisp-output-dir))\r\n (capturing-io log-file\r\n (lambda ()\r\n (let ((*package* (find-package :keyword)))\r\n (format t \" *features*: ~(~S~)~%\" (sort (copy-list *features*) #'string<)))\r\n (format t \" ASDF version: ~A~%\" (asdf:asdf-version))\r\n (format t \"============================================================~%~%\")\r\n (test-loading system-name))))\r\n","avg_line_length":46.6451612903,"max_line_length":112,"alphanum_fraction":0.5774550484} +{"size":5079,"ext":"lisp","lang":"Common Lisp","max_stars_count":181.0,"content":"(cl:in-package :cl-bodge.physics.chipmunk)\n\n\n(declaim (special *active-universe*))\n\n\n(defhandle universe-handle\n :initform (float-features:with-float-traps-masked t\n (%chipmunk:space-new))\n :closeform (%chipmunk:space-free *handle-value*))\n\n\n(defclass universe (foreign-object)\n ((shape-registry :initform (trivial-garbage:make-weak-hash-table :weakness :value :test 'eql))\n (on-pre-solve :initform nil :initarg :on-pre-solve)\n (on-post-solve :initform nil :initarg :on-post-solve)\n (ptr-store :initform (cffi:foreign-alloc :pointer :count 2)))\n (:default-initargs :handle (make-universe-handle)))\n\n\n(define-destructor universe (ptr-store)\n (cffi:foreign-free ptr-store))\n\n\n(defun register-shape (universe id shape)\n (with-slots (shape-registry) universe\n (setf (gethash id shape-registry) shape)))\n\n\n(definline find-shape (universe shape-id)\n (with-slots (shape-registry) universe\n (gethash shape-id shape-registry)))\n\n\n(defun universe-locked-p (universe)\n (= %chipmunk:+true+ (%chipmunk:space-is-locked (handle-value-of universe))))\n\n\n(defun %remove-and-free-shape (universe shape-handle)\n (flet ((%destroy-shape ()\n (%chipmunk:space-remove-shape (handle-value-of universe) (value-of shape-handle))\n (destroy-handle shape-handle)))\n (invoke-between-observations #'%destroy-shape)))\n\n\n(defun %remove-and-free-constraint (universe constraint-handle)\n (flet ((%destroy-constraint ()\n (%chipmunk:space-remove-constraint (handle-value-of universe) (value-of constraint-handle))\n (destroy-handle constraint-handle)))\n (invoke-between-observations #'%destroy-constraint)))\n\n\n(defun %remove-and-free-body (universe body-handle)\n (flet ((%destroy-body ()\n (%chipmunk:space-remove-body (handle-value-of universe) (value-of body-handle))\n (destroy-handle body-handle)))\n (invoke-between-observations #'%destroy-body)))\n\n\n(defmacro with-colliding-shapes ((this that) arbiter &body body)\n (with-gensyms (store vec)\n (once-only (arbiter)\n `(with-slots ((,store ptr-store)) *active-universe*\n (c-let ((,vec :pointer :from ,store))\n (%chipmunk:arbiter-get-shapes ,arbiter (,vec 0 &) (,vec 1 &))\n (let ((,this (find-shape *active-universe* (cffi:pointer-address (,vec 0))))\n (,that (find-shape *active-universe* (cffi:pointer-address (,vec 1)))))\n ,@body))))))\n\n\n(cffi:defcallback pre-solve-callback :int ((arbiter :pointer)\n (space :pointer)\n (data :pointer))\n (declare (ignore space data))\n (with-slots (on-pre-solve ptr-store) *active-universe*\n (if-let (pre-solve-fu on-pre-solve)\n (with-colliding-shapes (this that) arbiter\n (let ((*arbiter* arbiter))\n (if (funcall pre-solve-fu this that) %chipmunk:+true+ %chipmunk:+false+)))\n %chipmunk:+true+)))\n\n\n(cffi:defcallback post-solve-callback :void ((arbiter :pointer)\n (space :pointer)\n (data :pointer))\n (declare (ignore space data))\n (with-slots (on-post-solve) *active-universe*\n (when-let (post-solve-fu on-post-solve)\n (with-colliding-shapes (this that) arbiter\n (let ((*arbiter* arbiter))\n (funcall post-solve-fu this that))))))\n\n\n(defmethod initialize-instance :after ((this universe) &key)\n (c-let ((collision-handler %chipmunk:collision-handler\n :from (%chipmunk:space-add-default-collision-handler\n (handle-value-of this))))\n (setf (collision-handler :pre-solve-func) (cffi:callback pre-solve-callback)\n (collision-handler :post-solve-func) (cffi:callback post-solve-callback))))\n\n\n(defmethod simulation-engine-make-universe ((this chipmunk-engine)\n &key on-pre-solve on-post-solve)\n (make-instance 'universe :on-pre-solve on-pre-solve :on-post-solve on-post-solve))\n\n\n(defmethod simulation-engine-destroy-universe ((this chipmunk-engine) (universe universe))\n (dispose universe))\n\n\n(defun universe-static-body (universe)\n (%chipmunk:space-get-static-body (handle-value-of universe)))\n\n\n(defmethod (setf simulation-engine-gravity) ((value vec2) (this chipmunk-engine) (universe universe))\n (with-cp-vect (vec value)\n (%chipmunk:space-set-gravity (handle-value-of universe) vec))\n value)\n\n\n(defmethod simulation-engine-gravity ((this chipmunk-engine) (universe universe))\n (with-cp-vect (vec)\n (%chipmunk:space-get-gravity vec (handle-value-of universe))\n (init-bodge-vec (vec2) vec)))\n\n\n(defmethod simulation-engine-observe-universe ((engine chipmunk-engine) (universe universe) time-step)\n (let ((*active-universe* universe)\n (*observing-p* t)\n (*post-observation-hooks* nil))\n (float-features:with-float-traps-masked t\n (%chipmunk:space-step (handle-value-of universe) (cp-float time-step))\n (loop for hook in *post-observation-hooks*\n do (funcall hook)))))\n","avg_line_length":37.6222222222,"max_line_length":102,"alphanum_fraction":0.6457964166} +{"size":5955,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"\n;; Compiled from #P\"\/home\/frank\/quicklisp\/local-projects\/climbe\/schema\/CIM2.42.0\/CIM_BlockStatisticsCapabilities.xml\"\n\n(in-package #:climbe)\n\n\n(DEFCIM-CLASS CIM_BLOCKSTATISTICSCAPABILITIES (CIM_STATISTICSCAPABILITIES)\n ((CLOCKTICKINTERVAL UINT64 :CIM-NAME \"ClockTickInterval\"\n :QUALIFIERS\n ((:DESCRIPTION\n \"An internal clocking interval for all timers in the subsystem, measured in microseconds (Unit of measure in the timers, measured in microseconds). Time counters are monotanically increasing counters that contain 'ticks'. Each tick represents one ClockTickInterval. If ClockTickInterval contained a value of 32 then each time counter tick would represent 32 microseconds.\")\n (NIL \"MicroSeconds\") (:P-UNIT \"second * 10^-6\"))\n :INITFORM NIL)\n (INSTANCEID STRING :CIM-NAME \"InstanceID\" :QUALIFIERS\n (:KEY (:OVERRIDE \"InstanceID\")\n (:DESCRIPTION\n \"Within the scope of the instantiating Namespace, InstanceID opaquely and uniquely identifies an instance of this class. In order to ensure uniqueness within the NameSpace, the value of InstanceID SHOULD be constructed using the following 'preferred' algorithm: \n: \nWhere and are separated by a colon ':', and where MUST include a copyrighted, trademarked or otherwise unique name that is owned by the business entity creating\/defining the InstanceID, or is a registered ID that is assigned to the business entity by a recognized global authority (This is similar to the _ structure of Schema class names.) In addition, to ensure uniqueness MUST NOT contain a colon (':'). When using this algorithm, the first colon to appear in InstanceID MUST appear between and . \n is chosen by the business entity and SHOULD not be re-used to identify different underlying (real-world) elements. If the above 'preferred' algorithm is not used, the defining entity MUST assure that the resultant InstanceID is not re-used across any InstanceIDs produced by this or other providers for this instance's NameSpace. \nFor DMTF defined instances, the 'preferred' algorithm MUST be used with the set to 'CIM'.\"))\n :INITFORM NIL)\n (ELEMENTNAME STRING :CIM-NAME \"ElementName\" :QUALIFIERS\n (:REQUIRED (:OVERRIDE \"ElementName\")\n (:DESCRIPTION\n \"The user friendly name for this instance of Capabilities. In addition, the user friendly name can be used as a index property for a search of query. (Note: Name does not have to be unique within a namespace.)\"))\n :INITFORM NIL)\n (CAPTION STRING :CIM-NAME \"Caption\" :QUALIFIERS\n ((:DESCRIPTION\n \"The Caption property is a short textual description (one- line string) of the object.\")\n (:MAX-LEN \"64\"))\n :INITFORM NIL)\n (DESCRIPTION STRING :CIM-NAME \"Description\" :QUALIFIERS\n ((:DESCRIPTION\n \"The Description property provides a textual description of the object.\"))\n :INITFORM NIL)\n (ELEMENTTYPESSUPPORTED (ARRAY UINT16) :CIM-NAME\n \"ElementTypesSupported\" :QUALIFIERS\n (:REQUIRED (:OVERRIDE \"ElementTypesSupported\")\n (:DESCRIPTION\n \"The list of element types for which statistical data is available. The values of this array correspond to the values defined for the ElementType property of the BlockStatisticalData class.\")\n (:VALUE-MAP\n (\"0\" \"2\" \"3\" \"4\" \"5\" \"6\" \"7\" \"8\" \"9\" \"10\" \"11\" \"12\" \"..\"\n \"0x8000..\"))\n (:VALUES\n (\"Unknown\" \"Computer System\" \"Front-end Computer System\"\n \"Peer Computer System\" \"Back-end Computer System\"\n \"Front-end Port\" \"Back-end Port\" \"Volume\" \"Extent\"\n \"Disk Drive\" \"Arbitrary LUs\" \"Remote Replica Group\"\n \"DMTF Reserved\" \"Vendor Specific\")))\n :INITFORM NIL)\n (SYNCHRONOUSMETHODSSUPPORTED (ARRAY UINT16) :CIM-NAME\n \"SynchronousMethodsSupported\" :QUALIFIERS\n ((:OVERRIDE \"SynchronousMethodsSupported\")\n (:DESCRIPTION\n \"The synchronous mechanisms supported for retrieving statistics and defining and modifying filters for statistics retrieval.\")\n (:VALUE-MAP (\"2\" \"3\" \"4\" \"5\" \"6\" \"7\" \"8\" \"..\" \"0x8000..\"))\n (:VALUES\n (\"Execute Query\" \"Query Collection\" \"GetStatisticsCollection\"\n \"Manifest Creation\" \"Manifest Modification\"\n \"Manifest Removal\" \"GetRateStatisticsCollection\"\n \"DMTF Reserved\" \"Vendor Specific\")))\n :INITFORM NIL)\n (ASYNCHRONOUSMETHODSSUPPORTED (ARRAY UINT16) :CIM-NAME\n \"AsynchronousMethodsSupported\" :QUALIFIERS\n ((:OVERRIDE \"AsynchronousMethodsSupported\")\n (:DESCRIPTION\n \"The asychronous mechanisms supported for retrieving statistics.\")\n (:VALUE-MAP (\"2\" \"3\" \"8\" \"..\" \"0x8000..\"))\n (:VALUES\n (\"GetStatisticsCollection\" \"Indications\"\n \"GetRateStatisticsCollection\" \"DMTF Reserved\"\n \"Vendor Specific\")))\n :INITFORM NIL))\n (:CIM-NAME \"CIM_BlockStatisticsCapabilities\")\n (:QUALIFIERS (:VERSION \"2.39.0\")\n (:UML-PACKAGE-PATH \"CIM::Device::StorageStatistics\")\n (:DESCRIPTION\n \"A specialization of the StatisticsCapabilities class that describes the capabilities of a BlockStatisticsService, which provides statistical data for instances of BlockStatisticalData.\")))","avg_line_length":75.3797468354,"max_line_length":576,"alphanum_fraction":0.6288832914} +{"size":26892,"ext":"lsp","lang":"Common Lisp","max_stars_count":1.0,"content":"(DEC)\n(WP-ZCOEF\n (50 50 (:TYPE-PRESCRIPTION FLOOR-ZERO . 2))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-ZERO . 1))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 2))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 1))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-2))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-1))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-2))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-1))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 2))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 1))\n (34 34 (:TYPE-PRESCRIPTION RATIONALP-MOD))\n (34 34 (:TYPE-PRESCRIPTION MOD-ZERO . 1))\n (34 34 (:TYPE-PRESCRIPTION MOD-POSITIVE . 2))\n (34 34 (:TYPE-PRESCRIPTION MOD-POSITIVE . 1))\n (34 34 (:TYPE-PRESCRIPTION MOD-NONPOSITIVE))\n (34 34 (:TYPE-PRESCRIPTION MOD-NONNEGATIVE))\n (34 34 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 2))\n (34 34 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 1))\n (34 34 (:TYPE-PRESCRIPTION INTEGERP-MOD))\n (8 8 (:REWRITE REMOVE-WEAK-INEQUALITIES-TWO))\n (8 8 (:REWRITE REMOVE-WEAK-INEQUALITIES-ONE))\n (6 6 (:REWRITE NORMALIZE-TERMS-SUCH-AS-A\/A+B-+-B\/A+B))\n (6 6 (:REWRITE DEFAULT-+-2))\n (6 6 (:REWRITE DEFAULT-+-1))\n (2 2 (:REWRITE SIMPLIFY-PRODUCTS-GATHER-EXPONENTS-<))\n (2 2 (:REWRITE PREFER-POSITIVE-ADDENDS-<))\n (2 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (2 2 (:REWRITE |(< (- x) (- y))|))\n (1 1 (:REWRITE SIMPLIFY-SUMS-EQUAL))\n (1 1 (:REWRITE SIMPLIFY-PRODUCTS-GATHER-EXPONENTS-EQUAL))\n (1 1 (:REWRITE PREFER-POSITIVE-ADDENDS-EQUAL))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n (1 1 (:REWRITE |(equal (- x) (- y))|))\n (1 1 (:REWRITE |(< (+ d x) (+ c y))|))\n )\n(WP-ZCOEF-1\n (4 4 (:TYPE-PRESCRIPTION RATIONALP-MOD))\n (4 4 (:TYPE-PRESCRIPTION MOD-ZERO . 2))\n (4 4 (:TYPE-PRESCRIPTION MOD-ZERO . 1))\n (4 4 (:TYPE-PRESCRIPTION MOD-POSITIVE . 2))\n (4 4 (:TYPE-PRESCRIPTION MOD-POSITIVE . 1))\n (4 4 (:TYPE-PRESCRIPTION MOD-NONPOSITIVE))\n (4 4 (:TYPE-PRESCRIPTION MOD-NONNEGATIVE))\n (4 4 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 2))\n (4 4 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 1))\n (4 4 (:TYPE-PRESCRIPTION INTEGERP-MOD))\n (4 4 (:TYPE-PRESCRIPTION FLOOR-ZERO . 3))\n (4 4 (:TYPE-PRESCRIPTION FLOOR-ZERO . 2))\n (4 4 (:TYPE-PRESCRIPTION FLOOR-ZERO . 1))\n (4 4 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 2))\n (4 4 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 1))\n (4 4 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-2))\n (4 4 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-1))\n (4 4 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-2))\n (4 4 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-1))\n (4 4 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 2))\n (4 4 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 1))\n )\n(WP-ZCOEF-G\n (69 69 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP-BASE))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-ZERO . 2))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-ZERO . 1))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 2))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 1))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-2))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-1))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-2))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-1))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 2))\n (50 50 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 1))\n (34 34 (:TYPE-PRESCRIPTION RATIONALP-MOD))\n (34 34 (:TYPE-PRESCRIPTION MOD-ZERO . 1))\n (34 34 (:TYPE-PRESCRIPTION MOD-POSITIVE . 2))\n (34 34 (:TYPE-PRESCRIPTION MOD-POSITIVE . 1))\n (34 34 (:TYPE-PRESCRIPTION MOD-NONPOSITIVE))\n (34 34 (:TYPE-PRESCRIPTION MOD-NONNEGATIVE))\n (34 34 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 2))\n (34 34 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 1))\n (34 34 (:TYPE-PRESCRIPTION INTEGERP-MOD))\n (8 8 (:REWRITE REMOVE-WEAK-INEQUALITIES-TWO))\n (8 8 (:REWRITE REMOVE-WEAK-INEQUALITIES-ONE))\n (6 6 (:REWRITE NORMALIZE-TERMS-SUCH-AS-A\/A+B-+-B\/A+B))\n (6 6 (:REWRITE DEFAULT-+-2))\n (6 6 (:REWRITE DEFAULT-+-1))\n (2 2 (:REWRITE SIMPLIFY-PRODUCTS-GATHER-EXPONENTS-<))\n (2 2 (:REWRITE PREFER-POSITIVE-ADDENDS-<))\n (2 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (2 2 (:REWRITE |(< (- x) (- y))|))\n (1 1 (:REWRITE SIMPLIFY-SUMS-EQUAL))\n (1 1 (:REWRITE SIMPLIFY-PRODUCTS-GATHER-EXPONENTS-EQUAL))\n (1 1 (:REWRITE PREFER-POSITIVE-ADDENDS-EQUAL))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n (1 1 (:REWRITE |(equal (- x) (- y))|))\n (1 1 (:REWRITE |(< (+ d x) (+ c y))|))\n )\n(WP-ZCOEF-G-INSTANCE\n (111363 1207 (:REWRITE CANCEL-FLOOR-+))\n (71487 693 (:REWRITE CANCEL-MOD-+))\n (68044 22966 (:TYPE-PRESCRIPTION FLOOR-ZERO . 3))\n (57948 4420 (:REWRITE DEFAULT-*-2))\n (36108 9064 (:TYPE-PRESCRIPTION MOD-ZERO . 2))\n (30996 22966 (:TYPE-PRESCRIPTION FLOOR-ZERO . 2))\n (30996 22966 (:TYPE-PRESCRIPTION FLOOR-ZERO . 1))\n (30996 22966 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 2))\n (30996 22966 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 1))\n (30996 22966 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-2))\n (30996 22966 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-1))\n (30996 22966 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-2))\n (30996 22966 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-1))\n (30996 22966 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 2))\n (30996 22966 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 1))\n (28156 4804 (:TYPE-PRESCRIPTION NOT-INTEGERP-4A))\n (26867 1030 (:REWRITE DEFAULT-+-2))\n (26222 1207 (:REWRITE FLOOR-CANCEL-*-WEAK))\n (25646 1207 (:REWRITE FLOOR-ZERO . 4))\n (25646 1207 (:REWRITE FLOOR-MINUS-WEAK))\n (25646 1207 (:REWRITE FLOOR-MINUS-2))\n (23029 1030 (:REWRITE DEFAULT-+-1))\n (18790 693 (:REWRITE MOD-ZERO . 3))\n (18790 693 (:REWRITE MOD-X-Y-=-X . 4))\n (18790 693 (:REWRITE MOD-NEG))\n (18790 693 (:REWRITE MOD-MINUS-2))\n (18790 693 (:REWRITE MOD-CANCEL-*))\n (11808 1207 (:REWRITE FLOOR-COMPLETION))\n (11566 9064 (:TYPE-PRESCRIPTION RATIONALP-MOD))\n (11566 9064 (:TYPE-PRESCRIPTION MOD-ZERO . 1))\n (11566 9064 (:TYPE-PRESCRIPTION MOD-POSITIVE . 2))\n (11566 9064 (:TYPE-PRESCRIPTION MOD-POSITIVE . 1))\n (11566 9064 (:TYPE-PRESCRIPTION MOD-NONPOSITIVE))\n (11566 9064 (:TYPE-PRESCRIPTION MOD-NONNEGATIVE))\n (11566 9064 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 2))\n (11566 9064 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 1))\n (11566 9064 (:TYPE-PRESCRIPTION INTEGERP-MOD))\n (11336 2678 (:META META-INTEGERP-CORRECT))\n (7837 1386 (:REWRITE MOD-COMPLETION))\n (6448 52 (:REWRITE |(+ 0 x)|))\n (6067 119 (:REWRITE PREFER-POSITIVE-ADDENDS-EQUAL))\n (5931 119 (:REWRITE SIMPLIFY-SUMS-EQUAL))\n (5931 119 (:REWRITE SIMPLIFY-PRODUCTS-GATHER-EXPONENTS-EQUAL))\n (4804 4804 (:TYPE-PRESCRIPTION NOT-INTEGERP-3A))\n (4804 4804 (:TYPE-PRESCRIPTION NOT-INTEGERP-2A))\n (4804 4804 (:TYPE-PRESCRIPTION NOT-INTEGERP-1A))\n (4750 4420 (:REWRITE DEFAULT-*-1))\n (4420 4420 (:REWRITE NORMALIZE-FACTORS-GATHER-EXPONENTS))\n (3440 40 (:REWRITE |(* (if a b c) x)|))\n (2678 2678 (:REWRITE REDUCE-INTEGERP-+))\n (2678 2678 (:REWRITE INTEGERP-MINUS-X))\n (2596 2596 (:REWRITE |(integerp (* c x))|))\n (1652 24 (:REWRITE |(* y (* x z))|))\n (1393 82 (:REWRITE MOD-ZERO . 1))\n (1393 82 (:REWRITE MOD-+-CANCEL-0-WEAK))\n (1314 42 (:TYPE-PRESCRIPTION NOT-INTEGERP-4C))\n (1207 1207 (:REWRITE FLOOR-ZERO . 3))\n (1207 1207 (:REWRITE FLOOR-ZERO . 2))\n (1030 1030 (:REWRITE NORMALIZE-TERMS-SUCH-AS-A\/A+B-+-B\/A+B))\n (1030 1030 (:REWRITE NORMALIZE-ADDENDS))\n (945 693 (:REWRITE SIMPLIFY-MOD-+-MOD-WEAK))\n (693 693 (:REWRITE SIMPLIFY-MOD-+-MINUS-MOD))\n (693 693 (:REWRITE MOD-ZERO . 2))\n (693 693 (:REWRITE MOD-X-Y-=-X . 3))\n (693 693 (:REWRITE MOD-X-Y-=-X . 2))\n (675 99 (:REWRITE RATIONALP-MOD))\n (598 22 (:REWRITE REWRITE-FLOOR-MOD-WEAK))\n (442 358 (:REWRITE |(+ c (+ d x))|))\n (310 40 (:REWRITE ZP-OPEN))\n (259 7 (:REWRITE REWRITE-MOD-MOD-WEAK))\n (234 234 (:REWRITE FOLD-CONSTS-IN-+))\n (189 21 (:REWRITE |(< d (+ c x))|))\n (119 119 (:REWRITE |(equal (- x) (- y))|))\n (84 21 (:REWRITE INTEGERP-MOD))\n (82 82 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-A+AB-=-0))\n (82 82 (:REWRITE |(equal (- x) 0)|))\n (72 6 (:REWRITE |(< x (if a b c))|))\n (48 48 (:REWRITE REMOVE-WEAK-INEQUALITIES-TWO))\n (48 48 (:REWRITE REMOVE-WEAK-INEQUALITIES-ONE))\n (42 42 (:TYPE-PRESCRIPTION NOT-INTEGERP-3C))\n (42 42 (:TYPE-PRESCRIPTION NOT-INTEGERP-2C))\n (42 42 (:TYPE-PRESCRIPTION NOT-INTEGERP-1C))\n (36 6 (:REWRITE |(+ x (if a b c))|))\n (21 21 (:REWRITE SIMPLIFY-SUMS-<))\n (21 21 (:REWRITE SIMPLIFY-PRODUCTS-GATHER-EXPONENTS-<))\n (21 21 (:REWRITE PREFER-POSITIVE-ADDENDS-<))\n (21 21 (:REWRITE DEFAULT-<-2))\n (21 21 (:REWRITE DEFAULT-<-1))\n (21 21 (:REWRITE |(< (- x) (- y))|))\n (13 13 (:REWRITE |(equal (+ c x y) d)|))\n (6 6 (:LINEAR MOD-BOUNDS-2))\n (6 6 (:LINEAR MOD-BOUNDS-1))\n (3 3 (:LINEAR MOD-BOUNDS-3))\n )\n(FLOOR-MOD-REWRITE\n (154 18 (:REWRITE DEFAULT-*-2))\n (87 7 (:REWRITE DEFAULT-+-2))\n (80 80 (:TYPE-PRESCRIPTION FLOOR-ZERO . 3))\n (80 80 (:TYPE-PRESCRIPTION FLOOR-ZERO . 2))\n (80 80 (:TYPE-PRESCRIPTION FLOOR-ZERO . 1))\n (80 80 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 2))\n (80 80 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 1))\n (80 80 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-2))\n (80 80 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-1))\n (80 80 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-2))\n (80 80 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-1))\n (80 80 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 2))\n (80 80 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 1))\n (63 63 (:TYPE-PRESCRIPTION MOD-ZERO . 2))\n (63 63 (:TYPE-PRESCRIPTION MOD-ZERO . 1))\n (63 63 (:TYPE-PRESCRIPTION MOD-POSITIVE . 2))\n (63 63 (:TYPE-PRESCRIPTION MOD-POSITIVE . 1))\n (63 63 (:TYPE-PRESCRIPTION MOD-NONPOSITIVE))\n (63 63 (:TYPE-PRESCRIPTION MOD-NONNEGATIVE))\n (63 63 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 2))\n (63 63 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 1))\n (63 63 (:TYPE-PRESCRIPTION INTEGERP-MOD))\n (48 2 (:REWRITE CANCEL-FLOOR-+))\n (39 17 (:REWRITE PREFER-POSITIVE-ADDENDS-EQUAL))\n (27 7 (:REWRITE DEFAULT-+-1))\n (22 2 (:REWRITE MOD-X-Y-=-X . 4))\n (22 2 (:REWRITE MOD-X-Y-=-X . 3))\n (22 2 (:REWRITE FLOOR-ZERO . 4))\n (22 2 (:REWRITE FLOOR-ZERO . 3))\n (19 19 (:REWRITE |(equal (- x) (- y))|))\n (18 18 (:REWRITE NORMALIZE-FACTORS-GATHER-EXPONENTS))\n (18 18 (:REWRITE DEFAULT-*-1))\n (18 6 (:REWRITE DEFAULT-UNARY-\/))\n (16 16 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-A+AB-=-0))\n (16 16 (:REWRITE |(equal (- x) 0)|))\n (14 14 (:REWRITE |(* c (* d x))|))\n (14 2 (:REWRITE SIMPLIFY-MOD-+-MOD-WEAK))\n (14 2 (:REWRITE SIMPLIFY-MOD-+-MINUS-MOD))\n (14 2 (:REWRITE MOD-ZERO . 3))\n (14 2 (:REWRITE MOD-ZERO . 2))\n (14 2 (:REWRITE FLOOR-ZERO . 2))\n (14 2 (:REWRITE CANCEL-MOD-+))\n (8 8 (:REWRITE SIMPLIFY-SUMS-<))\n (8 8 (:REWRITE SIMPLIFY-PRODUCTS-GATHER-EXPONENTS-<))\n (8 8 (:REWRITE REMOVE-WEAK-INEQUALITIES-TWO))\n (8 8 (:REWRITE REMOVE-WEAK-INEQUALITIES-ONE))\n (8 8 (:REWRITE PREFER-POSITIVE-ADDENDS-<))\n (8 8 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE DEFAULT-<-1))\n (8 8 (:REWRITE |(< (- x) (- y))|))\n (8 8 (:REWRITE |(+ c (+ d x))|))\n (7 7 (:REWRITE NORMALIZE-TERMS-SUCH-AS-A\/A+B-+-B\/A+B))\n (6 6 (:REWRITE NORMALIZE-TERMS-SUCH-AS-1\/AX+BX))\n (4 4 (:TYPE-PRESCRIPTION NOT-INTEGERP-4B))\n (4 4 (:TYPE-PRESCRIPTION NOT-INTEGERP-3B))\n (4 4 (:TYPE-PRESCRIPTION NOT-INTEGERP-2B))\n (4 4 (:TYPE-PRESCRIPTION NOT-INTEGERP-1B))\n (4 4 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-A+AB-<-0))\n (4 4 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-0-<-A+AB))\n (4 4 (:REWRITE MOD-COMPLETION))\n (4 4 (:REWRITE |(< 0 (- x))|))\n (4 4 (:REWRITE |(< (- x) 0)|))\n (3 3 (:REWRITE |(equal (+ c x) d)|))\n (2 2 (:REWRITE REDUCE-INTEGERP-+))\n (2 2 (:REWRITE MOD-X-Y-=-X . 2))\n (2 2 (:REWRITE MOD-NEG))\n (2 2 (:REWRITE MOD-MINUS-2))\n (2 2 (:REWRITE MOD-CANCEL-*))\n (2 2 (:REWRITE INTEGERP-MINUS-X))\n (2 2 (:REWRITE FOLD-CONSTS-IN-+))\n (2 2 (:REWRITE FLOOR-MINUS-WEAK))\n (2 2 (:REWRITE FLOOR-MINUS-2))\n (2 2 (:REWRITE FLOOR-COMPLETION))\n (2 2 (:REWRITE FLOOR-CANCEL-*-WEAK))\n (2 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (2 2 (:REWRITE |(integerp (* c x))|))\n (2 2 (:META META-INTEGERP-CORRECT))\n (1 1 (:REWRITE |(equal (+ d x) (+ c y))|))\n (1 1 (:REWRITE |(equal (+ c x) (+ d y))|))\n (1 1 (:REWRITE |(equal (+ c x y) d)|))\n )\n(IND-HINT)\n(HACK\n (979 199 (:TYPE-PRESCRIPTION MOD-ZERO . 1))\n (979 199 (:TYPE-PRESCRIPTION MOD-POSITIVE . 2))\n (702 12 (:REWRITE MOD-ZERO . 2))\n (539 539 (:TYPE-PRESCRIPTION NOT-INTEGERP-3B))\n (539 539 (:TYPE-PRESCRIPTION NOT-INTEGERP-2B))\n (539 539 (:TYPE-PRESCRIPTION NOT-INTEGERP-1B))\n (454 12 (:REWRITE MOD-X-Y-=-X . 3))\n (259 37 (:REWRITE DEFAULT-UNARY-\/))\n (200 8 (:REWRITE |(* (+ x y) z)|))\n (199 199 (:TYPE-PRESCRIPTION MOD-POSITIVE . 1))\n (199 199 (:TYPE-PRESCRIPTION MOD-NONPOSITIVE))\n (199 199 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 2))\n (199 199 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 1))\n (138 40 (:REWRITE DEFAULT-+-2))\n (112 28 (:REWRITE DEFAULT-*-2))\n (108 12 (:REWRITE MOD-X-Y-=-X . 4))\n (102 12 (:REWRITE SIMPLIFY-SUMS-EQUAL))\n (102 12 (:REWRITE SIMPLIFY-PRODUCTS-GATHER-EXPONENTS-EQUAL))\n (102 12 (:REWRITE PREFER-POSITIVE-ADDENDS-EQUAL))\n (84 12 (:REWRITE MOD-ZERO . 3))\n (64 40 (:REWRITE DEFAULT-+-1))\n (60 24 (:REWRITE SIMPLIFY-SUMS-<))\n (60 24 (:REWRITE SIMPLIFY-PRODUCTS-GATHER-EXPONENTS-<))\n (60 24 (:REWRITE PREFER-POSITIVE-ADDENDS-<))\n (60 24 (:REWRITE MOD-COMPLETION))\n (60 24 (:REWRITE DEFAULT-<-2))\n (56 14 (:REWRITE |(* 1 x)|))\n (56 8 (:LINEAR MOD-BOUNDS-2))\n (52 13 (:REWRITE SIMPLIFY-MOD-+-MOD-WEAK))\n (52 13 (:REWRITE SIMPLIFY-MOD-+-MINUS-MOD))\n (50 2 (:REWRITE MOD-+-CANCEL-0-WEAK))\n (48 12 (:REWRITE MOD-NEG))\n (48 12 (:REWRITE MOD-CANCEL-*))\n (46 4 (:REWRITE |(equal (+ c x) d)|))\n (42 12 (:REWRITE MOD-MINUS-2))\n (40 40 (:REWRITE NORMALIZE-TERMS-SUCH-AS-A\/A+B-+-B\/A+B))\n (38 38 (:REWRITE REDUCE-INTEGERP-+))\n (38 38 (:REWRITE INTEGERP-MINUS-X))\n (38 38 (:META META-INTEGERP-CORRECT))\n (37 37 (:REWRITE NORMALIZE-TERMS-SUCH-AS-1\/AX+BX))\n (37 37 (:REWRITE DEFAULT-EXPT-2))\n (37 37 (:REWRITE DEFAULT-EXPT-1))\n (37 37 (:REWRITE |(expt x (- n))|))\n (37 37 (:REWRITE |(expt 2^i n)|))\n (37 37 (:REWRITE |(expt 1\/c n)|))\n (37 37 (:REWRITE |(expt (- x) n)|))\n (32 4 (:REWRITE |(< d (+ c x))|))\n (28 28 (:REWRITE REMOVE-WEAK-INEQUALITIES-TWO))\n (28 28 (:REWRITE DEFAULT-*-1))\n (24 24 (:REWRITE DEFAULT-<-1))\n (24 24 (:REWRITE |(< (- x) (- y))|))\n (20 20 (:REWRITE |(integerp (* c x))|))\n (14 14 (:LINEAR EXPT-IS-WEAKLY-INCREASING-FOR-BASE->-1))\n (14 14 (:LINEAR EXPT-IS-WEAKLY-DECREASING-FOR-POS-BASE-<-1))\n (14 14 (:LINEAR EXPT-IS-INCREASING-FOR-BASE->-1))\n (14 14 (:LINEAR EXPT-IS-DECREASING-FOR-POS-BASE-<-1))\n (12 12 (:REWRITE MOD-X-Y-=-X . 2))\n (12 12 (:REWRITE |(equal (- x) (- y))|))\n (8 8 (:REWRITE REMOVE-WEAK-INEQUALITIES-ONE))\n (8 8 (:REWRITE INTEGERP-+-REDUCE-LEADING-RATIONAL-CONSTANT))\n (7 7 (:LINEAR EXPT->-1-TWO))\n (7 7 (:LINEAR EXPT-<-1-TWO))\n (7 7 (:LINEAR EXPT-<-1-ONE))\n (7 4 (:REWRITE DEFAULT-UNARY-MINUS))\n (6 6 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-A+AB-=-0))\n (6 6 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-0-<-A+AB))\n (6 6 (:REWRITE |(equal (- x) 0)|))\n (6 6 (:REWRITE |(< 0 (- x))|))\n (6 6 (:REWRITE |(< (+ c x) d)|))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-ZERO . 2))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-ZERO . 1))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 2))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 1))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-2))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-1))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-2))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 2))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 1))\n (3 3 (:REWRITE |(+ c (+ d x))|))\n (2 2 (:REWRITE ZP-OPEN))\n )\n(MOD-+-1\n (5808 99 (:REWRITE MOD-ZERO . 2))\n (5084 1096 (:TYPE-PRESCRIPTION MOD-POSITIVE . 2))\n (3092 3092 (:TYPE-PRESCRIPTION NOT-INTEGERP-3B))\n (3092 3092 (:TYPE-PRESCRIPTION NOT-INTEGERP-2B))\n (3024 40 (:LINEAR MOD-BOUNDS-3))\n (2589 375 (:REWRITE DEFAULT-UNARY-\/))\n (1335 366 (:REWRITE DEFAULT-*-2))\n (1195 275 (:REWRITE DEFAULT-+-2))\n (1096 1096 (:TYPE-PRESCRIPTION MOD-POSITIVE . 1))\n (1096 1096 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 2))\n (1096 1096 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 1))\n (1080 102 (:REWRITE MOD-X-Y-=-X . 4))\n (1075 1075 (:TYPE-PRESCRIPTION MOD-NONPOSITIVE))\n (744 99 (:REWRITE MOD-ZERO . 3))\n (658 352 (:META META-INTEGERP-CORRECT))\n (572 80 (:LINEAR MOD-BOUNDS-2))\n (528 275 (:REWRITE DEFAULT-+-1))\n (477 198 (:REWRITE MOD-COMPLETION))\n (463 121 (:REWRITE SIMPLIFY-MOD-+-MOD-WEAK))\n (463 121 (:REWRITE SIMPLIFY-MOD-+-MINUS-MOD))\n (419 419 (:REWRITE DEFAULT-EXPT-2))\n (419 419 (:REWRITE DEFAULT-EXPT-1))\n (419 419 (:REWRITE |(expt x (- n))|))\n (419 419 (:REWRITE |(expt 2^i n)|))\n (419 419 (:REWRITE |(expt 1\/c n)|))\n (419 419 (:REWRITE |(expt (- x) n)|))\n (400 91 (:REWRITE SIMPLIFY-SUMS-EQUAL))\n (400 91 (:REWRITE SIMPLIFY-PRODUCTS-GATHER-EXPONENTS-EQUAL))\n (400 91 (:REWRITE PREFER-POSITIVE-ADDENDS-EQUAL))\n (390 102 (:REWRITE MOD-NEG))\n (390 102 (:REWRITE MOD-CANCEL-*))\n (375 375 (:REWRITE NORMALIZE-TERMS-SUCH-AS-1\/AX+BX))\n (366 366 (:REWRITE DEFAULT-*-1))\n (366 102 (:REWRITE MOD-MINUS-2))\n (352 352 (:REWRITE INTEGERP-MINUS-X))\n (346 208 (:REWRITE DEFAULT-<-2))\n (296 296 (:REWRITE REMOVE-WEAK-INEQUALITIES-TWO))\n (275 275 (:REWRITE NORMALIZE-TERMS-SUCH-AS-A\/A+B-+-B\/A+B))\n (227 208 (:REWRITE DEFAULT-<-1))\n (218 218 (:REWRITE |(< (- x) (- y))|))\n (214 214 (:TYPE-PRESCRIPTION NOT-INTEGERP-3A))\n (214 214 (:TYPE-PRESCRIPTION NOT-INTEGERP-2A))\n (214 214 (:TYPE-PRESCRIPTION NOT-INTEGERP-1A))\n (210 12 (:REWRITE MOD-+-CANCEL-0-WEAK))\n (179 179 (:REWRITE |(integerp (* c x))|))\n (110 50 (:REWRITE DEFAULT-UNARY-MINUS))\n (99 99 (:REWRITE MOD-X-Y-=-X . 2))\n (91 91 (:REWRITE |(equal (- x) (- y))|))\n (85 85 (:REWRITE INTEGERP-+-REDUCE-LEADING-RATIONAL-CONSTANT))\n (74 74 (:LINEAR EXPT-IS-WEAKLY-DECREASING-FOR-POS-BASE-<-1))\n (74 74 (:LINEAR EXPT-IS-INCREASING-FOR-BASE->-1))\n (74 74 (:LINEAR EXPT-IS-DECREASING-FOR-POS-BASE-<-1))\n (47 47 (:REWRITE |(< 0 (- x))|))\n (46 46 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-0-<-A+AB))\n (44 44 (:REWRITE |(< (- x) 0)|))\n (43 43 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-A+AB-<-0))\n (42 42 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-A+AB-=-0))\n (42 42 (:REWRITE |(equal (- x) 0)|))\n (39 39 (:LINEAR EXPT->-1-TWO))\n (39 39 (:LINEAR EXPT-<-1-TWO))\n (39 39 (:LINEAR EXPT-<-1-ONE))\n (20 20 (:REWRITE |(* c (* d x))|))\n (19 19 (:REWRITE |(- (* c x))|))\n (8 8 (:REWRITE FOLD-CONSTS-IN-+))\n (6 6 (:REWRITE ZP-OPEN))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-ZERO . 2))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-ZERO . 1))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 2))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 1))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-2))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-1))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-2))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-1))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 2))\n (3 3 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 1))\n (2 2 (:REWRITE BUBBLE-DOWN-*-MATCH-3))\n (1 1 (:REWRITE |(< (+ d x) (+ c y))|))\n (1 1 (:REWRITE |(< (+ c x) (+ d y))|))\n (1 1 (:REWRITE |(< (+ c x y) d)|))\n )\n(WP-ZCOEF-G-MULTIPLIES\n (377587 24571 (:REWRITE DEFAULT-+-2))\n (307017 2546 (:REWRITE MOD-ZERO . 2))\n (282157 8230 (:REWRITE FLOOR-ZERO . 3))\n (264718 8230 (:REWRITE FLOOR-ZERO . 4))\n (220486 35377 (:REWRITE DEFAULT-*-2))\n (214892 18772 (:META META-INTEGERP-CORRECT))\n (205041 2553 (:REWRITE MOD-X-Y-=-X . 4))\n (204404 2546 (:REWRITE MOD-ZERO . 3))\n (194150 3194 (:REWRITE SIMPLIFY-MOD-+-MOD-WEAK))\n (160958 124 (:REWRITE REWRITE-FLOOR-MOD-WEAK))\n (130348 130348 (:TYPE-PRESCRIPTION NOT-INTEGERP-3B))\n (130348 130348 (:TYPE-PRESCRIPTION NOT-INTEGERP-2B))\n (125750 24571 (:REWRITE DEFAULT-+-1))\n (119406 119406 (:TYPE-PRESCRIPTION FLOOR-ZERO . 2))\n (119406 119406 (:TYPE-PRESCRIPTION FLOOR-ZERO . 1))\n (119406 119406 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 2))\n (119406 119406 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-2))\n (119406 119406 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-1))\n (119406 119406 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 2))\n (119406 119406 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 1))\n (118859 118859 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-2))\n (107787 35377 (:REWRITE DEFAULT-*-1))\n (96478 2639 (:REWRITE PREFER-POSITIVE-ADDENDS-EQUAL))\n (57791 57791 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 2))\n (57791 57791 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 1))\n (57769 57769 (:TYPE-PRESCRIPTION MOD-POSITIVE . 1))\n (57551 57551 (:TYPE-PRESCRIPTION MOD-NONPOSITIVE))\n (48880 1284 (:LINEAR FLOOR-BOUNDS-3))\n (48880 1284 (:LINEAR FLOOR-BOUNDS-2))\n (47104 14853 (:REWRITE DEFAULT-<-2))\n (44385 14853 (:REWRITE DEFAULT-<-1))\n (44186 6274 (:REWRITE DEFAULT-UNARY-\/))\n (43070 43070 (:TYPE-PRESCRIPTION NOT-INTEGERP-3A))\n (43070 43070 (:TYPE-PRESCRIPTION NOT-INTEGERP-2A))\n (35399 8354 (:REWRITE FLOOR-CANCEL-*-WEAK))\n (33556 8230 (:REWRITE FLOOR-ZERO . 2))\n (31276 4675 (:REWRITE DEFAULT-UNARY-MINUS))\n (30991 8230 (:REWRITE FLOOR-COMPLETION))\n (30150 18772 (:REWRITE INTEGERP-MINUS-X))\n (27716 8230 (:REWRITE FLOOR-MINUS-WEAK))\n (24571 24571 (:REWRITE NORMALIZE-TERMS-SUCH-AS-A\/A+B-+-B\/A+B))\n (20509 5068 (:REWRITE MOD-COMPLETION))\n (19258 8230 (:REWRITE FLOOR-MINUS-2))\n (18060 2553 (:REWRITE MOD-CANCEL-*))\n (17672 17672 (:REWRITE |(integerp (* c x))|))\n (17355 17355 (:REWRITE DEFAULT-EXPT-2))\n (17355 17355 (:REWRITE DEFAULT-EXPT-1))\n (17355 17355 (:REWRITE |(expt x (- n))|))\n (17355 17355 (:REWRITE |(expt 2^i n)|))\n (17355 17355 (:REWRITE |(expt 1\/c n)|))\n (17355 17355 (:REWRITE |(expt (- x) n)|))\n (16481 242 (:REWRITE |(* (- x) y)|))\n (16259 10 (:REWRITE |(< x (if a b c))|))\n (15838 2553 (:REWRITE MOD-NEG))\n (15434 10 (:REWRITE |(< (if a b c) x)|))\n (15176 15176 (:REWRITE |(< (- x) (- y))|))\n (9377 2553 (:REWRITE MOD-MINUS-2))\n (6639 6639 (:REWRITE |(< 0 (- x))|))\n (6558 6558 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-0-<-A+AB))\n (6307 44 (:REWRITE |(* (if a b c) x)|))\n (6274 6274 (:REWRITE NORMALIZE-TERMS-SUCH-AS-1\/AX+BX))\n (5389 5389 (:REWRITE FOLD-CONSTS-IN-+))\n (4964 3194 (:REWRITE SIMPLIFY-MOD-+-MINUS-MOD))\n (4644 3 (:REWRITE |(equal (if a b c) x)|))\n (3932 2546 (:REWRITE MOD-X-Y-=-X . 2))\n (2657 2657 (:REWRITE |(equal (- x) (- y))|))\n (2263 2263 (:REWRITE |(equal (- x) 0)|))\n (2242 2242 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-A+AB-=-0))\n (1940 368 (:LINEAR MOD-BOUNDS-2))\n (1006 1006 (:REWRITE |(< (+ c x y) d)|))\n (984 984 (:REWRITE |(< d (+ c x y))|))\n (854 262 (:REWRITE FLOOR-ZERO . 1))\n (665 665 (:REWRITE |(< (- x) 0)|))\n (608 608 (:REWRITE |(equal (+ c x y) d)|))\n (604 604 (:REWRITE INTEGERP-+-REDUCE-LEADING-RATIONAL-CONSTANT))\n (584 584 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-A+AB-<-0))\n (584 96 (:REWRITE MOD-+-CANCEL-0-WEAK))\n (570 570 (:LINEAR EXPT-IS-WEAKLY-DECREASING-FOR-POS-BASE-<-1))\n (570 570 (:LINEAR EXPT-IS-DECREASING-FOR-POS-BASE-<-1))\n (429 285 (:LINEAR EXPT-<-1-TWO))\n (396 9 (:REWRITE MOD-POSITIVE . 3))\n (369 369 (:TYPE-PRESCRIPTION NOT-INTEGERP-3C))\n (369 369 (:TYPE-PRESCRIPTION NOT-INTEGERP-2C))\n (369 369 (:TYPE-PRESCRIPTION NOT-INTEGERP-1C))\n (285 285 (:LINEAR EXPT->-1-TWO))\n (285 285 (:LINEAR EXPT-<-1-ONE))\n (284 284 (:REWRITE |arith (expt x c)|))\n (254 254 (:REWRITE |arith (expt 1\/c n)|))\n (246 246 (:REWRITE FLOOR-POSITIVE . 3))\n (246 246 (:REWRITE FLOOR-POSITIVE . 2))\n (246 246 (:REWRITE FLOOR-POSITIVE . 1))\n (246 246 (:REWRITE FLOOR-NONPOSITIVE-2))\n (246 246 (:REWRITE FLOOR-NONPOSITIVE-1))\n (216 216 (:REWRITE ARITH-NORMALIZE-FACTORS-SCATTER-EXPONENTS))\n (198 9 (:REWRITE MOD-POSITIVE . 2))\n (198 9 (:REWRITE MOD-NONPOSITIVE))\n (179 179 (:REWRITE |arith (* c (* d x))|))\n (172 172 (:REWRITE |(equal (+ d x) (+ c y))|))\n (172 172 (:REWRITE |(equal (+ c x) (+ d y))|))\n (60 60 (:REWRITE |arith (- (* c x))|))\n (60 60 (:REWRITE |arith (* (- x) y)|))\n (60 60 (:REWRITE ARITH-NORMALIZE-ADDENDS))\n (59 27 (:REWRITE |(< (+ d x) (+ c y))|))\n (43 27 (:REWRITE |(< (+ c x) (+ d y))|))\n (13 13 (:REWRITE |arith (+ c (+ d x))|))\n (9 9 (:REWRITE MOD-POSITIVE . 1))\n (8 2 (:REWRITE |arith (expt x (+ m n))|))\n (5 5 (:TYPE-PRESCRIPTION NOT-INTEGERP-3D))\n (5 5 (:TYPE-PRESCRIPTION NOT-INTEGERP-2D))\n (5 5 (:TYPE-PRESCRIPTION NOT-INTEGERP-1D))\n (4 4 (:REWRITE EXPT-IS-WEAKLY-DECREASING-FOR-POS-BASE-<-1))\n (3 3 (:TYPE-PRESCRIPTION NOT-INTEGERP-3E))\n (3 3 (:TYPE-PRESCRIPTION NOT-INTEGERP-2E))\n (3 3 (:TYPE-PRESCRIPTION NOT-INTEGERP-1E))\n (2 2 (:TYPE-PRESCRIPTION NOT-INTEGERP-3L))\n (2 2 (:TYPE-PRESCRIPTION NOT-INTEGERP-3K))\n (2 2 (:TYPE-PRESCRIPTION NOT-INTEGERP-2L))\n (2 2 (:TYPE-PRESCRIPTION NOT-INTEGERP-2K))\n (2 2 (:TYPE-PRESCRIPTION NOT-INTEGERP-1L))\n (2 2 (:TYPE-PRESCRIPTION NOT-INTEGERP-1K))\n )\n(WP-ZCOEF-IS-CORRECT\n (340 40 (:REWRITE DEFAULT-*-2))\n (279 3 (:REWRITE MOD-X-Y-=-X . 4))\n (130 26 (:TYPE-PRESCRIPTION MOD-ZERO . 1))\n (130 26 (:TYPE-PRESCRIPTION MOD-POSITIVE . 2))\n (58 58 (:TYPE-PRESCRIPTION NOT-INTEGERP-4B))\n (58 58 (:TYPE-PRESCRIPTION NOT-INTEGERP-3B))\n (58 58 (:TYPE-PRESCRIPTION NOT-INTEGERP-2B))\n (58 58 (:TYPE-PRESCRIPTION NOT-INTEGERP-1B))\n (47 7 (:REWRITE FLOOR-ZERO . 4))\n (42 2 (:REWRITE MOD-ZERO . 2))\n (41 41 (:TYPE-PRESCRIPTION FLOOR-ZERO . 3))\n (41 41 (:TYPE-PRESCRIPTION FLOOR-ZERO . 2))\n (41 41 (:TYPE-PRESCRIPTION FLOOR-ZERO . 1))\n (41 41 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 2))\n (41 41 (:TYPE-PRESCRIPTION FLOOR-POSITIVE . 1))\n (41 41 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-2))\n (41 41 (:TYPE-PRESCRIPTION FLOOR-NONPOSITIVE-1))\n (41 41 (:TYPE-PRESCRIPTION FLOOR-NONNEGATIVE-2))\n (41 41 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 2))\n (41 41 (:TYPE-PRESCRIPTION FLOOR-NEGATIVE . 1))\n (40 40 (:REWRITE NORMALIZE-FACTORS-GATHER-EXPONENTS))\n (40 40 (:REWRITE DEFAULT-*-1))\n (38 4 (:REWRITE DEFAULT-+-2))\n (34 4 (:REWRITE DEFAULT-+-1))\n (32 32 (:TYPE-PRESCRIPTION NOT-INTEGERP-3A))\n (32 32 (:TYPE-PRESCRIPTION NOT-INTEGERP-2A))\n (32 32 (:TYPE-PRESCRIPTION NOT-INTEGERP-1A))\n (31 19 (:REWRITE SIMPLIFY-SUMS-<))\n (31 19 (:REWRITE SIMPLIFY-PRODUCTS-GATHER-EXPONENTS-<))\n (31 19 (:REWRITE PREFER-POSITIVE-ADDENDS-<))\n (31 19 (:REWRITE DEFAULT-<-2))\n (26 26 (:TYPE-PRESCRIPTION MOD-ZERO . 2))\n (26 26 (:TYPE-PRESCRIPTION MOD-POSITIVE . 1))\n (26 26 (:TYPE-PRESCRIPTION MOD-NONPOSITIVE))\n (26 26 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 2))\n (26 26 (:TYPE-PRESCRIPTION MOD-NEGATIVE . 1))\n (19 19 (:REWRITE REMOVE-WEAK-INEQUALITIES-TWO))\n (19 19 (:REWRITE DEFAULT-<-1))\n (19 19 (:REWRITE |(< (- x) (- y))|))\n (18 18 (:REWRITE REDUCE-INTEGERP-+))\n (18 18 (:REWRITE INTEGERP-MINUS-X))\n (18 18 (:META META-INTEGERP-CORRECT))\n (15 3 (:REWRITE MOD-NEG))\n (15 3 (:REWRITE MOD-MINUS-2))\n (15 3 (:REWRITE MOD-CANCEL-*))\n (14 14 (:REWRITE REMOVE-WEAK-INEQUALITIES-ONE))\n (14 14 (:REWRITE |(integerp (* c x))|))\n (14 2 (:REWRITE MOD-ZERO . 3))\n (10 2 (:LINEAR FLOOR-BOUNDS-3))\n (10 2 (:LINEAR FLOOR-BOUNDS-2))\n (7 7 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-0-<-A+AB))\n (7 7 (:REWRITE FLOOR-MINUS-WEAK))\n (7 7 (:REWRITE FLOOR-MINUS-2))\n (7 7 (:REWRITE FLOOR-CANCEL-*-WEAK))\n (7 7 (:REWRITE |(< 0 (- x))|))\n (6 6 (:REWRITE FLOOR-ZERO . 2))\n (6 6 (:REWRITE FLOOR-COMPLETION))\n (4 4 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-A+AB-<-0))\n (4 4 (:REWRITE SIMPLIFY-MOD-+-MOD-WEAK))\n (4 4 (:REWRITE SIMPLIFY-MOD-+-MINUS-MOD))\n (4 4 (:REWRITE NORMALIZE-TERMS-SUCH-AS-A\/A+B-+-B\/A+B))\n (4 4 (:REWRITE MOD-COMPLETION))\n (4 4 (:REWRITE |(equal (- x) (- y))|))\n (4 4 (:REWRITE |(< (- x) 0)|))\n (3 3 (:REWRITE SIMPLIFY-TERMS-SUCH-AS-A+AB-=-0))\n (3 3 (:REWRITE SIMPLIFY-SUMS-EQUAL))\n (3 3 (:REWRITE PREFER-POSITIVE-ADDENDS-EQUAL))\n (3 3 (:REWRITE |(equal (- x) 0)|))\n (2 2 (:REWRITE NORMALIZE-TERMS-SUCH-AS-1\/AX+BX))\n (2 2 (:REWRITE MOD-X-Y-=-X . 2))\n (2 2 (:REWRITE DEFAULT-UNARY-\/))\n (2 2 (:REWRITE |(* (- x) y)|))\n (1 1 (:REWRITE FLOOR-POSITIVE . 3))\n (1 1 (:REWRITE FLOOR-POSITIVE . 2))\n (1 1 (:REWRITE FLOOR-POSITIVE . 1))\n (1 1 (:REWRITE FLOOR-NONPOSITIVE-2))\n (1 1 (:REWRITE FLOOR-NONPOSITIVE-1))\n (1 1 (:REWRITE |(equal (+ c x) d)|))\n )\n","avg_line_length":41.8227060653,"max_line_length":66,"alphanum_fraction":0.6468094601} +{"size":534,"ext":"asd","lang":"Common Lisp","max_stars_count":null,"content":";;;; Weave.asd\n\n(asdf:defsystem #:weave\n :description \"Describe weave here\"\n :author \"Your Name \"\n :license \"Specify license here\"\n :version \"0.0.1\"\n :serial t\n :depends-on (:uiop :trivial-open-browser :clack :cl-emb :parenscript :remote-js)\n :components ((:module \"src\"\n :serial t\n :components ((:file \"package\")\n (:file \"project\")\n (:file \"weave\")))))\n\n;;; (asdf:load-system :weave)\n","avg_line_length":31.4117647059,"max_line_length":82,"alphanum_fraction":0.5131086142} +{"size":25416,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":";;;; chip-reader.lisp\n;;;;\n;;;; Author: Eric Peterson\n;;;;\n;;;; This file contains routines that read in \"ISA\" specifications, which are\n;;;; JSON dictionaries that specify QPU information. The top level entries of\n;;;; the dictionary are \"layers\", which each contain some semantically cohesive\n;;;; information about the QPU. The only irregular entry is keyed on \"id\",\n;;;; whose value is a dictionary of the following form:\n;;;;\n;;;; { name: optional string,\n;;;; version: optional string,\n;;;; ... any other identification info (e.g., a timestamp) }\n;;;;\n;;;; All other toplevel keys are dictionaries, structured the same way. The\n;;;; dictionary is keyed on strings of the form \"nQ\", n a positive integer, which\n;;;; holds the information related to n-qubit operations. Each value is again\n;;;; a dictionary, keyed on strings of the form \"m1-...-mn\", where each mj is a\n;;;; positive integer and mj < m(j+1) is sorted ascending. The value for this\n;;;; object contains the information related to the specific n-qubit complex\n;;;; (m1, ..., mn).\n;;;;\n;;;; In the case of the layer \"isa\", this complex data is a dictionary which\n;;;; tracks information about legal operations on the QPU components:\n;;;; { type: optional string or optional list of strings, in the case of 1Q\n;;;; drawn from the set { \"X\/2\" } and in the case of 2Q drawn from\n;;;; the set { \"CZ\", \"ISWAP\", \"CPHASE\", \"PISWAP\" }. these indicate which\n;;;; operations are legal on this component of the QPU. in the case of a\n;;;; list, the operations are sorted into \"preference order\": the\n;;;; compiler will make an effort to prefer instructions earlier in the\n;;;; sequence to those later in the sequence. for 1Q the default is\n;;;; [ \"RZ\", \"X\/2\" ], and for 2Q the default is \"CZ\".\n;;;; gates: a (unordered) list of dictionaries recording the native operations for\n;;;; this object, each given via one of the two following forms:\n;;;; { operator: the string \"MEASURE\".\n;;;; qubit: an integer indicating the qubit to be MEASUREd\n;;;; OR the string \"_\" to indicate any qubit.\n;;;; target: an optional field indicating the memory region to be written to\n;;;; OR the string \"_\" to indicate any region.\n;;;; duration: time in ns that it takes to perform a measurement.\n;;;; fidelity: readout fidelity for this measurement.\n;;;; } OR {\n;;;; operator: the name of the gate application as a string.\n;;;; parameters: list of parameters supplied to this native instruction,\n;;;; which can be numeric literals or \"_\".\n;;;; arguments: list of qubit arguments supplied to this native instruction,\n;;;; which can be numeric literals or \"_\".\n;;;; duration: time in ns that it takes to execute this instruction.\n;;;; fidelity: gate fidelity for this instruction.\n;;;; }\n;;;; dead: optional boolean. when set to T, the compiler will treat all\n;;;; instructions on this component as illegal. }\n;;;;\n;;;; In the case of the layer \"specs\", this complex data is again a dictionary,\n;;;; which tracks information about fidelity properties of operations. it is\n;;;; keyed on strings irregularly related to the names of the operations, as in:\n;;;; { \"fCZ\": optional float for CZ fidelity,\n;;;; \"fCZ_std_err\": standard error in quoted fCZ measurement,\n;;;; \"fCPHASE\": optional float for CPHASE fidelity, ; NB: it is unspecified what angle value this pertains to.\n;;;; \"f1QRB\": optional float for X\/2 fidelity,\n;;;; \"fRO\": optional float for readout fidelity,\n;;;; \"fActiveReset\": optional float for active reset success probability,\n;;;; \"fBellState\": optional float for Bell state preparation success,\n;;;; \"T1\": optional float measuring the relaxation lifetime of a qubit,\n;;;; \"T2\": optional float measuring the decoherence lifetime of a qubit,\n;;;; ... }\n\n(in-package #:cl-quil)\n\n(define-condition missing-isa-layer-error (error)\n ()\n (:documentation \"This condition can be signaled when the chip reader fails to find an ISA layer.\")\n (:report \"Invalid QPU description file: missing required ISA layer or sub-layer.\"))\n\n(defun expand-key-to-integer-list (key)\n \"Expands a string of the form \\\"n1-...-nm\\\" to the list of integers (list nj1 ... njm), sorted ascending.\"\n (etypecase key\n (string\n (let ((unsorted-list (mapcar #'parse-integer (split-sequence:split-sequence #\\- key))))\n (cond\n ((every #'<= unsorted-list (rest unsorted-list))\n unsorted-list)\n (t\n (warn \"Encountered an unsorted ISA key: ~A\" unsorted-list)\n (sort unsorted-list #'<)))))\n (integer-list\n key)))\n\n(defun dead-qubit-hash-table ()\n (yason:parse \"{\\\"dead\\\": true}\"))\n\n(defun ensure-1q-layer-is-complete (isa-hash)\n \"Ensure the 1Q field has complete qubit information. If it doesn't, fill it in with dead qubits. Return the (possibly) modified ISA-HASH.\"\n (let ((1q-layer (gethash \"1Q\" isa-hash)))\n (when (null 1q-layer)\n (error 'missing-isa-layer-error))\n ;; Get the maximally indexed qubit, so we can bound the indexes of\n ;; the qubits we need to add.\n (let ((max-qubit-index\n (loop :for (k) :being :the :hash-keys :of 1q-layer\n :maximize k)))\n ;; Now, go through the hash table, filling in anything\n ;; missing. We can go :BELOW and not :TO with DOTIMES since we\n ;; know the last index exists.\n (dotimes (q max-qubit-index isa-hash)\n (multiple-value-bind (qubit-hash exists?)\n (gethash (list q) 1q-layer)\n (declare (ignore qubit-hash))\n (unless exists?\n (setf (gethash (list q) 1q-layer) (dead-qubit-hash-table))))))))\n\n(defun parse-binding (gate-datum)\n \"Parses an entry in the \\\"gates\\\" field of an ISA object descriptor.\"\n (flet ((intern-if-string (x)\n (typecase x\n (string '_)\n (otherwise x))))\n (cond\n ((string= \"MEASURE\" (gethash \"operator\" gate-datum))\n (make-measure-binding :target (intern-if-string (gethash \"target\" gate-datum))\n :qubit (intern-if-string (gethash \"qubit\" gate-datum))))\n ((string= \"_\" (gethash \"operator\" gate-datum))\n (make-wildcard-binding))\n (t\n (multiple-value-bind (operator op-p) (gethash \"operator\" gate-datum)\n (unless op-p (error 'missing-gates-default-value\n \"A \\\"gates\\\" field was provided in its ISA, but no \\\"operator\\\" key was present in its dictionary.\"))\n (multiple-value-bind (params params-p) (gethash \"parameters\" gate-datum)\n (unless params-p (error \"A \\\"gates\\\" field was provided in its ISA, but no \\\"parameters\\\" key was present in its dictionary.\"))\n (multiple-value-bind (args args-p) (gethash \"arguments\" gate-datum)\n (unless args-p (error \"A \\\"gates\\\" field was provided in its ISA, but no \\\"arguments\\\" key was present in its dictionary.\"))\n (make-gate-binding :operator (named-operator operator)\n :parameters (map 'list #'intern-if-string params)\n :arguments (map 'list #'intern-if-string args)))))))))\n\n(defun deforestify-fidelity (fidelity)\n \"The fidelity values recorded in Forest DB are subject to various quirks. This \\\"parser\\\" un-quirks them.\"\n (cond \n ((double= fidelity +forest-error-sentinel+)\n (warn \"Chip specification contains a fidelity field populated by the Forest error sentinel. Replacing it with the default ~A.\" +totally-awful-fidelity+)\n +totally-awful-fidelity+)\n ((> fidelity 1.0)\n (warn \"Chip specification contained fidelity ~A > 1.0:*. Truncating to ~A.\" fidelity +near-perfect-fidelity+)\n +near-perfect-fidelity+)\n ((> fidelity +near-perfect-fidelity+)\n ;; Silent truncation.\n +near-perfect-fidelity+)\n ((minusp fidelity)\n (error \"Chip specification contained negative fidelity ~A. I don't know what to do with this value.\" fidelity))\n (t\n fidelity)))\n\n(defun parse-gate-information (gate-datum)\n (let (args)\n (a:when-let ((fidelity (gethash \"fidelity\" gate-datum)))\n (setf fidelity (deforestify-fidelity fidelity)\n args (list* ':fidelity fidelity args)))\n (a:when-let ((duration (gethash \"duration\" gate-datum)))\n (setf args (list* ':duration duration args)))\n (apply #'make-gate-record args)))\n\n(defun parse-gates-field (gates)\n (let ((gate-information (make-hash-table :test #'equalp)))\n (map nil (lambda (gate-datum)\n (setf (gethash (parse-binding gate-datum) gate-information)\n (parse-gate-information gate-datum)))\n gates)\n gate-information))\n\n(defun load-isa-layer (chip-spec isa-hash)\n \"Loads the \\\"isa\\\" layer into a new chip-specification object.\"\n (unless (and isa-hash\n (gethash \"1Q\" isa-hash))\n (error 'missing-isa-layer-error))\n ;; Make sure some dummy didn't forget to specify a qubit. Declare it\n ;; as dead if they weren't listed.\n (ensure-1q-layer-is-complete isa-hash)\n ;; initialize an empty qubit list with entries drawn from [0, n)\n (let ((qubit-count (hash-table-count (gethash \"1Q\" isa-hash))))\n (setf (vnth 0 (chip-specification-objects chip-spec))\n (make-array qubit-count :initial-element nil))\n ;; for each logical qubit descriptor...\n (dohash ((key qubit-hash) (gethash \"1Q\" isa-hash))\n (destructuring-bind (i) key\n (assert (< i qubit-count)\n nil\n \"ISA contains a 1Q descriptor of index ~A, but there are only ~A qubit(s) altogether.\"\n i (1- qubit-count))\n ;; form a qubit\n (let (qubit)\n (cond\n ;; there's a \"gates\" field\n ((gethash \"gates\" qubit-hash)\n (setf qubit (build-qubit i :gate-information (parse-gates-field (gethash \"gates\" qubit-hash)))))\n ;; there's no \"gates\" field, but there is a \"type\" field, and it's supported\n ((and (string= \"Xhalves\" (gethash \"type\" qubit-hash)))\n (warn \"The ISA \\\"type\\\" field is deprecated and will be removed in favor of the \\\"gates\\\" field.\")\n (setf qubit (build-qubit i :type '(:RZ :X\/2 :MEASURE))))\n ;; there's no \"gates\" field, but there is a \"type\" field, but it isn't supported\n ((gethash \"type\" qubit-hash)\n (error \"On qubit ~A, unknown qubit type field in QPU descriptor: ~A.\"\n i (gethash \"type\" qubit-hash)))\n ;; there's neither a \"gates\" nor a \"type\" field. install a default.\n (t\n (setf qubit (build-qubit i :type '(:RZ :X\/2 :MEASURE)))))\n ;; store the descriptor in the qubit hardware-object for later reference\n (setf (hardware-object-misc-data qubit) qubit-hash)\n ;; and store the hardware-object into the chip specification\n (setf (vnth i (vnth 0 (chip-specification-objects chip-spec)))\n qubit))))\n ;; for each logical link descriptor...\n (when (gethash \"2Q\" isa-hash)\n (dohash ((key link-hash) (gethash \"2Q\" isa-hash))\n (destructuring-bind (q0 q1) key\n ;; check that the link is ordered\n (assert (< q0 q1)\n nil\n \"Link descriptor found with edge label \\\"~{~A~^-~}\\\". Edge labels are required to be sorted ascending; use \\\"~{~A~^-~}\\\" instead.\"\n (list q0 q1) (list q1 q0))\n ;; check that the link lies on reasonable qubits\n (assert (< q0 q1 qubit-count)\n nil\n \"ISA contains a 2Q hardware descriptor attached to qubits ~A, but there are only ~A qubit(s) altogether.\"\n (list q0 q1) qubit-count)\n (let (link\n (link-index (chip-spec-n-links chip-spec)))\n (cond\n ;; NOTE: By skipping the dead links, we're shifting the internal link\n ;; indices from what a user (or debugger) might expect. Beware!\n ((or (gethash \"dead\" link-hash)\n (hardware-object-dead-p (chip-spec-nth-qubit chip-spec q0))\n (hardware-object-dead-p (chip-spec-nth-qubit chip-spec q1)))\n t)\n ;; there's a \"gates\" field\n ((gethash \"gates\" link-hash)\n (setf link (build-link q0 q1 :gate-information (parse-gates-field (gethash \"gates\" link-hash)))))\n ;; there's no \"gates\" field, but there is a \"type\" field\n ((gethash \"type\" link-hash)\n (warn \"The ISA \\\"type\\\" field is deprecated and will be removed in favor of the \\\"gates\\\" field.\")\n (labels ((individual-target-parser (string)\n (cond\n ((null string) nil)\n ((string= \"CZ\" string) ':cz)\n ((string= \"ISWAP\" string) ':iswap)\n ((string= \"CPHASE\" string) ':cphase)\n ((string= \"PISWAP\" string) ':piswap)\n ((string= \"XY\" string) ':xy)\n (t (error \"Unknown link type in QPU descriptor on link ~A: ~A.\"\n (list q0 q1) string)))))\n (setf link (build-link q0 q1\n :type (mapcar #'individual-target-parser\n (a:ensure-list (gethash \"type\" link-hash)))))))\n ;; there's no \"gates\" or \"type\" field, so install a default\n (t\n (setf link (build-link q0 q1 :type '(:CZ)))))\n (when link\n ;; notify the qubits that they're attached.\n (dolist (qubit-index (list q0 q1))\n (vector-push-extend link-index (chip-spec-links-on-qubit chip-spec qubit-index)))\n ;; store the descriptor in the link hardware-object for later reference\n (setf (hardware-object-misc-data link) link-hash)\n ;; and store the hardware-object into the chip specification\n (vector-push-extend link (chip-spec-links chip-spec)))))))))\n\n(defun load-specs-layer (chip-spec specs-hash)\n \"Loads the \\\"specs\\\" layer into a chip-specification object.\"\n (a:when-let ((1q-specs (gethash \"1Q\" specs-hash)))\n (loop :for i :from 0\n :for qubit :across (chip-spec-qubits chip-spec)\n :for gate-info := (hardware-object-gate-information qubit)\n :do ;; load the qubit specs info\n (a:when-let ((spec (gethash (list i) 1q-specs)))\n (setf (gethash \"specs\" (hardware-object-misc-data qubit))\n spec)\n (a:when-let ((fidelity (gethash \"fRO\" spec)))\n (dohash ((binding record) gate-info)\n (when (measure-binding-p binding)\n (setf (gethash binding gate-info)\n (copy-gate-record record :fidelity fidelity)))))\n (a:when-let* ((fidelity (gethash \"f1QRB\" spec))\n (fidelity (deforestify-fidelity fidelity)))\n (dohash ((binding record) gate-info)\n (when (and (gate-binding-p binding)\n (equalp (named-operator \"RX\") (gate-binding-operator binding))\n ;; Allow for free parameters (e.g. \"theta\") RXs in ISAs\n (numberp (first (gate-binding-parameters binding)))\n (not (double= 0d0 (first (gate-binding-parameters binding)))))\n (unless (double= 0d0 (mod (first (gate-binding-parameters binding)) pi\/2))\n (warn \"Qubit ~A: applying f1QRB spec to unusual native gate RX(~A)\" i (first (gate-binding-parameters binding))))\n (setf (gethash binding gate-info)\n (copy-gate-record record :fidelity fidelity))))))))\n (a:when-let ((2q-specs (gethash \"2Q\" specs-hash)))\n (loop :for key :being :the :hash-keys :of 2q-specs\n :using (hash-value spec)\n :for (q0 q1) := key\n :for link := (lookup-hardware-object-by-qubits chip-spec (list q0 q1))\n :for gate-info := (and link (hardware-object-gate-information link))\n :when gate-info\n :do (flet ((stash-fidelity (gate-name parameters)\n (a:when-let* ((fidelity (gethash (format nil \"f~A\" gate-name) spec))\n (binding (make-gate-binding :operator (named-operator gate-name)\n :parameters parameters\n :arguments '(_ _)))\n (record (gethash binding gate-info)))\n (setf fidelity (deforestify-fidelity fidelity))\n (setf (gethash binding gate-info)\n (copy-gate-record record :fidelity fidelity)))))\n (setf (gethash \"specs\" (hardware-object-misc-data link))\n spec)\n (dolist (args '((\"CZ\" ())\n (\"ISWAP\" ())\n (\"CPHASE\" (_))\n (\"PISWAP\" (_))))\n (destructuring-bind (name params) args\n (stash-fidelity name params)))))))\n\n;; NOTE: This function (and its call sites) are an unfortunate anachronism of\n;; CL-QUIL \/ quilc development. QPU specifications were originally sent over\n;; the wire (or read in from disk) as JSON dictionaries, which have the\n;; restriction that they can only be keyed on strings. Internally, it would have\n;; been more convenient to have them keyed on lists of numbers, and so we decided\n;; on the convention that the string \"n1\" (with n1 a number) deserialize to the\n;; list (n1), the string \"n1-n2\" deserialize to the list (n1 n2), and so on. we\n;; managed this right at the deserialization layer by providing an :object-key-fn\n;; key to yason:parse.\n;;\n;; later, we migrated to RPCQ, which does support sending dictionaries keyed on\n;; non-strings over the wire, but we didn't initially make use of it: the client\n;; still serialized the QPU specification through JSON, then sent the JSON string\n;; along to be deserialized by the above means. later, someone half-assed the\n;; RPCQ message |TargetDevice|, which broke the \"isa\" and \"specs\" top-level keys\n;; from a QPU specification into RPCQ slots, but then marked their contents as\n;; :any -> :any dictionaries and stored the non-JSON-serialized dictionaries\n;; there, which were keyed on single-qubit unwrapped integers and qubit-qubit\n;; pairs of integers (breaking consistently with the deser layer above).\n;;\n;; this type mismatch caused bugs, which we awkwardly patched over for a while,\n;; until we ultimately found ourselves in a position without a backwards\n;; compatible solution. the situation is improving: quilc's HTTP endpoint is\n;; sunsetting, and with it the JSON payloads are likely to disappear too (though\n;; one must still consider their CLI usage), and so we need only consider the\n;; client's awkward behavior with the RPCQ payloads. for now, we are going to\n;; isolate this awkward behavior into this single function, which converts all\n;; of the possible options above into integer lists, and adhere rigidly to the\n;; use of integer vectors within the CL-QUIL codebase.\n;;\n;; -ecp\n(defun sanitize-qpu-hash-layer (layer)\n (flet ((walk-sublayer (sublayer)\n (let ((new-sublayer (make-hash-table :test #'equalp)))\n (dohash ((key val) sublayer new-sublayer)\n (etypecase key\n (string\n (setf key (sort (expand-key-to-integer-list key) #'<)))\n (integer\n (setf key (list key)))\n (integer-vector\n (setf key (sort (coerce key 'list) #'<)))\n (integer-list\n (setf key (sort (copy-list key) #'<))))\n (setf (gethash key new-sublayer) val)))))\n (let ((new-layer (make-hash-table :test #'equalp)))\n (a:when-let ((sublayer (gethash \"1Q\" layer)))\n (setf (gethash \"1Q\" new-layer) (walk-sublayer sublayer)))\n (a:when-let ((sublayer (gethash \"2Q\" layer)))\n (setf (gethash \"2Q\" new-layer) (walk-sublayer sublayer)))\n new-layer)))\n\n(defun qpu-hash-table-to-chip-specification (hash-table)\n \"Converts a QPU specification HASH-TABLE, to a chip-specification object. Requires an \\\"isa\\\" layer.\"\n (check-type hash-table hash-table)\n (let* ((isa-hash (sanitize-qpu-hash-layer\n (or (gethash \"isa\" hash-table)\n (error 'missing-isa-layer-error))))\n (chip-spec (make-chip-specification\n :objects (make-array 2 :initial-contents (list (make-adjustable-vector)\n (make-adjustable-vector)))\n :generic-rewriting-rules (coerce (global-rewriting-rules) 'vector))))\n ;; set up the self-referential compilers\n (install-generic-compilers chip-spec (list ':cz))\n ;; now load the layers out of the .qpu hash\n (load-isa-layer chip-spec isa-hash)\n (a:when-let ((specs-hash (gethash \"specs\" hash-table)))\n (load-specs-layer chip-spec (sanitize-qpu-hash-layer specs-hash)))\n ;; and return the chip-specification that we've built\n (warm-hardware-objects chip-spec)))\n\n(defun chip-specification-to-qpu-hash-table (chip-spec)\n \"Convert a chip-specification CHIP-SPEC to a QPU hash table. Useful when you want to pull an ISA out of a pre-built chip.\"\n (check-type chip-spec chip-specification)\n (let* ((nq (chip-spec-n-qubits chip-spec))\n (nl (chip-spec-n-links chip-spec))\n (table (make-hash-table :test 'equalp)))\n (let* ((isa (setf (gethash \"isa\" table) (make-hash-table :test #'equalp)))\n (oneq (setf (gethash \"1Q\" isa) (make-hash-table :test #'equalp)))\n (twoq (setf (gethash \"2Q\" isa) (make-hash-table :test #'equalp))))\n (loop :for qi :below nq\n :unless (chip-spec-qubit-dead? chip-spec qi) :do\n (setf (gethash (format nil \"~S\" qi) oneq)\n (hardware-object-misc-data (chip-spec-nth-qubit chip-spec qi))))\n (loop :for li :below nl\n :for qs := (chip-spec-qubits-on-link chip-spec li)\n :unless (zerop (length qs)) :do\n (setf (gethash (format nil \"~D-~D\" (elt qs 0) (elt qs 1)) twoq)\n (hardware-object-misc-data (chip-spec-nth-link chip-spec li)))))\n table))\n\n(defun read-chip-spec-file (file)\n \"Read a QPU specification from a file.\"\n (qpu-hash-table-to-chip-specification\n (with-open-file (s file)\n (let ((*read-default-float-format* 'double-float))\n (yason:parse s)))))\n\n(define-condition illegal-qubits-used-error (error)\n ((illegal-qubits :initarg :illegal-qubits :reader illegal-qubits-used-error-illegal-qubits)\n (instruction :initarg :instruction :reader illegal-qubits-used-error-instruction))\n (:documentation \"Error representing the use of an illegal qubit.\")\n (:report (lambda (c s)\n (format s \"Instruction '~\/quil:instruction-fmt\/' uses the illegal qubits ~{~A~^, ~}.\"\n (illegal-qubits-used-error-instruction c)\n (illegal-qubits-used-error-illegal-qubits c)))))\n\n(define-condition illegal-qubits-used-in-preserved-block-error (illegal-qubits-used-error)\n ()\n (:documentation \"Error representing the use of an illegal qubit in a preserved block.\")\n (:report (lambda (c s)\n (format s \"Within a preserved block, instruction '~\/quil:instruction-fmt\/' uses the illegal qubits ~{~A~^, ~}.\"\n (illegal-qubits-used-error-instruction c)\n (illegal-qubits-used-error-illegal-qubits c)))))\n\n(defun check-instructions-skip-dead-qubits (instrs dead-qubits &key (condition-class 'illegal-qubits-used-error))\n (map nil\n (lambda (instr)\n (a:when-let ((qubits-used (qubits-used instr)))\n (let ((instr-dead-qubits (intersection qubits-used dead-qubits)))\n (unless (endp instr-dead-qubits)\n (error (make-condition condition-class :illegal-qubits instr-dead-qubits :instruction instr))))))\n instrs))\n\n(defun check-program-skips-dead-qubits (parsed-program chip-specification)\n \"Errors if the PARSED-PROGRAM uses any qubits that are dead in the CHIP-SPECIFICATION.\"\n (check-instructions-skip-dead-qubits (parsed-program-executable-code parsed-program)\n (chip-spec-dead-qubits chip-specification)))\n\n(defun check-preserved-blocks-skip-dead-qubits (cfg chip-specification)\n \"Errors if any preserved block in the CFG uses any qubits that are dead in the CHIP-SPECIFICATION.\"\n (let ((dead-qubits (chip-spec-dead-qubits chip-specification)))\n (dolist (blk (cfg-blocks cfg))\n (when (typep blk 'preserved-block)\n (check-instructions-skip-dead-qubits (basic-block-code blk) dead-qubits\n :condition-class 'illegal-qubits-used-in-preserved-block-error)))))\n\n\n\n","avg_line_length":55.7368421053,"max_line_length":157,"alphanum_fraction":0.5993468681} +{"size":141,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(cl:in-package #:hermetica.parser.protocol)\n\n\n(defclass fundamental-parser ()\n ())\n\n\n(defclass combinator-parser (fundamental-parser)\n ())\n","avg_line_length":14.1,"max_line_length":48,"alphanum_fraction":0.7092198582} +{"size":5031,"ext":"lisp","lang":"Common Lisp","max_stars_count":30.0,"content":";; Copyright (c) 2003 Nikodemus Siivola\n;; \n;; Permission is hereby granted, free of charge, to any person obtaining\n;; a copy of this software and associated documentation files (the\n;; \"Software\"), to deal in the Software without restriction, including\n;; without limitation the rights to use, copy, modify, merge, publish,\n;; distribute, sublicense, and\/or sell copies of the Software, and to\n;; permit persons to whom the Software is furnished to do so, subject to\n;; the following conditions:\n;; \n;; The above copyright notice and this permission notice shall be included\n;; in all copies or substantial portions of the Software.\n;; \n;; THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n;; IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n;; CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n(in-package :linedit)\n\n(defclass smart-terminal (terminal)\n ((old-point :initform 0 :accessor old-point)\n (old-string :initform \"\" :accessor old-string)\n (old-markup :initform 0 :accessor old-markup)))\n\n(defun set-column-address (n current)\n (if nil\n (ti:tputs ti:column-address n)\n (cond ((< n current)\n\t (loop repeat (- current n) \n\t\t do (ti:tputs ti:cursor-left)))\n\t ((> n current)\n\t (loop repeat (- n current) \n\t\t do (ti:tputs ti:cursor-right))))))\n\n(defun smart-terminal-p ()\n (and ti:cursor-up ti:cursor-down ti:clr-eos\n (or ti:column-address (and ti:cursor-left ti:cursor-right))\n (or ti:auto-right-margin ti:enter-am-mode)))\n\n(defmethod backend-init ((backend smart-terminal))\n (call-next-method)\n (when ti:enter-am-mode\n (ti:tputs ti:enter-am-mode)))\n\n(defun find-row (n columns)\n ;; 1+ includes point in row calculations\n (ceiling (1+ n) columns))\n\n(defun find-col (n columns)\n (rem n columns))\n\n(defun move-in-column (&key col vertical clear-to-eos current-col)\n (set-column-address col current-col)\n (if (plusp vertical)\n (loop repeat vertical do (ti:tputs ti:cursor-up))\n (loop repeat (abs vertical) do (ti:tputs ti:cursor-down)))\n (when clear-to-eos\n (ti:tputs ti:clr-eos)))\n\n(defun fix-wraparound (start end columns)\n ;; If final character ended in the last column the point\n ;; will wrap around to the first column on the same line:\n ;; hence move down if so.\n (when (and (< start end) (zerop (find-col end columns)))\n (ti:tputs ti:cursor-down)))\n\n(defun place-point (&key up col)\n (loop repeat up do (ti:tputs ti:cursor-up))\n (ti:tputs ti:column-address col))\n\n(defun paren-style ()\n (concat\n (when *highlight-color*\n (ti:tparm\n ti:set-a-foreground\n (or (position *highlight-color* '(:black :red :green :yellow :blue :magenta :cyan :white))\n (error \"Unknown color: ~S\" *highlight-color*))))\n ti:enter-bold-mode))\n\n(defmethod display ((backend smart-terminal) &key prompt line point markup)\n (let* (;; SBCL and CMUCL traditionally point *terminal-io* to \/dev\/tty,\n ;; and we do output on it assuming it goes to STDOUT. Binding\n ;; *terminal-io* is unportable, so do it only when needed.\n #+(or sbcl cmu)\n (*terminal-io* *standard-output*)\n\t (columns (backend-columns backend))\n\t (old-markup (old-markup backend))\n\t (old-point (old-point backend))\n\t (old-col (find-col old-point columns))\n\t (old-row (find-row old-point columns))\n\t (old (old-string backend))\n\t (new (concat prompt line))\n\t (end (length new))\n\t (rows (find-row end columns)))\n (when (dirty-p backend)\n (setf old-markup 0\n\t old-point 0\n\t old-col 0\n\t old-row 1))\n (multiple-value-bind (marked-line markup)\n\t(if markup\n\t (dwim-mark-parens line point\n\t\t\t :pre-mark (paren-style)\n\t\t\t :post-mark ti:exit-attribute-mode)\n\t (values line point))\n\t(let* ((full (concat prompt marked-line))\n\t (point (+ point (length prompt)))\n\t (point-row (find-row point columns))\n\t (point-col (find-col point columns))\n\t (diff (mismatch new old))\n\t (start (min* old-point point markup old-markup diff end))\n\t (start-row (find-row start columns))\n\t (start-col (find-col start columns)))\n\t (dbg \"---~%\")\n\t (dbg-values (subseq new start))\n\t (dbg-values rows point point-row point-col start start-row start-col\n\t\t old-point old-row old-col end diff)\n\t (move-in-column\n\t :col start-col \n\t :vertical (- old-row start-row)\n\t :clear-to-eos t\n\t :current-col old-col)\n\t (write-string (subseq full start))\n\t (fix-wraparound start end columns)\n\t (move-in-column \n\t :col point-col\n\t :vertical (- rows point-row)\n\t :current-col (find-col end columns))\n\t ;; Save state\n\t (setf\t(old-string backend) new\n\t\t(old-markup backend) markup\n\t\t(old-point backend) point\n\t\t(dirty-p backend) nil)))\n (force-output *terminal-io*)))\n","avg_line_length":36.1942446043,"max_line_length":96,"alphanum_fraction":0.6700457166} +{"size":9191,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":";;;; Copyright (c) 2011-2017 Henry Harrington \n;;;; This code is licensed under the MIT license.\n\n(in-package :mezzano.compiler)\n\n(defvar *should-inline-functions* t)\n\n(defparameter *perform-tce* nil\n \"When true, attempt to eliminate tail calls.\")\n\n(defparameter *trace-asm* nil)\n\n(defvar *jump-table-size-min* 4)\n(defvar *jump-table-size-max* 64)\n\n(defvar *load-time-value-hook*)\n\n(defvar *optimize-restrictions* '())\n(defvar *optimize-policy* '(safety 3 debug 3 speed 1))\n\n(defparameter *the-checks-types* nil\n \"When true, THE forms will check types at SAFETY 3.\nCurrently disabled by default as it has a severe performance impact.\")\n\n(defun compiler-state-bindings ()\n (let ((symbols '(*should-inline-functions*\n *perform-tce*\n *trace-asm*\n *jump-table-size-min*\n *jump-table-size-max*\n *load-time-value-hook*\n *optimize-restrictions*\n *optimize-policy*\n *verify-special-stack*\n *constprop-lambda-copy-limit*\n *the-checks-types*)))\n (loop\n for sym in symbols\n collect (list sym (symbol-value sym)))))\n\n(defclass target () ())\n(defclass x86-64-target (target) ())\n(defclass arm64-target (target) ())\n\n(defun canonicalize-target (target)\n (when (typep target 'target)\n (return-from canonicalize-target\n target))\n (ecase (default-architecture target)\n (:x86-64 (make-instance 'x86-64-target))\n (:arm64 (make-instance 'arm64-target))))\n\n(defun default-architecture (architecture)\n (or architecture\n #+x86-64 :x86-64\n #+arm64 :arm64))\n\n(defun compile-lambda (lambda &optional env target-architecture)\n (let ((*print-readably* nil))\n (let ((target (canonicalize-target target-architecture)))\n (codegen-lambda (compile-lambda-1 lambda env target) target))))\n\n(defun compile-ast (ast &optional target-architecture)\n (let ((target (canonicalize-target target-architecture)))\n (codegen-lambda (compile-lambda-2 ast target) target)))\n\n(defun codegen-lambda (lambda &optional target-architecture)\n (mezzano.compiler.backend:compile-backend-function\n (mezzano.compiler.backend.ast-convert:convert lambda)\n (canonicalize-target target-architecture)))\n\n(defun compile-lambda-1 (lambda &optional env target-architecture)\n (let ((target (canonicalize-target target-architecture)))\n (compile-lambda-2 (pass1-lambda lambda env) target)))\n\n;; Parse lambda and optimize, but do not do codegen.\n(defun compile-lambda-2 (form &optional target-architecture)\n ;; Don't optimize at (compiliation-speed 3).\n (let ((run-optimizations (not (eql (optimize-quality form 'compilation-speed) 3)))\n (target (canonicalize-target target-architecture)))\n (when *the-checks-types*\n (setf form (insert-type-checks form target)))\n (when run-optimizations\n (setf form (run-optimizers form target)))\n (unless run-optimizations\n (setf form (lower-keyword-arguments form target)))\n ;; Lower complex lambda lists.\n (setf form (lower-arguments form))\n ;; Lower closed-over variables.\n (setf form (lower-environment form))\n (when run-optimizations\n ;; Run a final simplify pass to kill off any useless bindings.\n (setf form (simplify form target)))\n ;; Make the dynamic environment explicit.\n (setf form (lower-special-bindings form))\n (when run-optimizations\n (setf form (simplify form target)))\n ;; Lower the complicated DX list functions.\n (setf form (lower-dynamic-extent-list form))\n form))\n\n(defun eval-load-time-value (form read-only-p)\n (declare (ignore read-only-p))\n `(quote ,(eval form)))\n\n(defun compile (name &optional definition)\n (unless definition\n (setf definition (or (when (symbolp name) (macro-function name))\n (fdefinition name))))\n (when (functionp definition)\n (when (or (compiled-function-p definition)\n ;; ###: Should generic functions be compiled functions?\n (typep definition 'generic-function))\n (return-from compile\n (values definition nil nil)))\n (multiple-value-bind (lambda-expression env)\n (function-lambda-expression definition)\n (when (null lambda-expression)\n (error \"No source information available for ~S.\" definition))\n (when env\n (error \"TODO: cannot compile functions defined outside the null lexical environment.\"))\n (setf definition lambda-expression)))\n (multiple-value-bind (fn warnings-p errors-p)\n (let ((*load-time-value-hook* 'eval-load-time-value)\n (*gensym-counter* 0))\n (compile-lambda definition))\n (cond (name\n (if (and (symbolp name) (macro-function name))\n (setf (macro-function name) fn)\n (setf (fdefinition name) fn))\n (values name warnings-p errors-p))\n (t (values fn warnings-p errors-p)))))\n\n(defvar *current-lambda* nil\n \"A lambda-information struct for the lambda currently being translated.\")\n(defvar *change-count* nil\n \"Number of changes made by the optimizer passes.\")\n\n(defun change-made ()\n (when (and (boundp '*change-count*)\n *change-count*)\n (incf *change-count*)))\n\n(defun optimize-quality-1 (qualities quality)\n (max (getf *optimize-restrictions* quality 0)\n (or (getf qualities quality nil)\n (getf *optimize-policy* quality 0))))\n\n(defun optimize-quality (ast-node quality)\n (optimize-quality-1 (ast-optimize ast-node) quality))\n\n(defvar *max-optimizer-iterations* 20)\n\n(defvar *optimization-passes*\n ;; DX conversion should come early before variables get optimized away & declarations lost.\n '(convert-dynamic-extent\n ;; Inlining must be run before lifting.\n inline-functions\n lambda-lift\n ;; Key arg conversion must be performed after lambda-lifting, so as not to\n ;; complicate the lift code.\n lower-keyword-arguments\n constprop\n simplify\n kill-temporaries\n value-aware-lowering\n simplify-control-flow\n blexit\n apply-transforms))\n\n(defparameter *report-after-optimize-passes* nil)\n\n(defun run-optimizers (form target-architecture)\n (setf target-architecture (canonicalize-target target-architecture))\n (when *report-after-optimize-passes*\n (let ((*report-after-optimize-passes* nil))\n (format t \"Before optimizations:~%\")\n (write (unparse-compiler-form form) :pretty t)\n (terpri)))\n (dotimes (i *max-optimizer-iterations*\n (progn (warn 'sys.int::simple-style-warning\n :format-control \"Possible optimizer infinite loop.\"\n :format-arguments '())\n form))\n (let ((*change-count* 0))\n (dolist (pass *optimization-passes*)\n (setf form (funcall pass form target-architecture))\n (when *report-after-optimize-passes*\n (let ((*report-after-optimize-passes* nil))\n (format t \"After optimize pass ~S:~%\" pass)\n (write (unparse-compiler-form form) :pretty t)\n (terpri))))\n (when (eql *change-count* 0)\n (return form)))))\n\n(defun fixnump (object)\n (typep object '(signed-byte 63)))\n\n(defun error-program-error (format-control &rest format-arguments)\n (error 'sys.int::simple-program-error\n :format-control format-control\n :format-arguments format-arguments))\n\n;; A wrapper around SUBTYPEP that can be traced safely.\n(defun compiler-subtypep (type-1 type-2 &optional environment)\n (subtypep type-1 type-2 environment))\n\n(defun compiler-valid-subtypep (type-1 type-2 &optional environment)\n (multiple-value-bind (successp validp)\n (subtypep type-1 type-2 environment)\n (and successp validp)))\n\n(defun compiler-valid-not-subtypep (type-1 type-2 &optional environment)\n (multiple-value-bind (successp validp)\n (subtypep type-1 type-2 environment)\n (and (not successp) validp)))\n\n(defun compiler-type-equal-p (type-1 type-2 &optional environment)\n (multiple-value-bind (success-1-p valid-1-p)\n (compiler-subtypep type-1 type-2 environment)\n (multiple-value-bind (success-2-p valid-2-p)\n (compiler-subtypep type-2 type-1 environment)\n (values (and success-1-p success-2-p)\n (and valid-1-p valid-2-p)))))\n\n(defun compiler-valid-type-equal-p (type-1 type-2 &optional environment)\n (multiple-value-bind (successp validp)\n (compiler-type-equal-p type-1 type-2 environment)\n (and successp validp)))\n\n(defun compiler-valid-not-type-equal-p (type-1 type-2 &optional environment)\n (multiple-value-bind (successp validp)\n (compiler-type-equal-p type-1 type-2 environment)\n (and (not successp) validp)))\n\n(defun fixnum-to-raw (integer)\n (check-type integer (signed-byte 63))\n (ash integer sys.int::+n-fixnum-bits+))\n\n(defun character-to-raw (character)\n (check-type character character)\n (logior (ash (char-int character)\n (+ (byte-position sys.int::+immediate-tag+)\n (byte-size sys.int::+immediate-tag+)))\n (dpb sys.int::+immediate-tag-character+\n sys.int::+immediate-tag+\n 0)\n sys.int::+tag-immediate+))\n","avg_line_length":36.9116465863,"max_line_length":95,"alphanum_fraction":0.6616255032} +{"size":6452,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(defpackage :lem-lisp-mode.package-inferred-system\n (:use :cl :lem :lem-lisp-mode)\n (:import-from :trivial-types\n :property-list-p)\n (:import-from :alexandria\n :make-keyword\n :if-let\n :when-let\n :lastcar))\n(in-package :lem-lisp-mode.package-inferred-system)\n\n(defstruct project-root\n asd-file\n name\n pathname)\n\n(defun root-directory-p (directory)\n (uiop:pathname-equal (uiop:pathname-parent-directory-pathname directory)\n directory))\n\n(defun join-strings (delimitor strings)\n (with-output-to-string (out)\n (loop :for (string . rest) :on strings\n :do (write-string string out)\n (when rest (princ delimitor out)))))\n\n(defun empty-buffer-p (buffer)\n (point= (buffer-start-point buffer)\n (buffer-end-point buffer)))\n\n(defun list-asd-files (directory)\n (directory (make-pathname :name :wild\n :type \"asd\"\n :defaults directory)))\n\n(defun get-project-roots-from-asd-file (asd-file)\n (let ((asdf-package (find-package :asdf-user))\n (eof-value '#:eof-value))\n (labels ((read-form (stream)\n (let ((*package* asdf-package))\n (let ((form (handler-case (read stream nil eof-value)\n (reader-error ()\n (return-from get-project-roots-from-asd-file\n nil)))))\n (values form\n (not (eq form eof-value))))))\n (eof-value-p (value)\n (eq value eof-value)))\n (with-open-file (in asd-file)\n (loop :for form := (read-form in)\n :until (eof-value-p form)\n :when (and (consp form)\n (eq 'asdf:defsystem (first form))\n (property-list-p (cddr form))\n #+(or)(eq :package-inferred-system (getf (cddr form) :class)))\n :collect (destructuring-bind (&key pathname &allow-other-keys)\n (cddr form)\n (make-project-root\n :name (second form)\n :asd-file asd-file\n :pathname pathname)))))))\n\n(defun find-project-roots-from-working-directory (directory)\n (labels ((recursive (directory)\n (let ((asd-files (list-asd-files directory)))\n (cond (asd-files\n (loop :for asd-file :in asd-files\n :append (get-project-roots-from-asd-file asd-file)))\n ((not (root-directory-p directory))\n (recursive (uiop:pathname-parent-directory-pathname directory)))\n (t\n nil)))))\n (recursive (uiop:pathname-directory-pathname directory))))\n\n(defun infer-package-name-1 (project-root lisp-file)\n (labels ((infer (project-root lisp-file)\n ; (project-root-asd-file project-root) => #P\"\/common-lisp\/project-root\/project-root.asd\"\n ; lisp-file => #P\"\/common-lisp\/project-root\/tests\/a\/b.lisp\n (let ((dir1 (pathname-directory (project-root-asd-file project-root)))\n (dir2 (pathname-directory lisp-file)))\n (assert (eq :absolute (first dir1)))\n (assert (eq :absolute (first dir2)))\n (let ((mismatch (or (mismatch dir1 dir2 :test #'equal)\n (length dir1))))\n (unless (or (eql mismatch (length dir1))\n (null mismatch))\n (return-from infer nil))\n (if-let (pathname (project-root-pathname project-root))\n (let ((prefix-directory (pathname-directory (uiop:ensure-directory-pathname pathname))))\n ; prefix-directory => (:relative \"tests\")\n (when (eq :relative (first prefix-directory))\n (let* ((relative-lisp-file-directory (subseq dir2 mismatch))\n (mismatch2\n (or (mismatch relative-lisp-file-directory\n (rest prefix-directory)\n :test #'equal)\n (length (rest prefix-directory)))))\n ;; defsystem\u5185\u306b:pathname \"tests\"\u3068\u3042\u3063\u305f\u5834\u5408\u3001project-root\/tests\/a\/b\u306e\/a\/b\u3060\u3051\u3092\u6b8b\u3059\n (when (eql mismatch2 (length (rest prefix-directory)))\n (append (list (project-root-name project-root))\n (subseq relative-lisp-file-directory mismatch2)\n (list (pathname-name lisp-file)))))))\n (append (list (project-root-name project-root))\n (subseq dir2 mismatch)\n (list (pathname-name lisp-file))))))))\n (when-let (names (infer project-root lisp-file))\n (join-strings \"\/\" names))))\n\n(defun infer-package-name (lisp-file)\n (loop :for project-root :in (find-project-roots-from-working-directory lisp-file)\n :when (infer-package-name-1 project-root lisp-file)\n :return :it))\n\n(defun ensure-keyword (package-name)\n (etypecase package-name\n (string (make-keyword (string-upcase package-name)))\n (symbol (if (keywordp package-name)\n package-name\n (ensure-keyword (string package-name))))))\n\n(defun replace-buffer-text-to-defpackage (buffer package-name)\n (let ((package-name (ensure-keyword package-name)))\n (with-buffer-read-only buffer nil\n (erase-buffer buffer)\n (with-open-stream (stream (make-buffer-output-stream (buffer-point buffer) nil))\n (let ((*print-case* :downcase))\n (dolist (form (list `(defpackage ,package-name\n (:use :cl))\n `(in-package ,package-name)))\n (prin1 form stream)\n (terpri stream)))))))\n\n(defmethod lem::execute-find-file ((command lem::find-file-command)\n (mode (eql 'lisp-mode))\n pathname)\n (let ((buffer (call-next-method)))\n (when (empty-buffer-p buffer)\n (when-let (package-name (infer-package-name (buffer-filename buffer)))\n (replace-buffer-text-to-defpackage buffer package-name)))\n buffer))\n","avg_line_length":45.7588652482,"max_line_length":107,"alphanum_fraction":0.5190638562} +{"size":11106,"ext":"lisp","lang":"Common Lisp","max_stars_count":10.0,"content":";;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: UFFI -*-\n;;;; *************************************************************************\n;;;; FILE IDENTIFICATION\n;;;;\n;;;; Name: objects.lisp\n;;;; Purpose: UFFI source to handle objects and pointers\n;;;; Programmer: Kevin M. Rosenberg\n;;;; Date Started: Feb 2002\n;;;;\n;;;; $Id$\n;;;;\n;;;; This file, part of UFFI, is Copyright (c) 2002-2005 by Kevin M. Rosenberg\n;;;;\n;;;; *************************************************************************\n\n(in-package #:uffi)\n\n(eval-when (:compile-toplevel :load-toplevel :execute)\n (defun size-of-foreign-type (type)\n #+lispworks (fli:size-of type)\n #+allegro (ff:sizeof-fobject type)\n #+(or cmu scl) (ash (eval `(alien:alien-size ,type)) -3) ;; convert from bits to bytes\n #+sbcl (ash (eval `(sb-alien:alien-size ,type)) -3) ;; convert from bits to bytes\n #+clisp (values (ffi:size-of type))\n #+digitool\n (let ((mcl-type (ccl:find-mactype type nil t)))\n (if mcl-type\n (ccl::mactype-record-size mcl-type)\n (ccl::record-descriptor-length (ccl:find-record-descriptor type t t)))) ;error if not a record\n #+openmcl (ccl::%foreign-type-or-record-size type :bytes)\n ))\n\n(defmacro allocate-foreign-object (type &optional (size :unspecified))\n \"Allocates an instance of TYPE. If size is specified, then allocate\nan array of TYPE with size SIZE. The TYPE parameter is evaluated.\"\n (if (eq size :unspecified)\n (progn\n #+(or cmu scl)\n `(alien:make-alien ,(convert-from-uffi-type (eval type) :allocation))\n #+sbcl\n `(sb-alien:make-alien ,(convert-from-uffi-type (eval type) :allocation))\n #+lispworks\n `(fli:allocate-foreign-object :type ',(convert-from-uffi-type type :allocate))\n #+allegro\n `(ff:allocate-fobject ',(convert-from-uffi-type type :allocate) :c)\n #+(or openmcl digitool)\n `(new-ptr ,(size-of-foreign-type (convert-from-uffi-type type :allocation)))\n )\n (progn\n #+(or cmu scl)\n `(alien:make-alien ,(convert-from-uffi-type (eval type) :allocation) ,size)\n #+sbcl\n `(sb-alien:make-alien ,(convert-from-uffi-type (eval type) :allocation) ,size)\n #+lispworks\n `(fli:allocate-foreign-object :type ',(convert-from-uffi-type type :allocate) :nelems ,size)\n #+allegro\n `(ff:allocate-fobject (list :array (quote ,(convert-from-uffi-type type :allocate)) ,size) :c)\n #+(or openmcl digitool)\n `(new-ptr (* ,size ,(size-of-foreign-type (convert-from-uffi-type type :allocation))))\n )))\n\n(defmacro free-foreign-object (obj)\n #+(or cmu scl)\n `(alien:free-alien ,obj)\n #+sbcl\n `(sb-alien:free-alien ,obj)\n #+lispworks\n `(fli:free-foreign-object ,obj)\n #+allegro\n `(ff:free-fobject ,obj)\n #+(or openmcl digitool)\n `(dispose-ptr ,obj)\n )\n\n(defmacro null-pointer-p (obj)\n #+lispworks `(fli:null-pointer-p ,obj)\n #+allegro `(zerop ,obj)\n #+(or cmu scl) `(alien:null-alien ,obj)\n #+sbcl `(sb-alien:null-alien ,obj)\n #+(or openmcl digitool) `(ccl:%null-ptr-p ,obj)\n )\n\n(defmacro make-null-pointer (type)\n #+(or allegro openmcl digitool) (declare (ignore type))\n #+(or cmu scl) `(alien:sap-alien (system:int-sap 0) (* ,(convert-from-uffi-type (eval type) :type)))\n #+sbcl `(sb-alien:sap-alien (sb-sys:int-sap 0) (* ,(convert-from-uffi-type (eval type) :type)))\n #+lispworks `(fli:make-pointer :address 0 :type (quote ,(convert-from-uffi-type (eval type) :type)))\n #+allegro 0\n #+(or openmcl digitool) `(ccl:%null-ptr)\n )\n\n(defmacro make-pointer (addr type)\n #+(or allegro openmcl digitool) (declare (ignore type))\n #+(or cmu scl) `(alien:sap-alien (system:int-sap ,addr) (* ,(convert-from-uffi-type (eval type) :type)))\n #+sbcl `(sb-alien:sap-alien (sb-sys:int-sap ,addr) (* ,(convert-from-uffi-type (eval type) :type)))\n #+lispworks `(fli:make-pointer :address ,addr :type (quote ,(convert-from-uffi-type (eval type) :type)))\n #+allegro addr\n #+(or openmcl digitool) `(ccl:%int-to-ptr ,addr)\n )\n\n\n(defmacro char-array-to-pointer (obj)\n #+(or cmu scl) `(alien:cast ,obj (* (alien:unsigned 8)))\n #+sbcl `(sb-alien:cast ,obj (* (sb-alien:unsigned 8)))\n #+lispworks `(fli:make-pointer :type '(:unsigned :char)\n :address (fli:pointer-address ,obj))\n #+allegro obj\n #+(or openmcl digitool) obj\n )\n\n(defmacro deref-pointer (ptr type)\n \"Returns a object pointed\"\n #+(or cmu sbcl lispworks scl) (declare (ignore type))\n #+(or cmu scl) `(alien:deref ,ptr)\n #+sbcl `(sb-alien:deref ,ptr)\n #+lispworks `(fli:dereference ,ptr)\n #+allegro `(ff:fslot-value-typed (quote ,(convert-from-uffi-type type :deref)) :c ,ptr)\n #+(or openmcl digitool) `(ccl:pref ,ptr ,(convert-from-uffi-type type :deref))\n )\n\n#+digitool\n(defmacro deref-pointer-set (ptr type value)\n `(setf (ccl:pref ,ptr ,(convert-from-uffi-type type :deref)) ,value))\n\n#+digitool\n(defsetf deref-pointer deref-pointer-set)\n\n(defmacro ensure-char-character (obj)\n #+(or digitool) obj\n #+(or allegro cmu sbcl scl openmcl) `(code-char ,obj)\n ;; lispworks varies whether deref'ing array vs. slot access of a char\n #+lispworks `(if (characterp ,obj) ,obj (code-char ,obj)))\n\n(defmacro ensure-char-integer (obj)\n #+(or digitool) `(char-code ,obj)\n #+(or allegro cmu sbcl scl openmcl) obj\n ;; lispworks varies whether deref'ing array vs. slot access of a char\n #+lispworks\n `(if (integerp ,obj) ,obj (char-code ,obj)))\n\n(defmacro ensure-char-storable (obj)\n #+(or digitool (and lispworks (not lispworks5))) obj\n #+(or allegro cmu lispworks5 openmcl sbcl scl)\n `(char-code ,obj))\n\n(defmacro pointer-address (obj)\n #+(or cmu scl)\n `(system:sap-int (alien:alien-sap ,obj))\n #+sbcl\n `(sb-sys:sap-int (sb-alien:alien-sap ,obj))\n #+lispworks\n `(fli:pointer-address ,obj)\n #+allegro\n obj\n #+(or openmcl digitool)\n `(ccl:%ptr-to-int ,obj)\n )\n\n;; TYPE is evaluated.\n#-(or openmcl digitool)\n(defmacro with-foreign-object ((var type) &rest body)\n #-(or cmu sbcl lispworks scl) ; default version\n `(let ((,var (allocate-foreign-object ,type)))\n (unwind-protect\n (progn ,@body)\n (free-foreign-object ,var)))\n #+(or cmu scl)\n (let ((obj (gensym))\n (ctype (convert-from-uffi-type (eval type) :allocate)))\n (if (and (consp ctype) (eq 'array (car ctype)))\n `(alien:with-alien ((,obj ,ctype))\n (let* ((,var ,obj))\n ,@body))\n `(alien:with-alien ((,obj ,ctype))\n (let* ((,var (alien:addr ,obj)))\n ,@body))))\n #+sbcl\n (let ((obj (gensym))\n (ctype (convert-from-uffi-type (eval type) :allocate)))\n (if (and (consp ctype) (eq 'array (car ctype)))\n `(sb-alien:with-alien ((,obj ,ctype))\n (let* ((,var ,obj))\n ,@body))\n `(sb-alien:with-alien ((,obj ,ctype))\n (let* ((,var (sb-alien:addr ,obj)))\n ,@body))))\n #+lispworks\n `(fli:with-dynamic-foreign-objects ((,var ,(convert-from-uffi-type\n (eval type) :allocate)))\n ,@body)\n )\n\n#-(or openmcl digitool)\n(defmacro with-foreign-objects (bindings &rest body)\n (if bindings\n `(with-foreign-object ,(car bindings)\n (with-foreign-objects ,(cdr bindings)\n ,@body))\n `(progn ,@body)))\n\n#+(or openmcl digitool)\n(defmacro with-foreign-objects (bindings &rest body)\n (let ((params nil) type count)\n (dolist (spec (reverse bindings)) ;keep order - macroexpands to let*\n (setf type (convert-from-uffi-type (eval (nth 1 spec)) :allocate))\n (setf count 1)\n (when (and (listp type) (eq (first type) :array))\n (setf count (nth 2 type))\n (unless (integerp count) (error \"Invalid size for array: ~a\" type))\n (setf type (nth 1 type)))\n (push (list (first spec) (* count (size-of-foreign-type type))) params))\n `(ccl:%stack-block ,params ,@body)))\n\n#+(or openmcl digitool)\n(defmacro with-foreign-object ((var type) &rest body)\n `(with-foreign-objects ((,var ,type))\n ,@body))\n\n#+lispworks\n(defmacro with-cast-pointer ((binding-name pointer type) &body body)\n `(fli:with-coerced-pointer (,binding-name\n :type ',(convert-from-uffi-type (eval type) :type))\n ,pointer\n ,@body))\n\n#+(or cmu scl sbcl)\n(defmacro with-cast-pointer ((binding-name pointer type) &body body)\n `(let ((,binding-name\n (#+(or cmu scl) alien:cast\n #+sbcl sb-alien:cast\n ,pointer (* ,(convert-from-uffi-type (eval type) :type)))))\n ,@body))\n\n#+(or allegro openmcl)\n(defmacro with-cast-pointer ((binding-name pointer type) &body body)\n (declare (ignore type))\n `(let ((,binding-name ,pointer))\n ,@body))\n\n#-(or lispworks cmu scl sbcl allegro openmcl)\n(defmacro with-cast-pointer ((binding-name pointer type) &body body)\n (declare (ignore binding-name pointer type body))\n '(error \"WITH-CAST-POINTER not (yet) implemented for ~A\"\n (lisp-implementation-type)))\n\n#+(or allegro openmcl)\n(defun convert-external-name (name)\n \"Add an underscore to NAME if necessary for the ABI.\"\n #+(or macosx darwinppc-target) (concatenate 'string \"_\" name)\n #-(or macosx darwinppc-target) name)\n\n(defmacro def-foreign-var (names type module)\n #-lispworks (declare (ignore module))\n (let ((foreign-name (if (atom names) names (first names)))\n (lisp-name (if (atom names) (make-lisp-name names) (second names)))\n #-allegro\n (var-type (convert-from-uffi-type type :type)))\n #+(or cmu scl)\n `(alien:def-alien-variable (,foreign-name ,lisp-name) ,var-type)\n #+sbcl\n `(sb-alien:define-alien-variable (,foreign-name ,lisp-name) ,var-type)\n #+allegro\n `(define-symbol-macro ,lisp-name\n (ff:fslot-value-typed (quote ,(convert-from-uffi-type type :deref))\n :c (ff:get-entry-point ,(convert-external-name foreign-name))))\n #+lispworks\n `(progn\n (fli:define-foreign-variable (,lisp-name ,foreign-name)\n :accessor :address-of\n :type ,var-type\n :module ,module)\n (define-symbol-macro ,lisp-name (fli:dereference (,lisp-name)\n :copy-foreign-object nil)))\n #+openmcl\n `(define-symbol-macro ,lisp-name\n (deref-pointer (ccl:foreign-symbol-address\n ,(convert-external-name foreign-name)) ,var-type))\n #-(or allegro cmu scl sbcl lispworks openmcl)\n `(define-symbol-macro ,lisp-name\n '(error \"DEF-FOREIGN-VAR not (yet) defined for ~A\"\n (lisp-implementation-type)))))\n\n\n;;; Define a special variable, like DEFVAR, that will be initialized\n;;; to a pointer which may need to be reset when a saved image is\n;;; loaded. This is needed for OpenMCL, which sets pointers to \"dead\n;;; macptrs\" when a saved image is loaded.\n;; This may possibly be needed for sbcl's SAVE-LISP-AND-DIE\n(defmacro def-pointer-var (name value &optional doc)\n #-openmcl `(defvar ,name ,value ,@(if doc (list doc)))\n #+openmcl `(ccl::defloadvar ,name ,value ,doc))\n","avg_line_length":38.0342465753,"max_line_length":106,"alphanum_fraction":0.6089501171} +{"size":981,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":";;; -*- Mode: Lisp; common-lisp-style: poem -*-\n\n;;; Copyright (c) 2012 Matthias H\u00f6lzl\n;;;\n;;; This file is licensed under the MIT license; see the file LICENSE\n;;; in the root directory for further information.\n\n(in-package #:odysseus)\n#+debug-odysseus\n(declaim (optimize (debug 3) (space 1) (speed 0) (compilation-speed 0)))\n\n(defclass situation ()\n ()\n (:documentation\n \"The superclass of all situations.\"))\n\n(defclass initial-situation (situation)\n ()\n (:documentation\n \"The initial situation, i.e., the root of a tree of situations.\"))\n\n(defclass successor-situation (situation)\n ((action :accessor action :initarg :action\n\t :initform (required-argument :action))\n (previous-situation :accessor previous-situation\n\t\t :initarg :previous-situation\n\t\t :initform (required-argument :previous-situation)\n\t\t :type situation)))\n\n(defgeneric in-situation (term situation)\n (:documentation\n \"Replace the initial situation with SITUATION in TERM.\"))\n\t\n","avg_line_length":28.8529411765,"max_line_length":72,"alphanum_fraction":0.7003058104} +{"size":2318,"ext":"lisp","lang":"Common Lisp","max_stars_count":13.0,"content":";;; Copyright (c) 2006 Zachary Beane, All Rights Reserved\n;;;\n;;; Redistribution and use in source and binary forms, with or without\n;;; modification, are permitted provided that the following conditions\n;;; are met:\n;;;\n;;; * Redistributions of source code must retain the above copyright\n;;; notice, this list of conditions and the following disclaimer.\n;;;\n;;; * Redistributions in binary form must reproduce the above\n;;; copyright notice, this list of conditions and the following\n;;; disclaimer in the documentation and\/or other materials\n;;; provided with the distribution.\n;;;\n;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED\n;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\n;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n;;;\n;;; Loading data from the \"hhea\" table.\n;;;\n;;; https:\/\/docs.microsoft.com\/en-us\/typography\/opentype\/spec\/hhea\n;;; http:\/\/developer.apple.com\/fonts\/TTRefMan\/RM06\/Chap6hhea.html\n;;;\n;;; $Id: hhea.lisp,v 1.4 2006\/02\/18 23:13:43 xach Exp $\n\n(in-package #:zpb-ttf)\n\n(defmethod load-hhea-info ((font-loader font-loader))\n (seek-to-table \"hhea\" font-loader)\n (with-slots (input-stream ascender descender line-gap)\n font-loader\n (let ((version (read-fixed input-stream)))\n (check-version \"\\\"hhea\\\" table\" version #x00010000))\n (setf ascender (read-fword input-stream)\n descender (read-fword input-stream)\n line-gap (read-fword input-stream))))\n\n(defmethod horizontal-metrics-count ((font-loader font-loader))\n (seek-to-table \"hhea\" font-loader)\n (with-slots (input-stream) font-loader\n ;; Skip to the end, since all we care about is the last item\n (advance-file-position input-stream 34)\n (read-uint16 input-stream)))\n","avg_line_length":44.5769230769,"max_line_length":70,"alphanum_fraction":0.7174288179} +{"size":543,"ext":"lsp","lang":"Common Lisp","max_stars_count":305.0,"content":"(UBYTE11P)\n(BOOLEANP-OF-UBYTE11P)\n(UBYTE11P-FORWARD-UNSIGNED-BYTE-P)\n(UNSIGNED-BYTE-P-REWRITE-UBYTE11P)\n(NATP-WHEN-UBYTE11P)\n(UBYTE11-FIX)\n(UBYTE11P-OF-UBYTE11-FIX)\n(UBYTE11-FIX-WHEN-UBYTE11P)\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT)\n(UBYTE11-EQUIV$INLINE)\n(UBYTE11-EQUIV-IS-AN-EQUIVALENCE)\n(UBYTE11-EQUIV-IMPLIES-EQUAL-UBYTE11-FIX-1)\n(UBYTE11-FIX-UNDER-UBYTE11-EQUIV)\n(EQUAL-OF-UBYTE11-FIX-1-FORWARD-TO-UBYTE11-EQUIV)\n(EQUAL-OF-UBYTE11-FIX-2-FORWARD-TO-UBYTE11-EQUIV)\n(UBYTE11-EQUIV-OF-UBYTE11-FIX-1-FORWARD)\n(UBYTE11-EQUIV-OF-UBYTE11-FIX-2-FORWARD)\n","avg_line_length":30.1666666667,"max_line_length":49,"alphanum_fraction":0.7826887661} +{"size":229565,"ext":"lsp","lang":"Common Lisp","max_stars_count":null,"content":"(TMP-DEFTYPES-STRINGP-OF-STR-FIX$INLINE)\n(AIGNET::SNAPSHOT-CONFIG-P)\n(AIGNET::CONSP-WHEN-SNAPSHOT-CONFIG-P)\n(AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P)\n(AIGNET::SNAPSHOT-CONFIG-P-WHEN-WRONG-TAG)\n(AIGNET::SNAPSHOT-CONFIG-FIX$INLINE)\n(AIGNET::SNAPSHOT-CONFIG-P-OF-SNAPSHOT-CONFIG-FIX\n (4 4 (:REWRITE STR-FIX-WHEN-STRINGP))\n )\n(AIGNET::SNAPSHOT-CONFIG-FIX-WHEN-SNAPSHOT-CONFIG-P)\n(AIGNET::SNAPSHOT-CONFIG-FIX$INLINE)\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT)\n(AIGNET::SNAPSHOT-CONFIG-EQUIV$INLINE)\n(AIGNET::SNAPSHOT-CONFIG-EQUIV-IS-AN-EQUIVALENCE)\n(AIGNET::SNAPSHOT-CONFIG-EQUIV-IMPLIES-EQUAL-SNAPSHOT-CONFIG-FIX-1)\n(AIGNET::SNAPSHOT-CONFIG-FIX-UNDER-SNAPSHOT-CONFIG-EQUIV)\n(AIGNET::EQUAL-OF-SNAPSHOT-CONFIG-FIX-1-FORWARD-TO-SNAPSHOT-CONFIG-EQUIV)\n(AIGNET::EQUAL-OF-SNAPSHOT-CONFIG-FIX-2-FORWARD-TO-SNAPSHOT-CONFIG-EQUIV)\n(AIGNET::SNAPSHOT-CONFIG-EQUIV-OF-SNAPSHOT-CONFIG-FIX-1-FORWARD)\n(AIGNET::SNAPSHOT-CONFIG-EQUIV-OF-SNAPSHOT-CONFIG-FIX-2-FORWARD)\n(AIGNET::TAG-OF-SNAPSHOT-CONFIG-FIX)\n(AIGNET::SNAPSHOT-CONFIG->FILENAME$INLINE)\n(AIGNET::STRINGP-OF-SNAPSHOT-CONFIG->FILENAME)\n(AIGNET::SNAPSHOT-CONFIG->FILENAME$INLINE-OF-SNAPSHOT-CONFIG-FIX-X\n (9 3 (:REWRITE AIGNET::SNAPSHOT-CONFIG-FIX-WHEN-SNAPSHOT-CONFIG-P))\n (6 6 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (6 6 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-FIX$INLINE))\n )\n(AIGNET::SNAPSHOT-CONFIG->FILENAME$INLINE-SNAPSHOT-CONFIG-EQUIV-CONGRUENCE-ON-X)\n(AIGNET::SNAPSHOT-CONFIG)\n(AIGNET::SNAPSHOT-CONFIG-P-OF-SNAPSHOT-CONFIG)\n(AIGNET::SNAPSHOT-CONFIG->FILENAME-OF-SNAPSHOT-CONFIG\n (6 6 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG))\n )\n(AIGNET::SNAPSHOT-CONFIG-OF-FIELDS\n (3 1 (:REWRITE AIGNET::SNAPSHOT-CONFIG-FIX-WHEN-SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n )\n(AIGNET::SNAPSHOT-CONFIG-FIX-WHEN-SNAPSHOT-CONFIG\n (3 1 (:REWRITE AIGNET::SNAPSHOT-CONFIG-FIX-WHEN-SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n )\n(AIGNET::EQUAL-OF-SNAPSHOT-CONFIG)\n(AIGNET::SNAPSHOT-CONFIG-OF-STR-FIX-FILENAME)\n(AIGNET::SNAPSHOT-CONFIG-STREQV-CONGRUENCE-ON-FILENAME)\n(AIGNET::REMAKE-SNAPSHOT-CONFIG)\n(AIGNET::SNAPSHOT-CONFIG-FIX-REDEF)\n(AIGNET::TAG-OF-SNAPSHOT-CONFIG)\n(AIGNET::PRUNE-CONFIG-P)\n(AIGNET::CONSP-WHEN-PRUNE-CONFIG-P)\n(AIGNET::TAG-WHEN-PRUNE-CONFIG-P)\n(AIGNET::PRUNE-CONFIG-P-WHEN-WRONG-TAG)\n(AIGNET::PRUNE-CONFIG-FIX$INLINE)\n(AIGNET::PRUNE-CONFIG-P-OF-PRUNE-CONFIG-FIX\n (12 4 (:REWRITE AIGNET::GATESIMP-FIX-WHEN-GATESIMP-P))\n (8 8 (:TYPE-PRESCRIPTION AIGNET::GATESIMP-P))\n )\n(AIGNET::PRUNE-CONFIG-FIX-WHEN-PRUNE-CONFIG-P)\n(AIGNET::PRUNE-CONFIG-FIX$INLINE)\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT)\n(AIGNET::PRUNE-CONFIG-EQUIV$INLINE)\n(AIGNET::PRUNE-CONFIG-EQUIV-IS-AN-EQUIVALENCE)\n(AIGNET::PRUNE-CONFIG-EQUIV-IMPLIES-EQUAL-PRUNE-CONFIG-FIX-1)\n(AIGNET::PRUNE-CONFIG-FIX-UNDER-PRUNE-CONFIG-EQUIV)\n(AIGNET::EQUAL-OF-PRUNE-CONFIG-FIX-1-FORWARD-TO-PRUNE-CONFIG-EQUIV)\n(AIGNET::EQUAL-OF-PRUNE-CONFIG-FIX-2-FORWARD-TO-PRUNE-CONFIG-EQUIV)\n(AIGNET::PRUNE-CONFIG-EQUIV-OF-PRUNE-CONFIG-FIX-1-FORWARD)\n(AIGNET::PRUNE-CONFIG-EQUIV-OF-PRUNE-CONFIG-FIX-2-FORWARD)\n(AIGNET::TAG-OF-PRUNE-CONFIG-FIX)\n(AIGNET::PRUNE-CONFIG->GATESIMP$INLINE)\n(AIGNET::GATESIMP-P-OF-PRUNE-CONFIG->GATESIMP)\n(AIGNET::PRUNE-CONFIG->GATESIMP$INLINE-OF-PRUNE-CONFIG-FIX-X\n (9 3 (:REWRITE AIGNET::PRUNE-CONFIG-FIX-WHEN-PRUNE-CONFIG-P))\n (6 6 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n )\n(AIGNET::PRUNE-CONFIG->GATESIMP$INLINE-PRUNE-CONFIG-EQUIV-CONGRUENCE-ON-X)\n(AIGNET::PRUNE-CONFIG)\n(AIGNET::PRUNE-CONFIG-P-OF-PRUNE-CONFIG)\n(AIGNET::PRUNE-CONFIG->GATESIMP-OF-PRUNE-CONFIG)\n(AIGNET::PRUNE-CONFIG-OF-FIELDS\n (3 1 (:REWRITE AIGNET::PRUNE-CONFIG-FIX-WHEN-PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n )\n(AIGNET::PRUNE-CONFIG-FIX-WHEN-PRUNE-CONFIG\n (3 1 (:REWRITE AIGNET::PRUNE-CONFIG-FIX-WHEN-PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n )\n(AIGNET::EQUAL-OF-PRUNE-CONFIG)\n(AIGNET::PRUNE-CONFIG-OF-GATESIMP-FIX-GATESIMP)\n(AIGNET::PRUNE-CONFIG-GATESIMP-EQUIV-CONGRUENCE-ON-GATESIMP)\n(AIGNET::REMAKE-PRUNE-CONFIG)\n(AIGNET::PRUNE-CONFIG-FIX-REDEF)\n(AIGNET::TAG-OF-PRUNE-CONFIG)\n(AIGNET::PRUNE)\n(AIGNET::NUM-INS-OF-PRUNE\n (11 3 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (6 6 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (4 2 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (4 2 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n )\n(AIGNET::NUM-REGS-OF-PRUNE\n (11 3 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (6 6 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (4 2 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (4 2 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n )\n(AIGNET::NUM-OUTS-OF-PRUNE\n (11 3 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (6 6 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (4 2 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (4 2 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n )\n(AIGNET::PRUNE-COMB-EQUIVALENT)\n(AIGNET::NORMALIZE-INPUT-OF-PRUNE)\n(AIGNET::PRUNE!)\n(AIGNET::NUM-INS-OF-PRUNE!\n (11 3 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (6 6 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (4 2 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (4 2 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (3 3 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n )\n(AIGNET::NUM-REGS-OF-PRUNE!\n (11 3 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (6 6 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (4 2 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (4 2 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (3 3 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n )\n(AIGNET::NUM-OUTS-OF-PRUNE!\n (11 3 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (6 6 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (4 2 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (4 2 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (3 3 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (3 3 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (2 2 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n )\n(AIGNET::PRUNE!-COMB-EQUIVALENT)\n(AIGNET::COMB-TRANSFORM-P\n (20 20 (:REWRITE SUBSETP-MEMBER . 4))\n (20 20 (:REWRITE SUBSETP-MEMBER . 3))\n (20 20 (:REWRITE SUBSETP-MEMBER . 2))\n (20 20 (:REWRITE SUBSETP-MEMBER . 1))\n (20 20 (:REWRITE INTERSECTP-MEMBER . 3))\n (20 20 (:REWRITE INTERSECTP-MEMBER . 2))\n )\n(AIGNET::CONSP-WHEN-COMB-TRANSFORM-P)\n(AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P\n (30 2 (:REWRITE AIGNET::BALANCE-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P\n (30 2 (:REWRITE AIGNET::FRAIG-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P\n (30 2 (:REWRITE AIGNET::REWRITE-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P\n (30 2 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P\n (30 2 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P\n (30 2 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P\n (30 2 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P\n (30 2 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P\n (30 2 (:REWRITE AIGNET::PRUNE-CONFIG-P-WHEN-WRONG-TAG))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P\n (30 2 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P\n (30 2 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n )\n(AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P)\n(AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P)\n(AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P)\n(AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P)\n(AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P)\n(AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P)\n(AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P)\n(AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P)\n(AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P)\n(AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P)\n(AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P)\n(AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG\n (24 12 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (24 12 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (1 1 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n )\n(AIGNET::TAG-WHEN-COMB-TRANSFORM-P-FORWARD)\n(AIGNET::COMB-TRANSFORM-FIX$INLINE)\n(AIGNET::COMB-TRANSFORM-P-OF-COMB-TRANSFORM-FIX\n (234 3 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-FIX-WHEN-UNREACHABILITY-CONFIG-P))\n (228 3 (:REWRITE AIGNET::PRUNE-CONFIG-FIX-WHEN-PRUNE-CONFIG-P))\n (222 3 (:REWRITE AIGNET::SNAPSHOT-CONFIG-FIX-WHEN-SNAPSHOT-CONFIG-P))\n (216 3 (:REWRITE AIGNET::CONSTPROP-CONFIG-FIX-WHEN-CONSTPROP-CONFIG-P))\n (210 3 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-FIX-WHEN-OBSERVABILITY-CONFIG-P))\n (204 3 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-FIX-WHEN-OBS-CONSTPROP-CONFIG-P))\n (198 3 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-FIX-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (192 3 (:REWRITE AIGNET::REWRITE-CONFIG-FIX-WHEN-REWRITE-CONFIG-P))\n (186 3 (:REWRITE AIGNET::FRAIG-CONFIG-FIX-WHEN-FRAIG-CONFIG-P))\n (180 3 (:REWRITE AIGNET::BALANCE-CONFIG-FIX-WHEN-BALANCE-CONFIG-P))\n (156 78 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (152 76 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (152 76 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (148 74 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (148 74 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (144 72 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (140 70 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (136 68 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (136 68 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (132 66 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (128 64 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (124 62 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (120 60 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (116 58 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (102 51 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (102 51 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (102 51 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (102 51 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (102 51 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (102 51 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (102 51 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (102 51 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (102 51 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (102 51 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (102 51 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (96 3 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-FIX-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (76 76 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (74 74 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (68 68 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (29 1 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::REWRITE-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::PRUNE-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::FRAIG-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::BALANCE-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-WHEN-WRONG-TAG))\n )\n(AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P\n (26 2 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n )\n(AIGNET::COMB-TRANSFORM-FIX$INLINE\n (26 2 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (26 2 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (24 11 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (1 1 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n )\n(AIGNET::COMB-TRANSFORM-EQUIV$INLINE)\n(AIGNET::COMB-TRANSFORM-EQUIV-IS-AN-EQUIVALENCE)\n(AIGNET::COMB-TRANSFORM-EQUIV-IMPLIES-EQUAL-COMB-TRANSFORM-FIX-1)\n(AIGNET::COMB-TRANSFORM-FIX-UNDER-COMB-TRANSFORM-EQUIV)\n(AIGNET::EQUAL-OF-COMB-TRANSFORM-FIX-1-FORWARD-TO-COMB-TRANSFORM-EQUIV)\n(AIGNET::EQUAL-OF-COMB-TRANSFORM-FIX-2-FORWARD-TO-COMB-TRANSFORM-EQUIV)\n(AIGNET::COMB-TRANSFORM-EQUIV-OF-COMB-TRANSFORM-FIX-1-FORWARD)\n(AIGNET::COMB-TRANSFORM-EQUIV-OF-COMB-TRANSFORM-FIX-2-FORWARD)\n(AIGNET::TAG-OF-COMB-TRANSFORM-FIX-FORWARD)\n(AIGNET::COMB-TRANSFORMLIST-P)\n(STD::DEFLIST-LOCAL-BOOLEANP-ELEMENT-THM)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-CONS)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P)\n(AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP)\n(AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P)\n(AIGNET::TRUE-LISTP-WHEN-COMB-TRANSFORMLIST-P)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-LIST-FIX)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-SFIX)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-INSERT)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-DELETE)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-MERGESORT)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-UNION)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-INTERSECT-1)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-INTERSECT-2)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-DIFFERENCE)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-DUPLICATED-MEMBERS)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-REV)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-APPEND)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-RCONS)\n(AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P)\n(AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-SET-DIFFERENCE-EQUAL)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-INTERSECTION-EQUAL-1)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-INTERSECTION-EQUAL-2)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-UNION-EQUAL)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-TAKE)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-REPEAT)\n(AIGNET::COMB-TRANSFORM-P-OF-NTH-WHEN-COMB-TRANSFORMLIST-P)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-UPDATE-NTH)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-BUTLAST)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-NTHCDR)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-LAST)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-REMOVE)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-REVAPPEND)\n(AIGNET::COMB-TRANSFORMLIST-FIX$INLINE)\n(AIGNET::COMB-TRANSFORMLIST-P-OF-COMB-TRANSFORMLIST-FIX\n (30 1 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (22 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (18 10 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (15 1 (:DEFINITION AIGNET::COMB-TRANSFORMLIST-P))\n (12 6 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (9 5 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (8 8 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (4 4 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (2 2 (:REWRITE FTY::OPEN-MEMBER-EQUAL-ON-LIST-OF-TAGS))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P\n (32 4 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (28 24 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (13 3 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (9 6 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (2 2 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (1 1 (:REWRITE FTY::OPEN-MEMBER-EQUAL-ON-LIST-OF-TAGS))\n )\n(AIGNET::COMB-TRANSFORMLIST-FIX$INLINE\n (8 8 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::COMB-TRANSFORMLIST-EQUIV$INLINE)\n(AIGNET::COMB-TRANSFORMLIST-EQUIV-IS-AN-EQUIVALENCE)\n(AIGNET::COMB-TRANSFORMLIST-EQUIV-IMPLIES-EQUAL-COMB-TRANSFORMLIST-FIX-1)\n(AIGNET::COMB-TRANSFORMLIST-FIX-UNDER-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::EQUAL-OF-COMB-TRANSFORMLIST-FIX-1-FORWARD-TO-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::EQUAL-OF-COMB-TRANSFORMLIST-FIX-2-FORWARD-TO-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::COMB-TRANSFORMLIST-EQUIV-OF-COMB-TRANSFORMLIST-FIX-1-FORWARD)\n(AIGNET::COMB-TRANSFORMLIST-EQUIV-OF-COMB-TRANSFORMLIST-FIX-2-FORWARD)\n(AIGNET::CAR-OF-COMB-TRANSFORMLIST-FIX-X-UNDER-COMB-TRANSFORM-EQUIV\n (33 3 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (18 3 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (18 2 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (12 12 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (6 6 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (6 6 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (3 3 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-FIX$INLINE))\n )\n(AIGNET::CAR-COMB-TRANSFORMLIST-EQUIV-CONGRUENCE-ON-X-UNDER-COMB-TRANSFORM-EQUIV)\n(AIGNET::CDR-OF-COMB-TRANSFORMLIST-FIX-X-UNDER-COMB-TRANSFORMLIST-EQUIV\n (41 3 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (22 2 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (20 20 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (12 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::CDR-COMB-TRANSFORMLIST-EQUIV-CONGRUENCE-ON-X-UNDER-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::CONS-OF-COMB-TRANSFORM-FIX-X-UNDER-COMB-TRANSFORMLIST-EQUIV\n (34 4 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (17 2 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CONS))\n (10 10 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (8 8 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (6 6 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (5 5 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::CONS-COMB-TRANSFORM-EQUIV-CONGRUENCE-ON-X-UNDER-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::CONS-OF-COMB-TRANSFORMLIST-FIX-Y-UNDER-COMB-TRANSFORMLIST-EQUIV\n (20 2 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CONS))\n (8 8 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (8 8 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (8 8 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (6 2 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (5 4 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::CONS-COMB-TRANSFORMLIST-EQUIV-CONGRUENCE-ON-Y-UNDER-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::CONSP-OF-COMB-TRANSFORMLIST-FIX\n (18 2 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (11 1 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (8 8 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (8 8 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::COMB-TRANSFORMLIST-FIX-UNDER-IFF\n (18 2 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (11 1 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (8 8 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (8 8 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::COMB-TRANSFORMLIST-FIX-OF-CONS\n (21 3 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (9 1 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CONS))\n (6 6 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 2 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (3 3 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::LEN-OF-COMB-TRANSFORMLIST-FIX\n (35 4 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (14 14 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (12 2 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (11 1 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (7 7 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (6 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (1 1 (:REWRITE FTY::EQUAL-OF-LEN))\n )\n(AIGNET::COMB-TRANSFORMLIST-FIX-OF-APPEND\n (114 10 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (58 2 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-APPEND))\n (40 36 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (29 29 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (24 2 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-LIST-FIX))\n (22 16 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (14 4 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (12 12 (:TYPE-PRESCRIPTION TRUE-LIST-FIX))\n (12 2 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (6 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::COMB-TRANSFORMLIST-FIX-OF-REPEAT\n (20 2 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (16 4 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (12 2 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-REPEAT))\n (10 10 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (10 10 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (1 1 (:REWRITE-QUOTED-CONSTANT AIGNET::COMB-TRANSFORMLIST-FIX-UNDER-COMB-TRANSFORMLIST-EQUIV))\n )\n(AIGNET::LIST-EQUIV-REFINES-COMB-TRANSFORMLIST-EQUIV\n (146 14 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (112 8 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (88 18 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (72 72 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (72 8 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (70 70 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (36 36 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (16 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::NTH-OF-COMB-TRANSFORMLIST-FIX\n (329 17 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (171 16 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (126 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-NTH-WHEN-COMB-TRANSFORMLIST-P))\n (124 24 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (106 106 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (59 53 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (34 34 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (34 34 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (30 5 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (29 22 (:REWRITE DEFAULT-+-2))\n (28 28 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (24 18 (:REWRITE DEFAULT-CDR))\n (22 22 (:REWRITE DEFAULT-+-1))\n (21 7 (:REWRITE ZP-WHEN-GT-0))\n (20 16 (:REWRITE DEFAULT-<-2))\n (19 7 (:REWRITE ZP-WHEN-INTEGERP))\n (17 13 (:REWRITE AIGNET::CONSP-OF-COMB-TRANSFORMLIST-FIX))\n (16 16 (:REWRITE DEFAULT-<-1))\n (12 4 (:REWRITE FOLD-CONSTS-IN-+))\n (10 4 (:REWRITE DEFAULT-CAR))\n (8 8 (:REWRITE AIGNET::AIGNET-LEVELS-CORRECT-UP-TO-IMPLIES))\n (8 8 (:LINEAR STOBJS::RANGE-NAT-EQUIV-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR STOBJS::RANGE-EQUAL-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR AIGNET::RANGE-CUTINFO-EQUIV-UNDER-MASK-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR AIGNET::RANGE-CUTINFO-EQUIV-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR AIGNET::OUTPUT-RANGE-EQUIV-BADGUY-BOUND))\n (8 8 (:LINEAR LOWER-BOUND-OF-LEN-WHEN-SUBLISTP))\n (8 8 (:LINEAR LISTPOS-UPPER-BOUND-STRONG-2))\n (8 8 (:LINEAR LEN-WHEN-PREFIXP))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (4 4 (:REWRITE AIGNET::VALS-EQUIV-UNDER-MASKS-NECC))\n (4 4 (:REWRITE NTH-WHEN-PREFIXP))\n (4 4 (:REWRITE NFIX-WHEN-NOT-NATP))\n (4 4 (:LINEAR STOBJS::RANGE-NAT-EQUIV-MIN-MAX-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (4 4 (:LINEAR STOBJS::RANGE-EQUAL-MIN-MAX-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (4 4 (:LINEAR TRUTH::NPN4ARR-INDICES-BOUNDED-LINEAR))\n (4 4 (:LINEAR AIGNET::MIN-TOGGLING-LIT-BOUND-STRONG-LINEAR))\n (4 4 (:LINEAR LISTPOS-COMPLETE))\n (4 4 (:LINEAR INDEX-OF-<-LEN))\n (4 4 (:LINEAR AIGNET::FRAIG-CTREX-FIND-AGREEABLE-BOUND))\n (4 4 (:LINEAR AIGNET::CUTSDB-LEAVES-LIT-IDSP-BADGUY-RANGE))\n (4 4 (:LINEAR AIGNET::CUTS-CONSISTENT-BADGUY-UPPER-BOUND))\n (4 4 (:LINEAR AIGNET::CLASSES-HASH-FIND-BOUND))\n (3 3 (:REWRITE ZP-OPEN))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::COMB-TRANSFORM-FIX-UNDER-COMB-TRANSFORM-EQUIV))\n (2 2 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n )\n(AIGNET::COMB-TRANSFORMLIST-EQUIV-IMPLIES-COMB-TRANSFORMLIST-EQUIV-APPEND-1\n (269 32 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (205 17 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (128 128 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (126 126 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (120 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (117 22 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (64 64 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (34 34 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (34 34 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::COMB-TRANSFORMLIST-EQUIV-IMPLIES-COMB-TRANSFORMLIST-EQUIV-APPEND-2\n (393 46 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (322 26 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (204 39 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (192 26 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (190 190 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (189 189 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (95 95 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (52 52 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (52 52 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::CONSP-OF-COMB-TRANSFORMLIST-FIX))\n )\n(AIGNET::COMB-TRANSFORMLIST-EQUIV-IMPLIES-COMB-TRANSFORMLIST-EQUIV-NTHCDR-2\n (298 20 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (208 39 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (198 198 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (198 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (40 40 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (40 40 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::COMB-TRANSFORMLIST-EQUIV-IMPLIES-COMB-TRANSFORMLIST-EQUIV-TAKE-2\n (553 38 (:REWRITE AIGNET::COMB-TRANSFORMLIST-FIX-WHEN-COMB-TRANSFORMLIST-P))\n (432 28 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (304 51 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-CDR-WHEN-COMB-TRANSFORMLIST-P))\n (296 26 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-CAR-WHEN-COMB-TRANSFORMLIST-P))\n (236 236 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORMLIST-P))\n (236 236 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (229 24 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-OF-TAKE))\n (136 118 (:REWRITE AIGNET::COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (66 66 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (66 66 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (18 18 (:TYPE-PRESCRIPTION NFIX))\n (12 12 (:TYPE-PRESCRIPTION LEN))\n (6 6 (:REWRITE-QUOTED-CONSTANT AIGNET::COMB-TRANSFORMLIST-FIX-UNDER-COMB-TRANSFORMLIST-EQUIV))\n )\n(AIGNET::COMB-TRANSFORM->NAME)\n(AIGNET::STRINGP-OF-COMB-TRANSFORM->NAME)\n(AIGNET::APPLY-COMB-TRANSFORM-DEFAULT\n (32 32 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (24 8 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (20 12 (:REWRITE DEFAULT-<-2))\n (16 12 (:REWRITE DEFAULT-<-1))\n (12 4 (:REWRITE STATE-P-IMPLIES-AND-FORWARD-TO-STATE-P1))\n (12 4 (:REWRITE AIGNET::NODE-LISTP-WHEN-NOT-CONSP))\n (12 4 (:REWRITE AIGNET::FANIN-COUNT-OF-ATOM))\n (8 8 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (8 8 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (8 8 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (8 8 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (4 4 (:REWRITE AIGNET::AIGNET-NODES-OK-OF-SUFFIX-INVERSE))\n (4 4 (:REWRITE AIGNET::AIGNET-NODES-OK-OF-EXTENSION))\n (4 4 (:LINEAR AIGNET::FANIN-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (4 4 (:LINEAR AIGNET::FANIN-COUNT-WHEN-AIGNET-EXTENSION))\n (4 4 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-FANIN-COUNT-GTE))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (2 2 (:LINEAR AIGNET::FIND-NON-SPACE-LESS-THAN-LENGTH))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n )\n(AIGNET::NORMALIZE-INPUTS-OF-APPLY-COMB-TRANSFORM-DEFAULT\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (8 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (2 2 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n )\n(AIGNET::NUM-INS-OF-APPLY-COMB-TRANSFORM-DEFAULT\n (132 36 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (72 72 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (50 24 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (48 24 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (48 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (36 36 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (36 36 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (34 34 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (26 26 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (24 24 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (13 12 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (12 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (12 12 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (5 5 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::NUM-REGS-OF-APPLY-COMB-TRANSFORM-DEFAULT\n (132 36 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (72 72 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (50 24 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (48 24 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (48 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (36 36 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (36 36 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (34 34 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (26 26 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (24 24 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (13 12 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (12 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (12 12 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (5 5 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::NUM-OUTS-OF-APPLY-COMB-TRANSFORM-DEFAULT\n (132 36 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (72 72 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (50 24 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (48 24 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (48 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (36 36 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (36 36 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (34 34 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (26 26 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (24 24 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (13 12 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (12 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (12 12 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (5 5 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::APPLY-COMB-TRANSFORM-DEFAULT-COMB-EQUIVALENT\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (48 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (24 24 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (13 12 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (12 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (12 12 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (5 5 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::W-STATE-OF-APPLY-COMB-TRANSFORM-DEFAULT\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (49 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (48 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (24 24 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (24 24 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (13 12 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (13 12 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (12 12 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (12 12 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (1 1 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (1 1 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (1 1 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::LIST-OF-OUTPUTS-OF-APPLY-COMB-TRANSFORM-DEFAULT\n (50 50 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (25 25 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (7 7 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (3 3 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (3 3 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (3 3 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-P\n (14 14 (:REWRITE SUBSETP-MEMBER . 4))\n (14 14 (:REWRITE SUBSETP-MEMBER . 3))\n (14 14 (:REWRITE SUBSETP-MEMBER . 2))\n (14 14 (:REWRITE SUBSETP-MEMBER . 1))\n (14 14 (:REWRITE INTERSECTP-MEMBER . 3))\n (14 14 (:REWRITE INTERSECTP-MEMBER . 2))\n )\n(AIGNET::CONSP-WHEN-N-OUTPUT-COMB-TRANSFORM-P)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P\n (29 1 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (1 1 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-WHEN-WRONG-TAG))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P\n (30 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P\n (30 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P)\n(AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P)\n(AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG\n (28 14 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (1 1 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n )\n(AIGNET::TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P-FORWARD)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX$INLINE)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-N-OUTPUT-COMB-TRANSFORM-FIX\n (1274 24 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (348 12 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-WHEN-WRONG-TAG))\n (280 140 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (280 140 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (276 138 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (276 138 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (272 136 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (272 136 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (272 136 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (272 136 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (272 136 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (272 136 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (272 136 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (272 136 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (272 136 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (272 136 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (168 3 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-FIX-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (140 140 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (140 140 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (138 138 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (136 136 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (136 136 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (136 136 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (136 136 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (136 136 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (136 136 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (136 136 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (136 136 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (136 136 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (96 3 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-FIX-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (84 42 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (84 42 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (84 42 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (12 12 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P\n (10 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (10 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (8 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (8 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (8 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX$INLINE\n (10 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (10 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (8 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (8 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (8 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT\n (4 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-EQUIV$INLINE)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-EQUIV-IS-AN-EQUIVALENCE)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-EQUIV-IMPLIES-EQUAL-N-OUTPUT-COMB-TRANSFORM-FIX-1)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-UNDER-N-OUTPUT-COMB-TRANSFORM-EQUIV)\n(AIGNET::EQUAL-OF-N-OUTPUT-COMB-TRANSFORM-FIX-1-FORWARD-TO-N-OUTPUT-COMB-TRANSFORM-EQUIV)\n(AIGNET::EQUAL-OF-N-OUTPUT-COMB-TRANSFORM-FIX-2-FORWARD-TO-N-OUTPUT-COMB-TRANSFORM-EQUIV)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-EQUIV-OF-N-OUTPUT-COMB-TRANSFORM-FIX-1-FORWARD)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-EQUIV-OF-N-OUTPUT-COMB-TRANSFORM-FIX-2-FORWARD)\n(AIGNET::TAG-OF-N-OUTPUT-COMB-TRANSFORM-FIX-FORWARD)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P)\n(STD::DEFLIST-LOCAL-BOOLEANP-ELEMENT-THM)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CONS)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P)\n(AIGNET::TRUE-LISTP-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-LIST-FIX)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-SFIX)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-INSERT)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-DELETE)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-MERGESORT)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-UNION)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-INTERSECT-1)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-INTERSECT-2)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-DIFFERENCE)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-DUPLICATED-MEMBERS)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-REV)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-APPEND)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-RCONS)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-SET-DIFFERENCE-EQUAL)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-INTERSECTION-EQUAL-1)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-INTERSECTION-EQUAL-2)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-UNION-EQUAL)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-TAKE)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-REPEAT)\n(AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-NTH-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-UPDATE-NTH)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-BUTLAST)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-NTHCDR)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-LAST)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-REMOVE)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-REVAPPEND)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX$INLINE)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX\n (30 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (22 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (18 10 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (15 1 (:DEFINITION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (12 6 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (9 5 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (8 8 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (4 4 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (2 2 (:REWRITE FTY::OPEN-MEMBER-EQUAL-ON-LIST-OF-TAGS))\n (2 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P\n (32 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (28 24 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (13 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (9 6 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (2 2 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (1 1 (:REWRITE FTY::OPEN-MEMBER-EQUAL-ON-LIST-OF-TAGS))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX$INLINE\n (8 8 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (2 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT\n (2 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (1 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-EQUIV$INLINE)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IS-AN-EQUIVALENCE)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IMPLIES-EQUAL-N-OUTPUT-COMB-TRANSFORMLIST-FIX-1)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-UNDER-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX-1-FORWARD-TO-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX-2-FORWARD-TO-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX-1-FORWARD)\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX-2-FORWARD)\n(AIGNET::CAR-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX-X-UNDER-N-OUTPUT-COMB-TRANSFORM-EQUIV\n (33 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (18 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (18 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (12 12 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (6 6 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (6 6 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (3 3 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX$INLINE))\n )\n(AIGNET::CAR-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-CONGRUENCE-ON-X-UNDER-N-OUTPUT-COMB-TRANSFORM-EQUIV)\n(AIGNET::CDR-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX-X-UNDER-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV\n (41 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (22 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (20 20 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (12 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::CDR-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-CONGRUENCE-ON-X-UNDER-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::CONS-OF-N-OUTPUT-COMB-TRANSFORM-FIX-X-UNDER-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV\n (34 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (17 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CONS))\n (10 10 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (8 8 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 6 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (5 5 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::CONS-N-OUTPUT-COMB-TRANSFORM-EQUIV-CONGRUENCE-ON-X-UNDER-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::CONS-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX-Y-UNDER-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV\n (20 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CONS))\n (8 8 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (8 8 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (8 8 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (5 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::CONS-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-CONGRUENCE-ON-Y-UNDER-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::CONSP-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX\n (18 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (11 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (8 8 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (8 8 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-UNDER-IFF\n (18 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (11 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (8 8 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (8 8 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-OF-CONS\n (21 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (9 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CONS))\n (6 6 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (3 3 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::LEN-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX\n (35 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (14 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (12 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (11 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (7 7 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (6 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (1 1 (:REWRITE FTY::EQUAL-OF-LEN))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-OF-APPEND\n (114 10 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (58 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-APPEND))\n (40 36 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (29 29 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (24 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-LIST-FIX))\n (22 16 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (14 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (12 12 (:TYPE-PRESCRIPTION TRUE-LIST-FIX))\n (12 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (6 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-OF-REPEAT\n (20 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (16 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (12 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-REPEAT))\n (10 10 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (10 10 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (1 1 (:REWRITE-QUOTED-CONSTANT AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-UNDER-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV))\n )\n(AIGNET::LIST-EQUIV-REFINES-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV\n (146 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (112 8 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (88 18 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (72 72 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (72 8 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (70 70 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (36 36 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (16 16 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::NTH-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX\n (317 17 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (171 16 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (126 12 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-NTH-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (124 24 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (106 106 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (60 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (59 53 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (34 34 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (34 34 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (30 5 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (29 22 (:REWRITE DEFAULT-+-2))\n (28 28 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (24 18 (:REWRITE DEFAULT-CDR))\n (22 22 (:REWRITE DEFAULT-+-1))\n (21 7 (:REWRITE ZP-WHEN-GT-0))\n (20 16 (:REWRITE DEFAULT-<-2))\n (19 7 (:REWRITE ZP-WHEN-INTEGERP))\n (17 13 (:REWRITE AIGNET::CONSP-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX))\n (16 16 (:REWRITE DEFAULT-<-1))\n (12 4 (:REWRITE FOLD-CONSTS-IN-+))\n (10 4 (:REWRITE DEFAULT-CAR))\n (8 8 (:REWRITE AIGNET::AIGNET-LEVELS-CORRECT-UP-TO-IMPLIES))\n (8 8 (:LINEAR STOBJS::RANGE-NAT-EQUIV-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR STOBJS::RANGE-EQUAL-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR AIGNET::RANGE-CUTINFO-EQUIV-UNDER-MASK-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR AIGNET::RANGE-CUTINFO-EQUIV-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR AIGNET::OUTPUT-RANGE-EQUIV-BADGUY-BOUND))\n (8 8 (:LINEAR LOWER-BOUND-OF-LEN-WHEN-SUBLISTP))\n (8 8 (:LINEAR LISTPOS-UPPER-BOUND-STRONG-2))\n (8 8 (:LINEAR LEN-WHEN-PREFIXP))\n (8 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (8 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::VALS-EQUIV-UNDER-MASKS-NECC))\n (4 4 (:REWRITE NTH-WHEN-PREFIXP))\n (4 4 (:REWRITE NFIX-WHEN-NOT-NATP))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (4 4 (:LINEAR STOBJS::RANGE-NAT-EQUIV-MIN-MAX-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (4 4 (:LINEAR STOBJS::RANGE-EQUAL-MIN-MAX-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (4 4 (:LINEAR TRUTH::NPN4ARR-INDICES-BOUNDED-LINEAR))\n (4 4 (:LINEAR AIGNET::MIN-TOGGLING-LIT-BOUND-STRONG-LINEAR))\n (4 4 (:LINEAR LISTPOS-COMPLETE))\n (4 4 (:LINEAR INDEX-OF-<-LEN))\n (4 4 (:LINEAR AIGNET::FRAIG-CTREX-FIND-AGREEABLE-BOUND))\n (4 4 (:LINEAR AIGNET::CUTSDB-LEAVES-LIT-IDSP-BADGUY-RANGE))\n (4 4 (:LINEAR AIGNET::CUTS-CONSISTENT-BADGUY-UPPER-BOUND))\n (4 4 (:LINEAR AIGNET::CLASSES-HASH-FIND-BOUND))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-NTH-WHEN-COMB-TRANSFORMLIST-P))\n (3 3 (:REWRITE ZP-OPEN))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-UNDER-N-OUTPUT-COMB-TRANSFORM-EQUIV))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IMPLIES-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-APPEND-1\n (269 32 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (205 17 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (128 128 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (126 126 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (120 17 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (117 22 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (64 64 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (34 34 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (34 34 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IMPLIES-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-APPEND-2\n (393 46 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (322 26 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (204 39 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (192 26 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (190 190 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (189 189 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (95 95 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (52 52 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (52 52 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::CONSP-OF-N-OUTPUT-COMB-TRANSFORMLIST-FIX))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IMPLIES-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-NTHCDR-2\n (298 20 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (208 39 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (198 198 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (198 20 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (40 40 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (40 40 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IMPLIES-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-TAKE-2\n (553 38 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (432 28 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (304 51 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (296 26 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (236 236 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P))\n (236 236 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (229 24 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-OF-TAKE))\n (136 118 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (66 66 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (66 66 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (18 18 (:TYPE-PRESCRIPTION NFIX))\n (12 12 (:TYPE-PRESCRIPTION LEN))\n (6 6 (:REWRITE-QUOTED-CONSTANT AIGNET::N-OUTPUT-COMB-TRANSFORMLIST-FIX-UNDER-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV))\n )\n(AIGNET::N-OUTPUT-COMB-TRANSFORM->NAME\n (74 74 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (28 28 (:REWRITE SUBSETP-MEMBER . 4))\n (28 28 (:REWRITE SUBSETP-MEMBER . 3))\n (28 28 (:REWRITE SUBSETP-MEMBER . 2))\n (28 28 (:REWRITE SUBSETP-MEMBER . 1))\n (28 28 (:REWRITE INTERSECTP-MEMBER . 3))\n (28 28 (:REWRITE INTERSECTP-MEMBER . 2))\n (14 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (1 1 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n )\n(AIGNET::STRINGP-OF-N-OUTPUT-COMB-TRANSFORM->NAME)\n(AIGNET::APPLY-N-OUTPUT-COMB-TRANSFORM-DEFAULT\n (40 40 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (36 12 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (27 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (26 18 (:REWRITE DEFAULT-<-2))\n (26 18 (:REWRITE DEFAULT-<-1))\n (12 12 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (12 4 (:REWRITE STATE-P-IMPLIES-AND-FORWARD-TO-STATE-P1))\n (12 4 (:REWRITE AIGNET::NODE-LISTP-WHEN-NOT-CONSP))\n (12 4 (:REWRITE AIGNET::FANIN-COUNT-OF-ATOM))\n (8 8 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (8 8 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (8 8 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (6 2 (:REWRITE NATP-WHEN-GTE-0))\n (4 4 (:REWRITE AIGNET::AIGNET-NODES-OK-OF-SUFFIX-INVERSE))\n (4 4 (:REWRITE AIGNET::AIGNET-NODES-OK-OF-EXTENSION))\n (4 4 (:LINEAR AIGNET::FANIN-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (4 4 (:LINEAR AIGNET::FANIN-COUNT-WHEN-AIGNET-EXTENSION))\n (4 4 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-FANIN-COUNT-GTE))\n (4 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:REWRITE NATP-WHEN-INTEGERP))\n (2 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (2 2 (:LINEAR AIGNET::FIND-NON-SPACE-LESS-THAN-LENGTH))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (1 1 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n )\n(AIGNET::NORMALIZE-INPUTS-OF-APPLY-N-OUTPUT-COMB-TRANSFORM-DEFAULT\n (56 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (8 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (8 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n )\n(AIGNET::NUM-INS-OF-APPLY-N-OUTPUT-COMB-TRANSFORM-DEFAULT\n (402 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (154 42 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (84 84 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (58 28 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (57 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (57 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (56 28 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (40 40 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (30 30 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (28 28 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (28 28 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (14 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (6 6 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::NUM-REGS-OF-APPLY-N-OUTPUT-COMB-TRANSFORM-DEFAULT\n (402 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (154 42 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (84 84 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (58 28 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (57 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (57 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (56 28 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (40 40 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (30 30 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (28 28 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (28 28 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (14 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (6 6 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::NUM-OUTS-OF-APPLY-N-OUTPUT-COMB-TRANSFORM-DEFAULT\n (402 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (154 42 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (84 84 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (58 28 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (57 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (57 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (56 28 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (40 40 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (30 30 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (28 28 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (28 28 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (14 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (6 6 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::APPLY-N-OUTPUT-COMB-TRANSFORM-DEFAULT-OUTPUTS-EQUIVALENT\n (672 28 (:REWRITE AIGNET::OUTPUT-EVAL-OUT-OF-BOUNDS))\n (430 15 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (304 52 (:REWRITE NFIX-WHEN-NATP))\n (220 52 (:REWRITE NFIX-WHEN-NOT-NATP))\n (168 168 (:TYPE-PRESCRIPTION NATP))\n (168 84 (:REWRITE NATP-WHEN-GTE-0))\n (118 80 (:REWRITE DEFAULT-<-2))\n (118 80 (:REWRITE DEFAULT-<-1))\n (84 84 (:REWRITE NATP-WHEN-INTEGERP))\n (68 28 (:REWRITE AIGNET::OUTPUT-EVAL-OF-EXTENSION))\n (61 15 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (61 15 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (52 24 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (38 38 (:REWRITE INEQUALITY-WITH-NFIX-HYP-2))\n (34 34 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (30 30 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (30 30 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (30 30 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (30 30 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (30 30 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (30 30 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (30 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (30 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (30 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (30 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (30 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (30 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (30 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (30 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (30 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (30 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (30 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (28 28 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (25 15 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (24 24 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (24 24 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (24 24 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (20 10 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (16 15 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (16 15 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (15 15 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (14 14 (:REWRITE INEQUALITY-WITH-NFIX-HYP-1))\n (8 8 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (5 1 (:REWRITE AIGNET::STYPE-COUNTS-OF-UNREACHABILITY))\n (5 1 (:REWRITE AIGNET::STYPE-COUNTS-OF-REWRITE))\n (5 1 (:REWRITE AIGNET::STYPE-COUNTS-OF-DOM-SUPERGATES-SWEEP))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-PRUNE))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-OBSERVABILITY-FIX))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-OBS-CONSTPROP))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-FRAIG))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-CONSTPROP))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-BALANCE))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-ABC-COMB-SIMPLIFY))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::W-STATE-OF-APPLY-N-OUTPUT-COMB-TRANSFORM-DEFAULT\n (402 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (57 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (57 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (28 28 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (28 28 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (14 14 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (1 1 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (1 1 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (1 1 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (1 1 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (1 1 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::LIST-OF-OUTPUTS-OF-APPLY-N-OUTPUT-COMB-TRANSFORM-DEFAULT\n (58 58 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (32 32 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (29 29 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (8 8 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (3 3 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (3 3 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (3 3 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (3 3 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (3 3 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P\n (16 16 (:REWRITE SUBSETP-MEMBER . 4))\n (16 16 (:REWRITE SUBSETP-MEMBER . 3))\n (16 16 (:REWRITE SUBSETP-MEMBER . 2))\n (16 16 (:REWRITE SUBSETP-MEMBER . 1))\n (16 16 (:REWRITE INTERSECTP-MEMBER . 3))\n (16 16 (:REWRITE INTERSECTP-MEMBER . 2))\n )\n(AIGNET::CONSP-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P\n (312 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (29 1 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (26 13 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (6 6 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (3 1 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (3 1 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (1 1 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-WHEN-WRONG-TAG))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P\n (32 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (30 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (6 3 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (6 3 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (6 3 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (6 3 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (3 3 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (3 3 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (3 3 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P\n (32 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (30 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-WHEN-WRONG-TAG))\n (6 3 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (6 3 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (3 3 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (3 3 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P\n (30 2 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n )\n(AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P)\n(AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P)\n(AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P)\n(AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG\n (30 15 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (30 15 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (15 15 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (1 1 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n )\n(AIGNET::TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-FORWARD)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX$INLINE)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX\n (1979 24 (:REWRITE AIGNET::COMB-TRANSFORM-FIX-WHEN-COMB-TRANSFORM-P))\n (1012 38 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (382 191 (:REWRITE AIGNET::TAG-WHEN-SNAPSHOT-CONFIG-P))\n (382 191 (:REWRITE AIGNET::TAG-WHEN-PRUNE-CONFIG-P))\n (378 189 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (378 189 (:REWRITE AIGNET::TAG-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (374 187 (:REWRITE AIGNET::TAG-WHEN-UNREACHABILITY-CONFIG-P))\n (374 187 (:REWRITE AIGNET::TAG-WHEN-OBS-CONSTPROP-CONFIG-P))\n (374 187 (:REWRITE AIGNET::TAG-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (374 187 (:REWRITE AIGNET::TAG-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (370 185 (:REWRITE AIGNET::TAG-WHEN-REWRITE-CONFIG-P))\n (370 185 (:REWRITE AIGNET::TAG-WHEN-OBSERVABILITY-CONFIG-P))\n (370 185 (:REWRITE AIGNET::TAG-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (370 185 (:REWRITE AIGNET::TAG-WHEN-FRAIG-CONFIG-P))\n (370 185 (:REWRITE AIGNET::TAG-WHEN-CONSTPROP-CONFIG-P))\n (370 185 (:REWRITE AIGNET::TAG-WHEN-BALANCE-CONFIG-P))\n (348 12 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (195 3 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-FIX-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (191 191 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (191 191 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (189 189 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (189 3 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-FIX-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (187 187 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (187 187 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (187 187 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (185 185 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (185 185 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (185 185 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (185 185 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (185 185 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (138 138 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (116 58 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (116 58 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (116 58 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (116 58 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (96 3 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-FIX-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (74 30 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (74 30 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (12 12 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-WHEN-WRONG-TAG))\n (12 12 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-WHEN-WRONG-TAG))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P\n (12 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (12 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (12 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (10 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (10 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (10 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (10 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX$INLINE\n (12 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (12 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (12 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (10 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (10 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (10 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (10 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT\n (4 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV$INLINE)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV-IS-AN-EQUIVALENCE)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV-IMPLIES-EQUAL-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-1)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV)\n(AIGNET::EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-1-FORWARD-TO-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV)\n(AIGNET::EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-2-FORWARD-TO-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-1-FORWARD)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-2-FORWARD)\n(AIGNET::TAG-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-FORWARD)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P)\n(STD::DEFLIST-LOCAL-BOOLEANP-ELEMENT-THM)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CONS)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P)\n(AIGNET::TRUE-LISTP-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-LIST-FIX)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-SFIX)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-INSERT)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-DELETE)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-MERGESORT)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-UNION)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-INTERSECT-1)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-INTERSECT-2)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-DIFFERENCE)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-DUPLICATED-MEMBERS)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-REV)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-APPEND)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-RCONS)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-SET-DIFFERENCE-EQUAL)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-INTERSECTION-EQUAL-1)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-INTERSECTION-EQUAL-2)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-UNION-EQUAL)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-TAKE)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-REPEAT)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-NTH-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-UPDATE-NTH)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-BUTLAST)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-NTHCDR)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-LAST)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-REMOVE)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-REVAPPEND)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX$INLINE)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX\n (30 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (22 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (18 10 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (15 1 (:DEFINITION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (12 6 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (9 5 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (8 8 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (4 4 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE FTY::OPEN-MEMBER-EQUAL-ON-LIST-OF-TAGS))\n (2 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P\n (32 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (28 24 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (13 3 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (9 6 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (2 2 (:TYPE-PRESCRIPTION MEMBER-EQUAL))\n (1 1 (:REWRITE FTY::OPEN-MEMBER-EQUAL-ON-LIST-OF-TAGS))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX$INLINE\n (8 8 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (2 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(FTY::TMP-DEFFIXTYPE-IDEMPOTENT\n (2 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (1 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV$INLINE)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IS-AN-EQUIVALENCE)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IMPLIES-EQUAL-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-1)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-1-FORWARD-TO-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-2-FORWARD-TO-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-1-FORWARD)\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-2-FORWARD)\n(AIGNET::CAR-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-X-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV\n (33 3 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (18 3 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (18 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (12 12 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 6 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (6 6 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (6 6 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (3 3 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX$INLINE))\n )\n(AIGNET::CAR-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-CONGRUENCE-ON-X-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV)\n(AIGNET::CDR-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-X-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV\n (41 3 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (22 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (20 20 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (12 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::CDR-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-CONGRUENCE-ON-X-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::CONS-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-X-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV\n (34 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (17 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CONS))\n (10 10 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (8 8 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 6 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (5 5 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::CONS-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV-CONGRUENCE-ON-X-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::CONS-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-Y-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV\n (20 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CONS))\n (8 8 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (8 8 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (8 8 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (5 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::CONS-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-CONGRUENCE-ON-Y-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV)\n(AIGNET::CONSP-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX\n (18 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (11 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (8 8 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (8 8 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-UNDER-IFF\n (18 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (11 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (8 8 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (8 8 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (6 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-OF-CONS\n (21 3 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (9 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CONS))\n (6 6 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (6 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (3 3 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n )\n(AIGNET::LEN-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX\n (35 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (14 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (13 13 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (12 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (11 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (7 7 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (6 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (1 1 (:REWRITE FTY::EQUAL-OF-LEN))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-OF-APPEND\n (114 10 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (58 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-APPEND))\n (40 36 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (29 29 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (24 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-LIST-FIX))\n (22 16 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (14 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (12 12 (:TYPE-PRESCRIPTION TRUE-LIST-FIX))\n (12 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (6 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-OF-REPEAT\n (20 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (16 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (12 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-REPEAT))\n (10 10 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (10 10 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (1 1 (:REWRITE-QUOTED-CONSTANT AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV))\n )\n(AIGNET::LIST-EQUIV-REFINES-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV\n (146 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (112 8 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (88 18 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (72 72 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (72 8 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (70 70 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (36 36 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (16 16 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::NTH-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX\n (331 17 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (171 16 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (126 12 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-NTH-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (124 24 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (106 106 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (62 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (59 53 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (34 34 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (34 34 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (30 5 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (29 22 (:REWRITE DEFAULT-+-2))\n (28 28 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (24 18 (:REWRITE DEFAULT-CDR))\n (22 22 (:REWRITE DEFAULT-+-1))\n (21 7 (:REWRITE ZP-WHEN-GT-0))\n (20 16 (:REWRITE DEFAULT-<-2))\n (19 7 (:REWRITE ZP-WHEN-INTEGERP))\n (17 13 (:REWRITE AIGNET::CONSP-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX))\n (16 16 (:REWRITE DEFAULT-<-1))\n (12 4 (:REWRITE FOLD-CONSTS-IN-+))\n (10 4 (:REWRITE DEFAULT-CAR))\n (10 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (10 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (8 8 (:REWRITE AIGNET::AIGNET-LEVELS-CORRECT-UP-TO-IMPLIES))\n (8 8 (:LINEAR STOBJS::RANGE-NAT-EQUIV-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR STOBJS::RANGE-EQUAL-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR AIGNET::RANGE-CUTINFO-EQUIV-UNDER-MASK-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR AIGNET::RANGE-CUTINFO-EQUIV-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (8 8 (:LINEAR AIGNET::OUTPUT-RANGE-EQUIV-BADGUY-BOUND))\n (8 8 (:LINEAR LOWER-BOUND-OF-LEN-WHEN-SUBLISTP))\n (8 8 (:LINEAR LISTPOS-UPPER-BOUND-STRONG-2))\n (8 8 (:LINEAR LEN-WHEN-PREFIXP))\n (8 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::VALS-EQUIV-UNDER-MASKS-NECC))\n (4 4 (:REWRITE NTH-WHEN-PREFIXP))\n (4 4 (:REWRITE NFIX-WHEN-NOT-NATP))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (4 4 (:LINEAR STOBJS::RANGE-NAT-EQUIV-MIN-MAX-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (4 4 (:LINEAR STOBJS::RANGE-EQUAL-MIN-MAX-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (4 4 (:LINEAR TRUTH::NPN4ARR-INDICES-BOUNDED-LINEAR))\n (4 4 (:LINEAR AIGNET::MIN-TOGGLING-LIT-BOUND-STRONG-LINEAR))\n (4 4 (:LINEAR LISTPOS-COMPLETE))\n (4 4 (:LINEAR INDEX-OF-<-LEN))\n (4 4 (:LINEAR AIGNET::FRAIG-CTREX-FIND-AGREEABLE-BOUND))\n (4 4 (:LINEAR AIGNET::CUTSDB-LEAVES-LIT-IDSP-BADGUY-RANGE))\n (4 4 (:LINEAR AIGNET::CUTS-CONSISTENT-BADGUY-UPPER-BOUND))\n (4 4 (:LINEAR AIGNET::CLASSES-HASH-FIND-BOUND))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-OF-NTH-WHEN-COMB-TRANSFORMLIST-P))\n (3 3 (:REWRITE ZP-OPEN))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-EQUIV))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IMPLIES-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-APPEND-1\n (269 32 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (205 17 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (128 128 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (126 126 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (120 17 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (117 22 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (64 64 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (34 34 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (34 34 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IMPLIES-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-APPEND-2\n (393 46 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (322 26 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (204 39 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (192 26 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (190 190 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (189 189 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (95 95 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (52 52 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (52 52 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::CONSP-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IMPLIES-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-NTHCDR-2\n (298 20 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (208 39 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (198 198 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (198 20 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (40 40 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (40 40 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-IMPLIES-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV-TAKE-2\n (553 38 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (432 28 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-FIX-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (304 51 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-CDR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (296 26 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-OF-CAR-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (236 236 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (236 236 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-SUBSETP-EQUAL))\n (229 24 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-OF-TAKE))\n (136 118 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P-WHEN-NOT-CONSP))\n (66 66 (:TYPE-PRESCRIPTION AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (66 66 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (18 18 (:TYPE-PRESCRIPTION NFIX))\n (12 12 (:TYPE-PRESCRIPTION LEN))\n (6 6 (:REWRITE-QUOTED-CONSTANT AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-FIX-UNDER-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-EQUIV))\n )\n(AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM->NAME\n (80 80 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (32 32 (:REWRITE SUBSETP-MEMBER . 4))\n (32 32 (:REWRITE SUBSETP-MEMBER . 3))\n (32 32 (:REWRITE SUBSETP-MEMBER . 2))\n (32 32 (:REWRITE SUBSETP-MEMBER . 1))\n (32 32 (:REWRITE INTERSECTP-MEMBER . 3))\n (32 32 (:REWRITE INTERSECTP-MEMBER . 2))\n (25 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (24 13 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 15 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (6 6 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (4 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (4 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::SNAPSHOT-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::REWRITE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::PRUNE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::OBS-CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::FRAIG-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::CONSTPROP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::BALANCE-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::ABC-COMB-SIMP-CONFIG-P-BY-TAG-WHEN-COMB-TRANSFORM-P))\n )\n(AIGNET::STRINGP-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM->NAME)\n(AIGNET::APPLY-M-ASSUMPTION-N-OUTPUT-OUTPUT-TRANSFORM-DEFAULT\n (42 42 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (39 13 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (30 21 (:REWRITE DEFAULT-<-1))\n (29 21 (:REWRITE DEFAULT-<-2))\n (28 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (13 13 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (12 12 (:REWRITE NFIX-WHEN-NOT-NATP))\n (12 4 (:REWRITE STATE-P-IMPLIES-AND-FORWARD-TO-STATE-P1))\n (12 4 (:REWRITE AIGNET::NODE-LISTP-WHEN-NOT-CONSP))\n (12 4 (:REWRITE NATP-WHEN-GTE-0))\n (12 4 (:REWRITE AIGNET::FANIN-COUNT-OF-ATOM))\n (8 8 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (8 8 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (8 8 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (7 7 (:REWRITE DEFAULT-+-2))\n (7 7 (:REWRITE DEFAULT-+-1))\n (5 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (5 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 4 (:REWRITE NATP-WHEN-INTEGERP))\n (4 4 (:REWRITE AIGNET::AIGNET-NODES-OK-OF-SUFFIX-INVERSE))\n (4 4 (:REWRITE AIGNET::AIGNET-NODES-OK-OF-EXTENSION))\n (4 4 (:LINEAR AIGNET::FANIN-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (4 4 (:LINEAR AIGNET::FANIN-COUNT-WHEN-AIGNET-EXTENSION))\n (4 4 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-FANIN-COUNT-GTE))\n (4 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (2 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (2 2 (:LINEAR AIGNET::FIND-NON-SPACE-LESS-THAN-LENGTH))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (2 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (1 1 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (1 1 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (1 1 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (1 1 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n )\n(AIGNET::NORMALIZE-INPUTS-OF-APPLY-M-ASSUMPTION-N-OUTPUT-OUTPUT-TRANSFORM-DEFAULT\n (58 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (56 8 (:REWRITE NFIX-WHEN-NATP))\n (40 8 (:REWRITE NFIX-WHEN-NOT-NATP))\n (32 32 (:TYPE-PRESCRIPTION NATP))\n (32 16 (:REWRITE NATP-WHEN-GTE-0))\n (16 16 (:REWRITE NATP-WHEN-INTEGERP))\n (10 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (10 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (8 8 (:TYPE-PRESCRIPTION NFIX))\n (8 8 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE DEFAULT-<-1))\n (8 4 (:REWRITE DEFAULT-+-2))\n (8 4 (:REWRITE DEFAULT-+-1))\n (8 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (4 4 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (4 4 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (4 4 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (4 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (2 2 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (2 2 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (2 2 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n )\n(AIGNET::NUM-INS-OF-APPLY-M-ASSUMPTION-N-OUTPUT-OUTPUT-TRANSFORM-DEFAULT\n (426 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (154 42 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (84 84 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (72 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (72 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (58 28 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (56 28 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (56 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (56 8 (:REWRITE NFIX-WHEN-NATP))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (40 40 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (40 8 (:REWRITE NFIX-WHEN-NOT-NATP))\n (32 32 (:TYPE-PRESCRIPTION NATP))\n (32 16 (:REWRITE NATP-WHEN-GTE-0))\n (30 30 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (28 28 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (28 28 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (16 16 (:REWRITE NATP-WHEN-INTEGERP))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (14 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (14 14 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (8 8 (:TYPE-PRESCRIPTION NFIX))\n (8 8 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE DEFAULT-<-1))\n (8 4 (:REWRITE DEFAULT-+-2))\n (8 4 (:REWRITE DEFAULT-+-1))\n (6 6 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-M-ASSUM-N-OUTPUT-OBSERVABILITY))\n )\n(AIGNET::NUM-REGS-OF-APPLY-M-ASSUMPTION-N-OUTPUT-OUTPUT-TRANSFORM-DEFAULT\n (426 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (154 42 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (84 84 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (72 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (72 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (58 28 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (56 28 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (56 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (56 8 (:REWRITE NFIX-WHEN-NATP))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (40 40 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (40 8 (:REWRITE NFIX-WHEN-NOT-NATP))\n (32 32 (:TYPE-PRESCRIPTION NATP))\n (32 16 (:REWRITE NATP-WHEN-GTE-0))\n (30 30 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (28 28 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (28 28 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (16 16 (:REWRITE NATP-WHEN-INTEGERP))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (14 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (14 14 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (8 8 (:TYPE-PRESCRIPTION NFIX))\n (8 8 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE DEFAULT-<-1))\n (8 4 (:REWRITE DEFAULT-+-2))\n (8 4 (:REWRITE DEFAULT-+-1))\n (6 6 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-M-ASSUM-N-OUTPUT-OBSERVABILITY))\n )\n(AIGNET::NUM-OUTS-OF-APPLY-M-ASSUMPTION-N-OUTPUT-OUTPUT-TRANSFORM-DEFAULT\n (426 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (154 42 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (84 84 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (72 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (72 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (58 28 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (56 28 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (56 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (56 8 (:REWRITE NFIX-WHEN-NATP))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (42 42 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (40 40 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (40 8 (:REWRITE NFIX-WHEN-NOT-NATP))\n (32 32 (:TYPE-PRESCRIPTION NATP))\n (32 16 (:REWRITE NATP-WHEN-GTE-0))\n (30 30 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (28 28 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (28 28 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (16 16 (:REWRITE NATP-WHEN-INTEGERP))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (14 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (14 14 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (8 8 (:TYPE-PRESCRIPTION NFIX))\n (8 8 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE DEFAULT-<-1))\n (8 4 (:REWRITE DEFAULT-+-2))\n (8 4 (:REWRITE DEFAULT-+-1))\n (6 6 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-M-ASSUM-N-OUTPUT-OBSERVABILITY))\n )\n(AIGNET::APPLY-M-ASSUMPTION-N-OUTPUT-OUTPUT-TRANSFORM-DEFAULT-EVAL-ASSUMPTIONS\n (851 38 (:REWRITE AIGNET::OUTPUT-EVAL-OUT-OF-BOUNDS))\n (600 20 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (372 98 (:REWRITE NFIX-WHEN-NOT-NATP))\n (276 138 (:REWRITE NATP-WHEN-GTE-0))\n (183 126 (:REWRITE DEFAULT-<-1))\n (179 126 (:REWRITE DEFAULT-<-2))\n (138 138 (:REWRITE NATP-WHEN-INTEGERP))\n (108 1 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-EVAL-CONCLUSION))\n (106 20 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (106 20 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (94 38 (:REWRITE AIGNET::OUTPUT-EVAL-OF-EXTENSION))\n (81 20 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (71 33 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (59 59 (:REWRITE INEQUALITY-WITH-NFIX-HYP-2))\n (47 47 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (42 42 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (40 40 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (40 40 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (40 40 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (40 40 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (40 40 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (40 40 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (40 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (40 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (40 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (40 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (40 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (40 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (40 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (40 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (40 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (40 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (40 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (38 38 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (34 34 (:LINEAR STOBJS::RANGE-NAT-EQUIV-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (34 34 (:LINEAR STOBJS::RANGE-EQUAL-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (34 34 (:LINEAR AIGNET::RANGE-CUTINFO-EQUIV-UNDER-MASK-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (34 34 (:LINEAR AIGNET::RANGE-CUTINFO-EQUIV-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (34 34 (:LINEAR AIGNET::OUTPUT-RANGE-EQUIV-BADGUY-BOUND))\n (33 33 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (33 33 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (33 33 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (30 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (30 20 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (28 14 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (23 20 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (23 20 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (23 20 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (23 20 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (21 20 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (20 20 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (20 20 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (20 20 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (20 20 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (20 20 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (20 20 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (20 20 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (20 20 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (20 20 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (20 20 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (20 20 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (20 20 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (18 9 (:REWRITE DEFAULT-+-2))\n (17 17 (:LINEAR STOBJS::RANGE-NAT-EQUIV-MIN-MAX-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (17 17 (:LINEAR STOBJS::RANGE-EQUAL-MIN-MAX-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (17 17 (:LINEAR TRUTH::NPN4ARR-INDICES-BOUNDED-LINEAR))\n (17 17 (:LINEAR LISTPOS-COMPLETE))\n (17 17 (:LINEAR AIGNET::FRAIG-CTREX-FIND-AGREEABLE-BOUND))\n (17 17 (:LINEAR AIGNET::CUTSDB-LEAVES-LIT-IDSP-BADGUY-RANGE))\n (17 17 (:LINEAR AIGNET::CUTS-CONSISTENT-BADGUY-UPPER-BOUND))\n (17 17 (:LINEAR AIGNET::CLASSES-HASH-FIND-BOUND))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (13 9 (:REWRITE DEFAULT-+-1))\n (11 11 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (10 2 (:REWRITE AIGNET::STYPE-COUNTS-OF-N-OUTPUTS-UNREACHABILITY))\n (10 2 (:REWRITE AIGNET::STYPE-COUNTS-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (5 1 (:REWRITE AIGNET::STYPE-COUNTS-OF-UNREACHABILITY))\n (5 1 (:REWRITE AIGNET::STYPE-COUNTS-OF-REWRITE))\n (5 1 (:REWRITE AIGNET::STYPE-COUNTS-OF-DOM-SUPERGATES-SWEEP))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-PRUNE))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-OBSERVABILITY-FIX))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-OBS-CONSTPROP))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-FRAIG))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-CONSTPROP))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-BALANCE))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-ABC-COMB-SIMPLIFY))\n (4 4 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (4 4 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-M-ASSUM-N-OUTPUT-OBSERVABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::APPLY-M-ASSUMPTION-N-OUTPUT-OUTPUT-TRANSFORM-DEFAULT-EVAL-CONCLUSION\n (685 30 (:REWRITE AIGNET::OUTPUT-EVAL-OUT-OF-BOUNDS))\n (484 16 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (338 82 (:REWRITE NFIX-WHEN-NOT-NATP))\n (256 256 (:TYPE-PRESCRIPTION NATP))\n (256 128 (:REWRITE NATP-WHEN-GTE-0))\n (161 106 (:REWRITE DEFAULT-<-2))\n (148 106 (:REWRITE DEFAULT-<-1))\n (128 128 (:REWRITE NATP-WHEN-INTEGERP))\n (82 16 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (82 16 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (70 30 (:REWRITE AIGNET::OUTPUT-EVAL-OF-EXTENSION))\n (65 16 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (55 25 (:REWRITE AIGNET::STYPE-COUNT-OF-ATOM))\n (42 42 (:REWRITE INEQUALITY-WITH-NFIX-HYP-2))\n (38 19 (:REWRITE DEFAULT-+-2))\n (38 19 (:REWRITE DEFAULT-+-1))\n (35 35 (:REWRITE-QUOTED-CONSTANT AIGNET::STYPE-FIX-UNDER-STYPE-EQUIV))\n (32 32 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (32 32 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (32 32 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (32 32 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (32 32 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (32 32 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (32 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (30 30 (:TYPE-PRESCRIPTION AIGNET-EXTENSION-P))\n (30 30 (:REWRITE CONSP-WHEN-MEMBER-EQUAL-OF-ATOM-LISTP))\n (26 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (26 16 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (25 25 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION-BIND-INVERSE))\n (25 25 (:LINEAR AIGNET::STYPE-COUNT-WHEN-AIGNET-EXTENSION))\n (25 25 (:LINEAR AIGNET::AIGNET-EXTENSION-IMPLIES-STYPE-COUNT-GTE))\n (20 10 (:REWRITE AIGNET::AIGNET-EXTENSION-P-TRANSITIVE-RW))\n (17 16 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (17 16 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (17 16 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (17 16 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (17 16 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (16 16 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (16 16 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (15 15 (:REWRITE-QUOTED-CONSTANT NFIX-UNDER-NAT-EQUIV))\n (15 15 (:REWRITE-QUOTED-CONSTANT IFIX-UNDER-INT-EQUIV))\n (15 15 (:REWRITE AIGNET::CONJOIN-OUTPUT-RANGE-WHEN-OUTPUT-RANGE-EQUIV))\n (15 15 (:REWRITE AIGNET::CONJOIN-OUTPUT-RANGE-OF-EXTENSION))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (12 12 (:LINEAR STOBJS::RANGE-NAT-EQUIV-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (12 12 (:LINEAR STOBJS::RANGE-EQUAL-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (12 12 (:LINEAR AIGNET::RANGE-CUTINFO-EQUIV-UNDER-MASK-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (12 12 (:LINEAR AIGNET::RANGE-CUTINFO-EQUIV-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (12 12 (:LINEAR AIGNET::OUTPUT-RANGE-EQUIV-BADGUY-BOUND))\n (9 9 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (6 6 (:LINEAR STOBJS::RANGE-NAT-EQUIV-MIN-MAX-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (6 6 (:LINEAR STOBJS::RANGE-EQUAL-MIN-MAX-BADGUY-UPPER-BOUND-WHEN-NOT-EQUAL))\n (6 6 (:LINEAR TRUTH::NPN4ARR-INDICES-BOUNDED-LINEAR))\n (6 6 (:LINEAR LISTPOS-COMPLETE))\n (6 6 (:LINEAR AIGNET::FRAIG-CTREX-FIND-AGREEABLE-BOUND))\n (6 6 (:LINEAR AIGNET::CUTSDB-LEAVES-LIT-IDSP-BADGUY-RANGE))\n (6 6 (:LINEAR AIGNET::CUTS-CONSISTENT-BADGUY-UPPER-BOUND))\n (6 6 (:LINEAR AIGNET::CLASSES-HASH-FIND-BOUND))\n (5 1 (:REWRITE AIGNET::STYPE-COUNTS-OF-UNREACHABILITY))\n (5 1 (:REWRITE AIGNET::STYPE-COUNTS-OF-REWRITE))\n (5 1 (:REWRITE AIGNET::STYPE-COUNTS-OF-DOM-SUPERGATES-SWEEP))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-PRUNE))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-OBSERVABILITY-FIX))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-OBS-CONSTPROP))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-FRAIG))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-CONSTPROP))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-BALANCE))\n (5 1 (:REWRITE AIGNET::NUM-OUTS-OF-ABC-COMB-SIMPLIFY))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (2 2 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-M-ASSUM-N-OUTPUT-OBSERVABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::W-STATE-OF-APPLY-M-ASSUMPTION-N-OUTPUT-OUTPUT-TRANSFORM-DEFAULT\n (426 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-COMB-TRANSFORM-P))\n (72 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (72 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (56 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P))\n (28 28 (:TYPE-PRESCRIPTION AIGNET::COMB-TRANSFORM-P))\n (28 28 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (28 28 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (28 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (28 4 (:REWRITE NFIX-WHEN-NATP))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (24 14 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (20 4 (:REWRITE NFIX-WHEN-NOT-NATP))\n (16 16 (:TYPE-PRESCRIPTION NATP))\n (16 8 (:REWRITE NATP-WHEN-GTE-0))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (15 14 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (14 14 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (14 14 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (14 14 (:REWRITE AIGNET::M-ASSUM-N-OUTPUT-OBSERVABILITY-CONFIG-P-BY-TAG-WHEN-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (8 8 (:REWRITE NATP-WHEN-INTEGERP))\n (4 4 (:TYPE-PRESCRIPTION NFIX))\n (4 4 (:REWRITE DEFAULT-<-2))\n (4 4 (:REWRITE DEFAULT-<-1))\n (4 2 (:REWRITE DEFAULT-+-2))\n (4 2 (:REWRITE DEFAULT-+-1))\n (2 2 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (2 2 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (1 1 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-M-ASSUM-N-OUTPUT-OBSERVABILITY))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (1 1 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (1 1 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (1 1 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (1 1 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (1 1 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n(AIGNET::LIST-OF-OUTPUTS-OF-APPLY-M-ASSUMPTION-N-OUTPUT-OUTPUT-TRANSFORM-DEFAULT\n (62 62 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORMLIST-P))\n (60 12 (:REWRITE NFIX-WHEN-NATP))\n (44 12 (:REWRITE NFIX-WHEN-NOT-NATP))\n (34 34 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-MEMBER-EQUAL-OF-COMB-TRANSFORMLIST-P))\n (34 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-UNREACHABILITY-CONFIG-P))\n (34 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-SNAPSHOT-CONFIG-P))\n (34 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-REWRITE-CONFIG-P))\n (34 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-PRUNE-CONFIG-P))\n (34 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBSERVABILITY-CONFIG-P))\n (34 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-OBS-CONSTPROP-CONFIG-P))\n (34 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-FRAIG-CONFIG-P))\n (34 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-DOM-SUPERGATES-SWEEP-CONFIG-P))\n (34 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-CONSTPROP-CONFIG-P))\n (34 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-BALANCE-CONFIG-P))\n (34 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-WHEN-ABC-COMB-SIMP-CONFIG-P))\n (32 32 (:TYPE-PRESCRIPTION NATP))\n (32 16 (:REWRITE NATP-WHEN-GTE-0))\n (31 31 (:REWRITE AIGNET::M-ASSUMPTION-N-OUTPUT-COMB-TRANSFORM-P-WHEN-INVALID-TAG))\n (30 29 (:REWRITE AIGNET::N-OUTPUTS-DOM-SUPERGATES-SWEEP-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (29 28 (:REWRITE AIGNET::N-OUTPUTS-UNREACHABILITY-CONFIG-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (27 17 (:REWRITE AIGNET::COMB-TRANSFORM-P-BY-TAG-WHEN-N-OUTPUT-COMB-TRANSFORM-P))\n (17 17 (:TYPE-PRESCRIPTION AIGNET::UNREACHABILITY-CONFIG-P))\n (17 17 (:TYPE-PRESCRIPTION AIGNET::SNAPSHOT-CONFIG-P))\n (17 17 (:TYPE-PRESCRIPTION AIGNET::REWRITE-CONFIG-P))\n (17 17 (:TYPE-PRESCRIPTION AIGNET::PRUNE-CONFIG-P))\n (17 17 (:TYPE-PRESCRIPTION AIGNET::OBSERVABILITY-CONFIG-P))\n (17 17 (:TYPE-PRESCRIPTION AIGNET::OBS-CONSTPROP-CONFIG-P))\n (17 17 (:TYPE-PRESCRIPTION AIGNET::FRAIG-CONFIG-P))\n (17 17 (:TYPE-PRESCRIPTION AIGNET::DOM-SUPERGATES-SWEEP-CONFIG-P))\n (17 17 (:TYPE-PRESCRIPTION AIGNET::CONSTPROP-CONFIG-P))\n (17 17 (:TYPE-PRESCRIPTION AIGNET::BALANCE-CONFIG-P))\n (17 17 (:TYPE-PRESCRIPTION AIGNET::ABC-COMB-SIMP-CONFIG-P))\n (16 16 (:REWRITE NATP-WHEN-INTEGERP))\n (12 12 (:TYPE-PRESCRIPTION NFIX))\n (12 12 (:TYPE-PRESCRIPTION AIGNET::N-OUTPUT-COMB-TRANSFORM-P))\n (12 6 (:REWRITE DEFAULT-+-2))\n (12 6 (:REWRITE DEFAULT-+-1))\n (9 9 (:REWRITE-QUOTED-CONSTANT AIGNET::NODE-LIST-FIX-UNDER-NODE-LIST-EQUIV))\n (8 8 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE DEFAULT-<-1))\n (5 5 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-M-ASSUM-N-OUTPUT-OBSERVABILITY))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-OBS-CONSTPROP))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-ABC-COMB-SIMPLIFY))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-OBSERVABILITY-FIX))\n (4 4 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-FRAIG))\n (3 3 (:REWRITE AIGNET::REWRITE-NORMALIZE-INPUTS))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUTS-OF-CONSTPROP))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-PRUNE))\n (3 3 (:REWRITE AIGNET::NORMALIZE-INPUT-OF-BALANCE))\n (3 3 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-UNREACHABILITY))\n (3 3 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-UNREACHABILITY))\n (3 3 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-N-OUTPUTS-DOM-SUPERGATES-SWEEP))\n (3 3 (:REWRITE AIGNET::NORMALIZE-AIGNET2-OF-DOM-SUPERGATES-SWEEP))\n )\n","avg_line_length":65.0878933938,"max_line_length":139,"alphanum_fraction":0.7421209679} +{"size":202,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(in-package #:binding)\n\n#|\nint in_wch(cchar_t *wcval);\nint mvin_wch(int y, int x, cchar_t *wcval);\nint mvwin_wch(WINDOW *win, int y, int x, cchar_t *wcval);\nint win_wch(WINDOW *win, cchar_t *wcval);\n|#\n","avg_line_length":22.4444444444,"max_line_length":57,"alphanum_fraction":0.6930693069} +{"size":1158,"ext":"lsp","lang":"Common Lisp","max_stars_count":1.0,"content":"(DCLS-HAS-MEASUREP)\n(DEF-HAS-MEASUREP)\n(ADD-BOGUS-MEASURE\n (1 1 (:TYPE-PRESCRIPTION ADD-BOGUS-MEASURE))\n )\n(ADD-BOGUS-MEASURE-LST\n (1 1 (:TYPE-PRESCRIPTION ADD-BOGUS-MEASURE))\n )\n(FN-NAMES-FROM-DEFS)\n(BUILD-CALL-TREE)\n(ALL-FNNAMES-LIST)\n(FREE-NODE-LIST\n (3049 1437 (:REWRITE DEFAULT-+-2))\n (1981 1437 (:REWRITE DEFAULT-+-1))\n (702 668 (:REWRITE DEFAULT-CAR))\n (676 670 (:REWRITE DEFAULT-CDR))\n (482 371 (:REWRITE DEFAULT-<-2))\n (455 371 (:REWRITE DEFAULT-<-1))\n (252 252 (:REWRITE DEFAULT-UNARY-MINUS))\n (180 180 (:META CANCEL_TIMES-EQUAL-CORRECT))\n (180 180 (:META CANCEL_PLUS-EQUAL-CORRECT))\n (152 38 (:REWRITE O-P-O-INFP-CAR))\n (130 130 (:REWRITE DEFAULT-COERCE-2))\n (130 130 (:REWRITE DEFAULT-COERCE-1))\n (126 126 (:REWRITE NUMERATOR-WHEN-INTEGERP))\n (126 126 (:REWRITE INTEGERP==>DENOMINATOR=1))\n (126 126 (:REWRITE DEFAULT-NUMERATOR))\n (126 126 (:REWRITE DEFAULT-DENOMINATOR))\n (122 122 (:REWRITE DEFAULT-REALPART))\n (122 122 (:REWRITE DEFAULT-IMAGPART))\n (77 7 (:DEFINITION ASSOC-EQUAL))\n (50 25 (:REWRITE O-INFP->NEQ-0))\n (38 38 (:REWRITE O-P-DEF-O-FINP-1))\n (4 2 (:DEFINITION TRUE-LISTP))\n )\n(SEPARATE-FNS)\n(FIND-FN-DEF)\n(FIND-FN-DEFS)\n(MUT-REC-FN)\n","avg_line_length":28.95,"max_line_length":46,"alphanum_fraction":0.6873920553} +{"size":79,"ext":"lisp","lang":"Common Lisp","max_stars_count":5.0,"content":"(in-package #:network-addresses)\n\n(define-condition invalid-format (error) ())\n","avg_line_length":19.75,"max_line_length":44,"alphanum_fraction":0.7341772152} +{"size":3106,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(require 'xmls)\n(require 'arrow-macros)\n(require 'cl-ppcre)\n\n(import 'arrow-macros::->)\n(import 'arrow-macros::->>)\n\n(defparameter *word-pat*\n (format nil \"^[~A-~A]+$\"\n (code-char #x0E80)\n (code-char #x0EFF)))\n\n(defparameter *tr-line-match-pat* \"\\\\*\\\\{\\\\{([a-z][a-z])\\\\}\\\\}: (.+)\")\n\n(defparameter *cat-pat* (format nil \"([~A-~A]+)\"\n (code-char #x0E80)\n (code-char #x0EFF)))\n\n(defun parse-tr-part (tr-part)\n (cl-ppcre:register-groups-bind (inner)\n (\"\\\\{\\\\{([^\\\\}]+)\\\\}\\\\}\" tr-part)\n (caddr (cl-ppcre:split \"\\\\|\" inner))))\n\n(defun extract-from-tr-line (line)\n (let ((translates nil))\n (cl-ppcre:do-register-groups (lang tr-parts)\n (*tr-line-match-pat* line)\n (let ((tr-list (->> (cl-ppcre:all-matches-as-strings\n \"\\\\{\\\\{[^\\\\}]+\\\\}\\\\}\" tr-parts)\n (mapcar #'parse-tr-part))))\n (when tr-list\n (setq translates\n (cons (cons (intern (string-upcase lang)\n \"KEYWORD\")\n tr-list)\n translates)))))\n translates))\n\n(defun extract-tr-from-text (text)\n (apply #'nconc\n (->> (cl-ppcre:split \"[\\\\n\\\\r]+\" text)\n (mapcar #'extract-from-tr-line)\n (remove-if #'null))))\n\n\n(defun extract-category-value (lines)\n (loop for line in lines\n while (and (cl-ppcre:all-matches-as-strings *cat-pat* line)\n (null (cl-ppcre:all-matches-as-strings \"=\" line)))\n collect (cl-ppcre:register-groups-bind (cat)\n (*cat-pat* line)\n cat)))\n\n(defun extract-category-from-lines (lines)\n (cond\n ((null lines) nil)\n ((cl-ppcre:all-matches-as-strings \"=\\\\s*\u0e9b\u0eb0\u0ec0\u0e9e\u0e94\" (car lines))\n (let ((ext-cat (extract-category-value (cdr lines))))\n (if ext-cat\n ext-cat\n (extract-category-from-lines (cdr lines)))))\n (t (extract-category-from-lines (cdr lines)))))\n\n(defun extract-category-from-text (text)\n (let ((lines (cl-ppcre:split \"[\\\\n\\\\r]+\" text)))\n (extract-category-from-lines lines)))\n\n(defun extract-from-text (text)\n (append (list :translations (extract-tr-from-text text))\n (list :category (extract-category-from-text text))))\n\n(defun extract-from-page (page)\n (let* ((title (xmls:xmlrep-find-child-tag \"title\" page))\n (title-text (caddr title))\n (rev (xmls:xmlrep-find-child-tag \"revision\" page))\n (text-elem (xmls:xmlrep-find-child-tag \"text\" rev))\n (text (caddr text-elem)))\n (append (list :headword title-text)\n (extract-from-text text))))\n\n(defun trim (lst)\n (subseq lst 0 30))\n\n(defun parse (xml-path)\n (->> (with-open-file (stream xml-path)\n (xmls:parse stream))\n (xmls:xmlrep-find-child-tags \"page\")\n (remove-if-not #'(lambda (page)\n (let* ((title (xmls:xmlrep-find-child-tag \"title\" page))\n (title-child (caddr title)))\n (cl-ppcre:scan *word-pat* title-child))))\n (mapcar #'extract-from-page)\n write))\n\n\n","avg_line_length":32.3541666667,"max_line_length":79,"alphanum_fraction":0.5347714102} +{"size":4654,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":";;;-*- Mode: Lisp; Package: :cl-user -*-\n;;;\n;;; apex\/examples\/xplane\/example.lisp\n;;;\n;;; Copyright: See apex\/LICENSE\n;;; Version: $Id: example.lisp,v 1.9 2006\/04\/08 00:36:48 rharris Exp $\n\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;; ;;;;\n;;;; application PDL code ;;;;\n;;;; ;;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;;\n;; x-plane example application definition\n;;\n\n(defapplication \"X-Plane Demo\"\n :type :realtime\n :files (\"xplane-api.lisp\")\n :init (xplane-init)\n :reset (xplane-reset)\n :start (xplane-execute nil)\n :stop (xplane-stop)\n :step (xplane-execute t)\n :restart nil)\n\n(in-package :common-lisp-user)\n\n;;\n;; application entry point\n;;\n\n(procedure :seq\n (index (fly the plane))\n\n ;; select aircraft and runway\n\n (step (xplane-place-aircraft \"KPOC\" \"26L\"))\n (step (select-aircraft \"King Air\"))\n \n ;; take off, fly a left traffic pattern and land\n\n (step (takeoff))\n (step (fly extended left pattern to extend))\n (step (land))\n \n ;; take off from where we landed, fly a right traffic pattern and land\n\n (step (takeoff))\n (step (fly extended right pattern to extend))\n (step (land))\n \n ;; signal termination of x-plane application\n \n (step (signal-app-termination)))\n\n;;\n;; fly to a given latitude and longitude\n;;\n\n(procedure :seq\n (index (fly-to ?target-loc ?altitude))\n (step (get-aircraft-location => ?ac-loc))\n (step (terminate >> ?loc)))\n\n;;\n;; get current location of the aircraft\n;;\n\n(procedure :seq\n (index (get-aircraft-location))\n (step (xplane-enable-measurements (lat-deg lon-deg)))\n (step (xplane-disable-measurements (lat-deg lon-deg))\n (waitfor (:and (lat-deg ac1 = ?lat)\n (lon-deg ac1 = ?lon))))\n (step (terminate >> (?lat ?lon))))\n \n\n;;\n;; signal that the application has completed\n;;\n\n(primitive\n (index (signal-app-termination))\n (on-start \n (mp:process-run-function\n (list :name \"x-plane application termination\")\n #'stopapp)))\n\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;; ;;;;\n;;;; application lisp code ;;;;\n;;;; ;;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n\n;;\n;; init th explane app\n;;\n\n(defun xplane-init ()\n\n (init-db)\n\n ;; init connection\n\n (initialize-xplane-connection)\n\n ;; work around for residual routers\n\n (reset-ps-routers)\n \n ;; reset the trace info\n \n ;;(reset-trace-info)\n \n ;; init the simulation time\n \n ;;(xplane-init-sim-time)\n\n ;; make the agent\n \n (let* ((locale (make-instance 'locale :name 'xplane-world))\n\t (agent (make-instance 'agent\n\t\t :locale locale\n\t\t :name 'xp-pilot\n\t\t :initial-task '(fly the plane))))\n \n ;; setup the trace\n\n;; (set-trace-constraint\n;; '(or\n;; (event-type task-started)\n;; ))\n\n ;; wake the sleeping monster\n \n (setf *xplane-app-inited* t)\n\n ;; give the asa a kick in the ass\n\n (asamain agent)\n \n ;; return the agent\n \n agent))\n\n;; reset xplane app\n\n(defun xplane-reset ()\n \n ;; if not inited, call init\n \n (setf *xplane-app-inited* nil)\n \n ;; the note that the app is not alive\n \n (setf *xplane-app-running* nil)\n \n ;; pause sim\n \n (xplane-pause-sim-time))\n \n;; run one or more xplane execution cycles\n\n(defun xplane-execute (step)\n \n ;; if not inited, call init\n \n (when (not *xplane-app-inited*)\n (xplane-init))\n \n ;; the note that the app is alive\n \n (setf *xplane-app-running* t)\n \n ;; unpause the sim\n \n (xplane-unpause-sim-time)\n \n ;; if this just a single step, execute one cycle\n \n (if step (xplane-receive)\n \n ;; otherwise execute cycles until interrupted\n \n (loop while (eq *xplane-app-running* t) \n do (xplane-receive)))\n \n ;; pause the sim\n \n (xplane-pause-sim-time)\n\n ;; the note that the app is not alive (in case this was a step)\n \n (setf *xplane-app-running* nil))\n\n;;\n;; stop the xplane application\n;;\n\n(defun xplane-stop ()\n\n ;; when the app is running\n \n (when (eq *xplane-app-running* t)\n \n ;; indicate that it is halting (which causes it to\n ;; stop and set *xplane-app-running* to nil)\n \n (setf *xplane-app-running* 'halting)\n \n ;; wait until the app has actually stoped\n \n (while (eq *xplane-app-running* 'halting)\n (sleep 0.1)))\n \n ;; now pause the sim\n \n (xplane-pause-sim-time))\n\n\n(trace xplane-init)\n(trace xplane-execute)\n(trace xplane-reset)\n(trace xplane-stop)\n(trace startapp)\n(trace stepapp)\n(trace stepapp\/pause)\n(trace stopapp)\n(trace resetapp)\n(trace reloadapp)\n;;(trace xplane-receive)\n\n\n \n","avg_line_length":19.2314049587,"max_line_length":77,"alphanum_fraction":0.5721959605} +{"size":132,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(defpackage :bpm\n (:documentation \"Boundary package-merge implementation\")\n (:use :cl)\n (:export #:encode-limited\n\t #:a-to-l))\n","avg_line_length":22.0,"max_line_length":58,"alphanum_fraction":0.6666666667} +{"size":611,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"(import discord)\n(import lua\/io io)\n\n(let [(token nil)]\n (with [handle (io\/open \"token.txt\" \"r\")]\n (set! token (self handle :read \"*a\"))\n (io\/close handle))\n\n (with (client (discord\/create token false))\n\n (discord\/add-handler client \"READY\" (lambda (ready)\n (print! (.. \"logged in as \" (.> ready :user :username) \".\"))))\n\n (discord\/add-handler client \"MESSAGE_CREATE\" (lambda (msg)\n (unless (= (.> msg :author :id) (.> client :self :id))\n (discord\/send-message client (.> msg :channel_id) { :content \"test\" }))))\n\n (discord\/run client)))","avg_line_length":33.9444444444,"max_line_length":89,"alphanum_fraction":0.558101473} +{"size":6971,"ext":"lisp","lang":"Common Lisp","max_stars_count":9.0,"content":"(defpackage #:webapi\/codable\n (:use #:cl)\n (:import-from #:closer-mop\n #:standard-direct-slot-definition\n #:direct-slot-definition-class\n #:validate-superclass\n #:class-direct-slots\n #:slot-definition-name\n #:slot-definition-initargs\n #:slot-definition-type)\n (:import-from #:st-json\n #:jso\n #:jso-alist\n #:json-null\n #:json-bool\n #:from-json-bool\n #:as-json-bool\n #:read-json\n #:write-json-element)\n (:import-from #:alexandria\n #:alist-hash-table\n #:ensure-list)\n (:export #:codable\n #:codable-class\n #:decode-object\n #:encode-object\n #:defcodable))\n(in-package #:webapi\/codable)\n\n(defclass codable () ())\n\n(defvar *conc-name* nil)\n\n(defclass codable-slot-class (c2mop:standard-direct-slot-definition)\n ((key :type (or string null)\n :initarg :key\n :initform nil\n :accessor %codable-slot-key)))\n\n(defun codable-slot-key (slot)\n (or (%codable-slot-key slot)\n (let ((*print-case* :downcase))\n (princ-to-string (c2mop:slot-definition-name slot)))))\n\n(defmethod initialize-instance :around ((class codable-slot-class) &rest rest-initargs\n &key name\n &allow-other-keys)\n ;; Add the default initarg.\n (pushnew (intern (symbol-name name) :keyword)\n (getf rest-initargs :initargs))\n\n (when *conc-name*\n (let ((default-accessor (intern\n (format nil \"~:@(~A~A~)\" *conc-name* name)\n *package*)))\n (pushnew default-accessor (getf rest-initargs :readers))\n (pushnew `(setf ,default-accessor) (getf rest-initargs :writers))))\n\n (apply #'call-next-method class rest-initargs))\n\n(defclass codable-class (standard-class)\n ((conc-name :initarg :conc-name\n :initform nil)\n (key-mapper :initform (make-hash-table :test 'equal))))\n\n(defmethod c2mop:direct-slot-definition-class ((class codable-class) &key &allow-other-keys)\n 'codable-slot-class)\n\n(defmethod c2mop:validate-superclass ((class codable-class) (super standard-class))\n t)\n\n(define-condition conversion-failed (error) ())\n\n(defun decode-jso-as-type (value type)\n (case type\n (null\n (unless (typep value 'json-null)\n (error 'conversion-failed))\n nil)\n (boolean (from-json-bool value))\n ((string integer float rational number)\n (handler-case (coerce value type)\n (error () (error 'conversion-failed))))\n (hash-table\n (if (typep value 'st-json:jso)\n (alist-hash-table (st-json::jso-alist value))\n (error 'conversion-failed)))\n ('t (typecase value\n (json-null nil)\n (json-bool (from-json-bool value))\n (otherwise value)))\n (otherwise\n (decode-object value type))))\n\n(defun make-slot-decoder (type)\n (if (consp type)\n (progn\n (assert (eq (first type) 'or))\n (lambda (val)\n (block nil\n (dolist (type (rest type) (error 'conversion-failed))\n (handler-case\n (return (decode-jso-as-type val type))\n (conversion-failed ()))))))\n (lambda (val)\n (decode-jso-as-type val type))))\n\n(defun build-slot-mapper (class)\n (let ((mapper (slot-value class 'key-mapper)))\n (dolist (slot (c2mop:class-direct-slots class))\n (let ((key (codable-slot-key slot)))\n (setf (gethash key mapper)\n (cons (first (c2mop:slot-definition-initargs slot))\n (make-slot-decoder\n (or (c2mop:slot-definition-type slot) t))))))))\n\n(defmethod initialize-instance :around ((class codable-class) &rest initargs &key conc-name &allow-other-keys)\n (let ((*conc-name* (first conc-name)))\n (let ((class (apply #'call-next-method class initargs)))\n (build-slot-mapper class)\n class)))\n\n(defmethod reinitialize-instance :around ((class codable-class) &rest initargs &key conc-name &allow-other-keys)\n (let ((*conc-name* (first conc-name)))\n (let ((class (apply #'call-next-method class initargs)))\n (build-slot-mapper class)\n class)))\n\n(defgeneric decode-object (input class)\n (:method (input (class null))\n (if (typep input 'json-null)\n nil\n (error 'conversion-failed)))\n (:method (input (class symbol))\n (decode-object input (find-class class)))\n (:method ((input string) class)\n (decode-object (st-json:read-json input) class))\n (:method ((input st-json:jso) class)\n (decode-object (jso-alist input) class))\n (:method ((input cons) (class codable-class))\n (let ((mapper (slot-value class 'key-mapper)))\n (apply #'make-instance class\n (loop for (key . val) in input\n append (destructuring-bind (init-key . converter)\n (or (gethash key mapper)\n (error \"Undefined key ~S (= ~S) in ~A\"\n key val\n (class-name class)))\n (list init-key\n (funcall converter val))))))))\n\n(defmethod st-json:write-json-element ((object codable) stream)\n (write-char #\\{ stream)\n (loop with initial = t\n for slot in (c2mop:class-direct-slots (class-of object))\n for slot-name = (c2mop:slot-definition-name slot)\n for type = (ensure-list (c2mop:slot-definition-type slot))\n if (and (typep slot 'codable-slot-class)\n (slot-boundp object slot-name))\n do (if initial\n (setf initial nil)\n (write-char #\\, stream))\n (st-json:write-json-element (codable-slot-key slot) stream)\n (write-char #\\: stream)\n (let ((value (slot-value object slot-name)))\n (st-json:write-json-element\n (if (member value '(t nil) :test 'eq)\n (cond\n ((find 'boolean type)\n (as-json-bool value))\n ((find 'null type)\n :null)\n ((and (or (null type)\n (find t type))\n (null value))\n :null)\n (t value))\n value)\n stream)))\n (write-char #\\} stream)\n (values))\n\n(defgeneric encode-object (object)\n (:method ((object t))\n object)\n (:method ((object codable))\n (st-json:write-json-to-string object)))\n\n(defmacro defcodable (name superclasses slots &rest class-options)\n `(defclass ,name (codable ,@superclasses)\n ,slots\n (:metaclass codable-class)\n (:conc-name ,(format nil \"~A-\" name))\n ,@class-options))\n","avg_line_length":35.7487179487,"max_line_length":112,"alphanum_fraction":0.5413857409} +{"size":8915,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(in-package :cl-async)\n\n;; TBD: separate tcp-stream from async-stream.\n;; Also, need to rename (?) socket in tcp.lisp\n;; TBD: support inheritance of custom fds\n;; TBD: utf-8 pipe support\n;; TBD: check process handles during walk using generic function\n;; TBD: custom env\n;; TBD: custom process name\n;; TBD: custom cwd\n;; TBD: custom string encoding\n;; TBD: process flags (detached etc.)\n\n;; TBD: use common superclass for libuv handle wrappers\n\n(defclass process ()\n ((c :accessor process-c :initarg :c)\n (input :accessor process-input :initarg :input)\n (output :accessor process-output :initarg :output)\n (error-output :accessor process-error-output :initarg :error-output)))\n\n(defmethod initialize-instance :after ((process process) &key exit-cb event-cb &allow-other-keys)\n (attach-data-to-pointer (process-c process) process)\n (save-callbacks (process-c process)\n (list :exit-cb exit-cb :event-cb event-cb)))\n\n(define-c-callback process-close-cb :void ((process-handle :pointer))\n \"Called when a process closes.\"\n ;; FIXME: same as streamish-close-cb\n (free-pointer-data process-handle :preserve-pointer t)\n (uv:free-handle process-handle))\n\n(defun process-close (process-handle)\n (uv:uv-close process-handle (cffi:callback process-close-cb)))\n\n(define-c-callback process-exit-cb :void ((process-handle :pointer)\n (exit-status :int64)\n (term-signal :int))\n (let* ((process (deref-data-from-pointer process-handle))\n (callbacks (get-callbacks process-handle))\n (event-cb (getf callbacks :event-cb))\n (exit-cb (getf callbacks :exit-cb)))\n (catch-app-errors event-cb\n (when exit-cb\n (funcall exit-cb process exit-status term-signal))\n (process-close process-handle)\n (setf (process-c process) nil))))\n\n(defun init-stdio-container (container out-p type fd pipe-args)\n (setf (uv-a:uv-stdio-container-t-flags container)\n (flet ((v (name)\n (cffi:foreign-enum-value 'uv:uv-stdio-flags name)))\n (ecase type\n (:ignore (v :ignore))\n (:inherit (v :inherit-fd))\n ((:pipe :stream)\n (logior (v :create-pipe)\n (if out-p\n (v :writable-pipe)\n (v :readable-pipe)))))))\n (case type\n (:inherit\n (setf (cffi:foreign-slot-value\n (cffi:foreign-slot-pointer container '(:struct uv:uv-stdio-container-t) 'uv::data)\n '(:union uv:uv-stdio-container-s-data)\n 'uv::fd)\n fd)\n nil)\n ((:stream :pipe)\n (let ((pipe-or-stream (apply #'init-client-socket 'pipe\n :stream (eq :stream type)\n :allow-other-keys t pipe-args)))\n (setf (uv-a:uv-stdio-container-t-data container)\n (streamish-c (streamish pipe-or-stream)))\n pipe-or-stream))))\n\n(defun spawn (path args &key exit-cb\n (event-cb #'error)\n (input :ignore)\n (output :ignore)\n (error-output :ignore))\n \"Run the program specified by PATH with specified ARGS.\n ARGS don't include the executable path (argv[0]). Return process\n object and pipes or streams for input, output and error output file\n descriptors of the child process (NIL for file descriptors that\n aren't redirected via :PIPE or :STREAM, see below).\n\n EXIT-CB specifies the callback that should be called when the\n program terminates. It should be a function taking three arguments:\n process object, exit status and signal number that caused program\n termination (0 if the program wasn't terminated by signal).\n\n EVENT-CB specifies error handler to be used.\n\n INPUT, OUTPUT and ERROR-OUTPUT specify process input\/output\/error\n output redirection. For each of these, the following values are\n supported:\n\n :IGNORE the corresponding file descriptor isn't used\n :INHERIT inherit file descriptor from this process\n (:PIPE [:READ-CB ...] ...) use pipe-based redirection of the\n corresponding file descriptor (see PIPE-CONNECT for the set\n of supported keyword arguments).\n (:STREAM [:READ-CB ...] ...) same as PIPE, but uses async\n stream instead of a pipe.\"\n (check-event-loop-running)\n (let ((handle (uv:alloc-handle :process)))\n (cffi:with-foreign-objects ((stdio '(:struct uv:uv-stdio-container-t) 3)\n (c-args :pointer (+ 2 (length args))))\n (cffi:with-foreign-strings (#++ (cwd \"\/tmp\")\n (file (namestring path)))\n (let ((stdios\n (loop for fd from 0 below 3\n for (type . other-args) in (mapcar #'alexandria:ensure-list\n (list input output error-output))\n for out-p = nil then t\n collect\n (init-stdio-container\n (cffi:mem-aptr stdio '(:struct uv:uv-stdio-container-t) fd)\n out-p type fd other-args))))\n (setf (cffi:mem-aref c-args :pointer) file\n (cffi:mem-aref c-args :pointer (1+ (length args))) (cffi:null-pointer))\n (loop for i from 1\n for arg in args\n do (setf (cffi:mem-aref c-args :pointer i)\n (cffi:foreign-string-alloc arg)))\n (with-foreign-object* (options uv:uv-process-options-t)\n ((uv-a:uv-process-options-t-exit-cb (cffi:callback process-exit-cb))\n (uv-a:uv-process-options-t-file file)\n (uv-a:uv-process-options-t-args c-args)\n #++\n (uv-a:uv-process-options-t-env (cffi:null-pointer))\n #++\n (uv-a:uv-process-options-t-cwd (cffi:null-pointer))\n #++\n (uv-a:uv-process-options-t-flags 0)\n (uv-a:uv-process-options-t-stdio-count 3)\n (uv-a:uv-process-options-t-stdio stdio)\n #++\n (uv-a:uv-process-options-t-uid 0)\n #++\n (uv-a:uv-process-options-t-gid 0))\n (let ((res (uv:uv-spawn (event-base-c *event-base*) handle options)))\n (cond ((zerop res)\n (loop for i from 1 upto (length args)\n do (cffi:foreign-string-free (cffi:mem-aref c-args :pointer i)))\n (loop for pipe-or-stream in stdios\n for in-p = t then nil\n when pipe-or-stream\n do (let ((pipe (streamish pipe-or-stream)))\n (when (or in-p (streamish-read-start\n (streamish pipe)))\n (setf (socket-connected (streamish pipe)) t)\n (write-pending-socket-data pipe))))\n (apply #'values\n (make-instance 'process\n :c handle\n :exit-cb exit-cb\n :event-cb event-cb\n :input (first stdios)\n :output (second stdios)\n :error-output (third stdios))\n stdios))\n (t\n ;; destroying the handle immediately causes assertion failure\n ;; (FIXME: why? seems like it shouldn't be so, looking\n ;; at libuv tests)\n (as:with-delay ()\n (process-close handle))\n (event-handler res event-cb :throw t))))))))))\n\n(defmethod handle-cleanup ((handle-type (eql :process)) handle)\n (let ((process (deref-data-from-pointer handle)))\n (process-close handle)\n (when process\n (setf (process-c process) nil))))\n\n(defun process-kill (process signal &key (event-cb #'error))\n \"If PROCESS is active, send the specified signal (an integer) to it and return true.\n If PROCESS is not active or an error occurs (and EVENT-CB doesn't\n signal an error), return false. If EVENT-CB is specified, use it\n to handle errors, otherwise signal them via ERROR.\"\n (alexandria:when-let ((handle (process-c process)))\n (let ((res (uv:uv-process-kill handle signal)))\n (cond ((zerop res) t)\n (t\n (event-handler res event-cb :throw t)\n nil)))))\n","avg_line_length":47.1693121693,"max_line_length":100,"alphanum_fraction":0.5300056085} +{"size":117,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(defpackage anthill\n (:use :cl :alexandria)\n (:export :pdo\n :pdo*\n :pdolist\n :pmap))\n","avg_line_length":16.7142857143,"max_line_length":24,"alphanum_fraction":0.4700854701} +{"size":316,"ext":"lisp","lang":"Common Lisp","max_stars_count":16.0,"content":";; -*- Mode: Lisp; rcs-header: \"$Header: \/hope\/lwhope1-cam\/hope.0\/compound\/61\/LISPopengl\/RCS\/compile.lisp,v 1.8.13.1 2017\/01\/19 11:51:03 martin Exp $\" -*-\n\n;; Copyright (c) 1987--2017 LispWorks Ltd. All rights reserved.\n\n(in-package \"CL-USER\")\n\n(load (current-pathname \"defsys\"))\n\n(compile-system \"OPENGL\" :load t)\n\n","avg_line_length":28.7272727273,"max_line_length":154,"alphanum_fraction":0.6835443038} +{"size":5058,"ext":"lisp","lang":"Common Lisp","max_stars_count":43.0,"content":"\n(defpackage :async-io\n (:use :common-lisp :actors)\n (:export\n :invalid-io-command\n :stream-closed\n :open-stream\n :exec-io\n :perform\n ))\n\n(in-package :async-io)\n\n(defclass async-io (actor)\n ((stream-table :reader stream-table :initform (make-hash-table))))\n\n(defvar *async-io* (make-instance 'async-io))\n(register-actor :async-io *async-io*)\n\n(defun do-async-open (reply-to filename &rest args)\n (send reply-to\n (um:capture-ans-or-exn\n (apply #'open filename args))))\n\n(defun report-invalid-io-command (condition stream)\n (format stream \"Invalid I\/O Command: ~S\" (error-cmd condition)))\n\n(define-condition invalid-io-command (error)\n ((cmd :accessor error-cmd :initarg :cmd))\n (:report report-invalid-io-command))\n\n(defun do-async-io (reply-to stream cmds)\n (send reply-to\n (um:capture-ans-or-exn\n (um:accum acc\n (dolist (cmd cmds)\n (acc (list cmd\n (um:dcase* cmd\n (:close ()\n (close stream))\n (:file-position (pos)\n (file-position stream pos))\n (:read-byte (&rest args)\n (apply #'read-byte stream args))\n (:read-char (&rest args)\n (apply #'read-char stream args))\n (:read-line (&rest args)\n (apply #'read-line stream args))\n (:read (&rest args)\n (apply #'read stream args))\n (:read-sequence (seq &rest args)\n (apply #'read-sequence seq stream args))\n (:print (x)\n (print x stream))\n (:princ (x)\n (princ x stream))\n (:prin1 (x)\n (prin1 x stream))\n (:terpri ()\n (terpri stream))\n (:finish-output ()\n (finish-output stream))\n (:force-output ()\n (force-output stream))\n (:print-object (x)\n (print-object x stream))\n (:format (fmt &rest args)\n (apply #'format stream fmt args))\n (:write-byte (b)\n (write-byte b stream))\n (:write-char (c)\n (write-char c stream))\n (:write-string (str &rest args)\n (apply #'write-string str stream args))\n (:write-line (str &rest args)\n (apply #'write-line str stream args))\n (:write (x &rest args)\n (apply #'write x :stream stream args))\n (:write-sequence (seq &rest args)\n (apply #'write-sequence seq stream args))\n (t (&rest cmd)\n (error 'invalid-io-command :cmd cmd))\n ))))\n ))))\n\n(defun open-stream (reply-to filename &rest args)\n (apply #'spawn-worker #'do-async-open reply-to filename args))\n\n(define-condition stream-closed (error)\n ())\n\n(defun exec-io (reply-to stream cmds)\n (with-slots (stream-table) *async-io*\n (perform-in-actor *async-io*\n (multiple-value-bind (queue foundp)\n (gethash stream stream-table)\n (unless foundp\n (setf queue (hcl:make-unlocked-queue)\n (gethash stream stream-table) queue))\n (let ((busy (hcl:unlocked-queue-ready queue))\n (pair (cons reply-to cmds)))\n (hcl:unlocked-queue-send queue pair)\n (unless busy\n (um:nlet iter ((pair pair))\n (when pair\n (destructuring-bind (reply-to . cmds) pair\n (=bind (ans)\n (spawn-worker #'do-async-io =bind-cont stream cmds)\n (hcl:unlocked-queue-read queue)\n (send reply-to ans)\n (if (find :close cmds :key #'car)\n (um:nlet dump ()\n (um:if-let (pair (hcl:unlocked-queue-read queue))\n (progn\n (send (car pair) (um:capture-ans-or-exn\n (error 'stream-closed)))\n (go-dump))\n ;; else\n (remhash stream stream-table)))\n ;; else\n (iter (hcl:unlocked-queue-peek queue)))\n ))))\n ))))))\n\n(=defun perform (fn)\n (spawn-worker (=lambda ()\n (=values (um:call-capturing-ans-or-exn fn)))\n =bind-cont))","avg_line_length":39.515625,"max_line_length":75,"alphanum_fraction":0.4238829577} +{"size":1802,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"(in-package #:cloud)\n\n(defun list-orcs ()\n (alexandria:hash-table-keys *orcs*))\n\n(defun get-orc (orc-name &key n-instr (filepath *default-csound-path*))\n \"returns the orc string\"\n (assert (keywordp orc-name))\n (with-slots (orc) (gethash orc-name *orcs*)\n (let ((orchestra (or orc\n (alexandria:read-file-into-string\n (resolve-csound-path orc-name \".orc\" filepath)))))\n (if n-instr\n (nth n-instr (get-instr orchestra))\n orchestra))))\n\n(defun get-sco (sco-name &key (filepath *default-csound-path*))\n \"returns the score string\"\n (assert (keywordp sco-name))\n (with-slots (sco) (gethash sco-name *orcs*)\n (or sco\n (alexandria:read-file-into-string\n (resolve-csound-path sco-name \".sco\" filepath)))))\n\n(defun get-globals (orc-name &optional filter-globals)\n \"returns the string with the global definitions\"\n (assert (keywordp orc-name))\n (with-slots (globals) (gethash orc-name *orcs*)\n (if filter-globals\n (loop :for default :in '(\"sr\" \"kr\" \"ksmps\" \"nchnls\")\n :finally (return result)\n :with result := globals\n :do (setf result (cl-ppcre:regex-replace-all\n (format nil \"\\\\s*~a\\\\s*=\\\\s*.*\\\\n\" default)\n result (format nil \"~%\"))))\n globals)))\n\n(defun get-orchestra (orc-name &optional n-instr)\n \"returns an orchestra object\"\n (assert (keywordp orc-name))\n (if n-instr\n (setf *tmppartialorc*\n (make-instance 'orc\n :sco (get-sco orc-name)\n :orc (get-orc orc-name :n-instr n-instr)\n :globals (get-globals orc-name)\n :name \"slice\"))\n (gethash orc-name *orcs*)))\n","avg_line_length":36.7755102041,"max_line_length":76,"alphanum_fraction":0.5549389567} +{"size":48143,"ext":"lsp","lang":"Common Lisp","max_stars_count":null,"content":"(TAKE-OF-CONS-WHEN-POSP\n (120 2 (:DEFINITION TAKE))\n (88 5 (:REWRITE TAKE-DOES-NOTHING))\n (55 55 (:TYPE-PRESCRIPTION LEN))\n (52 6 (:REWRITE CONSP-FROM-LEN-CHEAP))\n (44 2 (:REWRITE LEN-OF-CDR))\n (28 2 (:REWRITE EQUAL-OF-LEN-AND-0))\n (20 2 (:REWRITE DEFAULT-CDR))\n (20 2 (:REWRITE DEFAULT-CAR))\n (18 10 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n (17 17 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (12 9 (:REWRITE DEFAULT-+-2))\n (9 9 (:REWRITE DEFAULT-+-1))\n (8 2 (:REWRITE ZP-OPEN))\n (7 5 (:REWRITE DEFAULT-<-2))\n (6 6 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (6 6 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (6 2 (:REWRITE FOLD-CONSTS-IN-+))\n (5 5 (:REWRITE DEFAULT-<-1))\n (5 1 (:REWRITE LEN-OF-CONS))\n (2 2 (:REWRITE CONSP-WHEN-LEN-GREATER))\n )\n(INTERSECTION-EQUAL-OF-SINGLETON-IFF-ARG2\n (115 12 (:REWRITE CONSP-FROM-LEN-CHEAP))\n (59 25 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (45 25 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (33 1 (:DEFINITION SUBSETP-EQUAL))\n (30 30 (:REWRITE DEFAULT-CAR))\n (26 13 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (25 25 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (25 25 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (25 25 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (25 25 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (24 24 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (23 12 (:REWRITE DEFAULT-<-2))\n (22 22 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (19 19 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (19 19 (:REWRITE DEFAULT-CDR))\n (17 17 (:REWRITE INTERSECTION-EQUAL-WHEN-MEMBERP-AND-MEMBERP-SAME-IFF))\n (13 13 (:TYPE-PRESCRIPTION BOOLEANP))\n (12 12 (:REWRITE DEFAULT-<-1))\n (12 12 (:REWRITE CONSP-WHEN-LEN-GREATER))\n (12 12 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (5 5 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (5 1 (:REWRITE LEN-OF-CDR))\n (3 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (1 1 (:REWRITE CONSP-OF-CDR-WHEN-LEN-KNOWN))\n )\n(NO-DUPLICATESP-EQUAL-OF-NTHCDR\n (1361 89 (:REWRITE DEFAULT-CDR))\n (268 184 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (238 196 (:REWRITE DEFAULT-+-2))\n (222 177 (:REWRITE DEFAULT-<-2))\n (220 196 (:REWRITE DEFAULT-+-1))\n (209 37 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (194 177 (:REWRITE DEFAULT-<-1))\n (170 2 (:DEFINITION SUBSETP-EQUAL))\n (111 11 (:REWRITE COMMUTATIVITY-2-OF-+))\n (89 89 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (77 11 (:REWRITE DISTRIBUTIVITY-OF-MINUS-OVER-+))\n (74 37 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (74 37 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (74 37 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (67 67 (:REWRITE CONSP-WHEN-LEN-GREATER))\n (67 24 (:REWRITE DEFAULT-CAR))\n (65 37 (:REWRITE MEMBERP-WHEN-NOT-CONS-OF-CDR-CHEAP))\n (63 35 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (53 53 (:REWRITE DEFAULT-UNARY-MINUS))\n (49 30 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n (37 37 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (37 37 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (37 37 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (37 37 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (35 35 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (35 35 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (21 7 (:DEFINITION POSP))\n (20 13 (:REWRITE NTH-WHEN-<=-LEN-CHEAP))\n (19 19 (:REWRITE CONSP-OF-CDR-WHEN-LEN-KNOWN))\n (17 13 (:REWRITE NTH-WHEN-ZP-CHEAP))\n (15 15 (:REWRITE NTHCDR-WHEN-EQUAL-OF-LEN))\n (13 13 (:REWRITE NTH-WHEN-NOT-CONSP-CHEAP))\n (10 10 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (7 7 (:TYPE-PRESCRIPTION POSP))\n (6 6 (:REWRITE ZP-OPEN))\n (2 2 (:REWRITE MEMBERP-OF-CAR-SAME))\n (2 2 (:REWRITE LEN-OF-CDDR-WHEN-EQUAL-OF-LEN))\n )\n(ADDRESSP)\n(BOOLEANP-OF-ADDRESSP)\n(ADDRESSFIX)\n(ADDRESSP-OF-ADDRESSFIX)\n(ADDRESSFIX-WHEN-ADDRESSP\n (2 2 (:REWRITE DEFAULT-<-2))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(EQUAL-OF-ADDRESSFIX-SAME\n (2 1 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (1 1 (:TYPE-PRESCRIPTION BOOLEANP))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(NEW-AD-AUX\n (103 1 (:DEFINITION SET::DELETE))\n (54 2 (:REWRITE SET::IN-TAIL-OR-HEAD))\n (23 23 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (18 6 (:REWRITE SET::IN-TAIL))\n (18 3 (:DEFINITION SET::CARDINALITY))\n (13 5 (:REWRITE SET::NEVER-IN-EMPTY))\n (12 12 (:REWRITE SET::SUBSET-IN-2))\n (12 2 (:REWRITE SET::DELETE-NONMEMBER-CANCEL))\n (12 1 (:REWRITE EQUAL-EQUAL-A-HEAD-HACK))\n (11 9 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (8 4 (:REWRITE DEFAULT-+-2))\n (8 2 (:REWRITE SET::EMPTY-SUBSET-2))\n (7 1 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (6 6 (:REWRITE SET::SUBSET-IN-2-ALT))\n (6 2 (:REWRITE SET::DELETE-PRESERVES-EMPTY))\n (6 1 (:REWRITE SET::INSERT-IDENTITY))\n (5 5 (:REWRITE SET::TAIL-PRESERVES-EMPTY))\n (5 1 (:REWRITE INSERT-WHEN-EMPTY))\n (4 4 (:REWRITE SET::SUBSET-TRANSITIVE))\n (4 4 (:REWRITE DEFAULT-+-1))\n (4 1 (:REWRITE SET::DELETE-IN))\n (3 3 (:REWRITE SUBSET-HACK))\n (2 2 (:REWRITE SET::PICK-A-POINT-SUBSET-STRATEGY))\n (2 2 (:REWRITE SET::PICK-A-POINT-SUBSET-CONSTRAINT-HELPER))\n (2 2 (:REWRITE SET::HEAD-WHEN-EMPTY))\n (2 2 (:REWRITE SET::EMPTY-SUBSET))\n (2 1 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (2 1 (:REWRITE DEFAULT-<-2))\n (2 1 (:REWRITE DEFAULT-<-1))\n (1 1 (:TYPE-PRESCRIPTION BOOLEANP))\n (1 1 (:REWRITE SET::HEAD-UNIQUE))\n )\n(NEW-AD-NOT-BOUND-HELPER\n (206 2 (:DEFINITION SET::DELETE))\n (108 4 (:REWRITE SET::IN-TAIL-OR-HEAD))\n (56 16 (:REWRITE SET::IN-TAIL))\n (48 48 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (32 12 (:REWRITE SET::NEVER-IN-EMPTY))\n (26 26 (:REWRITE SET::SUBSET-IN-2))\n (24 4 (:REWRITE SET::DELETE-NONMEMBER-CANCEL))\n (24 2 (:REWRITE EQUAL-EQUAL-A-HEAD-HACK))\n (22 14 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (22 5 (:REWRITE DEFAULT-<-1))\n (16 10 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (16 4 (:REWRITE SET::EMPTY-SUBSET-2))\n (14 2 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (12 4 (:REWRITE SET::DELETE-PRESERVES-EMPTY))\n (12 2 (:REWRITE SET::INSERT-IDENTITY))\n (10 10 (:REWRITE SET::TAIL-PRESERVES-EMPTY))\n (10 2 (:REWRITE INSERT-WHEN-EMPTY))\n (9 5 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE SET::SUBSET-TRANSITIVE))\n (8 2 (:REWRITE SET::DELETE-IN))\n (6 6 (:REWRITE SUBSET-HACK))\n (6 3 (:REWRITE DEFAULT-+-2))\n (4 4 (:REWRITE SET::PICK-A-POINT-SUBSET-STRATEGY))\n (4 4 (:REWRITE SET::PICK-A-POINT-SUBSET-CONSTRAINT-HELPER))\n (4 4 (:REWRITE SET::HEAD-WHEN-EMPTY))\n (4 4 (:REWRITE SET::EMPTY-SUBSET))\n (4 2 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (3 3 (:REWRITE DEFAULT-+-1))\n (2 2 (:TYPE-PRESCRIPTION BOOLEANP))\n (2 2 (:REWRITE SET::HEAD-UNIQUE))\n )\n(INTEGERP-OF-NEW-AD-AUX\n (204 2 (:DEFINITION SET::DELETE))\n (108 4 (:REWRITE SET::IN-TAIL-OR-HEAD))\n (56 16 (:REWRITE SET::IN-TAIL))\n (48 48 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (32 12 (:REWRITE SET::NEVER-IN-EMPTY))\n (26 26 (:REWRITE SET::SUBSET-IN-2))\n (24 4 (:REWRITE SET::DELETE-NONMEMBER-CANCEL))\n (24 2 (:REWRITE EQUAL-EQUAL-A-HEAD-HACK))\n (22 14 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (16 4 (:REWRITE SET::EMPTY-SUBSET-2))\n (14 2 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (12 4 (:REWRITE SET::DELETE-PRESERVES-EMPTY))\n (12 2 (:REWRITE SET::INSERT-IDENTITY))\n (10 10 (:REWRITE SET::TAIL-PRESERVES-EMPTY))\n (10 2 (:REWRITE INSERT-WHEN-EMPTY))\n (8 8 (:REWRITE SET::SUBSET-TRANSITIVE))\n (8 2 (:REWRITE SET::DELETE-IN))\n (6 6 (:REWRITE SUBSET-HACK))\n (4 4 (:REWRITE SET::PICK-A-POINT-SUBSET-STRATEGY))\n (4 4 (:REWRITE SET::PICK-A-POINT-SUBSET-CONSTRAINT-HELPER))\n (4 4 (:REWRITE SET::HEAD-WHEN-EMPTY))\n (4 4 (:REWRITE SET::EMPTY-SUBSET))\n (2 2 (:REWRITE SET::HEAD-UNIQUE))\n (2 2 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n )\n(NEW-AD)\n(NEW-AD-NON-NEGATIVE)\n(INTEGERP-OF-NEW-AD)\n(NATP-OF-NEW-AD)\n(NEW-AD-NOT-BOUND-HELPER2\n (349 3 (:DEFINITION SET::DELETE))\n (202 6 (:REWRITE SET::IN-TAIL-OR-HEAD))\n (98 28 (:REWRITE SET::IN-TAIL))\n (76 76 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (53 21 (:REWRITE SET::NEVER-IN-EMPTY))\n (48 48 (:REWRITE SET::SUBSET-IN-2))\n (38 24 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (36 6 (:REWRITE SET::DELETE-NONMEMBER-CANCEL))\n (36 3 (:REWRITE EQUAL-EQUAL-A-HEAD-HACK))\n (26 8 (:REWRITE SET::EMPTY-SUBSET-2))\n (21 3 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (18 6 (:REWRITE SET::DELETE-PRESERVES-EMPTY))\n (18 3 (:REWRITE SET::INSERT-IDENTITY))\n (16 16 (:REWRITE SET::SUBSET-TRANSITIVE))\n (15 15 (:REWRITE SET::TAIL-PRESERVES-EMPTY))\n (15 3 (:REWRITE INSERT-WHEN-EMPTY))\n (14 14 (:REWRITE SUBSET-HACK))\n (9 4 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (8 8 (:REWRITE SET::PICK-A-POINT-SUBSET-STRATEGY))\n (8 8 (:REWRITE SET::PICK-A-POINT-SUBSET-CONSTRAINT-HELPER))\n (8 8 (:REWRITE SET::EMPTY-SUBSET))\n (6 6 (:REWRITE SET::HEAD-WHEN-EMPTY))\n (6 3 (:REWRITE DEFAULT-+-2))\n (3 3 (:TYPE-PRESCRIPTION BOOLEANP))\n (3 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (3 3 (:REWRITE SET::HEAD-UNIQUE))\n (3 3 (:REWRITE DEFAULT-+-1))\n (3 1 (:REWRITE DEFAULT-<-1))\n (1 1 (:REWRITE DEFAULT-<-2))\n )\n(NEW-AD-NOT-MEMBERP-ADS)\n(NTH-NEW-AD\n (3 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE DEFAULT-<-1))\n (1 1 (:REWRITE ZP-OPEN))\n (1 1 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (1 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(N-NEW-ADS-AUX)\n(N-NEW-ADS)\n(NEW-ADS-SLICE)\n(IN-OF-NTH-NEW-AD-AND-N-NEW-ADS\n (10 5 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (10 5 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (10 5 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (9 5 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (9 5 (:REWRITE MEMBERP-WHEN-NOT-CONS-OF-CDR-CHEAP))\n (8 8 (:TYPE-PRESCRIPTION N-NEW-ADS-AUX))\n (5 5 (:TYPE-PRESCRIPTION LEN))\n (5 5 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (5 5 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (5 5 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (5 5 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (5 5 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (5 5 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (3 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE DEFAULT-<-1))\n (3 3 (:REWRITE DEFAULT-+-2))\n (3 3 (:REWRITE DEFAULT-+-1))\n )\n(NTH-NEW-AD-OF-1)\n(IN-OF-NEW-AD-AND-N-NEW-ADS\n (104 9 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (94 2 (:DEFINITION SUBSETP-EQUAL))\n (48 2 (:REWRITE MEMBER-EQUAL-BECOMES-MEMBERP))\n (24 2 (:REWRITE CONSP-FROM-LEN-CHEAP))\n (21 21 (:TYPE-PRESCRIPTION N-NEW-ADS-AUX))\n (19 19 (:TYPE-PRESCRIPTION LEN))\n (18 9 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (18 9 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (18 9 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (14 9 (:REWRITE MEMBERP-WHEN-NOT-CONS-OF-CDR-CHEAP))\n (11 6 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (10 10 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (9 9 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (9 9 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (9 9 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (9 9 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (7 5 (:REWRITE DEFAULT-<-2))\n (6 6 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (5 5 (:REWRITE DEFAULT-<-1))\n (5 2 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (4 2 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (4 2 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n (2 2 (:REWRITE MEMBERP-OF-CAR-SAME))\n (2 2 (:REWRITE DEFAULT-CDR))\n (2 2 (:REWRITE DEFAULT-CAR))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (2 2 (:REWRITE CONSP-WHEN-LEN-GREATER))\n (2 2 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (1 1 (:TYPE-PRESCRIPTION BOOLEANP))\n )\n(NEW-AD-AUX-BOUND\n (204 2 (:DEFINITION SET::DELETE))\n (108 4 (:REWRITE SET::IN-TAIL-OR-HEAD))\n (56 16 (:REWRITE SET::IN-TAIL))\n (48 48 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (32 12 (:REWRITE SET::NEVER-IN-EMPTY))\n (26 26 (:REWRITE SET::SUBSET-IN-2))\n (24 4 (:REWRITE SET::DELETE-NONMEMBER-CANCEL))\n (24 2 (:REWRITE EQUAL-EQUAL-A-HEAD-HACK))\n (22 14 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (16 4 (:REWRITE SET::EMPTY-SUBSET-2))\n (14 2 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (12 4 (:REWRITE SET::DELETE-PRESERVES-EMPTY))\n (12 2 (:REWRITE SET::INSERT-IDENTITY))\n (10 10 (:REWRITE SET::TAIL-PRESERVES-EMPTY))\n (10 2 (:REWRITE INSERT-WHEN-EMPTY))\n (9 5 (:REWRITE DEFAULT-<-1))\n (8 8 (:REWRITE SET::SUBSET-TRANSITIVE))\n (8 2 (:REWRITE SET::DELETE-IN))\n (6 6 (:REWRITE SUBSET-HACK))\n (5 5 (:REWRITE DEFAULT-<-2))\n (4 4 (:REWRITE SET::PICK-A-POINT-SUBSET-STRATEGY))\n (4 4 (:REWRITE SET::PICK-A-POINT-SUBSET-CONSTRAINT-HELPER))\n (4 4 (:REWRITE SET::HEAD-WHEN-EMPTY))\n (4 4 (:REWRITE SET::EMPTY-SUBSET))\n (3 3 (:REWRITE DEFAULT-+-2))\n (3 3 (:REWRITE DEFAULT-+-1))\n (2 2 (:REWRITE SET::HEAD-UNIQUE))\n (2 2 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n )\n(NEW-AD-AUX-<=-NEW-AD-AUX-WHEN-SUBSET\n (1457 12 (:DEFINITION SET::DELETE))\n (740 24 (:REWRITE SET::IN-TAIL-OR-HEAD))\n (374 1 (:REWRITE SET::DELETE-DELETE))\n (354 354 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (352 156 (:REWRITE SET::SUBSET-IN-2))\n (290 97 (:REWRITE SET::IN-TAIL))\n (272 25 (:REWRITE SET::DELETE-NONMEMBER-CANCEL))\n (226 122 (:REWRITE SET::SUBSET-TRANSITIVE))\n (218 12 (:REWRITE EQUAL-EQUAL-A-HEAD-HACK))\n (187 69 (:REWRITE SET::NEVER-IN-EMPTY))\n (159 61 (:REWRITE SET::EMPTY-SUBSET-2))\n (124 61 (:REWRITE SET::EMPTY-SUBSET))\n (117 16 (:REWRITE SET::DELETE-IN))\n (106 74 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (84 12 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (76 26 (:REWRITE SET::DELETE-PRESERVES-EMPTY))\n (72 12 (:REWRITE SET::INSERT-IDENTITY))\n (66 66 (:REWRITE SUBSET-HACK))\n (64 64 (:REWRITE SET::TAIL-PRESERVES-EMPTY))\n (61 61 (:REWRITE SET::PICK-A-POINT-SUBSET-STRATEGY))\n (61 61 (:REWRITE SET::PICK-A-POINT-SUBSET-CONSTRAINT-HELPER))\n (60 12 (:REWRITE INSERT-WHEN-EMPTY))\n (24 24 (:REWRITE SET::HEAD-WHEN-EMPTY))\n (13 13 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (12 12 (:REWRITE SET::HEAD-UNIQUE))\n (11 5 (:REWRITE DEFAULT-<-1))\n (10 10 (:REWRITE DEFAULT-+-2))\n (10 10 (:REWRITE DEFAULT-+-1))\n (9 5 (:REWRITE DEFAULT-<-2))\n (3 1 (:REWRITE FOLD-CONSTS-IN-+))\n )\n(NEW-AD-SUBSET-BOUND\n (27 27 (:TYPE-PRESCRIPTION SET::INSERT))\n (4 4 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (3 1 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (3 1 (:REWRITE INSERT-WHEN-EMPTY))\n (3 1 (:REWRITE SET::INSERT-IDENTITY))\n (1 1 (:REWRITE SUBSET-HACK))\n )\n(NTH-NEW-AD-OF-INSERT-NEW-AD\n (94 2 (:REWRITE SET::INSERT-INSERT))\n (79 9 (:REWRITE SET::INSERT-IDENTITY))\n (46 2 (:REWRITE SET::IN-INSERT))\n (23 9 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (23 9 (:REWRITE INSERT-WHEN-EMPTY))\n (20 20 (:TYPE-PRESCRIPTION NEW-AD-NON-NEGATIVE))\n (20 20 (:TYPE-PRESCRIPTION INTEGERP-OF-NEW-AD))\n (20 20 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (11 11 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (8 8 (:REWRITE SET::SUBSET-IN))\n (8 8 (:REWRITE SET::INSERT-NEVER-EMPTY))\n (8 4 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (5 5 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n (5 5 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-+-1))\n (4 2 (:REWRITE SET::IN-TAIL))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(NEW-AD-OF-SFIX\n (2878 27 (:DEFINITION SET::DELETE))\n (1410 54 (:REWRITE SET::IN-TAIL-OR-HEAD))\n (992 4 (:REWRITE SET::DELETE-DELETE))\n (832 8 (:REWRITE SET::DELETE-SFIX-CANCEL))\n (632 632 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (620 66 (:REWRITE SET::DELETE-NONMEMBER-CANCEL))\n (490 158 (:REWRITE SET::IN-TAIL))\n (416 27 (:REWRITE EQUAL-EQUAL-A-HEAD-HACK))\n (351 135 (:REWRITE SET::NEVER-IN-EMPTY))\n (322 322 (:REWRITE SET::SUBSET-IN-2))\n (291 78 (:REWRITE SET::EMPTY-SUBSET-2))\n (222 165 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (189 27 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (185 65 (:REWRITE SET::DELETE-PRESERVES-EMPTY))\n (162 27 (:REWRITE SET::INSERT-IDENTITY))\n (139 136 (:REWRITE SET::TAIL-PRESERVES-EMPTY))\n (135 27 (:REWRITE INSERT-WHEN-EMPTY))\n (128 128 (:REWRITE SET::SUBSET-TRANSITIVE))\n (125 78 (:REWRITE SET::EMPTY-SUBSET))\n (116 116 (:TYPE-PRESCRIPTION SET::SFIX))\n (113 113 (:REWRITE SUBSET-HACK))\n (64 64 (:REWRITE SET::PICK-A-POINT-SUBSET-STRATEGY))\n (64 64 (:REWRITE SET::PICK-A-POINT-SUBSET-CONSTRAINT-HELPER))\n (61 28 (:REWRITE SET::EMPTY-SFIX-CANCEL))\n (54 54 (:REWRITE SET::HEAD-WHEN-EMPTY))\n (43 11 (:REWRITE SET::SUBSET-SFIX-CANCEL-Y))\n (34 30 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (29 7 (:REWRITE SET::TAIL-SFIX-CANCEL))\n (27 27 (:REWRITE SET::HEAD-UNIQUE))\n (18 5 (:REWRITE SET::SFIX-WHEN-EMPTY))\n (9 3 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (1 1 (:REWRITE SUBSET-OF-DELETE-IRREL))\n )\n(NOT-EQUAL-NEW-AD-WHEN-BOUND\n (10 2 (:REWRITE SET::IN-TAIL))\n (4 4 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (4 4 (:REWRITE SET::SUBSET-IN))\n (3 1 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (3 1 (:REWRITE SET::NEVER-IN-EMPTY))\n (2 2 (:REWRITE SET::SUBSET-IN-2))\n (2 1 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (1 1 (:TYPE-PRESCRIPTION BOOLEANP))\n (1 1 (:REWRITE SET::SUBSET-IN-2-ALT))\n )\n(NOT-EQUAL-NEW-AD-WHEN-BOUND-ALT)\n(EQUAL-NTH-NEW-AD-NIL)\n(EQUAL-NTH-NEW-AD-NIL2)\n(NTH-NEW-AD-NOT-IN-ADS\n (30 6 (:REWRITE SET::IN-TAIL))\n (24 24 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (14 14 (:REWRITE SET::SUBSET-IN))\n (9 3 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (9 3 (:REWRITE SET::NEVER-IN-EMPTY))\n (9 3 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (9 3 (:REWRITE INSERT-WHEN-EMPTY))\n (9 3 (:REWRITE SET::INSERT-IDENTITY))\n (8 8 (:REWRITE SET::SUBSET-IN-2))\n (6 5 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (4 4 (:REWRITE ZP-OPEN))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (1 1 (:REWRITE SUBSET-HACK))\n (1 1 (:REWRITE NOT-EQUAL-NEW-AD-WHEN-BOUND-ALT))\n (1 1 (:REWRITE NOT-EQUAL-NEW-AD-WHEN-BOUND))\n )\n(NTH-NEW-AD-COLLECT\n (4 4 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (4 2 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (4 2 (:REWRITE INSERT-WHEN-EMPTY))\n (4 2 (:REWRITE SET::INSERT-IDENTITY))\n (1 1 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (1 1 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n )\n(NOT-EQUAL-NTH-NEW-AD-WHEN-BOUND\n (10 2 (:REWRITE SET::IN-TAIL))\n (4 4 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (4 4 (:REWRITE SET::SUBSET-IN))\n (3 1 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (3 1 (:REWRITE SET::NEVER-IN-EMPTY))\n (2 2 (:REWRITE SET::SUBSET-IN-2))\n (2 1 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (1 1 (:TYPE-PRESCRIPTION BOOLEANP))\n (1 1 (:REWRITE SET::SUBSET-IN-2-ALT))\n )\n(NOT-EQUAL-NTH-NEW-AD-WHEN-BOUND-ALT\n (10 2 (:REWRITE SET::IN-TAIL))\n (4 4 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (4 4 (:REWRITE SET::SUBSET-IN))\n (3 1 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (3 1 (:REWRITE SET::NEVER-IN-EMPTY))\n (2 2 (:REWRITE SET::SUBSET-IN-2))\n (1 1 (:REWRITE SET::SUBSET-IN-2-ALT))\n )\n(NEW-AD-EQUAL-NTH-NEW-AD)\n(N-NEW-ADS-OF-0\n (2 1 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n (1 1 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n )\n(EQUAL-NEW-AD-NIL)\n(EQUAL-NEW-AD-NIL2)\n(NEW-AD-NOT-EQUAL-NTH-NEW-AD\n (16 16 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (16 4 (:REWRITE NOT-EQUAL-NEW-AD-WHEN-BOUND-ALT))\n (12 4 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (12 4 (:REWRITE INSERT-WHEN-EMPTY))\n (12 4 (:REWRITE SET::INSERT-IDENTITY))\n (9 3 (:REWRITE NOT-EQUAL-NTH-NEW-AD-WHEN-BOUND))\n (9 3 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (6 6 (:REWRITE SET::SUBSET-IN))\n (6 6 (:REWRITE NTH-NEW-AD-NOT-IN-ADS))\n (3 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE DEFAULT-<-1))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (2 1 (:REWRITE SET::IN-TAIL))\n )\n(CONSP-OF-N-NEW-ADS\n (46 4 (:REWRITE CONSP-FROM-LEN-CHEAP))\n (10 6 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (10 5 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n (9 5 (:REWRITE DEFAULT-<-2))\n (5 5 (:REWRITE DEFAULT-<-1))\n (4 4 (:REWRITE DEFAULT-+-2))\n (4 4 (:REWRITE DEFAULT-+-1))\n (4 4 (:REWRITE CONSP-WHEN-LEN-GREATER))\n (4 4 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n )\n(EQUAL-NTH-NEW-AD-NTH-NEW-AD\n (124 18 (:REWRITE SET::INSERT-IDENTITY))\n (58 58 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (52 6 (:REWRITE NOT-EQUAL-NTH-NEW-AD-WHEN-BOUND))\n (51 31 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (50 18 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (50 18 (:REWRITE INSERT-WHEN-EMPTY))\n (24 24 (:REWRITE SET::SUBSET-IN))\n (15 15 (:REWRITE DEFAULT-<-2))\n (15 15 (:REWRITE DEFAULT-<-1))\n (14 14 (:REWRITE NTH-NEW-AD-NOT-IN-ADS))\n (14 14 (:REWRITE DEFAULT-+-2))\n (14 14 (:REWRITE DEFAULT-+-1))\n (11 3 (:REWRITE SET::IN-TAIL))\n (8 8 (:REWRITE SET::INSERT-NEVER-EMPTY))\n (3 1 (:REWRITE SET::TAIL-WHEN-EMPTY))\n )\n(NOT-MEMBERP-NTH-NEW-AD-N-NEW-ADS\n (46 6 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (39 1 (:DEFINITION SUBSETP-EQUAL))\n (16 16 (:TYPE-PRESCRIPTION N-NEW-ADS-AUX))\n (15 1 (:REWRITE MEMBER-EQUAL-BECOMES-MEMBERP))\n (13 12 (:REWRITE DEFAULT-<-2))\n (12 12 (:REWRITE DEFAULT-<-1))\n (12 6 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (12 6 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (12 6 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (12 1 (:REWRITE CONSP-FROM-LEN-CHEAP))\n (11 11 (:TYPE-PRESCRIPTION LEN))\n (10 5 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (6 6 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (6 6 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (6 6 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (6 6 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (5 5 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (5 5 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (3 3 (:REWRITE ZP-OPEN))\n (2 2 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (2 1 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (2 1 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n (1 1 (:REWRITE DEFAULT-CDR))\n (1 1 (:REWRITE DEFAULT-CAR))\n (1 1 (:REWRITE CONSP-WHEN-LEN-GREATER))\n (1 1 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n )\n(NO-DUPLICATESP-EQUAL-OF-N-NEW-ADS\n (142 11 (:REWRITE NO-DUPLICATESP-EQUAL-WHEN-NO-DUPLICATESP-EQUAL-OF-CDR))\n (61 5 (:REWRITE DEFAULT-CDR))\n (55 5 (:REWRITE CONSP-FROM-LEN-CHEAP))\n (37 37 (:TYPE-PRESCRIPTION N-NEW-ADS-AUX))\n (25 5 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n (22 4 (:REWRITE NO-DUPLICATESP-EQUAL-OF-CDR))\n (21 21 (:TYPE-PRESCRIPTION LEN))\n (20 10 (:REWRITE NO-DUPLICATESP-EQUAL-WHEN-NOT-CONSP-CHEAP))\n (20 10 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (15 1 (:REWRITE DEFAULT-CAR))\n (5 5 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (4 4 (:REWRITE ZP-OPEN))\n (3 3 (:TYPE-PRESCRIPTION MEMBERP))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (2 1 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (2 1 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (2 1 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (2 1 (:REWRITE MEMBERP-WHEN-NOT-CONS-OF-CDR-CHEAP))\n (2 1 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (1 1 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (1 1 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (1 1 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (1 1 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (1 1 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (1 1 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n )\n(LEN-OF-N-NEW-ADS\n (18 9 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n (10 5 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (6 3 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (5 5 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-+-1))\n (3 3 (:REWRITE ZP-OPEN))\n (3 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE DEFAULT-<-1))\n )\n(TRUE-LISTP-OF-N-NEW-ADS)\n(CAR-LAST-OF-N-NEW-ADS-AUX\n (255 18 (:REWRITE CONSP-FROM-LEN-CHEAP))\n (72 5 (:REWRITE LEN-OF-CDR))\n (66 5 (:REWRITE DEFAULT-CAR))\n (58 14 (:REWRITE DEFAULT-CDR))\n (55 30 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (35 5 (:REWRITE NOT-EQUAL-NEW-AD-WHEN-BOUND-ALT))\n (35 5 (:REWRITE NOT-EQUAL-NEW-AD-WHEN-BOUND))\n (30 30 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (26 5 (:REWRITE EQUAL-OF-LEN-AND-0))\n (25 10 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (23 11 (:REWRITE DEFAULT-<-2))\n (20 20 (:REWRITE SET::SUBSET-IN))\n (20 10 (:REWRITE SET::IN-TAIL))\n (18 18 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (16 11 (:REWRITE DEFAULT-+-2))\n (12 12 (:REWRITE CONSP-WHEN-LEN-GREATER))\n (11 11 (:REWRITE DEFAULT-<-1))\n (11 11 (:REWRITE DEFAULT-+-1))\n (5 5 (:TYPE-PRESCRIPTION BOOLEANP))\n (5 5 (:REWRITE CONSP-OF-CDR-WHEN-LEN-KNOWN))\n )\n(LEN-OF-N-NEW-ADS-AUX\n (18 9 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n (10 5 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (6 3 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (5 5 (:REWRITE DEFAULT-+-2))\n (5 5 (:REWRITE DEFAULT-+-1))\n (3 3 (:REWRITE ZP-OPEN))\n (3 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE DEFAULT-<-1))\n )\n(CONSP-OF-N-NEW-ADS-AUX\n (8 6 (:REWRITE DEFAULT-<-2))\n (6 6 (:REWRITE DEFAULT-<-1))\n (6 4 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (3 3 (:TYPE-PRESCRIPTION NATP))\n (3 3 (:REWRITE DEFAULT-+-2))\n (3 3 (:REWRITE DEFAULT-+-1))\n (3 3 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (3 1 (:DEFINITION NATP))\n (2 2 (:REWRITE ZP-OPEN))\n (2 2 (:REWRITE CONSP-WHEN-LEN-GREATER))\n )\n(NOT-MEMBERP-N-NEW-ADS\n (43 6 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (40 8 (:REWRITE SET::IN-TAIL))\n (36 1 (:DEFINITION SUBSETP-EQUAL))\n (16 16 (:TYPE-PRESCRIPTION N-NEW-ADS-AUX))\n (16 16 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (16 16 (:REWRITE SET::SUBSET-IN))\n (15 1 (:REWRITE MEMBER-EQUAL-BECOMES-MEMBERP))\n (12 6 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (12 6 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (12 6 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (12 4 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (12 4 (:REWRITE SET::NEVER-IN-EMPTY))\n (10 5 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (9 3 (:REWRITE CONSP-OF-N-NEW-ADS-AUX))\n (8 8 (:REWRITE SET::SUBSET-IN-2))\n (6 6 (:TYPE-PRESCRIPTION LEN))\n (6 6 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (6 6 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (6 6 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (6 6 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (6 1 (:REWRITE DEFAULT-CDR))\n (6 1 (:REWRITE DEFAULT-CAR))\n (5 5 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (5 5 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (4 4 (:REWRITE ZP-OPEN))\n (4 4 (:REWRITE SET::SUBSET-IN-2-ALT))\n (3 3 (:REWRITE DEFAULT-<-2))\n (3 3 (:REWRITE DEFAULT-<-1))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n )\n(NTH-OF-N-NEW-ADS\n (51 51 (:REWRITE DEFAULT-+-2))\n (51 51 (:REWRITE DEFAULT-+-1))\n (42 6 (:REWRITE NOT-EQUAL-NTH-NEW-AD-WHEN-BOUND-ALT))\n (42 6 (:REWRITE NOT-EQUAL-NTH-NEW-AD-WHEN-BOUND))\n (36 36 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (24 24 (:REWRITE SET::SUBSET-IN))\n (24 24 (:REWRITE DEFAULT-<-2))\n (24 24 (:REWRITE DEFAULT-<-1))\n (24 12 (:REWRITE SET::IN-TAIL))\n (14 7 (:REWRITE NTH-WHEN-NOT-CONSP-CHEAP))\n (14 7 (:REWRITE NTH-WHEN-<=-LEN-CHEAP))\n (13 6 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (8 8 (:REWRITE DEFAULT-UNARY-MINUS))\n (6 6 (:TYPE-PRESCRIPTION ZP))\n (5 5 (:TYPE-PRESCRIPTION BOOLEANP))\n (1 1 (:TYPE-PRESCRIPTION REVERSE-LIST))\n )\n(CAR-OF-N-NEW-ADS\n (2 2 (:REWRITE DEFAULT-<-2))\n (2 2 (:REWRITE DEFAULT-<-1))\n )\n(CONS-NEW-AD-AND-2ND-AD\n (11 11 (:TYPE-PRESCRIPTION BINARY-APPEND))\n (5 3 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (5 3 (:REWRITE INSERT-WHEN-EMPTY))\n (5 3 (:REWRITE SET::INSERT-IDENTITY))\n (4 4 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (1 1 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (1 1 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n )\n(N-NEW-ADS-AUX-HACK\n (16 16 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (15 6 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (12 4 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (12 4 (:REWRITE INSERT-WHEN-EMPTY))\n (12 4 (:REWRITE SET::INSERT-IDENTITY))\n (9 9 (:REWRITE DEFAULT-+-2))\n (9 9 (:REWRITE DEFAULT-+-1))\n (8 4 (:REWRITE DEFAULT-CDR))\n (8 4 (:REWRITE DEFAULT-CAR))\n (4 4 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (4 4 (:TYPE-PRESCRIPTION BOOLEANP))\n (4 4 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n )\n(N-NEW-ADS-AUX-OF-INSERT-OF-NEW-AD\n (49 49 (:REWRITE DEFAULT-+-2))\n (49 49 (:REWRITE DEFAULT-+-1))\n (22 3 (:REWRITE TAKE-DOES-NOTHING))\n (16 16 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (13 7 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (13 5 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (13 5 (:REWRITE INSERT-WHEN-EMPTY))\n (13 5 (:REWRITE SET::INSERT-IDENTITY))\n (9 3 (:REWRITE ZP-OPEN))\n (8 8 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE DEFAULT-<-1))\n (7 5 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (4 4 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (4 4 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n (3 3 (:TYPE-PRESCRIPTION LEN))\n (3 2 (:REWRITE DEFAULT-CDR))\n (3 2 (:REWRITE DEFAULT-CAR))\n (1 1 (:TYPE-PRESCRIPTION BOOLEANP))\n )\n(N-NEW-ADS-OF-INSERT-NEW-AD\n (17 17 (:REWRITE DEFAULT-+-2))\n (17 17 (:REWRITE DEFAULT-+-1))\n (17 3 (:REWRITE TAKE-DOES-NOTHING))\n (8 1 (:REWRITE CONSP-FROM-LEN-CHEAP))\n (6 4 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (6 3 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (5 5 (:REWRITE DEFAULT-<-2))\n (5 5 (:REWRITE DEFAULT-<-1))\n (5 1 (:REWRITE TAKE-OF-CONS-WHEN-POSP))\n (4 4 (:TYPE-PRESCRIPTION LEN))\n (4 4 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (4 2 (:REWRITE APPEND-WHEN-NOT-CONSP-ARG1-CHEAP))\n (3 3 (:REWRITE ZP-OPEN))\n (3 1 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (3 1 (:REWRITE INSERT-WHEN-EMPTY))\n (3 1 (:REWRITE SET::INSERT-IDENTITY))\n (3 1 (:DEFINITION POSP))\n (2 1 (:REWRITE LEN-OF-REVERSE-LIST))\n (1 1 (:TYPE-PRESCRIPTION POSP))\n (1 1 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (1 1 (:TYPE-PRESCRIPTION BOOLEANP))\n (1 1 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n (1 1 (:REWRITE DEFAULT-CDR))\n (1 1 (:REWRITE CONSP-WHEN-LEN-GREATER))\n (1 1 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n )\n(CDR-OF-N-NEW-ADS)\n(NEW-AD-NOT-MEMBERP-OF-NEW-ADS-SLICE\n (712 21 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (691 6 (:DEFINITION SUBSETP-EQUAL))\n (243 4 (:REWRITE NOT-MEMBERP-OF-NTHCDR))\n (213 2 (:REWRITE NOT-MEMBERP-OF-TAKE))\n (146 6 (:REWRITE CONSP-FROM-LEN-CHEAP))\n (132 132 (:REWRITE DEFAULT-+-2))\n (132 132 (:REWRITE DEFAULT-+-1))\n (104 4 (:REWRITE DEFAULT-CDR))\n (100 4 (:REWRITE LEN-OF-NTHCDR))\n (92 2 (:REWRITE CAR-OF-NTHCDR))\n (85 6 (:REWRITE MEMBER-EQUAL-BECOMES-MEMBERP))\n (84 81 (:REWRITE DEFAULT-<-1))\n (81 81 (:REWRITE DEFAULT-<-2))\n (78 2 (:REWRITE NTH-OF-REVERSE-LIST))\n (57 57 (:TYPE-PRESCRIPTION REVERSE-LIST))\n (56 28 (:TYPE-PRESCRIPTION TRUE-LISTP-NTHCDR-TYPE-PRESCRIPTION))\n (47 11 (:REWRITE NTHCDR-WHEN-NOT-POSP))\n (46 2 (:REWRITE CAR-OF-REVERSE-LIST))\n (42 21 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (42 21 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (42 21 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (42 19 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (40 4 (:REWRITE CONSP-OF-NTHCDR))\n (34 15 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (30 9 (:REWRITE TAKE-DOES-NOTHING))\n (30 2 (:REWRITE NTH-OF-TAKE-GEN2))\n (30 2 (:REWRITE CDR-OF-REVERSE-LIST))\n (27 27 (:REWRITE DEFAULT-UNARY-MINUS))\n (27 9 (:DEFINITION POSP))\n (25 25 (:TYPE-PRESCRIPTION N-NEW-ADS-AUX))\n (24 24 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (24 6 (:REWRITE LEN-OF-TAKE))\n (21 21 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (21 21 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (21 21 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (21 21 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (15 15 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (15 1 (:REWRITE MEMBERP-OF-NTH-AND-TAKE))\n (14 2 (:REWRITE TAKE-OF-TAKE-WHEN-<=))\n (13 13 (:REWRITE NTHCDR-WHEN-EQUAL-OF-LEN))\n (12 6 (:REWRITE NTH-WHEN-ZP-CHEAP))\n (12 6 (:REWRITE NTH-WHEN-NOT-CONSP-CHEAP))\n (12 6 (:REWRITE NTH-WHEN-<=-LEN-CHEAP))\n (9 9 (:TYPE-PRESCRIPTION POSP))\n (7 7 (:TYPE-PRESCRIPTION TRUE-LISTP-TAKE))\n (7 7 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (6 6 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (6 3 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n (6 2 (:REWRITE DEFAULT-CAR))\n (5 5 (:TYPE-PRESCRIPTION NATP))\n (5 1 (:REWRITE MEMBERP-NTH-OF-SELF))\n (4 4 (:REWRITE CONSP-WHEN-LEN-GREATER))\n (2 2 (:REWRITE CDR-CONS))\n (2 2 (:REWRITE CAR-CONS))\n (1 1 (:REWRITE PERM-OF-APPEND-WHEN-NOT-CONSP))\n )\n(LEN-OF-NEW-ADS-SLICE\n (7 7 (:REWRITE DEFAULT-+-2))\n (7 7 (:REWRITE DEFAULT-+-1))\n (6 6 (:REWRITE DEFAULT-<-2))\n (6 6 (:REWRITE DEFAULT-<-1))\n (3 3 (:REWRITE FOLD-CONSTS-IN-+))\n (3 3 (:REWRITE DEFAULT-UNARY-MINUS))\n (1 1 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n )\n(NO-DUPLICATESP-EQUAL-OF-NEW-ADS-SLICE)\n(NOT-MEMBERP-OF-NEW-ADS-SLICE\n (10 2 (:REWRITE SET::IN-TAIL))\n (5 1 (:REWRITE NTHCDR-WHEN-NOT-POSP))\n (4 4 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (4 4 (:REWRITE SET::SUBSET-IN))\n (3 1 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (3 1 (:REWRITE SET::NEVER-IN-EMPTY))\n (3 1 (:REWRITE MEMBERP-WHEN-NOT-CONS-OF-CDR-CHEAP))\n (3 1 (:DEFINITION POSP))\n (2 2 (:TYPE-PRESCRIPTION N-NEW-ADS))\n (2 2 (:REWRITE SET::SUBSET-IN-2))\n (2 1 (:TYPE-PRESCRIPTION TRUE-LISTP-NTHCDR-TYPE-PRESCRIPTION))\n (2 1 (:REWRITE NTHCDR-WHEN-NOT-CONSP-CHEAP))\n (2 1 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (2 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:TYPE-PRESCRIPTION POSP))\n (1 1 (:REWRITE SET::SUBSET-IN-2-ALT))\n (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (1 1 (:REWRITE NTHCDR-WHEN-EQUAL-OF-LEN))\n (1 1 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (1 1 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (1 1 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (1 1 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(NTH-OF-NEW-ADS-SLICE\n (8 8 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE DEFAULT-<-1))\n (8 8 (:REWRITE DEFAULT-+-2))\n (8 8 (:REWRITE DEFAULT-+-1))\n (1 1 (:REWRITE DEFAULT-UNARY-MINUS))\n )\n(MEMBERP-OF-NTH-NEW-AD-AND-NEW-ADS-SLICE\n (323 4 (:DEFINITION SUBSETP-EQUAL))\n (112 112 (:REWRITE DEFAULT-<-2))\n (112 112 (:REWRITE DEFAULT-<-1))\n (112 112 (:REWRITE DEFAULT-+-2))\n (112 112 (:REWRITE DEFAULT-+-1))\n (112 4 (:REWRITE MEMBER-EQUAL-BECOMES-MEMBERP))\n (87 5 (:REWRITE NOT-MEMBERP-OF-NTHCDR))\n (62 4 (:REWRITE DEFAULT-CDR))\n (56 56 (:TYPE-PRESCRIPTION REVERSE-LIST))\n (54 27 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (54 2 (:REWRITE CONSP-FROM-LEN-CHEAP))\n (52 26 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (52 26 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (50 50 (:TYPE-PRESCRIPTION N-NEW-ADS-AUX))\n (47 21 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (44 22 (:TYPE-PRESCRIPTION TRUE-LISTP-NTHCDR-TYPE-PRESCRIPTION))\n (40 2 (:REWRITE LEN-OF-NTHCDR))\n (39 1 (:REWRITE CAR-OF-NTHCDR))\n (37 2 (:REWRITE NOT-MEMBERP-OF-TAKE))\n (34 28 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (32 1 (:REWRITE NTH-OF-REVERSE-LIST))\n (28 28 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (28 15 (:REWRITE NTHCDR-WHEN-NOT-CONSP-CHEAP))\n (27 27 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (27 5 (:REWRITE TAKE-DOES-NOTHING))\n (26 26 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (26 10 (:REWRITE CONSP-OF-N-NEW-ADS-AUX))\n (22 22 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (22 10 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (21 1 (:REWRITE CDR-OF-TAKE))\n (20 2 (:REWRITE CONSP-OF-NTHCDR))\n (18 8 (:REWRITE NOT-MEMBERP-NTH-NEW-AD-N-NEW-ADS))\n (18 3 (:REWRITE DEFAULT-CAR))\n (18 3 (:REWRITE ASSOCIATIVITY-OF-+))\n (15 15 (:REWRITE NTHCDR-WHEN-EQUAL-OF-LEN))\n (15 15 (:REWRITE DEFAULT-UNARY-MINUS))\n (13 9 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (12 3 (:REWRITE ZP-OPEN))\n (11 1 (:REWRITE CAR-OF-TAKE-STRONG))\n (8 1 (:REWRITE LEN-OF-CDR))\n (6 6 (:TYPE-PRESCRIPTION NATP))\n (6 2 (:REWRITE MEMBERP-OF-CAR-SAME))\n (5 5 (:TYPE-PRESCRIPTION TRUE-LISTP-TAKE))\n (5 1 (:REWRITE CONSP-OF-TAKE))\n (4 2 (:REWRITE NTH-WHEN-ZP-CHEAP))\n (4 2 (:REWRITE NTH-WHEN-NOT-CONSP-CHEAP))\n (4 2 (:REWRITE NTH-WHEN-<=-LEN-CHEAP))\n (2 2 (:TYPE-PRESCRIPTION ZP))\n (2 2 (:TYPE-PRESCRIPTION BOOLEANP))\n (2 2 (:REWRITE PERM-OF-APPEND-WHEN-NOT-CONSP))\n (2 2 (:REWRITE CONSP-WHEN-LEN-GREATER))\n (2 2 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (1 1 (:REWRITE MEMBERP-OF-CAR-AND-TAKE))\n )\n(NEW-AD-NOT-MEMBERP-OF-NEW-ADS\n (712 21 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (691 6 (:DEFINITION SUBSETP-EQUAL))\n (243 4 (:REWRITE NOT-MEMBERP-OF-NTHCDR))\n (213 2 (:REWRITE NOT-MEMBERP-OF-TAKE))\n (146 6 (:REWRITE CONSP-FROM-LEN-CHEAP))\n (132 132 (:REWRITE DEFAULT-+-2))\n (132 132 (:REWRITE DEFAULT-+-1))\n (104 4 (:REWRITE DEFAULT-CDR))\n (100 4 (:REWRITE LEN-OF-NTHCDR))\n (92 2 (:REWRITE CAR-OF-NTHCDR))\n (85 6 (:REWRITE MEMBER-EQUAL-BECOMES-MEMBERP))\n (84 81 (:REWRITE DEFAULT-<-1))\n (81 81 (:REWRITE DEFAULT-<-2))\n (78 2 (:REWRITE NTH-OF-REVERSE-LIST))\n (57 57 (:TYPE-PRESCRIPTION REVERSE-LIST))\n (56 28 (:TYPE-PRESCRIPTION TRUE-LISTP-NTHCDR-TYPE-PRESCRIPTION))\n (47 11 (:REWRITE NTHCDR-WHEN-NOT-POSP))\n (46 2 (:REWRITE CAR-OF-REVERSE-LIST))\n (42 21 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (42 21 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (42 21 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (42 19 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (40 4 (:REWRITE CONSP-OF-NTHCDR))\n (34 15 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (30 9 (:REWRITE TAKE-DOES-NOTHING))\n (30 2 (:REWRITE NTH-OF-TAKE-GEN2))\n (30 2 (:REWRITE CDR-OF-REVERSE-LIST))\n (27 27 (:REWRITE DEFAULT-UNARY-MINUS))\n (27 9 (:DEFINITION POSP))\n (25 25 (:TYPE-PRESCRIPTION N-NEW-ADS-AUX))\n (24 24 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (24 6 (:REWRITE LEN-OF-TAKE))\n (21 21 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (21 21 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (21 21 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (21 21 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (15 15 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (15 1 (:REWRITE MEMBERP-OF-NTH-AND-TAKE))\n (14 2 (:REWRITE TAKE-OF-TAKE-WHEN-<=))\n (13 13 (:REWRITE NTHCDR-WHEN-EQUAL-OF-LEN))\n (12 6 (:REWRITE NTH-WHEN-ZP-CHEAP))\n (12 6 (:REWRITE NTH-WHEN-NOT-CONSP-CHEAP))\n (12 6 (:REWRITE NTH-WHEN-<=-LEN-CHEAP))\n (9 9 (:TYPE-PRESCRIPTION POSP))\n (7 7 (:TYPE-PRESCRIPTION TRUE-LISTP-TAKE))\n (7 7 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (6 6 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (6 3 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n (6 2 (:REWRITE DEFAULT-CAR))\n (5 5 (:TYPE-PRESCRIPTION NATP))\n (5 1 (:REWRITE MEMBERP-NTH-OF-SELF))\n (4 4 (:REWRITE CONSP-WHEN-LEN-GREATER))\n (2 2 (:REWRITE CDR-CONS))\n (2 2 (:REWRITE CAR-CONS))\n (1 1 (:REWRITE PERM-OF-APPEND-WHEN-NOT-CONSP))\n )\n(NEW-ADS-SLICE-IFF\n (10 10 (:REWRITE DEFAULT-<-2))\n (10 10 (:REWRITE DEFAULT-<-1))\n (4 2 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (4 1 (:DEFINITION N-NEW-ADS-AUX))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (1 1 (:REWRITE ZP-OPEN))\n (1 1 (:REWRITE NTHCDR-WHEN-EQUAL-OF-LEN))\n (1 1 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n )\n(NEW-ADS-TYPE\n (6 6 (:REWRITE DEFAULT-<-2))\n (6 6 (:REWRITE DEFAULT-<-1))\n (3 1 (:DEFINITION N-NEW-ADS-AUX))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (2 1 (:LINEAR LEN-POSITIVE-WHEN-CONSP-LINEAR-CHEAP))\n )\n(NEW-ADS-SLICE-RECOLLECT-1\n (25 25 (:REWRITE DEFAULT-+-2))\n (25 25 (:REWRITE DEFAULT-+-1))\n (15 15 (:REWRITE DEFAULT-<-2))\n (15 15 (:REWRITE DEFAULT-<-1))\n (7 3 (:REWRITE NTHCDR-WHEN-NOT-POSP))\n (6 3 (:REWRITE NTHCDR-WHEN-NOT-CONSP-CHEAP))\n (6 2 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (4 4 (:REWRITE NTHCDR-WHEN-EQUAL-OF-LEN))\n (3 3 (:TYPE-PRESCRIPTION NEW-ADS-TYPE))\n (3 3 (:REWRITE DEFAULT-UNARY-MINUS))\n (3 1 (:DEFINITION POSP))\n (2 2 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (2 2 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (1 1 (:TYPE-PRESCRIPTION POSP))\n )\n(NEW-ADS-SLICE-RECOLLECT-2\n (51 49 (:REWRITE DEFAULT-+-2))\n (49 49 (:REWRITE DEFAULT-+-1))\n (35 11 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (34 34 (:TYPE-PRESCRIPTION BINARY-APPEND))\n (15 15 (:REWRITE DEFAULT-<-2))\n (15 15 (:REWRITE DEFAULT-<-1))\n (11 11 (:REWRITE DEFAULT-UNARY-MINUS))\n (9 3 (:REWRITE APPEND-WHEN-NOT-CONSP-ARG1-CHEAP))\n (7 7 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n (7 3 (:REWRITE NTHCDR-WHEN-NOT-POSP))\n (6 3 (:REWRITE NTHCDR-WHEN-NOT-CONSP-CHEAP))\n (4 3 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (3 3 (:TYPE-PRESCRIPTION NEW-ADS-TYPE))\n (3 3 (:REWRITE NTHCDR-WHEN-EQUAL-OF-LEN))\n (3 1 (:DEFINITION POSP))\n (1 1 (:TYPE-PRESCRIPTION POSP))\n (1 1 (:TYPE-PRESCRIPTION BOOLEANP))\n (1 1 (:REWRITE CONSP-WHEN-LEN-GREATER))\n )\n(NEW-ADS-SLICE-OUT-OF-ORDER-INDICES\n (11 11 (:REWRITE DEFAULT-<-2))\n (11 11 (:REWRITE DEFAULT-<-1))\n (5 1 (:REWRITE NTHCDR-WHEN-NOT-POSP))\n (3 3 (:TYPE-PRESCRIPTION NEW-ADS-TYPE))\n (3 1 (:DEFINITION POSP))\n (2 2 (:REWRITE NTHCDR-WHEN-EQUAL-OF-LEN))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (2 1 (:REWRITE NTHCDR-WHEN-NOT-CONSP-CHEAP))\n (1 1 (:TYPE-PRESCRIPTION POSP))\n (1 1 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n )\n(NEW-ADS-SLICE-OPENER\n (13 13 (:REWRITE DEFAULT-+-2))\n (13 13 (:REWRITE DEFAULT-+-1))\n (8 8 (:REWRITE DEFAULT-<-2))\n (8 8 (:REWRITE DEFAULT-<-1))\n (7 3 (:REWRITE NTHCDR-WHEN-NOT-POSP))\n (6 3 (:REWRITE NTHCDR-WHEN-NOT-CONSP-CHEAP))\n (4 1 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (3 3 (:REWRITE NTHCDR-WHEN-EQUAL-OF-LEN))\n (3 1 (:REWRITE LEN-WHEN-NOT-CONSP-CHEAP))\n (3 1 (:DEFINITION POSP))\n (2 2 (:REWRITE DEFAULT-UNARY-MINUS))\n (1 1 (:TYPE-PRESCRIPTION POSP))\n (1 1 (:TYPE-PRESCRIPTION BOOLEANP))\n (1 1 (:REWRITE CONSP-WHEN-LEN-EQUAL-CONSTANT))\n )\n(MEMBERP-OF-NEW-AD-CONS-NTH-NEW-AD\n (6 3 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (6 3 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (6 3 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (3 3 (:TYPE-PRESCRIPTION LEN))\n (3 3 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (3 3 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (3 3 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (3 3 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (3 3 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (3 3 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (3 3 (:REWRITE MEMBERP-WHEN-NOT-CONS-OF-CDR-CHEAP))\n (3 3 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (2 2 (:REWRITE DEFAULT-<-2))\n (2 2 (:REWRITE DEFAULT-<-1))\n (1 1 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n )\n(N-NEW-ADS-IFF\n (4 1 (:DEFINITION N-NEW-ADS-AUX))\n (3 3 (:REWRITE ZP-OPEN))\n (1 1 (:REWRITE DEFAULT-<-2))\n (1 1 (:REWRITE DEFAULT-<-1))\n (1 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(FW\n (116 9 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (106 2 (:DEFINITION SUBSETP-EQUAL))\n (66 2 (:REWRITE MEMBER-EQUAL-BECOMES-MEMBERP))\n (35 35 (:TYPE-PRESCRIPTION N-NEW-ADS-AUX))\n (25 25 (:REWRITE DEFAULT-<-2))\n (25 25 (:REWRITE DEFAULT-<-1))\n (24 8 (:REWRITE CONSP-OF-N-NEW-ADS-AUX))\n (18 9 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (18 9 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (18 9 (:REWRITE MEMBERP-WHEN-NOT-CONS-OF-CDR-CHEAP))\n (18 9 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (12 6 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (12 2 (:REWRITE DEFAULT-CDR))\n (12 2 (:REWRITE DEFAULT-CAR))\n (10 10 (:TYPE-PRESCRIPTION SUBSETP-EQUAL))\n (10 2 (:REWRITE MEMBERP-OF-CAR-SAME))\n (9 9 (:TYPE-PRESCRIPTION LEN))\n (9 9 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (9 9 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (9 9 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (9 9 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n (8 4 (:REWRITE NOT-MEMBERP-NTH-NEW-AD-N-NEW-ADS))\n (7 7 (:REWRITE DEFAULT-+-2))\n (7 7 (:REWRITE DEFAULT-+-1))\n (6 6 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (4 2 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (4 1 (:REWRITE ZP-OPEN))\n (3 1 (:REWRITE FOLD-CONSTS-IN-+))\n (1 1 (:TYPE-PRESCRIPTION BOOLEANP))\n )\n(MEMBERP-NTH-NEW-AD-N-NEW-ADS\n (11 11 (:REWRITE DEFAULT-<-2))\n (11 11 (:REWRITE DEFAULT-<-1))\n (8 2 (:DEFINITION N-NEW-ADS-AUX))\n (4 4 (:TYPE-PRESCRIPTION NATP))\n (2 2 (:TYPE-PRESCRIPTION N-NEW-ADS-AUX))\n (2 2 (:REWRITE ZP-OPEN))\n (2 2 (:REWRITE DEFAULT-+-2))\n (2 2 (:REWRITE DEFAULT-+-1))\n (2 1 (:REWRITE MEMBERP-WHEN-SINGLETON-CHEAP))\n (2 1 (:REWRITE MEMBERP-WHEN-NOT-MEMBERP-OF-CDR-CHEAP))\n (2 1 (:REWRITE MEMBERP-WHEN-NOT-CONSP-CHEAP))\n (2 1 (:REWRITE MEMBERP-WHEN-NOT-CONS-OF-CDR-CHEAP))\n (2 1 (:REWRITE MEMBERP-WHEN-MEMBERP-OF-CDR-CHEAP))\n (1 1 (:TYPE-PRESCRIPTION LEN))\n (1 1 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-OF-TAKE))\n (1 1 (:REWRITE NOT-MEMBERP-WHEN-MEMBERP-AND-NOT-INTERSECTION-EQUAL-CHEAP))\n (1 1 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-2))\n (1 1 (:REWRITE MEMBERP-WHEN-SUBSETP-EQUAL-1))\n (1 1 (:REWRITE MEMBERP-WHEN-NOT-EQUAL-OF-CAR-CHEAP))\n (1 1 (:REWRITE MEMBERP-OF-CONSTANT-WHEN-NOT-MEMBER-OF-CONSTANT))\n )\n(NEW-AD-<<-NTH-NEW-AD-2\n (35 2 (:REWRITE <<-TRICHOTOMY))\n (14 2 (:REWRITE NOT-EQUAL-NEW-AD-WHEN-BOUND-ALT))\n (8 8 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (8 8 (:REWRITE SET::SUBSET-IN))\n (6 2 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (6 2 (:REWRITE INSERT-WHEN-EMPTY))\n (6 2 (:REWRITE SET::INSERT-IDENTITY))\n (4 2 (:REWRITE SET::IN-TAIL))\n (3 1 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (2 2 (:REWRITE <<-TRANSITIVE))\n (2 1 (:REWRITE <<-ASYMMETRIC))\n (1 1 (:REWRITE LEXORDER-TRANSITIVE))\n (1 1 (:REWRITE ALPHORDER-TRANSITIVE))\n )\n(LIST-NEW-AD-NTH-NEW-AD-2\n (39 2 (:REWRITE SET::INSERT-IDENTITY))\n (28 1 (:REWRITE SET::IN-INSERT))\n (9 9 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (9 3 (:REWRITE SET::IN-TAIL))\n (8 8 (:REWRITE SET::SUBSET-IN))\n (4 2 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (4 2 (:REWRITE INSERT-WHEN-EMPTY))\n (4 2 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (3 2 (:REWRITE DEFAULT-CDR))\n (3 2 (:REWRITE DEFAULT-CAR))\n )\n(CONSP-OF-NEW-ADS-SLICE\n (6 6 (:REWRITE DEFAULT-<-2))\n (6 6 (:REWRITE DEFAULT-<-1))\n (4 4 (:TYPE-PRESCRIPTION NEW-ADS-TYPE))\n (1 1 (:REWRITE DEFAULT-+-2))\n (1 1 (:REWRITE DEFAULT-+-1))\n )\n(CAR-OF-NEW-ADS-SLICE\n (5 5 (:REWRITE DEFAULT-<-2))\n (5 5 (:REWRITE DEFAULT-<-1))\n (4 4 (:REWRITE DEFAULT-+-2))\n (4 4 (:REWRITE DEFAULT-+-1))\n (1 1 (:REWRITE DEFAULT-UNARY-MINUS))\n )\n(CDR-OF-NEW-ADS-SLICE\n (7 7 (:REWRITE DEFAULT-+-2))\n (7 7 (:REWRITE DEFAULT-+-1))\n (6 6 (:REWRITE DEFAULT-<-2))\n (6 6 (:REWRITE DEFAULT-<-1))\n (4 2 (:REWRITE NTHCDR-WHEN-NOT-CONSP-CHEAP))\n (2 2 (:REWRITE NTHCDR-WHEN-NOT-POSP))\n (2 2 (:REWRITE NTHCDR-WHEN-EQUAL-OF-LEN))\n (1 1 (:REWRITE DEFAULT-UNARY-MINUS))\n )\n(ADDRESSFIX-OF-NEW-AD)\n(ADDRESSFIX-OF-NTH-NEW-AD\n (2 1 (:REWRITE DEFAULT-<-1))\n (1 1 (:REWRITE DEFAULT-<-2))\n )\n(ADDRESSP-OF-NEW-AD)\n(ADDRESSP-OF-NTH-NEW-AD)\n(NEW-ADDRESS-HACK\n (524 23 (:REWRITE SET::IN-INSERT))\n (445 48 (:REWRITE SET::INSERT-IDENTITY))\n (82 48 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (82 48 (:REWRITE INSERT-WHEN-EMPTY))\n (75 1 (:REWRITE NOT-EQUAL-NEW-AD-WHEN-BOUND-ALT))\n (72 72 (:REWRITE SET::SUBSET-IN))\n (68 1 (:REWRITE NOT-EQUAL-NEW-AD-WHEN-BOUND))\n (61 61 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (61 24 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (50 50 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (45 13 (:REWRITE SET::IN-TAIL))\n (40 1 (:REWRITE NOT-EQUAL-NTH-NEW-AD-WHEN-BOUND-ALT))\n (31 1 (:REWRITE NOT-EQUAL-NTH-NEW-AD-WHEN-BOUND))\n (24 24 (:REWRITE SET::INSERT-NEVER-EMPTY))\n (12 12 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n (10 4 (:REWRITE SET::TAIL-WHEN-EMPTY))\n (7 7 (:REWRITE NTH-NEW-AD-NOT-IN-ADS))\n )\n(NEW-ADDRESS-HACKB\n (49 4 (:REWRITE SET::INSERT-IDENTITY))\n (35 2 (:REWRITE SET::IN-INSERT))\n (10 4 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (10 4 (:REWRITE INSERT-WHEN-EMPTY))\n (9 9 (:TYPE-PRESCRIPTION NEW-AD-NON-NEGATIVE))\n (9 9 (:TYPE-PRESCRIPTION INTEGERP-OF-NEW-AD))\n (8 8 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (5 2 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (4 4 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (4 4 (:REWRITE SET::SUBSET-IN))\n (4 4 (:REWRITE SET::INSERT-NEVER-EMPTY))\n (2 2 (:REWRITE NTH-NEW-AD-NOT-IN-ADS))\n (2 2 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n )\n(NEW-ADDRESS-HACK2\n (60 13 (:REWRITE SET::INSERT-IDENTITY))\n (35 2 (:REWRITE SET::IN-INSERT))\n (21 13 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (21 13 (:REWRITE INSERT-WHEN-EMPTY))\n (12 12 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (5 5 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (5 2 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (4 4 (:REWRITE SET::SUBSET-IN))\n (4 4 (:REWRITE SET::INSERT-NEVER-EMPTY))\n (3 3 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n (2 2 (:REWRITE NTH-NEW-AD-NOT-IN-ADS))\n )\n(NEW-ADDRESS-HACK2B\n (49 4 (:REWRITE SET::INSERT-IDENTITY))\n (35 2 (:REWRITE SET::IN-INSERT))\n (10 4 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (10 4 (:REWRITE INSERT-WHEN-EMPTY))\n (8 8 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (5 2 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (4 4 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (4 4 (:REWRITE SET::SUBSET-IN))\n (4 4 (:REWRITE SET::INSERT-NEVER-EMPTY))\n (2 2 (:REWRITE NTH-NEW-AD-NOT-IN-ADS))\n (2 2 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n )\n(NEW-ADDRESS-HACK3\n (196 23 (:REWRITE SET::INSERT-IDENTITY))\n (144 5 (:REWRITE SET::IN-INSERT))\n (35 23 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (35 23 (:REWRITE INSERT-WHEN-EMPTY))\n (22 22 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (22 22 (:REWRITE SET::SUBSET-IN))\n (21 6 (:REWRITE SET::IN-TAIL))\n (16 16 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (15 5 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (10 10 (:REWRITE SET::INSERT-NEVER-EMPTY))\n (5 5 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n (4 2 (:REWRITE SET::TAIL-WHEN-EMPTY))\n )\n(NEW-ADDRESS-HACK3B\n (156 9 (:REWRITE SET::INSERT-IDENTITY))\n (123 8 (:REWRITE SET::IN-INSERT))\n (21 9 (:REWRITE SET::INSERT-WHEN-EMPTY))\n (21 9 (:REWRITE INSERT-WHEN-EMPTY))\n (16 16 (:REWRITE SET::SUBSET-IN))\n (14 14 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (13 5 (:REWRITE EQUAL-OF-BOOLEANS-CHEAP))\n (10 10 (:REWRITE SET::INSERT-NEVER-EMPTY))\n (9 9 (:TYPE-PRESCRIPTION SET::IN-TYPE))\n (6 6 (:REWRITE NTH-NEW-AD-NOT-IN-ADS))\n (3 3 (:REWRITE NEW-AD-NOT-MEMBERP-ADS))\n (3 3 (:REWRITE EQUAL-NTH-NEW-AD-NTH-NEW-AD))\n )\n","avg_line_length":37.2912470953,"max_line_length":77,"alphanum_fraction":0.6684668591} +{"size":12556,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"; Lemmas about explode-nonnegative-integer\n; Copyright (C) 2005-2006 Kookamara LLC\n;\n; Contact:\n;\n; Kookamara LLC\n; 11410 Windermere Meadows\n; Austin, TX 78759, USA\n; http:\/\/www.kookamara.com\/\n;\n; License: (An MIT\/X11-style license)\n;\n; Permission is hereby granted, free of charge, to any person obtaining a\n; copy of this software and associated documentation files (the \"Software\"),\n; to deal in the Software without restriction, including without limitation\n; the rights to use, copy, modify, merge, publish, distribute, sublicense,\n; and\/or sell copies of the Software, and to permit persons to whom the\n; Software is furnished to do so, subject to the following conditions:\n;\n; The above copyright notice and this permission notice shall be included in\n; all copies or substantial portions of the Software.\n;\n; THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n; DEALINGS IN THE SOFTWARE.\n;\n; Original author: Jared Davis \n;\n; explode-nonnegative-integer.lisp\n; This file was originally part of the Unicode library.\n\n(in-package \"ACL2\")\n(include-book \"decimal\")\n(local (include-book \"ihs\/quotient-remainder-lemmas\" :dir :system))\n(local (include-book \"std\/lists\/revappend\" :dir :system))\n(local (include-book \"std\/lists\/append\" :dir :system))\n\n; Explode-nonnegative-integer is a particularly nasty function to try to reason\n; about because it is tail recursive and has a very nasty base case. Instead\n; of reasoning about it directly, we will split it up into the following,\n; simpler definition.\n\n(local (in-theory (disable floor mod)))\n\n(local (defun simpler-explode-nonnegative-integer (n base ans)\n (declare (xargs :guard (and (integerp n)\n (<= 0 n)\n (print-base-p base))))\n (if (or (zp n)\n (not (print-base-p base)))\n ans\n (simpler-explode-nonnegative-integer\n (floor n base)\n base\n (cons (digit-to-char (mod n base)) ans)))))\n\n\n; We can now redefine explode-nonnegative-integer to be a simple nonrecursive\n; function that uses our simpler-explode-nonnegative-integer as its core, but\n; wraps it in a simple \"or\" statement. We will then disable the previous\n; definition of explode-nonnegative-integer, so that only our new definition\n; will be used.\n\n(local (defthm explode-nonnegative-integer-redefinition\n (equal (explode-nonnegative-integer n base ans)\n (or (simpler-explode-nonnegative-integer n base ans)\n '(#\\0)))\n :rule-classes ((:definition :install-body nil))))\n\n(local (in-theory (disable (:definition explode-nonnegative-integer))))\n\n\n\n; Sadly, even simpler-explode-nonnegative-integer is hard to reason about as it\n; is tail recursive. So, we will introduce a non tail-recursive function in\n; its place that does almost the same thing. We'll call this the \"basic\n; explode-nonnegative-integer core\", or the basic-eni-core for short.\n\n(local (defun basic-eni-core (n base)\n (declare (xargs :guard (and (natp n)\n (print-base-p base))))\n (if (or (zp n)\n (not (print-base-p base)))\n nil\n (cons (digit-to-char (mod n base))\n (basic-eni-core (floor n base) base)))))\n\n(local (defun basic-eni-induction (n m base)\n (declare (xargs :guard (and (natp n)\n (natp m)\n (print-base-p base))))\n (cond ((zp n)\n nil)\n ((zp m)\n nil)\n ((not (print-base-p base))\n nil)\n (t\n (basic-eni-induction (floor n base) (floor m base) base)))))\n\n(local (defthm basic-eni-core-under-iff\n (iff (basic-eni-core n base)\n (and (not (zp n))\n (print-base-p base)))))\n\n(local (defthm consp-of-basic-eni-core\n (equal (consp (basic-eni-core n base))\n (and (not (zp n))\n (if (print-base-p base)\n t\n nil)))\n :hints((\"Goal\" :expand (basic-eni-core n base)))))\n\n(local (defthm equal-of-basic-eni-cores\n (implies (force (print-base-p base))\n (equal (equal (basic-eni-core n base)\n (basic-eni-core m base))\n (equal (nfix n)\n (nfix m))))\n :hints((\"Goal\"\n :in-theory (disable basic-eni-core)\n :induct (basic-eni-induction n m base)\n :expand ((:free (base) (basic-eni-core n base))\n (:free (base) (basic-eni-core m base)))\n :do-not '(generalize fertilize)))))\n\n(local (defthm equal-of-basic-eni-core-with-list-zero\n (not (equal (basic-eni-core n base) '(#\\0)))\n :hints((\"Goal\" :in-theory (enable digit-to-char)))))\n\n(local (defthm basic\/simpler-equivalence\n (equal (simpler-explode-nonnegative-integer n base acc)\n (revappend (basic-eni-core n base) acc))))\n\n(local (defthm equal-of-simpler-explode-nonnegative-integers\n (implies (force (print-base-p base))\n (equal (equal (simpler-explode-nonnegative-integer n base acc)\n (simpler-explode-nonnegative-integer m base acc))\n (equal (nfix n) (nfix m))))))\n\n(local (defthm simpler-eni-when-nonzero\n (implies (and (not (zp n))\n (print-base-p base))\n (simpler-explode-nonnegative-integer n base acc))))\n\n(local (defthm simpler-eni-degenerate-lemma\n (equal (equal (simpler-explode-nonnegative-integer n base acc) '(#\\0))\n (and (equal acc '(#\\0))\n (or (zp n)\n (not (print-base-p base)))))\n :hints((\"Goal\"\n :induct (simpler-explode-nonnegative-integer n base acc)\n :expand ((:free (base) (basic-eni-core n base)))\n :in-theory (e\/d (digit-to-char)\n (basic-eni-core))))))\n\n(local (defthm not-of-simpler-explode-nonnegative-integer\n (equal (not (simpler-explode-nonnegative-integer n base acc))\n (and (equal acc nil)\n (or (zp n)\n (not (print-base-p base)))))))\n\n(local (defthm true-listp-of-simpler-explode-nonnegative-integer\n (equal (true-listp (simpler-explode-nonnegative-integer n base acc))\n (true-listp acc))))\n\n(local (defthm equal-of-explode-nonnegative-integers-lemma\n (implies (and (natp n)\n (natp m)\n (not (equal n m))\n (not (simpler-explode-nonnegative-integer n base acc))\n (force (print-base-p base)))\n (simpler-explode-nonnegative-integer m base acc))))\n\n(defthm equal-of-explode-nonnegative-integers\n (implies (and (natp n)\n (natp m)\n (force (print-base-p base)))\n (equal (equal (explode-nonnegative-integer n base acc)\n (explode-nonnegative-integer m base acc))\n (equal n m)))\n :hints((\"Goal\" :in-theory (disable simpler-explode-nonnegative-integer\n basic\/simpler-equivalence))))\n\n(defthm true-listp-of-explode-nonnegative-integer\n (equal (true-listp (explode-nonnegative-integer n base acc))\n (true-listp acc)))\n\n(defthm true-listp-of-explode-nonnegative-integer-type\n (implies (true-listp acc)\n (true-listp (explode-nonnegative-integer n base acc)))\n :rule-classes :type-prescription)\n\n(defthm character-listp-of-explode-nonnegative-integer\n (equal (character-listp (explode-nonnegative-integer n base acc))\n (character-listp acc)))\n\n(local (defthm digit-listp-of-basic-eni-core\n (str::digit-listp (basic-eni-core n 10))))\n\n(local (defthm digit-listp-of-simpler-eni\n (implies (str::digit-listp acc)\n (str::digit-listp (simpler-explode-nonnegative-integer n 10 acc)))))\n\n(defthm digit-listp-of-explode-nonnegative-integer\n (implies (str::digit-listp acc)\n (str::digit-listp (explode-nonnegative-integer n 10 acc))))\n\n\n(encapsulate\n ()\n (local (in-theory (disable revappend-removal)))\n\n (local (defthm lemma\n (equal (equal (revappend x acc) '(#\\0))\n (or (and (equal acc nil)\n (consp x)\n (equal (car x) #\\0)\n (atom (cdr x)))\n (and (equal acc '(#\\0))\n (atom x))))))\n\n (local (defthm lemma2\n (implies (and (not (zp n))\n (print-base-p base))\n (consp (basic-eni-core n base)))))\n\n (defthm nonzeroness-of-explode-nonnegative-integer-when-nonzero\n (implies (and (not (zp n))\n (force (print-base-p base)))\n (not (equal (explode-nonnegative-integer n base nil)\n '(#\\0))))\n :hints((\"Goal\"\n :in-theory (e\/d (digit-to-char)\n (basic-eni-core))\n :expand ((:free (base) (basic-eni-core n base)))))))\n\n\n\n(defthm digit-val-of-digit-to-char\n (implies (and (force (natp n))\n (force (<= 0 n))\n (force (<= n 9)))\n (equal (str::digit-val (digit-to-char n))\n n))\n :hints((\"Goal\" :in-theory (enable str::digit-val\n digit-to-char))))\n\n\n(defsection digit-to-char-of-digit-val\n\n (local (defun test (n)\n (declare (xargs :ruler-extenders :all))\n (and (let ((char (code-char n)))\n (or (not (str::digitp char))\n (equal (digit-to-char (str::digit-val char))\n char)))\n (if (zp n)\n t\n (test (- n 1))))))\n\n (local (defthm l0\n (implies (and (test n)\n (natp i)\n (natp n)\n (<= i n))\n (let ((char (code-char i)))\n (implies (str::digitp char)\n (equal (digit-to-char (str::digit-val char))\n char))))))\n\n (local (defthm l1\n (implies (and (natp i)\n (<= i 255))\n (let ((char (code-char i)))\n (implies (str::digitp char)\n (equal (digit-to-char (str::digit-val char))\n char))))\n :hints((\"Goal\" :use ((:instance l0 (n 255)))))))\n\n (defthm digit-to-char-of-digit-val\n (implies (str::digitp char)\n (equal (digit-to-char (str::digit-val char))\n char))\n :hints((\"Goal\" :use ((:instance l1 (i (char-code char))))))))\n\n\n(defund basic-unexplode-core (x)\n (declare (xargs :guard (and (character-listp x)\n (str::digit-listp x))))\n (if (consp x)\n (+ (str::digit-val (car x))\n (* 10 (basic-unexplode-core (cdr x))))\n 0))\n\n(local (defthm basic-unexplode-core-of-basic-eni-core\n (implies (force (natp n))\n (equal (basic-unexplode-core (basic-eni-core n 10))\n n))\n :hints((\"Goal\" :in-theory (enable basic-eni-core\n basic-unexplode-core)))))\n\n(defund unexplode-nonnegative-integer (x)\n (declare (xargs :guard (and (character-listp x)\n (str::digit-listp x))))\n (basic-unexplode-core (revappend x nil)))\n\n(encapsulate\n ()\n (local (include-book \"std\/lists\/rev\" :dir :system))\n\n (defthm unexplode-nonnegative-integer-of-explode-nonnegative-integer\n (implies (force (natp n))\n (equal (unexplode-nonnegative-integer (explode-nonnegative-integer n 10 nil))\n n))\n :hints((\"Goal\" :in-theory (e\/d (unexplode-nonnegative-integer)\n (basic-eni-core))))))\n\n","avg_line_length":38.8730650155,"max_line_length":89,"alphanum_fraction":0.5487416375} +{"size":7551,"ext":"lsp","lang":"Common Lisp","max_stars_count":null,"content":"(X::BYTES-LOADED-IN-TEXT-SECTION-64\n (1008 3 (:REWRITE X::CANONICAL-ADDRESS-P-HACK))\n (576 12 (:REWRITE BVCHOP-IDENTITY))\n (482 8 (:REWRITE X86ISA::CANONICAL-ADDRESS-P-BETWEEN))\n (285 15 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))\n (228 3 (:LINEAR X86ISA::BVCHOP-UPPER-BOUND-STRONG))\n (212 37 (:REWRITE BOUND-FROM-NATP-FACT))\n (182 7 (:REWRITE X86ISA::CANONICAL-ADDRESS-P-BETWEEN-SPECIAL4))\n (178 2 (:REWRITE X86ISA::CANONICAL-ADDRESS-P-LIMITS-THM-4))\n (162 3 (:REWRITE X::<-OF-BVCHOP-SAME))\n (159 3 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))\n (159 3 (:LINEAR BVCHOP-UPPER-BOUND))\n (144 12 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))\n (143 9 (:REWRITE SMALL-INT-HACK))\n (126 3 (:REWRITE NATP-WHEN-INTEGERP-CHEAP))\n (81 55 (:REWRITE DEFAULT-<-1))\n (66 55 (:REWRITE DEFAULT-<-2))\n (64 37 (:REWRITE NOT-<-WHEN-SBVLT))\n (63 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))\n (58 58 (:REWRITE BOUND-WHEN-USB2))\n (58 58 (:REWRITE <-WHEN-SBVLT-CONSTANTS))\n (58 58 (:REWRITE <-WHEN-BVLT))\n (58 58 (:REWRITE <-TIGHTEN-WHEN-SLICE-IS-0))\n (58 58 (:REWRITE <-LEMMA-FOR-KNOWN-OPERATORS-NON-DAG))\n (58 58 (:REWRITE <-FROM-<=-FREE))\n (51 51 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))\n (45 3 (:DEFINITION LEN))\n (37 37 (:REWRITE USE-<=-BOUND-TO-DROP-<=-HYP))\n (37 37 (:REWRITE NOT-<-WHEN-SBVLT-ALT))\n (37 37 (:REWRITE BOUND-WHEN-USB))\n (37 37 (:REWRITE <-OF-NEGATIVE-WHEN-USBP))\n (37 37 (:REWRITE <-OF-CONSTANT-WHEN-UNSIGNED-BYTE-P-SIZE-PARAM))\n (37 37 (:REWRITE <-OF-CONSTANT-WHEN-<=-OF-CONSTANT-INTEGER))\n (37 37 (:REWRITE <-OF-CONSTANT-WHEN-<-OF-CONSTANT-INTEGER))\n (37 37 (:REWRITE <-LEMMA-FOR-KNOWN-OPERATORS-ALT-NON-DAG))\n (32 4 (:REWRITE SET::SETS-ARE-TRUE-LISTS-CHEAP))\n (31 16 (:REWRITE DEFAULT-+-2))\n (30 6 (:REWRITE X86ISA::CANONICAL-ADDRESS-P-LIMITS-THM-1))\n (27 27 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))\n (26 2 (:DEFINITION TRUE-LISTP))\n (24 6 (:REWRITE LEN-WHEN-ATOM))\n (21 21 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))\n (21 21 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP))\n (21 21 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NON-ZERO-BASE))\n (18 7 (:REWRITE X86ISA::CANONICAL-ADDRESS-P-BETWEEN-SPECIAL3))\n (17 16 (:REWRITE DEFAULT-+-1))\n (16 16 (:REWRITE PLUS-BVCAT-WITH-0-ALT))\n (16 16 (:REWRITE PLUS-BVCAT-WITH-0))\n (16 16 (:REWRITE +-OF-MINUS-CONSTANT-VERSION))\n (15 15 (:REWRITE USE-ALL-UNSIGNED-BYTE-P-2))\n (15 15 (:REWRITE USE-ALL-UNSIGNED-BYTE-P))\n (15 15 (:REWRITE UNSIGNED-BYTE-P-WHEN-ZP-CHEAP))\n (15 15 (:REWRITE UNSIGNED-BYTE-P-WHEN-TOP-BIT-0))\n (15 15 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))\n (15 15 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND-<=-VERSION))\n (15 15 (:REWRITE REWRITE-UNSIGNED-BYTE-P-WHEN-TERM-SIZE-IS-LARGER))\n (12 12 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))\n (12 12 (:REWRITE BITOPS::UNSIGNED-BYTE-P-INCR))\n (12 12 (:REWRITE UBP-LONGER-BETTER))\n (12 12 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))\n (12 12 (:REWRITE BVCHOP-WITH-N-NEGATIVE))\n (12 12 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))\n (12 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))\n (12 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))\n (12 12 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))\n (12 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))\n (12 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))\n (12 12 (:REWRITE BVCHOP-WHEN-GETBIT-AND-BVCHOP-KNOWN))\n (12 12 (:REWRITE BVCHOP-SUBST-WHEN-EQUAL-OF-BVCHOPS-GEN))\n (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT-FROM-LOGEXT))\n (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT))\n (12 12 (:REWRITE BVCHOP-OF-EXPT-ALT))\n (12 12 (:REWRITE BVCHOP-IDENTITY-CHEAP))\n (10 2 (:REWRITE INTEGERP-IMPLIES-ACL2-NUMBERP))\n (9 9 (:REWRITE X86ISA::CANONICAL-ADDRESS-P-BETWEEN-SPECIAL2))\n (8 8 (:TYPE-PRESCRIPTION SET::SETP-TYPE))\n (8 8 (:REWRITE VL::TRUE-LISTP-WHEN-MEMBER-EQUAL-OF-TRUE-LIST-LISTP))\n (8 8 (:REWRITE X86ISA::CANONICAL-ADDRESS-P-LIMITS-THM-3))\n (8 4 (:REWRITE OMAP::SETP-WHEN-MAPP))\n (8 4 (:REWRITE SET::NONEMPTY-MEANS-SET))\n (6 6 (:REWRITE X86ISA::CANONICAL-ADDRESS-P-OF-+-WHEN-CANONICAL-ADDRESS-P-OF-+-SPECIAL))\n (6 6 (:REWRITE X86ISA::CANONICAL-ADDRESS-P-LIMITS-THM-2))\n (6 6 (:REWRITE X86ISA::CANONICAL-ADDRESS-P-LIMITS-THM-0))\n (6 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))\n (5 5 (:REWRITE PLUS-OF-MINUS-SUBST-CONSTANT))\n (5 5 (:REWRITE FOLD-CONSTS-IN-+))\n (5 5 (:REWRITE DEFAULT-CDR))\n (5 5 (:REWRITE VL::CONSP-WHEN-MEMBER-EQUAL-OF-VL-NAMEDB-PREFIXMAP-P . 2))\n (5 5 (:REWRITE VL::CONSP-WHEN-MEMBER-EQUAL-OF-VL-NAMEDB-PREFIXMAP-P . 1))\n (5 5 (:REWRITE VL::CONSP-WHEN-MEMBER-EQUAL-OF-VL-NAMEDB-NAMESET-P . 2))\n (5 5 (:REWRITE VL::CONSP-WHEN-MEMBER-EQUAL-OF-VL-NAMEDB-NAMESET-P . 1))\n (5 5 (:REWRITE CONSP-BY-LEN))\n (5 5 (:REWRITE +-OF-MINUS))\n (4 4 (:TYPE-PRESCRIPTION OMAP::MAPP))\n (4 4 (:TYPE-PRESCRIPTION SET::EMPTY-TYPE))\n (4 4 (:REWRITE TRUE-LISTP-WHEN-UNSIGNED-BYTE-LISTP))\n (4 4 (:REWRITE SET::IN-SET))\n (4 4 (:LINEAR LOWER-BOUND-OF-LEN-WHEN-SUBLISTP))\n (4 4 (:LINEAR LISTPOS-UPPER-BOUND-STRONG-2))\n (4 4 (:LINEAR LEN-WHEN-PREFIXP))\n (3 3 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))\n (3 3 (:REWRITE CONSP-OF-CDR-BY-LEN))\n (3 3 (:REWRITE |(< 0 (len x))|))\n (2 2 (:REWRITE X86ISA::X86P-BASE))\n (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (2 2 (:REWRITE INTEGERP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))\n (2 2 (:REWRITE INTEGERP-WHEN-UNSIGNED-BYTE-P-FREE))\n (2 2 (:REWRITE INTEGERP-WHEN-SIGNED-BYTE-P))\n (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))\n (2 2 (:REWRITE ALL-UNSIGNED-BYTE-P-WHEN-NOT-CONSP))\n (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))\n (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))\n (2 2 (:LINEAR X86ISA::MEMBER-P-POS-VALUE))\n (2 2 (:LINEAR X86ISA::MEMBER-P-POS-1-VALUE))\n (2 2 (:LINEAR STR::COUNT-LEADING-CHARSET-LEN))\n )\n(X::ADDRESSES-OF-SUBSEQUENT-STACK-SLOTS-AUX)\n(X::ADDRESSES-OF-SUBSEQUENT-STACK-SLOTS-AUX-OPENER\n (54 14 (:REWRITE DEFAULT-+-2))\n (48 4 (:REWRITE FOLD-CONSTS-IN-+))\n (47 3 (:REWRITE ZP-WHEN-INTEGERP))\n (27 3 (:REWRITE ZP-WHEN-GT-0))\n (25 5 (:REWRITE INTEGERP-IMPLIES-ACL2-NUMBERP))\n (14 14 (:REWRITE PLUS-OF-MINUS-SUBST-CONSTANT))\n (14 14 (:REWRITE PLUS-BVCAT-WITH-0-ALT))\n (14 14 (:REWRITE PLUS-BVCAT-WITH-0))\n (14 14 (:REWRITE DEFAULT-+-1))\n (14 14 (:REWRITE +-OF-MINUS-CONSTANT-VERSION))\n (14 14 (:REWRITE +-OF-MINUS))\n (6 6 (:REWRITE INTEGERP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))\n (6 6 (:REWRITE INTEGERP-WHEN-UNSIGNED-BYTE-P-FREE))\n (6 6 (:REWRITE INTEGERP-WHEN-SIGNED-BYTE-P))\n (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))\n (6 6 (:REWRITE DEFAULT-<-2))\n (6 6 (:REWRITE DEFAULT-<-1))\n (6 6 (:REWRITE BOUND-WHEN-USB2))\n (6 6 (:REWRITE <-WHEN-SBVLT-CONSTANTS))\n (6 6 (:REWRITE <-WHEN-BVLT))\n (6 6 (:REWRITE <-TIGHTEN-WHEN-SLICE-IS-0))\n (6 6 (:REWRITE <-LEMMA-FOR-KNOWN-OPERATORS-NON-DAG))\n (6 6 (:REWRITE <-FROM-<=-FREE))\n (5 5 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))\n (5 5 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))\n (5 5 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))\n (5 3 (:REWRITE NOT-<-WHEN-SBVLT-ALT))\n (4 3 (:REWRITE NOT-<-WHEN-SBVLT))\n (3 3 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))\n (3 3 (:REWRITE USE-<=-BOUND-TO-DROP-<=-HYP))\n (3 3 (:REWRITE BOUND-WHEN-USB))\n (3 3 (:REWRITE BOUND-FROM-NATP-FACT))\n (3 3 (:REWRITE <-OF-NEGATIVE-WHEN-USBP))\n (3 3 (:REWRITE <-OF-CONSTANT-WHEN-UNSIGNED-BYTE-P-SIZE-PARAM))\n (3 3 (:REWRITE <-OF-CONSTANT-WHEN-<=-OF-CONSTANT-INTEGER))\n (3 3 (:REWRITE <-OF-CONSTANT-WHEN-<-OF-CONSTANT-INTEGER))\n (3 3 (:REWRITE <-LEMMA-FOR-KNOWN-OPERATORS-ALT-NON-DAG))\n (1 1 (:REWRITE ZP-OPEN))\n )\n(X::ADDRESSES-OF-SUBSEQUENT-STACK-SLOTS)\n(X::ALL-ADDRESES-OF-STACK-SLOTS)\n(X::STANDARD-STATE-ASSUMPTION-TERMS-64)\n(X::STANDARD-ASSUMPTIONS-CORE-64)\n(X::STANDARD-ASSUMPTIONS-MACH-O-64)\n(X::STANDARD-ASSUMPTIONS-PE-64)\n","avg_line_length":46.0426829268,"max_line_length":88,"alphanum_fraction":0.6856045557} +{"size":521,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"(cl:in-package #:sicl-extrinsic-environment)\n\n;;; The SICL reader defines macros that are generated by the backquote\n;;; facility. These macros must exist in the SICL global environment\n;;; so that they can be expanded by the compiler.\n\n(defun define-backquote-macros (environment)\n (setf (sicl-genv:fdefinition 'eclector.reader::expand environment)\n\t(fdefinition 'eclector.reader::transform))\n (setf (sicl-genv:macro-function 'eclector.reader::quasiquote environment)\n\t(macro-function 'eclector.reader::quasiquote)))\n","avg_line_length":43.4166666667,"max_line_length":75,"alphanum_fraction":0.773512476} +{"size":3521,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":";;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; indent-tabs-mode: nil -*-\n\n;;;; This file is part of Until It Dies\n\n;;;; primitives.lisp\n;;;;\n;;;; Drawing of basic OGL primitives\n;;;;\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\n(in-package :until-it-dies)\n\n(eval-when (:compile-toplevel :load-toplevel :execute)\n (deftype point ()\n '(vector real 3))\n\n (defun make-point (x y &optional (z 0))\n (vector x y z))\n\n (defun point-x (point)\n (svref point 0))\n (defun point-y (point)\n (svref point 1))\n (defun point-z (point)\n (svref point 2)))\n\n(defun set-point (point)\n (gl:vertex (point-x point) (point-y point) (point-z point)))\n\n(defun draw-rectangle (x y width height &key (z 0) (u1 0) (v1 0) (u2 1) (v2 1)\n (color *color*) (filledp t) (x-offset 0) (y-offset 0))\n (with-color color\n (gl:with-primitives (if filledp :quads :line-loop)\n (let* ((x (+ x x-offset))\n (y (+ y y-offset))\n (x1 x)\n (x2 (+ x width))\n (y1 y)\n (y2 (+ y height)))\n (gl:tex-coord u1 v2)\n (gl:vertex x1 y1 z)\n (gl:tex-coord u2 v2)\n (gl:vertex x2 y1 z)\n (gl:tex-coord u2 v1)\n (gl:vertex x2 y2 z)\n (gl:tex-coord u1 v1)\n (gl:vertex x1 y2 z)))))\n\n(defun draw-circle (center radius &key (resolution 20) (color *color*) (filledp t))\n ;; This circle-drawing algorithm is immensely more efficient than calculating cos\/sin for every\n ;; iteration. The original implementation of the algorith, and the explanation, are at\n ;; http:\/\/www.allegro.cc\/forums\/thread\/594175\/715617#target\n (with-color color\n (let* ((theta (* 2 (\/ pi resolution)))\n (tangential-factor (tan theta))\n (radial-factor (- 1 (cos theta))))\n (gl:with-primitives (if filledp :triangle-fan :line-loop)\n (loop with x = (+ (point-x center) radius)\n with y = (point-y center)\n repeat resolution\n do (gl:vertex x y (point-z center))\n (let ((tx (- (- y (point-y center))))\n (ty (- x (point-x center))))\n (incf x (* tx tangential-factor))\n (incf y (* ty tangential-factor)))\n (let ((rx (- (point-x center) x))\n (ry (- (point-y center) y)))\n (incf x (* rx radial-factor))\n (incf y (* ry radial-factor))))))))\n\n(defun draw-triangle (p1 p2 p3 &key (color *color*) (filledp t))\n (with-color color\n (gl:with-primitives (if filledp :triangles :line-loop)\n (set-point p1)\n (set-point p2)\n (set-point p3))))\n\n(defun draw-quad (p1 p2 p3 p4 &key (color *color*) (filledp t))\n (with-color color\n (gl:with-primitives (if filledp :quads :line-loop)\n (set-point p1)\n (set-point p2)\n (set-point p3)\n (set-point p4))))\n\n(defun draw-point (point &key (color *color*) (size 1))\n (gl:point-size size)\n (with-color color\n (gl:with-primitives :points\n (set-point point))))\n\n(defun draw-points (points &key (color *color*) (size 1))\n (gl:point-size size)\n (with-color color\n (gl:with-primitives :points\n (map nil #'set-point points))))\n\n(defun draw-line (p1 p2 &key (color *color*))\n (with-color color\n (gl:with-primitives :lines\n (set-point p1)\n (set-point p2))))\n\n(defun draw-polygon (points &key (color *color*) (filledp t))\n (with-color color\n (gl:with-primitives (if filledp :polygon :line-loop)\n (map nil 'set-point points))))\n","avg_line_length":32.9065420561,"max_line_length":100,"alphanum_fraction":0.5549559784} +{"size":81114,"ext":"lisp","lang":"Common Lisp","max_stars_count":null,"content":"(in-package #:local-time)\n\n;;; Types\n\n(defclass timestamp ()\n ((day :accessor day-of :initarg :day :initform 0 :type integer)\n (sec :accessor sec-of :initarg :sec :initform 0 :type integer)\n (nsec :accessor nsec-of :initarg :nsec :initform 0 :type (integer 0 999999999))))\n\n(defstruct subzone\n (abbrev nil)\n (offset nil)\n (daylight-p nil))\n\n(defstruct timezone\n (transitions #(0) :type simple-vector)\n (indexes #(0) :type simple-vector)\n (subzones #() :type simple-vector)\n (leap-seconds nil :type list)\n (path nil)\n (name \"anonymous\" :type string)\n (loaded nil :type boolean))\n\n(deftype timezone-offset ()\n '(integer -43199 50400))\n\n(defun %valid-time-of-day? (timestamp)\n (zerop (day-of timestamp)))\n\n(deftype time-of-day ()\n '(and timestamp\n (satisfies %valid-time-of-day?)))\n\n(defun %valid-date? (timestamp)\n (and (zerop (sec-of timestamp))\n (zerop (nsec-of timestamp))))\n\n(deftype date ()\n '(and timestamp\n (satisfies %valid-date?)))\n\n(define-condition invalid-timezone-file (error)\n ((path :accessor path-of :initarg :path))\n (:report (lambda (condition stream)\n (format stream \"The file at ~a is not a timezone file.\"\n (path-of condition)))))\n\n(define-condition invalid-time-specification (error)\n ()\n (:report \"The time specification is invalid\"))\n\n(define-condition invalid-timestring (error)\n ((timestring :accessor timestring-of :initarg :timestring)\n (failure :accessor failure-of :initarg :failure))\n (:report (lambda (condition stream)\n (format stream \"Failed to parse ~S as an rfc3339 time: ~S\"\n (timestring-of condition)\n (failure-of condition)))))\n\n(defmethod make-load-form ((self timestamp) &optional environment)\n (make-load-form-saving-slots self :environment environment))\n\n;;; Declaims\n\n(declaim (inline now format-timestring %get-current-time\n format-rfc3339-timestring to-rfc3339-timestring\n format-rfc1123-timestring to-rfc1123-timestring)\n (ftype (function * simple-base-string) format-rfc3339-timestring)\n (ftype (function * simple-base-string) format-timestring)\n (ftype (function * fixnum) local-timezone)\n (ftype (function * (values\n timezone-offset\n boolean\n string)) timestamp-subzone)\n (ftype (function (timestamp &key (:timezone timezone) (:offset (or null integer)))\n (values (integer 0 999999999)\n (integer 0 59)\n (integer 0 59)\n (integer 0 23)\n (integer 1 31)\n (integer 1 12)\n (integer -1000000 1000000)\n (integer 0 6)\n t\n timezone-offset\n simple-string))\n decode-timestamp))\n\n;;; Variables\n\n(defvar *default-timezone*)\n\n(defparameter *default-timezone-repository-path*\n (flet ((try (project-home-directory)\n (when project-home-directory\n (ignore-errors\n (truename\n (merge-pathnames \"zoneinfo\/\"\n (make-pathname :directory (pathname-directory project-home-directory))))))))\n (or (when (find-package \"ASDF\")\n (let ((path (eval (read-from-string\n \"(let ((system (asdf:find-system :local-time nil)))\n (when system\n (asdf:component-pathname system)))\"))))\n (try path)))\n (let ((path (or #.*compile-file-truename*\n *load-truename*)))\n (when path\n (try (merge-pathnames \"..\/\" path)))))))\n\n;;; Month information\n(defparameter +month-names+\n #(\"\" \"January\" \"February\" \"March\" \"April\" \"May\" \"June\" \"July\" \"August\"\n \"September\" \"October\" \"November\" \"December\"))\n(defparameter +short-month-names+\n #(\"\" \"Jan\" \"Feb\" \"Mar\" \"Apr\" \"May\" \"Jun\" \"Jul\" \"Aug\" \"Sep\" \"Oct\" \"Nov\"\n \"Dec\"))\n(defparameter +day-names+\n #(\"Sunday\" \"Monday\" \"Tuesday\" \"Wednesday\" \"Thursday\" \"Friday\" \"Saturday\"))\n(defparameter +day-names-as-keywords+\n #(:sunday :monday :tuesday :wednesday :thursday :friday :saturday))\n(defparameter +short-day-names+\n #(\"Sun\" \"Mon\" \"Tue\" \"Wed\" \"Thu\" \"Fri\" \"Sat\"))\n\n(eval-when (:compile-toplevel :load-toplevel :execute)\n (defconstant +months-per-year+ 12)\n (defconstant +days-per-week+ 7)\n (defconstant +hours-per-day+ 24)\n (defconstant +minutes-per-day+ 1440)\n (defconstant +minutes-per-hour+ 60)\n (defconstant +seconds-per-day+ 86400)\n (defconstant +seconds-per-hour+ 3600)\n (defconstant +seconds-per-minute+ 60)\n (defconstant +usecs-per-day+ 86400000000))\n\n(defparameter +iso-8601-format+\n ;; 2008-11-18T02:32:00.586931+01:00\n '((:year 4) #\\- (:month 2) #\\- (:day 2) #\\T\n (:hour 2) #\\: (:min 2) #\\: (:sec 2) #\\.\n (:usec 6) :gmt-offset-or-z))\n(defparameter +rfc3339-format+\n ;; same as +ISO-8601-FORMAT+\n '((:year 4) #\\- (:month 2) #\\- (:day 2) #\\T\n (:hour 2) #\\: (:min 2) #\\: (:sec 2) #\\.\n (:usec 6) :gmt-offset-or-z))\n(defparameter +rfc3339-format\/date-only+\n '((:year 4) #\\- (:month 2) #\\- (:day 2)))\n(defparameter +asctime-format+\n '(:short-weekday #\\space :short-month #\\space (:day 2 #\\space) #\\space\n (:hour 2) #\\: (:min 2) #\\: (:sec 2) #\\space\n (:year 4)))\n(defparameter +rfc-1123-format+\n ;; Sun, 06 Nov 1994 08:49:37 GMT\n '(:short-weekday \", \" (:day 2) #\\space :short-month #\\space (:year 4) #\\space\n (:hour 2) #\\: (:min 2) #\\: (:sec 2) #\\space :timezone)\n \"Please note that you should use the +GMT-ZONE+ timezone to format a proper RFC 1123 timestring. See the RFC for the details about the possible values of the timezone field.\")\n(defparameter +iso-week-date-format+\n ;; 2009-W53-5\n '((:iso-week-year 4) #\\- #\\W (:iso-week-number 2) #\\- (:iso-week-day 1)))\n\n(eval-when (:compile-toplevel :load-toplevel :execute)\n (defparameter +rotated-month-days-without-leap-day+\n #.(coerce #(31 30 31 30 31 31 30 31 30 31 31 28)\n '(simple-array fixnum (*))))\n\n (defparameter +rotated-month-offsets-without-leap-day+\n (coerce\n (cons 0\n (loop with sum = 0\n for days :across +rotated-month-days-without-leap-day+\n collect (incf sum days)))\n '(simple-array fixnum (*)))))\n\n;; The astronomical julian date offset is the number of days between\n;; the current date and -4713-01-01T00:00:00+00:00\n(defparameter +astronomical-julian-date-offset+ -2451605)\n\n;; The modified julian date is the number of days between the current\n;; date and 1858-11-17T12:00:00+00:00. TODO: For the sake of simplicity,\n;; we currently just do the date arithmetic and don't adjust for the\n;; time of day.\n(defparameter +modified-julian-date-offset+ -51604)\n\n(defun %guess-offset (seconds days &optional timezone)\n ;; try converting the local time to a timestamp using each available\n ;; subtimezone, until we find one where the offset matches the offset that\n ;; applies at that time (according to the transition table).\n ;;\n ;; Consequence for ambiguous cases:\n ;; Whichever subtimezone is listed first in the tzinfo database will be\n ;; the one that we pick to resolve ambiguous local time representations.\n (let* ((zone (%realize-timezone (or timezone *default-timezone*)))\n (unix-time (timestamp-values-to-unix seconds days))\n (subzone-idx (if (zerop (length (timezone-indexes zone)))\n 0\n (elt (timezone-indexes zone)\n (transition-position unix-time\n (timezone-transitions zone)))))\n (subzone (elt (timezone-subzones zone) subzone-idx)))\n (subzone-offset subzone)))\n\n(defun %read-binary-integer (stream byte-count &optional (signed nil))\n \"Read BYTE-COUNT bytes from the binary stream STREAM, and return an integer which is its representation in network byte order (MSB). If SIGNED is true, interprets the most significant bit as a sign indicator.\"\n (loop\n :with result = 0\n :for offset :from (* (1- byte-count) 8) :downto 0 :by 8\n :do (setf (ldb (byte 8 offset) result) (read-byte stream))\n :finally (if signed\n (let ((high-bit (* byte-count 8)))\n (if (logbitp (1- high-bit) result)\n (return (- result (ash 1 high-bit)))\n (return result)))\n (return result))))\n\n(defun %string-from-unsigned-byte-vector (vector offset)\n \"Returns a string created from the vector of unsigned bytes VECTOR starting at OFFSET which is terminated by a 0.\"\n (declare (type (vector (unsigned-byte 8)) vector))\n (let* ((null-pos (or (position 0 vector :start offset) (length vector)))\n (result (make-string (- null-pos offset) :element-type 'base-char)))\n (loop for input-index :from offset :upto (1- null-pos)\n for output-index :upfrom 0\n do (setf (aref result output-index) (code-char (aref vector input-index))))\n result))\n\n(defun %find-first-std-offset (timezone-indexes timestamp-info)\n (let ((subzone-idx (find-if 'subzone-daylight-p\n timezone-indexes\n :key (lambda (x) (aref timestamp-info x)))))\n (subzone-offset (aref timestamp-info (or subzone-idx 0)))))\n\n(defun %tz-verify-magic-number (inf zone)\n ;; read and verify magic number\n (let ((magic-buf (make-array 4 :element-type 'unsigned-byte)))\n (read-sequence magic-buf inf :start 0 :end 4)\n (when (string\/= (map 'string #'code-char magic-buf) \"TZif\" :end1 4)\n (error 'invalid-timezone-file :path (timezone-path zone))))\n ;; skip 16 bytes for \"future use\"\n (let ((ignore-buf (make-array 16 :element-type 'unsigned-byte)))\n (read-sequence ignore-buf inf :start 0 :end 16)))\n\n(defun %tz-read-header (inf)\n `(:utc-count ,(%read-binary-integer inf 4)\n :wall-count ,(%read-binary-integer inf 4)\n :leap-count ,(%read-binary-integer inf 4)\n :transition-count ,(%read-binary-integer inf 4)\n :type-count ,(%read-binary-integer inf 4)\n :abbrev-length ,(%read-binary-integer inf 4)))\n\n(defun %tz-read-transitions (inf count)\n (make-array count\n :initial-contents\n (loop for idx from 1 upto count\n collect (%read-binary-integer inf 4 t))))\n\n(defun %tz-read-indexes (inf count)\n (make-array count\n :initial-contents\n (loop for idx from 1 upto count\n collect (%read-binary-integer inf 1))))\n\n(defun %tz-read-subzone (inf count)\n (loop for idx from 1 upto count\n collect (list (%read-binary-integer inf 4 t)\n (%read-binary-integer inf 1)\n (%read-binary-integer inf 1))))\n\n(defun %tz-read-leap-seconds (inf count)\n (loop for idx from 1 upto count\n collect (list (%read-binary-integer inf 4)\n (%read-binary-integer inf 4))))\n\n(defun %tz-read-abbrevs (inf length)\n (let ((a (make-array length :element-type '(unsigned-byte 8))))\n (read-sequence a inf\n :start 0\n :end length)\n a))\n\n(defun %tz-read-indicators (inf length)\n ;; read standard\/wall indicators\n (let ((buf (make-array length :element-type '(unsigned-byte 8))))\n (read-sequence buf inf\n :start 0\n :end length)\n (make-array length\n :element-type 'bit\n :initial-contents buf)))\n\n(defun %tz-make-subzones (raw-info abbrevs gmt-indicators std-indicators)\n (declare (ignore gmt-indicators std-indicators))\n ;; TODO: handle TZ environment variables, which use the gmt and std\n ;; indicators\n (make-array (length raw-info)\n :element-type 'subzone\n :initial-contents\n (loop for info in raw-info collect\n (make-subzone\n :offset (first info)\n :daylight-p (\/= (second info) 0)\n :abbrev (%string-from-unsigned-byte-vector abbrevs (third info))))))\n\n(defun %realize-timezone (zone &optional reload)\n \"If timezone has not already been loaded or RELOAD is non-NIL, loads the timezone information from its associated unix file. If the file is not a valid timezone file, the condition INVALID-TIMEZONE-FILE will be signaled.\"\n (when (or reload (not (timezone-loaded zone)))\n (with-open-file (inf (timezone-path zone)\n :direction :input\n :element-type 'unsigned-byte)\n (%tz-verify-magic-number inf zone)\n\n ;; read header values\n (let* ((header (%tz-read-header inf))\n (timezone-transitions (%tz-read-transitions inf (getf header :transition-count)))\n (subzone-indexes (%tz-read-indexes inf (getf header :transition-count)))\n (subzone-raw-info (%tz-read-subzone inf (getf header :type-count)))\n (leap-second-info (%tz-read-leap-seconds inf (getf header :leap-count)))\n (abbreviation-buf (%tz-read-abbrevs inf (getf header :abbrev-length)))\n (std-indicators (%tz-read-indicators inf (getf header :wall-count)))\n (gmt-indicators (%tz-read-indicators inf (getf header :utc-count)))\n (subzone-info (%tz-make-subzones subzone-raw-info\n abbreviation-buf\n gmt-indicators\n std-indicators)))\n\n (setf (timezone-transitions zone) timezone-transitions)\n (setf (timezone-indexes zone) subzone-indexes)\n (setf (timezone-subzones zone) subzone-info)\n (setf (timezone-leap-seconds zone) leap-second-info))\n (setf (timezone-loaded zone) t)))\n zone)\n\n(eval-when (:compile-toplevel :load-toplevel :execute)\n (defun %make-simple-timezone (name abbrev offset)\n (let ((subzone (local-time::make-subzone :offset offset\n :daylight-p nil\n :abbrev abbrev)))\n (local-time::make-timezone\n :subzones (make-array 1 :initial-contents (list subzone))\n :path nil\n :name name\n :loaded t)))\n\n ;; to be used as #+#.(local-time::package-with-symbol? \"SB-EXT\" \"GET-TIME-OF-DAY\")\n (defun package-with-symbol? (package name)\n (if (and (find-package package)\n (find-symbol name package))\n '(:and)\n '(:or))))\n\n(defparameter +utc-zone+ (%make-simple-timezone \"Coordinated Universal Time\" \"UTC\" 0))\n\n(defparameter +gmt-zone+ (%make-simple-timezone \"Greenwich Mean Time\" \"GMT\" 0))\n\n(defparameter +none-zone+ (%make-simple-timezone \"Explicit Offset Given\" \"NONE\" 0))\n\n(defmacro define-timezone (zone-name zone-file &key (load nil))\n \"Define zone-name (a symbol or a string) as a new timezone, lazy-loaded from zone-file (a pathname designator relative to the zoneinfo directory on this system. If load is true, load immediately.\"\n (declare (type (or string symbol) zone-name))\n (let ((zone-sym (if (symbolp zone-name) zone-name (intern zone-name))))\n `(prog1\n (defparameter ,zone-sym (make-timezone :path ,zone-file\n :name ,(if (symbolp zone-name)\n (string-downcase (symbol-name zone-name))\n zone-name)))\n ,@(when load\n `((%realize-timezone ,zone-sym))))))\n\n(eval-when (:load-toplevel :execute)\n (let ((default-timezone-file #p\"\/etc\/localtime\"))\n (if (probe-file default-timezone-file)\n (define-timezone *default-timezone* default-timezone-file :load t)\n (setf *default-timezone* +utc-zone+))))\n\n(defparameter *location-name->timezone* (make-hash-table :test 'equal)\n \"A hashtable with entries like \\\"Europe\/Budapest\\\" -> timezone-instance\")\n\n(defparameter *abbreviated-subzone-name->timezone-list* (make-hash-table :test 'equal)\n \"A hashtable of \\\"CEST\\\" -> list of timezones with \\\"CEST\\\" subzone\")\n\n(defun find-timezone-by-location-name (name)\n (when (zerop (hash-table-count *location-name->timezone*))\n (error \"Seems like the timezone repository has not yet been loaded. Hint: see REREAD-TIMEZONE-REPOSITORY.\"))\n (gethash name *location-name->timezone*))\n\n(defun timezone= (timezone-1 timezone-2)\n \"Return two values indicating the relationship between timezone-1 and timezone-2. The first value is whether the two timezones are equal and the second value indicates whether it is sure or not.\n\nIn other words:\n\\(values t t) means timezone-1 and timezone-2 are definitely equal.\n\\(values nil t) means timezone-1 and timezone-2 are definitely different.\n\\(values nil nil) means that it couldn't be determined.\"\n (if (or (eq timezone-1 timezone-2)\n (equalp timezone-1 timezone-2))\n (values t t)\n (values nil nil)))\n\n(defun reread-timezone-repository (&key (timezone-repository *default-timezone-repository-path*))\n (check-type timezone-repository (or pathname string))\n (multiple-value-bind (valid? error)\n (ignore-errors\n (truename timezone-repository)\n t)\n (unless valid?\n (error \"REREAD-TIMEZONE-REPOSITORY was called with invalid PROJECT-DIRECTORY (~A). The error is ~A.\"\n timezone-repository error)))\n (let* ((root-directory timezone-repository)\n (cutoff-position (length (princ-to-string root-directory))))\n (flet ((visitor (file)\n (let* ((full-name (subseq (princ-to-string file) cutoff-position))\n (name (pathname-name file))\n (timezone (%realize-timezone (make-timezone :path file :name name))))\n (setf (gethash full-name *location-name->timezone*) timezone)\n (map nil (lambda (subzone)\n (push timezone (gethash (subzone-abbrev subzone)\n *abbreviated-subzone-name->timezone-list*)))\n (timezone-subzones timezone)))))\n (setf *location-name->timezone* (make-hash-table :test 'equal))\n (setf *abbreviated-subzone-name->timezone-list* (make-hash-table :test 'equal))\n (cl-fad:walk-directory root-directory #'visitor :directories nil\n :test (lambda (file)\n (not (find \"Etc\" (pathname-directory file) :test #'string=))))\n (cl-fad:walk-directory (merge-pathnames \"Etc\/\" root-directory) #'visitor :directories nil))))\n\n(defmacro make-timestamp (&rest args)\n `(make-instance 'timestamp ,@args))\n\n(defun clone-timestamp (timestamp)\n (make-instance 'timestamp\n :nsec (nsec-of timestamp)\n :sec (sec-of timestamp)\n :day (day-of timestamp)))\n\n(defun transition-position (needle haystack &optional (start 0) (end (1- (length haystack))))\n (let ((middle (floor (+ end start) 2)))\n (cond\n ((>= start end)\n (if (minusp end)\n 0\n (max 0 (if (>= needle (elt haystack end)) end (1- end)))))\n ((= needle (elt haystack middle))\n middle)\n ((> needle (elt haystack middle))\n (transition-position needle haystack (1+ middle) end))\n (t\n (transition-position needle haystack start (1- middle))))))\n\n(defun timestamp-subtimezone (timestamp timezone)\n \"Return as multiple values the time zone as the number of seconds east of UTC, a boolean daylight-saving-p, and the customary abbreviation of the timezone.\"\n (declare (type timestamp timestamp)\n (type (or null timezone) timezone))\n (let* ((zone (%realize-timezone (or timezone *default-timezone*)))\n (unix-time (timestamp-to-unix timestamp))\n (subzone-idx (if (zerop (length (timezone-indexes zone)))\n 0\n (elt (timezone-indexes zone)\n (transition-position unix-time\n (timezone-transitions zone)))))\n (subzone (elt (timezone-subzones zone) subzone-idx)))\n (values\n (subzone-offset subzone)\n (subzone-daylight-p subzone)\n (subzone-abbrev subzone))))\n\n(defun %adjust-to-offset (sec day offset)\n \"Returns two values, the values of new DAY and SEC slots of the timestamp adjusted to the given timezone.\"\n (declare (type integer sec day offset))\n (multiple-value-bind (offset-day offset-sec)\n (truncate (abs offset) +seconds-per-day+)\n (let* ((offset-sign (signum offset))\n (new-sec (+ sec (* offset-sign offset-sec)))\n (new-day (+ day (* offset-sign offset-day))))\n (cond ((minusp new-sec)\n (incf new-sec +seconds-per-day+)\n (decf new-day))\n ((>= new-sec +seconds-per-day+)\n (incf new-day)\n (decf new-sec +seconds-per-day+)))\n (values new-sec new-day))))\n\n(defun %adjust-to-timezone (source timezone &optional offset)\n (%adjust-to-offset (sec-of source)\n (day-of source)\n (or offset\n (timestamp-subtimezone source timezone))))\n\n(defun timestamp-minimize-part (timestamp part &key\n (timezone *default-timezone*)\n into)\n (let* ((timestamp-parts '(:nsec :sec :min :hour :day :month))\n (part-count (position part timestamp-parts)))\n (assert part-count nil\n \"timestamp-minimize-part called with invalid part ~a (expected one of ~a)\"\n part\n timestamp-parts)\n (multiple-value-bind (nsec sec min hour day month year day-of-week daylight-saving-time-p offset)\n (decode-timestamp timestamp :timezone timezone)\n (declare (ignore nsec day-of-week daylight-saving-time-p))\n (encode-timestamp 0\n (if (> part-count 0) 0 sec)\n (if (> part-count 1) 0 min)\n (if (> part-count 2) 0 hour)\n (if (> part-count 3) 1 day)\n (if (> part-count 4) 1 month)\n year\n :offset offset\n :timezone timezone\n :into into))))\n\n(defun timestamp-maximize-part (timestamp part &key\n (timezone *default-timezone*)\n into)\n (let* ((timestamp-parts '(:nsec :sec :min :hour :day :month))\n (part-count (position part timestamp-parts)))\n (assert part-count nil\n \"timestamp-maximize-part called with invalid part ~a (expected one of ~a)\"\n part\n timestamp-parts)\n (multiple-value-bind (nsec sec min hour day month year day-of-week daylight-saving-time-p offset)\n (decode-timestamp timestamp :timezone timezone)\n (declare (ignore nsec day-of-week daylight-saving-time-p))\n (let ((month (if (> part-count 4) 12 month)))\n (encode-timestamp 999999999\n (if (> part-count 0) 59 sec)\n (if (> part-count 1) 59 min)\n (if (> part-count 2) 23 hour)\n (if (> part-count 3) (days-in-month month year) day)\n month\n year\n :offset offset\n :timezone timezone\n :into into)))))\n\n(defmacro with-decoded-timestamp ((&key nsec sec minute hour day month year day-of-week daylight-p timezone offset)\n timestamp &body forms)\n \"This macro binds variables to the decoded elements of TIMESTAMP. The TIMEZONE argument is used for decoding the timestamp, and is not bound by the macro. The value of DAY-OF-WEEK starts from 0 which means Sunday.\"\n (let ((ignores)\n (types)\n (variables))\n (macrolet ((initialize (&rest vars)\n `(progn\n ,@(loop\n :for var :in vars\n :collect `(progn\n (unless ,var\n (setf ,var (gensym))\n (push ,var ignores))\n (push ,var variables)))\n (setf ignores (nreverse ignores))\n (setf variables (nreverse variables))))\n (declare-fixnum-type (&rest vars)\n `(progn\n ,@(loop\n :for var :in vars\n :collect `(when ,var\n (push `(type fixnum ,,var) types)))\n (setf types (nreverse types)))))\n (when nsec\n (push `(type (integer 0 999999999) ,nsec) types))\n (declare-fixnum-type sec minute hour day month year)\n (initialize nsec sec minute hour day month year day-of-week daylight-p))\n `(multiple-value-bind (,@variables)\n (decode-timestamp ,timestamp :timezone ,(or timezone '*default-timezone*) :offset ,offset)\n (declare (ignore ,@ignores) ,@types)\n ,@forms)))\n\n(defun %normalize-month-year-pair (month year)\n \"Normalizes the month\/year pair: in case month is < 1 or > 12 the month and year are corrected to handle the overflow.\"\n (multiple-value-bind (year-offset month-minus-one)\n (floor (1- month) 12)\n (values (1+ month-minus-one)\n (+ year year-offset))))\n\n(defun days-in-month (month year)\n \"Returns the number of days in the given month of the specified year.\"\n (let ((normal-days (aref +rotated-month-days-without-leap-day+\n (mod (+ month 9) 12))))\n (if (and (= month 2)\n (or (and (zerop (mod year 4))\n (plusp (mod year 100)))\n (zerop (mod year 400))))\n (1+ normal-days) ; February on a leap year\n normal-days)))\n\n;; TODO scan all uses of FIX-OVERFLOW-IN-DAYS and decide where it's ok to silently fix and where should be and error reported\n(defun %fix-overflow-in-days (day month year)\n \"In case the day number is higher than the maximal possible for the given month\/year pair, returns the last day of the month.\"\n (let ((max-day (days-in-month month year)))\n (if (> day max-day)\n max-day\n day)))\n\n(eval-when (:compile-toplevel :load-toplevel)\n (defun %list-length= (num list)\n \"Tests for a list of length NUM without traversing the entire list to get the length.\"\n (let ((c (nthcdr (1- num) list)))\n (and c (endp (cdr c)))))\n\n (defun %expand-adjust-timestamp-changes (timestamp changes visitor)\n (loop\n :for change in changes\n :with params = ()\n :with functions = ()\n :do\n (progn\n (assert (or\n (%list-length= 3 change)\n (and (%list-length= 2 change)\n (symbolp (first change))\n (or (string= (first change) :timezone)\n (string= (first change) :utc-offset)))\n (and (%list-length= 4 change)\n (symbolp (third change))\n (or (string= (third change) :to)\n (string= (third change) :by))))\n nil \"Syntax error in expression ~S\" change)\n (let ((operation (first change))\n (part (second change))\n (value (if (%list-length= 3 change)\n (third change)\n (fourth change))))\n (cond\n ((string= operation :set)\n (push `(%set-timestamp-part ,part ,value) functions))\n ((string= operation :offset)\n (push `(%offset-timestamp-part ,part ,value) functions))\n ((string= operation :utc-offset)\n (push part params)\n (push :utc-offset params))\n ((string= operation :timezone)\n (push part params)\n (push :timezone params))\n (t (error \"Unexpected operation ~S\" operation)))))\n :finally\n (loop\n :for (function part value) in functions\n :do\n (funcall visitor `(,function ,timestamp ,part ,value ,@params)))))\n\n (defun %expand-adjust-timestamp (timestamp changes &key functional)\n (let* ((old (gensym \"OLD\"))\n (new (if functional\n (gensym \"NEW\")\n old))\n (forms (list)))\n (%expand-adjust-timestamp-changes old changes\n (lambda (change)\n (push\n `(progn\n (multiple-value-bind (nsec sec day)\n ,change\n (setf (nsec-of ,new) nsec)\n (setf (sec-of ,new) sec)\n (setf (day-of ,new) day))\n ,@(when functional\n `((setf ,old ,new))))\n forms)))\n (setf forms (nreverse forms))\n `(let* ((,old ,timestamp)\n ,@(when functional\n `((,new (clone-timestamp ,old)))))\n ,@forms\n ,old)))\n ) ; eval-when\n\n(defmacro adjust-timestamp (timestamp &body changes)\n (%expand-adjust-timestamp timestamp changes :functional t))\n\n(defmacro adjust-timestamp! (timestamp &body changes)\n (%expand-adjust-timestamp timestamp changes :functional nil))\n\n(defun %set-timestamp-part (time part new-value &key (timezone *default-timezone*) utc-offset)\n ;; TODO think about error signalling. when, how to disable if it makes sense, ...\n (case part\n ((:nsec :sec-of-day :day)\n (let ((nsec (nsec-of time))\n (sec (sec-of time))\n (day (day-of time)))\n (case part\n (:nsec (setf nsec (coerce new-value '(integer 0 999999999))))\n (:sec-of-day (setf sec (coerce new-value `(integer 0 ,+seconds-per-day+))))\n (:day (setf day new-value)))\n (values nsec sec day)))\n (otherwise\n (with-decoded-timestamp (:nsec nsec :sec sec :minute minute :hour hour\n :day day :month month :year year :timezone timezone :offset utc-offset)\n time\n (ecase part\n (:sec (setf sec new-value))\n (:minute (setf minute new-value))\n (:hour (setf hour new-value))\n (:day-of-month (setf day new-value))\n (:month (setf month new-value)\n (setf day (%fix-overflow-in-days day month year)))\n (:year (setf year new-value)\n (setf day (%fix-overflow-in-days day month year))))\n (encode-timestamp-into-values nsec sec minute hour day month year :timezone timezone :offset utc-offset)))))\n\n(defun %offset-timestamp-part (time part offset &key (timezone *default-timezone*) utc-offset)\n \"Returns a time adjusted by the specified OFFSET. Takes care of\ndifferent kinds of overflows. The setting :day-of-week is possible\nusing a keyword symbol name of a week-day (see\n+DAY-NAMES-AS-KEYWORDS+) as value. In that case point the result to\nthe previous day given by OFFSET.\"\n (labels ((direct-adjust (part offset nsec sec day)\n (cond ((eq part :day-of-week)\n (with-decoded-timestamp (:day-of-week day-of-week\n :nsec nsec :sec sec :minute minute :hour hour\n :day day :month month :year year\n :timezone timezone :offset utc-offset)\n time\n (let ((position (position offset +day-names-as-keywords+ :test #'eq)))\n (assert position (position) \"~S is not a valid day name\" offset)\n (let ((offset (+ (- (if (zerop day-of-week)\n 7\n day-of-week))\n position)))\n (incf day offset)\n (cond\n ((< day 1)\n (decf month)\n (when (< month 1)\n (setf month 12)\n (decf year))\n (setf day (+ (days-in-month month year) day)))\n ((let ((days-in-month (days-in-month month year)))\n (when (< days-in-month day)\n (incf month)\n (when (= month 13)\n (setf month 1)\n (incf year))\n (decf day days-in-month)))))\n (encode-timestamp-into-values nsec sec minute hour day month year\n :timezone timezone :offset utc-offset)))))\n ((zerop offset)\n ;; The offset is zero, so just return the parts of the timestamp object\n (values nsec sec day))\n (t\n (let ((old-utc-offset (or utc-offset\n (timestamp-subtimezone time timezone)))\n new-utc-offset)\n (tagbody\n top\n (ecase part\n (:nsec\n (multiple-value-bind (sec-offset new-nsec)\n (floor (+ offset nsec) 1000000000)\n ;; the time might need to be adjusted a bit more if q != 0\n (setf part :sec\n offset sec-offset\n nsec new-nsec)\n (go top)))\n ((:sec :minute :hour)\n (multiple-value-bind (days-offset new-sec)\n (floor (+ sec (* offset (ecase part\n (:sec 1)\n (:minute +seconds-per-minute+)\n (:hour +seconds-per-hour+))))\n +seconds-per-day+)\n (setf part :day\n offset days-offset\n sec new-sec)\n (go top)))\n (:day\n (incf day offset)\n (setf new-utc-offset (or utc-offset\n (timestamp-subtimezone (make-timestamp :nsec nsec :sec sec :day day)\n timezone)))\n (when (not (= old-utc-offset\n new-utc-offset))\n ;; We hit the DST boundary. We need to restart again\n ;; with :sec, but this time we know both old and new\n ;; UTC offset will be the same, so it's safe to do\n (setf part :sec\n offset (- old-utc-offset\n new-utc-offset)\n old-utc-offset new-utc-offset)\n (go top))\n (return-from direct-adjust (values nsec sec day)))))))))\n\n (safe-adjust (part offset time)\n (with-decoded-timestamp (:nsec nsec :sec sec :minute minute :hour hour :day day\n :month month :year year :timezone timezone :offset utc-offset)\n time\n (multiple-value-bind (month-new year-new)\n (%normalize-month-year-pair\n (+ (ecase part\n (:month offset)\n (:year (* 12 offset)))\n month)\n year)\n ;; Almost there. However, it is necessary to check for\n ;; overflows first\n (encode-timestamp-into-values nsec sec minute hour\n (%fix-overflow-in-days day month-new year-new)\n month-new year-new\n :timezone timezone :offset utc-offset)))))\n (ecase part\n ((:nsec :sec :minute :hour :day :day-of-week)\n (direct-adjust part offset\n (nsec-of time)\n (sec-of time)\n (day-of time)))\n ((:month :year) (safe-adjust part offset time)))))\n\n;; TODO merge this functionality into timestamp-difference\n(defun timestamp-whole-year-difference (time-a time-b)\n \"Returns the number of whole years elapsed between time-a and time-b (hint: anniversaries).\"\n (declare (type timestamp time-b time-a))\n (multiple-value-bind (nsec-a sec-a minute-a hour-a day-a month-a year-a)\n (decode-timestamp time-b)\n (multiple-value-bind (nsec-b sec-b minute-b hour-b day-b month-b year-b day-of-week-b daylight-p-b zone-b)\n (decode-timestamp time-a)\n (declare (ignore nsec-b sec-b minute-b hour-b day-b month-b day-of-week-b daylight-p-b zone-b))\n (let ((year-difference (- year-b year-a)))\n (if (timestamp<= (encode-timestamp nsec-a sec-a minute-a hour-a\n (if (= month-a 2)\n (min 28 day-a)\n day-a)\n month-a\n (+ year-difference year-a))\n time-a)\n year-difference\n (1- year-difference))))))\n\n(defun timestamp-difference (time-a time-b)\n \"Returns the difference between TIME-A and TIME-B in seconds\"\n (let ((nsec (- (nsec-of time-a) (nsec-of time-b)))\n (second (- (sec-of time-a) (sec-of time-b)))\n (day (- (day-of time-a) (day-of time-b))))\n (when (minusp nsec)\n (decf second)\n (incf nsec 1000000000))\n (when (minusp second)\n (decf day)\n (incf second +seconds-per-day+))\n (let ((result (+ (* day +seconds-per-day+)\n second)))\n (unless (zerop nsec)\n ;; this incf turns the result into a float, so only do this when necessary\n (incf result (\/ nsec 1000000000d0)))\n result)))\n\n(defun timestamp+ (time amount unit &optional (timezone *default-timezone*) offset)\n (multiple-value-bind (nsec sec day)\n (%offset-timestamp-part time unit amount :timezone timezone :utc-offset offset)\n (make-timestamp :nsec nsec\n :sec sec\n :day day)))\n\n(defun timestamp- (time amount unit &optional (timezone *default-timezone*) offset)\n (timestamp+ time (- amount) unit timezone offset))\n\n(defun timestamp-day-of-week (timestamp &key (timezone *default-timezone*) offset)\n (mod (+ 3 (nth-value 1 (%adjust-to-timezone timestamp timezone offset))) 7))\n\n;; TODO read\n;; http:\/\/java.sun.com\/j2se\/1.4.2\/docs\/api\/java\/util\/GregorianCalendar.html\n;; (or something else, sorry :) this scheme only works back until\n;; 1582, the start of the gregorian calendar. see also\n;; DECODE-TIMESTAMP when fixing if fixing is desired at all.\n(defun valid-timestamp-p (nsec sec minute hour day month year)\n \"Returns T if the time values refer to a valid time, otherwise returns NIL.\"\n (and (<= 0 nsec 999999999)\n (<= 0 sec 59)\n (<= 0 minute 59)\n (<= 0 hour 23)\n (<= 1 month 12)\n (<= 1 day (days-in-month month year))\n (\/= year 0)))\n\n(defun encode-timestamp-into-values (nsec sec minute hour day month year\n &key (timezone *default-timezone*) offset)\n \"Returns (VALUES NSEC SEC DAY ZONE) ready to be used for\ninstantiating a new timestamp object. If the specified time is\ninvalid, the condition INVALID-TIME-SPECIFICATION is raised.\"\n ;; If the user provided an explicit offset, we use that. Otherwise,\n (declare (type integer nsec sec minute hour day month year)\n (type (or integer null) offset))\n (unless (valid-timestamp-p nsec sec minute hour day month year)\n (error 'invalid-time-specification))\n (let* ((0-based-rotated-month (if (>= month 3)\n (- month 3)\n (+ month 9)))\n (internal-year (if (< month 3)\n (- year 2001)\n (- year 2000)))\n (years-as-days (years-to-days internal-year))\n (sec (+ (* hour +seconds-per-hour+)\n (* minute +seconds-per-minute+)\n sec))\n (days-from-zero-point (+ years-as-days\n (aref +rotated-month-offsets-without-leap-day+ 0-based-rotated-month)\n (1- day)))\n (used-offset (or offset\n (%guess-offset sec\n days-from-zero-point\n timezone))))\n (multiple-value-bind (utc-sec utc-day)\n (%adjust-to-offset sec days-from-zero-point (- used-offset))\n (values nsec utc-sec utc-day))))\n\n(defun encode-timestamp (nsec sec minute hour day month year\n &key (timezone *default-timezone*) offset into)\n \"Return a new TIMESTAMP instance corresponding to the specified time\nelements.\"\n (declare (type integer nsec sec minute hour day month year))\n (multiple-value-bind (nsec sec day)\n (encode-timestamp-into-values nsec sec minute hour day month year\n :timezone timezone :offset offset)\n (if into\n (progn\n (setf (nsec-of into) nsec)\n (setf (sec-of into) sec)\n (setf (day-of into) day)\n into)\n (make-timestamp\n :nsec nsec\n :sec sec\n :day day))))\n\n(defun universal-to-timestamp (universal &key (nsec 0))\n \"Returns a timestamp corresponding to the given universal time.\"\n ;; universal time is seconds from 1900-01-01T00:00:00Z.\n (let ((adjusted-universal (- universal #.(encode-universal-time 0 0 0 1 3 2000 0))))\n (multiple-value-bind (day second)\n (floor adjusted-universal +seconds-per-day+)\n (make-timestamp :day day :sec second :nsec nsec))))\n\n(defun timestamp-to-universal (timestamp)\n \"Return the UNIVERSAL-TIME corresponding to the TIMESTAMP\"\n ;; universal time is seconds from 1900-01-01T00:00:00Z\n (+ (* (day-of timestamp) +seconds-per-day+)\n (sec-of timestamp)\n #.(encode-universal-time 0 0 0 1 3 2000 0)))\n\n(defun unix-to-timestamp (unix &key (nsec 0))\n \"Return a TIMESTAMP corresponding to UNIX, which is the number of seconds since the unix epoch, 1970-01-01T00:00:00Z.\"\n (multiple-value-bind (days secs)\n (floor unix +seconds-per-day+)\n (make-timestamp :day (- days 11017) :sec secs :nsec nsec)))\n\n(defun timestamp-values-to-unix (seconds day)\n \"Return the Unix time correspondint to the values used to encode a TIMESTAMP\"\n (+ (* (+ day 11017) +seconds-per-day+) seconds))\n\n(defun timestamp-to-unix (timestamp)\n \"Return the Unix time corresponding to the TIMESTAMP\"\n (declare (type timestamp timestamp))\n (timestamp-values-to-unix (sec-of timestamp) (day-of timestamp)))\n\n(defun %get-current-time ()\n \"Cross-implementation abstraction to get the current time measured from the unix epoch (1\/1\/1970). Should return (values sec nano-sec).\"\n #+cmu\n (multiple-value-bind (success? sec usec) (unix:unix-gettimeofday)\n (assert success? () \"unix:unix-gettimeofday reported failure?!\")\n (values sec (* 1000 usec)))\n #+sbcl\n (progn\n #+#.(local-time::package-with-symbol? \"SB-EXT\" \"GET-TIME-OF-DAY\") ; available from sbcl 1.0.28.66\n (multiple-value-bind (sec nsec) (sb-ext:get-time-of-day)\n (values sec (* 1000 nsec)))\n #-#.(local-time::package-with-symbol? \"SB-EXT\" \"GET-TIME-OF-DAY\") ; obsolete, scheduled to be deleted at the end of 2009\n (multiple-value-bind (success? sec nsec) (sb-unix:unix-gettimeofday)\n (assert success? () \"sb-unix:unix-gettimeofday reported failure?!\")\n (values sec (* 1000 nsec))))\n #+(and ccl (not windows))\n (ccl:rlet ((tv :timeval))\n (let ((err (ccl:external-call \"gettimeofday\" :address tv :address (ccl:%null-ptr) :int)))\n (assert (zerop err) nil \"gettimeofday failed\")\n (values (ccl:pref tv :timeval.tv_sec) (* 1000 (ccl:pref tv :timeval.tv_usec)))))\n #-(or cmu sbcl (and ccl (not windows)))\n (values (- (get-universal-time)\n ;; CL's get-universal-time uses an epoch of 1\/1\/1900, so adjust the result to the Unix epoch\n #.(encode-universal-time 0 0 0 1 1 1970 0))\n 0))\n\n(defmethod clock-now (clock)\n (declare (ignore clock))\n (multiple-value-bind (sec nsec) (%get-current-time)\n (unix-to-timestamp sec :nsec nsec)))\n\n(defmethod clock-today (clock)\n (declare (ignore clock))\n ;; TODO should return a date value, anyhow we will decide to represent it eventually\n (let ((result (now)))\n (setf (sec-of result) 0)\n (setf (nsec-of result) 0)\n result))\n\n(defvar *clock* t\n \"Use the `*clock*' special variable if you need to define your own idea of the current time\n\nIt should be an instance of a class that responds to one or more of the methods `clock-now', and `clock-today'\")\n\n(defun now ()\n \"Returns a timestamp representing the present moment.\"\n (clock-now *clock*))\n\n(defun today ()\n \"Returns a timestamp representing the present day.\"\n (clock-today *clock*))\n\n(defmacro %defcomparator (name &body body)\n (let ((pair-comparator-name (intern (concatenate 'string \"%\" (string name)))))\n `(progn\n (declaim (inline ,pair-comparator-name))\n (defun ,pair-comparator-name (time-a time-b)\n (assert (typep time-a 'timestamp)\n nil\n 'type-error\n :datum time-a\n :expected-type 'timestamp)\n (assert (typep time-b 'timestamp)\n nil\n 'type-error\n :datum time-b\n :expected-type 'timestamp)\n ,@body)\n (defun ,name (&rest times)\n (declare (dynamic-extent times))\n (loop for head on times\n while (cdr head)\n always (,pair-comparator-name (first head) (second head))))\n (define-compiler-macro ,name (&rest times)\n (let ((vars (loop\n :for i :upfrom 0 :below (length times)\n :collect (gensym (concatenate 'string \"TIME-\" (princ-to-string i) \"-\")))))\n `(let (,@(loop\n :for var :in vars\n :for time :in times\n :collect (list var time)))\n ;; we could evaluate comparisons of timestamp literals here\n (and ,@(loop\n :for (time-a time-b) :on vars\n :while time-b\n :collect `(,',pair-comparator-name ,time-a ,time-b)))))))))\n\n(defun %timestamp-compare (time-a time-b)\n \"Returns the symbols <, >, or =, describing the relationship between TIME-A and TIME-b.\"\n (declare (type timestamp time-a time-b))\n (cond\n ((< (day-of time-a) (day-of time-b)) '<)\n ((> (day-of time-a) (day-of time-b)) '>)\n ((< (sec-of time-a) (sec-of time-b)) '<)\n ((> (sec-of time-a) (sec-of time-b)) '>)\n ((< (nsec-of time-a) (nsec-of time-b)) '<)\n ((> (nsec-of time-a) (nsec-of time-b)) '>)\n (t '=)))\n\n(%defcomparator timestamp<\n (eql (%timestamp-compare time-a time-b) '<))\n\n(%defcomparator timestamp<=\n (not (null (member (%timestamp-compare time-a time-b) '(< =)))))\n\n(%defcomparator timestamp>\n (eql (%timestamp-compare time-a time-b) '>))\n\n(%defcomparator timestamp>=\n (not (null (member (%timestamp-compare time-a time-b) '(> =)))))\n\n(%defcomparator timestamp=\n (eql (%timestamp-compare time-a time-b) '=))\n\n(%defcomparator timestamp\/=\n (not (eql (%timestamp-compare time-a time-b) '=)))\n\n(defun contest (test list)\n \"Applies TEST to pairs of elements in list, keeping the element which last tested T. Returns the winning element.\"\n (reduce (lambda (a b) (if (funcall test a b) a b)) list))\n\n(defun timestamp-minimum (time &rest times)\n \"Returns the earliest timestamp\"\n (contest #'timestamp< (cons time times)))\n\n(defun timestamp-maximum (time &rest times)\n \"Returns the latest timestamp\"\n (contest #'timestamp> (cons time times)))\n\n(eval-when (:compile-toplevel :load-toplevel :execute)\n (defun years-to-days (years)\n \"Given a number of years, returns the number of days in those years.\"\n (let* ((days (* years 365))\n (l1 (floor years 4))\n (l2 (floor years 100))\n (l3 (floor years 400)))\n (+ days l1 (- l2) l3))))\n\n(defun days-to-years (days)\n \"Given a number of days, returns the number of years and the remaining days in that year.\"\n (let ((remaining-days days))\n (multiple-value-bind (400-years remaining-days)\n (floor remaining-days #.(years-to-days 400))\n (let* ((100-years (min (floor remaining-days #.(years-to-days 100)) 3))\n (remaining-days (- remaining-days\n (* 100-years #.(years-to-days 100)))))\n (multiple-value-bind (4-years remaining-days)\n (floor remaining-days #.(years-to-days 4))\n (let ((years (min 3 (floor remaining-days #.(years-to-days 1)))))\n (values (+ (* 400-years 400)\n (* 100-years 100)\n (* 4-years 4)\n years)\n (- remaining-days (* years 365))))))))\n ;; the above is the macroexpansion of the following. uses metabang BIND, but kept for clarity because the expansion is unreadable.\n #+nil\n (bind ((remaining-days days)\n ((values 400-years remaining-days) (floor remaining-days #.(years-to-days 400)))\n (100-years (min (floor remaining-days #.(years-to-days 100))\n 3))\n (remaining-days (- remaining-days\n (* 100-years\n #.(years-to-days 100))))\n ((values 4-years remaining-days) (floor remaining-days #.(years-to-days 4)))\n (years (min (floor remaining-days 365)\n 3)))\n (values (+ (* 400-years 400)\n (* 100-years 100)\n (* 4-years 4)\n years)\n (- remaining-days (* years 365)))))\n\n(defun %timestamp-decode-date (days)\n \"Returns the year, month, and day, given the number of days from the epoch.\"\n (declare (type integer days))\n (multiple-value-bind (years remaining-days)\n (days-to-years days)\n (let* ((leap-day-p (= remaining-days 365))\n (rotated-1-based-month (if leap-day-p\n 12 ; march is the first month and february is the last\n (position remaining-days +rotated-month-offsets-without-leap-day+ :test #'<)))\n (1-based-month (if (>= rotated-1-based-month 11)\n (- rotated-1-based-month 10)\n (+ rotated-1-based-month 2)))\n (1-based-day (if leap-day-p\n 29\n (1+ (- remaining-days (aref +rotated-month-offsets-without-leap-day+\n (1- rotated-1-based-month)))))))\n (values\n (+ years\n (if (>= rotated-1-based-month 11) ; january is in the next year\n 2001\n 2000))\n 1-based-month\n 1-based-day))))\n\n(defun %timestamp-decode-iso-week (timestamp)\n \"Returns the year, week number, and day of week components of an ISO week date.\"\n ;; Algorithm from http:\/\/en.wikipedia.org\/wiki\/Talk:ISO_week_date#Algorithms\n (let* ((dn (timestamp-day-of-week timestamp))\n (day-of-week (if (zerop dn) 7 dn)) ; ISO weekdays are Monday=1 and Sunday=7\n (nearest-thursday (timestamp+ timestamp (- 4 day-of-week) :day))\n (base-year (encode-timestamp 0 0 0 0 1 1 (timestamp-year nearest-thursday)))\n (ordinal-day (- (day-of nearest-thursday) (day-of base-year))))\n (values (timestamp-year base-year)\n (nth-value 0 (floor (1+ (\/ ordinal-day 7))))\n day-of-week)))\n\n(defun %timestamp-decode-time (seconds)\n \"Returns the hours, minutes, and seconds, given the number of seconds since midnight.\"\n (declare (type integer seconds))\n (multiple-value-bind (hours hour-remainder)\n (floor seconds +seconds-per-hour+)\n (multiple-value-bind (minutes seconds)\n (floor hour-remainder +seconds-per-minute+)\n (values\n hours\n minutes\n seconds))))\n\n(defun decode-timestamp (timestamp &key (timezone *default-timezone*) offset)\n \"Returns the decoded time as multiple values: nsec, ss, mm, hh, day, month, year, day-of-week\"\n (declare (type timestamp timestamp))\n (let ((timezone (if offset (the timezone +none-zone+) timezone)))\n (multiple-value-bind (offset* daylight-p abbreviation)\n (timestamp-subtimezone timestamp timezone)\n (multiple-value-bind (adjusted-secs adjusted-days)\n (%adjust-to-timezone timestamp timezone offset)\n (multiple-value-bind (hours minutes seconds)\n (%timestamp-decode-time adjusted-secs)\n (multiple-value-bind (year month day)\n (%timestamp-decode-date adjusted-days)\n (values\n (nsec-of timestamp)\n seconds minutes hours\n day month year\n (timestamp-day-of-week timestamp :timezone timezone :offset offset)\n daylight-p\n (or offset offset*)\n abbreviation)))))))\n\n(defun timestamp-year (timestamp &key (timezone *default-timezone*))\n \"Returns the cardinal year upon which the timestamp falls.\"\n (nth-value 0\n (%timestamp-decode-date\n (nth-value 1 (%adjust-to-timezone timestamp timezone)))))\n\n(defun timestamp-century (timestamp &key (timezone *default-timezone*))\n \"Returns the ordinal century upon which the timestamp falls.\"\n (let* ((year (timestamp-year timestamp :timezone timezone))\n (sign (signum year)))\n (+ sign\n (* sign\n (truncate (1- (abs year)) 100)))))\n\n(defun timestamp-millennium (timestamp &key (timezone *default-timezone*))\n \"Returns the ordinal millennium upon which the timestamp falls.\"\n (let* ((year (timestamp-year timestamp :timezone timezone))\n (sign (signum year)))\n (+ sign\n (* sign\n (truncate (1- (abs year)) 1000)))))\n\n(defun timestamp-decade (timestamp &key (timezone *default-timezone*))\n \"Returns the cardinal decade upon which the timestamp falls.\"\n (truncate (timestamp-year timestamp :timezone timezone) 10))\n\n(defun timestamp-month (timestamp &key (timezone *default-timezone*))\n \"Returns the month upon which the timestamp falls.\"\n (nth-value 1\n (%timestamp-decode-date\n (nth-value 1 (%adjust-to-timezone timestamp timezone)))))\n\n(defun timestamp-day (timestamp &key (timezone *default-timezone*))\n \"Returns the day of the month upon which the timestamp falls.\"\n (nth-value 2\n (%timestamp-decode-date\n (nth-value 1 (%adjust-to-timezone timestamp timezone)))))\n\n(defun timestamp-hour (timestamp &key (timezone *default-timezone*))\n (nth-value 0\n (%timestamp-decode-time\n (nth-value 0 (%adjust-to-timezone timestamp timezone)))))\n\n(defun timestamp-minute (timestamp &key (timezone *default-timezone*))\n (nth-value 1\n (%timestamp-decode-time\n (nth-value 0 (%adjust-to-timezone timestamp timezone)))))\n\n(defun timestamp-second (timestamp &key (timezone *default-timezone*))\n (nth-value 2\n (%timestamp-decode-time\n (nth-value 0 (%adjust-to-timezone timestamp timezone)))))\n\n(defun timestamp-microsecond (timestamp)\n (floor (nsec-of timestamp) 1000))\n\n(defun timestamp-millisecond (timestamp)\n (floor (nsec-of timestamp) 1000000))\n\n(defun split-timestring (str &rest args)\n (declare (inline))\n (apply #'%split-timestring (coerce str 'simple-string) args))\n\n(defun %split-timestring (time-string &key\n (start 0)\n (end (length time-string))\n (fail-on-error t) (time-separator #\\:)\n (date-separator #\\-)\n (date-time-separator #\\T)\n (allow-missing-elements t)\n (allow-missing-date-part allow-missing-elements)\n (allow-missing-time-part allow-missing-elements)\n (allow-missing-timezone-part allow-missing-time-part))\n \"Based on http:\/\/www.ietf.org\/rfc\/rfc3339.txt including the function names used. Returns (values year month day hour minute second nsec offset-hour offset-minute). On parsing failure, signals INVALID-TIMESTRING if FAIL-ON-ERROR is NIL, otherwise returns NIL.\"\n (declare (type character date-time-separator time-separator date-separator)\n (type simple-string time-string)\n (optimize (speed 3)))\n (the list\n (let (year month day hour minute second nsec offset-hour offset-minute)\n (declare (type (or null fixnum) start end year month day hour minute second offset-hour offset-minute)\n (type (or null (signed-byte 32)) nsec))\n (macrolet ((passert (expression)\n `(unless ,expression\n (parse-error ',expression)))\n (parse-integer-into (start-end place &optional low-limit high-limit)\n (let ((entry (gensym \"ENTRY\"))\n (value (gensym \"VALUE\"))\n (pos (gensym \"POS\"))\n (start (gensym \"START\"))\n (end (gensym \"END\")))\n `(let ((,entry ,start-end))\n (if ,entry\n (let ((,start (car ,entry))\n (,end (cdr ,entry)))\n (multiple-value-bind (,value ,pos) (parse-integer time-string :start ,start :end ,end :junk-allowed t)\n (passert (= ,pos ,end))\n (setf ,place ,value)\n ,(if (and low-limit high-limit)\n `(passert (<= ,low-limit ,place ,high-limit))\n (values))\n (values)))\n (progn\n (passert allow-missing-elements)\n (values))))))\n (with-parts-and-count ((start end split-chars) &body body)\n `(multiple-value-bind (parts count) (split ,start ,end ,split-chars)\n (declare (ignorable count) (type fixnum count)\n ;;(type #1=(cons (cons fixnum fixnum) (or null #1#)) parts)\n (type list parts))\n ,@body)))\n (labels ((split (start end chars)\n (declare (type fixnum start end))\n (unless (consp chars)\n (setf chars (list chars)))\n (loop with last-match = start\n with match-count of-type (integer 0 #.most-positive-fixnum) = 0\n for index of-type fixnum upfrom start\n while (< index end)\n when (member (aref time-string index) chars :test #'char-equal)\n collect (prog1 (if (< last-match index)\n (cons last-match index)\n nil)\n (incf match-count)\n (setf last-match (1+ index)))\n into result\n finally (return (values (if (zerop (- index last-match))\n result\n (prog1\n (nconc result (list (cons last-match index)))\n (incf match-count)))\n match-count))))\n (parse ()\n (with-parts-and-count (start end date-time-separator)\n (cond ((= count 2)\n (if (first parts)\n (full-date (first parts))\n (passert allow-missing-date-part))\n (if (second parts)\n (full-time (second parts))\n (passert allow-missing-time-part))\n (done))\n ((and (= count 1)\n allow-missing-date-part\n (find time-separator time-string\n :start (car (first parts))\n :end (cdr (first parts))))\n (full-time (first parts))\n (done))\n ((and (= count 1)\n allow-missing-time-part\n (find date-separator time-string\n :start (car (first parts))\n :end (cdr (first parts))))\n (full-date (first parts))\n (done)))\n (parse-error nil)))\n (full-date (start-end)\n (let ((parts (split (car start-end) (cdr start-end) date-separator)))\n (passert (%list-length= 3 parts))\n (date-fullyear (first parts))\n (date-month (second parts))\n (date-mday (third parts))))\n (date-fullyear (start-end)\n (parse-integer-into start-end year))\n (date-month (start-end)\n (parse-integer-into start-end month 1 12))\n (date-mday (start-end)\n (parse-integer-into start-end day 1 31))\n (full-time (start-end)\n (let ((start (car start-end))\n (end (cdr start-end)))\n (with-parts-and-count (start end (list #\\Z #\\- #\\+))\n (let* ((zulup (find #\\Z time-string :test #'char-equal :start start :end end))\n (sign (unless zulup\n (if (find #\\+ time-string :test #'char-equal :start start :end end)\n 1\n -1))))\n (passert (<= 1 count 2))\n (unless (and (eq (first parts) nil)\n (not (rest parts)))\n ;; not a single #\\Z\n (partial-time (first parts)))\n (when zulup\n (setf offset-hour 0\n offset-minute 0))\n (if (= count 1)\n (passert (or zulup allow-missing-timezone-part))\n (let* ((entry (second parts))\n (start (car entry))\n (end (cdr entry)))\n (declare (type fixnum start end))\n (passert (or zulup\n (not (zerop (- end start)))))\n (unless zulup\n (time-offset (second parts) sign))))))))\n (partial-time (start-end)\n (with-parts-and-count ((car start-end) (cdr start-end) time-separator)\n (passert (eql count 3))\n (time-hour (first parts))\n (time-minute (second parts))\n (time-second (third parts))))\n (time-hour (start-end)\n (parse-integer-into start-end hour 0 23))\n (time-minute (start-end)\n (parse-integer-into start-end minute 0 59))\n (time-second (start-end)\n (with-parts-and-count ((car start-end) (cdr start-end) '(#\\. #\\,))\n (passert (<= 1 count 2))\n (let ((*read-eval* nil))\n (parse-integer-into (first parts) second 0 59)\n (if (> count 1)\n (let* ((start (car (second parts)))\n (end (cdr (second parts))))\n (declare (type (integer 0 #.array-dimension-limit) start end))\n (passert (<= (- end start) 9))\n (let ((new-end (position #\\0 time-string\n :test-not #'eql\n :start start\n :end end\n :from-end t)))\n (when new-end\n (setf end (min (1+ new-end)))))\n (setf nsec (* (the (integer 0 999999999) (parse-integer time-string :start start :end end))\n (aref #.(coerce #(1000000000 100000000 10000000\n 1000000 100000 10000 1000 100 10 1)\n '(simple-array (signed-byte 32) (10)))\n (- end start)))))\n (setf nsec 0)))))\n (time-offset (start-end sign)\n (with-parts-and-count ((car start-end) (cdr start-end) time-separator)\n (passert (or (and allow-missing-timezone-part (zerop count))\n (= count 1)\n (= count 2)))\n \n (cond\n ((= count 2)\n ;; hh:mm offset\n (parse-integer-into (first parts) offset-hour 0 23)\n (parse-integer-into (second parts) offset-minute 0 59))\n ((= (- (cdar parts) (caar parts)) 4)\n ;; hhmm offset\n (parse-integer-into (cons (caar parts)\n (+ (caar parts) 2))\n offset-hour 0 23)\n (parse-integer-into (cons (+ (caar parts) 2)\n (+ (caar parts) 4))\n offset-minute 0 59))\n ((= (- (cdar parts) (caar parts)) 2)\n ;; hh offset\n (parse-integer-into (cons (caar parts)\n (+ (caar parts) 2))\n offset-hour 0 23)\n (setf offset-minute 0)))\n \n (setf offset-hour (* offset-hour sign)\n offset-minute (* offset-minute sign))))\n (parse-error (failure)\n (if fail-on-error\n (error 'invalid-timestring :timestring time-string :failure failure)\n (return-from %split-timestring nil)))\n (done ()\n (return-from %split-timestring (list year month day hour minute second nsec offset-hour offset-minute))))\n (parse))))))\n\n(defun parse-rfc3339-timestring (timestring &key (fail-on-error t)\n (allow-missing-time-part nil))\n (parse-timestring timestring :fail-on-error fail-on-error\n :allow-missing-timezone-part nil\n :allow-missing-time-part allow-missing-time-part\n :allow-missing-date-part nil))\n\n(defun parse-timestring (timestring &key\n start\n end\n (fail-on-error t)\n (time-separator #\\:)\n (date-separator #\\-)\n (date-time-separator #\\T)\n (allow-missing-elements t)\n (allow-missing-date-part allow-missing-elements)\n (allow-missing-time-part allow-missing-elements)\n (allow-missing-timezone-part allow-missing-elements)\n (offset 0))\n \"Parse a timestring and return the corresponding TIMESTAMP. See split-timestring for details. Unspecified fields in the timestring are initialized to their lowest possible value, and timezone offset is 0 (UTC) unless explicitly specified in the input string.\"\n (let ((parts (%split-timestring (coerce timestring 'simple-string)\n :start (or start 0)\n :end (or end (length timestring))\n :fail-on-error fail-on-error\n :time-separator time-separator\n :date-separator date-separator\n :date-time-separator date-time-separator\n :allow-missing-elements allow-missing-elements\n :allow-missing-date-part allow-missing-date-part\n :allow-missing-time-part allow-missing-time-part\n :allow-missing-timezone-part allow-missing-timezone-part)))\n (when parts\n (destructuring-bind (year month day hour minute second nsec offset-hour offset-minute)\n parts\n (encode-timestamp\n (or nsec 0)\n (or second 0)\n (or minute 0)\n (or hour 0)\n (or day 1)\n (or month 3)\n (or year 2000)\n :offset (if offset-hour\n (+ (* offset-hour 3600)\n (* (or offset-minute 0) 60))\n offset))))))\n\n(defun ordinalize (day)\n \"Return an ordinal string representing the position of DAY in a sequence (1st, 2nd, 3rd, 4th, etc).\"\n (declare (type (integer 1 31) day))\n (format nil \"~d~a\" day\n (if (<= 11 day 13)\n \"th\"\n (case (mod day 10)\n (1 \"st\")\n (2 \"nd\")\n (3 \"rd\")\n (t \"th\")))))\n\n(defun %construct-timestring (timestamp format timezone)\n \"Constructs a string representing TIMESTAMP given the FORMAT of the string and the TIMEZONE. See the documentation of FORMAT-TIMESTRING for the structure of FORMAT.\"\n (declare (type timestamp timestamp)\n (optimize (speed 3)))\n (multiple-value-bind (nsec sec minute hour day month year weekday daylight-p offset abbrev)\n (decode-timestamp timestamp :timezone timezone)\n (declare (ignore daylight-p))\n (multiple-value-bind (iso-year iso-week iso-weekday)\n (%timestamp-decode-iso-week timestamp)\n (let ((*print-pretty* nil)\n (*print-circle* nil))\n (with-output-to-string (result nil :element-type 'base-char)\n (dolist (fmt format)\n (cond\n ((or (eql fmt :gmt-offset)\n (eql fmt :gmt-offset-or-z))\n (multiple-value-bind (offset-hours offset-secs)\n (floor offset +seconds-per-hour+)\n (declare (fixnum offset-hours offset-secs))\n (if (and (eql fmt :gmt-offset-or-z) (zerop offset))\n (princ #\\Z result)\n (format result \"~c~2,'0d:~2,'0d\"\n (if (minusp offset-hours) #\\- #\\+)\n (abs offset-hours)\n (truncate (abs offset-secs)\n +seconds-per-minute+)))))\n ((eql fmt :short-year)\n (princ (mod year 100) result))\n ((eql fmt :long-month)\n (princ (aref +month-names+ month) result))\n ((eql fmt :short-month)\n (princ (aref +short-month-names+ month) result))\n ((eql fmt :long-weekday)\n (princ (aref +day-names+ weekday) result))\n ((eql fmt :short-weekday)\n (princ (aref +short-day-names+ weekday) result))\n ((eql fmt :timezone)\n (princ abbrev result))\n ((eql fmt :hour12)\n (princ (1+ (mod (1- hour) 12)) result))\n ((eql fmt :ampm)\n (princ (if (< hour 12) \"am\" \"pm\") result))\n ((eql fmt :ordinal-day)\n (princ (ordinalize day) result))\n ((or (stringp fmt) (characterp fmt))\n (princ fmt result))\n (t\n (let ((val (ecase (if (consp fmt) (car fmt) fmt)\n (:nsec nsec)\n (:usec (floor nsec 1000))\n (:msec (floor nsec 1000000))\n (:sec sec)\n (:min minute)\n (:hour hour)\n (:day day)\n (:weekday weekday)\n (:month month)\n (:year year)\n (:iso-week-year iso-year)\n (:iso-week-number iso-week)\n (:iso-week-day iso-weekday))))\n (cond\n ((atom fmt)\n (princ val result))\n ((minusp val)\n (format result \"-~v,vd\"\n (second fmt)\n (or (third fmt) #\\0)\n (abs val)))\n (t\n (format result \"~v,vd\"\n (second fmt)\n (or (third fmt) #\\0)\n val))))))))))))\n\n(defun format-timestring (destination timestamp &key\n (format +iso-8601-format+)\n (timezone *default-timezone*))\n \"Constructs a string representation of TIMESTAMP according to FORMAT and returns it. If destination is T, the string is written to *standard-output*. If destination is a stream, the string is written to the stream.\n\nFORMAT is a list containing one or more of strings, characters, and keywords. Strings and characters are output literally, while keywords are replaced by the values here:\n\n :YEAR *year\n :MONTH *numeric month\n :DAY *day of month\n :HOUR *hour\n :MIN *minutes\n :SEC *seconds\n :WEEKDAY *numeric day of week starting from index 0, which means Sunday\n :MSEC *milliseconds\n :USEC *microseconds\n :NSEC *nanoseconds\n :ISO-WEEK-YEAR *year for ISO week date (can be different from regular calendar year)\n :ISO-WEEK-NUMBER *ISO week number (i.e. 1 through 53)\n :ISO-WEEK-DAY *ISO compatible weekday number (monday=1, sunday=7)\n :LONG-WEEKDAY long form of weekday (e.g. Sunday, Monday)\n :SHORT-WEEKDAY short form of weekday (e.g. Sun, Mon)\n :LONG-MONTH long form of month (e.g. January, February)\n :SHORT-MONTH short form of month (e.g. Jan, Feb)\n :HOUR12 hour on a 12-hour clock\n :AMPM am\/pm marker in lowercase\n :GMT-OFFSET the gmt-offset of the time, in +00:00 form\n :GMT-OFFSET-OR-Z like :GMT-OFFSET, but is Z when UTC\n :TIMEZONE timezone abbrevation for the time\n\nElements marked by * can be placed in a list in the form: \\(:keyword padding &optional \\(padchar #\\0))\n\nThe string representation of the value will be padded with the padchar.\n\nYou can see examples in +ISO-8601-FORMAT+, +ASCTIME-FORMAT+, and +RFC-1123-FORMAT+.\"\n (declare (type (or boolean stream) destination))\n (let ((result (%construct-timestring timestamp format timezone)))\n (when destination\n (write-string result (if (eq t destination) *standard-output* destination)))\n result))\n\n(defun format-rfc1123-timestring (destination timestamp)\n (format-timestring destination timestamp\n :format +rfc-1123-format+\n :timezone +gmt-zone+))\n\n(defun to-rfc1123-timestring (timestamp)\n (format-rfc1123-timestring nil timestamp))\n\n(defun format-rfc3339-timestring (destination timestamp &key\n omit-date-part\n omit-time-part\n (omit-timezone-part omit-time-part)\n (use-zulu t)\n (timezone *default-timezone*))\n \"Formats a timestring in the RFC 3339 format, a restricted form of the ISO-8601 timestring specification for Internet timestamps.\"\n (let ((rfc3339-format\n (if (and use-zulu\n (not omit-date-part)\n (not omit-time-part)\n (not omit-timezone-part))\n +rfc3339-format+ ; micro optimization\n (append\n (unless omit-date-part\n '((:year 4) #\\-\n (:month 2) #\\-\n (:day 2)))\n (unless (or omit-date-part\n omit-time-part)\n '(#\\T))\n (unless omit-time-part\n '((:hour 2) #\\:\n (:min 2) #\\:\n (:sec 2) #\\.\n (:usec 6)))\n (unless omit-timezone-part\n (if use-zulu\n '(:gmt-offset-or-z)\n '(:gmt-offset)))))))\n (format-timestring destination timestamp :format rfc3339-format :timezone timezone)))\n\n(defun to-rfc3339-timestring (timestamp)\n (format-rfc3339-timestring nil timestamp))\n\n(defun %read-timestring (stream char)\n (declare (ignore char))\n (parse-timestring\n (with-output-to-string (str)\n (loop for c = (read-char stream nil)\n while (and c (or (digit-char-p c) (member c '(#\\: #\\T #\\t #\\: #\\- #\\+ #\\Z #\\.))))\n do (princ c str)\n finally (when c (unread-char c stream))))\n :allow-missing-elements t))\n\n(defun %read-universal-time (stream char arg)\n (declare (ignore char arg))\n (universal-to-timestamp\n (parse-integer\n (with-output-to-string (str)\n (loop for c = (read-char stream nil)\n while (and c (digit-char-p c))\n do (princ c str)\n finally (when c (unread-char c stream)))))))\n\n(defun enable-read-macros ()\n \"Enables the local-time reader macros for literal timestamps and universal time.\"\n (set-macro-character #\\@ '%read-timestring)\n (set-dispatch-macro-character #\\# #\\@ '%read-universal-time)\n (values))\n\n(defvar *debug-timestamp* nil)\n\n(defmethod print-object ((object timestamp) stream)\n \"Print the TIMESTAMP object using the standard reader notation\"\n (cond\n (*debug-timestamp*\n (print-unreadable-object (object stream :type t)\n (format stream \"~d\/~d\/~d\"\n (day-of object)\n (sec-of object)\n (nsec-of object))))\n (t\n (when *print-escape*\n (princ \"@\" stream))\n (format-rfc3339-timestring stream object))))\n\n(defmethod print-object ((object timezone) stream)\n \"Print the TIMEZONE object in a reader-rejected manner.\"\n (print-unreadable-object (object stream :type t)\n (format stream \"~:[UNLOADED~;~{~a~^ ~}~]\"\n (timezone-loaded object)\n (map 'list #'subzone-abbrev (timezone-subzones object)))))\n\n(defun astronomical-julian-date (timestamp)\n \"Returns the astronomical julian date referred to by the timestamp.\"\n (- (day-of timestamp) +astronomical-julian-date-offset+))\n\n(defun modified-julian-date (timestamp)\n \"Returns the modified julian date referred to by the timestamp.\"\n (- (day-of timestamp) +modified-julian-date-offset+))\n\n(declaim (notinline format-timestring))\n","avg_line_length":46.8596187175,"max_line_length":261,"alphanum_fraction":0.5250634909} +{"size":2262,"ext":"lsp","lang":"Common Lisp","max_stars_count":null,"content":"(REQ_TRANS (1 1 (:TYPE-PRESCRIPTION REQ_TRANS)))\n(PROCESS_REQ)\n(CHK_AVAIL (48 24 (:TYPE-PRESCRIPTION TRUE-LISTP-LAST))\n (24 24 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (24 24 (:TYPE-PRESCRIPTION LAST))\n (24 24 (:TYPE-PRESCRIPTION CONSP-LAST)))\n(GOOD_ROUTE?)\n(TEST_ROUTES (10 5 (:TYPE-PRESCRIPTION TRUE-LISTP-LAST))\n (5 5 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (5 5 (:TYPE-PRESCRIPTION LAST))\n (5 5 (:TYPE-PRESCRIPTION CONSP-LAST)))\n(CHECK_ACK)\n(STATE-REQ-TRAND)\n(CHK_AVAIL_OBLIGATION-FOR-SCHEDULING\n (6 3 (:TYPE-PRESCRIPTION TRUE-LISTP-LAST))\n (3 3 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (3 3 (:TYPE-PRESCRIPTION LAST))\n (3 3 (:TYPE-PRESCRIPTION CONSP-LAST)))\n(VALIDSTATE-GOOD_ROUTE?\n (240 60\n (:REWRITE VALIDSTATE-ENTRY-IMPLIES-COORD-AND-BUFFER))\n (208 208 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (180 180\n (:TYPE-PRESCRIPTION VALIDSTATE-ENTRYP))\n (26 26 (:REWRITE CONSP-LAST)))\n(VALIDDTATE-TEST_ROUTES\n (176 2 (:DEFINITION GOOD_ROUTE?))\n (140 2 (:DEFINITION CHK_AVAIL))\n (136 10 (:REWRITE NTH-WITH-LARGE-INDEX))\n (87 33 (:REWRITE DEFAULT-CAR))\n (85 5 (:DEFINITION NTH))\n (69 3 (:DEFINITION VALIDSTATE))\n (68 34 (:TYPE-PRESCRIPTION TRUE-LISTP-LAST))\n (60 60 (:REWRITE DEFAULT-CDR))\n (60 3 (:DEFINITION VALIDSTATE-ENTRYP))\n (54 54 (:TYPE-PRESCRIPTION LEN))\n (45 9 (:DEFINITION LEN))\n (34 34 (:TYPE-PRESCRIPTION TRUE-LISTP))\n (34 34 (:TYPE-PRESCRIPTION CONSP-LAST))\n (30 30 (:TYPE-PRESCRIPTION LAST))\n (24 6\n (:REWRITE VALIDSTATE-ENTRY-IMPLIES-COORD-AND-BUFFER))\n (20 2 (:DEFINITION NO-HOPS-EQUAL-TO-DEST))\n (18 18\n (:TYPE-PRESCRIPTION VALIDSTATE-ENTRYP))\n (18 9 (:REWRITE DEFAULT-<-2))\n (18 9 (:REWRITE DEFAULT-+-2))\n (18 6 (:DEFINITION LAST))\n (15 3 (:DEFINITION VALIDCOORD))\n (12 2 (:DEFINITION NO-CONSECUTIVE-EQUALS))\n (9 9 (:TYPE-PRESCRIPTION NFIX))\n (9 9 (:REWRITE DEFAULT-<-1))\n (9 9 (:REWRITE DEFAULT-+-1))\n (9 9 (:LINEAR LEQ-POSITION-EQUAL-LEN))\n (9 3 (:DEFINITION VALIDBUFFER))\n (6 6 (:REWRITE CONSP-LAST))\n (4 4\n (:TYPE-PRESCRIPTION NO-HOPS-EQUAL-TO-DEST))\n (2 2\n (:TYPE-PRESCRIPTION NO-CONSECUTIVE-EQUALS)))\n","avg_line_length":37.0819672131,"max_line_length":63,"alphanum_fraction":0.617152962} +{"size":13177,"ext":"lisp","lang":"Common Lisp","max_stars_count":1.0,"content":"; sin-cos.lisp -- series approximations to SIN and COS\n; Copyright (C) 1997 Computational Logic, Inc.\n; License: A 3-clause BSD license. See the LICENSE file distributed with ACL2.\n\n;;;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n;;;\n;;; sin-cos.lisp\n;;;\n;;; Unlimited series approximations to SIN and COS, plus functions for\n;;; creating SIN\/COS tables.\n;;;\n;;; Bishop Brock and Calvin Harrison\n;;; Computational Logic, Inc.\n;;; 1717 West 6th Street, Suite 290\n;;; Austin, Texas 78703\n;;; brock@cli.com\n;;;\n;;;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n; Modified by Jared, 2014-10, to port documentation to xdoc.\n\n;;;****************************************************************************\n;;;\n;;; Environment\n;;;\n;;;****************************************************************************\n\n(in-package \"ACL2\")\n(include-book \"xdoc\/top\" :dir :system)\n\n(defxdoc sin-cos\n :parents (miscellaneous)\n :short \"SIN\/COS approximations.\")\n\n;;;****************************************************************************\n;;;\n;;; Series approximations of sin\/cos.\n;;;\n;;;****************************************************************************\n\n(defsection compute-series\n :parents (sin-cos)\n :short \"Series approximation to SIN\/COS.\"\n :long #{\"\"\"

    This function is used to calculate the following Maclaurin series.\nTo compute SIN:<\/p>\n\n@([\n x - \\frac{x^3}{3!} + \\frac{x^5}{5!} - \\frac{x^7}{7!} + ...\n])\n\n

    To compute COS:<\/p>\n\n@([\n 1- \\frac{x^2}{2!} + \\frac{x^4}{4!} - \\frac{x^6}{6!} + ...\n])\n\n

    Arguments:<\/p>\n\n

      \n
    • x -- x<\/li>\n
    • parity -- T to add the new term, NIL to subtract the new term.<\/li>\n
    • ex -- @($x^{num}$)<\/li>\n
    • fact -- @($num!$)<\/li>\n
    • itr -- Number of iterations<\/li>\n
    • ans -- Accumulated answer.<\/li>\n<\/ul>\"\"\"}\n\n (defun compute-series (x parity ex fact num itr ans)\n (declare (xargs :guard (and (rationalp x)\n (booleanp parity)\n (rationalp ex)\n (integerp fact)\n (> fact 0)\n (integerp num)\n (>= num 0)\n (integerp itr)\n (>= itr 0)\n (rationalp ans))))\n (if (zp itr)\n ans\n (compute-series x (not parity) (* x x ex) (* (+ 2 num) (+ 1 num) fact)\n (+ 2 num) (1- itr) (if parity\n (+ ans (\/ ex fact))\n (- ans (\/ ex fact)))))))\n\n(local\n (defthm type-of-compute-series\n (implies\n (and (rationalp x)\n\t(rationalp ex)\n\t(integerp fact)\n\t(integerp num)\n\t(rationalp ans))\n (rationalp (compute-series x parity ex fact num itr ans)))\n :rule-classes :type-prescription))\n\n(defsection fast-compute-series\n :parents (sin-cos)\n :short \"Efficient series approximation to SIN\/COS.\"\n :long #{\"\"\"

      This function is used to calculate the following Maclaurin series.\nTo compute SIN:<\/p>\n\n@([\n x - \\frac{x^3}{3!} + \\frac{x^5}{5!} - \\frac{x^7}{7!} + ...\n])\n\n

      To compute COS:<\/p>\n\n@([\n 1- \\frac{x^2}{2!} + \\frac{x^4}{4!} - \\frac{x^6}{6!} + ...\n])\n\n

      Rather than accumulating each term as shown, we instead compute the\nnumerator and denominator of the sum, and return these two values. This avoids\nthe necessity of reducing each rational as it is accumulated. On one set of\nexamples this procudure was almost an order of magnitude faster than the simple\nsummation given by @(see COMPUTE-SERIES).<\/p>\n\n

      Given @($x^2$) as @($\\frac{num-x^2}{denom-x^2}$), and a partial sum\n@($\\frac{num-sum}{denom-sum}$), we compute the next partial sum as:<\/p>\n\n@([\n\\frac{num-sum}{denom-sum} \n *\n\\frac{\n denom-x^2 (n + 1) (n + 2)\n}{ denom-x^2 (n + 1) (n + 2) }\n *\n\\frac{\n num-x^n num-x^2\n}{ denom-x^2 (n + 1) (n + 2) }\n\n])\n\n

      Again, the rationals are not actually computed, and instead we simply return\nthe numerator and denominator of the answer.<\/p>\n\n

      Arguments:<\/p>\n\n

        \n
      • num-x^2 -- (Numerator of x)^2.<\/li>\n
      • denom-x^2 -- (Denominator of x)^2.<\/li>\n
      • num-x^n -- @($(num-x)^n$)<\/li>\n
      • num-sum -- Numerator of partial sum.<\/li>\n
      • denom-sum -- Denominator of partial sum.<\/li>\n
      • n -- n<\/li>\n
      • parity -- T to add next term, NIL to subtract next term.<\/li>\n
      • itr -- Number of iterations to perform.<\/li>\n<\/ul>\"\"\"}\n\n (defun fast-compute-series\n (num-x^2 denom-x^2 num-x^n num-sum denom-sum n parity itr)\n (declare (xargs :guard (and (integerp num-x^2)\n (integerp denom-x^2)\n (not (= denom-x^2 0))\n (integerp num-x^n)\n (integerp num-sum)\n (integerp denom-sum)\n (not (= denom-sum 0))\n (integerp n)\n (<= 0 n)\n (booleanp parity)\n (integerp itr)\n (<= 0 itr))\n :guard-hints ((\"Goal\" :in-theory (disable DISTRIBUTIVITY)))))\n\n (if (zp itr)\n (mv num-sum denom-sum)\n (let*\n ((n+1*n+2 (* (+ n 1) (+ n 2)))\n (multiplier (* denom-x^2 n+1*n+2))\n (new-denom-sum (* denom-sum multiplier))\n (adjusted-num-sum (* num-sum multiplier))\n (new-num-x^n (* num-x^n num-x^2))\n (new-num-sum (if parity\n (+ adjusted-num-sum new-num-x^n)\n (- adjusted-num-sum new-num-x^n))))\n\n (fast-compute-series num-x^2 denom-x^2 new-num-x^n\n new-num-sum new-denom-sum\n (+ 2 n) (not parity) (1- itr))))))\n\n(local\n (defthm type-of-fast-compute-series\n (implies\n (and (integerp num-x^2)\n\t(integerp denom-x^2)\n\t(not (= denom-x^2 0))\n\t(integerp num-x^n)\n\t(integerp num-sum)\n\t(integerp denom-sum)\n\t(not (= denom-sum 0))\n\t(integerp n)\n\t(<= 0 n)\n\t(booleanp parity)\n\t(integerp itr)\n\t(<= 0 itr))\n (and\n (integerp\n (mv-nth 0 (fast-compute-series num-x^2 denom-x^2 num-x^n num-sum denom-sum\n\t\t\t\t n parity itr)))\n (integerp\n (mv-nth 1 (fast-compute-series num-x^2 denom-x^2 num-x^n num-sum denom-sum\n\t\t\t\t n parity itr)))\n (not\n (equal\n (mv-nth 1\n\t (fast-compute-series num-x^2 denom-x^2 num-x^n num-sum denom-sum\n\t\t\t\t n parity itr))\n 0))))\n :rule-classes\n ((:type-prescription\n :corollary\n (implies\n (and (integerp num-x^2)\n\t (integerp denom-x^2)\n\t (not (= denom-x^2 0))\n\t (integerp num-x^n)\n\t (integerp num-sum)\n\t (integerp denom-sum)\n\t (not (= denom-sum 0))\n\t (integerp n)\n\t (<= 0 n)\n\t (booleanp parity)\n\t (integerp itr)\n\t (<= 0 itr))\n (integerp\n (mv-nth 0\n\t (fast-compute-series num-x^2 denom-x^2 num-x^n num-sum denom-sum\n\t\t\t\t n parity itr)))))\n (:type-prescription\n :corollary\n (implies\n (and (integerp num-x^2)\n\t (integerp denom-x^2)\n\t (not (= denom-x^2 0))\n\t (integerp num-x^n)\n\t (integerp num-sum)\n\t (integerp denom-sum)\n\t (not (= denom-sum 0))\n\t (integerp n)\n\t (<= 0 n)\n\t (booleanp parity)\n\t (integerp itr)\n\t (<= 0 itr))\n (and\n (integerp\n (mv-nth 1\n\t (fast-compute-series num-x^2 denom-x^2 num-x^n num-sum denom-sum\n\t\t\t\t n parity itr)))\n (not\n (equal\n\t(mv-nth 1\n\t\t(fast-compute-series num-x^2 denom-x^2 num-x^n\n\t\t\t\t num-sum denom-sum n parity itr))\n\t0))))))\n\n :hints\n ((\"Goal\"\n :in-theory (disable distributivity))))) ;Too slow\n\n(defsection fast-compute-cos\n :parents (sin-cos)\n :short \"This function returns the numerator and denominator of a rational\napproximation to cos(x) (in radians) by itr iterations of @(see\nFAST-COMPUTE-SERIES).\"\n\n (defun fast-compute-cos (x itr)\n (declare (xargs :guard (and (rationalp x)\n (integerp itr)\n (>= itr 0))))\n (fast-compute-series (* (numerator x) (numerator x))\n (* (denominator x) (denominator x))\n 1 1 1 0 nil itr)))\n\n(defsection fast-compute-sin\n :parents (sin-cos)\n :short \"This function returns the numerator and denominator of a rational\napproximation to sin(x) (in radians) by itr iterations of @(see\nFAST-COMPUTE-SERIES).\"\n\n (defun fast-compute-sin (x itr)\n (declare (xargs :guard (and (rationalp x)\n (integerp itr)\n (>= itr 0))))\n (fast-compute-series (* (numerator x) (numerator x))\n (* (denominator x) (denominator x))\n (numerator x) (numerator x) (denominator x) 1 nil itr)))\n\n(defsection truncated-integer-cos\n :parents (sin-cos)\n :short \"Integer approximation to @($cos(x) * scale$).\"\n :long \"

        A rational approximation to @($cos(x)$), scaled up by scale, and\nthen @(see truncate)d to an integer.<\/p>\"\n\n (defun truncated-integer-cos (x itr scale)\n (declare (xargs :guard (and (rationalp x)\n (integerp itr)\n (<= 0 itr)\n (rationalp scale))\n :guard-hints ((\"Goal\" :in-theory (disable mv-nth)))))\n (mv-let (num denom) (fast-compute-cos x itr)\n (truncate (* num scale) denom))))\n\n(defsection truncated-integer-sin\n :parents (sin-cos)\n :short \"Integer approximation to @($sin(x) * scale$).\"\n :long \"

        A rational approximation to @($cos(x)$), scaled up by scale, and\nthen @(see truncate)d to an integer.<\/p>\"\n\n (defun truncated-integer-sin (x itr scale)\n (declare (xargs :guard (and (rationalp x)\n (integerp itr)\n (<= 0 itr)\n (rationalp scale))\n :guard-hints ((\"Goal\" :in-theory (disable mv-nth)))))\n (mv-let (num denom) (fast-compute-sin x itr)\n (truncate (* num scale) denom))))\n\n(defsection truncated-integer-sin\/cos-table-fn\n :parents (sin-cos)\n :short \"Helper for @(see SIN\/COS-TABLE-FN).\"\n :long #{\"\"\"

        Note that this function has special code for @($0$),\n@($\\pi\/2$), @($\\pi$), and @($\\frac{3}{2}\\pi$). The convergence of the series\nat these points is problematic in the context of\ntruncation (vs. rounding).<\/p>\"\"\"}\n\n (defun truncated-integer-sin\/cos-table-fn (sin\/cos i n pie itr scale)\n (declare (xargs :guard (and (or (eq sin\/cos :SIN) (eq sin\/cos :COS))\n (integerp i)\n (<= 0 i)\n (integerp n)\n (<= 0 n)\n (<= i n)\n (rationalp pie)\n (integerp itr)\n (<= 0 itr)\n (rationalp scale))\n :measure (ifix (if (<= n i) 0 (- n i)))))\n (cond\n ((zp (- n i)) nil)\n (t (let ((i\/n (\/ i n)))\n (cons\n (cons i (case sin\/cos\n (:sin\n (case i\/n\n ((0 1\/2) 0)\t ;0, pi\n (1\/4 (truncate scale 1)) ;pi\/2\n (3\/4 (truncate scale -1)) ;(3\/2)pi\n (t\n (truncated-integer-sin (* 2 pie i\/n) itr scale))))\n (t\n (case i\/n\n (0 (truncate scale 1)) ;0\n ((1\/4 3\/4) 0)\t ;pi\/2, (3\/2)pi\n (1\/2 (truncate scale -1)) ;pi\n (t\n (truncated-integer-cos (* 2 pie i\/n) itr scale))))))\n (truncated-integer-sin\/cos-table-fn\n sin\/cos (1+ i) n pie itr scale)))))))\n\n(defsection truncated-integer-sin\/cos-table\n :parents (sin-cos)\n :short \"Create a scaled, truncated integer sin\/cos table from @($0$) to @($2*\\\\pi$).\"\n :long #{\"\"\"

        This function creates a table of approximations to<\/p>\n\n@([\n sin[cos]( (2 \\pi i)\/n ) * scale\n])\n\n

        For @($i = 0,...,n-1$). The result is an alist binding @($i$) to @($sin[cos](i)$).<\/p>\n\n

        Arguments:<\/p>\n\n

          \n
        • sin\/cos -- :SIN or :COS.<\/li>\n
        • n -- Total number of table entries<\/li>\n
        • pie -- An approximation to @($\\pi$) sufficiently accurate for the user's\n purposes.<\/li>\n
        • itr -- Required number of iterations of FAST-COMPUTE-SIN[COS]\n sufficient for user's accuracy.<\/li>\n
        • scale -- Scale factor.<\/li>\n<\/ul>\"\"\"}\n\n (defun truncated-integer-sin\/cos-table (sin\/cos n pie itr scale)\n (declare (xargs :guard (and (or (eq sin\/cos :SIN) (eq sin\/cos :COS))\n (integerp n)\n (<= 0 n)\n (rationalp pie)\n (integerp itr)\n (<= 0 itr)\n (rationalp scale))))\n (truncated-integer-sin\/cos-table-fn sin\/cos 0 n pie itr scale)))\n","avg_line_length":33.4441624365,"max_line_length":90,"alphanum_fraction":0.4838734158}