• Top
    • Documentation
      • Xdoc
        • Undocumented
        • Save
        • Defsection
        • Markup
        • Preprocessor
        • Terminal
        • Emacs-links
        • Entities
        • Defxdoc
        • Katex-integration
        • Constructors
          • Primitive-constructors
          • Composite-constructors
            • Xdoc::apt-constructors
            • Generic-composite-constructors
            • Event-macro-xdoc-constructors
              • Event-macro-xdoc-constructors-user-level
                • Xdoc::evmac-desc-function/lambda/macro
                • Xdoc::evmac-desc-term
                • Xdoc::evmac-topic-design-notes
                • Xdoc::evmac-appcond
                • Xdoc::evmac-desc-input-name
                • Xdoc::evmac-section-redundancy
                • Xdoc::evmac-input-show-only
                • Xdoc::evmac-input-print
                • Xdoc::evmac-desc-input-enable-t/nil
                • Xdoc::evmac-section-appconds
                • Xdoc::evmac-input-hints
                  • Xdoc::evmac-section-generated
                  • Xdoc::evmac-section-intro
                  • Xdoc::evmac-section-inputs
                  • Xdoc::evmac-section-form
                • Event-macro-xdoc-constructors-implementation-level
            • Constructor-preliminaries
            • Trees
          • Defxdoc+
          • Save-rendered
          • Add-resource-directory
          • Testing
          • Order-subtopics
          • Save-rendered-event
          • Archive-matching-topics
          • Archive-xdoc
          • Xdoc-extend
          • Set-default-parents
          • Missing-parents
          • Defpointer
          • Defxdoc-raw
          • Xdoc-tests
          • Xdoc-prepend
          • Defsection-progn
          • Gen-xdoc-for-file
        • ACL2-doc
        • Recursion-and-induction
        • Loop$-primer
        • Operational-semantics
        • Pointers
        • Doc
        • Documentation-copyright
        • Publications
        • Course-materials
        • Args
        • ACL2-doc-summary
        • Finding-documentation
        • Broken-link
        • Doc-terminal-test-2
        • Doc-terminal-test-1
      • Books
      • Boolean-reasoning
      • Projects
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Event-macro-xdoc-constructors-user-level

    Xdoc::evmac-input-hints

    Construct a description of the :hints input for the user documentation of an event macro.

    Macro: evmac-input-hints

    (defmacro xdoc::evmac-input-hints (&key additional)
     (let ((appconds-ref
                (concatenate 'string
                             "`" xdoc::*evmac-section-appconds-title*
                             "' section")))
      (cons
       'xdoc::desc
       (cons
        '"@(':hints') — default @('nil')"
        (cons
         '(xdoc::p "Hints to prove the applicability conditions.")
         (cons
          '(xdoc::p "It must be one of the following:")
          (cons
           (cons
            'xdoc::ul
            (cons
             (cons
              'xdoc::li
              (cons
               '"A "
               (cons
                '(xdoc::seetopic "acl2::keyword-value-listp"
                                 "keyword-value list")
                (cons
                 '" @('(appcond1 hints1 appcond2 hints2 ...)'),
             where each @('appcondk') is a keyword
             that identifies one of the applicability conditions
             listed in the "
                 (cons
                  appconds-ref
                  (cons
                   '" and each @('hintsk') is a list of hints of the kind
             that may appear just after @(':hints') in a @(tsee defthm).
             The hints @('hintsk') are used
             to prove applicability condition @('appcondk').
             The @('appcond1'), @('appcond2'), ... keywords must be all distinct.
             An @('appcondk') keyword is allowed only if
             the corresponding applicability condition is present,
             as specified in the "
                   (cons appconds-ref '("."))))))))
             '((xdoc::li
                "A list of hints of the kind
             that may appear just after @(':hints') in a @(tsee defthm).
             In this case, these same hints are used
             to prove every applicability condition,."))))
           additional)))))))