• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
        • Deftreeops
        • Defdefparse
        • Defgrammar
        • Tree-utilities
          • Check-tree-nonleaf-num-range-4
          • Check-tree-nonleaf-num-range-3
          • Check-tree-num-range-4
          • Check-tree-nonleaf-num-range-2
          • Check-tree-num-range-3
          • Check-tree-num-range-2
          • Tree-list-tuple10
            • Tree-list-tuple10-fix
            • Make-tree-list-tuple10
            • Tree-list-tuple10-equiv
            • Tree-list-tuple10p
              • Change-tree-list-tuple10
              • Tree-list-tuple10->10th
              • Tree-list-tuple10->9th
              • Tree-list-tuple10->8th
              • Tree-list-tuple10->7th
              • Tree-list-tuple10->6th
              • Tree-list-tuple10->5th
              • Tree-list-tuple10->4th
              • Tree-list-tuple10->3rd
              • Tree-list-tuple10->2nd
              • Tree-list-tuple10->1st
            • Check-tree-nonleaf-num-range
            • Tree-list-tuple9
            • Tree-list-tuple8
            • Tree-list-tuple7
            • Tree-list-tuple6
            • Check-tree-nonleaf-num-seq
            • Check-tree-num-range
            • Tree-list-tuple5
            • Check-tree-nonleaf-10
            • Check-tree-nonleaf-9
            • Check-tree-nonleaf-8
            • Check-tree-nonleaf-7
            • Check-tree-list-list-10
            • Tree-list-tuple4
            • Check-tree-nonleaf-6
            • Check-tree-nonleaf-5
            • Check-tree-list-list-9
            • Check-tree-nonleaf-4
            • Check-tree-nonleaf-3
            • Check-tree-nonleaf-2
            • Check-tree-nonleaf
            • Check-tree-list-list-8
            • Check-tree-nonleaf-1-1
            • Check-tree-nonleaf-1
            • Check-tree-list-list-7
            • Tree-list-tuple3
            • Pass
            • Check-tree-list-list-6
            • Check-tree-list-list-5
            • Tree=>string
            • Tree-list-tuple2
            • Check-tree-list-list-4
            • Check-tree-list-list-3
            • Check-tree-ichars
            • Check-tree-schars
            • Check-tree-num-seq
            • Check-tree-list-list-2
            • Tree-list-tuple9-result
            • Tree-list-tuple8-result
            • Tree-list-tuple7-result
            • Tree-list-tuple6-result
            • Tree-list-tuple5-result
            • Tree-list-tuple4-result
            • Tree-list-tuple3-result
            • Tree-list-tuple2-result
            • Tree-list-tuple10-result
            • Pass-result
            • Check-tree-list-list-1
            • Tree-info-for-error
            • Check-tree-list-1
            • Check-tree-nonleaf?
            • Check-tree-leafterm
          • 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
        • 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
    • Tree-list-tuple10

    Tree-list-tuple10p

    Recognizer for tree-list-tuple10 structures.

    Signature
    (tree-list-tuple10p x) → *

    Definitions and Theorems

    Function: tree-list-tuple10p

    (defun tree-list-tuple10p (x)
     (declare (xargs :guard t))
     (let ((__function__ 'tree-list-tuple10p))
      (declare (ignorable __function__))
      (and
       (mbe
        :logic (and (alistp x)
                    (equal (strip-cars x)
                           '(1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th)))
        :exec (fty::alist-with-carsp
                   x
                   '(1st 2nd 3rd 4th 5th 6th 7th 8th 9th 10th)))
       (b* ((1st (cdr (std::da-nth 0 x)))
            (2nd (cdr (std::da-nth 1 x)))
            (3rd (cdr (std::da-nth 2 x)))
            (4th (cdr (std::da-nth 3 x)))
            (5th (cdr (std::da-nth 4 x)))
            (6th (cdr (std::da-nth 5 x)))
            (7th (cdr (std::da-nth 6 x)))
            (8th (cdr (std::da-nth 7 x)))
            (9th (cdr (std::da-nth 8 x)))
            (10th (cdr (std::da-nth 9 x))))
         (and (tree-listp 1st)
              (tree-listp 2nd)
              (tree-listp 3rd)
              (tree-listp 4th)
              (tree-listp 5th)
              (tree-listp 6th)
              (tree-listp 7th)
              (tree-listp 8th)
              (tree-listp 9th)
              (tree-listp 10th))))))

    Theorem: consp-when-tree-list-tuple10p

    (defthm consp-when-tree-list-tuple10p
      (implies (tree-list-tuple10p x)
               (consp x))
      :rule-classes :compound-recognizer)