Mario Carneiro
7cefcf1f61
fix: fix test
2022-07-31 15:42:26 -07:00
Mario Carneiro
89a16daa81
feat: add TokenMap
2022-07-31 15:42:26 -07:00
Mario Carneiro
42a4f2f451
feat: ForIn instance for NameMap and PersistentHashMap
2022-07-31 15:42:26 -07:00
Sebastian Ullrich
e6c7e2dd9f
chore: CI: Nix ccache permissions
2022-07-31 23:06:47 +02:00
Leonardo de Moura
8241c49e11
fix: variable binder update commands
...
This issue was reported by @hrmacbeth at the ICERM after-party hackton.
2022-07-31 10:08:48 -07:00
Mario Carneiro
defaa52f64
chore: update stage0
2022-07-31 16:36:54 +02:00
Sebastian Ullrich
759a7d771f
fix: do not show inferred type on attribute application
2022-07-31 16:36:54 +02:00
Mario Carneiro
603b7486e3
feat: add go-to-def for simple attributes
2022-07-31 16:36:54 +02:00
Leonardo de Moura
08047a178a
chore: update stage0
2022-07-31 06:04:25 -07:00
Leonardo de Moura
8a39a2dd5a
chore: update stage0
2022-07-31 06:01:51 -07:00
Leonardo de Moura
37af11ae20
fix: unused match-syntax alternatives are silently ignored
...
closes #1371
2022-07-31 06:00:08 -07:00
Leonardo de Moura
feb71271e9
fix: remove redundant alternatives
2022-07-31 05:28:14 -07:00
Leonardo de Moura
30efb589a6
chore: update stage0
2022-07-31 04:32:07 -07:00
Leonardo de Moura
2f00d60115
feat: helper parser for issue #1371
2022-07-31 04:30:02 -07:00
tydeu
f4734e35ff
feat: inherit deep desp's revision from dep's manifest
...
closes leanprover/lake#70
2022-07-31 03:16:27 -04:00
Leonardo de Moura
cc032446f4
chore: style
2022-07-30 21:29:12 -07:00
Leonardo de Moura
4c1387b99b
chore: typos
2022-07-30 21:26:08 -07:00
Siddharth
68e26278c7
doc: Add explanations to MetavarContext ( #1331 )
...
* doc: Add explanations to MetavarContext
The explanations were taken from Leo's talk at the ICERM
Mathlib porting hackathon.
* Update src/Lean/MetavarContext.lean
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
* add my understanding of what LocalInstances represents
* Update src/Lean/MetavarContext.lean
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
Co-authored-by: Leonardo de Moura <leonardo@microsoft.com>
2022-07-30 21:24:42 -07:00
Leonardo de Moura
a489bdb107
doc: some doc strings
2022-07-30 21:18:50 -07:00
Leonardo de Moura
ab6af0118c
doc: add inductive command doc string
2022-07-30 15:15:16 -07:00
Leonardo de Moura
f7ca057fea
doc: add some doc strings at Environment.lean
2022-07-30 15:05:13 -07:00
Leonardo de Moura
378f91607c
chore: update stage0
2022-07-30 14:41:45 -07:00
Leonardo de Moura
a63cb24a38
feat: structure field auto-completion
2022-07-30 14:40:21 -07:00
Leonardo de Moura
75f7681a09
chore: update stage0
2022-07-30 10:21:59 -07:00
Leonardo de Moura
83ee9b1a57
feat: auto-completion for dotted identifier notation
2022-07-30 10:21:04 -07:00
Leonardo de Moura
d38fca5f4d
chore: update phoas.lean
...
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/PHOAS.20example/near/291433426
2022-07-30 08:44:18 -07:00
Leonardo de Moura
3dfa895bf0
feat: OfNat instance postprocessor
...
Closes #1389
2022-07-30 08:35:45 -07:00
Leonardo de Moura
0e0a3e1f63
chore: style
2022-07-30 08:35:45 -07:00
Mario Carneiro
323c94ef34
feat: doc comments on anonymous initialize
2022-07-30 11:20:24 +02:00
Mario Carneiro
05e42b51b3
feat: use with_decl_name% in initialize
2022-07-30 11:20:24 +02:00
Leonardo de Moura
78927542b7
chore: doc strings
2022-07-29 21:39:34 -07:00
Leonardo de Moura
ab9b2ea3b2
chore: update stage0
2022-07-29 21:25:33 -07:00
Leonardo de Moura
b2ba20e870
chore: update stage0
2022-07-29 21:25:33 -07:00
Leonardo de Moura
ec7b5c6c2a
chore: remove redundant data form Expr.Data
2022-07-29 21:25:03 -07:00
Leonardo de Moura
fbc6bcff92
chore: remove unnecessary french quotes
2022-07-29 20:53:01 -07:00
Leonardo de Moura
dadab54014
chore: remove unused param
2022-07-29 20:41:38 -07:00
Leonardo de Moura
e6031925c3
fix: bug resolving names when using def _root_.
2022-07-29 19:55:02 -07:00
Leonardo de Moura
e564ae834a
doc: add doc strings
2022-07-29 18:58:36 -07:00
Leonardo de Moura
1b8cda480f
feat: elabAsElim eta-expand when major premises are not provided
2022-07-29 18:31:25 -07:00
Leonardo de Moura
eafd2a88ce
chore: simplify Prelude.lean and Core.lean using elabAsElim
2022-07-29 18:13:56 -07:00
Leonardo de Moura
485406cc55
fix: no hover info on _ at fun _ => ...
2022-07-29 14:53:02 -07:00
Leonardo de Moura
26a565496e
chore: remove dead code
2022-07-29 14:38:00 -07:00
Leonardo de Moura
239a3b9298
chore: cleanup
2022-07-29 14:38:00 -07:00
Sebastian Ullrich
2c1e6a0343
chore: update stage0
2022-07-29 21:44:57 +02:00
Mario Carneiro
9a401c852c
feat: add decl_name% / with_decl_name% macros
2022-07-29 21:42:51 +02:00
Leonardo de Moura
a44ae3c0fa
fix: ensure elabAsElim does not introduce detached info nodes
2022-07-29 12:27:01 -07:00
Leonardo de Moura
6b318ddde6
chore: style
2022-07-29 12:27:01 -07:00
tydeu
c0a04de055
feat: store config rev in manifest and warn on change
...
see leanprover/lake#85
2022-07-29 15:15:39 -04:00
Sebastian Ullrich
3362b38829
chore: more unused variable to-do markers
2022-07-29 19:41:12 +02:00
Sebastian Ullrich
f4de40d7dc
feat: turn on warningAsError
2022-07-29 10:31:19 -07:00