• 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-ipasir-config
            • Fgl-sat-config
              • Fgl-sat-config-fix
              • Fgl-sat-config-p
                • Fgl-sat-config-equiv
            • Fgl-exhaustive-test-config
            • 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-sat-config

    Fgl-sat-config-p

    Recognizer for fgl-sat-config.

    Signature
    (fgl-sat-config-p x) → *

    Definitions and Theorems

    Function: fgl-sat-config-p

    (defun fgl-sat-config-p (x)
      (declare (xargs :guard t))
      (let ((__function__ 'fgl-sat-config-p))
        (declare (ignorable __function__))
        (case (tag x)
          ((:fgl-satlink-config)
           (fgl-satlink-monolithic-sat-config-p x))
          ((:fgl-ipasir-config)
           (fgl-ipasir-config-p x))
          (otherwise (fgl-exhaustive-test-config-p x)))))

    Theorem: consp-when-fgl-sat-config-p

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

    Theorem: fgl-sat-config-p-when-fgl-satlink-monolithic-sat-config-p

    (defthm fgl-sat-config-p-when-fgl-satlink-monolithic-sat-config-p
      (implies (fgl-satlink-monolithic-sat-config-p x)
               (fgl-sat-config-p x))
      :rule-classes ((:rewrite :backchain-limit-lst 1)))

    Theorem: fgl-sat-config-p-when-fgl-ipasir-config-p

    (defthm fgl-sat-config-p-when-fgl-ipasir-config-p
      (implies (fgl-ipasir-config-p x)
               (fgl-sat-config-p x))
      :rule-classes ((:rewrite :backchain-limit-lst 1)))

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

    (defthm fgl-sat-config-p-when-fgl-exhaustive-test-config-p
      (implies (fgl-exhaustive-test-config-p x)
               (fgl-sat-config-p x))
      :rule-classes ((:rewrite :backchain-limit-lst 1)))

    Theorem: fgl-satlink-monolithic-sat-config-p-by-tag-when-fgl-sat-config-p

    (defthm
       fgl-satlink-monolithic-sat-config-p-by-tag-when-fgl-sat-config-p
      (implies (and (or (equal (tag x) :fgl-satlink-config))
                    (fgl-sat-config-p x))
               (fgl-satlink-monolithic-sat-config-p x))
      :rule-classes ((:rewrite :backchain-limit-lst 1)))

    Theorem: fgl-ipasir-config-p-by-tag-when-fgl-sat-config-p

    (defthm fgl-ipasir-config-p-by-tag-when-fgl-sat-config-p
      (implies (and (or (equal (tag x) :fgl-ipasir-config))
                    (fgl-sat-config-p x))
               (fgl-ipasir-config-p x))
      :rule-classes ((:rewrite :backchain-limit-lst 1)))

    Theorem: fgl-exhaustive-test-config-p-by-tag-when-fgl-sat-config-p

    (defthm fgl-exhaustive-test-config-p-by-tag-when-fgl-sat-config-p
      (implies (and (or (equal (tag x)
                               :fgl-exhaustive-test-config))
                    (fgl-sat-config-p x))
               (fgl-exhaustive-test-config-p x))
      :rule-classes ((:rewrite :backchain-limit-lst 1)))

    Theorem: fgl-sat-config-p-when-invalid-tag

    (defthm fgl-sat-config-p-when-invalid-tag
      (implies (and (not (equal (tag x) :fgl-satlink-config))
                    (not (equal (tag x) :fgl-ipasir-config))
                    (not (equal (tag x)
                                :fgl-exhaustive-test-config)))
               (not (fgl-sat-config-p x)))
      :rule-classes ((:rewrite :backchain-limit-lst 0)))

    Theorem: tag-when-fgl-sat-config-p-forward

    (defthm tag-when-fgl-sat-config-p-forward
      (implies (fgl-sat-config-p x)
               (or (equal (tag x) :fgl-satlink-config)
                   (equal (tag x) :fgl-ipasir-config)
                   (equal (tag x)
                          :fgl-exhaustive-test-config)))
      :rule-classes ((:forward-chaining)))