• 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
        • 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-table-value

    Deftreeops-table-valuep

    Recognizer for deftreeops-table-value structures.

    Signature
    (deftreeops-table-valuep x) → *

    Definitions and Theorems

    Function: deftreeops-table-valuep

    (defun deftreeops-table-valuep (x)
     (declare (xargs :guard t))
     (let ((__function__ 'deftreeops-table-valuep))
      (declare (ignorable __function__))
      (and
       (mbe
        :logic
        (and
         (alistp x)
         (equal
            (strip-cars x)
            '(rulename-info-alist numrange-info-alist
                                  charval-info-alist event-alist call)))
        :exec
        (fty::alist-with-carsp
            x
            '(rulename-info-alist numrange-info-alist
                                  charval-info-alist event-alist call)))
       (b* ((rulename-info-alist (cdr (std::da-nth 0 x)))
            (numrange-info-alist (cdr (std::da-nth 1 x)))
            (charval-info-alist (cdr (std::da-nth 2 x)))
            (event-alist (cdr (std::da-nth 3 x)))
            (call (cdr (std::da-nth 4 x))))
         (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))))))

    Theorem: consp-when-deftreeops-table-valuep

    (defthm consp-when-deftreeops-table-valuep
      (implies (deftreeops-table-valuep x)
               (consp x))
      :rule-classes :compound-recognizer)