• 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

    Make-smtlink-config

    Basic constructor macro for smtlink-config structures.

    Syntax
    (make-smtlink-config [:interface-dir <interface-dir>] 
                         [:smt-module <smt-module>] 
                         [:smt-class <smt-class>] 
                         [:smt-cmd <smt-cmd>] 
                         [:pythonpath <pythonpath>]) 
    

    This is the usual way to construct smtlink-config structures. It simply conses together a structure with the specified fields.

    This macro generates a new smtlink-config structure from scratch. See also change-smtlink-config, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-smtlink-config

    (defmacro make-smtlink-config (&rest args)
      (std::make-aggregate 'smtlink-config
                           args
                           '((:interface-dir . "")
                             (:smt-module . "")
                             (:smt-class . "")
                             (:smt-cmd . "")
                             (:pythonpath . ""))
                           'make-smtlink-config
                           nil))

    Function: smtlink-config

    (defun smtlink-config
           (interface-dir smt-module smt-class smt-cmd pythonpath)
      (declare (xargs :guard (and (stringp interface-dir)
                                  (stringp smt-module)
                                  (stringp smt-class)
                                  (stringp smt-cmd)
                                  (stringp pythonpath))))
      (declare (xargs :guard t))
      (let ((acl2::__function__ 'smtlink-config))
        (declare (ignorable acl2::__function__))
        (b* ((interface-dir (mbe :logic (str-fix interface-dir)
                                 :exec interface-dir))
             (smt-module (mbe :logic (str-fix smt-module)
                              :exec smt-module))
             (smt-class (mbe :logic (str-fix smt-class)
                             :exec smt-class))
             (smt-cmd (mbe :logic (str-fix smt-cmd)
                           :exec smt-cmd))
             (pythonpath (mbe :logic (str-fix pythonpath)
                              :exec pythonpath)))
          (list (cons 'interface-dir interface-dir)
                (cons 'smt-module smt-module)
                (cons 'smt-class smt-class)
                (cons 'smt-cmd smt-cmd)
                (cons 'pythonpath pythonpath)))))