diff options
author | 2017-08-31 12:41:58 +0200 | |
---|---|---|
committer | 2017-08-31 12:41:58 +0200 | |
commit | f0b9359069de1223b9ffc8fedc557b87f919b24a (patch) | |
tree | b8f6672b55415afef2ac4eea5789f6e283f7c54c /tactics | |
parent | bdfcbceb57cb8d04fea02da39dee6b8e7f75ad29 (diff) | |
parent | 4bbe2e4e2a9d5dea1a07f8cf0d7e3aeeed609201 (diff) |
Merge PR #996: Fix BZ#5697: Congruence does not work with primitive projections
Diffstat (limited to 'tactics')
-rw-r--r-- | tactics/equality.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tactics/equality.ml b/tactics/equality.ml index ad6abfa1f..3ea9538f3 100644 --- a/tactics/equality.ml +++ b/tactics/equality.ml @@ -922,7 +922,8 @@ let build_selector env sigma dirn c ind special default = let brl = List.map build_branch(List.interval 1 (Array.length mip.mind_consnames)) in let ci = make_case_info env ind RegularStyle in - mkCase (ci, p, c, Array.of_list brl) + let ans = Inductiveops.make_case_or_project env sigma indf ci p c (Array.of_list brl) in + ans let build_coq_False () = pf_constr_of_global (build_coq_False ()) let build_coq_True () = pf_constr_of_global (build_coq_True ()) |