• 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-numrange-info
                • Deftreeops-numrange-info-fix
                • Deftreeops-numrange-info-equiv
                • Make-deftreeops-numrange-info
                  • Deftreeops-numrange-info->get-nat-fn
                  • Deftreeops-numrange-info->bounds-thm
                  • Change-deftreeops-numrange-info
                  • Deftreeops-numrange-infop
                • 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
        • 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
    • Deftreeops-numrange-info

    Make-deftreeops-numrange-info

    Basic constructor macro for deftreeops-numrange-info structures.

    Syntax
    (make-deftreeops-numrange-info [:get-nat-fn <get-nat-fn>] 
                                   [:bounds-thm <bounds-thm>]) 
    

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

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

    Definition

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

    Macro: make-deftreeops-numrange-info

    (defmacro make-deftreeops-numrange-info (&rest args)
      (std::make-aggregate 'deftreeops-numrange-info
                           args '((:get-nat-fn) (:bounds-thm))
                           'make-deftreeops-numrange-info
                           nil))

    Function: deftreeops-numrange-info

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