math
Enforces structured mathematical proof formatting (Claim, Assumptions, Proof, Where Used) and runs symbolic and numeric verification on extracted sub-claims using SymPy.
- License 许可
- MIT
- 最近更新
- 2026-10-29
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- math
- license
- MIT
- version
- 0.2.0
- description
- Enforces structured mathematical proof formatting (Claim, Assumptions, Proof, Where Used) and runs symbolic and numeric verification on extracted sub-claims using SymPy.
- allowed-tools
- [ "Read", "Write", "Edit", "Bash", "Grep", "Glob" ]
- disable-model-invocation
- true
02 资源文件 1
- 脚本scripts/sympy_verify.py8.0 KB
03 SKILL.md 正文
Math
Mechanical proof verification and structural auditing for mathematical writeups.
This skill extracts algebraic, numeric, and analytic sub-claims from proof drafts and checks them against SymPy to catch calculation bugs before submission.
When to use
- Reviewing proof drafts containing algebraic expansions, trigonometric identities, summations, matrix operations, or inequality bounds.
- Checking that a proof states all necessary assumptions upfront rather than introducing unstated premises mid-argument.
When not to use
- Informal or philosophical arguments with no checkable symbolic math.
- Complete formal verification in interactive theorem provers (Lean, Coq, Isabelle). This skill flags candidates for formal proofs but does not generate Lean code.
- General prose edits. Delegate to
academic-humanizer.
Process
1. Extract claims
Isolate mathematical assertions into a scratch file using the syntax expected by scripts/sympy_verify.py:
CLAIM <id>: <lhs> <op> <rhs> [assuming <var><cmp><bound>, ...]
Supported comparison operators: ==, !=, >=, <=, >, <.
Example:
CLAIM 1: (x + y)**2 == x**2 + 2*x*y + y**2
CLAIM 2: exp(x) >= 1 + x assuming x > 0
2. Run verification
Execute the verification script:
python3 scripts/sympy_verify.py path/to/claims.txt
Interpret results:
PASS (proved): Symbolically confirmed by SymPy over the specified domain.PASS (numeric only): Sampled points satisfied the condition, but no analytical proof was derived. Treat as supporting evidence, not strict formal proof.FAIL: A counterexample was identified. Output the counterexample values immediately.UNVERIFIABLE: Expression could not be evaluated by SymPy. Requires manual check.
3. Verify proof structure
Confirm that the proof follows standard sequential sections:
- Claim: Clear theorem, lemma, or proposition statement.
- Assumptions: Complete declaration of bounds, spaces, and initial conditions stated before the derivation begins.
- Proof: Step-by-step argument with explicit references to established theorems.
- Where used: Explicit mention of downstream theorems or application contexts relying on this lemma.
04 同仓库更多 Skills
writing
Track manuscript draft revisions across sessions. Maintains an append-only journal (.writing-journal.md) backed by git history to compare planned edits against actual changes, surface trajectory drift, and keep research drafts aligned.
markitdown-converter
Convert documents (PDF, Word, Excel, PowerPoint, HTML, etc.) to markdown using Microsoft's markitdown library, then read the markdown output instead of binary files
latex
Focused LaTeX utility for compile-error log triage, bibliography validation, and venue template setup. Identifies precise error source files and lines from engine logs.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.