con-nf
A formal consistency proof of Quine's set theory New Foundations (by leanprover-community)
lean4-metaprogramming-book
By leanprover-community
con-nf | lean4-metaprogramming-book | |
---|---|---|
1 | 1 | |
55 | 200 | |
- | 3.5% | |
9.6 | 8.2 | |
23 days ago | 13 days ago | |
Lean | Lean | |
- | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
con-nf
Posts with mentions or reviews of con-nf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-23.
-
New Foundations is consistent – a difficult mathematical proof proved using Lean
But like, you can look at what parts of Mathlib this development imports, it's mainly stuff imported by files in this subdirectory https://github.com/leanprover-community/con-nf/tree/main/Con... , and it's pretty basic things: the definition of a permutation, a cardinal number etc. Almost all of these are things that would feature in the first one or two years of an undergraduate math degree (from just quickly scanning it, the most advanced thing I could see is the definition of cofinality of ordinals). It seems practically impossible to me that someone would make a mistake when e.g. defining what a group is, in a way subtle enough to later break this advanced theorem. If you think that people could mess up that, then all of math would be in doubt.
lean4-metaprogramming-book
Posts with mentions or reviews of lean4-metaprogramming-book.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-30.
-
Macro-ts: TypeScript compiler with typesafe syntactic macros (2022)
Lean4 manages to pull off changing the parser on the fly at compile time. You can add new productions, add new syntax node types, and add new tokens. Then define macros or code to process the additional syntax. Here is a sample I found that adds a simple JSX-like syntax starting around line 93 and then uses it at line 169:
https://github.com/leanprover/lean4/blob/master/tests/playgr...
I believe most of the language is defined this way, although it is pre-compiled.
For more details see the lean4 metaprogramming book: https://github.com/arthurpaulino/lean4-metaprogramming-book
What are some alternatives?
When comparing con-nf and lean4-metaprogramming-book you can also consider the following projects:
lean4-mode - Emacs major mode for Lean 4
mathlib4 - The math library of Lean 4
lean4-raytracer - A simple raytracer written in Lean 4
lean4 - Lean 4 programming language and theorem prover