Denotational Semantics in Agda
Data.Empty.Polymorphic
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

    Data.Empty.Polymorphic

    ------------------------------------------------------------------------
    -- The Agda standard library
    --
    -- Level polymorphic Empty type
    ------------------------------------------------------------------------
    
    {-# OPTIONS --cubical-compatible --safe #-}
    
    module Data.Empty.Polymorphic where
    
    import Data.Empty as Empty
    open import Level
    
    ⊥ : {ℓ : Level} → Set ℓ
    ⊥ {ℓ} = Lift ℓ Empty.⊥
    
    -- make ⊥-elim dependent too, as it does seem useful
    ⊥-elim : ∀ {w ℓ} {Whatever : ⊥ {ℓ} → Set w} → (witness : ⊥ {ℓ}) → Whatever witness
    ⊥-elim ()
    
    Made with Material for MkDocs