← All papers
First page of Astrolabe: A Content-Addressable Hypergraph for Semantic Knowledge Management

Astrolabe: A Content-Addressable Hypergraph for Semantic Knowledge Management

Xinze Li

math.HO Apr 12, 2026 · v1
Introduces LeanNets, a plugin that parses Lean 4 compilation artifacts into semantically labeled dependency edges linking LaTeX and Lean declarations.
Existing knowledge management tools either preserve prose but lose structural relationships, or capture relationships but restrict edge semantics to fixed vocabularies. We introduce Astrolabe, a content-addressable hypergraph for semantic knowledge management. Entries are identified by the SHA-256 hash of their content, carry an ordered reference list of arbitrary width, and store an opaque record string interpreted by plugins. The structure admits two orthogonal decompositions: by width and by depth. We demonstrate the framework with a plugin bridging informal and formal mathematics.

Dependency graphs for Lean formalization projects, such as leanblueprint graphs and declaration-level graphs, label every edge only as "uses". They do not record how a dependency is used (unfold, rewrite, apply), which limits knowledge management and autoformalization agents.

Astrolabe is a content-addressable hypergraph. Each entry (nerve) is identified by the SHA-256 hash of its record, has an ordered reference list of arbitrary width, and carries an opaque record string interpreted by plugins. The store admits decompositions by width and by depth. The LeanNets plugin stores LaTeX and Lean 4 statements and proofs as entries, splitting Lean theorem declarations into a statement entry and a proof entry, and extracts formal dependencies from Lean compilation artifacts into a directed semantic network.

A prototype stored as a single JSON file shows informal theorems such as Heine-Borel linked to Lean declarations such as IsCompact.isClosed, with semantic edge records. Future work proposes network analysis of the store to improve premise retrieval for autoformalization.

Edge sort pairMeaning
(theorem, proof)Statement–proof link
(theorem, definition)Depends on definition
(proof, lemma)Proof cites lemma
(theorem, theorem)Cross-source correspondence
Edge sort pairs in LeanNets