File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ Global Instance applist_reachable : ImmediateReachability appList :=
40
40
41
41
Program Definition alist_append {Γ}(n:nat)(l:alist) : rgref Γ unit Γ :=
42
42
(RGFix _ _ (fun (rec:alist->rgref Γ unit Γ) =>
43
- (fun tl => match !tl with
44
- | None => ( f <- Alloc None;
43
+ (fun tl => match !tl as y return (!tl = y -> _) with
44
+ | None => fun _ => ( f <- Alloc None;
45
45
[ tl ]:= (Some (rcons n f))
46
46
)
47
- | Some l' => (match l' with
47
+ | Some l' => fun _ => (match l' with
48
48
| rcons n' tl' => rec tl'
49
49
end )
50
- end ))) l.
51
- Next Obligation . compute in Heq_anonymous. compute. rewrite <- Heq_anonymous . constructor. Qed .
50
+ end _ ))) l.
51
+ Next Obligation . compute in *. rewrite H . constructor. Qed .
52
52
53
53
Program Example test1 {Γ} : rgref Γ unit Γ :=
54
54
l <- Alloc None;
You can’t perform that action at this time.
0 commit comments