diff options
| author | Vincent Laporte | 2018-10-05 12:37:57 +0000 |
|---|---|---|
| committer | Vincent Laporte | 2018-10-09 11:17:26 +0000 |
| commit | 5febd46805ea65cbcbb7c0690e20144bb4a1c234 (patch) | |
| tree | 22b82cd9d54d358a91c800767dfc5732e6030ea3 /checker | |
| parent | 59de2827b63b5bc475452bef385a2149a10a631c (diff) | |
[coqchk] Fix guard condition with commutative cuts
Diffstat (limited to 'checker')
| -rw-r--r-- | checker/inductive.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/checker/inductive.ml b/checker/inductive.ml index d15380643f..44950e7ac8 100644 --- a/checker/inductive.ml +++ b/checker/inductive.ml @@ -856,6 +856,8 @@ let filter_stack_domain env p stack = match stack, t with | elt :: stack', Prod (n,a,c0) -> let d = LocalAssum (n,a) in + let ctx, a = dest_prod_assum env a in + let env = push_rel_context ctx env in let ty, args = decompose_app (whd_all env a) in let elt = match ty with | Ind ind -> |
