• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
        • Z3-installation
        • Smt-hint
        • Tutorial
        • Status
        • Developer
          • Verified
          • Trusted
            • Translation-datatypes
            • Smt-run
            • Smt-prove
            • Smt-write
            • Smt-trusted-cp
            • Z3-py
              • Smt-translator
                • Paragraphp
                • Smt-translate-fty
                • Smt-names
                • Smt-recover-types
                • Smt-pretty-print
                • Smt-header
                • Smt-translate-abstract-sort
        • Abnf
        • 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
    • Smt-translator

    Paragraphp

    A paragraph is made up of lists of words. Notice a single word is also counted as a paragraphp.

    Signature
    (paragraphp par) → paragraph?
    Returns
    paragraph? — Type (booleanp paragraph?).

    Definitions and Theorems

    Function: paragraphp

    (defun paragraphp (par)
      (declare (xargs :guard t))
      (let ((acl2::__function__ 'paragraphp))
        (declare (ignorable acl2::__function__))
        (if (atom par)
            (wordp par)
          (and (paragraphp (car par))
               (paragraphp (cdr par))))))

    Theorem: booleanp-of-paragraphp

    (defthm booleanp-of-paragraphp
      (b* ((paragraph? (paragraphp par)))
        (booleanp paragraph?))
      :rule-classes :rewrite)