• 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
              • Ex-args
              • Expand
              • Expand-measure
              • Ex-outs
                • Ex-outs-fix
                • Ex-outs-equiv
                • Make-ex-outs
                  • Ex-outs->expanded-term-lst
                  • Ex-outs->expanded-fn-lst
                  • Change-ex-outs
                  • Ex-outs-p
              • Smt-config
              • 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
    • Ex-outs

    Make-ex-outs

    Basic constructor macro for ex-outs structures.

    Syntax
    (make-ex-outs [:expanded-term-lst <expanded-term-lst>] 
                  [:expanded-fn-lst <expanded-fn-lst>]) 
    

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

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

    Definition

    This is an ordinary make- macro introduced by defprod.

    Macro: make-ex-outs

    (defmacro make-ex-outs (&rest args)
      (std::make-aggregate 'ex-outs
                           args
                           '((:expanded-term-lst)
                             (:expanded-fn-lst))
                           'make-ex-outs
                           nil))

    Function: ex-outs

    (defun ex-outs (expanded-term-lst expanded-fn-lst)
     (declare (xargs :guard (and (pseudo-term-listp expanded-term-lst)
                                 (pseudo-term-alistp expanded-fn-lst))))
     (declare (xargs :guard t))
     (let ((acl2::__function__ 'ex-outs))
       (declare (ignorable acl2::__function__))
       (b* ((expanded-term-lst
                 (mbe :logic (pseudo-term-list-fix expanded-term-lst)
                      :exec expanded-term-lst))
            (expanded-fn-lst
                 (mbe :logic (pseudo-term-alist-fix expanded-fn-lst)
                      :exec expanded-fn-lst)))
         (list (cons 'expanded-term-lst
                     expanded-term-lst)
               (cons 'expanded-fn-lst
                     expanded-fn-lst)))))