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: bump toolchain to v4.16.0-rc1, and merge bump/v4.16.0 #20464

Closed
wants to merge 4,196 commits into from

Conversation

kim-em
Copy link
Contributor

@kim-em kim-em commented Jan 4, 2025


Open in Gitpod

Co-authored-by: leanprover-community-mathlib4-bot <[email protected]>
Co-authored-by: Johan Commelin <[email protected]>
Co-authored-by: leanprover-community-mathlib4-bot <[email protected]>
Co-authored-by: Kim Morrison <[email protected]>
Copy link

github-actions bot commented Jan 4, 2025

PR summary c100c8f24a

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Tactic.DeriveToExpr 21 0 -21 (-100.00%)
Mathlib.Tactic.ToExpr 23 19 -4 (-17.39%)
Mathlib.Tactic.ITauto 46 43 -3 (-6.52%)
Mathlib.Algebra.BigOperators.Group.List 390 385 -5 (-1.28%)
Mathlib.Tactic.Common 237 234 -3 (-1.27%)
Mathlib.Data.Vector.Basic 403 398 -5 (-1.24%)
Mathlib.Data.List.Basic 284 281 -3 (-1.06%)
Mathlib.Data.List.Lex 287 284 -3 (-1.05%)
Mathlib.Data.List.Chain 290 287 -3 (-1.03%)
Mathlib.Computability.TuringMachine 489 484 -5 (-1.02%)
Mathlib.Data.QPF.Multivariate.Constructions.Fix 513 508 -5 (-0.97%)
Mathlib.Data.List.MinMax 317 314 -3 (-0.95%)
Mathlib.Data.Fin.Basic 334 331 -3 (-0.90%)
Mathlib.Data.Fin.Tuple.Basic 336 333 -3 (-0.89%)
Mathlib.Data.Fin.Tuple.Take 337 334 -3 (-0.89%)
Mathlib.Data.List.Lemmas 337 334 -3 (-0.89%)
Mathlib.Data.Nat.Bitwise 337 334 -3 (-0.89%)
Mathlib.Data.String.Basic 337 334 -3 (-0.89%)
Mathlib.Order.Fin.Basic 348 345 -3 (-0.86%)
Mathlib.Data.Int.Bitwise 349 346 -3 (-0.86%)
Mathlib.Data.List.Permutation 350 347 -3 (-0.86%)
Mathlib.Algebra.BigOperators.Fin 584 579 -5 (-0.86%)
Mathlib.Computability.TMToPartrec 611 606 -5 (-0.82%)
Mathlib.Deprecated.LazyList 385 382 -3 (-0.78%)
Mathlib.ModelTheory.Semantics 654 649 -5 (-0.76%)
Mathlib.LinearAlgebra.Matrix.SemiringInverse 741 736 -5 (-0.67%)
Mathlib.SetTheory.Ordinal.Notation 741 736 -5 (-0.67%)
Mathlib.Data.Int.Lemmas 469 466 -3 (-0.64%)
Mathlib.LinearAlgebra.LinearIndependent 885 880 -5 (-0.56%)
Mathlib.Tactic.Linarith.Frontend 548 545 -3 (-0.55%)
Mathlib.CategoryTheory.Galois.Decomposition 955 950 -5 (-0.52%)
Mathlib.Algebra.MvPolynomial.SchwartzZippel 1076 1071 -5 (-0.46%)
Mathlib.AlgebraicGeometry.EllipticCurve.NormalForms 1127 1122 -5 (-0.44%)
Mathlib.LinearAlgebra.Dual 1228 1223 -5 (-0.41%)
Mathlib.NumberTheory.Bernoulli 1231 1226 -5 (-0.41%)
Mathlib.RingTheory.Polynomial.Chebyshev 1070 1067 -3 (-0.28%)
Mathlib.RingTheory.Kaehler.JacobiZariski 1391 1388 -3 (-0.22%)
Mathlib.MeasureTheory.Integral.Marginal 1405 1402 -3 (-0.21%)
Mathlib.FieldTheory.Finite.GaloisField 1469 1466 -3 (-0.20%)
Mathlib.Analysis.Calculus.ContDiff.FaaDiBruno 1545 1542 -3 (-0.19%)
Mathlib.Analysis.Convex.Continuous 1672 1669 -3 (-0.18%)
Mathlib.NumberTheory.Modular 1682 1679 -3 (-0.18%)
Mathlib.RingTheory.Ideal.Norm.AbsNorm 1682 1679 -3 (-0.18%)
Mathlib.Topology.Category.Profinite.Nobeling 1701 1698 -3 (-0.18%)
Mathlib.MeasureTheory.Integral.FundThmCalculus 1989 1986 -3 (-0.15%)
Mathlib.Tactic 2448 2445 -3 (-0.12%)
Import changes for all files
Files Import difference
There are 4937 files with changed transitive imports taking up over 209401 characters: this is too many to display!
You can run scripts/import_trans_difference.sh all locally to see the whole output.

Declarations diff

+ decidableLT'
+ instance (priority := low) nat (n : ℕ) : OfNat ONote n
+ instance (priority := low) {n : ℕ} : OfNat PosNum (n + 1)
+ repr_zero
- Lex
- ToLevel.imax
- ToLevel.max
- ToLevel.{u}
- countP_flatMap
- count_flatMap
- decidableLT
- fixIndType
- getElem_cons
- instance : ToLevel.{0}
- instance [ToLevel.{u}] : ToLevel.{u+1}
- instance {n : ℕ} : OfNat PosNum (n + 1)
- instance {α : Type u} [ToExpr α] [ToLevel.{u}] : ToExpr (Array α)
- length_flatMap
- lt_div_iff_mul_lt
- mkAppNTerm
- mkAuxFunction
- mkInstanceCmds
- mkLocalInstanceLetDecls
- mkMutualBlock
- mkToExprBody
- mkToExprHeader
- mkToExprInstanceCmds
- mkToExprInstanceHandler
- mkToLevelBinders
- mkToTypeExpr
- nat
- nil_le
- nil_lt_cons
- replicate_succ'

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

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

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


Increase in tech debt: (relative, absolute) = (1.00, 0.01)
Current number Change Type
199 1 adaptation notes

Current commit c100c8f24a
Reference commit 9837ca9d65

You can run this locally as

./scripts/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).

@eric-wieser
Copy link
Member

Should this wait until we've sorted out the issues with the 4.15.0 release? I think there are some dependency version issues, and we can't easy move the 4.15.0 tag once master has moved on.

@kim-em
Copy link
Contributor Author

kim-em commented Jan 4, 2025

Should this wait until we've sorted out the issues with the 4.15.0 release? I think there are some dependency version issues, and we can't easy move the 4.15.0 tag once master has moved on.

In fact, all the problems reported there are because we have not yet merged this PR. doc-gen4's main branch is already at v4.16.0-rc1, and so people are seeing lake update trying to advance the toolchain to v4.16.0-rc1, and then seeing everything break because Mathlib is not ready for it.

@kim-em
Copy link
Contributor Author

kim-em commented Jan 5, 2025

bors merge

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the ready-to-merge This PR has been sent to bors. label Jan 5, 2025
mathlib-bors bot pushed a commit that referenced this pull request Jan 5, 2025
Co-authored-by: leanprover-community-mathlib4-bot <[email protected]>
Co-authored-by: Johan Commelin <[email protected]>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jan 5, 2025

Build failed:

@kim-em
Copy link
Contributor Author

kim-em commented Jan 5, 2025

bors p=10

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Jan 5, 2025
Co-authored-by: Johan Commelin <[email protected]>
Co-authored-by: leanprover-community-mathlib4-bot <[email protected]>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jan 5, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: bump toolchain to v4.16.0-rc1, and merge bump/v4.16.0 [Merged by Bors] - chore: bump toolchain to v4.16.0-rc1, and merge bump/v4.16.0 Jan 5, 2025
@mathlib-bors mathlib-bors bot closed this Jan 5, 2025
Julian added a commit that referenced this pull request Jan 5, 2025
* origin/master: (133 commits)
  chore(1000): remove nonexistent fields (#20493)
  chore(CategoryTheory/Adjunction.Basic, CategoryTheory/Equivalence): change definition of `Adjunction.comp` and `Equivalence.trans` (#20490)
  feat(Asymptotics): add `Asymptotics.*.*Prod` lemmas (#20458)
  feat: a conditional kernel is almost everywhere a probability measure (#20430)
  feat: if `f` is a measurable group hom, then every point has a neighborhood `s` such that `f '' s` is bounded (#20304)
  feat: `Ico`, `Ioc`, and `Ioo` are not closed or compact (#20479)
  chore: drop redundant hypothesis in `Module.Dual.eq_of_preReflection_mapsTo` (#20492)
  feat(FaaDiBruno): derive `DecidableEq` (#20482)
  chore(SetTheory/Ordinal/Basic): `{x // x < y}` → `Iio y` (#20413)
  chore: generalize `FormalMultilinearSeries.ofScalars_norm` to `Seminormed` (#20351)
  chore(MvPolynomial/Localization): golf using TensorProduct (#20309)
  chore(Combinatorics/Enumerative/Partition): auto-derive DecidableEq (#20277)
  chore(CategoryTheory): make relevant parameters explicit in `Arrow.homMk`. (#20259)
  feat: add `IsStarNormal (↑x⁻¹ : R)` instance for `x : Rˣ` (#20091)
  fix: Stop cancelling builds of master (#20435)
  chore: update Mathlib dependencies 2025-01-05 (#20485)
  feat(SetTheory/Cardinal/Arithmetic): miscellaneous cardinality lemmas (#18933)
  chore: bump toolchain to v4.16.0-rc1, and merge bump/v4.16.0 (#20464)
  chore: bot validates lean-toolchain on bump/v4.X.0 branches (#20478)
  feat: shorthand lemmas for the L1 norm (#20383)
  chore: remove unnecessary adaptation notes (#20467)
  chore(Algebra/Category/MonCat/Colimits): remove smallness condition (#20473)
  chore(SetTheory/Ordinal/Arithmetic): `IsLeftCancelAdd Ordinal` (#19888)
  feat(Algebra): more on `OrthogonalIdempotents` (#18195)
  feat(Radical): `(radical a).natDegree ≤ a.natDegree` (#20468)
  feat(Polynomial): `(a^n)' = 0` iff `a' = 0` when `n` doesn't divide the characteristic (#20190)
  feat(Algebra/Lie): add Lie's theorem (#13480)
  chore(RingTheory/Generators): make algebra instance a def (#14265)
  feat(Topology/Group): Lemmas about profinite group (#20282)
  feat: the empty set is a topological basis iff the space is empty (#20441)
  chore: make uniqueness of conditionally complete linearly ordered archimedean fields independent of the construction of `Real` (#20242)
  chore: `inherit_doc`s for notations (#20376)
  chore: split AEEqOfIntegral into two files, one for each integral type (#20405)
  chore: split Kernel/MeasurableIntegral (#20427)
  feat(MeasureTheory/Group/Measure): add ContinuousMulEquiv.isHaarMeasure_map (#20469)
  fix(Mathlib.Tactic.CC.Datatypes): `cc` raises panic (#20422)
  feat(Probability/Moments): add lemmas about moment generating functions (#19886)
  feat(Algebra/Order/AddGroupWithTop): lemmas about LinearOrderedAddCommGroupWithTop (#18954)
  chore: bump toolchain to v4.15.0 (#20461)
  chore: update Mathlib dependencies 2025-01-04 (#20463)
  fix: make `Prod` projection delaborators respond to options, add option to disable (#20455)
  chore(Algebra): Improve attribute generation (#20451)
  feat(Polynomial): `(C a * p).degree = p.degree` if `a * p.leadingCoeff ≠ 0` (#20446)
  feat: add `ENNReal.finStronglyMeasurable_of_measurable` (#20404)
  doc(Algebra/Lie/Weights/Basic): fix typo (#20450)
  chore(1000): remove `identifiers` (#20445)
  feat: add sumPiEquivProdPi and piUnique (#20195)
  feat: add fst_compProd_apply (#20429)
  chore: use unsigned measures for Lebesgue decomposition (#20400)
  feat: Two lemmas on divisibility and coprimality of `expand` (#20143)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.