Skip to content

[Merged by Bors] - chore: update deprecated declarations in *.yamls#38312

Closed
thorimur wants to merge 1 commit intoleanprover-community:masterfrom
thorimur:yaml-deprecations
Closed

[Merged by Bors] - chore: update deprecated declarations in *.yamls#38312
thorimur wants to merge 1 commit intoleanprover-community:masterfrom
thorimur:yaml-deprecations

Conversation

@thorimur
Copy link
Copy Markdown
Contributor

@thorimur thorimur commented Apr 20, 2026

Updates deprecated declarations in 1000.yaml, overview.yaml, and undergrad.yaml. Found with #38313.

Note: in 1000.yaml, the removed declaration ProbabilityTheory.binomial_tendsto_poissonPMFReal_atTop has been deprecated in favor of the adjacent already-present declaration ProbabilityTheory.tendsto_choose_mul_pow_of_tendsto_mul_atTop.


Disclosure: I threw the following output:

Entries in `docs/undergrad.yaml` refer to 4 declaration(s) that are deprecated. Please update the document to refer to the following declaration(s):
  Bilinear and Quadratic Forms Over a Vector Space :: Bilinear forms :: matrix representation: 'LinearMap.BilinForm.toMatrix' (previously 'BilinForm.toMatrix')
  Bilinear and Quadratic Forms Over a Vector Space :: Bilinear forms :: change of coordinates: 'LinearMap.BilinForm.toMatrix_comp' (previously 'BilinForm.toMatrix_comp')
  Distribution calculus :: Tempered distributions :: Fourier transforms: 'FourierTransform.fourierCLM' (previously 'TemperedDistribution.fourierTransformCLM')
  Distribution calculus :: Tempered distributions :: inverse Fourier transform: 'FourierTransform.fourierInvCLM' (previously 'TemperedDistribution.fourierTransformInvCLM')
Entries in `docs/overview.yaml` refer to 6 declaration(s) that are deprecated. Please update the document to refer to the following declaration(s):
  General algebra :: Category theory :: Cartesian closed: 'CategoryTheory.MonoidalClosed' (previously 'CategoryTheory.CartesianClosed')
  General algebra :: Field theory :: Abel-Ruffini theorem (one direction): 'isSolvable_gal_minpoly' (previously 'solvableByRad.isSolvable')
  General algebra :: Number theory :: perfection of a ring: 'Perfection' (previously 'Ring.Perfection')
  Linear algebra :: Bilinear and quadratic forms :: matrix representation: 'LinearMap.BilinForm.toMatrix' (previously 'BilinForm.toMatrix')
  Analysis :: Complex analysis :: Schwarz lemma: 'Complex.norm_le_norm_of_mapsTo_ball' (previously 'Complex.norm_le_norm_of_mapsTo_ball_self')
  Probability Theory :: Stochastic Processes :: hitting time: 'MeasureTheory.hittingBtwn' (previously 'MeasureTheory.hitting')
Entries in `docs/1000.yaml` refer to 2 declaration(s) that are deprecated. Please update the document to refer to the following declaration(s):
  Q6813106 Mellin inversion theorem: 'mellinInv_mellin_eq' (previously 'mellin_inversion')
  Q7208500 Poisson limit theorem: 'ProbabilityTheory.tendsto_choose_mul_pow_of_tendsto_mul_atTop' (previously 'ProbabilityTheory.binomial_tendsto_poissonPMFReal_atTop')

at Claude, then ensured that lake exe check-yaml passed after regenerating the json and reviewed the changes.

Open in Gitpod

@github-actions
Copy link
Copy Markdown

PR summary 9b51fe6ec0

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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

@thorimur thorimur marked this pull request as ready for review April 20, 2026 20:18
@thorimur thorimur changed the title chore: update deprecated declarations in yamls chore: update deprecated declarations in *.yamls Apr 20, 2026
@bryangingechen
Copy link
Copy Markdown
Contributor

Thanks!
bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Apr 20, 2026
Updates deprecated declarations in `1000.yaml`, `overview.yaml`, and `undergrad.yaml`. Found with #38313.

Note: in 1000.yaml, the removed declaration `ProbabilityTheory.binomial_tendsto_poissonPMFReal_atTop` has been deprecated in favor of the adjacent already-present declaration `ProbabilityTheory.tendsto_choose_mul_pow_of_tendsto_mul_atTop`.

Co-authored-by: thorimur <thomasmurrills@gmail.com>
@mathlib-triage mathlib-triage Bot added the ready-to-merge This PR has been sent to bors. label Apr 20, 2026
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors Bot commented Apr 20, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: update deprecated declarations in *.yamls [Merged by Bors] - chore: update deprecated declarations in *.yamls Apr 20, 2026
@mathlib-bors mathlib-bors Bot closed this Apr 20, 2026
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.

2 participants