• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
      • Gl
      • Witness-cp
      • Ccg
      • Install-not-normalized
      • Rewrite$
      • Fgl
      • Removable-runes
      • Efficiency
      • Rewrite-bounds
      • Bash
      • Def-dag-measure
      • Bdd
      • Remove-hyps
      • Contextual-rewriting
      • Simp
      • Rewrite$-hyps
      • Bash-term-to-dnf
      • Use-trivial-ancestors-check
      • Minimal-runes
      • 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
      • Fn-is-body
      • Without-subsumption
      • Rewrite-equiv-hint
      • Def-bounds
      • Rewrite$-context
      • Try-gl-concls
      • Hint-utils
    • Macro-libraries
    • ACL2
    • 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.