• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • 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
          • Error-checking
          • Fty-extensions
          • Isar
          • Kestrel-utilities
          • Set
          • C
          • Soft
          • Bv
          • Imp-language
          • Ethereum
          • Event-macros
          • Java
          • Riscv
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Defaults-table

    Get-default-input-old-to-new-name

    Get the default :old-to-new-name input of APT transformations.

    Signature
    (get-default-input-old-to-new-name wrld) → kwd
    Arguments
    wrld — Guard (plist-worldp wrld).
    Returns
    kwd — Type (keywordp kwd).

    See set-default-input-old-to-new-name.

    Definitions and Theorems

    Function: get-default-input-old-to-new-name

    (defun get-default-input-old-to-new-name (wrld)
     (declare (xargs :guard (plist-worldp wrld)))
     (let ((__function__ 'get-default-input-old-to-new-name))
      (declare (ignorable __function__))
      (b*
       ((table (table-alist+ *defaults-table-name* wrld)
    )
        (pair (assoc-eq :old-to-new-name table))
        ((unless (consp pair))
         (prog2$
              (raise "No :OLD-TO-NEW-NAME found in APT defaults table.")
              :irrelevant-keyword-for-unconditional-returns-theorem))
        (kwd (cdr pair))
        ((unless (keywordp kwd))
         (prog2$
          (raise
           "The default :OLD-TO-NEW-NAME is ~x0, which is not a keyword."
           kwd)
          :irrelevant-keyword-for-unconditional-returns-theorem)))
       kwd)))

    Theorem: keywordp-of-get-default-input-old-to-new-name

    (defthm keywordp-of-get-default-input-old-to-new-name
      (b* ((kwd (get-default-input-old-to-new-name wrld)))
        (keywordp kwd))
      :rule-classes :rewrite)