summaryrefslogtreecommitdiff
path: root/backends/lean/Base/Primitives (unfollow)
Commit message (Expand)AuthorFilesLines
2024-06-25Bump Lean to v4.9.0rc3 (#261)Son HO1-2/+0
2024-06-22Do some cleanup in the Lean backend (#257)Son HO5-13/+43
2024-06-22Improve `scalar_tac` and `scalar_decr_tac` (#256)Son HO1-5/+2
2024-06-21Add some proofs for the Lean backend (#255)Son HO3-8/+18
2024-06-13Update Lean to v4.9.0-rc1Son Ho3-16/+14
2024-06-13Fix more issues with the scalar notationsSon Ho1-15/+29
2024-06-13Fix more issuesSon Ho3-16/+22
2024-06-13Fix a proofSon Ho1-1/+1
2024-06-12Add an exampleSon Ho1-0/+3
2024-06-12Update the scalar notations in LeanSon Ho2-102/+108
2024-06-12Revert "Update the scalar notation for the Lean backend"Son Ho1-25/+25
2024-06-12Revert "Update CoreConvertNum.lean"Son Ho1-22/+22
2024-06-12Update CoreConvertNum.leanSon Ho1-22/+22
2024-06-12Update the scalar notation for the Lean backendSon Ho1-25/+25
2024-06-12Deactivate the coercion from Nat to ScalarSon Ho1-0/+7
2024-05-24feat: add small pieces of max theoryRyan Lahfa1-0/+39
2024-05-21feat(backends/lean): make `max`-related coercions nicerRyan Lahfa1-0/+12
2024-05-13backends/lean: repair definition of `core.mem.replace`Ryan Lahfa1-1/+4
2024-04-30feat(backend/lean): Raw Lean literals can be parsed into scalars automaticallyRyan Lahfa1-0/+5
2024-04-25Update the backend and ExtractBuiltin.mlSon Ho1-1/+1
2024-04-24Add core::option::unwrap builtinZyad Hassan3-5/+13
2024-04-24compiler: map `core::mem::swap` to the pure swapRyan Lahfa1-0/+2
2024-04-23feat(backends/lean): scalars form a linear orderRyan Lahfa1-0/+15
2024-04-17compiler: map `core::option::Option::take` to identity functionRyan Lahfa1-0/+2
2024-04-12lean: scalars form a preorderRyan Lahfa1-0/+10
2024-04-12Add more definitions to the Lean librarySon Ho4-0/+127
2024-04-12Reorganize the files in the Lean backend a bitSon Ho4-241/+265
2024-04-12Start adding integer functions to the Lean librarySon Ho2-2/+265
2024-04-12Fix a proofSon Ho1-1/+0
2024-04-12Update the core.num.checked_* definitionsSon Ho1-31/+233
2024-04-05Update the lean toolchain and fix the proofsSon Ho3-5/+2
2024-04-04Rename Result.ret as Result.ok in the backendsSon Ho5-130/+128
2024-04-04Fix the coerce notation for scalars and update some lemmasSon Ho1-4/+15
2024-04-03Add builtins for some checked ops such as checked_addZyad Hassan1-0/+29
2024-03-18Fix a minor issueSon Ho1-1/+3
2024-03-18Regenerate the constants tests and update Primitives/Base.leanSon Ho1-1/+1
2024-03-08Update the generation of constant bodies for LeanSon Ho1-2/+2
2024-03-08Update the tuples notationsSon Ho1-51/+0
2024-03-08Remove some commentsSon Ho1-31/+0
2024-03-08Update the handling of notations like #u32 or #isizeSon Ho3-69/+103
2024-03-08Update the notation for heterogeneous negationSon Ho1-3/+12
2024-03-07Introduce a notation for constant scalars in match patternsSon Ho1-0/+29
2024-03-07Add a notation for tuple field accesses in LeanSon Ho1-0/+51
2024-02-09Cleanup a bit Scalar.leanSon Ho1-198/+198
2024-02-02Fix more proofsSon Ho2-2/+2
2024-02-02Fix more proofsSon Ho1-56/+55
2024-01-27Add some lemmas to the Lean backendSon Ho1-4/+14
2024-01-26Improve the Lean backendSon Ho2-0/+18
2023-12-22Fix minor issuesSon Ho1-0/+42
2023-12-22Fix the models for core::mem::replaceSon Ho1-1/+1