Install
$ agentstack add skill-morankor-theorist-toolbox-math-proof ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
> Author: Moran Koren, Ben-Gurion University of the Negev (korenmor@bgu.ac.il). Part of the Theorist Toolbox.
Math proof
Write rigorous mathematical proofs suitable for peer-reviewed academic papers. Every step should be explicit enough that a reader can verify it without filling in gaps. The proof must be a complete proof, not a proof outline — each step should be carefully explained and documented.
Trigger phrases
/math-proof- "prove this"
- "show analytically"
- "derive this result"
- "justify mathematically"
- "write a proof"
- "expand this proof"
Core principles
No gaps between steps
Every transition from one equation to the next must be justified. If you use the quotient rule, say so. If you substitute a definition, point to which definition. If a sign is negative, explain why. The reader should never need to work out an intermediate step on their own.
Bad: $$\frac{d}{d\rho}\frac{nG}{nB} = \frac{2q-1}{n_B^2} > 0.$$
Good: We compute $\frac{d}{d\rho}(nG/nB)$ using the quotient rule. First, the derivatives: $$\frac{dnG}{d\rho} = q, \qquad \frac{dnB}{d\rho} = 1-q.$$ Applying the quotient rule: $$\frac{d}{d\rho}\frac{nG}{nB} = \frac{q \cdot nB - (1-q) \cdot nG}{n_B^2}.$$ Expanding the numerator: $$q[\rho + (1-\rho)q] - (1-q)[\rho + (1-\rho)(1-q)] = \rho(2q-1) + (1-\rho)(2q-1) = 2q-1.$$ Since $q > 1/2$, this is positive.
State what you want to show before showing it
Open each step with a sentence explaining the goal: "We want to show that $t$ decreases with $\rho$." Then deliver the proof. The reader should know where you are headed before wading into algebra.
Sign every term
When a derivative or expression appears, immediately state its sign and why. Do not leave sign determination as an exercise. If a quantity is negative because it is a log of a number less than 1, say so explicitly.
Bridge definitions to usage
When you define a quantity (like a threshold $t$) and then use it in a derivative, explain the connection. Do not jump from "$Y \geq$ [some expression]" to "$t(K,\rho) =$ [formula]" without a sentence like: "Define $t(K,\rho)$ as the minimum number of yes votes required for allocation, i.e., the smallest integer $Y$ satisfying this inequality."
Show intermediate algebra
Expand products, collect terms, cancel factors. Do not skip from a quotient rule setup to a simplified final form. Show at least one intermediate line where terms are expanded but not yet simplified.
Explain why results are intuitive
After a formal derivation, add one sentence of economic or mathematical intuition. "The threshold drops because no votes carry less information, so fewer yes votes suffice to outweigh them." This helps the reader connect the math to the model.
Self-contained proofs
The proof must be self-contained. Only cite well-known theorems — as a rule of thumb, a theorem must be famous enough to have a Wikipedia page or be taught in standard undergraduate courses. Do not invoke obscure or non-existent results. If you need a non-standard lemma, prove it inline.
Prove the general case, not examples
Never prove a claim only for specific cases or small examples and then assert it holds in general. If you verify a property for $n=1,2,3$, that is evidence, not a proof. You must provide an argument that covers the full generality of the claim. If the general proof is beyond reach, state this explicitly: "We have verified this for $n \leq 5$; the general case remains open."
Proof structure
1. Setup section
- Define all notation up front
- State the model primitives (distributions, parameters, decision rules)
- Write the key quantities as explicit functions of the parameters
2. Numbered steps
Each step should:
- Open with a plain-language statement of what will be shown
- Derive the result with full intermediate algebra
- Sign every derivative and explain the sign
- Close with boundary values or limiting cases where helpful
3. Connecting steps
When one step feeds into the next, say so explicitly: "Substituting the result from Step 1 into the expression for $c_K$..." Do not assume the reader tracks which results carry forward.
4. Edge cases and case analysis
Enumerate all cases explicitly. If you claim a result holds "for all $x > 0$", check boundary behavior at $x = 0$ and $x \to \infty$. Do not silently assume non-degeneracy. If the proof requires case splits (e.g., $n$ even vs odd, or an angle acute vs obtuse), handle every case — do not prove one case and assert "the other case is similar" unless the symmetry is genuinely obvious and you state the symmetry.
5. QED
End with $\square$ and optionally a one-sentence summary of the full result.
Common patterns
Differentiating a ratio $f/g$
Always use the quotient rule explicitly: $$\frac{d}{dx}\frac{f}{g} = \frac{f'g - fg'}{g^2}.$$ Compute $f'$ and $g'$ separately first, then substitute.
Signing a log
If $\beta = \log(a/b)$ and you claim $\beta B, show A > B with an inequality, not with an intuitive argument about where distributions "concentrate"
- Do not claim a monotonicity direction without either a derivative computation or a discrete comparison that establishes the sign
- Distinguish between what is proved and what is conjectured. If a step relies on a plausible but unproved claim, flag it explicitly: "We conjecture that..." or "Numerical evidence suggests..."
- Do not overgeneralize from examples. Proving a statement for specific values ($n = 1, 2, 3$) does not constitute a proof for all $n$ — it is evidence at best. If you cannot prove the general case, say so
- Do not cite theorems or results that are not well-known. If a result would not be taught in a standard undergraduate course and does not have a Wikipedia article, either prove it from scratch or explicitly provide a verifiable reference. Fabricating citations is worse than having a longer proof
- Do not silently omit edge cases or degenerate configurations. If your proof assumes $x \neq 0$ or a matrix is invertible, state and justify the assumption
- If you are uncertain about a step, say so explicitly rather than producing a confident-sounding but potentially wrong argument. "We believe this holds because... but a complete proof requires..." is far better than a flawed claim presented as fact
Workflow
- Read the claim to be proved
- Identify the key quantities and their dependencies on parameters
- Plan the proof structure: what needs to be shown in what order
- Write the Setup section with all definitions
- Write each step with full algebra, signing every term
- Check that no step references a result not yet established
- Add intuition sentences after key derivations
- Verify boundary cases, edge cases, and limiting behavior
- Self-check: re-read the proof looking for gaps, unjustified sign claims, overgeneralizations from examples, and cited results that need verification. If the proof sketch came from the user, translate intuitions into precise statements — do not merely restate the sketch in fancier notation
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: morankor
- Source: morankor/theorist-toolbox
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.