lean
cryptominisat
Our great sponsors
lean | cryptominisat | |
---|---|---|
4 | 2 | |
1,915 | 788 | |
- | - | |
0.0 | 9.7 | |
over 3 years ago | 2 days ago | |
C++ | C++ | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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
-
Paper from 2021 claims P=NP with poorly specified algorithm for maximum clique using dynamical systems theory
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
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
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?
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.
cryptominisat
-
The Silent (R)evolution of SAT
ManySAT: http://www.cril.univ-artois.fr/~jabbour/manysat.htm
It shares short conflict clauses between parallel solvers and achieves superlinear speedup in some cases, e.g., 4 parallel solvers solve faster than one forth of the single solver soolution time.
Short conflict clauses are rare so there is little communication between solvers required.
CryptoMiniSAT: https://github.com/msoos/cryptominisat
Author's goal to have solver that is good in computing range from single CPU up to cluster. Judging from CryptoMiniSAT successes, he has mostly reached the goal.
-
kotlin-satlib: SAT solver wrappers for Kotlin
Alongside with the SAT solver interface and its extensions, `kotlin-satlib` provides wrappers for native SAT solvers (these days, most of them are written in C/C++) implemented using JNI technology. Currently, the solvers included are: MiniSat, Glucose, Cadical and CryptoMiniSat. Sadly, `kotlin-satlib` won't work out-of-the-box, you have to provide it with some external SAT solver, either in the form of a library or a binary. Luckily, there are build instructions for each of the supported SAT solver, both for Linux and Windows. Checkout the README!
What are some alternatives?
Agda - Agda is a dependently typed programming language / interactive theorem prover.
agda-stdlib - The Agda standard library
FStar - A Proof-oriented Programming Language
cadical - CaDiCaL SAT Solver
Coq-HoTT - A Coq library for Homotopy Type Theory
kotlin-satlib - 🗿 SAT solver wrappers for Kotlin
CoqGym - A Learning Environment for Theorem Proving with the Coq proof assistant
xorstr - heavily vectorized c++17 compile time string encryption.
arend-lib
jnisat - Java JNI bindings for the PicoSat and MiniSat SAT solvers
ttlite - A SuperCompiler for Martin-Löf's Type Theory
ipasir - The Standard Interface for Incremental Satisfiability Solving