Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

verify-math

БесплатноЗапускает вложенные скриптыНе проверен

Verify algebra, calculus, identities, limits, asymptotic expansions, equation solving, and nontrivial derivation steps with SymPy. Use when a mathematical…

yyот yy★ 41 звезда на GitHub

Об этом скилле

Verify mathematics with SymPy

Use the bundled script to check nontrivial symbolic transformations. When the user requests a fully audited derivation, verify each substantive step. Do not add tool calls after routine arithmetic or notation changes.

State relevant domains and assumptions before interpreting a result, and pass them as flags (below). SymPy may return expressions that are equal only under conditions involving signs, branches, singularities, or parameter values. Report those conditions instead of treating every simplified equality as a universal proof.

Commands

# Check two expressions are equal (symbolic; numeric spot-check if simplify stalls)
./verify.py eq "EXPR1" "EXPR2"

# Compute derivative
./verify.py diff "EXPR" [VAR]

# Compute integral
./verify.py int "EXPR" [VAR]

# Simplify/expand expression
./verify.py simp "EXPR"

# Solve equation (EXPR = 0)
./verify.py solve "EXPR" [VAR]

# Limit; POINT may be oo or -oo; DIR is + (default), -, or +- (two-sided)
./verify.py limit "EXPR" [VAR] [POINT] [DIR]

# Series to order N (default 6) around POINT (default 0); POINT oo gives asymptotics
./verify.py series "EXPR" [VAR] [POINT] [N]

Paths are relative to this skill's directory.

Assumptions

Add --positive, --nonnegative, --real, or --integer with comma-separated symbols, anywhere on the line. Flags combine.

./verify.py eq "sqrt(x**2)" "x" --positive x          # ✓ only with the flag
./verify.py diff "x**n" x --positive x --integer n

Reading eq results

  • ✓: SymPy reduced the difference to 0; a symbolic proof under the stated assumptions.
  • ≈: SymPy could not simplify, but both sides agree at 20 random points to 30 digits. Strong evidence without proof; unassumed symbols are sampled as reals, so say so when reporting.
  • ✗: a counterexample point is printed. Check whether it violates a domain the derivation assumes; if so, rerun with the matching flag.
  • ?: neither simplify nor numeric evaluation worked (e.g., undefined functions). Verify by hand or restate.

Expression Syntax

  • Powers: x**2 or x^2
  • Functions: sin(x), cos(x), exp(x), log(x), sqrt(x)
  • Infinity: oo; pi: pi
  • Reserved symbols handled: E I S N O (treated as variables, not SymPy constants). Use exp(1) for Euler's number; in output, E means Euler's number.

Установить verify-math в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

test_verify.pyverify.py

FAQ

Что делает скилл verify-math?

Verify algebra, calculus, identities, limits, asymptotic expansions, equation solving, and nontrivial derivation steps with SymPy. Use when a mathematical result needs programmatic checking.

Как установить скилл verify-math?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл verify-math запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить verify-math с