• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
      • Theories
      • Rule-classes
        • Type-prescription
        • Rewrite
        • Meta
        • Linear
        • Definition
          • Force
          • Syntaxp
          • Bind-free
          • Case-split
          • Simple
          • Set-body
          • Show-bodies
          • Clause-processor
          • 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
    • Definition

    Show-bodies

    Show the potential definition bodies

    Examples:
    (show-bodies foo)
    :show-bodies foo

    A definition made using defun installs a so-called ``body'' of a function symbol, as do certain :definition rules. Such bodies are used in a number of ways, including the application of :expand hints; see definition, in particular the discussion of ``body'' there, and see hints for a discussion of the :expand hint. Also see set-body for how to change which of the available definitions (among the original definition and appropriate :definition rules) is the one that provides the body. The show-bodies command displays the available such bodies in an appropriate format, starting with the one that is currently used as the body.

    General Forms:
    (show-bodies function-symbol)
    :show-bodies function-symbol