Repository navigation
Add lemmas and definitions from Alethe development - #74
Merged
Merged
Conversation
Member
Author
|
Maybe @melanie-taprogge, you can help @fblanqui review this one since this PR adds 2k lines. |
fblanqui
requested changes
Sep 25, 2026
Bool.lp: imp, xorb, if-then-else lemmas Epsilon.lp: εₑ HOL.lp: transport List.lp: foldl/foldr, mergesort and its correctness Nat.lp: parity, div2, bitwise ops, strong induction Pos.lp: multiplication lemmas Prod.lp: sum type, dependent pairs, product lemmas Z.lp: multiplication, power, comparison lemmas
NotBad4U
force-pushed
the
add-lemmas
branch
from
September 29, 2026 08:27
3ba8628 to
ada38d0
Compare
Member
Author
|
Ok normally I resolved all your comments that I all agree. Just one last point about builtins builtin "0" ≔ _0;
builtin "1" ≔ _1;
builtin "2" ≔ _2;
builtin "3" ≔ _3;
builtin "4" ≔ _4;
builtin "5" ≔ _5;
builtin "6" ≔ _6;
builtin "7" ≔ _7;
builtin "8" ≔ _8;
builtin "9" ≔ _9;
builtin "10" ≔ _10;Do you want to put them just after Or even I put back the builtin |
Member
|
CI fails ... |
Member
Author
|
My bad, I think the lsp tricked me and I forgot to run |
fblanqui
reviewed
Oct 1, 2026
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.
Hi everyone,
This PR add some theorems and lemmas used for the Alethe development.
Bool.lp: imp, xorb, if-then-else lemmas
Epsilon.lp: εₑ
HOL.lp: transport
List.lp: foldl/foldr, mergesort and its correctness
Nat.lp: parity, div2, bitwise ops, strong induction
Pos.lp: multiplication lemmas
Prod.lp: sum type, dependent pairs, product lemmas
Z.lp: multiplication, power, comparison lemmas
This PR does not include Rational, Reals and bitvector because they depend on #72
🌊.....