• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
        • Symbolic-test-vectors
          • Defstv
            • Defstv-fn
            • Defstv-main
            • Stv-autohyps
              • Stv-autohyps-aux
              • Stv-autobinds
              • Stv-autoins
            • Stv-compile
            • Symbolic-test-vector-format
            • Stv-implementation-details
            • Compiled-stv-p
            • Stv-run-for-all-dontcares
            • Stv-run
            • 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-autohyps

    Stv-autohyps-aux

    Signature
    (stv-autohyps-aux ins stv) → *
    Arguments
    ins — Guard (symbol-listp ins).
    stv — Guard (processed-stv-p stv).

    We could have used unsigned-byte-p instead, but that gets us into trouble with :expand hints when recursive definitions of unsigned-byte-p are installed, so just use explicit bounds instead.

    Definitions and Theorems

    Function: stv-autohyps-aux

    (defun stv-autohyps-aux (ins stv)
     (declare (xargs :guard (and (symbol-listp ins)
                                 (processed-stv-p stv))))
     (let ((__function__ 'stv-autohyps-aux))
      (declare (ignorable __function__))
      (if (atom ins)
          nil
       (list*
        (cons 'natp (cons (car ins) 'nil))
        (cons
             '<
             (cons (car ins)
                   (cons (cons 'expt
                               (cons '2
                                     (cons (stv-in->width (car ins) stv)
                                           'nil)))
                         'nil)))
        (stv-autohyps-aux (cdr ins) stv)))))