Merge pull request #338 from HEPLean/Rebrand

refactor: Update informal graph
This commit is contained in:
Joseph Tooby-Smith 2025-02-14 10:04:58 +00:00 committed by GitHub
commit 0b06379581
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -193,7 +193,7 @@ layout: default
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Informal dependency graph for HepLean</title> <title>Informal dependency graph for PhysLean</title>
<style> <style>
/* Optional styling for the message display */ /* Optional styling for the message display */
#message { #message {
@ -218,10 +218,10 @@ layout: default
<script src=\"https://unpkg.com/d3-graphviz@3.0.5/build/d3-graphviz.js\"></script> <script src=\"https://unpkg.com/d3-graphviz@3.0.5/build/d3-graphviz.js\"></script>
<!-- Add a title to the page --> <!-- Add a title to the page -->
<h1 style=\"text-align: center;\">Informal dependency graph for HepLean</h1> <h1 style=\"text-align: center;\">Informal dependency graph for PhysLean</h1>
<p style=\"text-align: center;\">Click on a node to display the text associated with it.</p> <p style=\"text-align: center;\">Click on a node to display the text associated with it.</p>
<p style=\"text-align: center;\">This graph only shows informal results (gray) and their direct formal dependencies (blue). <p style=\"text-align: center;\">This graph only shows informal results (gray) and their direct formal dependencies (blue).
It does not show all results formalised into HepLean.</p> It does not show all results formalised into PhysLean.</p>
<!-- Div to display the graph --> <!-- Div to display the graph -->
<div id=\"graph\" style=\"width: 75vw; height: 75vh; border: 1px solid black\"></div> <div id=\"graph\" style=\"width: 75vw; height: 75vh; border: 1px solid black\"></div>
@ -299,7 +299,7 @@ def IO.withStdoutRedirectedTo {α} (filePath : System.FilePath) (action : IO α)
unsafe def main (args : List String) : IO Unit := do unsafe def main (args : List String) : IO Unit := do
initSearchPath (← findSysroot) initSearchPath (← findSysroot)
let rootModule := `HepLean let rootModule := `PhysLean
CoreM.withImportModules #[rootModule] do CoreM.withImportModules #[rootModule] do
/- Build informal dependencies with all information necessary. -/ /- Build informal dependencies with all information necessary. -/
let depDecls ← DepDecls.ofRootModule rootModule let depDecls ← DepDecls.ofRootModule rootModule