initial commit

This commit is contained in:
JKF
2026-04-01 18:29:46 +02:00
parent 70e9a24640
commit f9e4b4d9aa
8 changed files with 2102 additions and 0 deletions

10
Util/Fin.agda Normal file
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)