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/special_functions/pow): golf a few proofs #8308

Closed
wants to merge 3 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Jul 14, 2021

  • add ennreal.zero_rpow_mul_self and ennreal.mul_rpow_eq_ite;
  • use the latter lemma to golf other proofs about (x * y) ^ z;
  • drop unneeded argument in ennreal.inv_rpow_of_pos, rename it to
    ennreal.inv_rpow;
  • add ennreal.strict_mono_rpow_of_pos and
    ennreal.monotone_rpow_of_nonneg, use themm to golf some proofs.

Open in Gitpod

* add `ennreal.zero_rpow_mul_self` and `ennreal.mul_rpow_eq_ite`;
* use the latter lemma to golf other proofs about `(x * y) ^ z`;
* drop unneeded argument in `ennreal.inv_rpow_of_pos`, rename it to
  `ennreal.inv_rpow`;
* add `ennreal.strict_mono_rpow_of_pos` and
  `ennreal.monotone_rpow_of_nonneg`, use themm to golf some proofs.
@urkud urkud added the awaiting-review The author would like community review of the PR label Jul 14, 2021
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@sgouezel
Copy link
Collaborator

bors r+
Thanks!

@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 Jul 14, 2021
bors bot pushed a commit that referenced this pull request Jul 14, 2021
* add `ennreal.zero_rpow_mul_self` and `ennreal.mul_rpow_eq_ite`;
* use the latter lemma to golf other proofs about `(x * y) ^ z`;
* drop unneeded argument in `ennreal.inv_rpow_of_pos`, rename it to
  `ennreal.inv_rpow`;
* add `ennreal.strict_mono_rpow_of_pos` and
  `ennreal.monotone_rpow_of_nonneg`, use themm to golf some proofs.
@bors
Copy link

bors bot commented Jul 14, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(analysis/special_functions/pow): golf a few proofs [Merged by Bors] - chore(analysis/special_functions/pow): golf a few proofs Jul 14, 2021
@bors bors bot closed this Jul 14, 2021
@bors bors bot deleted the rpow-golf branch July 14, 2021 12:56
@urkud urkud restored the rpow-golf branch July 14, 2021 13:56
@urkud urkud deleted the rpow-golf branch July 14, 2021 18:07
b-mehta pushed a commit that referenced this pull request Jul 20, 2021
* add `ennreal.zero_rpow_mul_self` and `ennreal.mul_rpow_eq_ite`;
* use the latter lemma to golf other proofs about `(x * y) ^ z`;
* drop unneeded argument in `ennreal.inv_rpow_of_pos`, rename it to
  `ennreal.inv_rpow`;
* add `ennreal.strict_mono_rpow_of_pos` and
  `ennreal.monotone_rpow_of_nonneg`, use themm to golf some proofs.
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