• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Debugging
    • Projects
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
      • Theories
      • Rule-classes
      • Proof-builder
      • Hons-and-memoization
      • Events
      • History
      • Parallelism
      • Programming
        • Defun
        • Declare
        • System-utilities
          • Trans-eval
          • System-utilities-non-built-in
            • Pseudo-event-formp
            • Pseudo-event-form-listp
            • Directed-untranslate
            • Irrelevant-formals-info
            • Context-message-pair
            • Numbered-names
            • Prove$
            • Minimize-ruler-extenders
            • Paired-names
            • Orelse
            • Fresh-name-in-world-with-$s
            • Encapsulate-report-errors
            • On-failure
            • Chk-irrelevant-formals-ok
            • Named-formulas
            • Pseudo-event-landmarkp
            • All-program-fns
            • All-logic-fns
            • Trans-eval-error-triple
            • Trans-eval-state
            • Pseudo-tests-and-callsp
            • User-interface
            • Pseudo-command-landmarkp
            • Pseudo-tests-and-calls-listp
            • Pseudo-command-formp
            • Orelse*
            • Identity-macro
          • Untranslate
          • Get-event-data
          • Constraint-info
        • Stobj
        • State
        • Memoize
        • Mbe
        • Io
        • Defpkg
        • Apply$
        • Mutual-recursion
        • Loop$
        • Programming-with-state
        • Arrays
        • Characters
        • Time$
        • Loop$-primer
        • Fast-alists
        • Defmacro
        • Defconst
        • Evaluation
        • Guard
        • Equality-variants
        • Compilation
        • Hons
        • ACL2-built-ins
        • Developers-guide
        • System-attachments
        • Advanced-features
        • Set-check-invariant-risk
        • Numbers
        • Irrelevant-formals
        • Efficiency
        • 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
        • Defmacro-untouchable
        • Primitive
        • <<
        • Revert-world
        • Set-duplicate-keys-action
        • Unmemoize
        • Symbols
        • Def-list-constructor
        • Easy-simplify-term
        • Defiteration
        • Defopen
        • Sleep
      • Start-here
      • Real
      • Debugging
      • Miscellaneous
      • Output-controls
      • Macros
      • Interfacing-tools
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Testing-utilities
    • Math
  • Kestrel-utilities
  • System-utilities

System-utilities-non-built-in

System utilities related to the ACL2 system.

These are useful for system programming, e.g. to build tools that generate new events based on existing events.

These (non-built-in) utilities complement the built-in system utilities.

Subtopics

Pseudo-event-formp
Recognize well-formed event forms.
Pseudo-event-form-listp
Recognize true lists of well-formed event forms.
Directed-untranslate
Create a user-level form that reflects a given user-level form's structure.
Irrelevant-formals-info
Determine whether irrelevant-formals are OK in definitions.
Context-message-pair
A common ACL2 programming idiom: error-triples without state
Numbered-names
Utilities for numbered names.
Prove$
A way to call the prover from a program
Minimize-ruler-extenders
Minimize the ruler-extenders necessary to admit a definition.
Paired-names
Utilities for paired names.
Orelse
Evaluate an event and, if it fails, then evaluate a second event
Fresh-name-in-world-with-$s
Append as many $ signs to a name as needed to make the name new in the world, i.e. not already in use, and not among a given list of names to avoid.
Encapsulate-report-errors
Run encapsulate, but with a helpful error at the first failure of one of its top-level events (if any).
On-failure
Run an event, printing a custom error message if it fails.
Chk-irrelevant-formals-ok
Check irrelevant-formals in definitions.
Named-formulas
Utilities for named formulas.
Pseudo-event-landmarkp
Recognize event landmarks in the ACL2 world.
All-program-fns
All :program-mode functions in a given world.
All-logic-fns
All :logic-mode functions in a given world.
Trans-eval-error-triple
An ACL2 evaluator for forms that return error-triples
Trans-eval-state
An ACL2 evaluator that returns state
Pseudo-tests-and-callsp
Recognize well-formed tests-and-calls records.
User-interface
Utilities for the user interface of event-generating macros (e.g. program transformations).
Pseudo-command-landmarkp
Recognize command landmarks in the ACL2 world.
Pseudo-tests-and-calls-listp
Recognize true lists of well-formed tests-and-calls records.
Pseudo-command-formp
Recognize well-formed command forms.
Orelse*
Evaluate a sequence of events, until one succeeds
Identity-macro
The most trivial macro imaginable