• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
        • Deftreeops
        • Defdefparse
        • Defgrammar
        • Tree-utilities
        • Notation
        • Grammar-parser
        • Meta-circular-validation
        • Parsing-primitives-defresult
        • Parsing-primitives-seq
        • Operations
        • Examples
        • Differences-with-paper
        • Constructor-utilities
          • Make-repetition-unit-case-sensitive-string
          • Make-repetition-unit-case-insensitive-string
          • Make-repetition-unit-rule
          • Make-repetition-1*-rule
            • Make-repetition-0*-rule
            • Make-repeat-range-1*1
            • Make-repeat-range-1*
            • Make-repeat-range-0*
          • 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
    • Constructor-utilities

    Make-repetition-1*-rule

    Makes ABNF AST for a repetition of one or more rulename.

    Signature
    (make-repetition-1*-rule rulename) → result
    Arguments
    rulename — Guard (common-lisp::stringp rulename).
    Returns
    result — Type (repetitionp result).

    Definitions and Theorems

    Function: make-repetition-1*-rule

    (defun make-repetition-1*-rule (rulename)
      (declare (xargs :guard (common-lisp::stringp rulename)))
      (let ((__function__ 'make-repetition-1*-rule))
        (declare (ignorable __function__))
        (make-repetition :element (element-rulename (rulename rulename))
                         :range (make-repeat-range-1*))))

    Theorem: repetitionp-of-make-repetition-1*-rule

    (defthm repetitionp-of-make-repetition-1*-rule
      (b* ((result (make-repetition-1*-rule rulename)))
        (repetitionp result))
      :rule-classes :rewrite)