-
-
Save endobson/7d4949309e36a5a3bcec07770bcae488 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# OPTIONS --cubical --safe --exact-split #-} | |
module broken where | |
open import Level public | |
using ( Level ) | |
renaming ( zero to ℓ-zero | |
; suc to ℓ-suc | |
; _⊔_ to ℓ-max | |
) | |
Type : (ℓ : Level) → Set (ℓ-suc ℓ) | |
Type ℓ = Set ℓ | |
private | |
variable | |
ℓD ℓ< : Level | |
record LinearOrderStr (D : Type ℓD) (ℓ< : Level) : Type (ℓ-max (ℓ-suc ℓ<) ℓD) where | |
no-eta-equality | |
field | |
_<_ : D -> D -> Type ℓ< | |
module _ {D : Type ℓD} {{S : LinearOrderStr D ℓ<}} where | |
open LinearOrderStr S public | |
module _ {D : Type ℓD} {O : LinearOrderStr D ℓ<} | |
where | |
private | |
module O = LinearOrderStr O | |
instance | |
IO = O | |
abstract | |
broken : {b c : D} -> (b < c) -> b < c | |
broken {b} {c} b<c = b<c | |
where | |
b<c2 : b < c | |
b<c2 = b<c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment