Skip to content

feat: add factorial and binomial simplification rules#289

Merged
arnog merged 1 commit intomainfrom
claude/factorial-simplification-rules-67fz4
Feb 13, 2026
Merged

feat: add factorial and binomial simplification rules#289
arnog merged 1 commit intomainfrom
claude/factorial-simplification-rules-67fz4

Conversation

@arnog
Copy link
Member

@arnog arnog commented Feb 13, 2026

Add simplification rules for factorial quotients (n!/k! via partial products),
binomial detection (n!/(k!(n-k)!) → Binomial(n,k)), binomial identities
(C(n,0)→1, C(n,1)→n, C(n,n)→1), and factorial sum factoring
(n!-(n-1)! → (n-1)!*(n-1)). Works for both concrete integers and symbolic
expressions.

https://claude.ai/code/session_0114soGikCy942KAFJU8xn79

Add simplification rules for factorial quotients (n!/k! via partial products),
binomial detection (n!/(k!(n-k)!) → Binomial(n,k)), binomial identities
(C(n,0)→1, C(n,1)→n, C(n,n)→1), and factorial sum factoring
(n!-(n-1)! → (n-1)!*(n-1)). Works for both concrete integers and symbolic
expressions.

https://claude.ai/code/session_0114soGikCy942KAFJU8xn79
@arnog arnog merged commit bb8a724 into main Feb 13, 2026
0 of 3 checks passed
@arnog arnog deleted the claude/factorial-simplification-rules-67fz4 branch February 13, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants