• 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
        • Taspi
        • Bitcoin
        • Riscv
        • 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
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Deftreeops-rep-info

    Deftreeops-rep-infop

    Recognizer for deftreeops-rep-info structures.

    Signature
    (deftreeops-rep-infop x) → *

    Definitions and Theorems

    Function: deftreeops-rep-infop

    (defun deftreeops-rep-infop (x)
     (declare (xargs :guard t))
     (let ((__function__ 'deftreeops-rep-infop))
      (declare (ignorable __function__))
      (and
       (mbe
        :logic
        (and
          (alistp x)
          (equal
               (strip-cars x)
               '(get-tree-list-fn matching-thm get-len-fn get-tree-fn)))
        :exec
        (fty::alist-with-carsp
             x
             '(get-tree-list-fn matching-thm get-len-fn get-tree-fn)))
       (b* ((get-tree-list-fn (cdr (std::da-nth 0 x)))
            (matching-thm (cdr (std::da-nth 1 x)))
            (get-len-fn (cdr (std::da-nth 2 x)))
            (get-tree-fn (cdr (std::da-nth 3 x))))
         (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))))))

    Theorem: consp-when-deftreeops-rep-infop

    (defthm consp-when-deftreeops-rep-infop
      (implies (deftreeops-rep-infop x)
               (consp x))
      :rule-classes :compound-recognizer)