Denotational Semantics in Agda
Algebra.Lattice.Bundles.Raw
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

    Algebra.Lattice.Bundles.Raw

    ------------------------------------------------------------------------
    -- The Agda standard library
    --
    -- Definitions of 'raw' bundles
    ------------------------------------------------------------------------
    
    {-# OPTIONS --cubical-compatible --safe #-}
    
    module Algebra.Lattice.Bundles.Raw where
    
    open import Algebra.Core
    open import Algebra.Bundles.Raw using (RawMagma)
    open import Level using (suc; _⊔_)
    open import Relation.Binary.Core using (Rel)
    
    record RawLattice c ℓ : Set (suc (c ⊔ ℓ)) where
      infixr 7 _∧_
      infixr 6 _∨_
      infix  4 _≈_
      field
        Carrier : Set c
        _≈_     : Rel Carrier ℓ
        _∧_     : Op₂ Carrier
        _∨_     : Op₂ Carrier
    
      ∨-rawMagma : RawMagma c ℓ
      ∨-rawMagma = record { _≈_ = _≈_; _∙_ = _∨_ }
    
      ∧-rawMagma : RawMagma c ℓ
      ∧-rawMagma = record { _≈_ = _≈_; _∙_ = _∧_ }
    
      open RawMagma ∨-rawMagma public
        using (_≉_)
    
    Made with Material for MkDocs