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(analysis/special_functions/pow): interaction between cpow and inv/conj #18137

Closed
wants to merge 2 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Jan 11, 2023


Open in Gitpod

Follows on from #17073

@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR t-analysis Analysis (normed *, calculus) labels Jan 11, 2023
@eric-wieser eric-wieser changed the title feat(analysis/special_functions/pow): interaction between inv and cpow feat(analysis/special_functions/pow): interaction between cpow and inv/conj Jan 11, 2023
Copy link
Collaborator

@ocfnash ocfnash left a comment

Choose a reason for hiding this comment

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

Thanks!

I was a bit surprised by some of these results for the case x.arg = π but I can't see better statements.

For example I was going to advocate demoting what we currently call log_inv_eq_ite to log_inv_eq_ite' and in its place adding:

lemma log_inv_eq_ite
  log z⁻¹ = if z.arg = π then -log z + 2 * π * I else -log z` :=

since values of log are really defined up to an additive action of and it feels like a bit of a coincidence that this works out to be conj.

However for the lemmas here I see no alternatives.

In any case:

bors merge

@leanprover-community-bot-assistant leanprover-community-bot-assistant 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 Jan 19, 2023
bors bot pushed a commit that referenced this pull request Jan 19, 2023
@bors
Copy link

bors bot commented Jan 19, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(analysis/special_functions/pow): interaction between cpow and inv/conj [Merged by Bors] - feat(analysis/special_functions/pow): interaction between cpow and inv/conj Jan 19, 2023
@bors bors bot closed this Jan 19, 2023
@bors bors bot deleted the eric-wieser/log-complex branch January 19, 2023 18:26
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+`.) t-analysis Analysis (normed *, calculus)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants