• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
        • Proof-support
        • Semantics
        • Lifting
        • R1cs-subset
        • Well-formedness
        • Abstract-syntax
          • Syntax-abstraction
          • Abstract-syntax-trees
            • Expression
            • Name
            • Definition
            • Constraint
            • Definition-option
            • System
            • System-result
            • Name-list-result
            • Expression-result
              • Expression-result-fix
              • Expression-result-equiv
              • Expression-resultp
              • Expression-result-ok
                • Expression-result-ok->get
                • Make-expression-result-ok
                  • Change-expression-result-ok
                • Expression-result-err
                • Expression-result-kind
              • Expression-list-result
              • Definition-result
              • Definition-list-result
              • Constraint-result
              • Constraint-list-result
              • Name-result
              • Expression-list
              • Definition-list
              • Constraint-list
              • Name-set
              • Name-list
            • Abstract-syntax-operations
            • Convenience-constructors
          • Concrete-syntax
          • R1cs-bridge
          • Parser-interface
        • Legacy-defrstobj
        • C
        • Proof-checker-array
        • Soft
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Ethereum
        • Leftist-trees
        • Java
        • Riscv
        • Taspi
        • Bitcoin
        • Zcash
        • Des
        • X86isa
        • Sha-2
        • Yul
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Axe
        • Poseidon
        • Where-do-i-place-my-book
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Expression-result-ok

    Make-expression-result-ok

    Basic constructor macro for expression-result-ok structures.

    Syntax
    (make-expression-result-ok [:get <get>]) 
    

    This is the usual way to construct expression-result-ok structures. It simply conses together a structure with the specified fields.

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

    Definition

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

    Macro: make-expression-result-ok

    (defmacro make-expression-result-ok (&rest args)
      (std::make-aggregate 'expression-result-ok
                           args '((:get))
                           'make-expression-result-ok
                           nil))

    Function: expression-result-ok

    (defun expression-result-ok (get)
      (declare (xargs :guard (expressionp get)))
      (declare (xargs :guard t))
      (let ((__function__ 'expression-result-ok))
        (declare (ignorable __function__))
        (b* ((get (mbe :logic (expression-fix get)
                       :exec get)))
          get)))