diff options
| author | Pierre-Marie Pédrot | 2015-11-17 19:24:41 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2015-11-17 20:00:30 +0100 |
| commit | c4fef5b9d2be739cad030131fd6fc4c07d5e2e08 (patch) | |
| tree | 12ac35787f1c6e4412af3b133b3a3d553938fe38 /tactics/tactics.ml | |
| parent | af399d81b0505d1f0be8e73cf45044266d5749e5 (diff) | |
More optimizations of [Clenv.clenv_fchain].
Everywhere we know that the universes of the left argument are an
extension of the right argument, we do not have to merge universes.
Diffstat (limited to 'tactics/tactics.ml')
| -rw-r--r-- | tactics/tactics.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/tactics.ml b/tactics/tactics.ml index 0551787e3a..8daa7c4b86 100644 --- a/tactics/tactics.ml +++ b/tactics/tactics.ml @@ -1605,7 +1605,7 @@ let progress_with_clause flags innerclause clause = let ordered_metas = List.rev (clenv_independent clause) in if List.is_empty ordered_metas then error "Statement without assumptions."; let f mv = - try Some (find_matching_clause (clenv_fchain mv ~flags clause) innerclause) + try Some (find_matching_clause (clenv_fchain ~with_univs:false mv ~flags clause) innerclause) with Failure _ -> None in try List.find_map f ordered_metas @@ -3756,7 +3756,7 @@ let recolle_clenv i params args elimclause gl = trying to unify (which would lead to trying to apply it to evars if y is a product). *) let indclause = mk_clenv_from_n gl (Some 0) (x,y) in - let elimclause' = clenv_fchain i acc indclause in + let elimclause' = clenv_fchain ~with_univs:false i acc indclause in elimclause') (List.rev clauses) elimclause |
