Debian Codegraph @

src/Algebra/Lattice/Construct/NaturalChoice/MinOp.agda

raw
1 ------------------------------------------------------------------------
2 -- The Agda standard library
3 --
4 -- Properties of a min operator derived from a spec over a total
5 -- preorder.
6 ------------------------------------------------------------------------
7
8 {-# OPTIONS --cubical-compatible --safe #-}
9
10 open import Algebra.Construct.NaturalChoice.Base using (MinOperator)
11 open import Relation.Binary.Bundles using (TotalPreorder)
12
13 module Algebra.Lattice.Construct.NaturalChoice.MinOp
14 {a ℓ₁ ℓ₂} {O : TotalPreorder a ℓ₁ ℓ₂} (minOp : MinOperator O) where
15
16 open TotalPreorder O
17 open MinOperator minOp
18
19 open import Algebra.Construct.NaturalChoice.MinOp minOp
20 open import Algebra.Lattice.Bundles using (Semilattice)
21 open import Algebra.Lattice.Structures _≈_
22
23 ------------------------------------------------------------------------
24 -- Structures
25
26 ⊓-isSemilattice : IsSemilattice _⊓_
27 ⊓-isSemilattice = record
28 { isBand = ⊓-isBand
29 ; comm = ⊓-comm
30 }
31
32 ------------------------------------------------------------------------
33 -- Bundles
34
35 ⊓-semilattice : Semilattice _ _
36 ⊓-semilattice = record
37 { isSemilattice = ⊓-isSemilattice
38 }