• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
      • Theories
      • Rule-classes
      • Proof-builder
      • Recursion-and-induction
      • Hons-and-memoization
        • Memoize
        • Fast-alists
        • Hons
        • Set-max-mem
        • Hons-enabled
        • Unmemoize
          • Number-subtrees
        • 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
    • Memoize
    • Programming
    • Hons-and-memoization
    • Events

    Unmemoize

    Turn off memoization for the specified function

    Example:
    (unmemoize 'foo) ; turn off memoization of foo
    
    General Form:
    (unmemoize fn)

    where fn evaluates to a function symbol that is currently memoized; see memoize. An exception is that as with memoize, fn may evaluate to the name of a macro that is associated with such a function symbol; see macro-aliases-table.

    Calls of this macro generate events of the form (table memoize-table fn nil). When successful, the returned value is of the form (mv nil function-symbol state).

    To remove the effects of all memoize events, evaluate: (clear-memo-table). To save and restore memoization, see save-and-clear-memoization-settings and see restore-memoization-settings. These are both legal event forms. Note: These events do not affect memoization from memoize events that either are derived from calls of memoize-partial or have a non-nil value of memoize argument :invoke