• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
        • Proof-support
        • Semantics
          • Exec-proof-tree
          • Assertion-list->constr-list
          • Assertion-list->asg-list
          • Eval-expr-list
          • Eval-expr
          • Assignment-wfp
          • Assertion
          • Proof-outcome
          • Proof-list-outcome
          • Assertion-list-from
          • Definition-satp
          • Constraint-satp
          • Assignment
          • System-satp
          • Constraint-list-satp
          • Assertion-list
          • Assignment-list
          • Proof-trees
            • Proof-tree
              • Proof-tree-case
              • Proof-tree-relation
              • Proof-tree-equiv
              • Proof-tree-equal
                • Make-proof-tree-equal
                  • Proof-tree-equal->right
                  • Proof-tree-equal->left
                  • Proof-tree-equal->asg
                  • Change-proof-tree-equal
                • Proof-treep
                • Proof-tree-kind
                • Proof-tree-fix
                • Proof-tree-count
              • Proof-tree-list
          • Lifting
          • R1cs-subset
          • Well-formedness
          • Abstract-syntax
          • 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
    • Proof-tree-equal

    Make-proof-tree-equal

    Basic constructor macro for proof-tree-equal structures.

    Syntax
    (make-proof-tree-equal [:asg <asg>] 
                           [:left <left>] 
                           [:right <right>]) 
    

    This is the usual way to construct proof-tree-equal structures. It simply conses together a structure with the specified fields.

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

    Definition

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

    Macro: make-proof-tree-equal

    (defmacro make-proof-tree-equal (&rest args)
      (std::make-aggregate 'proof-tree-equal
                           args '((:asg) (:left) (:right))
                           'make-proof-tree-equal
                           nil))

    Function: proof-tree-equal

    (defun proof-tree-equal (asg left right)
      (declare (xargs :guard (and (assignmentp asg)
                                  (expressionp left)
                                  (expressionp right))))
      (declare (xargs :guard t))
      (let ((__function__ 'proof-tree-equal))
        (declare (ignorable __function__))
        (b* ((asg (mbe :logic (assignment-fix asg)
                       :exec asg))
             (left (mbe :logic (expression-fix left)
                        :exec left))
             (right (mbe :logic (expression-fix right)
                         :exec right)))
          (cons :equal (list asg left right)))))