• 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
          • Values
          • Evaluation
          • Program-equivalence
          • Functions
          • Packages
          • Programs
          • Interpreter
          • Evaluation-states
            • Eval-state
            • Frame
            • Binding
              • Binding-fix
              • Bindingp
              • Binding-equiv
            • Stack
        • 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
  • Evaluation-states

Binding

Fixtype of bindings.

We formalize a binding of variables to values as an omap from symbols to values. In our formalization of translated terms, variables are identified by symbol values; so we use symbol values as the keys of the omaps that formalize bindings.

Theorem: bindingp-of-from-lists

(defthm bindingp-of-from-lists
  (implies (and (symbol-value-listp variables)
                (value-listp values)
                (equal (len variables) (len values)))
           (bindingp (omap::from-lists variables values))))

Subtopics

Binding-fix
(binding-fix x) is a usual ACL2::fty omap fixing function.
Bindingp
Recognizer for binding.
Binding-equiv
Basic equivalence relation for binding structures.