• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Pfcs
      • Wp-gen
      • Dimacs-reader
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Riscv
      • Bitcoin
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • 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
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Aleo
      • Bigmems
      • Builtins
      • Execloader
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • 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.