Skip to content
Snippets Groups Projects
Commit 0c72d020 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Merge branch 'master' into 'master'

sum_list_with_in

See merge request !275
parents 86e53498 7cebbad3
No related branches found
No related tags found
1 merge request!275sum_list_with_in
Pipeline #48284 passed
......@@ -200,6 +200,8 @@ Section sum_list.
Proof.
induction l; simpl; rewrite ?reverse_cons, ?sum_list_with_app; simpl; lia.
Qed.
Lemma sum_list_with_in x (f : A nat) ls : x ls f x sum_list_with f ls.
Proof. induction 1; simpl; lia. Qed.
Lemma join_reshape szs l :
sum_list szs = length l mjoin (reshape szs l) = l.
Proof.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment