Denotational Semantics in Agda
PCF.Variables
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

    PCF.Variables

    module PCF.Variables where
    
    open import Agda.Builtin.Nat
      using (Nat)
    
    open import PCF.Types
      using (Types; σ; 𝒟)
    
    -- Syntax
    
    data 𝒱 : Types → Set where
      var : Nat → (σ : Types) → 𝒱 σ
    
    variable α : 𝒱 σ
    
    -- Environments
    
    Env = ∀ {σ} → 𝒱 σ → 𝒟 σ
    
    variable ρ : Env
    
    -- Semantics
    
    _⟦_⟧ : Env → 𝒱 σ → 𝒟 σ
    
    ρ ⟦ α ⟧ = ρ α
    
    Made with Material for MkDocs