• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • Apt
        • Isodata
        • Simplify-defun
        • 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
        • Std/util
        • Defdata
        • Defrstobj
        • Seq
        • Match-tree
        • Defrstobj
        • With-supporters
        • Def-partial-measure
        • Template-subst
        • Soft
        • Defthm-domain
        • Event-macros
        • Def-universal-equiv
        • Def-saved-obligs
        • With-supporters-after
        • Definec
        • Sig
        • Outer-local
        • Data-structures
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Defaults-table

    Get-default-input-wrapper-enable

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

    Signature
    (get-default-input-wrapper-enable wrld) → bool
    Arguments
    wrld — Guard (plist-worldp wrld).
    Returns
    bool — Type (booleanp bool).

    See set-default-input-wrapper-enable.

    Definitions and Theorems

    Function: get-default-input-wrapper-enable

    (defun get-default-input-wrapper-enable (wrld)
     (declare (xargs :guard (plist-worldp wrld)))
     (let ((__function__ 'get-default-input-wrapper-enable))
      (declare (ignorable __function__))
      (b*
       ((table (table-alist+ *defaults-table-name* wrld)
    )
        (pair (assoc-eq :wrapper-enable table))
        ((unless (consp pair))
         (raise "No :WRAPPER-ENABLE found in APT defaults table."))
        (bool (cdr pair))
        ((unless (booleanp bool))
         (raise
           "The default :WRAPPER-ENABLE is ~x0, which is not a boolean."
           bool)))
       bool)))

    Theorem: booleanp-of-get-default-input-wrapper-enable

    (defthm booleanp-of-get-default-input-wrapper-enable
      (b* ((bool (get-default-input-wrapper-enable wrld)))
        (booleanp bool))
      :rule-classes :rewrite)