Denotational Semantics in Agda
ULC.Environments
Initializing search
    pdmosses/xds-agda
    • About
    • Meta-notation
    • ULC
    • PCF
    • Scheme
    pdmosses/xds-agda
    • About
    • Meta-notation
      • Untyped λ-calculus
      • ULC.All
      • ULC.Variables
      • ULC.Terms
      • ULC.Domains
      • ULC.Environments
      • ULC.Semantics
      • ULC.Checks
      • PCF (Plotkin 1977)
      • PCF.All
      • PCF.Domain Notation
      • PCF.Types
      • PCF.Constants
      • PCF.Variables
      • PCF.Terms
      • PCF.Environments
      • PCF.Checks
      • Core Scheme (R5RS)
      • Scheme.All
      • Scheme.Domain Notation
      • Scheme.Abstract Syntax
      • Scheme.Domain Equations
      • Scheme.Auxiliary Functions
      • Scheme.Semantic Functions

    ULC.Environments

    module ULC.Environments where
    
    open import ULC.Variables
    open import ULC.Domains
    open import Data.Bool using (if_then_else_)
    
    Env = Var → D∞
    
    variable ρ : Env
    
    _[_/_] : Env → D∞ → Var → Env
    ρ [ d / v ] = λ v′ → if v == v′ then d else ρ v′
    
    Made with Material for MkDocs