Commit graph

29801 commits

Author SHA1 Message Date
Leonardo de Moura
659300597d doc: some doc strings for Prelude.lean 2022-08-04 20:55:13 -07:00
Leonardo de Moura
13518da4c7 chore: update stage0 2022-08-04 19:37:58 -07:00
Mario Carneiro
e2f706a7f7 fix: syntax match 2022-08-04 19:35:00 -07:00
Mario Carneiro
c1d2f3c5a6 feat: make MissingDocs extensible 2022-08-04 19:35:00 -07:00
Mario Carneiro
4867e726a6 chore: update stage0 2022-08-04 19:34:57 -07:00
Mario Carneiro
eef51aced2 feat: make MissingDocs extensible (part 1) 2022-08-04 19:32:17 -07:00
Leonardo de Moura
f0272d9309 feat: multiple namespaces in mutual declarations 2022-08-04 19:18:49 -07:00
Leonardo de Moura
16d6f13eed chore: fix warnings 2022-08-04 16:05:09 -07:00
Leonardo de Moura
87bb1901e2 chore: update stage0 2022-08-04 16:01:23 -07:00
Leonardo de Moura
7cb67bb123 chore: update stage0 2022-08-04 15:57:45 -07:00
Leonardo de Moura
0717bdb66d fix: fixes #1419 2022-08-04 15:44:38 -07:00
Leonardo de Moura
f295a76b69 chore: fix test output 2022-08-04 15:29:17 -07:00
Leonardo de Moura
8615c42a5d tests: projection defeq strategy 2022-08-04 15:28:22 -07:00
Leonardo de Moura
4501bdecb1 chore: naming convention 2022-08-04 15:28:22 -07:00
Sebastian Ullrich
2f0b65fad3 fix: do not show inaccessible variable in hover 2022-08-04 11:28:46 -07:00
Leonardo de Moura
a30a31b1b0 fix: findDocString? 2022-08-04 10:32:41 -07:00
Leonardo de Moura
85cda05c92 chore: improve expandParen do notation 2022-08-04 10:01:32 -07:00
Leonardo de Moura
0ec56c3367 chore: fix doc string 2022-08-04 08:45:30 -07:00
Leonardo de Moura
1008607b25 chore: cleanup annotate method at Do.lean 2022-08-04 08:44:56 -07:00
Leonardo de Moura
9e69259f83 chore: update stage0 2022-08-03 20:01:34 -07:00
Sebastian Ullrich
abde2e4606 fix: unused variables in foreign definition 2022-08-03 18:15:15 -07:00
Mario Carneiro
f5c5af1e86
doc: document all the syntax categories (#1401)
* chore: use Category declarations for builtin cats too

* doc: document all the syntax categories

* fix: fix test
2022-08-03 18:13:39 -07:00
Mario Carneiro
e816424466
chore: use Category declarations for builtin cats too (#1400) 2022-08-03 18:10:54 -07:00
Leonardo de Moura
84ff8d4a04 feat: store pending contraints during dependent pattern matching
It is a better solution for issues #1361 and #1279, and it was on the
to-do list for a while.
2022-08-03 17:45:55 -07:00
Leonardo de Moura
f2921993bb feat: add LocalContext.replaceFVarId 2022-08-03 11:21:55 -07:00
Leonardo de Moura
cc91298570 feat: add PersistentHashMap.map and PersistentHashMap.mapM 2022-08-03 11:20:17 -07:00
Leonardo de Moura
e9bcc779fe feat: add Array.mapM' 2022-08-03 11:18:19 -07:00
Leonardo de Moura
cb6ae247aa chore: remove [specialize] annotations from fold operations on PersistentHashMap
They have little impact on performance, but increase the generated code size
2022-08-03 10:38:31 -07:00
Leonardo de Moura
cbd022e4eb refactor: replaceFVarIdAtLocalDecl => LocalDecl.replaceFVarId 2022-08-03 10:32:45 -07:00
Leonardo de Moura
b4ad6fc289 chore: do not generate "redundant alternatives" message when there are missing cases 2022-08-03 08:21:09 -07:00
Leonardo de Moura
a9e7290e4b refactor: use isDefEq instead of custom unify procedure
See comment with new issue at #1361
2022-08-02 18:00:00 -07:00
Leonardo de Moura
ae5db0f563 chore: style 2022-08-02 17:44:19 -07:00
Leonardo de Moura
fbef8a32e1 feat: add support for stuck class projection function applications at getStuckMVar?
closes #1408
2022-08-02 16:01:06 -07:00
Leonardo de Moura
40226f775f chore: doc strings for ProjFns.lean 2022-08-02 15:58:56 -07:00
Leonardo de Moura
9d36f45074 chore: cleanup 2022-08-02 14:45:19 -07:00
Leonardo de Moura
2e37582f31 feat: allow users to install their own deriving hanlders for builtin classes 2022-08-02 08:29:24 -07:00
Leonardo de Moura
5df588cbbf chore: remove unnecessary annotations 2022-08-02 05:42:53 -07:00
Leonardo de Moura
dc51583233 chore: update stage0 2022-08-02 04:59:18 -07:00
Sebastian Ullrich
a44472962d fix: replace uses of token antiquotations in tactics with with_annotate_state 2022-08-02 04:54:48 -07:00
Sebastian Ullrich
8b235579e3 fix: ignore with_annotate_state for hover/go-to 2022-08-02 04:54:48 -07:00
Sebastian Ullrich
d738e8e392 chore: update stage0 2022-08-02 04:54:48 -07:00
Sebastian Ullrich
0272c30b4b fix: token antiquotations should create synthetic positions
synthetic means synthetic means synthetic
2022-08-02 04:54:48 -07:00
Leonardo de Moura
303e322255 feat: avoid [Decidable p] instance implicit parameters in congruence theorems when possible 2022-08-02 04:47:42 -07:00
Leonardo de Moura
b2f34bdedd feat: improve congr conv tactic
It has better support for proof irrelevant and `[Decidable p]` arguments
2022-08-02 04:26:34 -07:00
Leonardo de Moura
01ce4b9982 feat: use infer_instance to close remaining goals at conv block 2022-08-02 04:24:56 -07:00
Leonardo de Moura
c143631ab1 chore: missing instantiateMVars 2022-08-02 02:24:50 -07:00
Leonardo de Moura
e6d5349abb chore: unused variable 2022-08-02 02:24:50 -07:00
Leonardo de Moura
3ab26f00ea refactor: use congr tactic to implement the congr conv tactic 2022-08-02 02:24:50 -07:00
Leonardo de Moura
e79917d9a8 fix: missing instantiateMVars 2022-08-02 02:24:50 -07:00
Leonardo de Moura
4e911765eb chore: unused vars 2022-08-02 02:24:50 -07:00