• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
        • Z3-installation
        • Smt-hint
        • Tutorial
        • Status
        • Developer
          • Verified
            • Uninterpreted-fn-cp
            • Smt-hint-interface
            • Function-expansion
            • Smt-config
              • Smtlink-config
                • Smtlink-config-fix
                • Smtlink-config-equiv
                • Make-smtlink-config
                • Smtlink-config->interface-dir
                • Smtlink-config->smt-module
                • Smtlink-config->smt-class
                • Smtlink-config->pythonpath
                • Smtlink-config->smt-cmd
                • Change-smtlink-config
                • Smtlink-config-p
              • Fty-support
              • Smt-computed-hints
              • Add-hypo-cp
              • Smt-hint-please
              • Type-extract-cp
              • Smt-extract
              • Smtlink-process-user-hint
              • Smt-basics
              • Smt-type-hyp
              • Smt-magic-fix
            • Trusted
        • Abnf
        • Vwsim
        • Isar
        • Wp-gen
        • Dimacs-reader
        • Pfcs
        • Legacy-defrstobj
        • Proof-checker-array
        • Soft
        • C
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Bitcoin
        • Riscv
        • Des
        • Ethereum
        • X86isa
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Smtlink-config

    Smtlink-config-p

    Recognizer for smtlink-config structures.

    Signature
    (smtlink-config-p x) → *

    Definitions and Theorems

    Function: smtlink-config-p

    (defun smtlink-config-p (x)
     (declare (xargs :guard t))
     (let ((acl2::__function__ 'smtlink-config-p))
      (declare (ignorable acl2::__function__))
      (and
        (mbe :logic
             (and (alistp x)
                  (equal (strip-cars x)
                         '(interface-dir smt-module
                                         smt-class smt-cmd pythonpath)))
             :exec (fty::alist-with-carsp
                        x
                        '(interface-dir smt-module
                                        smt-class smt-cmd pythonpath)))
        (b* ((interface-dir (cdr (std::da-nth 0 x)))
             (smt-module (cdr (std::da-nth 1 x)))
             (smt-class (cdr (std::da-nth 2 x)))
             (smt-cmd (cdr (std::da-nth 3 x)))
             (pythonpath (cdr (std::da-nth 4 x))))
          (and (stringp interface-dir)
               (stringp smt-module)
               (stringp smt-class)
               (stringp smt-cmd)
               (stringp pythonpath))))))

    Theorem: consp-when-smtlink-config-p

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