compactness

Problem-solving strategies for compactness in topology

⭐2.2kstars🔀157forks📁View on GitHub🕐Updated Jan 10, 2026⬇️1downloads

When & Why to Use This Skill

This Claude skill provides a specialized framework for solving complex problems related to compactness in topology. It integrates formal logic via Z3 and symbolic computation via Sympy to help users prove topological properties, verify Heine-Borel conditions, and analyze product spaces using Tychonoff's theorem. By combining a structured decision tree with automated tools, it streamlines the process of mathematical proof and verification in advanced real analysis and topology.

Use Cases

  • Case 1: Proving the compactness of subsets in Euclidean space (R^n) by automatically verifying if they are closed and bounded using the Heine-Borel theorem.
  • Case 2: Determining sequential compactness in metric spaces by checking if sequences have convergent subsequences through symbolic limit calculations.
  • Case 3: Applying Tychonoff's theorem to evaluate the compactness of product spaces and understanding the consequences for continuous images.
  • Case 4: Finding extreme values (maximums and minimums) of continuous real-valued functions defined on compact domains using computational scripts.
  • Case 5: Referencing indexed topological textbooks (like Munkres or Royden) to apply specific techniques for finite complement topologies or weak topologies.
namecompactness
description"Problem-solving strategies for compactness in topology"
allowed-tools[Bash, Read]

Compactness

When to Use

Use this skill when working on compactness problems in topology.

Decision Tree

  1. 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"
  2. 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
  3. Product Spaces

    • Tychonoff: product of compact spaces is compact
    • Finite products preserve compactness directly
  4. 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.