• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
          • Primitive-functions
          • Translated-terms
            • Tterm-constant-list->value-list
            • Tterm-free-vars
            • Tterm-option
            • Tterm-constant-list
            • Tterm-case-constant-listp
            • Lift-term
            • Tterms
              • Tterm
              • Tfunction
                • Tfunction-case
                • Tfunction-equiv
                • Tfunction-lambda
                • Tfunction-named
                • Tfunctionp
                • Tfunction-kind
                • Tfunction-fix
                • Tfunction-count
              • Tterm-list
          • Values
          • Evaluation
          • Program-equivalence
          • Functions
          • Packages
          • Programs
          • Interpreter
          • Evaluation-states
        • Prime-fields
        • Json
        • Syntheto
        • File-io-light
        • Cryptography
        • Number-theory
        • Lists-light
        • Axe
        • Builtins
        • Solidity
        • Helpers
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Axe
      • Execloader
    • Math
    • Testing-utilities
  • Tterms

Tfunction

Fixtype of translated functions.

This is a tagged union type, introduced by fty::deftagsum.

Member Tags → Types
:named → tfunction-named
:lambda → tfunction-lambda

The `translated' adjective refers to the fact that this is a function in a translated term (see tterm). A translated function is a named function (any symbol) or a lambda expression; the latter consists of zero or more parameters (any symbols) and a body (any term). We do not constrain a named function to differ from the symbol quote; the type tterm has a separate constructor for quoted constants.

Note that we use symbol values, not symbols, for the same reason explained in tterm.

Subtopics

Tfunction-case
Case macro for the different kinds of tfunction structures.
Tfunction-equiv
Basic equivalence relation for tfunction structures.
Tfunction-lambda
Tfunction-named
Tfunctionp
Recognizer for tfunction structures.
Tfunction-kind
Get the kind (tag) of a tfunction structure.
Tfunction-fix
Fixing function for tfunction structures.
Tfunction-count
Measure for recurring over tfunction structures.