lebesgue-measure — скилл для Claude Code: решение задач теории меры
Скилл lebesgue-measure для работы с задачами меры Лебега в теории меры. Помогает разбираться в конструкции внешней меры, критерии Каратеодори и свойствах измеримых множеств через стратегии решения и вычислительные инструменты.
MIT ★ 3 951 обновлён 2026-01-26
npx skills add parcadei/Continuous-Claude-v3 --skill lebesgue-measure -a claude-codeЧто делает lebesgue-measure
Скилл даёт пошаговые стратегии для классических задач теории меры. Разбирает конструкцию внешней меры через инфимум суммы длин интервалов, критерий Каратеодори для проверки измеримости, ключевые свойства — инвариантность относительно сдвига и сигма-аддитивность, а также теоремы регулярности (внутреннюю и внешнюю).
В скилле встроены команды для вычислений: sympy_compute.py считает суммы длин и упрощает выражения про борелевские множества, z3_solve.py доказывает критерий Каратеодори символически. Инструменты работают через Bash и чтение файлов — это единственные разрешённые утилиты для запуска расчётов.
От читателя требуется опыт с теорией меры и комфорт с математической нотацией. Скилл ориентирован на студентов и исследователей, которые штудируют меру Лебега систематически.
Какие задачи решает
- вычислить внешнюю меру множества через инфимум суммы длин интервалов
- проверить измеримость множества по критерию Каратеодори
- установить регулярность меры Лебега — внутреннюю и внешнюю
- упростить выражение про счётное объединение борелевских множеств
- убедиться в инвариантности меры относительно сдвига
Примеры запросов агенту
- Посчитай внешнюю меру множества A, используя
sympy_compute.py sum "length(I_n)" --var n - Докажи, что множество E измеримо по критерию Каратеодори через
z3_solve.py prove - Упрости выражение про открытое множество как счётное объединение
sympy_compute.py simplify
Как установить lebesgue-measure
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill lebesgue-measure -a claude-code2Вручную: положить файлы
~/.claude/skills/lebesgue-measure/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/lebesgue-measure/
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill lebesgue-measure -a codex2Вручную: положить файлы
.agents/skills/lebesgue-measure/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill lebesgue-measure -a cursor2Вручную: положить файлы
.cursor/skills/lebesgue-measure/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install parcadei/Continuous-Claude-v3 .claude/skills/math/measure-theory/lebesgue-measure2Вручную: положить файлы
.github/skills/lebesgue-measure/SKILL.md1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill lebesgue-measure -a gemini-cli2Командой платформы
gemini skills install https://github.com/parcadei/Continuous-Claude-v3 --path .claude/skills/math/measure-theory/lebesgue-measureВручную: положить файлы
.devin/skills/lebesgue-measure/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о lebesgue-measure
Как установить lebesgue-measure в Claude Code?
Выполни команду npx skills add parcadei/Continuous-Claude-v3 --skill lebesgue-measure -a claude-code, затем откройте ~/.claude/skills/lebesgue-measure/SKILL.md.
Что делает lebesgue-measure?
Скилл даёт стратегии решения задач меры Лебега: конструкция внешней меры, критерий Каратеодори, регулярность и свойства измеримых множеств. Включает инструменты для символических вычислений и доказательств.
Какие инструменты доступны в скилле?
Bash и Read — они позволяют запускать sympy_compute.py для вычислений суммы длин и упрощения выражений, а также z3_solve.py для символического доказательства критерия Каратеодори.
Исходный текст
SKILL.md · MIT
---
name: lebesgue-measure
description: "Problem-solving strategies for lebesgue measure in measure theory"
allowed-tools: [Bash, Read]
---
# Lebesgue Measure
## When to Use
Use this skill when working on lebesgue-measure problems in measure theory.
## Decision Tree
1. **Outer measure construction**
- m*(A) = inf{sum |I_n| : A subset union(I_n)}
- `sympy_compute.py sum "length(I_n)" --var n`
2. **Caratheodory criterion**
- E is measurable if: m*(A) = m*(A & E) + m*(A & E^c) for all A
- `z3_solve.py prove "caratheodory_criterion"`
3. **Lebesgue measure properties**
- Translation invariant: m(E + x) = m(E)
- sigma-additive on measurable sets
- m([a,b]) = b - a
4. **Regularity theorems**
- Inner regularity: m(E) = sup{m(K) : K compact, K subset E}
- Outer regularity: m(E) = inf{m(U) : U open, E subset U}
## Tool Commands
### Sympy_Outer_Measure
```bash
uv run python -m runtime.harness scripts/sympy_compute.py sum "length(I_n)" --var n --from 1 --to oo
```
### Z3_Caratheodory
```bash
uv run python -m runtime.harness scripts/z3_solve.py prove "mu(A) == mu(A & E) + mu(A & E_complement)"
```
### Sympy_Borel_Sets
```bash
uv run python -m runtime.harness scripts/sympy_compute.py simplify "open_set_countable_union"
```
## Key Techniques
*From indexed textbooks:*
- [Measure, Integration Real Analysis (... (Z-Library)] Lebesgue measure on the Lebesgue measurable sets does have one small advantage over Lebesgue measure on the Borel sets: every subset of a set with (outer) measure 0 is Lebesgue measurable but is not necessarily a Borel set. However, any natural process that produces a subset of R will produce a Borel set. Thus this small advantage does not often come up in practice.
- [Measure, Integration Real Analysis (... (Z-Library)] B j j You have probably long suspected that not every subset of R is a Borel set. Now j j j j Section 2D Lebesgue Measure restricted to the Borel sets, is a measure. Borel sets Outer measure is a measure on (R, of R.
- [Measure, Integration Real Analysis (... (Z-Library)] The terminology Lebesgue set would make good sense in parallel to the termi- nology Borel set. However, Lebesgue set has another meaning, so we need to use Lebesgue measurable set. Every Lebesgue measurable set differs from a Borel set by a set with outer measure 0.
- [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)] Egorov’s Theorem, which states that pointwise convergence of a sequence of measurable functions is close to uniform convergence, has multiple applications in later chapters. Luzin’s Theorem, back in the context of R, sounds spectacular but has no other uses in this book and thus can be skipped if you are pressed for time. Chapter 4: The highlight of this chapter is the Lebesgue Differentiation Theorem, which allows us to differentiate an integral.
## Cognitive Tools Reference
See `.claude/skills/math-mode/SKILL.md` for full tool documentation.
© parcadei · MIT · parcadei/Continuous-Claude-v3