Skip to content

Commit

Permalink
[TC] move time-is-active and coercion-unify in db.v
Browse files Browse the repository at this point in the history
  • Loading branch information
FissoreD committed Sep 30, 2024
1 parent ede3b19 commit 25de1d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/tc/elpi/tc_aux.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ namespace tc {
section-var->decl L :-
section-var->decl.aux {coq.env.section} L.

pred time-is-active i:(list string -> prop).
:name "time-is-active"
time-is-active _ :- coq.option.get ["Time", "TC", "Bench"] (coq.option.bool tt), !.
time-is-active Opt :- tc.is-option-active Opt.
Expand Down Expand Up @@ -221,9 +220,6 @@ namespace tc {
int ->
term.

:index (5)
pred coercion-unify i:term.

type coercion
term ->
list term ->
Expand Down
5 changes: 5 additions & 0 deletions apps/tc/theories/db.v
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,10 @@ Elpi Db tc.db lp:{{

% relates a projection to the its record
pred proj->record i:constant, o:term.

:index (5)
pred coercion-unify i:term.

pred time-is-active i:(list string -> prop).
}
}}.

0 comments on commit 25de1d1

Please sign in to comment.