initial commit

This commit is contained in:
JKF committed 2026-04-01 18:29:46 +02:00
1 parent 70e9a24640
commit f9e4b4d9aa
8 files changed
+2102

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
module univTypes.Util.Fin where
open import Data.Nat using (ℕ; suc; zero)
-- `Fin n` is a type with `n` elements.
-- You can think of `Fin n` as the type of all natural numbers less than `n`.
data Fin : ℕ → Set where
zero : ∀ {n} → Fin (suc n)
suc : ∀ {n} → (i : Fin n) → Fin (suc n)