• 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-conc-info-fix
                • Make-deftreeops-conc-info
                  • Deftreeops-conc-info-equiv
                  • Deftreeops-conc-info->get-tree-list-list-fn
                  • Deftreeops-conc-info->check-conc-fn-equiv-thm
                  • Deftreeops-conc-infop
                  • Deftreeops-conc-info->rep-infos
                  • Deftreeops-conc-info->matching-thm
                  • Change-deftreeops-conc-info
                  • Deftreeops-conc-info->conc
                  • Deftreeops-conc-info->discriminant-term
                • Deftreeops-rep-info
                • 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
        • Pfcs
        • Wp-gen
        • Dimacs-reader
        • Legacy-defrstobj
        • Proof-checker-array
        • Soft
        • C
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Riscv
        • 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
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Deftreeops-conc-info

    Make-deftreeops-conc-info

    Basic constructor macro for deftreeops-conc-info structures.

    Syntax
    (make-deftreeops-conc-info [:conc <conc>] 
                               [:discriminant-term <discriminant-term>] 
                               [:check-conc-fn-equiv-thm <check-conc-fn-equiv-thm>] 
                               [:get-tree-list-list-fn <get-tree-list-list-fn>] 
                               [:matching-thm <matching-thm>] 
                               [:rep-infos <rep-infos>]) 
    

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

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

    Definition

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

    Macro: make-deftreeops-conc-info

    (defmacro make-deftreeops-conc-info (&rest args)
      (std::make-aggregate 'deftreeops-conc-info
                           args
                           '((:conc)
                             (:discriminant-term)
                             (:check-conc-fn-equiv-thm)
                             (:get-tree-list-list-fn)
                             (:matching-thm)
                             (:rep-infos))
                           'make-deftreeops-conc-info
                           nil))

    Function: deftreeops-conc-info

    (defun deftreeops-conc-info (conc discriminant-term
                                      check-conc-fn-equiv-thm
                                      get-tree-list-list-fn
                                      matching-thm rep-infos)
     (declare
       (xargs :guard (and (concatenationp conc)
                          (common-lisp::symbolp check-conc-fn-equiv-thm)
                          (common-lisp::symbolp get-tree-list-list-fn)
                          (common-lisp::symbolp matching-thm)
                          (deftreeops-rep-info-listp rep-infos))))
     (declare (xargs :guard t))
     (let ((__function__ 'deftreeops-conc-info))
       (declare (ignorable __function__))
       (b*
        ((conc (mbe :logic (concatenation-fix conc)
                    :exec conc))
         (check-conc-fn-equiv-thm
              (mbe :logic (acl2::symbol-fix check-conc-fn-equiv-thm)
                   :exec check-conc-fn-equiv-thm))
         (get-tree-list-list-fn
              (mbe :logic (acl2::symbol-fix get-tree-list-list-fn)
                   :exec get-tree-list-list-fn))
         (matching-thm (mbe :logic (acl2::symbol-fix matching-thm)
                            :exec matching-thm))
         (rep-infos (mbe :logic (deftreeops-rep-info-list-fix rep-infos)
                         :exec rep-infos)))
        (list (cons 'conc conc)
              (cons 'discriminant-term
                    discriminant-term)
              (cons 'check-conc-fn-equiv-thm
                    check-conc-fn-equiv-thm)
              (cons 'get-tree-list-list-fn
                    get-tree-list-list-fn)
              (cons 'matching-thm matching-thm)
              (cons 'rep-infos rep-infos)))))