Fix abs_finite_series_le signature and add Exercise 7.1.6/7.1.7 state…#448
Merged
teorth merged 1 commit intoteorth:mainfrom Feb 19, 2026
Merged
Fix abs_finite_series_le signature and add Exercise 7.1.6/7.1.7 state…#448teorth merged 1 commit intoteorth:mainfrom
teorth merged 1 commit intoteorth:mainfrom
Conversation
rkirov
commented
Feb 15, 2026
| theorem sum_union_disjoint {X S : Type*} [Fintype X] [Fintype S] | ||
| (E : X → Finset S) | ||
| (disj : ∀ i j : X, i ≠ j → Disjoint (E i) (E j)) | ||
| (cover : ∀ s : S, ∃ i, s ∈ E i) |
Contributor
Author
There was a problem hiding this comment.
There were a few different ways to write this in type theory, e.g. using explicit call to Finset.biUnion. Let me know if another one is preferred. I thought this one is the cleanest.
Contributor
Author
There was a problem hiding this comment.
I ended up writing a whole blog post based on this https://rkirov.github.io/posts/sets-vs-types/
Contributor
Author
There was a problem hiding this comment.
the mathlib version is here https://leanprover-community.github.io/mathlib4_docs/Mathlib/Algebra/BigOperators/Group/Finset/Basic.html#Finset.sum_biUnion but it strikes me as unnecessarily general for the purposes of this book.
…ments - Remove unused (c:ℝ) parameter from abs_finite_series_le - Fix whitespace in finite_series_const_mul and abs_finite_series_le - Add Exercise 7.1.6 (sum over disjoint partition) with Fin n index - Add Exercise 7.1.7 (column-row counting identity) with Fin types Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42b00fb to
698277c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ments