Skip to content

Commit

Permalink
Adapt w.r.t. coq/coq#17564.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedrot committed May 3, 2023
1 parent 6389812 commit 667a578
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Instances.v
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ Proof.
{ intros. reflexivity. }
destruct a.
intros _.
destruct H1 as [[_ Hca]].
destruct H4 as [[_ Hcb]].
edestruct H1 as [[_ Hca]].
edestruct H4 as [[_ Hcb]].
destruct Hca as [x1 [s1 [_ Hin1]]]. reflexivity.
destruct Hcb as [x2 [s2 [_ Hin2]]]. reflexivity.
eexists (x1 + x2). simpl. eexists (s1 + s2). split. reflexivity.
Expand Down Expand Up @@ -344,7 +344,7 @@ Proof.
constructor. split. intros. reflexivity.
intros _.
simpl. destruct a.
- destruct H as [ [ _ Hc ] ]. destruct Hc as [x [H1 H2]]. reflexivity.
- edestruct H as [ [ _ Hc ] ]. destruct Hc as [x [H1 H2]]. reflexivity.
eexists x. split. reflexivity.
eapply semOneofSize. eauto with typeclass_instances.
eexists. split. right. left.
Expand Down

0 comments on commit 667a578

Please sign in to comment.