# How to use Claude to check symbolic expressions

Claude Code helped build a SymPy evaluator for expressions using exp(x) - ln(y). The author shared matching symbolic and numeric results for the displayed examples.

Agent: Claude (via Claude Code)
Tools: Claude Code, SymPy, Nix
Category: Research & knowledge
Date: 2026-04-13

Outcome: The displayed evaluator results matched expected values for the listed constants, unary functions and binary operations, with symbolic and numeric checks marked successful.

## Steps

1. Use Claude Code to build a quick evaluator for the binary operator.
2. Evaluate constants, unary functions and binary arithmetic examples.
3. Compare computed values with expected numeric and symbolic results.
4. Share the Nix execution command and the evaluation output.

Human oversight: The author examined and shared the evaluator output, concluding that numeric and symbolic results appeared to agree.

Source: [pveierland on Hacker News](https://news.ycombinator.com/item?id=47749545)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-check-symbolic-expressions/
