continuity
Problem-solving strategies for continuity in real analysis
When & Why to Use This Skill
This Claude skill provides a structured framework for solving complex continuity problems in real analysis. By integrating symbolic computation via SymPy and formal logic verification with Z3, it enables users to rigorously check function definitions, calculate directional limits for piecewise functions, and prove mathematical properties with high precision.
Use Cases
- Case 1: Verifying the continuity of complex piecewise functions by automatically calculating left-hand and right-hand limits at points of interest.
- Case 2: Validating formal mathematical proofs using Z3 to ensure that limit existence correctly implies continuity at a specific point.
- Case 3: Assisting students and researchers in real analysis by providing a step-by-step decision tree for checking the three fundamental conditions of continuity.
| name | continuity |
|---|---|
| description | "Problem-solving strategies for continuity in real analysis" |
| allowed-tools | [Bash, Read] |
Continuity
When to Use
Use this skill when working on continuity problems in real analysis.
Decision Tree
Check Definition
- f(a) exists (function defined at point)
- lim_{x->a} f(x) exists
- lim_{x->a} f(x) = f(a)
Use SymPy for Limit Check
sympy_compute.py limit "f(x)" --var x --at a- Compare with f(a)
Piecewise Functions
- Check left and right limits separately
sympy_compute.py limit "f(x)" --var x --at a --dir left
Verify with Z3
z3_solve.py prove "limit_exists implies continuous"
Tool Commands
Sympy_Limit
uv run python -m runtime.harness scripts/sympy_compute.py limit "f(x)" --var x --at a
Sympy_Limit_Left
uv run python -m runtime.harness scripts/sympy_compute.py limit "f(x)" --var x --at a --dir left
Z3_Prove
uv run python -m runtime.harness scripts/z3_solve.py prove "continuous_at_a"
Cognitive Tools Reference
See .claude/skills/math-mode/SKILL.md for full tool documentation.