Perform symbolic mathematics - Lie algebras, calculus, equation solving
Performs symbolic mathematics including Lie algebra computations, calculus, and equation solving.
/plugin marketplace add slapglif/theory2-physics-plugin/plugin install theory2-physics@theory2-physics-plugin<operation> [options]Execute symbolic math operations using the Theory2 CLI.
# Compute fine-structure constant from E7
/home/mikeb/theory2/.venv/bin/theory --json symbolic compute-e7-alpha --verify
# Query Lie algebra properties
/home/mikeb/theory2/.venv/bin/theory --json symbolic lie-algebra --type=E7 --query=dimension
/home/mikeb/theory2/.venv/bin/theory --json symbolic lie-algebra --type=E8 --query=fundamental_rep
# Evaluate with substitutions
/home/mikeb/theory2/.venv/bin/theory --json symbolic eval --expr="(x+1)**2" --substitutions='{"x": 3}'
# Simplify expressions
/home/mikeb/theory2/.venv/bin/theory --json symbolic simplify --expr="(x**2-1)/(x-1)"
# Expand expressions
/home/mikeb/theory2/.venv/bin/theory --json symbolic expand --expr="(a+b)**3"
# Factor expressions
/home/mikeb/theory2/.venv/bin/theory --json symbolic factor --expr="x**3 - 1"
# Solve algebraic equations
/home/mikeb/theory2/.venv/bin/theory --json symbolic solve --expr="x**2 - 4" --symbol=x
# Differentiate
/home/mikeb/theory2/.venv/bin/theory --json symbolic diff --expr="x**3 * sin(x)" --symbol=x
# Integrate
/home/mikeb/theory2/.venv/bin/theory --json symbolic integrate --expr="x**2" --symbol=x
Parse user arguments to determine the operation:
Always use --json flag for structured output. Display results in a readable format.