Skip to content

Commit 1c36294

Browse files
author
Gregory Malecha
committed
fixes to work with v8.5 branch.
1 parent 138c915 commit 1c36294

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

theories/Data/Eq.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Hint Rewrite eq_sym_eq_sym : eq_rw.
9898
Ltac autorewrite_eq_rw :=
9999
repeat progress (autorewrite with eq_rw;
100100
repeat match goal with
101-
| |- context [ match ?X return _ -> _ with
101+
| |- context [ match ?X in @eq _ _ _ return _ -> _ with
102102
| eq_refl => _
103103
end ] => rewrite (eq_Arr_eq X)
104104
end).

theories/Data/HList.v

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -658,10 +658,8 @@ Section hlist.
658658
Proof.
659659
induction ls; simpl; intros; try congruence.
660660
{ destruct n; intuition. }
661-
{ destruct n; simpl; try solve [ intuition congruence ].
662-
{ unfold value. intuition congruence. }
663-
{ specialize (IHls n).
664-
forward. } }
661+
{ destruct n; simpl; try solve [ unfold value; intuition congruence ].
662+
specialize (IHls n). forward. }
665663
Qed.
666664

667665
Lemma nth_error_get_hlist_nth_weaken

0 commit comments

Comments
 (0)