summaryrefslogtreecommitdiff
path: root/src/Core/Reduction.idr
diff options
context:
space:
mode:
authorChloe Brown <chloe.brown.00@outlook.com>2023-04-08 15:45:24 +0100
committerChloe Brown <chloe.brown.00@outlook.com>2023-04-08 15:45:24 +0100
commit6e8ab4c1135f39d441cdcf54c5a1bc12b7e565be (patch)
tree66e2388591def400ef2a75d5b81f07d0e4fc3401 /src/Core/Reduction.idr
parent1995d5aba2d63e1854d138fda6747a8865a43bcb (diff)
Prove conversion is a generic equality.HEADmaster
Diffstat (limited to 'src/Core/Reduction.idr')
-rw-r--r--src/Core/Reduction.idr2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Core/Reduction.idr b/src/Core/Reduction.idr
index eb59446..241669f 100644
--- a/src/Core/Reduction.idr
+++ b/src/Core/Reduction.idr
@@ -58,6 +58,7 @@ termStepImpliesTermConv (StepConv step conv) = ConvTermConv (termStepImpliesTerm
typeStepImpliesTypeConv : TypeStep env a b -> TypeConv env a b
typeStepImpliesTypeConv step = LiftConv (termStepImpliesTermConv step)
+export
typeRedImpliesTypeConv : TypeRed env a b -> TypeConv env a b
typeRedImpliesTypeConv (Stay wf) = ReflType wf
typeRedImpliesTypeConv (step :: steps) =
@@ -65,6 +66,7 @@ typeRedImpliesTypeConv (step :: steps) =
(typeStepImpliesTypeConv step)
(typeRedImpliesTypeConv steps)
+export
termRedImpliesTermConv : TermRed env t u a -> TermConv env t u a
termRedImpliesTermConv (Stay wf) = ReflTerm wf
termRedImpliesTermConv (step :: steps) =