Skip to content

Commit

Permalink
add tc.maybe-llam-tm in clean-term
Browse files Browse the repository at this point in the history
  • Loading branch information
FissoreD committed May 6, 2024
1 parent 79a94e6 commit b055d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/tc/elpi/ho_compile.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ namespace tc {
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.maybe-beta-tm 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".

pred add-pi-problematic-terms
Expand Down
2 changes: 1 addition & 1 deletion apps/tc/elpi/ho_link.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace tc {

pred progress-eta-left i:term, o:term.
progress-eta-left A _ :- var A, !, fail.
progress-eta-left (fun _ _ A) (fun _ _ B) :- var B, !, A = B.
progress-eta-left (fun _ _ A) (fun _ _ A).
progress-eta-left A A' :- (name A; is-coq-term A), !, eta-expand A A'.

pred progress-eta-right i:term, o:term.
Expand Down

0 comments on commit b055d23

Please sign in to comment.