• 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
        • Soft-future-work
        • Soft-macros
        • Updates-to-workshop-material
        • Soft-implementation
        • Soft-notions
          • Second-order-functions
          • Second-order-function-instances
          • Function-variable-instantiation
          • Second-order-theorems
          • Function-variable-dependency
          • Function-variables
            • Defunvar
          • Second-order-theorem-instances
      • 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
  • Soft-notions

Function-variables

Notion of function variable.

A function variable is an uninterpreted ACL2 function introduced via defunvar. This macro specifies the arity of the function variable.

A function variable is used in second-order functions and second-order theorems as a placeholder for any function with the same arity.

Naming Conventions

Starting function variable names with ?, as in the examples in the SOFT documentation pages, provides a visual cue for their function variable status. However, SOFT does not enforce this naming convention.

Subtopics

Defunvar
Introduce a function variable.