How coq-community/topology works
Main Components Organization
a. Topology Library
• Core Concepts
• Constructions
• Specialized Topics
• Examples
b. Zorn's Lemma Library (Supporting Foundation)
• Set Theory
• Cardinals
• Foundational Concepts
Component Relationships
Level 1 (Foundation):
• Place Zorn's Lemma components at the bottom as they provide the mathematical foundation
• Include Cardinals, Set Theory Operations, and Basic Structures
Level 2 (Core Topology):
• Position basic topological definitions and structures
• Include TopologicalSpaces, Continuity, and Basic Properties
Level 3 (Advanced Constructions):
• Place more advanced topological constructions
• Include specific topologies and specialized concepts
Level 4 (Applications):
• Position concrete examples and applications
• Include metric spaces and real analysis components
Specific Implementation Details
Create distinct sections for:
a. Foundation Layer:
ZornsLemma
• Set Theory Operations
• Cardinals
• Basic Structures
b. Core Topology Layer:
Topology
• Basic Definitions
• TopologicalSpaces
• Continuity
• Neighborhoods
• Constructions
• ProductTopology
• SubspaceTopology
• QuotientTopology
• Properties
• Compactness
• Connectedness
• SeparatednessAxioms
Special Features
Special sections for:
• Filters and Nets (showing their interconnection)
• Metric Spaces and their relationship to general topology
• Real Analysis components and their dependencies
Documentation Elements
• Version information (Coq 8.16+)
• External dependencies
• Build system components (dune, make)
Remember to maintain a balance between:
• Mathematical rigor in representing relationships
• Software engineering clarity in showing dependencies
• Visual clarity in presenting the overall structure
This will provide a comprehensive view of how the formal mathematical concepts are implemented in the Coq proof assistant while maintaining the theoretical integrity of the topology formalization.