Created
July 17, 2021 00:11
-
-
Save bond15/f65183ea00222020f063c1f39f3cafcf to your computer and use it in GitHub Desktop.
Cubical Agda Int
This file contains hidden or 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 #-} | |
| module cube where | |
| open import Data.Nat | |
| open import Cubical.Foundations.Prelude | |
| data Int : Set where | |
| pos : (n : ℕ) -> Int | |
| neg : (n : ℕ) -> Int | |
| z : pos 0 ≡ neg 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment