Compactness
When to Use
Use this skill when working on compactness problems in topology.
Decision Tree
Is X compact?
- If X subset R^n: Is X closed AND bounded? (Heine-Borel)
- If X is metric: Does every sequence have convergent subsequence?
- General: Does every open cover have finite subcover?
z3_solve.py prove "bounded_and_closed"
Compactness Tests
- Heine-Borel (R^n): closed + bounded = compact
- Sequential: every sequence has convergent subsequence
sympy_compute.py limit "a_n" --var n to check convergence
Product Spaces
- Tychonoff: product of compact spaces is compact
- Finite products preserve compactness directly
Consequences of Compactness
- Continuous image of compact is compact
- Continuous real function on compact attains max/min
sympy_compute.py maximum "f(x)" --var x --domain "[a,b]"
Tool Commands
Z3_Bounded_Closed
uv run python -m runtime.harness scripts/z3_solve.py prove "bounded_and_closed"
Sympy_Limit
uv run python -m runtime.harness scripts/sympy_compute.py limit "a_n" --var n --at oo
Sympy_Maximum
uv run python -m runtime.harness scripts/sympy_compute.py maximum "f(x)" --var x --domain "[a,b]"
Key Techniques
From indexed textbooks:
- [Topology (Munkres, James Raymond) (Z-Library)] CompactSpaces163 164ConnectednessandCompactnessCh. Itisnotasnaturalorintuitiveastheformer;somefamiliaritywithitisneededbeforeitsusefulnessbecomesapparent. AcollectionAofsubsetsofaspaceXissaidtocoverX,ortobeacoveringofX,iftheunionoftheelementsofAisequaltoX.
- [Real Analysis (Halsey L. Royden, Patr... (Z-Library)] If X contains more than one point, show that the only possible extreme points of B have norm 1. If X = Lp[a, b], 1 < p < ∞, show that every unit vector in B is an extreme point of B. If X = L∞[a, b], show that the extreme points of B are those functions f ∈ B such that |f | = 1 almost everywhere on [a, b].
- [Topology (Munkres, James Raymond) (Z-Library)] ShowthatinthenitecomplementtopologyonR,everysubspaceiscom-pact. IfRhasthetopologyconsistingofallsetsAsuchthatR−AiseithercountableorallofR,is[0,1]acompactsubspace? ShowthataniteunionofcompactsubspacesofXiscompact.
- [Real Analysis (Halsey L. Royden, Patr... (Z-Library)] The Eberlein-ˇSmulian Theorem . Metrizability of Weak Topologies . X is reexive; (ii) B is weakly compact; (iii) B is weakly sequentially compact.
- [Topology (Munkres, James Raymond) (Z-Library)] SupposethatYiscompactandA={Aα}α∈JisacoveringofYbysetsopeninX. Thenthecollection{Aα∩Y|α∈J}isacoveringofYbysetsopeninY;henceanitesubcollection{Aα1∩Y,. Aαn}isasubcollectionofAthatcoversY.
Cognitive Tools Reference
See .claude/skills/math-mode/SKILL.md for full tool documentation.
Source: parcadei/Continuous-Claude-v3 → .claude/skills/math/topology/compactness/SKILL.md
1---
2name: compactness
3description: "Problem-solving strategies for compactness in topology"
4allowed-tools: "[Bash, Read]"
5category: general-purpose
6source_repo: parcadei/Continuous-Claude-v3
7source_path: ".claude/skills/math/topology/compactness/SKILL.md"
8source_url: https://github.com/parcadei/Continuous-Claude-v3/blob/HEAD/.claude/skills/math/topology/compactness/SKILL.md
9metadata:
10 source: https://skillmd.com/skills/parcadei/compactness
11---
12
13
14# Compactness
15
16## When to Use
17
18Use this skill when working on compactness problems in topology.
19
20## Decision Tree
21
22
231. **Is X compact?**
24 - If X subset R^n: Is X closed AND bounded? (Heine-Borel)
25 - If X is metric: Does every sequence have convergent subsequence?
26 - General: Does every open cover have finite subcover?
27 - `z3_solve.py prove "bounded_and_closed"`
28
292. **Compactness Tests**
30 - Heine-Borel (R^n): closed + bounded = compact
31 - Sequential: every sequence has convergent subsequence
32 - `sympy_compute.py limit "a_n" --var n` to check convergence
33
343. **Product Spaces**
35 - Tychonoff: product of compact spaces is compact
36 - Finite products preserve compactness directly
37
384. **Consequences of Compactness**
39 - Continuous image of compact is compact
40 - Continuous real function on compact attains max/min
41 - `sympy_compute.py maximum "f(x)" --var x --domain "[a,b]"`
42
43
44## Tool Commands
45
46### Z3_Bounded_Closed
47```bash
48uv run python -m runtime.harness scripts/z3_solve.py prove "bounded_and_closed"
49```
50
51### Sympy_Limit
52```bash
53uv run python -m runtime.harness scripts/sympy_compute.py limit "a_n" --var n --at oo
54```
55
56### Sympy_Maximum
57```bash
58uv run python -m runtime.harness scripts/sympy_compute.py maximum "f(x)" --var x --domain "[a,b]"
59```
60
61## Key Techniques
62
63*From indexed textbooks:*
64
65- [Topology (Munkres, James Raymond) (Z-Library)] CompactSpaces163 164ConnectednessandCompactnessCh. Itisnotasnaturalorintuitiveastheformer;somefamiliaritywithitisneededbeforeitsusefulnessbecomesapparent. AcollectionAofsubsetsofaspaceXissaidtocoverX,ortobeacoveringofX,iftheunionoftheelementsofAisequaltoX.
66- [Real Analysis (Halsey L. Royden, Patr... (Z-Library)] If X contains more than one point, show that the only possible extreme points of B have norm 1. If X = Lp[a, b], 1 < p < ∞, show that every unit vector in B is an extreme point of B. If X = L∞[a, b], show that the extreme points of B are those functions f ∈ B such that |f | = 1 almost everywhere on [a, b].
67- [Topology (Munkres, James Raymond) (Z-Library)] ShowthatinthenitecomplementtopologyonR,everysubspaceiscom-pact. IfRhasthetopologyconsistingofallsetsAsuchthatR−AiseithercountableorallofR,is[0,1]acompactsubspace? ShowthataniteunionofcompactsubspacesofXiscompact.
68- [Real Analysis (Halsey L. Royden, Patr... (Z-Library)] The Eberlein-ˇSmulian Theorem . Metrizability of Weak Topologies . X is reexive; (ii) B is weakly compact; (iii) B is weakly sequentially compact.
69- [Topology (Munkres, James Raymond) (Z-Library)] SupposethatYiscompactandA={Aα}α∈JisacoveringofYbysetsopeninX. Thenthecollection{Aα∩Y|α∈J}isacoveringofYbysetsopeninY;henceanitesubcollection{Aα1∩Y,. Aαn}isasubcollectionofAthatcoversY.
70
71## Cognitive Tools Reference
72
73See `.claude/skills/math-mode/SKILL.md` for full tool documentation.
74
75---
76
77**Source:** [`parcadei/Continuous-Claude-v3`](https://github.com/parcadei/Continuous-Claude-v3) → `.claude/skills/math/topology/compactness/SKILL.md`