Debian Codegraph @

src/Algebra/Lattice/Bundles/Raw.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Definitions of 'raw' bundles
5 ------------------------------------------------------------------------
6
7 {-# OPTIONS --cubical-compatible --safe #-}
8
9 module Algebra.Lattice.Bundles.Raw where
10
11 open import Algebra.Core using (Op₂)
12 open import Algebra.Bundles.Raw using (RawMagma)
13 open import Level using (suc; _⊔_)
14 open import Relation.Binary.Core using (Rel)
15
16 record RawLattice c ℓ : Set (suc (c ⊔ ℓ)) where
17 infixr 7 _∧_
18 infixr 6 _∨_
19 infix 4 _≈_
20 field
21 Carrier : Set c
22 _≈_ : Rel Carrier ℓ
23 _∧_ : Op₂ Carrier
24 _∨_ : Op₂ Carrier
25
26 ∨-rawMagma : RawMagma c ℓ
27 ∨-rawMagma = record { _≈_ = _≈_; _∙_ = _∨_ }
28
29 ∧-rawMagma : RawMagma c ℓ
30 ∧-rawMagma = record { _≈_ = _≈_; _∙_ = _∧_ }
31
32 open RawMagma ∨-rawMagma public
33 using (_≉_)