Skip to content

feat(Data/ENNReal): add ofReal_inv_le and ofReal_div_le#37565

Open
pitmonticone wants to merge 2 commits intoleanprover-community:masterfrom
pitmonticone:carleson/ofReal-inv-le
Open

feat(Data/ENNReal): add ofReal_inv_le and ofReal_div_le#37565
pitmonticone wants to merge 2 commits intoleanprover-community:masterfrom
pitmonticone:carleson/ofReal-inv-le

Conversation

@pitmonticone
Copy link
Copy Markdown
Member

Add inequality versions of ofReal_inv_of_pos and ofReal_div_of_pos that don't require positivity:

  • ofReal_inv_le: ENNReal.ofReal x⁻¹ ≤ (ENNReal.ofReal x)⁻¹
  • ofReal_div_le: ENNReal.ofReal (x / y) ≤ ENNReal.ofReal x / ENNReal.ofReal y

Upstreamed from the Carleson project.

Co-authored-by: Jeremy Tan Jie Rui [email protected]


Add inequality versions of `ofReal_inv_of_pos` and `ofReal_div_of_pos` that don't require positivity:
- `ofReal_inv_le`: `ENNReal.ofReal x⁻¹ ≤ (ENNReal.ofReal x)⁻¹`
- `ofReal_div_le`: `ENNReal.ofReal (x / y) ≤ ENNReal.ofReal x / ENNReal.ofReal y`

Upstreamed from the [Carleson](https://github.com/fpvandoorn/carleson) project.

Co-authored-by: Jeremy Tan Jie Rui <[email protected]>
@pitmonticone pitmonticone added carleson part of the ongoing formalization of Carleson's theorem easy < 20s of review time. See the lifecycle page for guidelines. labels Apr 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

PR summary f51efbe0b8

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ ofReal_div_le
+ ofReal_inv_le

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions bot added the t-data Data (lists, quotients, numbers, etc) label Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

carleson part of the ongoing formalization of Carleson's theorem easy < 20s of review time. See the lifecycle page for guidelines. t-data Data (lists, quotients, numbers, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant