summaryrefslogtreecommitdiff
path: root/src/NormalForm.idr
diff options
context:
space:
mode:
authorChloe Brown <chloe.brown.00@outlook.com>2023-05-24 15:48:28 +0100
committerChloe Brown <chloe.brown.00@outlook.com>2023-05-24 15:48:28 +0100
commit224c59ec520c92ed9e7e1d4e228e3c53acdff61e (patch)
tree20ee8ee8f8c0d44a91c8739c84af8862aecd5475 /src/NormalForm.idr
parent2aa256f4c60caa57a641ecf0962db0f69cab455a (diff)
Give a defunctionalised fuel-powered interpreter.
Diffstat (limited to 'src/NormalForm.idr')
-rw-r--r--src/NormalForm.idr3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/NormalForm.idr b/src/NormalForm.idr
index f4697f5..ea3b2c0 100644
--- a/src/NormalForm.idr
+++ b/src/NormalForm.idr
@@ -36,6 +36,9 @@ record Normal (ctx : SnocList Ty) (ty : Ty) where
-- Inversions ------------------------------------------------------------------
export
+Uninhabited (IsNormal (Sub t sub)) where uninhabited (Ntrl prf) impossible
+
+export
predNorm : IsNormal (Succ t) -> IsNormal t
predNorm (Succ prf) = prf