• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
        • Symbolic-test-vectors
          • Defstv
          • Stv-compile
          • Symbolic-test-vector-format
          • Stv-implementation-details
          • Compiled-stv-p
          • Stv-run-for-all-dontcares
          • Stv-run
            • Stv-simvar-inputs-to-bits
            • Stv-assemble-output-alist
              • Collect-bits-bound-to-x
              • Stv-print-alist
            • Stv-process
            • Stv-run-check-dontcares
            • Symbolic-test-vector-composition
            • Stv-expand
            • Stv-easy-bindings
            • Stv-debug
            • Stv-run-squash-dontcares
            • Stvdata-p
            • Stv-doc
            • Stv2c
            • Stv-widen
            • Stv-out->width
            • Stv-in->width
            • Stv-number-of-phases
            • Stv->outs
            • Stv->ins
            • Stv-suffix-signals
            • Stv->vars
          • Esim-primitives
          • E-conversion
          • Esim-steps
          • Patterns
          • Mod-internal-paths
          • Defmodules
          • Esim-simplify-update-fns
          • Esim-tutorial
          • Esim-vl
        • Vl2014
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Stv-assemble-output-alist

    Collect-bits-bound-to-x

    Signature
    (collect-bits-bound-to-x keys alist) → *

    Definitions and Theorems

    Function: collect-bits-bound-to-x

    (defun collect-bits-bound-to-x (keys alist)
      (declare (xargs :guard t))
      (let ((__function__ 'collect-bits-bound-to-x))
        (declare (ignorable __function__))
        (b* (((when (atom keys)) nil)
             (lookup (hons-get (car keys) alist))
             ((when (eq (cdr lookup) 'x))
              (cons (car keys)
                    (collect-bits-bound-to-x (cdr keys)
                                             alist))))
          (collect-bits-bound-to-x (cdr keys)
                                   alist))))