#46460 feat: connect eVariation and hausdorffMeasure
PR description
Mathlib has two ways to say "arc length": 1-d Hausdorff measure and variation. This PR proves they are equal under suitable conditions.
AI usage: this was originally drafted by Aristotle long time ago (the new code is probably nothing alike any more). This was then iteratively improved by Claude and me.
Conversation on GitHub 2
PR summary ed689843a9
Import changes for modified files
No significant changes to the import graph
<details><summary>Import changes for all files</summary>
|Files|Import difference|
|-|-|
| Mathlib.Topology.EMetricSpace.HausdorffMeasureBoundedVariation (new file)|2558|
</details>
<details><summary>
Declarations diff (regex)
</summary>
+ Icc_add_Ici
+ Iic_add_Icc
+ eVariationOn_inter_Icc_eq
+ ediam_image_slice_le
+ hausdorffMeasure_eq_eVariationOn
+ hausdorffMeasure_le_eVariationOn
+ slice
+ subset_iUnion_slice
+ sum_eVariationOn_slice_le
+ toReal_eVariationOn_Iic_mono
<details>
<summary>You can run this locally as follows</summary>
## 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>
</details>
The doc-module for scripts/pr_summary/declarations_diff.sh in the undefined repository contains some details about this script.
</details>
Declarations diff (Lean)
✅ Lean-aware diff — post-build, computed from the Lean environment (commit
ed68984).
- +4 new declarations
- −0 removed declarations
+MeasureTheory.Measure.hausdorffMeasure_eq_eVariationOn
+MeasureTheory.Measure.hausdorffMeasure_le_eVariationOn
+eVariationOn.Icc_add_Ici
+eVariationOn.Iic_add_Icc
No changes to strong technical debt. No changes to weak technical debt.
Current commit ed689843a9 Reference commit e62b985f6c
This script lives in the undefined 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
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
t-measure-probability
Mathlib.lean +1 −0
public import Mathlib.Topology.EMetricSpace.BasicMathlib/Topology/EMetricSpace/BoundedVariation.lean +11 −0
theorem Icc_add_Icc (f : α → E) {s : Set α} {a b c : α} (hab : a ≤ b) (hb