aboutsummaryrefslogtreecommitdiff
path: root/src/Data/Array/Nested/Lemmas.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Array/Nested/Lemmas.hs')
-rw-r--r--src/Data/Array/Nested/Lemmas.hs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Data/Array/Nested/Lemmas.hs b/src/Data/Array/Nested/Lemmas.hs
index 43cab3e..850f8ea 100644
--- a/src/Data/Array/Nested/Lemmas.hs
+++ b/src/Data/Array/Nested/Lemmas.hs
@@ -6,7 +6,11 @@
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fplugin GHC.TypeLits.Normalise #-}
{-# OPTIONS_GHC -fplugin GHC.TypeLits.KnownNat.Solver #-}
-module Data.Array.Nested.Lemmas where
+module Data.Array.Nested.Lemmas (
+ module Data.Array.Nested.Lemmas,
+ lemReplicateSucc, lemMapJustEmpty, lemMapJustCons, lemMapJustHead,
+ lemRankMapJust
+) where
import Data.Proxy
import Data.Type.Equality
@@ -146,9 +150,6 @@ lemRankAppComm _ _ = unsafeCoerceRefl
lemRankReplicate :: proxy n -> Rank (Replicate n (Nothing @Nat)) :~: n
lemRankReplicate _ = unsafeCoerceRefl
-lemRankMapJust :: proxy sh -> Rank (MapJust sh) :~: Rank sh
-lemRankMapJust _ = unsafeCoerceRefl
-
-- ** Related to MapJust and/or Permutation
lemTakeLenMapJust :: Perm is -> ShS sh -> TakeLen is (MapJust sh) :~: MapJust (TakeLen is sh)