• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
      • Theories
      • Rule-classes
      • Proof-builder
      • Recursion-and-induction
      • Hons-and-memoization
      • Events
      • Parallelism
      • History
      • Programming
        • Defun
        • Declare
        • System-utilities
        • Stobj
        • State
        • Mutual-recursion
        • Memoize
        • Mbe
        • Io
        • Defpkg
        • Apply$
        • Loop$
        • Programming-with-state
        • Arrays
        • Characters
        • Time$
        • Fast-alists
        • Defconst
        • Defmacro
        • Loop$-primer
        • Evaluation
        • Guard
        • Equality-variants
        • Compilation
        • Hons
        • ACL2-built-ins
        • Developers-guide
          • Developers-guide-background
            • Developers-guide-background-extra
            • Developers-guide-maintenance
            • Developers-guide-build
            • Developers-guide-utilities
            • Developers-guide-logic
            • Developers-guide-evaluation
            • Developers-guide-programming
            • Developers-guide-introduction
            • Developers-guide-extending-knowledge
            • Developers-guide-examples
            • Developers-guide-contributing
            • Developers-guide-prioritizing
            • Developers-guide-other
            • Developers-guide-emacs
            • Developers-guide-style
            • Developers-guide-miscellany
            • Developers-guide-releases
            • Developers-guide-ACL2-devel
            • Developers-guide-pitfalls
          • System-attachments
          • Advanced-features
          • Set-check-invariant-risk
          • Numbers
          • Efficiency
          • Irrelevant-formals
          • Introduction-to-programming-in-ACL2-for-those-who-know-lisp
          • Redefining-programs
          • Lists
          • Invariant-risk
          • Errors
          • Defabbrev
          • Conses
          • Alists
          • Set-register-invariant-risk
          • Strings
          • Program-wrapper
          • Get-internal-time
          • Basics
          • Packages
          • Oracle-eval
          • Defmacro-untouchable
          • <<
          • Primitive
          • Revert-world
          • Unmemoize
          • Set-duplicate-keys-action
          • Symbols
          • Def-list-constructor
          • Easy-simplify-term
          • Defiteration
          • Fake-oracle-eval
          • Defopen
          • Sleep
        • Operational-semantics
        • Real
        • Start-here
        • Miscellaneous
        • Output-controls
        • Bdd
        • Macros
        • Installation
        • Mailing-lists
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Developers-guide-background

    Developers-guide-background-extra

    Some Implementation Background Extra Information

    Here is a call tree built bottom-up when exploring how thm-fn calls the rewriter, which is an exercise suggested in the section, developers-guide-background. There are a few extra nodes in this tree, obtained by looking for callers of rewrite and of prove.

    rewrite
      rewrite-atm
        rewrite-clause, rewrite-clause-lst
          simplify-clause1
            simplify-clause
              waterfall-step1
                waterfall-step
                  waterfall0
                    waterfall1
                      waterfall
                        prove-loop2
                          prove-loop1
                            prove-loop0
                              prove-loop
                                prove
                                  prove-termination
                                  prove-guard-clauses
                                  #+:non-standard-analysis verify-valid-std-usage
                                  prove-corollaries1
                                  defthm-fn1
                                    defthm-fn
                                  thm-fn
                                  prove-defattach-guards1
                                  prove-defattach-constraint
                                pc-prove
      mfc-rw-raw
      pc-rewrite*-1