• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
      • Theories
      • Rule-classes
        • Type-prescription
        • Rewrite
        • Meta
        • Linear
        • Definition
        • Clause-processor
          • Meta-extract
          • Set-skip-meta-termp-checks
          • Make-summary-data
          • Clause-processor-tools
            • Rp-rewriter
              • Rp-ruleset
              • Defthmrp
              • Rp-rewriter/meta-rules
              • Rp-utilities
                • Defthmrp
                • Show-rules
                • Def-rw-opener-error
                • Valid-sc
                • Set-rp-backchain-limit
                • Fetch-new-theory
                • Ex-from-rp
                • Rp-other-utilities
                • Rp-equal
                • Preserve-current-theory
                • Set-rw-step-limit
                • Rp-termp
                • Include-fnc
                • Set-rp-backchain-limit-throws-error
                • Defwarrant-rp
                • Create-case-match-macro
              • Rp-rewriter-demo
              • Rp-rewriter/debugging
              • Rp-rewriter/applications
          • Set-skip-meta-termp-checks!
        • Tau-system
        • Forward-chaining
        • Equivalence
        • Congruence
        • Free-variables
        • Executable-counterpart
        • Induction
        • Type-reasoning
        • Compound-recognizer
        • Rewrite-quoted-constant
        • Elim
        • Well-founded-relation-rule
        • Built-in-clause
        • Well-formedness-guarantee
        • Patterned-congruence
        • Rule-classes-introduction
        • Guard-holders
        • Refinement
        • Type-set-inverter
        • Generalize
        • Corollary
        • Induction-heuristics
        • Backchaining
        • Default-backchain-limit
      • Proof-builder
      • Recursion-and-induction
      • Hons-and-memoization
      • Events
      • Parallelism
      • History
      • Programming
      • Operational-semantics
      • Real
      • Start-here
      • Debugging
      • Miscellaneous
      • Output-controls
      • Macros
      • Interfacing-tools
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Rp-rewriter

Rp-utilities

Some useful tools for rp-rewriter

Subtopics

Defthmrp
A defthm macro that calls RP-Rewriter as a clause processor with custom arguments.
Show-rules
Sets whether or not RP-Rewriter should print used rules when rewriting a conjecture.
Def-rw-opener-error
A macro that causes RP-Rewriter to throw a readable error when a certain pattern occurs.
Valid-sc
A function that checks the side-conditions in a term is correct
Set-rp-backchain-limit
Number of steps RP-Rewriter can take when rewriting the hypothesis of a lemma
Fetch-new-theory
A macro that detects the changes in the theory when a book is included, and creates a macro to enable users to enable and disable the new theory.
Ex-from-rp
Extracts a term if it is wrapped in an rp instance.
Rp-other-utilities
Some names that are aliases to other tools
Rp-equal
Check if two terms are equivalent by discarding rp terms
Preserve-current-theory
A macro that detects the changes in the theory when a book is included, and retains the current theory
Set-rw-step-limit
Number of steps RP-Rewriter can take when rewriting a conjecture.
Rp-termp
Similarly to pseudo-termp, defines the syntax for terms.
Include-fnc
Searches a term for an instance of fnc. Returns t or nil.
Set-rp-backchain-limit-throws-error
Whether or not to throw an error when backchain-limit is reached
Defwarrant-rp
Calls defwarrant and register the resulting rule with RP, and disbled executable counterpart for the warrant
Create-case-match-macro
Creates a function and a macro to replace case-match, and prevent excessive casesplitting when proving lemmas.