Skip to content

Commit ae41145

Browse files
Remove OpenGALib/MinMax/ — paper-bound, out of lib scope
The MinMax subtree (Sweepout/{Defs, ONVP, NonExcessive, MinMaxLimit, MassCancellation, HomotopicMinimization, Interpolation, PullTight}) was CLS22 / Almgren-Pitts / DLT13 paper terminology, conflicting with the "MinMax must not reference paper-specific concepts" rule. Min-max / sweepout content belongs in a paper-companion repo, not the lib. - 9 files deleted (~1100 LOC, 12 sorry'd statements removed). - OpenGALib.lean: drop import + remove MinMax from layering diagram and sub-namespace list. - OpenGALib/Riemannian.lean: drop MinMax from layering ASCII; AltRegularity consumer line removed. - OpenGALib/Riemannian/BumpFunction.lean: drop "GMT / MinMax" downstream mention. - OpenGALib/GeometricMeasureTheory/{FlatDistance, Varifold}.lean: drop "Used by Sweepout" docstring entries. - docs/SORRY_CATALOG.md: drop MinMax row, totals 32 → 20. - .github/workflows/ci.yml: EXPECTED 32 → 20. - .claude/CLAUDE.md: rewrite Architecture section (4 sub-namespaces: Algebraic, Riemannian, GMT, Regularity).
1 parent 4f9101a commit ae41145

17 files changed

Lines changed: 24 additions & 1101 deletions

.claude/CLAUDE.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This framework is a Lean 4 mathematical software project, not a one-shot paper formalization.
66

7-
**Reusable Lean 4 mathematical software libraries**: Riemannian, GeometricMeasureTheory, MinMax theory, Regularity theory — Mathlib upstream candidates.
7+
**Reusable Lean 4 mathematical software libraries**: Riemannian, GeometricMeasureTheory, Regularity theory — Mathlib upstream candidates.
88

99
Architectural decisions favor long-term software value. Paper-specific
1010
formalization sub-projects live in separate repos and consume this lib stack
@@ -14,27 +14,28 @@ Phase 1 (Layer A + Layer B real grounding) is complete: 20 GMT analysis primitiv
1414

1515
## Architecture
1616

17-
Single OpenGALib Lean library, layered:
17+
Single OpenGALib Lean library, layered under `OpenGALib/`:
1818

1919
```
2020
OpenGALib (single lean_lib, 4 sub-namespaces)
21+
├── Algebraic ← lib (BilinearForm, Riesz, concrete instances)
22+
│ ↑
2123
├── Riemannian ← lib (Connection, Curvature, SecondFundamentalForm, Gradient)
2224
│ ↑
2325
├── GeometricMeasureTheory ← lib (Variation/, HasNormal, Stable, Varifold, ...)
2426
│ ↑
25-
├── MinMax ← lib (min-max theory, Sweepout subnamespace)
2627
└── Regularity ← lib (regularity theory; Wickramasekera, Allard, Schoen-Simon, etc.)
2728
```
2829

29-
OpenGALib is a single Lake package containing 4 sub-namespaces (Riemannian, GeometricMeasureTheory,
30-
MinMax, Regularity). Namespace separation reflects layering — sub-namespaces are independently
31-
meaningful and any subset is a future Mathlib-upstream candidate.
30+
OpenGALib is a single Lake package containing 4 sub-namespaces (Algebraic, Riemannian,
31+
GeometricMeasureTheory, Regularity). Namespace separation reflects layering — sub-namespaces
32+
are independently meaningful and any subset is a future Mathlib-upstream candidate.
3233
Riemannian is independent of paper-domain concerns and is a future spin-out
3334
candidate as a standalone Lean library (Mathlib upstream / community use).
3435
GeometricMeasureTheory must not reference paper-specific or domain-specific concepts.
35-
MinMax and Regularity must not reference paper-specific concepts.
36-
Paper-specific sub-projects live outside this repo and consume the OpenGALib lib
37-
stack via `require OpenGALib from ".."`.
36+
Regularity must not reference paper-specific concepts.
37+
Paper-specific sub-projects (including min-max / sweepout machinery) live outside this
38+
repo and consume the OpenGALib lib stack via `require OpenGALib from ".."`.
3839

3940
## Self-build is the default action
4041

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
--include="*.lean" \
2323
OpenGALib \
2424
2>/dev/null | wc -l | tr -d ' ')
25-
EXPECTED=32
25+
EXPECTED=20
2626
if [ "$ACTUAL" -ne "$EXPECTED" ]; then
2727
echo "::error::Sorry count drift: expected $EXPECTED, found $ACTUAL"
2828
echo "If the change is intentional, update docs/SORRY_CATALOG.md (and the EXPECTED constant in this workflow)."

OpenGALib.lean

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
import OpenGALib.Algebraic
22
import OpenGALib.Riemannian
33
import OpenGALib.GeometricMeasureTheory
4-
import OpenGALib.MinMax
54
import OpenGALib.Regularity
65

76
/-!
87
# OpenGALib — Open Geometric Analysis Library
98
109
A Lean 4 library of algebraic-geometry, Riemannian-geometry,
11-
geometric-measure-theory, min-max, and regularity primitives. Layered:
10+
geometric-measure-theory, and regularity primitives. Layered:
1211
1312
```
14-
Algebraic ← Riemannian ← GeometricMeasureTheory ← {MinMax, Regularity}
13+
Algebraic ← Riemannian ← GeometricMeasureTheory ← Regularity
1514
```
1615
1716
Each sub-namespace is built on Mathlib and intended as a future
18-
Mathlib-upstream candidate. Application papers (e.g., AltRegularity)
19-
consume this lib as a separate sub-project.
17+
Mathlib-upstream candidate. Application papers consume this lib as a
18+
separate sub-project.
2019
2120
## Sub-namespaces
2221
@@ -26,6 +25,5 @@ consume this lib as a separate sub-project.
2625
second fundamental form, manifold gradient
2726
* `GeometricMeasureTheory` — finite-perimeter, varifolds, stationary,
2827
tangent cones, rectifiability, isoperimetric
29-
* `MinMax` — sweepout-based min-max
3028
* `Regularity` — Wickramasekera 𝒮_α + smooth regularity
3129
-/

OpenGALib/GeometricMeasureTheory/FlatDistance.lean

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ Specialization of the flat norm on integral $n$-currents to indicator
3131
functions of Caccioppoli sets, where boundary-minimization in the
3232
general flat norm collapses to the symmetric-difference volume.
3333
34-
**Ground truth**: Simon 1983 §31; specialization Maggi 2012 §15.
35-
36-
**Used by**: `Sweepout.FContinuous` def (`Sweepout/Defs.lean`). -/
34+
**Ground truth**: Simon 1983 §31; specialization Maggi 2012 §15. -/
3735
noncomputable def flatDist (Ω₁ Ω₂ : FinitePerimeter M) : ℝ :=
3836
(MeasureTheory.volume (symmDiff Ω₁.carrier Ω₂.carrier)).toReal
3937

OpenGALib/GeometricMeasureTheory/Varifold.lean

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,7 @@ applications (which only use mass measure / support information).
128128
129129
**Ground truth**: Simon 1983 §38 (varifold convergence as weak-*
130130
convergence of Radon measures on the Grassmann bundle, paired against
131-
compactly supported continuous test functions); Allard 1972 §3.
132-
133-
**Used by**: `Sweepout.MinMaxLimit` def (`Sweepout/MinMaxLimit.lean`). -/
131+
compactly supported continuous test functions); Allard 1972 §3. -/
134132
def VarifoldConverge (Vᵢ : ℕ → Varifold M) (V : Varifold M) : Prop :=
135133
∀ φ : M → ℝ, Continuous φ → HasCompactSupport φ →
136134
Filter.Tendsto
@@ -245,8 +243,7 @@ exact value of `(ofBoundary Ω).dim`.
245243
structure theorem (Maggi 2012, Ch. 15) for the reduced boundary as a
246244
rectifiable set.
247245
248-
**Used by**: `Sweepout.MinMaxLimit` def (`OpenGALib/MinMax/Sweepout/MinMaxLimit.lean`),
249-
`dlt_criterion` (`AltRegularity/Integrality/PerimeterConvergence.lean`). -/
246+
-/
250247
noncomputable def ofBoundary (Ω : FinitePerimeter M) : Varifold M where
251248
dim := 0
252249
massMeasure := Ω.perimMeasure

OpenGALib/MinMax.lean

Lines changed: 0 additions & 19 deletions
This file was deleted.

OpenGALib/MinMax/Sweepout/Defs.lean

Lines changed: 0 additions & 62 deletions
This file was deleted.

OpenGALib/MinMax/Sweepout/HomotopicMinimization.lean

Lines changed: 0 additions & 188 deletions
This file was deleted.

0 commit comments

Comments
 (0)