Skip to content

Commit 5dc187f

Browse files
committed
[TC] clean-term also for tc.canonical-projection
1 parent 30508c0 commit 5dc187f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/tc/elpi/ho_compile.elpi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ namespace tc {
119119
pred clean-term i:term, o:term.
120120
clean-term A B :-
121121
(pi t s r \ copy (tc.maybe-eta-tm t s) r :- !, copy t r, !) =>
122+
(pi t s r \ copy (tc.canonical-projection t s _) r :- !, copy t r, !) =>
122123
(pi t s r \ copy (tc.prod-range t s) r :- !, copy t r, !) =>
123124
(pi t s r \ copy (tc.maybe-llam-tm t s) r :- !, copy t r, !) =>
124125
std.assert! (copy A B) "[TC] clean-term error".

0 commit comments

Comments
 (0)