Skip to content

chore: make main sorry-free — release policy - #113

Merged
Xinze-Li-Moqian merged 1 commit into
mainfrom
chore/main-sorry-free
Jul 21, 2026
Merged

chore: make main sorry-free — release policy#113
Xinze-Li-Moqian merged 1 commit into
mainfrom
chore/main-sorry-free

Conversation

@Xinze-Li-Moqian

Copy link
Copy Markdown
Contributor

Principle: main is a release-quality branch and must carry no sorry. Work-in-progress with sorry lives on a development branch and merges to main only once the proof is complete.

Problem: main currently has 3 sorrys — all in the Hopf–Rinow statement stub Geodesic/HopfRinow.lean — and CI baked this in (EXPECTED=3).

This PR:

  • removes OpenGALib/Riemannian/Geodesic/HopfRinow.lean (the stub) and its root import;
  • keeps the proven bridge lemma HopfRinow/EVariationLePathELength.lean (0 sorry);
  • turns the CI sorry check into a hard gate: main must be sorry-free (0, not 3).

Effect: main is now the sorry-free supporting cone; the Hopf–Rinow theorem returns to main when its proof lands (adoption finale). lake build green, sorry count 0.

Remove the 3-sorry Hopf–Rinow statement stub (HopfRinow.lean) and its
root import; keep the proven bridge lemma (EVariationLePathELength).
Turn the CI sorry check into a hard gate (0, not 3): main is a
release-quality branch and carries no sorry. The Hopf–Rinow theorem
returns to main once its proof is complete on the development branch.
@Xinze-Li-Moqian
Xinze-Li-Moqian merged commit 134ab64 into main Jul 21, 2026
3 checks passed
@Xinze-Li-Moqian
Xinze-Li-Moqian deleted the chore/main-sorry-free branch July 21, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant