From f5f3a900d097b26363627d7e1a6a673667fec807 Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Mon, 19 Feb 2024 12:52:36 -0600 Subject: Add glue function for finite sets --- FinMerge.agda | 43 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/FinMerge.agda b/FinMerge.agda index a327602..d8b38fd 100644 --- a/FinMerge.agda +++ b/FinMerge.agda @@ -1,13 +1,15 @@ module FinMerge where -open import Data.Fin using (Fin; splitAt; join; fromℕ<; cast) -open import Data.Nat using (ℕ; _+_; _≤_; _<_) -open import Data.Nat.Properties using (+-comm) +open import Data.Empty using (⊥-elim) +open import Data.Fin using (Fin; splitAt; join; fromℕ<; cast; toℕ; #_) renaming (_<_ to _<′_) +open import Data.Fin.Properties using (¬Fin0) +open import Data.Nat using (ℕ; _+_; _≤_; _<_ ; z