explain-math
Explain a mathematical concept with full rigor, activating the /advanced-math skill, then write the explanation as a compilable-LaTeX markdown file to the current working directory. Use when the user
SKILL.mdclaude-skills/explain-math/SKILL.md
GitHubExplain Math to File
The user wants a rigorous mathematical explanation of: $ARGUMENTS
Process
Activate /advanced-math — invoke the
advanced-mathskill with the topic to generate a rigorous, formally grounded explanation following its full methodology (foundational anchoring, abstraction mapping, modular proofs, no black boxes).Write the explanation to a markdown file in the current working directory:
- Filename: derive from the topic in kebab-case, e.g.
spectral-theorem-compact-operators.md - Location: create a
math-explanations/folder in the current working directory if it doesn't exist - Full path:
<cwd>/math-explanations/<topic-name>.md
- Filename: derive from the topic in kebab-case, e.g.
LaTeX formatting requirements — all math in the file must use proper, compilable LaTeX syntax:
- Use
$$...$$for display math and$...$for inline math - Use proper LaTeX commands:
\mathbb{R},\langle,\rangle,\sum,\int,\inf,\sup,\lim,\to,\implies,\iff,\forall,\exists,\in,\subset,\subseteq,\cap,\cup,\setminus, etc. - Use
\text{}for words inside math environments - Use
\operatorname{}for named operators (e.g.,\operatorname{ker},\operatorname{span}) - Use
\begin{aligned}...\end{aligned}inside$$for multi-line equations - Use
\begin{cases}...\end{cases}for piecewise definitions - Do NOT use Unicode math symbols (∈, ⊆, →, ⟨, ⟩, etc.) — always use LaTeX commands instead
- Do NOT use plain text where a LaTeX command exists
- Every equation must parse correctly if pasted into a LaTeX document with standard amsmath packages
- Use
File structure:
# <Topic Title> ## Prerequisites <What undergraduate concepts this builds on> ## Abstraction Mapping <Table mapping abstract objects to undergraduate analogues> ## Definitions <Formal definitions with Definition Bridges per /advanced-math methodology> ## Main Result <Theorem statement, then proof broken into labeled lemmas> ## Key Examples <Concrete examples and counterexamples>After writing, inform the user of the file path and remind them to verify the LaTeX compiles correctly.