44pred time-solve i:prop.
55time-solve P :-
66 std.time P Time,
7- if (is-option-active { oTC-time} ) (coq.say "[TC] Total resolution time is:" Time) true.
7+ if (is-option-active oTC-time) (coq.say "[TC] Total resolution time is:" Time) true.
88
99msolve L N :- !,
1010 time-solve (coq.ltac.all (coq.ltac.open solve-aux) {std.rev L} N).
@@ -28,7 +28,7 @@ tc-recursive-search Ty Sol :-
2828 std.time (coq.safe-dest-app Ty (global TC) TL',
2929 std.append TL' [Sol] TL,
3030 coq.elpi.predicate {gref->pred-name TC} TL Q, Q) Time,
31- if (is-option-active { oTC-time-instance-search} ) (coq.say "[TC] Instance search time is:" Time) true.
31+ if (is-option-active oTC-time-instance-search) (coq.say "[TC] Instance search time is:" Time) true.
3232
3333:if "solve-print-goal"
3434solve (goal Ctx _ Ty _ _) _ :-
@@ -80,10 +80,10 @@ solve-aux (goal Ctx _ Ty Sol _ as G) GL :-
8080 % coq.say "Solution " X "end" X' "caio",
8181 % std.assert! (ground_term X') "solution not complete",
8282 % (pi F\ (copy (fun _ _ x\ (app [F, x])) F :- !)) => copy X X',
83- if (is-option-active { oTC-ignore-eta-reduction} )
83+ if (is-option-active oTC-ignore-eta-reduction)
8484 (Proof' = Proof) (coq.reduction.eta-contract Proof Proof'),
8585 std.time (refine Proof' G GL) Refine-Time,
86- if (is-option-active { oTC-time-refine} ) (coq.say "[TC] Refine time is:" Refine-Time) true;
86+ if (is-option-active oTC-time-refine) (coq.say "[TC] Refine time is:" Refine-Time) true;
8787 coq.error "illtyped solution:" {coq.term->string Proof}
8888 )
8989 (GL = [seal G]).
0 commit comments