Skip to content

[Merged by Bors] - feat(Data/ENNReal): more big operator lemmas - #40211

Closed
YaelDillies wants to merge 2 commits into
leanprover-community:masterfrom
YaelDillies:ennreal_big_ops
Closed

YaelDillies wants to merge 2 commits into
leanprover-community:masterfrom
YaelDillies:ennreal_big_ops

Conversation

@YaelDillies

Copy link
Copy Markdown
Contributor

Also fix the variable implicitness and and names of a few existing declarations.

Renames:

  • coe_finsetSum to ofNNReal_finsetSum
  • coe_finsetProd to ofNNReal_finsetProd

Open in Gitpod

Also fix the variable implicitness and and names of a few existing declarations.

Renames:
* `coe_finsetSum` to `ofNNReal_finsetSum`
* `coe_finsetProd` to `ofNNReal_finsetProd`
@github-actions github-actions Bot added the t-data Data (lists, quotients, numbers, etc) label Jun 4, 2026
@github-actions

github-actions Bot commented Jun 4, 2026 •

Copy link
Copy Markdown

PR summary c787c358db

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Data.NNReal.Basic 927 940 +13 (+1.40%)
Mathlib.Data.ENNReal.BigOperators 936 949 +13 (+1.39%)
Mathlib.Topology.Algebra.InfiniteSum.ENNReal 1317 1323 +6 (+0.46%)
Import changes for all files
Files Import difference
75 files Mathlib.Algebra.Order.Archimedean.Real.Hom Mathlib.Algebra.Order.Star.Real Mathlib.Algebra.Star.CHSH Mathlib.Analysis.Asymptotics.Defs Mathlib.Analysis.BoxIntegral.Box.Basic Mathlib.Analysis.BoxIntegral.Partition.Basic Mathlib.Analysis.BoxIntegral.Partition.Split Mathlib.Analysis.BoxIntegral.Partition.Tagged Mathlib.Analysis.Calculus.TangentCone.Basic Mathlib.Analysis.Calculus.TangentCone.Defs Mathlib.Analysis.Calculus.TangentCone.Prod Mathlib.Analysis.Complex.Exponential Mathlib.Analysis.Complex.Norm Mathlib.Analysis.Complex.Order Mathlib.Analysis.Complex.Trigonometric Mathlib.Analysis.Normed.Field.Basic Mathlib.Analysis.Normed.Field.TransferInstance Mathlib.Analysis.Normed.Group.AddTorsor Mathlib.Analysis.Normed.Group.Basic Mathlib.Analysis.Normed.Group.Bounded Mathlib.Analysis.Normed.Group.CocompactMap Mathlib.Analysis.Normed.Group.Constructions Mathlib.Analysis.Normed.Group.Continuity Mathlib.Analysis.Normed.Group.Indicator Mathlib.Analysis.Normed.Group.Int Mathlib.Analysis.Normed.Group.Rat Mathlib.Analysis.Normed.Group.Real Mathlib.Analysis.Normed.Group.Subgroup Mathlib.Analysis.Normed.Group.Submodule Mathlib.Analysis.Normed.Module.ENormedSpace Mathlib.Analysis.Normed.Module.MStructure Mathlib.Analysis.Normed.Order.Basic Mathlib.Analysis.Normed.Order.Hom.Basic Mathlib.Analysis.Normed.Order.Hom.Ultra Mathlib.Analysis.Normed.Ring.Basic Mathlib.Analysis.Normed.Ring.Finite Mathlib.Analysis.Normed.Ring.TransferInstance Mathlib.Analysis.Normed.Ring.WithAbs Mathlib.Analysis.NormedSpace.Alternating.Basic Mathlib.Analysis.NormedSpace.Alternating.Curry Mathlib.Analysis.NormedSpace.Alternating.Uncurry.Fin Mathlib.Analysis.NormedSpace.Connected Mathlib.Analysis.NormedSpace.ENormedSpace Mathlib.Analysis.NormedSpace.Extr Mathlib.Analysis.NormedSpace.MStructure Mathlib.Analysis.NormedSpace.Multilinear.Basic Mathlib.Analysis.NormedSpace.Multilinear.Curry Mathlib.Analysis.NormedSpace.Normalize Mathlib.Analysis.NormedSpace.PiTensorProduct.InjectiveSeminorm Mathlib.Analysis.NormedSpace.PiTensorProduct.ProjectiveSeminorm Mathlib.Analysis.NormedSpace.RieszLemma Mathlib.Analysis.Rat.NatSqrt.Real Mathlib.Analysis.Real.Sqrt Mathlib.Analysis.SpecialFunctions.Log.ERealExp Mathlib.Analysis.SumOverResidueClass Mathlib.Data.Real.CompleteField Mathlib.InformationTheory.Hamming Mathlib.MeasureTheory.OuterMeasure.AE Mathlib.MeasureTheory.OuterMeasure.Basic Mathlib.MeasureTheory.OuterMeasure.BorelCantelli Mathlib.MeasureTheory.OuterMeasure.Operations Mathlib.Tactic.NormNum.RealSqrt Mathlib.Topology.Algebra.InfiniteSum.ENNReal Mathlib.Topology.Algebra.InfiniteSum.Field Mathlib.Topology.Algebra.InfiniteSum.Real Mathlib.Topology.Compactness.HilbertCubeEmbedding Mathlib.Topology.EMetricSpace.BoundedVariation Mathlib.Topology.Instances.ENNReal.ENatENNReal Mathlib.Topology.Instances.ENNReal.Lemmas Mathlib.Topology.Instances.EReal.Lemmas Mathlib.Topology.Instances.NNReal.Lemmas Mathlib.Topology.MetricSpace.CauSeqFilter Mathlib.Topology.Metrizable.CompletelyMetrizable Mathlib.Topology.Semicontinuity.Basic Mathlib.Topology.Semicontinuity.Lindelof
6
4 files Mathlib.Algebra.Order.Floor.Extended Mathlib.Data.ENNReal.BigOperators Mathlib.Data.NNReal.Basic Mathlib.Topology.Metrizable.Uniformity
13

Declarations diff

+ ofNNReal_finsetProd
+ ofNNReal_finsetSum
+ ofNNReal_finsuppProd
+ ofNNReal_finsuppSum
+ toReal_finsuppProd
+ toReal_finsuppSum

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

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

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.


No changes to strong technical debt.
No changes to weak technical debt.

Current commit c787c358db
Reference commit e577c1669e

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/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).

Comment thread Mathlib/Data/ENNReal/BigOperators.lean Resolved
Comment thread Mathlib/Data/ENNReal/BigOperators.lean Resolved
@ocfnash

ocfnash commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

bors d=@grunweg

@mathlib-bors

mathlib-bors Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

✌️ grunweg can now approve this pull request until 2026-06-18 09:00 UTC (in 2 weeks). To approve and merge, reply with bors r+. More detailed instructions are available here.

@mathlib-triage mathlib-triage Bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Jun 4, 2026
@YaelDillies
YaelDillies temporarily deployed to cache-upload-forks June 4, 2026 09:09 — with GitHub Actions Inactive
@grunweg

grunweg commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Thanks, also for documenting the naming policy!
bors merge

@mathlib-triage mathlib-triage Bot added the ready-to-merge This PR has been sent to bors. label Jun 4, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Jun 4, 2026
Also fix the variable implicitness and and names of a few existing declarations.

Renames:
* `coe_finsetSum` to `ofNNReal_finsetSum`
* `coe_finsetProd` to `ofNNReal_finsetProd`
@mathlib-bors

mathlib-bors Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(Data/ENNReal): more big operator lemmas [Merged by Bors] - feat(Data/ENNReal): more big operator lemmas Jun 4, 2026
@mathlib-bors mathlib-bors Bot closed this Jun 4, 2026
@YaelDillies
YaelDillies deleted the ennreal_big_ops branch June 4, 2026 11:18
ReemMelamed pushed a commit to ReemMelamed/mathlib4 that referenced this pull request Jun 20, 2026
)

Also fix the variable implicitness and and names of a few existing declarations.

Renames:
* `coe_finsetSum` to `ofNNReal_finsetSum`
* `coe_finsetProd` to `ofNNReal_finsetProd`

This branch was previously deployed

1 inactive deployment
cache-upload-forks — c787c358 Deployed Jun 4, 2026 by YaelDillies via ci (fork) / Upload to cache #302781
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). ready-to-merge This PR has been sent to bors. t-data Data (lists, quotients, numbers, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants