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
npx skills add parcadei/Continuous-Claude-v3 --skill integration-theory -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/integration-theory/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/integration-theory/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill integration-theory -a codex2Manually: put the files in place
.agents/skills/integration-theory/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill integration-theory -a cursor2Manually: put the files in place
.cursor/skills/integration-theory/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install parcadei/Continuous-Claude-v3 .claude/skills/math/measure-theory/integration-theory2Manually: put the files in place
.github/skills/integration-theory/SKILL.md1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill integration-theory -a gemini-cli2Platform CLI
gemini skills install https://github.com/parcadei/Continuous-Claude-v3 --path .claude/skills/math/measure-theory/integration-theoryManually: put the files in place
.devin/skills/integration-theory/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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