{"id":15380904,"url":"https://github.com/francoisschwarzentruber/prooffold","last_synced_at":"2025-04-15T18:41:01.186Z","repository":{"id":40405932,"uuid":"435203004","full_name":"francoisschwarzentruber/prooffold","owner":"francoisschwarzentruber","description":"Another attempt for visualizing proofs","archived":false,"fork":false,"pushed_at":"2024-11-19T17:09:04.000Z","size":1466,"stargazers_count":12,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T23:43:48.884Z","etag":null,"topics":["education","educational-project","mathematics","mathematics-education","mathematics-notes","pedagogy","processingjs","proof","theorem"],"latest_commit_sha":null,"homepage":"https://francoisschwarzentruber.github.io/prooffold/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/francoisschwarzentruber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-12-05T15:20:37.000Z","updated_at":"2025-03-20T17:08:31.000Z","dependencies_parsed_at":"2024-10-17T21:27:43.320Z","dependency_job_id":"812f6d0e-d50e-4102-a706-604a6d49b7cb","html_url":"https://github.com/francoisschwarzentruber/prooffold","commit_stats":{"total_commits":125,"total_committers":5,"mean_commits":25.0,"dds":0.52,"last_synced_commit":"1205d070cafb7d3c16ae57f0901a0b67d3ffa3af"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoisschwarzentruber%2Fprooffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoisschwarzentruber%2Fprooffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoisschwarzentruber%2Fprooffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francoisschwarzentruber%2Fprooffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/francoisschwarzentruber","download_url":"https://codeload.github.com/francoisschwarzentruber/prooffold/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249130764,"owners_count":21217609,"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":["education","educational-project","mathematics","mathematics-education","mathematics-notes","pedagogy","processingjs","proof","theorem"],"created_at":"2024-10-01T14:24:57.986Z","updated_at":"2025-04-15T18:41:01.131Z","avatar_url":"https://github.com/francoisschwarzentruber.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eProoffold\u003c/h1\u003e\n\u003cp align=\"center\"\u003eA tool to display **mathematical proofs** as **structured** objects, see https://francoisschwarzentruber.github.io/prooffold/\u003c/p\u003e\n\n![prooffoldsqrt2](https://user-images.githubusercontent.com/43071857/154649245-5c78c7a0-0562-4232-a087-5590c193cb94.gif)\n\nVideo: [https://www.youtube.com/watch?v=FPZiGevIyR8]\n\n\n## Screenshots\n\n![prooffold_inequalitiesastabs](https://user-images.githubusercontent.com/43071857/194746547-cec69dd2-3cb4-41b3-9ede-9149066afcac.gif)\n![image](https://user-images.githubusercontent.com/43071857/194717214-e9785336-711f-4bdb-b455-dfcfd2293ac1.png)\n![prooffoldrrt](https://user-images.githubusercontent.com/43071857/154652110-b4573d44-1de9-4af3-9a58-bb295e5888d2.gif)\n![prooffoldeuclideanTSP](https://user-images.githubusercontent.com/43071857/154651408-12462e46-c220-47e8-b43c-ad0ca2848d8e.gif)\n![prooffoldkonig](https://user-images.githubusercontent.com/43071857/154651369-334d3700-ffc0-4713-9c12-61ca5f6bcf00.gif)\n![prooffoldcook](https://user-images.githubusercontent.com/43071857/154651387-e604c450-f15e-4834-a3fa-d950024dec7f.gif)\n\n\n## Raison d'être\n\nIt tries to solve two main issues of traditional proofs written in a book:\n- the global organization of a proof in a textbook is often not very clear. This is due to the linearity of a textual proof. Here, the proof is displayed in panels, making an emphasis on the structure of the proof\n- In a textbook, justifications of a statement often ends up \"by Theorem 1.2.3, Lemma 42.4 and Corollary 8.8.4 and Equation 1\". Here, by clicking on a statement, the arguments used to deduced that fact are highlighted.\n\n\n\n\n\n\n\n# Features\n\n - [X] Structured proofs\n - [X] LaTEX for writing formulas\n - [X] Labels [(1) (2)] and references [by (1,2)]\n - [X] inline graphs via graphviz\n - [X] interactive canvas described in Processing (P5JS)\n - [X] Automatic aligned equations and inequations\n - [ ] Asciiart, it partially works but soon via https://github.com/francoisschwarzentruber/asciidraw we will be able to write nice pictures\n - [ ] Arrows of implications\n - [ ] Include Tikz pictures\n\n\n\n# Documentation\n\n## Overview\n\nProofs are easy to be written. \n\n      Fact\n      Theorem. $a^2 = b^2 + c^2$.\n            {\n              explain sth of the proof of the theorem\n              an amazing fact       (1)\n              {\n                 proof of that amazing fact\n              }\n              we have that $x = 0$         (2)\n              Thus we have bling       by (1,2)\n            }\n      Another Fact\n      \n      \nEach line is a fact, or simple text. Blocks (panels) are delimited by `{` and `}` and corresponds to a detailed proof of the fact written just before the block. `     (1)`, `   (2)` etc. and `      by (1,2)` enable to highlight some facts used to prove another fact. In the example below, `Thus we have bling` is deduced from `an amazing fact` and `we have that $x = 0$`.\n\n\n\n\nGraphs in graphviz are described by:\n\n             graph {\n                 \u003c\u003cgraphviz code\u003e\u003e\n              }\n\n             digraph {\n                 \u003c\u003cgraphviz code\u003e\u003e\n              }\n                   \n\nAlgorithms need indentation and they can be written via:\n\n             algo {\n                 \u003c\u003cdescription of the algorithm\u003e\u003e\n              }\n              \nInteractive canvas are described in Processing (P5) via:\n\n             p5 {{\n                 \u003c\u003cgraphviz code\u003e\u003e\n              }}\n              \n\n\n\n# How to contribute?\n\nAdding new proofs! Also discussing about how to improve the way to display proofs.\n\n1) Create a new file in the `proofs` folder, for instance `myproof.proof`.\n2) Write your proof inside\n3) Locally run `./run.sh`\n4) Open http://0.0.0.0:8000/?id=myproof\n\nThen if you want, you can make a **pull request**!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancoisschwarzentruber%2Fprooffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancoisschwarzentruber%2Fprooffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancoisschwarzentruber%2Fprooffold/lists"}