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] - chore(analysis/calculus/deriv): add iff versions of differentiable_const_add etc #5390

Closed
wants to merge 3 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Dec 16, 2020

Also drop some unneeded differentiable assumptions in lemmas like deriv_const_add.


…_const_add` etc

Also drop some unneeded `differentiable` assumptions in lemmas like `deriv_const_add`.
@urkud urkud added the awaiting-review The author would like community review of the PR label Dec 16, 2020
Copy link
Collaborator

@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.

I'm really happy when useless assumptions are removed, you just made my day :-)

My only question is about names: you have lemmas like differentiable_within_at_neg_iff and differentiable_within_at_sub_const, which are really comparable except that one has iff in its name and the other doesn't. I don't have a strong preference for one or the other (maybe I prefer slightly with the iff because the addition is short, and it removes a very small ambiguity), but what I'd really like to have is coherence.

@sgouezel sgouezel added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Dec 16, 2020
@bryangingechen bryangingechen added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Dec 16, 2020
@sgouezel
Copy link
Collaborator

bors r+

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Dec 17, 2020
bors bot pushed a commit that referenced this pull request Dec 17, 2020
…_const_add` etc (#5390)

Also drop some unneeded `differentiable` assumptions in lemmas like `deriv_const_add`.
@bors
Copy link

bors bot commented Dec 17, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(analysis/calculus/deriv): add iff versions of differentiable_const_add etc [Merged by Bors] - chore(analysis/calculus/deriv): add iff versions of differentiable_const_add etc Dec 17, 2020
@bors bors bot closed this Dec 17, 2020
@bors bors bot deleted the deriv-const-add branch December 17, 2020 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants