Commit graph

19444 commits

Author SHA1 Message Date
Leonardo de Moura
472276f63f feat: add mkRecFor 2020-02-22 11:24:46 -08:00
Leonardo de Moura
38cb8907a0 feat: add helper functions 2020-02-22 11:16:55 -08:00
Leonardo de Moura
4a8c192a00 feat: allow _ "else case" at inductionAlt 2020-02-22 11:16:20 -08:00
Leonardo de Moura
14b9e13dc1 fix: incorrect eraseMacroScopes 2020-02-22 11:16:05 -08:00
Leonardo de Moura
9abb749663 fix: preserve tag 2020-02-21 19:06:54 -08:00
Leonardo de Moura
09f504f376 feat: finish evalGeneralize 2020-02-21 18:32:00 -08:00
Leonardo de Moura
9e2d833be1 feat: add evalGeneralize 2020-02-21 13:42:51 -08:00
Leonardo de Moura
887c7524cc chore: update stage0 2020-02-21 12:14:49 -08:00
Leonardo de Moura
96c7f794cc feat: add generalize parser syntax 2020-02-21 12:12:41 -08:00
Leonardo de Moura
15e60e0e05 feat: add induction tactic entry point 2020-02-21 12:07:10 -08:00
Leonardo de Moura
021986fcad chore: update stage0 2020-02-21 11:45:22 -08:00
Leonardo de Moura
bb0bfb5742 fix: sepBy
If parser consumed something, keep error.
2020-02-21 11:43:45 -08:00
Leonardo de Moura
9694102b3e chore: update stage0 2020-02-21 11:32:04 -08:00
Leonardo de Moura
2fee8059b6 feat: add induction tactic parser 2020-02-21 11:30:36 -08:00
Leonardo de Moura
bc4b3047a9 feat: add whnfHeadPred and whnfUntil 2020-02-20 13:09:22 -08:00
Leonardo de Moura
731a0db044 test: add mkRecursorInfo tests 2020-02-19 19:08:03 -08:00
Leonardo de Moura
583984d044 feat: add getProduceMotiveAndRecursive and cleanup 2020-02-19 19:07:42 -08:00
Leonardo de Moura
3633ac117b feat: add mkRecursorInfo
TODO: `getProduceMotiveAndRecursive`
2020-02-19 18:07:38 -08:00
Leonardo de Moura
d99e41b848 feat: add helper functions 2020-02-19 14:55:16 -08:00
Leonardo de Moura
36096abec0 feat: add Array.findIdxM? and Array.getIdx? 2020-02-19 14:54:55 -08:00
Leonardo de Moura
4e941b15ba feat: add mkRecursorInfo skeleton 2020-02-19 10:56:08 -08:00
Leonardo de Moura
9b6dba1198 chore: update stage0 2020-02-18 20:36:32 -08:00
Leonardo de Moura
ef747196d7 fix: structure instance parser
Use `fieldIndex` instead of `numLit`
2020-02-18 20:27:04 -08:00
Leonardo de Moura
0c13445da6 fix: mkStructView
Reamrk: `1.2` is a numLit
2020-02-18 20:22:04 -08:00
Leonardo de Moura
c434066f45 feat: elabModifyOp 2020-02-18 19:57:55 -08:00
Leonardo de Moura
be8037973c fix: missing eraseMacroScopes 2020-02-18 18:40:57 -08:00
Leonardo de Moura
3da95ea8b0 test: structure instance tests 2020-02-18 17:50:42 -08:00
Leonardo de Moura
ae19d59d28 feat: add elabChoice for CommandElab 2020-02-18 17:18:28 -08:00
Leonardo de Moura
412c3f5978 feat: add evalChoice
cc @Kha
2020-02-18 16:31:36 -08:00
Leonardo de Moura
5a44227f73 fix: isModifyOp? 2020-02-18 11:35:13 -08:00
Leonardo de Moura
2f7976c317 chore: update stage0 2020-02-18 10:59:29 -08:00
Sebastian Ullrich
86d2b82c29 refactor: get rid of antiquotExpr hack 2020-02-18 10:57:27 -08:00
Sebastian Ullrich
25f764daad feat: antiquotation escapes 2020-02-18 10:57:12 -08:00
Daniel Selsam
13721cdfe9 doc: elabissue for structure same-name error msg 2020-02-18 10:52:44 -08:00
Leonardo de Moura
7d7cd1a7c9 doc: document issue
cc @dselsam
2020-02-18 10:52:12 -08:00
Daniel Selsam
94e45f7b81 doc: elabissue for '<id>_main already defined' msg 2020-02-18 10:49:40 -08:00
Leonardo de Moura
36ea3fbaf7 doc: document issue
cc @dselsam
2020-02-18 10:49:04 -08:00
Leonardo de Moura
6900577723 doc: document issue
AFAICT, it has been solved in the new frontend. See new test.

cc @dselsam
2020-02-18 10:41:12 -08:00
Daniel Selsam
1981bbbc7c doc: elabissue for two improvable error messages 2020-02-18 10:34:24 -08:00
Leonardo de Moura
50ddb98fb4 chore: update stage0 2020-02-18 10:29:59 -08:00
Leonardo de Moura
86faccca72 fix: structure instance parser 2020-02-18 10:28:43 -08:00
Leonardo de Moura
f8c73ba95d fix: missing ensureHasType 2020-02-18 10:09:22 -08:00
Leonardo de Moura
dcd64fae5a test: add new structure instance + implicit lambda tests 2020-02-18 09:18:52 -08:00
Leonardo de Moura
c7fcb2c5a7 fix: missing ensureHasType 2020-02-18 09:12:31 -08:00
Leonardo de Moura
ba93e9b895 chore: update stage0 2020-02-17 20:17:40 -08:00
Leonardo de Moura
918bf029d4 feat: elaborate structure instance default values 2020-02-17 20:16:44 -08:00
Leonardo de Moura
81d8b75dff doc: Lean3 structure instance bugs 2020-02-17 20:12:06 -08:00
Leonardo de Moura
378dca293e test: add Expr.find? test 2020-02-17 19:49:13 -08:00
Leonardo de Moura
09f613111b perf: remove used field
The trick is to use `()` to initialize `keys`.
`()` is not a valid `Expr` in our runtime.
2020-02-17 19:18:59 -08:00
Leonardo de Moura
ba61c9866c feat: add FindExpr 2020-02-17 19:13:40 -08:00