• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
        • Deftreeops
          • Deftreeops-implementation
            • Deftreeops-event-generation
            • Deftreeops-info
            • Deftreeops-process-inputs-and-gen-everything
            • Deftreeops-fn
            • Deftreeops-table
              • Deftreeops-table-value
                • Deftreeops-table-value-fix
                • Deftreeops-table-value-equiv
                • Make-deftreeops-table-value
                  • Deftreeops-table-value->rulename-info-alist
                  • Deftreeops-table-value->numrange-info-alist
                  • Deftreeops-table-value->charval-info-alist
                  • Deftreeops-table-value->event-alist
                  • Deftreeops-table-value->call
                  • Change-deftreeops-table-value
                  • Deftreeops-table-valuep
                • Deftreeops-table-value-option
                • Deftreeops-table-lookup
                • Deftreeops-table-add
                • Deftreeops-table-definition
              • 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
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Deftreeops-table-value

    Make-deftreeops-table-value

    Basic constructor macro for deftreeops-table-value structures.

    Syntax
    (make-deftreeops-table-value [:rulename-info-alist <rulename-info-alist>] 
                                 [:numrange-info-alist <numrange-info-alist>] 
                                 [:charval-info-alist <charval-info-alist>] 
                                 [:event-alist <event-alist>] 
                                 [:call <call>]) 
    

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

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

    Definition

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

    Macro: make-deftreeops-table-value

    (defmacro make-deftreeops-table-value (&rest args)
      (std::make-aggregate 'deftreeops-table-value
                           args
                           '((:rulename-info-alist)
                             (:numrange-info-alist)
                             (:charval-info-alist)
                             (:event-alist)
                             (:call))
                           'make-deftreeops-table-value
                           nil))

    Function: deftreeops-table-value

    (defun deftreeops-table-value
           (rulename-info-alist numrange-info-alist
                                charval-info-alist event-alist call)
     (declare
      (xargs
       :guard (and (deftreeops-rulename-info-alistp rulename-info-alist)
                   (deftreeops-numrange-info-alistp numrange-info-alist)
                   (deftreeops-charval-info-alistp charval-info-alist)
                   (symbol-pseudoeventform-alistp event-alist)
                   (pseudo-event-formp call))))
     (declare (xargs :guard t))
     (let ((__function__ 'deftreeops-table-value))
      (declare (ignorable __function__))
      (b*
       ((rulename-info-alist
           (mbe :logic
                (deftreeops-rulename-info-alist-fix rulename-info-alist)
                :exec rulename-info-alist))
        (numrange-info-alist
           (mbe :logic
                (deftreeops-numrange-info-alist-fix numrange-info-alist)
                :exec numrange-info-alist))
        (charval-info-alist
         (mbe
           :logic (deftreeops-charval-info-alist-fix charval-info-alist)
           :exec charval-info-alist))
        (event-alist
         (mbe
             :logic (acl2::symbol-pseudoeventform-alist-fix event-alist)
             :exec event-alist))
        (call (mbe :logic (acl2::pseudo-event-form-fix call)
                   :exec call)))
       (list (cons 'rulename-info-alist
                   rulename-info-alist)
             (cons 'numrange-info-alist
                   numrange-info-alist)
             (cons 'charval-info-alist
                   charval-info-alist)
             (cons 'event-alist event-alist)
             (cons 'call call)))))