Skip to content

Commit d600fed

Browse files
Rename Foundations/ → Util/, lift HessianLie/ to Riemannian root
Foundations/ was a misnomer: it bundled engineering infrastructure (Notation, Tactic, Attributes — no mathematical content) with HessianLie (genuine manifold lemma: mfderiv_iterate_sub_eq_mlieBracket_apply). Splitting cleanly: - OpenGALib/Riemannian/Foundations/{Notation,Tactic,Attributes}.lean → OpenGALib/Riemannian/Util/{Notation,Tactic,Attributes}.lean (engineering layer, Mathlib-style: notation macros, simp set declarations, tactic re-exports) - OpenGALib/Riemannian/Foundations/HessianLie.lean → OpenGALib/Riemannian/HessianLie.lean OpenGALib/Riemannian/Foundations/HessianLie/{ChartHelpers,Flat,Manifold}.lean → OpenGALib/Riemannian/HessianLie/{...}.lean (peer to Connection/, Curvature/, etc.) - 11 import lines rewritten across Riemannian + Curvature + Metric/Basic. - Riemannian.lean docstring section "Foundations" → "Util — engineering layer (no mathematical content)"; UXTestFoundations section renamed.
1 parent 9e8ae26 commit d600fed

10 files changed

Lines changed: 19 additions & 21 deletions

File tree

OpenGALib/Riemannian.lean

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import OpenGALib.Riemannian.BumpFunction
22
import OpenGALib.Riemannian.Connection
33
import OpenGALib.Riemannian.Curvature
4-
import OpenGALib.Riemannian.Foundations.Notation
5-
import OpenGALib.Riemannian.Foundations.Tactic
4+
import OpenGALib.Riemannian.Util.Notation
5+
import OpenGALib.Riemannian.Util.Tactic
66
import OpenGALib.Riemannian.Gradient
77
import OpenGALib.Riemannian.LoopSpace
88
import OpenGALib.Riemannian.Metric
@@ -48,8 +48,6 @@ Regularity ← consumer
4848
$|A|^2$, mean curvature.
4949
* `Gradient.lean` — manifold gradient via Riesz duality, gradient norm
5050
squared.
51-
* `LoopSpace.lean` — based and free loop-space primitives over a
52-
topological space, parameterized by `[0, 1]`.
5351
* `BumpFunction.lean` — scalar / radial / manifold bumps + tangent
5452
vector field extension (`OpenGALib.BumpFunction`).
5553
@@ -116,12 +114,12 @@ intermediate identities) are internal and may change without notice.
116114
`TangentBundle.symmLFlat_mdifferentiableAt`
117115
* `OpenGALib.MDifferentiableAt.metricInner_smoothAt`
118116
119-
**Foundations** (`Foundations/`):
120-
* `Foundations/Notation.lean` — textbook notation: `⟪V, W⟫_g`,
117+
**Util — engineering layer** (`Util/`, no mathematical content):
118+
* `Util/Notation.lean` — textbook notation: `⟪V, W⟫_g`,
121119
`‖V‖²_g`, `∇[X] Y`, `Riem(X, Y) Z` (scoped to `OpenGALib` /
122120
`Riemannian` scopes; `open scoped` to enable).
123-
* `Foundations/Attributes.lean` — `metric_simp` simp set declaration.
124-
* `Foundations/Tactic.lean` — user-facing entry point for tactic
121+
* `Util/Attributes.lean` — `metric_simp` simp set declaration.
122+
* `Util/Tactic.lean` — user-facing entry point for tactic
125123
infrastructure.
126124
127125
Stability tier: pre-`v0.1.0` everything is **experimental**. The
@@ -143,13 +141,13 @@ typeclass diamond resolved without deep unfolding. No proof is on a
143141
heartbeat-limit hot edge; future expansion has comfortable headroom.
144142
-/
145143

146-
/-! ## UXTest — Foundations layer
144+
/-! ## UXTest — Util layer
147145
148146
Verifies that the notation + `metric_simp` tactic infrastructure resolve
149147
end-to-end. Regression guard against signature drift in the notation
150148
elaboration. -/
151149

152-
section UXTestFoundations
150+
section UXTestUtil
153151

154152
open OpenGALib
155153
open scoped ContDiff
@@ -194,4 +192,4 @@ example
194192
⟪V - 0, -W + W⟫_g = 0 := by
195193
simp [metric_simp]
196194

197-
end UXTestFoundations
195+
end UXTestUtil

OpenGALib/Riemannian/Curvature.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import OpenGALib.Riemannian.Connection
22
import OpenGALib.Riemannian.Connection.Smoothness
33
import OpenGALib.Riemannian.TangentBundle.SmoothVectorField
4-
import OpenGALib.Riemannian.Foundations.HessianLie
4+
import OpenGALib.Riemannian.HessianLie
55
import Mathlib.LinearAlgebra.Trace
66
import Mathlib.Analysis.InnerProductSpace.PiL2
77

OpenGALib/Riemannian/Foundations/HessianLie.lean renamed to OpenGALib/Riemannian/HessianLie.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import OpenGALib.Riemannian.Foundations.HessianLie.Flat
2-
import OpenGALib.Riemannian.Foundations.HessianLie.ChartHelpers
3-
import OpenGALib.Riemannian.Foundations.HessianLie.Manifold
1+
import OpenGALib.Riemannian.HessianLie.Flat
2+
import OpenGALib.Riemannian.HessianLie.ChartHelpers
3+
import OpenGALib.Riemannian.HessianLie.Manifold
44

55
/-!
66
# Scalar Hessian–Lie identity (facade)

OpenGALib/Riemannian/Foundations/HessianLie/ChartHelpers.lean renamed to OpenGALib/Riemannian/HessianLie/ChartHelpers.lean

File renamed without changes.
File renamed without changes.

OpenGALib/Riemannian/Foundations/HessianLie/Manifold.lean renamed to OpenGALib/Riemannian/HessianLie/Manifold.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Mathlib.Geometry.Manifold.VectorField.LieBracket
22
import Mathlib.Geometry.Manifold.VectorField.Pullback
3-
import OpenGALib.Riemannian.Foundations.HessianLie.Flat
4-
import OpenGALib.Riemannian.Foundations.HessianLie.ChartHelpers
3+
import OpenGALib.Riemannian.HessianLie.Flat
4+
import OpenGALib.Riemannian.HessianLie.ChartHelpers
55

66
/-!
77
# Scalar Hessian–Lie identity — manifold version

OpenGALib/Riemannian/Metric/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Mathlib.Geometry.Manifold.VectorBundle.Tangent
44
import Mathlib.Analysis.InnerProductSpace.Basic
55
import Mathlib.LinearAlgebra.BilinearMap
66
import OpenGALib.Algebraic.BilinearForm.Basic
7-
import OpenGALib.Riemannian.Foundations.Attributes
7+
import OpenGALib.Riemannian.Util.Attributes
88

99
/-!
1010
# RiemannianMetric — typeclass + inner product API + tangent-space bridges
File renamed without changes.
File renamed without changes.

OpenGALib/Riemannian/Foundations/Tactic.lean renamed to OpenGALib/Riemannian/Util/Tactic.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import OpenGALib.Riemannian.Foundations.Attributes
1+
import OpenGALib.Riemannian.Util.Attributes
22
import OpenGALib.Riemannian.Metric.Basic
33

44
/-!
55
# Riemannian tactic infrastructure
66
77
User-facing entry point for the framework's domain-specific simp
8-
attributes. Re-exports `Foundations/Attributes.lean` so downstream
8+
attributes. Re-exports `Util/Attributes.lean` so downstream
99
code can simply
1010
```
11-
import OpenGALib.Riemannian.Foundations.Tactic
11+
import OpenGALib.Riemannian.Util.Tactic
1212
```
1313
to obtain both the attribute declarations and (transitively) the
1414
metric algebra lemmas tagged with them.

0 commit comments

Comments
 (0)