continuity

Problem-solving strategies for continuity in real analysis

⭐2.2kstars🔀157forks📁View on GitHub🕐Updated Jan 10, 2026⬇️1downloads

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.
namecontinuity
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

  1. Check Definition

    • f(a) exists (function defined at point)
    • lim_{x->a} f(x) exists
    • lim_{x->a} f(x) = f(a)
  2. Use SymPy for Limit Check

    • sympy_compute.py limit "f(x)" --var x --at a
    • Compare with f(a)
  3. Piecewise Functions

    • Check left and right limits separately
    • sympy_compute.py limit "f(x)" --var x --at a --dir left
  4. 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.