• 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
          • Xdoc::apt-constructors
            • Xdoc::desc-apt-input-thm-name
            • Xdoc::desc-apt-input-thm-enable
            • Xdoc::desc-apt-input-verify-guards
            • Xdoc::apt-design-notes-ref
            • Xdoc::desc-apt-input-wrapper-to-old-name
            • Xdoc::desc-apt-input-old-to-wrapper-name
            • Xdoc::desc-apt-input-wrapper-to-old-enable
            • Xdoc::desc-apt-input-wrapper-name
            • Xdoc::desc-apt-input-old-to-wrapper-enable
            • Xdoc::desc-apt-input-old-to-new-name
            • Xdoc::desc-apt-input-old-if-new-name
            • Xdoc::desc-apt-input-new-to-old-name
            • Xdoc::desc-apt-input-wrapper-enable
            • Xdoc::desc-apt-input-old-to-new-enable
            • Xdoc::desc-apt-input-old-if-new-enable
              • Xdoc::desc-apt-input-new-to-old-enable
              • Xdoc::desc-apt-input-new-name
              • Xdoc::desc-apt-input-untranslate
              • Xdoc::desc-apt-input-old
              • Xdoc::desc-apt-input-new-enable
              • Xdoc::desc-apt-input-wrapper
            • 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
    • Xdoc::apt-constructors

    Xdoc::desc-apt-input-old-if-new-enable

    Build a description of the :old-if-new-enable input for the user documentation of an APT transformation.

    Macro: desc-apt-input-old-if-new-enable

    (defmacro xdoc::desc-apt-input-old-if-new-enable nil
     '(xdoc::desc
       "@(':old-if-new-enable') —
         default from <see topic='@(url defaults-table)'>table</see>"
       (xdoc::p
           "Determines whether the @('old-if-new') theorem is enabled.")
       (xdoc::p "It must be one of the following:")
       (xdoc::ul
        (xdoc::li "@('t'), to enable the theorem.")
        (xdoc::li "@('nil'), to disable the theorem.")
        (xdoc::li
         "Absent, to use the value from the APT defaults table,
           which is set via @(tsee set-default-input-old-if-new-enable)."))
       (xdoc::p
        "If this input is @('t'),
          the @(':new-to-old-enable') input must be @('nil').
          At most one of these two inputs may be @('t') at any time.")))