{"id":25999852,"url":"https://github.com/Crispher/MathlibExplorer","last_synced_at":"2025-03-05T18:41:54.968Z","repository":{"id":242044316,"uuid":"807530164","full_name":"Crispher/MathlibExplorer","owner":"Crispher","description":"Visualizing the network of math theories.","archived":false,"fork":false,"pushed_at":"2024-06-09T09:00:10.000Z","size":7454,"stargazers_count":183,"open_issues_count":3,"forks_count":15,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-09T10:22:14.270Z","etag":null,"topics":["lean","math","mathlib","visualization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Crispher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-29T09:22:10.000Z","updated_at":"2024-06-09T09:55:02.000Z","dependencies_parsed_at":"2024-05-31T10:57:43.457Z","dependency_job_id":null,"html_url":"https://github.com/Crispher/MathlibExplorer","commit_stats":null,"previous_names":["crispher/mathlibexplorer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crispher%2FMathlibExplorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crispher%2FMathlibExplorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crispher%2FMathlibExplorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crispher%2FMathlibExplorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Crispher","download_url":"https://codeload.github.com/Crispher/MathlibExplorer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242083058,"owners_count":20069232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lean","math","mathlib","visualization"],"created_at":"2025-03-05T18:40:48.555Z","updated_at":"2025-03-05T18:41:54.963Z","avatar_url":"https://github.com/Crispher.png","language":"Python","readme":"# MathlibExplorer\n\nMathlib explorer is an interactive visualization tool designed for [Lean's mathlib library](https://github.com/leanprover-community/mathlib4). It visualizes the import relations within mathlib, with carefully thought-out layout and interactions. It is a great visual representation of how math concepts are connected to each other, which can be informative even if you cannot read Lean code.\n\nRelated video series (in Chinese):\n\n欢迎关注相关视频系列：《重构数学》on [bilibili](https://space.bilibili.com/613069855) and [YouTube](https://www.youtube.com/@yugu233/videos).\n\nScreenshots:\n![Mathlib Explorer](./screenshots/default_view.png)\n\nZoom in view:\n![Zoom in view](./screenshots/zoom_in_view.png)\n\n## Features\n\nThe import graph is mapped onto the plane, s.t. if B imports A, B will always be on the right of A. This makes it easy to see how modern math theories are constructed from axioms and definitions.\n\nSupported interactions:\n\n- Scroll to zoom in/out\n- Drag to move\n- Click on a node to highlight\n  - its direct neighbors\n  - its transitive dependents\n  - its transitive dependencies\n- Click on a topic label to highlight\n  - all nodes in the same topic\n  - references to the topic\n  - direct dependencies of the topic\n\n## Usage\n\nClone this repo:\n\n```\ngit clone https://github.com/Crispher/MathlibExplorer\n```\n\nGo to the binary folder of your platform:\n\n```\ncd MathlibExplorer/release/bin_{YOUR_PLATFORM}\n```\n\nRun the executable:\n\n```\n./MathlibExplorer\n```\n\n## Other Notes\n\nLimited testing has been done so far, which is mainly on MacOS (M1).\n\nThe underlying mathlib data is a bit outdated. I might update it or publish the scripts to generate the data in the future.\n\nCross-platform graphics is powered by [bgfx](https://github.com/bkaradzic/bgfx).\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCrispher%2FMathlibExplorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCrispher%2FMathlibExplorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCrispher%2FMathlibExplorer/lists"}