Skip to content

Commit b6a2eaa

Browse files
committed
[TC] clean-term also for tc.canonical-projection
1 parent 33ebd03 commit b6a2eaa

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
@@ -121,6 +121,7 @@ namespace tc {
121121
pred clean-term i:term, o:term.
122122
clean-term A B :-
123123
(pi t s r \ copy (tc.maybe-eta-tm t s) r :- !, copy t r, !) =>
124+
(pi t s r \ copy (tc.canonical-projection t s _) r :- !, copy t r, !) =>
124125
(pi t s r \ copy (tc.prod-range t s) r :- !, copy t r, !) =>
125126
(pi t s r \ copy (tc.maybe-llam-tm t s) r :- !, copy t r, !) =>
126127
std.assert! (copy A B) "[TC] clean-term error".

0 commit comments

Comments
 (0)