Leonardo de Moura
|
af3b465760
|
feat: apply [specialize] before elaboration
This is a workaround. See new comment.
We need it for making aa9080e9e more effective.
|
2019-11-13 15:41:27 -08:00 |
|
Leonardo de Moura
|
c4d974eb89
|
feat: allow attributes to be applied before elaboration
This is useful when the attribute may influence the elaboration of the declaration.
|
2019-11-13 15:40:19 -08:00 |
|
Leonardo de Moura
|
92316dff89
|
chore: remove unnecessary inline
|
2019-11-13 14:28:56 -08:00 |
|
Leonardo de Moura
|
53b1128491
|
chore: minimize amount of inlined code
|
2019-11-13 12:54:56 -08:00 |
|
Leonardo de Moura
|
fb621af338
|
chore: move code after relevant comment
|
2019-11-13 12:46:10 -08:00 |
|
Leonardo de Moura
|
46d817135e
|
feat: save checkAssignment failures as trace messages
|
2019-11-13 12:42:01 -08:00 |
|
Leonardo de Moura
|
cace9304ec
|
feat: add checkAssignment
|
2019-11-13 11:43:28 -08:00 |
|
Leonardo de Moura
|
6c635b3a0c
|
chore: add helper functions
|
2019-11-13 11:43:28 -08:00 |
|
Leonardo de Moura
|
745b05be4a
|
feat: add isWellFormed
|
2019-11-13 11:43:28 -08:00 |
|
Leonardo de Moura
|
a9b8702e8d
|
doc: add processAssignment documentation
|
2019-11-12 17:45:48 -08:00 |
|
Leonardo de Moura
|
d38ce191ec
|
feat: add processAssignmentFOApprox
|
2019-11-12 17:17:04 -08:00 |
|
Leonardo de Moura
|
fd3e038a36
|
feat: add isDefEqBinding
|
2019-11-12 16:11:25 -08:00 |
|
Leonardo de Moura
|
37b2e7bf8b
|
feat: use Monad instead of Application
If the `Applicative` version is needed in the future, we should name
it using the `A` suffix instead of `M`.
|
2019-11-12 15:29:27 -08:00 |
|
Leonardo de Moura
|
476ce17779
|
feat: add isDefEqArgs
|
2019-11-12 14:47:10 -08:00 |
|
Leonardo de Moura
|
ae26e54458
|
feat: add unlessM
|
2019-11-12 14:13:40 -08:00 |
|
Leonardo de Moura
|
ad9466028a
|
feat: add isDefEqEta
|
2019-11-12 12:25:24 -08:00 |
|
Leonardo de Moura
|
4cc413e4f6
|
feat: import HasToString instances for Option and Sum
|
2019-11-12 12:22:59 -08:00 |
|
Leonardo de Moura
|
e1b2816745
|
feat: add try combinator
It replaces `restoreIfFalse`.
|
2019-11-12 12:07:21 -08:00 |
|
Leonardo de Moura
|
b778236628
|
feat: add etaExpanded?
|
2019-11-12 12:05:28 -08:00 |
|
Leonardo de Moura
|
8508647738
|
chore: remove WHNF cache
Remark: tried a few Lean3 stdlib and mathlib files without WHNF cache,
and did not observe any significant impact.
|
2019-11-12 10:07:55 -08:00 |
|
Leonardo de Moura
|
e12b129014
|
chore: add usingDefault
|
2019-11-12 09:46:53 -08:00 |
|
Leonardo de Moura
|
21968cfc8a
|
chore: split DefEq.lean
|
2019-11-12 09:46:31 -08:00 |
|
Leonardo de Moura
|
d3ad70d936
|
chore: isProp return Bool
We have no application for `LBool.undef`.
|
2019-11-11 22:10:52 -08:00 |
|
Leonardo de Moura
|
3af65381bd
|
feat: add isPropQuick
It is used to speedup `isProp`.
|
2019-11-11 20:25:29 -08:00 |
|
Leonardo de Moura
|
37e63f48cb
|
chore: do not leak constraints
|
2019-11-11 15:45:15 -08:00 |
|
Leonardo de Moura
|
54868f2622
|
chore: SubsingletonParamInfo is not used in MetaM
|
2019-11-11 15:44:47 -08:00 |
|
Leonardo de Moura
|
9cdaf79cfc
|
feat: extend public Meta API
|
2019-11-11 12:19:07 -08:00 |
|
Leonardo de Moura
|
c39b8706dc
|
fix: unfold only definitions/theorems
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
3df53ae827
|
fix: typo getAppArgs ==> getAppRevArgs
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
320b2c9961
|
fix: use getConstNoEx for implementing smart unfolding
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
5b99a74d1b
|
feat: add Exception.unexpectedBVar
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
5dc1bbb188
|
chore: normalize universe level
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
0358511121
|
chore: add helper
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
cfcbb6e9dc
|
fix: typo
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
27567d85e3
|
fix: typo
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
95eb3d525f
|
fix: typo
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
b4cc85e92d
|
fix: typo
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
b771ec7328
|
feat: add basic HasToString Meta.Exception instance
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
d138d068dd
|
chore: fix typo
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
93d3ab3f8c
|
chore: add aux fixpoint
|
2019-11-11 11:30:22 -08:00 |
|
Leonardo de Moura
|
bd1b1af781
|
chore: simplify signature
|
2019-11-10 18:33:31 -08:00 |
|
Leonardo de Moura
|
269ae853b8
|
feat: add FunInfo
|
2019-11-10 18:26:57 -08:00 |
|
Leonardo de Moura
|
fd3786b585
|
chore: simplify FunInfo cache
|
2019-11-10 17:27:33 -08:00 |
|
Leonardo de Moura
|
20e8086fea
|
feat: add Hashable (Option a) instance
|
2019-11-10 17:25:32 -08:00 |
|
Leonardo de Moura
|
25fed41446
|
feat: add forallBoundedTelescope
|
2019-11-10 17:12:13 -08:00 |
|
Leonardo de Moura
|
8653082133
|
fix: must take BinderInfo into account in the elaborator
This is not needed in the `TacticM` monad.
So, we should check if this is a bottleneck and the future.
|
2019-11-10 16:51:30 -08:00 |
|
Leonardo de Moura
|
82f521119c
|
feat: add isPropAux and caches for FunInfo module, rename byUnfoldingReducibleOnly => usingTransparency,
|
2019-11-10 16:49:07 -08:00 |
|
Leonardo de Moura
|
a21a024172
|
feat: add Meta/DefEq.lean
|
2019-11-10 08:55:26 -08:00 |
|
Leonardo de Moura
|
41fccd976b
|
refactor: add Lean.Meta directory for MetaM monad
|
2019-11-10 08:04:00 -08:00 |
|
Daniel Selsam
|
bff5e4ed37
|
feat: solves mvars in reverse order during tabled tc
|
2019-11-09 21:15:34 -08:00 |
|