• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
      • Gl
      • Witness-cp
      • Ccg
      • Install-not-normalized
      • Rewrite$
      • Fgl
        • Fgl-rewrite-rules
          • Binder-functions
          • Fgl-syntactic-checker-binders
            • Integer-length-bound
            • Check-int-sign
            • Check-int-endp
            • Check-unsigned-byte-p
            • Check-signed-byte-p
            • Check-true
            • Check-non-integerp
            • Check-integerp
            • Check-non-consp
            • Check-non-booleanp
              • Check-natp
              • Check-equal
              • Check-consp
              • Check-booleanp
              • Check-bitp
              • Alist-const-pairs
              • Symbolic-t
              • Symbolic-nil
            • Binder
            • Fancy-ev
            • Annotate
            • Binder-rules
            • Def-fgl-program
            • Bind-var
            • Add-fgl-brewrites
            • Def-fgl-rewrite
            • Narrow-equiv
            • Trigger-constraints
            • Def-fgl-branch-merge
            • Add-fgl-rewrites
            • Fgl-interp-obj
            • Syntax-bind
            • Fgl-hide
            • Collect-cmr-rewrites-for-formula-name
            • Fgl-time
            • Fgl-prog2
            • Assume
            • Add-fgl-binder-meta
            • Add-fgl-primitive
            • Add-fgl-meta
            • Add-fgl-branch-merges
            • Cmr::rewritelist->lhses
            • Remove-fgl-brewrites
            • Remove-fgl-branch-merges
            • Lhses->branch-function-syms
            • Enable-execution
            • Abort-rewrite
            • Syntax-interp
            • Remove-fgl-rewrites
            • Lhses->leading-function-syms
            • Remove-fgl-primitive
            • Remove-fgl-binder-meta
            • If!
            • Disable-execution
            • Remove-fgl-meta
            • Fgl-time-fn
            • Disable-definition
            • Def-fgl-brewrite
          • Fgl-function-mode
          • Fgl-object
          • Fgl-solving
          • Fgl-handling-if-then-elses
          • Fgl-getting-bits-from-objects
          • Fgl-primitive-and-meta-rules
          • Fgl-counterexamples
          • Fgl-interpreter-overview
          • Fgl-correctness-of-binding-free-variables
          • Fgl-debugging
          • Fgl-testbenches
          • Def-fgl-boolean-constraint
          • Fgl-stack
          • Fgl-rewrite-tracing
          • Def-fgl-param-thm
          • Def-fgl-thm
          • Fgl-fast-alist-support
          • Fgl-array-support
          • Advanced-equivalence-checking-with-fgl
          • Fgl-fty-support
          • Fgl-internals
        • 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
    • Fgl-syntactic-checker-binders

    Check-non-booleanp

    FGL binder that checks whether X is syntactically a non-Boolean.

    Signature
    (check-non-booleanp ans x) → *

    See fgl-syntactic-checker-binders and see binder for details.

    Definitions and Theorems

    Function: check-non-booleanp

    (defun check-non-booleanp (ans x)
      (declare (xargs :guard t))
      (let ((__function__ 'check-non-booleanp))
        (declare (ignorable __function__))
        (and (not (booleanp x)) ans t)))

    Theorem: check-non-booleanp-implies-not-booleanp

    (defthm check-non-booleanp-implies-not-booleanp
      (implies (check-non-booleanp ans x)
               (not (booleanp x)))
      :rule-classes :forward-chaining)