• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
      • Gl
        • Term-level-reasoning
        • Glmc
        • Other-resources
        • Optimization
        • Reference
          • Def-gl-thm
          • Shape-specs
          • Symbolic-objects
          • Gl-aside
          • Def-gl-param-thm
          • Symbolic-arithmetic
          • Bfr
          • Def-gl-boolean-constraint
          • Gl-mbe
          • Bvec
            • Scdr
            • Bfr-list->s
            • Bfr-eval-list
              • Bfr-scons
              • Bfr-ucons
              • Bfr-list->u
              • Bfr-sterm
              • Bfr-snorm
              • Pbfr-list-depends-on
              • V2i
              • N2v
              • V2n
              • S-endp
              • I2v
              • First/rest/end
              • Bool->sign
            • Flex-bindings
            • Auto-bindings
            • Gl-interp
            • Gl-set-uninterpreted
            • Def-gl-clause-processor
            • Def-glcp-ctrex-rewrite
            • ACL2::always-equal
            • Gl-hint
            • Def-gl-rewrite
            • Def-gl-branch-merge
            • Gl-force-check
            • Gl-concretize
            • Gl-assert
            • Gl-param-thm
            • Gl-simplify-satlink-mode
            • Gl-satlink-mode
            • Gl-bdd-mode
            • Gl-aig-bddify-mode
            • Gl-fraig-satlink-mode
          • Debugging
          • Basic-tutorial
        • Witness-cp
        • Ccg
        • Install-not-normalized
        • Rewrite$
        • Fgl
        • Removable-runes
        • Efficiency
        • Rewrite-bounds
        • Bash
        • Def-dag-measure
        • Bdd
        • Remove-hyps
        • Contextual-rewriting
        • Simp
        • Rewrite$-hyps
        • Bash-term-to-dnf
        • Use-trivial-ancestors-check
        • Minimal-runes
        • Clause-processor-tools
        • Fn-is-body
        • Without-subsumption
        • Rewrite-equiv-hint
        • Def-bounds
        • Rewrite$-context
        • Try-gl-concls
        • Hint-utils
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Bvec

    Bfr-eval-list

    Evaluate a list of BFRs, return the list of the (Boolean) results.

    Signature
    (bfr-eval-list x env) → bools
    Returns
    bools — Type (boolean-listp bools).

    Definitions and Theorems

    Function: bfr-eval-list

    (defun bfr-eval-list (x env)
      (declare (xargs :guard t))
      (let ((__function__ 'bfr-eval-list))
        (declare (ignorable __function__))
        (if (atom x)
            nil
          (cons (bfr-eval (car x) env)
                (bfr-eval-list (cdr x) env)))))

    Theorem: boolean-listp-of-bfr-eval-list

    (defthm acl2::boolean-listp-of-bfr-eval-list
      (b* ((bools (bfr-eval-list x env)))
        (boolean-listp bools))
      :rule-classes :rewrite)

    Theorem: bfr-eval-list-when-atom

    (defthm bfr-eval-list-when-atom
      (implies (atom x)
               (equal (bfr-eval-list x env) nil)))

    Theorem: bfr-eval-list-of-cons

    (defthm bfr-eval-list-of-cons
      (equal (bfr-eval-list (cons a x) env)
             (cons (bfr-eval a env)
                   (bfr-eval-list x env))))

    Theorem: consp-of-bfr-eval-list

    (defthm consp-of-bfr-eval-list
      (equal (consp (bfr-eval-list x env))
             (consp x)))

    Theorem: bfr-eval-list-of-append

    (defthm bfr-eval-list-of-append
      (equal (bfr-eval-list (append a b) env)
             (append (bfr-eval-list a env)
                     (bfr-eval-list b env))))

    Theorem: boolean-list-bfr-eval-list

    (defthm boolean-list-bfr-eval-list
      (implies (boolean-listp x)
               (equal (bfr-eval-list x env) x)))

    Theorem: boolean-list-bfr-eval-list-const

    (defthm boolean-list-bfr-eval-list-const
      (implies (and (syntaxp (quotep x))
                    (boolean-listp x))
               (equal (bfr-eval-list x env) x)))

    Theorem: bfr-eval-list-of-list-fix

    (defthm bfr-eval-list-of-list-fix
      (equal (bfr-eval-list (list-fix x) env)
             (bfr-eval-list x env)))