• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • 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
      • 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
  • 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.