File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -929,7 +929,7 @@ let invert_arg_from_subst evd aliases k0 subst_in_env_extended_with_k_binders c_
929
929
with Not_found ->
930
930
match expand_alias_once evd aliases t with
931
931
| None -> raise Not_found
932
- | Some c -> aux k c in
932
+ | Some c -> aux k (lift k c) in
933
933
try
934
934
let c = aux 0 c_in_env_extended_with_k_binders in
935
935
Invertible (UniqueProjection (c,! effects))
Original file line number Diff line number Diff line change
1
+ (* A lift was missing in expanding aliases under binders for unification *)
2
+
3
+ (* Below, the lift was missing while expanding the reference to
4
+ [mkcons] in [?N] which was under binder [arg] *)
5
+
6
+ Goal forall T (t : T) (P P0 : T -> Set), option (option (list (P0 t)) -> option (list (P t))).
7
+ intros ????.
8
+ refine (Some
9
+ (fun rls
10
+ => let mkcons := ?[M] in
11
+ let default arg := ?[N] in
12
+ match rls as rls (* 2 *) return option (list (P ?[O])) with
13
+ | Some _ => None
14
+ | None => None
15
+ end )).
16
+ Abort .
You can’t perform that action at this time.
0 commit comments