• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • 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-snorm

    Signature
    (bfr-snorm v) → vv
    Arguments
    v — Guard (true-listp v).
    Returns
    vv — Type (true-listp vv).

    Definitions and Theorems

    Function: bfr-snorm

    (defun bfr-snorm (v)
      (declare (xargs :guard (true-listp v)))
      (let ((__function__ 'bfr-snorm))
        (declare (ignorable __function__))
        (if (atom v) '(nil) (llist-fix v))))

    Theorem: true-listp-of-bfr-snorm

    (defthm true-listp-of-bfr-snorm
      (b* ((vv (bfr-snorm v)))
        (true-listp vv))
      :rule-classes :type-prescription)

    Theorem: s-endp-of-bfr-snorm

    (defthm s-endp-of-bfr-snorm
      (equal (s-endp (bfr-snorm v))
             (s-endp v)))

    Theorem: scdr-of-bfr-snorm

    (defthm scdr-of-bfr-snorm
      (equal (scdr (bfr-snorm v))
             (bfr-snorm (scdr v))))

    Theorem: car-of-bfr-snorm

    (defthm car-of-bfr-snorm
      (equal (car (bfr-snorm v)) (car v)))

    Theorem: bfr-list->s-of-bfr-snorm

    (defthm bfr-list->s-of-bfr-snorm
      (equal (bfr-list->s (bfr-snorm v) env)
             (bfr-list->s v env)))

    Theorem: bfr-snorm-of-list-fix

    (defthm bfr-snorm-of-list-fix
      (equal (bfr-snorm (list-fix x))
             (bfr-snorm x)))