summaryrefslogtreecommitdiff
path: root/backends/lean/Base/Primitives (follow)
Commit message (Expand)AuthorAgeFilesLines
* Bump Lean to v4.9.0rc3 (#261)Son HO2024-06-251-2/+0
* Do some cleanup in the Lean backend (#257)Son HO2024-06-225-13/+43
* Improve `scalar_tac` and `scalar_decr_tac` (#256)Son HO2024-06-221-5/+2
* Add some proofs for the Lean backend (#255)Son HO2024-06-213-8/+18
* Update Lean to v4.9.0-rc1Son Ho2024-06-133-16/+14
* Fix more issues with the scalar notationsSon Ho2024-06-131-15/+29
* Fix more issuesSon Ho2024-06-133-16/+22
* Fix a proofSon Ho2024-06-131-1/+1
* Add an exampleSon Ho2024-06-121-0/+3
* Update the scalar notations in LeanSon Ho2024-06-122-102/+108
* Revert "Update the scalar notation for the Lean backend"Son Ho2024-06-121-25/+25
* Revert "Update CoreConvertNum.lean"Son Ho2024-06-121-22/+22
* Update CoreConvertNum.leanSon Ho2024-06-121-22/+22
* Update the scalar notation for the Lean backendSon Ho2024-06-121-25/+25
* Deactivate the coercion from Nat to ScalarSon Ho2024-06-121-0/+7
* feat: add small pieces of max theoryRyan Lahfa2024-05-241-0/+39
* feat(backends/lean): make `max`-related coercions nicerRyan Lahfa2024-05-211-0/+12
* Merge pull request #164 from RaitoBezarius/ofnat_scalarSon HO2024-05-141-0/+5
|\
| * feat(backend/lean): Raw Lean literals can be parsed into scalars automaticallyRyan Lahfa2024-04-301-0/+5
* | backends/lean: repair definition of `core.mem.replace`Ryan Lahfa2024-05-131-1/+4
|/
* Update the backend and ExtractBuiltin.mlSon Ho2024-04-251-1/+1
* Merge branch 'main' into core-option-unwrapSon Ho2024-04-251-0/+4
|\
| * Merge branch 'main' into option-takeSon Ho2024-04-251-0/+15
| |\
| * | compiler: map `core::mem::swap` to the pure swapRyan Lahfa2024-04-241-0/+2
| * | compiler: map `core::option::Option::take` to identity functionRyan Lahfa2024-04-171-0/+2
* | | Add core::option::unwrap builtinZyad Hassan2024-04-243-5/+13
| |/ |/|
* | feat(backends/lean): scalars form a linear orderRyan Lahfa2024-04-231-0/+15
|/
* lean: scalars form a preorderRyan Lahfa2024-04-121-0/+10
* Add more definitions to the Lean librarySon Ho2024-04-124-0/+127
* Reorganize the files in the Lean backend a bitSon Ho2024-04-124-241/+265
* Start adding integer functions to the Lean librarySon Ho2024-04-122-2/+265
* Fix a proofSon Ho2024-04-121-1/+0
* Update the core.num.checked_* definitionsSon Ho2024-04-121-31/+233
* Merge branch 'son/clean' into checked-opsSon Ho2024-04-116-138/+144
|\
| * Merge remote-tracking branch 'origin/main' into son/cleanSon Ho2024-04-114-8/+16
| |\
| | * Update the lean toolchain and fix the proofsSon Ho2024-04-053-5/+2
| | * Fix the coerce notation for scalars and update some lemmasSon Ho2024-04-041-4/+15
| * | Rename Result.ret as Result.ok in the backendsSon Ho2024-04-045-130/+128
| |/
* / Add builtins for some checked ops such as checked_addZyad Hassan2024-04-031-0/+29
|/
* Fix a minor issueSon Ho2024-03-181-1/+3
* Regenerate the constants tests and update Primitives/Base.leanSon Ho2024-03-181-1/+1
* Update the generation of constant bodies for LeanSon Ho2024-03-081-2/+2
* Update the tuples notationsSon Ho2024-03-081-51/+0
* Remove some commentsSon Ho2024-03-081-31/+0
* Update the handling of notations like #u32 or #isizeSon Ho2024-03-083-69/+103
* Update the notation for heterogeneous negationSon Ho2024-03-081-3/+12
* Introduce a notation for constant scalars in match patternsSon Ho2024-03-071-0/+29
* Add a notation for tuple field accesses in LeanSon Ho2024-03-071-0/+51
* Cleanup a bit Scalar.leanSon Ho2024-02-091-198/+198
* Fix more proofsSon Ho2024-02-022-2/+2