Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve `scalar_tac` and `scalar_decr_tac` (#256) | Son HO | 2024-06-22 | 2 | -17/+13 |
| | | | | | | | * Fix an issue in a proof of the hashmap * Improve scalar_decr_tac * Improve the error message of scalar_tac and add the missing Termination.lean | ||||
* | Add some proofs for the Lean backend (#255) | Son HO | 2024-06-21 | 3 | -14/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make progress on the proofs of the hashmap * Make a minor modification to the hashmap * Make progress on the hashmap * Make progress on the proofs * Make progress on the proofs * Make progress on the proof of the hashmap * Progress on the proofs of the hashmap * Update a proof * Update the Charon pin * Make minor modifications to the hashmap * Regenerate the tests * Regenerate the hashmap * Add lemmas to the Lean backend * Make progress on the proofs of the hashmap * Make a minor fix * Finish the proof about the hashmap * Update scalar_tac * Make a minor modification in the hashmap * Update the proofs of the hashmap --------- Co-authored-by: Son Ho <sonho@Sons-MacBook-Pro.local> Co-authored-by: Son Ho <sonho@Sons-MBP.lan> | ||||
* | Make a minor cleanup | Son Ho | 2024-06-17 | 1 | -9/+11 |
| | |||||
* | Merge branch 'son/update-lean' into has-int-pred | Son Ho | 2024-06-17 | 3 | -35/+45 |
|\ | |||||
| * | Update Lean to v4.9.0-rc1 | Son Ho | 2024-06-13 | 3 | -10/+11 |
| | | |||||
| * | Merge branch 'main' into prop-has-imp-sort | Son HO | 2024-06-12 | 2 | -27/+36 |
| |\ | |||||
| | * | Deactivate the coercion from Nat to Scalar | Son Ho | 2024-06-12 | 1 | -0/+10 |
| | | | |||||
| | * | Add the Simp.Config to the simp wrappers | Son Ho | 2024-06-12 | 2 | -27/+26 |
| | | | |||||
| * | | feat: `PropHasImp` can have `Sort u` as premisses | Ryan Lahfa | 2024-06-11 | 1 | -1/+1 |
| |/ | | | | | | | | | | | | | This makes it possible to have `InBounds ... : Type 1` for example as `x`. Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr> | ||||
* / | backends/lean: introduce `HasIntPred` automation | Ryan Lahfa | 2024-06-12 | 1 | -5/+33 |
|/ | | | | | | | | | | | | | `HasIntPred` enable generation of facts based on specific terms in the context rather than their types, e.g. if the "length of a list" occurs in the context, generate the fact 0 ≤ length of that list, which can be further used for `scalar_tac` automation to discharge bounds goals. The aim is to use it to simplify various height related computations, e.g. whenever "height of a (left ; right) tree" is encountered, generate "height left < height of a (left ; right) tree", etc. Signed-off-by: Ryan Lahfa <ryan.lahfa@inria.fr> | ||||
* | Update scalar_tac to use omega instead of linarith | Son Ho | 2024-05-24 | 3 | -98/+66 |
| | |||||
* | Update the lean toolchain and fix the proofs | Son Ho | 2024-04-05 | 1 | -1/+0 |
| | |||||
* | Update the handling of notations like #u32 or #isize | Son Ho | 2024-03-08 | 1 | -1/+1 |
| | |||||
* | Improve the Lean backend | Son Ho | 2024-01-26 | 1 | -2/+9 |
| | |||||
* | Refold the scalar types when applying progress | Son Ho | 2023-10-17 | 2 | -3/+3 |
| | |||||
* | Implement tactics for termination proofs which involve arithmetic | Son Ho | 2023-10-17 | 3 | -0/+34 |
| | |||||
* | Improve scalar_tac | Son Ho | 2023-09-18 | 2 | -5/+20 |
| | |||||
* | Update to Lean 4.0.0 and fix some broken proofs | Son Ho | 2023-09-14 | 1 | -1/+1 |
| | |||||
* | Start adding support for Arrays/Slices in the Lean library | Son Ho | 2023-08-04 | 2 | -10/+25 |
| | |||||
* | Update the syntax of the progress tactic | Son Ho | 2023-07-26 | 2 | -2/+2 |
| | |||||
* | Make progress on the proofs of the hashmap | Son Ho | 2023-07-25 | 1 | -0/+1 |
| | |||||
* | Make progress on the hashmap properties | Son Ho | 2023-07-25 | 3 | -1/+8 |
| | |||||
* | Improve int_tac and scalar_tac | Son Ho | 2023-07-25 | 2 | -10/+59 |
| | |||||
* | Make some proofs in Hashmap/Properties.lean and improve progress | Son Ho | 2023-07-20 | 1 | -1/+1 |
| | |||||
* | Improve progress | Son Ho | 2023-07-19 | 1 | -8/+0 |
| | |||||
* | Move an arithmetic lemma | Son Ho | 2023-07-18 | 1 | -0/+6 |
| | |||||
* | Reorganize the Lean backend | Son Ho | 2023-07-17 | 3 | -329/+284 |
| | |||||
* | Move a definition | Son Ho | 2023-07-17 | 1 | -3/+0 |
| | |||||
* | Update a comment | Son Ho | 2023-07-13 | 1 | -2/+1 |
| | |||||
* | Add IList.lean | Son Ho | 2023-07-13 | 2 | -64/+112 |
| | |||||
* | Improve progress to use assumptions and start working on a nice syntax | Son Ho | 2023-07-12 | 1 | -41/+1 |
| | |||||
* | Improve the handling of arithmetic bounds | Son Ho | 2023-07-12 | 1 | -2/+6 |
| | |||||
* | Finish a first version of the progress tactic | Son Ho | 2023-07-12 | 1 | -93/+29 |
| | |||||
* | Work on the progress tactic | Son Ho | 2023-07-11 | 1 | -13/+29 |
| | |||||
* | Start working on the progress tactic | Son Ho | 2023-07-10 | 2 | -0/+419 |