• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
      • Gl
      • Witness-cp
      • Ccg
      • Install-not-normalized
      • Rewrite$
      • Fgl
        • Fgl-rewrite-rules
        • Fgl-function-mode
        • Fgl-object
        • Fgl-solving
          • Fgl-sat-check
          • Fgl-exhaustive-test-config
            • Fgl-exhaustive-test-config-fix
            • Fgl-exhaustive-test-config-equiv
            • Make-fgl-exhaustive-test-config
            • Fgl-exhaustive-test-config->ignore-pathcond
            • Fgl-exhaustive-test-config->ignore-constraint
            • Fgl-exhaustive-test-config->random-iters
            • Fgl-exhaustive-test-config->transform
            • Change-fgl-exhaustive-test-config
            • Fgl-exhaustive-test-config->transform-config-override
            • Fgl-exhaustive-test-config-p
            • Fgl-prove
            • Fgl-vacuity-check
            • Fgl-sat-check/print-counterexample
          • Fgl-handling-if-then-elses
          • Fgl-counterexamples
          • Fgl-getting-bits-from-objects
          • Fgl-primitive-and-meta-rules
          • Fgl-interpreter-overview
          • Fgl-correctness-of-binding-free-variables
          • Fgl-debugging
          • Fgl-testbenches
          • Def-fgl-boolean-constraint
          • Fgl-stack
          • Def-fgl-param-thm
          • Fgl-rewrite-tracing
          • 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-exhaustive-test-config

    Fgl-exhaustive-test-config-p

    Recognizer for fgl-exhaustive-test-config structures.

    Signature
    (fgl-exhaustive-test-config-p x) → *

    Definitions and Theorems

    Function: fgl-exhaustive-test-config-p

    (defun fgl-exhaustive-test-config-p (x)
     (declare (xargs :guard t))
     (let ((__function__ 'fgl-exhaustive-test-config-p))
      (declare (ignorable __function__))
      (and
       (consp x)
       (eq (car x) :fgl-exhaustive-test-config)
       (mbe
        :logic
        (and
            (alistp (cdr x))
            (equal (strip-cars (cdr x))
                   '(ignore-pathcond ignore-constraint
                                     transform transform-config-override
                                     random-iters)))
        :exec (fty::alist-with-carsp
                   (cdr x)
                   '(ignore-pathcond ignore-constraint
                                     transform transform-config-override
                                     random-iters)))
       (b* ((ignore-pathcond (cdr (std::da-nth 0 (cdr x))))
            (ignore-constraint (cdr (std::da-nth 1 (cdr x))))
            (transform (cdr (std::da-nth 2 (cdr x))))
            (?transform-config-override (cdr (std::da-nth 3 (cdr x))))
            (random-iters (cdr (std::da-nth 4 (cdr x)))))
         (and (booleanp ignore-pathcond)
              (booleanp ignore-constraint)
              (booleanp transform)
              (acl2::maybe-natp random-iters))))))

    Theorem: consp-when-fgl-exhaustive-test-config-p

    (defthm consp-when-fgl-exhaustive-test-config-p
      (implies (fgl-exhaustive-test-config-p x)
               (consp x))
      :rule-classes :compound-recognizer)