diff options
-rw-r--r-- | proofs/logic.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proofs/logic.ml b/proofs/logic.ml index 36409794c..bbc1e202c 100644 --- a/proofs/logic.ml +++ b/proofs/logic.ml @@ -284,7 +284,7 @@ let rec mk_refgoals sigma goal goalacc conclty trm = | App (f,l) -> let (acc',hdty) = - if isInd f + if isInd f & not (array_exists occur_meta l) (* we could be finer *) then (goalacc,type_of_applied_inductive env sigma (destInd f) l) else mk_hdgoals sigma goal goalacc f in @@ -326,7 +326,7 @@ and mk_hdgoals sigma goal goalacc trm = | App (f,l) -> let (acc',hdty) = - if isInd f + if isInd f & not (array_exists occur_meta l) (* we could be finer *) then (goalacc,type_of_applied_inductive env sigma (destInd f) l) else mk_hdgoals sigma goal goalacc f in |