• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Riscv
      • Taspi
      • Bitcoin
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Aleo
        • Aleobft
        • Aleovm
        • Leo
          • Grammar
          • Early-version
            • Json2ast
            • Testing
            • Definition
              • Flattening
              • Abstract-syntax
              • Dynamic-semantics
                • Execution
                • Values
                • Dynamic-environments
                  • Call-dinfo
                  • Denv
                    • Denvp
                    • Denv-fix
                    • Make-denv
                    • Denv-equiv
                    • Denv->call-stack
                    • Change-denv
                    • Denv->structs
                    • Denv->functions
                    • Denv->screen
                    • Denv->curve
                  • Update-var/const-dinfo-in-scope-list
                  • Update-var/const-dinfo-in-scope
                  • Var/const-dinfo
                  • Update-var/const-dinfo
                  • Add-var/const-dinfo-to-scope
                  • Add-var/const-dinfo
                  • Var/const-dinfo-option
                  • Get-var/const-dinfo-from-scope-list
                  • Denv-option
                  • Get-var/const-dinfo-from-scope
                  • Vcscope-dinfo-option
                  • Vcscope-dinfo-list-option
                  • Vcscope-dinfo
                  • Screens
                  • Get-var/const-dinfo
                  • Vcscope-dinfo-option-result
                  • Vcscope-dinfo-list-result
                  • Vcscope-dinfo-result
                  • Dynamic-struct-environments
                  • Dynamic-function-environments
                  • Denv-result
                  • Init-denv
                  • Vcscope-dinfo-list
                  • Call-dinfo-list
                • Arithmetic-operations
                • Curve-parameterization
                • Shift-operations
                • Errors
                • Value-expressions
                • Locations
                • Input-execution
                • Edwards-bls12-generator
                • Equality-operations
                • Logical-operations
                • Program-execution
                • Ordering-operations
                • Bitwise-operations
                • Literal-evaluation
                • Type-maps-for-struct-components
                • Output-execution
                • Tuple-operations
                • Struct-operations
              • Compilation
              • Static-semantics
              • Concrete-syntax
      • Bigmems
      • Builtins
      • Execloader
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Dynamic-environments

Denv

Fixtype of dynamic environments.

This is a product type introduced by fty::defprod.

Fields
call-stack — call-dinfo-list
functions — function-denv
structs — struct-denv
screen — screen
curve — curve

A dynamic environment includes a call stack, a function environment, a struct environment, and a screen; it also includes the curve that parameterizes Leo. More components might be added in the future; for instance, if global variables and constants were added to Leo, then we could add here a dynamic variable and constant scope.

Subtopics

Denvp
Recognizer for denv structures.
Denv-fix
Fixing function for denv structures.
Make-denv
Basic constructor macro for denv structures.
Denv-equiv
Basic equivalence relation for denv structures.
Denv->call-stack
Get the call-stack field from a denv.
Change-denv
Modifying constructor for denv structures.
Denv->structs
Get the structs field from a denv.
Denv->functions
Get the functions field from a denv.
Denv->screen
Get the screen field from a denv.
Denv->curve
Get the curve field from a denv.