From 6e8ab4c1135f39d441cdcf54c5a1bc12b7e565be Mon Sep 17 00:00:00 2001 From: Chloe Brown Date: Sat, 8 Apr 2023 15:45:24 +0100 Subject: Prove conversion is a generic equality. --- src/Core/Reduction.idr | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Core/Reduction.idr') 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) = -- cgit v1.2.3