• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • Apt
      • 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
        • Deflist
        • Defalist
        • Memory
        • Defstructure
        • Array1
        • Utilities
          • Defloop
          • Get-option
            • Get-option-argument
            • Get-option-member
            • Get-option-check-syntax
            • Get-option-subset
            • Get-option-as-flag
            • Get-option-entries
            • Keyword-option-listp
            • Get-option-entry
            • Get-option-keywords
            • Get-guards-from-body
            • Unique-symbols
            • Pack-intern
            • Pack-string
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Get-option

    Get-option-keywords

    Strip the option keywords from a keyword option list.

    Definitions and Theorems

    Function: get-option-keywords

    (defun get-option-keywords (l)
      (declare (xargs :guard (keyword-option-listp l)))
      (cond ((atom l) nil)
            (t (cons ((lambda (x) (if (atom x) x (car x)))
                      (car l))
                     (get-option-keywords (cdr l))))))