leonardodalinky/scider/mathematics-formal
Claude Code and agent skill by leonardodalinky/scider
- community
Checking that the SKILL.md file is still in the repository.
Formal mathematics for scientific computing — symbolic computation (sympy), numerical linear algebra, optimization (convex/non-convex), information theory, and numerical precision issues. Use when working with mathematical derivations, proofs, or rigorous numerical analysis.
Install
npx vskill@latest install leonardodalinky/scider/mathematics-formalSKILL.md
Mathematics (Formal and Computational)
Overview
This skill bridges formal mathematics and scientific computing, covering symbolic computation, numerical methods, optimization theory, and common numerical pitfalls. Use it when mathematical rigor or numerical correctness is central to your research.
When to Use This Skill
- Deriving or verifying mathematical expressions symbolically
- Implementing numerically stable algorithms
- Choosing and applying optimization methods
- Working with probability distributions or information theory
- Checking gradient implementations or matrix computations
1. Symbolic Computation with SymPy
2. Numerical Linear Algebra
3. Optimization
Convex Optimization with CVXPY
Unconstrained Optimization with SciPy
Optimization Method Selection
| Scenario | Recommended method | |
|---|---|---|
| Convex, structured problem | CVXPY (disciplined convex programming) | |
| Smooth, unconstrained | L-BFGS-B (gradient-based) | |
| Smooth, constrained | SLSQP (equality + inequality constraints) | |
| Non-smooth or derivative-free | Nelder-Mead, differential evolution | |
| Large-scale ML (neural nets) | Adam, AdamW (with torch.optim) | |
| Bayesian hyperparameter opt | Optuna, BoTorch |
4. Probability Theory
5. Information Theory
6. Numerical Precision
Key rules:
- Check condition number before solving linear systems — if > 1e6, add regularization
- Use
np.linalg.solve()notinv(A) @ b - Use
log1p(x)andexpm1(x)for small x - Apply the log-sum-exp trick when computing log-sums of probabilities
- Never compare floats with
==— usenp.isclose(a, b, rtol=1e-5)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.scider/skills/mathematics-formal/SKILL.md
Popularity
- Repository stars
- 88
- Repository forks
- 7
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/leonardodalinky/scider/mathematics-formal)