feat: add weak Morse inequalities eval problem#301
Open
kim-em wants to merge 1 commit into
Open
Conversation
§40 of Knill's "Some Fundamental Theorems in Mathematics" (additional statement; the boxed main is the strong inequality). For a Morse function f on a closed smooth finite-dimensional manifold M, b_k(M) ≤ c_k(f) for every k. Mathlib has the smooth-manifold framework and singularHomologyFunctor but no Morse functions or Betti numbers as a named definition. The Challenge ships seven helper definitions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the weak Morse inequalities as a new lean-eval challenge problem — §40 of Oliver Knill's Some Fundamental Theorems in Mathematics (an additional statement of the section; the boxed main theorem is the strong inequality, submitted as a companion PR).
For a Morse function
fon a closed smooth finite-dimensional manifoldM:b_k(M) ≤ c_k(f)for everyk,i.e. the
k-th Betti number is bounded by the number of Morse-index-kcritical points.mathlib has the smooth-manifold framework,
mfderiv, higher Fréchet derivatives, andsingularHomologyFunctorbut no Morse functions, Morse index, critical-point counts, Betti numbers (as a named definition), or the weak Morse inequality. The Challenge ships seven auxiliary definitions.🤖 Prepared with Claude Code