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

refactor(analysis/specific_limits): use ennreals instead of nnreals in *_edist_le_geometric #1759

Merged
merged 16 commits into from
Dec 17, 2019

Conversation

urkud
Copy link
Member

@urkud urkud commented Dec 1, 2019

Depends on #1755, #1756

I tried to migrate closeds from half_pow to the new cauchy_seq_of_edist_le_geometric but proving the required inequalities with nnreals require a lot of casting that norm_cast can't handle. So, use ennreals right away.

TO CONTRIBUTORS:

Make sure you have:

  • reviewed and applied the coding style: coding, naming
  • reviewed and applied the documentation requirements
  • make sure definitions and lemmas are put in the right files
  • make sure definitions and lemmas are not redundant

If this PR is related to a discussion on Zulip, please include a link in the discussion.

For reviewers: code review check list

@urkud urkud added the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Dec 1, 2019
@urkud urkud removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Dec 16, 2019
@sgouezel sgouezel added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Dec 17, 2019
@mergify mergify bot merged commit abea298 into master Dec 17, 2019
@mergify mergify bot deleted the edist-geometric branch December 17, 2019 07:44
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 15, 2020
…`s in `*_edist_le_geometric` (leanprover-community#1759)

* feat(data/real/ennreal): more lemmas, `*_cast` tags, use `lift` tactic

* Undo name change

* Fix compile

* nnreal: add `move_cast`

* ennreal: more lemmas

* Fix compile

* feat(topology/instances/ennreal): more lemmas

* Fix compile

* Rewrite `cauchy_seq_of_edist_le_geometric` etc in terms of `ennreal`s

I tried to actually use `nnreal`s, and it leads to coercions nightmare.

* Simplify some proofs using new lemmas

* Fix compile

* Fix compile
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 16, 2020
…`s in `*_edist_le_geometric` (leanprover-community#1759)

* feat(data/real/ennreal): more lemmas, `*_cast` tags, use `lift` tactic

* Undo name change

* Fix compile

* nnreal: add `move_cast`

* ennreal: more lemmas

* Fix compile

* feat(topology/instances/ennreal): more lemmas

* Fix compile

* Rewrite `cauchy_seq_of_edist_le_geometric` etc in terms of `ennreal`s

I tried to actually use `nnreal`s, and it leads to coercions nightmare.

* Simplify some proofs using new lemmas

* Fix compile

* Fix compile
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

2 participants