You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get-range-arity-aux A B _ :- coq.error "Count maximal arity failure" A B.
@@ -118,7 +118,7 @@ namespace tc {
118
118
precompile-aux _ (primitive _ as C) A C A :- !.
119
119
precompile-aux _ T A (tc.coercion T Scope) (s A) :- coq.safe-dest-app T HD _, tc.coercion-unify HD, !, free-var Scope.
120
120
precompile-aux _ (app [global (const C) | _] as T) A (tc.canonical-projection T Scope N) (s A) :- coq.env.projection? C N, !, free-var Scope.
121
-
precompile-aux _ (app [primitive (proj P _) | _] as T) A (tc.canonical-projection T Scope 0) (s A) :- coq.env.primitive-projection? P _, !, free-var Scope.
121
+
precompile-aux _ (app [primitive (proj P _) | _] as T) A (tc.canonical-projection T Scope 0) (s A) :- coq.env.primitive-projection? P _ _, !, free-var Scope.
122
122
123
123
% Detect maybe-eta term
124
124
% TODO: should I precompile also the type of the fun and put it in the output term
@@ -387,8 +387,8 @@ namespace tc {
387
387
i:list prop,
388
388
o:prop.
389
389
compile-premise L L2 P PTy ProofHd IsPositive ITy ProofArgsR PremR Clause :-
390
-
(pi a b c\ tc.get-TC-of-inst-type (tc.prod-range a c) b :- tc.get-TC-of-inst-type a b) =>
391
-
tc.get-TC-of-inst-type PTy TC, !,
390
+
((pi a b c\ tc.get-TC-of-inst-type (tc.prod-range a c) b :- tc.get-TC-of-inst-type a b) =>
391
+
tc.get-TC-of-inst-type PTy TC), !,
392
392
compile-ty L L1 P {neg IsPositive} PTy [] [] NewPrem,
0 commit comments