Skip to content

Commit

Permalink
one more
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelgruetter committed Jul 26, 2023
1 parent 6c397e1 commit 059a190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bedrock2/src/bedrock2/bottom_up_simpl.v
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ Module List.

Lemma apps_concat: forall (xss: list (list A)), apps xss = List.concat xss.
Proof.
induction xss. 1: reflexivity.
induction xss > [ reflexivity | ].
simpl. rewrite <- IHxss.
destruct xss; try reflexivity.
simpl. symmetry. apply List.app_nil_r.
Expand Down Expand Up @@ -509,7 +509,7 @@ Module List.
intros. subst. rewrite 2apps_concat. revert i xss H.
induction n; intros; simpl in *.
- rewrite 2List.upto_beginning; trivial.
- destruct xss. 1: reflexivity.
- destruct xss > [ reflexivity | ].
simpl in *.
rewrite 2upto_app. f_equal. apply IHn. lia.
Qed.
Expand Down

0 comments on commit 059a190

Please sign in to comment.