Part of umbrella #9. Sub-task 9d — Bochner stack.
Scope
Files (4):
OpenGALib/Riemannian/Operators/Bochner.lean
OpenGALib/Riemannian/Operators/Bochner/HessianExpansion.lean
OpenGALib/Riemannian/Operators/Bochner/BochnerExpansion.lean
OpenGALib/Riemannian/Operators/Bochner/PerSummand.lean
Heaviest file in the cascade — Bochner stack has 67 `_g` notation uses total. After #14–#16, the underlying definitions take explicit `g`; this sub-issue migrates the Bochner stack itself.
Changes
For each Bochner file:
- Drop `[hm : HasMetric I M]` from section variables.
- Add `(g : RiemannianMetric I M)` as explicit section parameter — auto-included in all theorems / lemmas.
- Update all internal call sites of curvature / operator functions to pass `g` explicitly: `g.ricciTensor x v w`, `g.manifoldLaplacian f`, etc.
- `_g`-style notations still work in proof bodies (via `HasMetric.metric` resolution from outer scope, or no longer needed if all switched to method calls). The pragmatic choice: in this sub-issue, keep using `⟪⟫_g` etc. via the notation infrastructure (it auto-routes to `HasMetric.metric` per the notation update in 9a/9b/9c). The final `_g` deletion happens in 9f.
Risk
This is the highest-friction file cluster — 67 notation uses, many internal lemmas. Build may take iterations to settle.
Invariant
Bochner stack 0-sorry maintained. `bochner_weitzenboeck` headline + `manifoldGradient_smooth_of_smooth` unconditional preserved.
Acceptance
- Build clean.
- Sorry count unchanged (38).
- Bochner stack 0-sorry preserved.
- All 4 Bochner files have explicit `g` as section parameter.
Dependencies
Requires #14 (9a), #15 (9b), #16 (9c) merged first.
See also
#9 umbrella · prev: 9c (#16) · next: 9e (consumers)
Part of umbrella #9. Sub-task 9d — Bochner stack.
Scope
Files (4):
OpenGALib/Riemannian/Operators/Bochner.leanOpenGALib/Riemannian/Operators/Bochner/HessianExpansion.leanOpenGALib/Riemannian/Operators/Bochner/BochnerExpansion.leanOpenGALib/Riemannian/Operators/Bochner/PerSummand.leanHeaviest file in the cascade — Bochner stack has 67 `_g` notation uses total. After #14–#16, the underlying definitions take explicit `g`; this sub-issue migrates the Bochner stack itself.
Changes
For each Bochner file:
Risk
This is the highest-friction file cluster — 67 notation uses, many internal lemmas. Build may take iterations to settle.
Invariant
Bochner stack 0-sorry maintained. `bochner_weitzenboeck` headline + `manifoldGradient_smooth_of_smooth` unconditional preserved.
Acceptance
Dependencies
Requires #14 (9a), #15 (9b), #16 (9c) merged first.
See also
#9 umbrella · prev: 9c (#16) · next: 9e (consumers)