• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • 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
        • Transformations
        • Language
          • Abstract-syntax
          • Dynamic-semantics
            • Exec
            • Find-fun
            • Init-local
            • Write-vars-values
            • Add-vars-values
            • Add-funs
            • Eoutcome
            • Soutcome
            • Ensure-funscope-disjoint
            • Write-var-value
            • Restrict-vars
            • Add-var-value
            • Funinfo
            • Exec-top-block
            • Values
            • Cstate
            • Funinfo+funenv
              • Funinfo+funenv-fix
              • Funinfo+funenv-equiv
              • Make-funinfo+funenv
                • Funinfo+funenv->info
                • Funinfo+funenv->env
                • Change-funinfo+funenv
                • Funinfo+funenv-p
              • Read-vars-values
              • Read-var-value
              • Funenv
              • Funscope-for-fundefs
              • Exec-path
              • Path-to-var
              • Funinfo+funenv-result
              • Exec-literal
              • Soutcome-result
              • Mode-set-result
              • Literal-evaluation
              • Funscope-result
              • Funinfo-result
              • Funenv-result
              • Eoutcome-result
              • Cstate-result
              • Paths-to-vars
              • Funinfo-for-fundef
              • Lstate
              • Funscope
              • Mode-set
              • Modes
            • Concrete-syntax
            • Static-soundness
            • Static-semantics
            • Errors
          • Yul-json
        • 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
    • Funinfo+funenv

    Make-funinfo+funenv

    Basic constructor macro for funinfo+funenv structures.

    Syntax
    (make-funinfo+funenv [:info <info>] 
                         [:env <env>]) 
    

    This is the usual way to construct funinfo+funenv structures. It simply conses together a structure with the specified fields.

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

    Definition

    This is an ordinary make- macro introduced by fty::defprod.

    Macro: make-funinfo+funenv

    (defmacro make-funinfo+funenv (&rest args)
      (std::make-aggregate 'funinfo+funenv
                           args '((:info) (:env))
                           'make-funinfo+funenv
                           nil))

    Function: funinfo+funenv

    (defun funinfo+funenv (info env)
      (declare (xargs :guard (and (funinfop info) (funenvp env))))
      (declare (xargs :guard t))
      (let ((__function__ 'funinfo+funenv))
        (declare (ignorable __function__))
        (b* ((info (mbe :logic (funinfo-fix info)
                        :exec info))
             (env (mbe :logic (funenv-fix env)
                       :exec env)))
          (list (cons 'info info)
                (cons 'env env)))))