Skip to main content
skill CX Codex

integration-theory — Claude Code skill: measure theory and convergence theorems

integration-theory — a Claude Code skill for solving measure-theoretic integration problems. Covers simple functions, monotone and dominated convergence, Fatou's lemma, and Fubini—Tonelli via sympy_compute.py and z3_solve.py commands.

MIT ★ 3,951 updated 2026-01-26

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add parcadei/Continuous-Claude-v3 --skill integration-theory -a claude-code
Open on GitHub

What integration-theory does

The skill runs in Claude Code and structures five problem types: simple function integration, monotone convergence theorem (MCT), dominated convergence theorem (DCT), Fatou's lemma, and Fubini—Tonelli for product measures. sympy_compute.py handles integrals and limits; z3_solve.py proves theorems about exchanging limits and integrals. It requires Bash and file-read access.

What it helps with

  • compute an integral of a simple function as a sum
  • apply the monotone convergence theorem
  • apply the dominated convergence theorem
  • bound an integral via Fatou's lemma
  • exchange the order of integration in a product measure

Example prompts for the agent

  • Help me solve a simple function integral s = sum(a_i * chi_{E_i})
  • How do I apply MCT to an increasing sequence of functions f_n?
  • Show that we can swap limit and integral when there is an integrable bound

How to install integration-theory

1Skills CLI (Vercel)

npx skills add parcadei/Continuous-Claude-v3 --skill integration-theory -a claude-code

2Manually: put the files in place

~/.claude/skills/integration-theory/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/integration-theory/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about integration-theory

How do I install integration-theory in Claude Code?

Run npx skills add parcadei/Continuous-Claude-v3 --skill integration-theory -a claude-code in your terminal, then check ~/.claude/skills/integration-theory/SKILL.md.

What does this skill do?

It offers strategies for measure-theoretic integration problems: deciding between direct integration, MCT, DCT, Fatou's lemma, or Fubini—Tonelli, then runs the appropriate computations.

What tools does it need?

It works with Bash and file-read access. Internally it uses sympy_compute.py for calculations and z3_solve.py for theorem proofs.

Source text

SKILL.md · MIT
---
name: integration-theory
description: "Problem-solving strategies for integration theory in measure theory"
allowed-tools: [Bash, Read]
---

# Integration Theory

## When to Use

Use this skill when working on integration-theory problems in measure theory.

## Decision Tree


1. **Simple function integration**
   - For s = sum(a_i * chi_{E_i}): integral s dmu = sum(a_i * mu(E_i))
   - `sympy_compute.py simplify "simple_integral"`

2. **Monotone Convergence Theorem (MCT)**
   - If 0 <= f_n <= f_{n+1} and f_n -> f:
   - lim integral(f_n) = integral(lim f_n)
   - Use for increasing sequences

3. **Dominated Convergence Theorem (DCT)**
   - If |f_n| <= g (integrable) and f_n -> f pointwise:
   - lim integral(f_n) = integral(f)
   - `z3_solve.py prove "dominated_convergence"`

4. **Fatou's Lemma**
   - integral(liminf f_n) <= liminf(integral f_n)
   - Use as lower bound when MCT/DCT don't apply

5. **Fubini-Tonelli**
   - For product measures: switch order of integration
   - Tonelli: non-negative functions (always valid)
   - Fubini: integrable functions


## Tool Commands

### Sympy_Simple_Integral
```bash
uv run python -m runtime.harness scripts/sympy_compute.py integrate "sum(a_i * chi_E_i)" --var mu
```

### Z3_Mct
```bash
uv run python -m runtime.harness scripts/z3_solve.py prove "f_n_increasing implies lim_integral_equals_integral_lim"
```

### Z3_Dct
```bash
uv run python -m runtime.harness scripts/z3_solve.py prove "abs(f_n) <= g and g_integrable implies limit_exchange"
```

### Sympy_Fatou
```bash
uv run python -m runtime.harness scripts/sympy_compute.py limit "liminf(integral_f_n)" --comparison "integral_liminf_f_n"
```

## Key Techniques

*From indexed textbooks:*

- [Measure, Integration  Real Analysis (... (Z-Library)] If you go at a leisurely pace, then covering Chapters 1–5 in the rst semester may be a good goal. If you go a bit faster, then covering Chapters 1–6 in the rst semester may be more appropriate. For a second-semester course, covering some subset of Chapters 6 through 12 should produce a good course.
- [Measure, Integration  Real Analysis (... (Z-Library)] Suppose B is a Borel set and f : B R is a Lebesgue measurable function. B : g(x) = f (x) gj Open Access This chapter is licensed under the terms of the Creative Commons Attribution-NonCommercial 4. International License (http://creativecommons.
- [Measure, Integration  Real Analysis (... (Z-Library)] Statue in Milan of Maria Gaetana Agnesi, who in 1748 published one of the rst calculus textbooks. A translation of her book into English was published in 1801. In this chapter, we develop a method of integration more powerful than methods contemplated by the pioneers of calculus.
- [Measure, Integration  Real Analysis (... (Z-Library)] Preface for Instructors Chapter 3: Integration with respect to a measure is dened in this chapter in a natural fashion rst for nonnegative measurable functions, and then for real-valued measurable functions. The Monotone Convergence Theorem and the Dominated Convergence Theorem are the big results in this chapter that allow us to interchange integrals and limits under appropriate conditions. Preface for Instructors Chapter 8: This chapter focuses on Hilbert spaces, which play a central role in modern mathematics.
- [Measure, Integration  Real Analysis (... (Z-Library)] Chapter 6: After a quick review of metric spaces and vector spaces, this chapter denes normed vector spaces. The big result here is the Hahn–Banach Theorem about extending bounded linear functionals from a subspace to the whole space. Then this chapter introduces Banach spaces.

## Cognitive Tools Reference

See `.claude/skills/math-mode/SKILL.md` for full tool documentation.

© parcadei · MIT · parcadei/Continuous-Claude-v3

Similar skills

All skills for AI and ML →

From the same set161

The whole set →
connectedness A skill for Claude Code with strategies for connectedness problems in topology. CX Codex +1 ★ 3,951repo stars analytic-functions analytic-functions is a Claude Code skill for checking analyticity, verifying Cauchy-Riemann equations, and computing power series and analytic continuations. It activates for theory of functions questions. CX Codex +1 ★ 3,951repo stars math-intuition-builder math-intuition-builder develops mathematical understanding by guiding you through concrete examples, diagrams, and analogies before diving into calculation. Useful when you need solid intuition before solving a problem. CX Codex +1 ★ 3,951repo stars constrained-optimization Guides Claude Code through constrained optimization problems. It classifies constraints, formulates Lagrangians, and checks KKT optimality conditions. CX Codex +1 ★ 3,951repo stars math-progress-monitor math-progress-monitor — a skill that evaluates whether you're on the right track while solving a math problem and helps decide whether to keep going or switch strategies. Activates on phrases like "I'm stuck" or "is this approach working". CX Codex +1 ★ 3,951repo stars rings A Claude Code skill with decision trees and tools for abstract algebra problems on rings. Verifies ring axioms, analyzes properties, and manipulates ideals using Z3 and SymPy. CX Codex +1 ★ 3,951repo stars critic critic reviews features and implementations for logic issues, test gaps, and mismatches with repository patterns, then saves its findings to a Markdown file. CX Codex ★ 3,951repo stars numerical-integration A skill for numerical integration in mathematical analysis tasks. Guides you through selecting a quadrature method, setting tolerances, and computing integrals via scipy and sympy. CX Codex +1 ★ 3,951repo stars

Project sponsors

Companies that keep this analytics open