compactness
Applies mathematical tests and algorithms to verify compactness in topological spaces.
Install
mkdir -p .claude/skills/compactness && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5282" && unzip -o skill.zip -d .claude/skills/compactness && rm skill.zipInstalls to .claude/skills/compactness
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Problem-solving strategies for compactness in topologyKey capabilities
- →Evaluate set compactness using Heine-Borel theorem
- →Check sequential convergence for metric spaces
- →Verify compactness in product spaces using Tychonoff theorem
- →Compute maximum and minimum values on compact domains
How it works
It applies a decision tree based on topological theorems and utilizes Z3 or Sympy to perform logical proofs and mathematical computations.
Inputs & outputs
When to use compactness
- →Proving set compactness
- →Checking sequential convergence
- →Applying topological theorems
About this skill
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 nto 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.
When not to use it
- →When the problem does not involve topological compactness
- →When the set is not defined within a known topological space
Limitations
- →Limited to defined topological spaces
- →Relies on specific mathematical tool availability
How it compares
It automates the application of formal topological theorems compared to manual derivation.
Compared to similar skills
compactness side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| compactness (this skill) | 1 | 7mo | Review | Advanced |
| literature-review | 559 | 2mo | Review | Advanced |
| openalex-database | 48 | 7mo | Review | Intermediate |
| annas-archive-ebooks | 22 | 7mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by parcadei
View all by parcadei →You might also like
literature-review
K-Dense-AI
Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature searches across biomedical, scientific, and technical domains. Creates professionally formatted markdown documents and PDFs with verified citations in multiple citation styles (APA, Nature, Vancouver, etc.).
openalex-database
davila7
Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly works. Use for literature searches, research output analysis, citation analysis, and academic database queries.
annas-archive-ebooks
ratacat
Use when needing to look up book content, find a book by title/author, download an ebook, or reference material from a published book. Triggers on book lookups, ebook downloads, "find the book", "get the PDF/EPUB of". Downloads produce PDF/EPUB/MOBI files - use ebook-extractor skill to convert to text.
scientific-critical-thinking
davila7
Evaluate research rigor. Assess methodology, experimental design, statistical validity, biases, confounding, evidence quality (GRADE, Cochrane ROB), for critical analysis of scientific claims.
biorxiv-database
lifangda
Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.
gpt-researcher
assafelovic
GPT Researcher is an autonomous deep research agent that conducts web and local research, producing detailed reports with citations. Use this skill when helping developers understand, extend, debug, or integrate with GPT Researcher - including adding features, understanding the architecture, working with the API, customizing research workflows, adding new retrievers, integrating MCP data sources, or troubleshooting research pipelines.