Skip to content

refactor(Wiedijk100Theorems/AreaOfACircle): delete file - #44743

Open
vihdzp wants to merge 10 commits into
leanprover-community:masterfrom
vihdzp:balls
Open

vihdzp wants to merge 10 commits into
leanprover-community:masterfrom
vihdzp:balls

Conversation

@vihdzp

@vihdzp vihdzp commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

The area formula for circles exists within Mathlib already, and in fact we also have formulas for the volume of an n-sphere. So we delete the file on the archive, in favor for the Mathlib theorem.


Not sure if this is the right thing to do. Maybe we could change the link on 100.yaml, but still keep the archive file as an alternate proof of a similar result?

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

PR summary 1534f60ed6

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

- area_disc
- disc
- disc_eq_regionBetween
- measurableSet_disc
- of

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

  • +0 new declarations
  • −0 removed declarations

No declaration differences.


No changes to strong technical debt.

Decrease in weak tech debt: (relative, absolute) = (1.00, 0.00)
Current number Change Type (weak)
5153 -1 exposed public sections

Current commit 1534f60ed6
Reference commit 8022e4db60

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

note: file Archive/Wiedijk100Theorems/AreaOfACircle.lean was removed.
Please create a follow-up pull request adding a module deprecation. Thanks!

@github-actions github-actions Bot added the t-measure-probability Measure theory / Probability theory label Oct 11, 2026
@Parcly-Taxel

Copy link
Copy Markdown
Collaborator

Since this is an Archive file, AreaOfACircle can be deleted without prior deprecation as #44148 did.

@vihdzp vihdzp changed the title refactor(Wiedijk100Theorems/AreaOfACircle): deprecate file refactor(Wiedijk100Theorems/AreaOfACircle): delete file Nov 14, 2026
@github-actions github-actions Bot added tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip file-removed A Lean module was (re)moved without a `deprecated_module` annotation labels Nov 14, 2026
These commands made the changes in this commit.
To make the same fixes yourself, run them in your mathlib4 checkout.
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 19, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 19, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

file-removed A Lean module was (re)moved without a `deprecated_module` annotation t-measure-probability Measure theory / Probability theory tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants