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: Port/Data.Finsupp.ToDfinsupp #1995

Closed
wants to merge 16 commits into from

Conversation

arienmalec
Copy link
Collaborator

@arienmalec arienmalec commented Feb 1, 2023

port of data.finsup.to_dfinsupp

includes naming of instances in Data.Finsupp.Defs

Had to unroll the instance defs for sigmaFinsuppLequivDfinsupp (duplicating defs) to address a timeout issue.


Open in Gitpod

Mathbin -> Mathlib

fix certain import statements

move "by" to end of line

add import to Mathlib.lean
@arienmalec arienmalec added WIP Work in progress mathlib-port This is a port of a theory file from mathlib. labels Feb 1, 2023
@arienmalec arienmalec added awaiting-review and removed WIP Work in progress labels Feb 1, 2023
Comment on lines 296 to 302
toFun f :=
⟨split f,
Trunc.mk
⟨(splitSupport f : Finset ι).val, fun i =>
by
rw [← Finset.mem_def, mem_splitSupport_iff_nonzero]
exact (em _).symm⟩⟩
Copy link
Member

Choose a reason for hiding this comment

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

Please reflow

Mathlib/Data/Finsupp/ToDfinsupp.lean Outdated Show resolved Hide resolved
@jcommelin
Copy link
Member

bors d+

@bors
Copy link

bors bot commented Feb 3, 2023

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

@arienmalec
Copy link
Collaborator Author

bors r+

bors bot pushed a commit that referenced this pull request Feb 3, 2023
port of data.finsup.to_dfinsupp

includes naming of instances in `Data.Finsupp.Defs`

Had to unroll the instance defs for `sigmaFinsuppLequivDfinsupp` (duplicating defs) to address a timeout issue.



Co-authored-by: ChrisHughes24 <chrishughes24@gmail.com>
Co-authored-by: Johan Commelin <johan@commelin.net>
@bors
Copy link

bors bot commented Feb 3, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat: Port/Data.Finsupp.ToDfinsupp [Merged by Bors] - feat: Port/Data.Finsupp.ToDfinsupp Feb 3, 2023
@bors bors bot closed this Feb 3, 2023
@bors bors bot deleted the port/Data.Finsupp.ToDfinsupp branch February 3, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated mathlib-port This is a port of a theory file from mathlib.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants