summaryrefslogtreecommitdiff
path: root/src/Lemmas.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-01-25 21:46:29 +0100
committerTom Smeding <tom@tomsmeding.com>2024-01-25 21:46:29 +0100
commit2a53042c1ce8b593a6178696c03ac77c6b76b395 (patch)
treecb7a8a82ac254980d3fbb1911d4a7d891647a561 /src/Lemmas.hs
parent39b899b4951be5b78058d5c0e35977b065a63951 (diff)
Finish rewrite
Diffstat (limited to 'src/Lemmas.hs')
-rw-r--r--src/Lemmas.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Lemmas.hs b/src/Lemmas.hs
index 7dbf680..cb62155 100644
--- a/src/Lemmas.hs
+++ b/src/Lemmas.hs
@@ -11,5 +11,8 @@ import Unsafe.Coerce (unsafeCoerce)
import AST.Weaken
+lemAppendNil :: Append a '[] :~: a
+lemAppendNil = unsafeCoerce Refl
+
lemAppendAssoc :: Append a (Append b c) :~: Append (Append a b) c
lemAppendAssoc = unsafeCoerce Refl