• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
        • Deftreeops
        • Defdefparse
        • Defgrammar
        • Tree-utilities
        • Notation
          • Syntax-abstraction
          • Semantics
          • Abstract-syntax
            • Convenience-constructors
              • /_
              • %x-
              • %d-
              • %b-
              • =_
              • =/_
              • Def-rule-const
              • =_-fn
              • =/_-fn
              • Repetition/element/rulename/charstring-p
              • <>
              • %x.
              • %d.
              • %b.
              • Repetition/element/rulename/charstring-listp
                • Repetition/element/rulename/charstring-listp-basics
              • ?_
              • !_
              • Def-rule-const-fn
              • *_
              • 1*_
              • ?_-fn
              • /_-fn
              • !_-fn
              • Element/rulename-p
              • %x.-fn
              • %d.-fn
              • %b.-fn
            • Num-val
            • Char-val
            • Repeat-range
            • Rulename
            • Rule
            • Rulename-option
            • Num-base
            • Rule-option
            • Prose-val
            • Rulelist
            • Char-val-set
            • Rulename-set
            • Rulename-list
            • Grammar
            • Alt/conc/rep/elem
          • Core-rules
          • Concrete-syntax
        • 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
  • Convenience-constructors

Repetition/element/rulename/charstring-listp

Recognize true lists of repetitions, elements, rule names, and character strings.

Signature
(repetition/element/rulename/charstring-listp x) → std::bool

This is an ordinary std::deflist. It is "strict" in that it requires x to be a "properly" nil-terminated list.

Definitions and Theorems

Function: repetition/element/rulename/charstring-listp

(defun repetition/element/rulename/charstring-listp (x)
 (declare (xargs :guard t))
 (let ((__function__ 'repetition/element/rulename/charstring-listp))
   (declare (ignorable __function__))
   (if (consp x)
       (and (repetition/element/rulename/charstring-p (car x))
            (repetition/element/rulename/charstring-listp (cdr x)))
     (null x))))

Subtopics

Repetition/element/rulename/charstring-listp-basics
Basic theorems about repetition/element/rulename/charstring-listp, generated by std::deflist.