lean VS FStar

Compare lean vs FStar and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
lean FStar
4 42
1,915 2,562
- 1.2%
0.0 9.9
over 3 years ago 6 days ago
C++ F*
Apache License 2.0 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.

lean

Posts with mentions or reviews of lean. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-26.
  • Paper from 2021 claims P=NP with poorly specified algorithm for maximum clique using dynamical systems theory
    1 project | /r/computerscience | 12 Jan 2023
    Apparently, it even still segfaulted in 2018 https://github.com/leanprover/lean/issues/1958. I don't expect my tools to segfault.
  • Low-level format file of mathlib
    1 project | /r/leanprover | 21 Dec 2022
    Does anyone happen to have the mathlib library in the [low-level format](https://github.com/leanprover/lean/blob/master/doc/export_format.md)? I've been trying to run lean --export to obtain it, but I keep getting various errors.
  • Mathematics: our overlooked ability
    1 project | /r/agi | 30 Apr 2021
    I have spent a good deal of time trying to formalize elementary mathematics and computer science textbooks in the Lean Theorem Prover, and in trying to extend and improve Lean to make the process easier. I have been able to translate entire chapters of several textbooks into Lean in a natural way, with every line of Lean seemingly isomorphic to the informal presentation. However, once in a while I will hit a statement or proof step that may seem simple to me but that requires a major refactor, or adding new features to Lean itself, or just seems like a brick wall. My brain is able to perform massive refactorings of mathematical knowledge and abstractions, synthesize the equivalent of tens of thousands of lines of tricky and performance-critical software, and maybe even expand the logic I am effectively operating in, all in the blink of an eye.
  • How do I get back into math?
    3 projects | /r/math | 26 Mar 2021
    However, mathlib makes some weird design choices. For example, (semi)groups are defined using multiplicative notation -- and then immediately followed by an entire section giving the exact same definitions using additive notation! The claimed reason for this is that the more abstract approach is inconvenient for automation. I did it in Coq using the abstract approach, and indeed, noticed that doing so broke automation, which I then worked around in various ways. But it's just weird to me as a mathematician to have additive and multiplicative groups be different objects, so I wouldn't want to do it the Lean way come hell or high water. The Lean approach causes practical difficulties as well: you have to prove every theorem about groups twice. In some cases (e.g. product groups), you have to prove every theorem FOUR times. Ugh.

FStar

Posts with mentions or reviews of FStar. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-27.

What are some alternatives?

When comparing lean and FStar you can also consider the following projects:

Agda - Agda is a dependently typed programming language / interactive theorem prover.

coq - Coq is a formal proof management system. It provides a formal language to write mathematical definitions, executable algorithms and theorems together with an environment for semi-interactive development of machine-checked proofs.

Coq-HoTT - A Coq library for Homotopy Type Theory

dafny - Dafny is a verification-aware programming language

CoqGym - A Learning Environment for Theorem Proving with the Coq proof assistant

koka - Koka language compiler and interpreter

arend-lib

VisualFSharp - The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio

ttlite - A SuperCompiler for Martin-Löf's Type Theory

stepmania - Advanced rhythm game for Windows, Linux and OS X. Designed for both home and arcade use.

daisy-nfsd - DaisyNFS is an NFS server verified using Dafny and Perennial.

SharpLab - .NET language playground