hilbert-spaces — скилл для Claude Code: теоремы функанализа
Скилл hilbert-spaces для Claude Code помогает решать задачи функционального анализа, работая с гильбертовыми пространствами. Применяется при доказательстве теорем об ортогональном разложении, проекциях и представлении Риса.
MIT ★ 3 951 обновлён 2026-01-26
npx skills add parcadei/Continuous-Claude-v3 --skill hilbert-spaces -a claude-codeЧто делает hilbert-spaces
Скилл автоматизирует вычисления и доказательства, которые нужны в функциональном анализе. Внутри — пять ключевых стратегий: ортогональное разложение замкнутого подпространства, теорема о проекции на выпуклое множество, представление Риса для функционалов, тождество Парсеваля и неравенство Бесселя. Для каждой есть команда: sympy_compute.py проводит символьные вычисления с внутренними произведениями и суммами коэффициентов, а z3_solve.py доказывает существование и единственность объектов.
Скилл требует Python и позволяет работать с Bash-командами для запуска скриптов. Проверит, что вектор ортогонален подпространству, вычислит норму функционала по его представлению или найдёт сумму квадратов коэффициентов разложения по ортонормированному базису.
Какие задачи решает
- разложить вектор на компоненты в подпространстве и его ортогональном дополнении
- доказать, что для замкнутого выпуклого множества существует единственная ближайшая точка
- представить ограниченный линейный функционал через внутреннее произведение
- вычислить норму вектора по коэффициентам его разложения в ортонормированном базисе
- проверить неравенство Бесселя для конечного набора элементов
Примеры запросов агенту
- Вычисли норму функционала f через
z3_solve.py prove "bounded_linear_functional iff inner_product_form" - Разложи вектор x по ортонормированному базису и проверь тождество Парсеваля через
sympy_compute.py sum "abs(<x, e_n>)**2" --var n --from 1 --to oo - Докажи, что x - P_M(x) лежит в ортогональном дополнении M через
z3_solve.py prove "x - P_M(x) in M_perp"
Как установить hilbert-spaces
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill hilbert-spaces -a claude-code2Вручную: положить файлы
~/.claude/skills/hilbert-spaces/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/hilbert-spaces/
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill hilbert-spaces -a codex2Вручную: положить файлы
.agents/skills/hilbert-spaces/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill hilbert-spaces -a cursor2Вручную: положить файлы
.cursor/skills/hilbert-spaces/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install parcadei/Continuous-Claude-v3 .claude/skills/math/functional-analysis/hilbert-spaces2Вручную: положить файлы
.github/skills/hilbert-spaces/SKILL.md1Через Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill hilbert-spaces -a gemini-cli2Командой платформы
gemini skills install https://github.com/parcadei/Continuous-Claude-v3 --path .claude/skills/math/functional-analysis/hilbert-spacesВручную: положить файлы
.devin/skills/hilbert-spaces/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о hilbert-spaces
Как установить hilbert-spaces в Claude Code?
Выполни команду npx skills add parcadei/Continuous-Claude-v3 --skill hilbert-spaces -a claude-code, затем посмотри документацию в ~/.claude/skills/hilbert-spaces/SKILL.md.
Что делает скилл hilbert-spaces?
Помогает доказывать теоремы и вычислять значения в функциональном анализе: находит проекции, представления функционалов, проверяет ортогональность, считает нормы по коэффициентам разложения.
Какие инструменты использует скилл?
Два основных: sympy_compute.py для символьных вычислений с внутренними произведениями и суммами, z3_solve.py для доказательства теорем о существовании и единственности.
Исходный текст
SKILL.md · MIT
---
name: hilbert-spaces
description: "Problem-solving strategies for hilbert spaces in functional analysis"
allowed-tools: [Bash, Read]
---
# Hilbert Spaces
## When to Use
Use this skill when working on hilbert-spaces problems in functional analysis.
## Decision Tree
1. **Orthogonal decomposition**
- For closed subspace M: H = M + M^perp (direct sum)
- Every x = P_M(x) + P_{M^perp}(x)
- `sympy_compute.py simplify "x - projection"`
2. **Projection Theorem**
- For closed convex C, unique nearest point exists
- P_C is nonexpansive: ||P_C(x) - P_C(y)|| <= ||x - y||
- `z3_solve.py prove "projection_exists_unique"`
3. **Riesz Representation**
- Every f in H* has form f(x) = <x, y_f> for unique y_f
- ||f|| = ||y_f||
- `z3_solve.py prove "riesz_representation"`
4. **Parseval's Identity**
- For orthonormal basis {e_n}: ||x||^2 = sum|<x, e_n>|^2
- `sympy_compute.py sum "abs(<x, e_n>)**2"`
5. **Bessel's Inequality**
- sum|<x, e_n>|^2 <= ||x||^2 for any orthonormal set
## Tool Commands
### Sympy_Inner_Product
```bash
uv run python -m runtime.harness scripts/sympy_compute.py simplify "<x + y, z> == <x,z> + <y,z>"
```
### Z3_Projection
```bash
uv run python -m runtime.harness scripts/z3_solve.py prove "x - P_M(x) in M_perp"
```
### Z3_Riesz
```bash
uv run python -m runtime.harness scripts/z3_solve.py prove "bounded_linear_functional iff inner_product_form"
```
### Sympy_Parseval
```bash
uv run python -m runtime.harness scripts/sympy_compute.py sum "abs(<x, e_n>)**2" --var n --from 1 --to oo
```
## Key Techniques
*From indexed textbooks:*
- [Introductory Functional Analysis with Applications] This proves that A is dense in H, and since A is countable, H is separable. For using Hilbert spaces in applications one must know what total orthonormal set or sets to choose in a specific situation and how to investigate properties of the elements of such sets. For certain function spaces this problem will be considered in the next section, Which 3.
- [Introductory Functional Analysis with Applications] Sx, y) = (Tx, y), we see that Sx = Tx by Lemma 3. SxI + {3SX2, y) Inner Product Spaces. Hilbert Spaces (Space R3) Show that any linear functional f on R3 can be represented by a dot product: (Space f) Show that every bounded linear functional f on 12 can be represented in the fonn f(x) = L gj~ ~ j=1 If z is any fixed element of an inner product space X, show that f(x) = (x, z) defines a bounded linear functional f on X, of norm Ilzll.
- [Introductory Functional Analysis with Applications] HILBERT SPACES In a normed space we can add vectors and mUltiply vectors by scalars, just as in elementary vector algebra. Furthermore, the norm on such a space generalizes the elementary concept of the length of a vector. However, what is still missing in a general normed space, and what we would like to have if possible, is an analogue of the familiar dot product and resulting formulas, notably and the condition for orthogonality (perpendicularity) a· b=O which are important tools in many applications.
- [Introductory Functional Analysis with Applications] Inner product spaces are special normed spaces, as we shall see. Historically they are older than general normed spaces. Their theory is richer and retains many features of Euclidean space, a central concept being orthogonality.
- [Introductory Functional Analysis with Applications] What are the adjoints of a zero operator 0 and an identity operator I? Annihllator) Let X and Y be normed spaces, T: X - Y a bounded linear operator and -M = (¥t( T), the closure of the range of T. Fundamental Theorems for Normed and Banach Spaces To complete this discussion, we should also list some of the main differences between the adjoint operator T X of T: X ~ Y and the Hilbert-adjoint operator T* of T: Hi ~ H 2 , where X, Yare normed spaces and Hi> H2 are Hilbert spaces.
## Cognitive Tools Reference
See `.claude/skills/math-mode/SKILL.md` for full tool documentation.
© parcadei · MIT · parcadei/Continuous-Claude-v3