Formal Verification - Lean4 Integration#7549
Open
ivan-randjelovic-cp wants to merge 27 commits into
Open
Conversation
|
If only the most recent commit is unsigned, you can run:
If multiple commits are unsigned, you can run:
If you're new to commit signing, there are different ways to set it up: Sign commits with
|
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
2682e2b to
6602b14
Compare
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
Signed-off-by: Ivan Randjelovic <ivan@commonprefix.com>
|
This PR has conflicts, please resolve them in order for the PR to be reviewed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR involves integration of Lean4 into xrpld. Please look at docs/formal-verification/README.md.
The README covers the Lean4 to C++ integration end to end: the motivation, terminology, an architecture overview, the build/integration flow (Conan toolchain -> CMake -> tests), how the Lean4 model is written, and how the FFI bridge lets C++ call it.
The PR adds an example Lean4 model (Number), properties/theorems proved about it, and an example C++ unit test that cross-validates the Lean4 model against the real C++.
I apologize for not using the usual PR description, as this is an out-of-ordinary type of a pull request.