Commit graph

29801 commits

Author SHA1 Message Date
Leonardo de Moura
73076b855c fix: bug at processGenDiseq 2022-04-20 10:46:05 -07:00
Leonardo de Moura
4a18679c92 chore: include problematic match auxiliary declaration name in the error message 2022-04-20 10:46:05 -07:00
Sebastian Ullrich
e1fbfb677e doc: missing file 2022-04-20 19:13:53 +02:00
Sebastian Ullrich
84cc167f95 doc: fix example code & style 2022-04-20 19:05:43 +02:00
Sebastian Ullrich
c354a9f62f doc: link orphan syntax tutorial 2022-04-20 18:49:38 +02:00
Sebastian Ullrich
5f6bbe59ef doc: fold sub-chapters by default 2022-04-20 18:46:30 +02:00
Sebastian Ullrich
b6446902c2 feat: server.stderrAsMessages option
/cc @leodemoura
2022-04-19 22:29:26 +02:00
Leonardo de Moura
597313135a fix: index out of bounds at computeFixedIndexBitMask
closes #1112
2022-04-19 05:21:43 -07:00
Leonardo de Moura
d0ccb73fc9 chore: update stage0 2022-04-19 05:11:19 -07:00
Leonardo de Moura
556ace5cc1 chore: update RELEASES.md 2022-04-18 17:03:01 -07:00
Leonardo de Moura
4848ad4869 feat: implement autoUnfold at simp
Right now, it only supports the following kind of definitions
- Recursive definitions that support smart unfolding.
- Non-recursive definitions where the body is a match-expression. This
kind of definition is only unfolded if the match can be reduced.
2022-04-18 16:51:52 -07:00
Leonardo de Moura
f87066a0a5 chore: update stage0 2022-04-18 16:01:22 -07:00
Leonardo de Moura
18832ad91c feat: add autoUnfold to Simp.Config
Add macros for conveniently setting `arith` and `autoUnfold`.
2022-04-18 15:59:30 -07:00
Leonardo de Moura
470d0077ca chore: update stage0 2022-04-18 14:57:02 -07:00
Leonardo de Moura
bb2df569bc fix: bug at declare_config_elab 2022-04-18 14:56:22 -07:00
Leonardo de Moura
e69e469a37 chore: update test 2022-04-18 11:56:46 -07:00
Leonardo de Moura
e6aee1e463 feat: make sure cases and induction alternatives are processed using the order provided by the user
Motivation: improve the effectiveness of the `save` and `checkpoint` tactics.
2022-04-18 11:45:36 -07:00
Leonardo de Moura
822375aaff chore: ensure _ alternative is the last one in the cases and induction tactics 2022-04-18 11:18:03 -07:00
Leonardo de Moura
5599cefe2e feat: add sleep tactic for debugging purposes 2022-04-18 09:53:45 -07:00
Leonardo de Moura
d9f007e4dd fix: tactic cache corruption 2022-04-17 15:52:21 -07:00
Leonardo de Moura
607a590238 test: pge example 2022-04-17 15:17:28 -07:00
Leonardo de Moura
40129203b2 chore: update RELEASES.md 2022-04-17 13:55:46 -07:00
Leonardo de Moura
d4183cf646 feat: add option tactic.dbg_cache 2022-04-17 13:47:28 -07:00
Leonardo de Moura
4a303ec214 feat: include tactic position in the cache key 2022-04-17 13:47:12 -07:00
Leonardo de Moura
deab1ebc56 feat: add save tactic
It is a more convenient way of creating checkpoints.
2022-04-17 08:46:08 -07:00
Leonardo de Moura
fa16a96692 chore: avoid nested noImplicitLambda annotations 2022-04-17 08:09:10 -07:00
Leonardo de Moura
726b735c6d fix: using invalid name generator at ContextInfo.runMetaM
Already used `MVarId`s were being "reused" potentially creating cyclic
metavar assignment. See issue #1031 for an example.

closes #1031
2022-04-15 18:42:34 -07:00
Leonardo de Moura
7fc139fdb0 chore: add doc-string for tactics 2022-04-15 14:19:03 -07:00
Leonardo de Moura
d4f514b964 chore: update stage0 2022-04-15 13:49:51 -07:00
Leonardo de Moura
7995cb071f chore: add assertions to make sure TagDeclarationExtension and MapDeclarationExtension are not being misused
see #1111
2022-04-15 13:49:35 -07:00
Sebastian Ullrich
7797fa3e2d fix: fun (x ...) ... should not be treated as a pattern 2022-04-15 10:00:26 -07:00
Leonardo de Moura
bc7f4fd02b test: hasCSimpAttribute 2022-04-15 09:55:10 -07:00
Leonardo de Moura
33a7f75599 chore: update stage0 2022-04-15 09:46:23 -07:00
Leonardo de Moura
a57403be6e feat: add hasCSimpAttribute 2022-04-15 09:44:50 -07:00
Ed Ayers
d8e2d58da7 doc: InfoTree code review
Co-authored-by: Wojciech Nawrocki <wjnawrocki+gh@protonmail.com>
2022-04-15 09:07:35 -07:00
E.W.Ayers
7d128c17dc doc: #1107 review 2022-04-15 09:04:28 -07:00
E.W.Ayers
9598e39c82 doc: InfoTree docstrings 2022-04-15 09:04:26 -07:00
Sebastian Ullrich
458da0e27b chore: update LeanInk 2022-04-15 08:53:34 -07:00
E.W.Ayers
06e8cf5200 fix: allow non-leaf custom info
At the moment InfoTree has a constructor ofJson but this means that
you can't have a non-leaf ofJson. It would be better to have `ofJson` be a constructor of `Info`.
This is what this PR does.
2022-04-15 08:53:34 -07:00
Leonardo de Moura
4aee759ded fix: make sure rfl is an extensible tactic
closes #1109
2022-04-15 08:51:05 -07:00
Sebastian Ullrich
f98b6a3bb1 fix: fall-out from syntax kind lookup change 2022-04-15 08:50:46 -07:00
Sebastian Ullrich
a2baf2cb96 refactor: split term/command quotations 2022-04-15 08:50:46 -07:00
Sebastian Ullrich
ca8fdcaa0c chore: update stage0 2022-04-15 08:50:46 -07:00
Sebastian Ullrich
e1fbc04c3b chore: accept unregistered syntax kinds in stage 1 2022-04-15 08:50:46 -07:00
E.W.Ayers
712967c6f6 refactor: registerRpcProcedure 2022-04-13 13:23:04 -07:00
Wojciech Nawrocki
d649fc9159 fix: RPC error message 2022-04-13 13:23:04 -07:00
Wojciech Nawrocki
367b0fc80f doc: note persistent exts are sometimes needed 2022-04-13 13:23:04 -07:00
E.W.Ayers
30dfabb2c7 fix: userRpcProcedures uses a persistent env ext 2022-04-13 13:23:04 -07:00
Leonardo de Moura
081dff288f fix: debug build 2022-04-13 13:12:53 -07:00
Leonardo de Moura
f875c2d107 chore: update release notes 2022-04-13 10:33:25 -07:00