Commit graph

24721 commits

Author SHA1 Message Date
Leonardo de Moura
d556ebbdc6 test: add test for binder caching issue 2021-05-02 20:04:41 -07:00
Leonardo de Moura
cadaecb40a fix: similar to previous commit but for LevelMVarToParam 2021-05-02 19:54:52 -07:00
Leonardo de Moura
506bfb8d0b fix: take binder information into account when caching results at instantiateMVars 2021-05-02 19:40:58 -07:00
Leonardo de Moura
56c7454a8d fix: fixes #435 2021-05-02 18:16:57 -07:00
Leonardo de Moura
0f8c6ca797 fix: cache issue at instantiateBetaRevRange 2021-05-02 17:00:35 -07:00
Leonardo de Moura
78a2de4241 feat: better error recovery for match syntax 2021-05-02 17:00:35 -07:00
Leonardo de Moura
59b1f8c143 chore: avoid match_syntax in error messages 2021-05-02 17:00:35 -07:00
Sebastian Ullrich
b8b8cc79a9 feat: show initial case goal on ... => for induction/cases/case/match 2021-05-02 23:07:15 +02:00
Sebastian Ullrich
8863761401 feat: show initial state for tactic combinators by default 2021-05-02 23:07:15 +02:00
Sebastian Ullrich
2734a5baba feat: show state on by 2021-05-02 23:07:15 +02:00
Leonardo de Moura
e4a08769f2 chore: update stage0 2021-05-01 21:53:45 -07:00
Leonardo de Moura
1a0fc816b1 feat: rename inaccessible variable names at cases 2021-05-01 21:51:58 -07:00
Leonardo de Moura
663a5124f4 chore: naming convention 2021-05-01 21:29:06 -07:00
Leonardo de Moura
93189e0fce chore: prepare to change case tactic 2021-05-01 19:53:44 -07:00
Leonardo de Moura
ba5d622e59 chore: avoid case tactic 2021-05-01 19:50:50 -07:00
Leonardo de Moura
e20a07bd6d chore: update stage0 2021-05-01 16:23:32 -07:00
Leonardo de Moura
106952622a chore: modify induction hypotheses generated names 2021-05-01 16:21:12 -07:00
Leonardo de Moura
e70e924327 chore: update stage0 2021-04-30 19:42:14 -07:00
Leonardo de Moura
a2e8bc0780 feat: use binop% to define arith operators
closes #382
2021-04-30 19:40:45 -07:00
Leonardo de Moura
9d934694e7 feat: refine binop% elaborator
see issue #382
2021-04-30 19:37:58 -07:00
Leonardo de Moura
a04babf263 chore: fix tests affected by recent changes 2021-04-30 19:37:18 -07:00
Leonardo de Moura
d01fb5451c feat: add support for binop% at elabCDotFunctionAlias 2021-04-30 19:17:16 -07:00
Leonardo de Moura
cf350e556d chore: update stage0 2021-04-30 18:40:14 -07:00
Leonardo de Moura
0a018f2369 chore: add support for binop% in patterns 2021-04-30 18:38:44 -07:00
Leonardo de Moura
ae6703a1d2 chore: update stage0 2021-04-30 18:23:56 -07:00
Leonardo de Moura
f22fd49ae2 feat: add binop% elaborator
This is an experiment, we will probably need to tweak its behavior.

See issue #382
2021-04-30 18:21:21 -07:00
Leonardo de Moura
7245629913 chore: update stage0 2021-04-30 17:17:03 -07:00
Leonardo de Moura
f8ac5d25dd feat: add notation for helper elaboration function
This similar to `binrel%` but for binary operators.

See issue #382
2021-04-30 17:14:17 -07:00
Kevin Buzzard
ee6a9e74e8
doc: fix typos (#379) 2021-04-30 19:36:30 +02:00
Sebastian Ullrich
e1cde87c43 fix: server: completion & goal state at EOF 2021-04-30 19:25:53 +02:00
tydeu
44f45f426c
feat: add scoped macro_rules (#432) 2021-04-30 09:05:09 +02:00
Leonardo de Moura
adae6fdb40 fix: tolerate type incorrect terms
This bug was producing a type error when I was using `set_option trace.Elab true`
2021-04-29 21:34:15 -07:00
Daniel Fabian
d54c964a51 fix: improve the tactic for brecOn for inductive predicates. 2021-04-29 17:19:09 -07:00
Sebastian Ullrich
ae9b2131c1 chore: reset prefer_native 2021-04-29 13:37:41 +02:00
Sebastian Ullrich
47c9b740b4 chore: update stage0 2021-04-29 13:37:41 +02:00
Sebastian Ullrich
f0960b7f89 fix: ignore antiquotations outside quotations 2021-04-29 13:33:48 +02:00
Sebastian Ullrich
73cf3533a1 fix: count quotation depth in parser correctly 2021-04-29 13:33:48 +02:00
Sebastian Ullrich
be1a929dc7 chore: update stage0 2021-04-29 13:33:48 +02:00
Sebastian Ullrich
7990f6e6e1 perf: use optimized withAntiquot in leading_parser 2021-04-29 13:30:09 +02:00
Sebastian Ullrich
683ecb2d65 feat: ignore unquoted identifiers in prechecked quotations 2021-04-29 13:30:09 +02:00
Leonardo de Moura
f75c9caf30 chore: disable check in the prelude inferInstance helper functions 2021-04-28 17:22:20 -07:00
Leonardo de Moura
e9a93b6f5e chore: update stage0 2021-04-28 17:20:32 -07:00
Leonardo de Moura
45bcf4a32c feat: check instance implicit binder annotations 2021-04-28 17:15:08 -07:00
Sebastian Ullrich
40b17bc364 refactor: introduce a few double-backtick quotations 2021-04-28 12:09:13 +02:00
Leonardo de Moura
04c7d83476 chore: update stage0 2021-04-27 16:41:48 -07:00
Sebastian Ullrich
75e95f93a9 feat: improve let error locality 2021-04-27 16:38:46 -07:00
Sebastian Ullrich
9f0fa19237 feat: notation: unfold to prechecked quotation 2021-04-27 16:38:37 -07:00
Sebastian Ullrich
ad7ee2c81b fix: disable quotation precheck if hygiene is false 2021-04-27 16:38:37 -07:00
Sebastian Ullrich
9301e05a7e feat: double-quoted quotation semantics and basic precheck hooks 2021-04-27 16:38:37 -07:00
Sebastian Ullrich
e9441e4d45 refactor: iterative fun expansion as a macro 2021-04-27 16:38:37 -07:00