Skip to content

chore: migrate non-mathlib part of 100.yaml and 1000.yaml - #44114

Closed
joneugster wants to merge 1 commit into
leanprover-community:masterfrom
joneugster:chore/migrate-100-yaml
Closed

joneugster wants to merge 1 commit into
leanprover-community:masterfrom
joneugster:chore/migrate-100-yaml

Conversation

@joneugster

Copy link
Copy Markdown
Member

Removes all entries from 100.yaml and 1000.yaml which do not have mathlib declarations. These entries are moved to yaml files on the website. The website merges its yaml files containing external links with the yaml files from mathlib.


Comment thread docs/100.yaml
title : The Four Color Problem
33:
title : Fermat’s Last Theorem
statement: FermatLastTheorem

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, might leave that one in

Comment thread docs/100.yaml
Comment on lines -420 to -427
decls :
- Finset.inclusion_exclusion_sum_biUnion
- Finset.inclusion_exclusion_card_biUnion
- Finset.inclusion_exclusion_sum_inf_compl
- Finset.inclusion_exclusion_card_inf_compl
links :
github : https://github.com/NeilStrickland/lean_lib/blob/f88d162da2f990b87c4d34f5f46bbca2bbc5948e/src/combinatorics/matching.lean#L304
authors: Neil Strickland (outside mathlib), Yaël Dillies (in mathlib)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undo

Comment thread docs/1000.yaml
Comment on lines -53 to -54
statement: FermatLastTheorem
comment: "Formalisation of the proof is on-going in https://imperialcollegelondon.github.io/FLT/."

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undo

@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

PR summary f550f7ffd1

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

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

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.

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit f550f7f).

  • +0 new declarations
  • −0 removed declarations

No declaration differences.


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

Current commit f550f7ffd1
Reference commit 2f3d8f6300

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.py 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 docs/1000.yaml

Q681406:
title: Euler's rotation theorem
url: https://github.com/leanprover-community/physlib/blob/e5a3161e42a2a93aff3de88987bb2adc9efc95cb/Physlib/Mathematics/SO3/Basic.lean#L161

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put a comment here, saying this is in physlib and might be out of scope for mathlib. I think that's a fair compromise.

Comment thread docs/1000.yaml

Q748233:
title: Sylvester–Gallai theorem
authors: Bhavik Mehta

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can put references to LeanCamCombi at least, because that is somewhat official? That should be discussed first, of course.

Comment thread docs/1000.yaml

Q834025:
title: Cauchy integral theorem
comment: We have `DiffContOnCl.circleIntegral_eq_zero` for circle contours

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is in mathlib: my PR makes this use decl properly

@grunweg grunweg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've taken a quick look and noted some of the differences to my PR. What do you think?

Comment thread docs/1000.yaml

Q850495:
title: Wick's theorem
url: https://github.com/leanprover-community/physlib/blob/e5a3161e42a2a93aff3de88987bb2adc9efc95cb/Physlib/QFT/PerturbationTheory/WickAlgebra/WicksTheorem.lean#L82

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

likewise, physlib comment

Comment thread docs/1000.yaml
Q948664:
title: Kneser's addition theorem (combinatorics)
authors: Mantas Bakšys, Yaël Dillies
url: https://github.com/YaelDillies/LeanCamCombi/blob/master/LeanCamCombi/Kneser/Kneser.lean

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above

Comment thread docs/1000.yaml

Q1144897:
title: Brouwer fixed-point theorem
authors: Brendan Seamas Murphy

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should go on our webpage, but not into this file

Comment thread docs/1000.yaml

Q1308502:
title: Church–Rosser theorem
authors: Chris Henson, Maximiliano Onofre Martínez

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd put a comment in the source

Comment thread docs/1000.yaml

Q1687147:
title: Sprague–Grundy theorem
url: https://github.com/vihdzp/combinatorial-games/blob/master/CombinatorialGames/Game/Impartial/Grundy.lean

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given this repo originated from mathlib, putting a comment this is out of mathlib's scope (but in the canonical place for it) seems appropriate.

Comment thread docs/1000.yaml
title: Kolmogorov extension theorem
authors: Rémy Degenne, Peter Pfaffelhuber
date: 2023
url: https://github.com/RemyDegenne/kolmogorov_extension4

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to removing them here, but both this and real interpolation belong to the mathlib halo to me. (We can discuss the details on the other PR!)

Comment thread docs/1000.yaml

Q7999144:
title: Wiener–Ikehara theorem
authors : Alex Kontorovich, Terry Tao, and the Prime Number Theorem + Project

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also mathlib halo to me

Comment thread docs/100.yaml
links :
Prime Number Theorem : https://github.com/AlexKontorovich/PrimeNumberTheoremAnd/blob/a5040887e6bb24f7c201db8568e7755c138b3878/PrimeNumberTheoremAnd/Wiener.lean#L2196-L2211
With Error Terms : https://github.com/AlexKontorovich/PrimeNumberTheoremAnd/blob/a5040887e6bb24f7c201db8568e7755c138b3878/PrimeNumberTheoremAnd/MediumPNT.lean#L5504-L6162
website : https://github.com/AlexKontorovich/PrimeNumberTheoremAnd

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this deserves being mention in the "extra file"

@grunweg

grunweg commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

It seems we've both had very similar ideas; I independently wrote #44115 which tries to do the same. Let's compare our approaches and take the best from each. I've just left a review to this effect.

@joneugster

Copy link
Copy Markdown
Member Author

thanks for looking at it already! Let's close this draft in favour of #44115

@grunweg

grunweg commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Let me close this PR accordingly.

@grunweg grunweg closed this Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants