{"id":20165748,"url":"https://github.com/allofphysicsgraph/graph","last_synced_at":"2025-03-03T03:24:40.928Z","repository":{"id":87923290,"uuid":"136688131","full_name":"allofphysicsgraph/graph","owner":"allofphysicsgraph","description":"An attempt to use MathML and automatically check correctness using symbolic computation.","archived":false,"fork":false,"pushed_at":"2018-06-27T00:28:38.000Z","size":8,"stargazers_count":0,"open_issues_count":5,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-13T14:52:46.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/allofphysicsgraph.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":"2018-06-09T03:39:28.000Z","updated_at":"2018-06-27T00:28:40.000Z","dependencies_parsed_at":"2023-06-05T20:45:27.270Z","dependency_job_id":null,"html_url":"https://github.com/allofphysicsgraph/graph","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allofphysicsgraph%2Fgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allofphysicsgraph","download_url":"https://codeload.github.com/allofphysicsgraph/graph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241601748,"owners_count":19988971,"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":[],"created_at":"2024-11-14T00:38:58.753Z","updated_at":"2025-03-03T03:24:40.923Z","avatar_url":"https://github.com/allofphysicsgraph.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Motivation\n\nPurpose of this repository is to test how we can\n\n* store the graph in semantically meaningful way (MathML)\n* automatically verify graph correctness using symbolic computation\n\n# Current stage\n\nThere are four vertices in the graph and two edges. Vertices 1-3 are simple derivation using the two edges. Vertex 4 is an expression that second transition is using as a substitution (to show graph can use itself to derive things).\n\nTo check correctness run\n\n`python -m unittest -v tests.graph tests.parsing`\n\nExpected something like following as an output\n\n```\ntestApply (tests.graph.GraphTest) ... ok\ntestParsing (tests.graph.GraphTest) ... ok\ntestSubstitute (tests.graph.GraphTest) ... ok\ntestAddition (tests.parsing.ParsingTest) ... ok\ntestMultiplication (tests.parsing.ParsingTest) ... ok\ntestSubtraction (tests.parsing.ParsingTest) ... ok\n\n----------------------------------------------------------------------\nRan 6 tests in 0.110s\n\nOK\n```\n\nTo see the initial (hardcoded) example run\n\n`python derive.py`\n\nExpected output\n\n```\ntemporarily, as demonstration, it can only derive equation vert3 from vert1\n\nC = E\n\napply D + eq to both sides of equation\n\nC + D = D + E\n\nsubstitute with lhs of m + n = x*y*z, map values as {'m': 'C', 'n': 'D'}\n\nx*y*z = D + E\n\n#\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallofphysicsgraph%2Fgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallofphysicsgraph%2Fgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallofphysicsgraph%2Fgraph/lists"}