Leonardo de Moura
|
64cfbc1ae3
|
feat: add helper tactic for applying sizeOf (a.get i) < sizeOf a automatically in termination proofs
|
2022-04-02 18:29:41 -07:00 |
|
Leonardo de Moura
|
03ec8cb30b
|
feat: missing sizeOf theorems for Array.get and List.get
|
2022-04-02 16:04:46 -07:00 |
|
Leonardo de Moura
|
cfb4e306f7
|
refactor: replace length_dropLast theorem
|
2022-04-01 16:44:24 -07:00 |
|
zygi
|
ac793ce196
|
fix: forward start and stop in Array.allM
|
2022-03-17 10:08:40 +01:00 |
|
Sebastian Ullrich
|
82c682d385
|
chore: remove redundant proof
|
2022-03-12 11:12:56 +01:00 |
|
Leonardo de Moura
|
5caf1bc692
|
chore: style
Use `·` instead of `.` for structuring tactics.
|
2022-03-11 16:12:46 -08:00 |
|
Leonardo de Moura
|
e1424653b9
|
chore: remove workaround
|
2022-03-03 18:16:54 -08:00 |
|
Leonardo de Moura
|
aeb9b2fb8c
|
chore: add Membership instance for Array
|
2022-03-03 18:13:34 -08:00 |
|
Leonardo de Moura
|
5845002e8c
|
feat: use WF at anyM
|
2022-03-03 16:43:05 -08:00 |
|
Leonardo de Moura
|
02d7cedba8
|
chore: remove unnecessary termination_by annotations
|
2022-03-03 11:24:06 -08:00 |
|
Leonardo de Moura
|
19bcb5fb31
|
feat: add Array.popWhile and Array.takeWhile
|
2022-02-19 07:04:52 -08:00 |
|
Leonardo de Moura
|
bd89bdde8a
|
fix: core library
see #1018
|
2022-02-15 12:12:56 -08:00 |
|
Sebastian Ullrich
|
54522006f4
|
refactor: List.get: take Fin to align with Array.get
/cc @leodemoura
|
2022-02-15 18:41:22 +01:00 |
|
Leonardo de Moura
|
9cfa728eac
|
chore: remove workaround for issue #1013
|
2022-02-11 09:32:29 -08:00 |
|
Leonardo de Moura
|
77bbaf82df
|
feat: decidable equality for arrays
|
2022-02-10 17:31:03 -08:00 |
|
Leonardo de Moura
|
1d5da63482
|
chore: simplify Array.isEqvAux
|
2022-02-10 16:51:47 -08:00 |
|
Leonardo de Moura
|
12e2a79170
|
chore: fix codebase after removing auto pure
|
2022-02-03 18:08:14 -08:00 |
|
Gabriel Ebner
|
561a869e49
|
fix: provide reference implementation for Array.modify
|
2022-01-17 12:41:12 -08:00 |
|
Leonardo de Moura
|
bac91b9b5b
|
chore: remove arbitrary
|
2022-01-15 12:14:27 -08:00 |
|
Leonardo de Moura
|
acd482c5f2
|
feat: define Array.modify without using Inhabited
|
2022-01-14 19:47:42 -08:00 |
|
Leonardo de Moura
|
7fe6881c42
|
feat: use new termination_by syntax
|
2022-01-12 16:23:25 -08:00 |
|
Leonardo de Moura
|
381f66428a
|
chore: use termination_by'
We are going to define a higher level syntax for `termination_by`.
|
2022-01-11 15:00:53 -08:00 |
|
Leonardo de Moura
|
93f3773d83
|
chore: cleanup
|
2022-01-10 16:25:07 -08:00 |
|
Leonardo de Moura
|
dae3489fe2
|
feat: remove partials from Init/Data/Array/Basic.lean
|
2022-01-10 16:05:33 -08:00 |
|
Leonardo de Moura
|
68bd55af32
|
chore: fix codebase
|
2021-12-10 13:12:09 -08:00 |
|
Leonardo de Moura
|
2fd024c26f
|
feat: add support for foldlM, foldl, ForIn instances for byte/float arrays
|
2021-10-18 16:54:56 -07:00 |
|
Leonardo de Moura
|
4a8679a57c
|
feat: add Subarray.popFront
|
2021-09-25 08:35:41 -07:00 |
|
Leonardo de Moura
|
7066619123
|
refactor: define Nat.le using inductive type
|
2021-08-20 19:39:45 -07:00 |
|
Leonardo de Moura
|
a15a36b8d3
|
chore: cleanup Subarray instances
|
2021-08-13 19:29:09 -07:00 |
|
Leonardo de Moura
|
9cc94296e5
|
chore: remove staging workaround theorems
|
2021-08-07 12:52:31 -07:00 |
|
Leonardo de Moura
|
a821dcbff2
|
chore: enforce naming convention for theorems
see issue #402
fix: `ElabTerm.lean`
|
2021-08-07 12:48:38 -07:00 |
|
Wojciech Nawrocki
|
a937fa26ba
|
chore: fewer explicit types
|
2021-08-01 09:58:44 +02:00 |
|
Wojciech Nawrocki
|
f51b80060d
|
feat: generic tagged Format
|
2021-08-01 09:58:44 +02:00 |
|
Leonardo de Moura
|
f4a7ffd8c8
|
chore: fix codebase and tests
|
2021-06-29 17:14:52 -07:00 |
|
Sebastian Ullrich
|
a02c6fd3eb
|
chore: adapt stdlib & tests
|
2021-05-20 15:17:36 -07:00 |
|
Sebastian Ullrich
|
7c3101a51c
|
chore: produce more efficient/pp-able array code from quotations
|
2021-05-19 09:52:35 +02:00 |
|
Sebastian Ullrich
|
aabb4a50aa
|
feat: remove bracket-less rw
|
2021-05-04 15:24:22 -07:00 |
|
Leonardo de Moura
|
157ef80c5a
|
feat: match auto generalization
|
2021-04-16 21:48:38 -07:00 |
|
Leonardo de Moura
|
3176be136c
|
feat: improve "discriminant refinement"
|
2021-03-24 21:05:08 -07:00 |
|
Leonardo de Moura
|
0720a53a9d
|
chore: refactoring and cleanup
|
2021-03-17 14:56:08 -07:00 |
|
Leonardo de Moura
|
9f88ea8047
|
chore: remove old decide!, nativeRefl!, and nativeDecide!
|
2021-03-11 08:06:20 -08:00 |
|
Leonardo de Moura
|
b9ef6f89a4
|
chore: cleanup
|
2021-02-26 19:34:39 -08:00 |
|
Leonardo de Moura
|
d1009e8405
|
chore: add simp lemmas, theorem naming convention
|
2021-02-16 11:53:49 -08:00 |
|
Leonardo de Moura
|
d0ffecd419
|
chore: consistency
Make sure `Array.all` and `Array.any` parameter order is similar to
`List.all` and `List.any`.
|
2021-02-04 20:39:28 -08:00 |
|
Leonardo de Moura
|
aae8a35150
|
feat: add ForIn type class
|
2021-02-04 17:59:44 -08:00 |
|
Leonardo de Moura
|
d956f0ae9f
|
feat: use destructTuple to compile for in notation instead of pattern matchin
|
2021-02-04 17:17:51 -08:00 |
|
Sebastian Ullrich
|
446f953461
|
feat: allow hygienic capture of section variables in quotations
|
2021-01-24 11:46:04 -08:00 |
|
Sebastian Ullrich
|
0c91b3769e
|
chore: replace variables in src/
|
2021-01-22 14:36:05 +01:00 |
|
Leonardo de Moura
|
5f6e66a53f
|
refactor: Repr
Modifications:
- Result type is `Format`
- It takes the context precedence like Haskell `Show`
|
2020-12-18 11:21:30 -08:00 |
|
Leonardo de Moura
|
7c865e7bd9
|
feat: sort instances by priority
|
2020-12-16 10:45:27 -08:00 |
|