Skip to content

[Merged by Bors] - feat: port Data.Nat.Choose.Multinomial - #2361

Closed
mo271 wants to merge 29 commits into
masterfrom
port/Data.Nat.Choose.Multinomial
Closed

mo271 wants to merge 29 commits into
masterfrom
port/Data.Nat.Choose.Multinomial

Conversation

@mo271

@mo271 mo271 commented Feb 18, 2023 •

Copy link
Copy Markdown
Collaborator

@mo271 mo271 added WIP Work in progress mathlib-port This is a port of a theory file from mathlib. labels Feb 18, 2023
@kim-em kim-em added blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) labels Feb 18, 2023
@mo271

mo271 commented Feb 18, 2023 •

Copy link
Copy Markdown
Collaborator Author

Currently two things remain to be fixed:

  • multinomial_univ_three, probably similar to the fix for multinomial_univ_two, getting rid of Matrix.foo
  • sum_pow_of_commute: here Subsingleton (Finset.sym (∅ : Finset α) zero) and IsEmpty (Finset.sym ∅ (succ n)) seem to be needed where mathlib3 seemed to be albe to infer those instance on its own. Also there is one place in the proof that still needs fixing, even with those two added.

@mo271 mo271 removed the WIP Work in progress label Feb 18, 2023
@mo271

mo271 commented Feb 18, 2023

Copy link
Copy Markdown
Collaborator Author

I don't plan to work on this until the depedency is resolved

@mo271 mo271 added the help-wanted The author needs attention to resolve issues label Feb 18, 2023
@kim-em kim-em removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Mar 24, 2023
@kim-em

kim-em commented Mar 24, 2023

Copy link
Copy Markdown
Contributor

This PR/issue depends on:

@mo271
mo271 force-pushed the port/Data.Nat.Choose.Multinomial branch from 98daf67 to e2181d9 Compare March 31, 2023 12:15
@mo271

mo271 commented Mar 31, 2023 •

Copy link
Copy Markdown
Collaborator Author

This is now rebased and everything works, except sum_pow_of_commute, where we have two instances missing.
Can you have a look, if we need to add those instances somewhere, @xroblot?

@kim-em kim-em removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Mar 31, 2023
@xroblot

xroblot commented Apr 1, 2023

Copy link
Copy Markdown
Collaborator

I added a couple of missing instances and fixed a few things. There is still one problem left.

Note however that my fix for the missing instances was just to call explicitly the instance which is probably not the right fix. We may have to ask at some point on Zulip for a better way to fix that.

@mo271

mo271 commented Apr 2, 2023

Copy link
Copy Markdown
Collaborator Author

We may have to ask at some point on Zulip for a better way to fix that.

https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Data.2ENat.2EChoose.2EMultinomial

@Parcly-Taxel Parcly-Taxel added awaiting-review and removed help-wanted The author needs attention to resolve issues labels Apr 7, 2023
@ChrisHughes24

Copy link
Copy Markdown
Member

bors merge

@github-actions github-actions Bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Apr 7, 2023
bors Bot pushed a commit that referenced this pull request Apr 7, 2023
- [x] depends on: #2168 




Co-authored-by: Xavier-François Roblot <[email protected]>
Co-authored-by: Moritz Firsching <[email protected]>
@bors

bors Bot commented Apr 7, 2023

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded:

@bors bors Bot changed the title feat: port Data.Nat.Choose.Multinomial [Merged by Bors] - feat: port Data.Nat.Choose.Multinomial Apr 7, 2023
@bors bors Bot closed this Apr 7, 2023
@bors
bors Bot deleted the port/Data.Nat.Choose.Multinomial branch April 7, 2023 15:02
bors Bot pushed a commit that referenced this pull request Apr 9, 2023
Removes `LibrarySearch` imports that were accidentally included in #2843 and #2361.
MonadMaverick pushed a commit that referenced this pull request Apr 9, 2023
- [x] depends on: #2168 




Co-authored-by: Xavier-François Roblot <[email protected]>
Co-authored-by: Moritz Firsching <[email protected]>
bors Bot pushed a commit that referenced this pull request Apr 9, 2023
Removes `LibrarySearch` imports that were accidentally included in #2843 and #2361.
MonadMaverick pushed a commit that referenced this pull request Apr 9, 2023
- [x] depends on: #2168 




Co-authored-by: Xavier-François Roblot <[email protected]>
Co-authored-by: Moritz Firsching <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mathlib-port This is a port of a theory file from mathlib. ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants