Commit graph

466 commits

Author SHA1 Message Date
Leonardo de Moura
4ed43bd925 chore: cleanup 2021-01-26 17:16:10 -08:00
Leonardo de Moura
2c05e78728 fix: bug at CheckAssignment 2021-01-26 16:20:41 -08:00
Leonardo de Moura
75466a7cf3 chore: cleanup 2021-01-26 16:01:46 -08:00
Leonardo de Moura
3d01327129 chore: remove unnecessary do 2021-01-26 12:41:07 -08:00
Leonardo de Moura
bb3a1a9699 chore: fix comment 2021-01-25 17:29:23 -08:00
Leonardo de Moura
f2f4fdfeb7 feat: first part of the sizeOf spec lemmas for nested inductive types 2021-01-25 17:18:08 -08:00
Leonardo de Moura
fdab5ca835 feat: add helper methods whnfR and whnfI 2021-01-25 17:18:08 -08:00
Leonardo de Moura
0da83dc4ae feat: add unfoldDefinition 2021-01-25 17:18:08 -08:00
Leonardo de Moura
54168b9070 chore: remove unnecessary MonadLiftT 2021-01-25 17:18:08 -08:00
Reid Barton
ccc09d9cbf chore: fix typo
invalide -> invalid
2021-01-25 13:55:39 -08:00
Leonardo de Moura
b575087859 fix: unfold class projections when using TransparencyMode.instances 2021-01-25 12:30:26 -08:00
Leonardo de Moura
8bb7cc10ff chore: cleanup 2021-01-25 11:33:48 -08:00
Leonardo de Moura
f53e83b182 feat: add options maxHeartbeats and synthInstance.maxHeartbeats 2021-01-24 17:45:50 -08:00
Leonardo de Moura
51de663e2c fix: crash when using TransparencyMode.instances 2021-01-22 14:17:19 -08:00
Sebastian Ullrich
0c91b3769e chore: replace variables in src/ 2021-01-22 14:36:05 +01:00
Leonardo de Moura
d6eb5a9ff2 feat: generate sizeOf equality lemmas for constructors
TODO: support for nested inductive types.
2021-01-21 17:44:15 -08:00
Leonardo de Moura
4ffc2c93cd feat: invoke mkSizeOfInstances from structure and inductive commands 2021-01-20 17:07:02 -08:00
Leonardo de Moura
80e547ae98 feat: add mkSizeOfInstances 2021-01-20 17:07:02 -08:00
Leonardo de Moura
4615ae743a feat: add mkSizeOfFns 2021-01-20 17:07:02 -08:00
Leonardo de Moura
ea0fda39bc chore: Declaration.lean naming convention
`Declaration.lean` was one of the first Lean 4 files, and was still
using an old naming convention.

cc @Kha
2021-01-20 17:07:02 -08:00
Leonardo de Moura
d428c388cf feat: generater minor premises for sizeOf function rec application 2021-01-20 17:07:01 -08:00
Leonardo de Moura
eaace14d55 feat: add helper functions for creating +, *, - applications 2021-01-20 17:07:01 -08:00
Leonardo de Moura
21812541ea fix: solve method at isLevelDefEq
closes #283
2021-01-20 08:36:26 -08:00
Leonardo de Moura
6a89a811ce chore: cleanup 2021-01-20 08:36:26 -08:00
Leonardo de Moura
8e39b82541 feat: skeleton for SizeOf instance generator 2021-01-19 18:01:52 -08:00
Leonardo de Moura
711d1754a6 chore: improve error message
closes #276
2021-01-17 07:51:08 -08:00
zygi
65c0c787ef fix: make Meta.transform use matching aux functions
visitForall should probably be used in forallE case, same for lambda
2021-01-17 10:04:33 +01:00
Leonardo de Moura
7e0d76aff0 fix: losing local instances at assertAfter
closes #270
2021-01-15 19:30:03 -08:00
Leonardo de Moura
223a5d5ded fix: bug at isDefEqOffset
closes #268
2021-01-15 13:08:37 -08:00
Sebastian Ullrich
dc77c45787 fix: mvar check trace message 2021-01-15 14:34:06 +01:00
Leonardo de Moura
6a39c65bd2 feat: improve match error message 2021-01-14 14:58:34 -08:00
Leonardo de Moura
74a9331571 feat: use left-to-right resolution 2021-01-13 16:33:30 -08:00
Sebastian Ullrich
a6c319a25c chore: remove message_builder from time_task 2021-01-12 09:51:14 -08:00
Leonardo de Moura
b6abf19656 fix: unfold abbreviations only
For example, we should not reduce types of the form `let x := ...; ...`
2021-01-12 08:11:04 -08:00
Leonardo de Moura
b5fdc5e364 fix: expand abbreviations at isClass? 2021-01-12 06:56:23 -08:00
Leonardo de Moura
8d0085ae31 feat: unification hints + type classes 2021-01-11 15:34:57 -08:00
Leonardo de Moura
ec7be1d801 feat: add processAssignment' 2021-01-11 15:22:10 -08:00
Leonardo de Moura
3388c63e11 fix: typo at ParamInfo.isExplicit 2021-01-11 07:08:17 -08:00
Leonardo de Moura
300fcc3321 fix: bug at getStuckMVar? 2021-01-11 06:43:08 -08:00
Leonardo de Moura
11c7ca40c3 fix: missing case at Match.lean 2021-01-07 17:38:22 -08:00
Leonardo de Moura
d0b4bda739 chore: add cache 2021-01-06 06:21:55 -08:00
Leonardo de Moura
c2afb6fc24 chore: cleanup 2021-01-05 14:58:23 -08:00
Leonardo de Moura
5baa162713 chore: lean 3 behavior for apply 2021-01-05 12:29:29 -08:00
Leonardo de Moura
544a6cbb94 chore: cleanup 2021-01-05 12:29:29 -08:00
Leonardo de Moura
f0ac477d2e feat: add sanity checks 2021-01-01 18:31:28 -08:00
Leonardo de Moura
e517d72bee feat: simpForall 2021-01-01 17:24:56 -08:00
Leonardo de Moura
244b72befd feat: simpArrow 2021-01-01 17:15:15 -08:00
Leonardo de Moura
15c052d44a feat: basic simpLet 2021-01-01 15:54:29 -08:00
Leonardo de Moura
493d089878 feat: add support for simp { contextual := true } 2021-01-01 15:39:41 -08:00
Leonardo de Moura
e742dd1348 feat: allow user to set Simp.Config at simp 2021-01-01 15:12:18 -08:00