Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat: Encodable and Countable instances for Π₀ i, α i and α →₀ β #5875

Closed
wants to merge 3 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Jul 13, 2023

Fixes #5776


Open in Gitpod

@urkud urkud added awaiting-review The author would like community review of the PR new-feature Add features not present in Mathlib 3 labels Jul 13, 2023
Copy link
Contributor

@sgouezel sgouezel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors d+
Thanks!

Mathlib/Data/DFinsupp/Basic.lean Outdated Show resolved Hide resolved
/-- Equivalence between all dependent finitely supported functions `f : Π₀ i, β i` and type type
of pairs `⟨s : Finset ι, f : ∀ i : s, {x : β i // x ≠ 0}⟩`. -/
@[simps! apply_fst apply_snd_coe]
def equivSigmaFinsetFun : (Π₀ i, β i) ≃ Σ s : Finset ι, ∀ i : s, {x : β i // x ≠ 0} :=
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure about the naming convention here, but it feels strange that the word equiv comes first here while it comes last in the above definition.

@bors
Copy link

bors bot commented Jul 15, 2023

✌️ urkud can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@semorrison semorrison added delegated and removed awaiting-review The author would like community review of the PR labels Jul 15, 2023
Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
@urkud
Copy link
Member Author

urkud commented Jul 16, 2023

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Jul 16, 2023
bors bot pushed a commit that referenced this pull request Jul 16, 2023
@bors
Copy link

bors bot commented Jul 16, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title feat: Encodable and Countable instances for Π₀ i, α i and α →₀ β [Merged by Bors] - feat: Encodable and Countable instances for Π₀ i, α i and α →₀ β Jul 16, 2023
@bors bors bot closed this Jul 16, 2023
@bors bors bot deleted the YK-finsupp-encodable branch July 16, 2023 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated new-feature Add features not present in Mathlib 3 ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DFinsupp and Finsupp are countable/encodable
3 participants