• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
          • Simplify-defun
          • Isodata
          • Tailrec
          • Schemalg
          • Restrict
          • Expdata
          • Casesplit
          • Simplify-term
          • Simplify-defun-sk
          • Parteval
          • Solve
          • Wrap-output
          • Propagate-iso
          • Simplify
          • Finite-difference
          • Drop-irrelevant-params
          • Copy-function
          • Lift-iso
          • Rename-params
          • Utilities
            • Defaults-table
              • Set-default-input-wrapper-to-old-name
              • Set-default-input-old-to-wrapper-name
              • Set-default-input-old-to-new-name
              • Set-default-input-new-to-old-name
              • Set-default-input-old-if-new-name
              • Set-default-input-wrapper-to-old-enable
              • Set-default-input-old-to-wrapper-enable
              • Set-default-input-old-to-new-enable
              • Set-default-input-new-to-old-enable
              • Set-default-input-wrapper-enable
                • Set-default-input-old-if-new-enable
                • Get-default-input-wrapper-to-old-name
                • Get-default-input-wrapper-to-old-enable
                • Get-default-input-old-to-wrapper-name
                • Get-default-input-old-to-wrapper-enable
                • Get-default-input-old-to-new-name
                • Get-default-input-old-to-new-enable
                • Get-default-input-old-if-new-name
                • Get-default-input-old-if-new-enable
                • Get-default-input-new-to-old-name
                • Get-default-input-new-to-old-enable
                • Get-default-input-wrapper-enable
                • *defaults-table-name*
              • Xdoc::apt-constructors
              • Input-processors
              • Transformation-table
              • Find-base-cases
              • Untranslate-specifier-utilities
              • Print-specifier-utilities
              • Hints-specifier-utilities
            • Simplify-term-programmatic
            • Simplify-defun-sk-programmatic
            • Simplify-defun-programmatic
            • Simplify-defun+
            • Common-options
            • Common-concepts
          • Error-checking
          • Fty-extensions
          • Isar
          • Kestrel-utilities
          • Set
          • Soft
          • C
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • Bitcoin
          • Ethereum
          • Yul
          • Zcash
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Defaults-table

    Set-default-input-wrapper-enable

    Set the default :wrapper-enable input of APT transformations.

    Some APT transformations include a :wrapper-enable input that specifies whether to enable the generated wrapper function, when a wrapper function is in fact generated (otherwise, this input is disallowed).

    This macro sets an entry in the APT defaults table that provides the default value of the :wrapper-enable input. It must be a boolean.

    The initial value of this default is nil.

    Macro: set-default-input-wrapper-enable

    (defmacro set-default-input-wrapper-enable (bool)
      (declare (xargs :guard (booleanp bool)))
      (cons 'table
            (cons *defaults-table-name*
                  (cons ':wrapper-enable
                        (cons bool 'nil)))))