• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
        • Deftreeops
          • Deftreeops-implementation
            • Deftreeops-event-generation
            • Deftreeops-info
              • Deftreeops-rulename-info
              • Deftreeops-conc-info
              • Deftreeops-rep-info
                • Deftreeops-rep-info-fix
                • Deftreeops-rep-info-equiv
                • Make-deftreeops-rep-info
                  • Deftreeops-rep-info->get-tree-list-fn
                  • Deftreeops-rep-info->matching-thm
                  • Deftreeops-rep-info->get-tree-fn
                  • Deftreeops-rep-info->get-len-fn
                  • Change-deftreeops-rep-info
                  • Deftreeops-rep-infop
                • Deftreeops-numrange-info
                • Deftreeops-charval-info
                • Deftreeops-rep-info-list
                • Deftreeops-conc-info-list
                • Deftreeops-charval-info-alist
                • Deftreeops-rulename-info-alist
                • Deftreeops-numrange-info-alist
              • Deftreeops-process-inputs-and-gen-everything
              • Deftreeops-fn
              • Deftreeops-table
              • Deftreeops-input-processing
              • Deftreeops-macro-definition
            • Deftreeops-show-event
            • Deftreeops-show-info
          • Defdefparse
          • Defgrammar
          • Tree-utilities
          • Notation
          • Grammar-parser
          • Meta-circular-validation
          • Parsing-primitives-defresult
          • Parsing-primitives-seq
          • Operations
          • Examples
          • Differences-with-paper
          • Constructor-utilities
          • Grammar-printer
          • Parsing-tools
        • 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
        • Riscv
        • Taspi
        • Bitcoin
        • 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
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Deftreeops-rep-info

    Make-deftreeops-rep-info

    Basic constructor macro for deftreeops-rep-info structures.

    Syntax
    (make-deftreeops-rep-info [:get-tree-list-fn <get-tree-list-fn>] 
                              [:matching-thm <matching-thm>] 
                              [:get-len-fn <get-len-fn>] 
                              [:get-tree-fn <get-tree-fn>]) 
    

    This is the usual way to construct deftreeops-rep-info structures. It simply conses together a structure with the specified fields.

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

    Definition

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

    Macro: make-deftreeops-rep-info

    (defmacro make-deftreeops-rep-info (&rest args)
      (std::make-aggregate 'deftreeops-rep-info
                           args
                           '((:get-tree-list-fn)
                             (:matching-thm)
                             (:get-len-fn)
                             (:get-tree-fn))
                           'make-deftreeops-rep-info
                           nil))

    Function: deftreeops-rep-info

    (defun deftreeops-rep-info
           (get-tree-list-fn matching-thm get-len-fn get-tree-fn)
     (declare (xargs :guard (and (common-lisp::symbolp get-tree-list-fn)
                                 (common-lisp::symbolp matching-thm)
                                 (common-lisp::symbolp get-len-fn)
                                 (common-lisp::symbolp get-tree-fn))))
     (declare (xargs :guard t))
     (let ((__function__ 'deftreeops-rep-info))
       (declare (ignorable __function__))
       (b* ((get-tree-list-fn
                 (mbe :logic (acl2::symbol-fix get-tree-list-fn)
                      :exec get-tree-list-fn))
            (matching-thm (mbe :logic (acl2::symbol-fix matching-thm)
                               :exec matching-thm))
            (get-len-fn (mbe :logic (acl2::symbol-fix get-len-fn)
                             :exec get-len-fn))
            (get-tree-fn (mbe :logic (acl2::symbol-fix get-tree-fn)
                              :exec get-tree-fn)))
         (list (cons 'get-tree-list-fn
                     get-tree-list-fn)
               (cons 'matching-thm matching-thm)
               (cons 'get-len-fn get-len-fn)
               (cons 'get-tree-fn get-tree-fn)))))