Skip to content

feat: add Catalan number substInv eval problem - #3

Merged
kim-em merged 1 commit into
mainfrom
eval/catalan-substinv-v2
Apr 16, 2026
Merged

feat: add Catalan number substInv eval problem#3
kim-em merged 1 commit into
mainfrom
eval/catalan-substinv-v2

Conversation

@kim-em

@kim-em kim-em commented Apr 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add eval problem stating that the coefficients of substInv(X - X^2) are the Catalan numbers C_n = (2n choose n)/(n+1)
  • Bump mathlib to 50d5513e83c to include the power series substInv API
  • Classical application of Lagrange inversion in enumerative combinatorics

Test plan

  • Verify lake build FormalMathEval.Combinatorics.CatalanSubstInv compiles (sorry is expected)
  • Verify lake exe eval_inventory lists the new problem
  • Check that the problem manifest entry is well-formed

🤖 Prepared with Claude Code

@kim-em
kim-em force-pushed the eval/catalan-substinv-v2 branch from aecdc71 to cd3269c Compare April 13, 2026 22:47
Uses the newly formalized compositional inverse (substInv) to state
that the coefficients of substInv(X - X²) are the Catalan numbers.
Classical application of Lagrange inversion in enumerative combinatorics.

Bumps mathlib to include the power series substInv PR.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kim-em
kim-em force-pushed the eval/catalan-substinv-v2 branch from cd3269c to 2d92249 Compare April 16, 2026 07:42
@kim-em
kim-em merged commit 03ebeb3 into main Apr 16, 2026
0 of 2 checks passed
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