Add thinning from empty list

This commit is contained in:
Nathan van Doorn 2024-06-20 09:29:49 +02:00
parent c040ccadcd
commit 19141b121b
1 changed files with 6 additions and 0 deletions

View File

@ -45,3 +45,9 @@ end ∘ end = end
include α include β = include (α β)
include α exclude β = exclude (α β)
exclude α β = exclude (α β)
-- There is always a Thinning from the empty list to any list. Here we exclude
-- at every step.
¡ : Thinning A [] xs
¡ {xs = []} = end
¡ {xs = x xs} = exclude ¡