Skip to content

Commit

Permalink
fixes to work with v8.5 branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregory Malecha committed Jun 22, 2015
1 parent 138c915 commit 1c36294
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion theories/Data/Eq.v
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Hint Rewrite eq_sym_eq_sym : eq_rw.
Ltac autorewrite_eq_rw :=
repeat progress (autorewrite with eq_rw;
repeat match goal with
| |- context [ match ?X return _ -> _ with
| |- context [ match ?X in @eq _ _ _ return _ -> _ with
| eq_refl => _
end ] => rewrite (eq_Arr_eq X)
end).
6 changes: 2 additions & 4 deletions theories/Data/HList.v
Original file line number Diff line number Diff line change
Expand Up @@ -658,10 +658,8 @@ Section hlist.
Proof.
induction ls; simpl; intros; try congruence.
{ destruct n; intuition. }
{ destruct n; simpl; try solve [ intuition congruence ].
{ unfold value. intuition congruence. }
{ specialize (IHls n).
forward. } }
{ destruct n; simpl; try solve [ unfold value; intuition congruence ].
specialize (IHls n). forward. }
Qed.

Lemma nth_error_get_hlist_nth_weaken
Expand Down

0 comments on commit 1c36294

Please sign in to comment.