Skip to content

Commit

Permalink
Revert "Revert "[TC] clean-term also for tc.canonical-projection""
Browse files Browse the repository at this point in the history
This reverts commit 48c6cae.
  • Loading branch information
FissoreD committed Jul 10, 2024
1 parent 48c6cae commit a3aaeb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/tc/elpi/ho_compile.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ namespace tc {
pred clean-term i:term, o:term.
clean-term A B :-
(pi t s r \ copy (tc.maybe-eta-tm t s) r :- !, copy t r, !) =>
(pi t s r \ copy (tc.canonical-projection t s _) r :- !, copy t r, !) =>
(pi t s r \ copy (tc.prod-range t s) r :- !, copy t r, !) =>
(pi t s r \ copy (tc.maybe-llam-tm t s) r :- !, copy t r, !) =>
std.assert! (copy A B) "[TC] clean-term error".
Expand Down

0 comments on commit a3aaeb3

Please sign in to comment.