Skip to content

Commit

Permalink
declare compatibility constant as canonical gref for primitive projec…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
Tragicus committed Mar 4, 2025
1 parent 2560ad0 commit 5b0cea5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elpi/coq-lib.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ coq.term->gref (global GR) GR :- !.
coq.term->gref (pglobal GR _) GR :- !.
coq.term->gref (app [Hd|_]) GR :- !, coq.term->gref Hd GR.
coq.term->gref (let _ _ T x\x) GR :- !, coq.term->gref T GR.
coq.term->gref (primitive (proj Proj _)) GR :- !, primitive-projection? Proj GR.
:name "term->gref:fail"
coq.term->gref Term _ :-
fatal-error-w-data "term->gref: input has no global reference" Term.
Expand Down

0 comments on commit 5b0cea5

Please sign in to comment.