diff options
author | Chloe Brown <chloe.brown.00@outlook.com> | 2021-01-23 21:35:30 +0000 |
---|---|---|
committer | Chloe Brown <chloe.brown.00@outlook.com> | 2021-01-23 21:35:30 +0000 |
commit | cb4066ccef16ae70cdfdd03b7b7df3c07223ac4d (patch) | |
tree | 1a97b8b162cecaae642725b45bd4f158ea8e9acb /src/Cfe/Language/Properties.agda | |
parent | 6385ceeb15670bfd3e059272e233c3d55bcb545b (diff) |
Add basic properties of ≤
Diffstat (limited to 'src/Cfe/Language/Properties.agda')
-rw-r--r-- | src/Cfe/Language/Properties.agda | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Cfe/Language/Properties.agda b/src/Cfe/Language/Properties.agda new file mode 100644 index 0000000..8d024a8 --- /dev/null +++ b/src/Cfe/Language/Properties.agda @@ -0,0 +1,21 @@ +{-# OPTIONS --without-K --safe #-} + +open import Relation.Binary + +module Cfe.Language.Properties + {a ℓ} (setoid : Setoid a ℓ) + where + +open Setoid setoid renaming (Carrier to A) + +open import Cfe.Language setoid +open import Function + +------------------------------------------------------------------------ +-- Properties of _≤_ + +≤-refl : Reflexive _≤_ +≤-refl = id + +≤-trans : Transitive _≤_ +≤-trans A≤B B≤C = B≤C ∘ A≤B |