From e585420fc6eb90f0ecdce76e1f48085b2cfe0466 Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Tue, 20 Feb 2024 20:29:56 -0600 Subject: Simplify merge function --- FinMerge.agda | 40 +++++++++++----------------------------- 1 file changed, 11 insertions(+), 29 deletions(-) (limited to 'FinMerge.agda') diff --git a/FinMerge.agda b/FinMerge.agda index d8b38fd..b483fc8 100644 --- a/FinMerge.agda +++ b/FinMerge.agda @@ -1,15 +1,16 @@ module FinMerge where open import Data.Empty using (⊥-elim) -open import Data.Fin using (Fin; splitAt; join; fromℕ<; cast; toℕ; #_) renaming (_<_ to _<′_) +open import Data.Fin using (Fin; fromℕ<; toℕ; #_) open import Data.Fin.Properties using (¬Fin0) open import Data.Nat using (ℕ; _+_; _≤_; _<_ ; z