| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Properties of a max 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 |
| 11 |
using (MaxOperator; MaxOp⇒MinOp) |
| 12 |
open import Relation.Binary.Bundles using (TotalPreorder) |
| 13 |
|
| 14 |
module Algebra.Lattice.Construct.NaturalChoice.MaxOp |
| 15 |
{a ℓ₁ ℓ₂} {O : TotalPreorder a ℓ₁ ℓ₂} (maxOp : MaxOperator O) |
| 16 |
where |
| 17 |
|
| 18 |
import Algebra.Lattice.Construct.NaturalChoice.MinOp as MinOp |
| 19 |
|
| 20 |
private |
| 21 |
module Min = MinOp (MaxOp⇒MinOp maxOp) |
| 22 |
|
| 23 |
open Min public |
| 24 |
using () |
| 25 |
renaming |
| 26 |
( ⊓-isSemilattice to ⊔-isSemilattice |
| 27 |
; ⊓-semilattice to ⊔-semilattice |
| 28 |
) |