• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Error-checking
        • Apt
        • Abnf
        • Fty-extensions
        • Isar
        • Kestrel-utilities
          • Omaps
          • Directed-untranslate
          • Include-book-paths
          • Ubi
          • Checkpoint-list
          • Digits-any-base
          • Context-message-pair
          • Numbered-names
          • With-auto-termination
          • Theorems-about-true-list-lists
          • Make-termination-theorem
          • Sublis-expr+
          • Prove$
          • Defthm<w
          • 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
          • Integer-range-fix
          • Add-const-to-untranslate-preprocess
          • Integers-from-to
          • Minimize-ruler-extenders
          • Unsigned-byte-fix
          • Signed-byte-fix
          • Defthmr
          • Paired-names
          • Unsigned-byte-list-fix
          • Signed-byte-list-fix
          • Show-books
          • Checkpoint-list-pretty
          • List-utilities
          • Skip-in-book
          • Typed-tuplep
          • Defunt
          • Keyword-value-list-to-alist
          • Magic-macroexpand
          • Top-command-number-fn
          • Bits-as-digits-in-base-2
          • Show-checkpoint-list
          • Ubyte11s-as-digits-in-base-2048
          • Named-formulas
          • Bytes-as-digits-in-base-256
          • String-utilities
          • Make-keyword-value-list-from-keys-and-value
          • Integer-range-listp
          • Defmacroq
          • Apply-fn-if-known
          • Trans-eval-error-triple
          • Checkpoint-info-list
          • Previous-subsumer-hints
          • Fms!-lst
          • Zp-listp
          • Doublets-to-alist
          • Trans-eval-state
          • Injections
          • Theorems-about-osets
          • Typed-list-utilities
          • Book-runes-alist
          • User-interface
          • Bits/ubyte11s-digit-grouping
          • Bits/bytes-digit-grouping
          • Message-utilities
          • Subsetp-eq-linear
          • Strict-merge-sort-<
          • Miscellaneous-enumerations
          • Maybe-unquote
          • Oset-utilities
          • Thm<w
          • Defthmd<w
        • Prime-field-constraint-systems
        • Soft
        • Bv
        • Imp-language
        • Event-macros
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Java
        • C
        • Syntheto
        • Number-theory
        • Cryptography
        • Lists-light
        • File-io-light
        • Json
        • Built-ins
        • Solidity
        • Axe
        • Std-extensions
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Execloader
      • Axe
    • 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