• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
        • Deftreeops
        • Defdefparse
        • Defgrammar
        • Tree-utilities
        • Notation
          • Syntax-abstraction
          • Semantics
          • Abstract-syntax
          • Core-rules
            • Core-rule-names
            • Core-rule-definitions
            • Core-rules-validation
            • *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
    • Core-rules

    *core-rules*

    All the core rules.

    Properties of the core rules are proved in core-rules-validation.

    We use add-const-to-untranslate-preprocess to keep this constant unexpanded in output.

    Definition: *core-rules*

    (defconst *core-rules*
      (list *rule_alpha*
            *rule_bit* *rule_char* *rule_cr*
            *rule_crlf* *rule_ctl* *rule_digit*
            *rule_dquote* *rule_hexdig* *rule_htab*
            *rule_lf* *rule_lwsp* *rule_octet*
            *rule_sp* *rule_vchar* *rule_wsp*))

    Definitions and Theorems

    Function: untranslate-preprocess-*core-rules*

    (defun untranslate-preprocess-*core-rules* (acl2::term acl2::wrld)
      (if (equal acl2::term (list 'quote *core-rules*))
          '*core-rules*
        (acl2::untranslate-preproc-for-define acl2::term acl2::wrld)))

    Theorem: rulelistp-of-*core-rules*

    (defthm rulelistp-of-*core-rules*
      (rulelistp *core-rules*))