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
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
Sebastian Ullrich
f1f0f60768
fix: linter warnings
2022-07-29 10:31:19 -07:00
Sebastian Ullrich
b027946496
feat: suffix linter messages with option name
2022-07-29 10:31:19 -07:00
Sebastian Ullrich
5e6b2a9460
feat: add 'suspicious unexpander patterns' linter
2022-07-29 10:31:19 -07:00
Sebastian Ullrich
e048bbc93a
perf: unused variables linter: early cut-off
2022-07-29 10:31:19 -07:00
Sebastian Ullrich
2a977d8969
refactor: move unused variables linter into separate file
2022-07-29 10:31:19 -07:00
Patrick Massot
435017231d
doc: add some docstrings and docstrings details
2022-07-29 10:30:43 -07:00
Sebastian Ullrich
c11bd6fa97
test: fix foreign function signatures
2022-07-29 14:10:15 +02:00
Ed Ayers
c3f58a7eab
feat: add a message if Lean 4 is called with the Lean 3 extension
2022-07-29 11:08:51 +00:00
Leonardo de Moura
3e4a805b5b
chore: typo
2022-07-28 20:12:20 -07:00
Leonardo de Moura
b0feb0c867
chore: update stage0
2022-07-28 20:08:39 -07:00
Leonardo de Moura
012cb13f51
feat: add [elabAsElim] elaboration strategy
2022-07-28 20:08:29 -07:00
Leonardo de Moura
163fe62ac7
chore: update release notes
2022-07-28 15:18:40 -07:00
Leonardo de Moura
a6c53cf974
fix: fixes #1380
2022-07-28 15:14:50 -07:00
Sebastian Ullrich
a2ccf8f122
feat: accept keywords as constructor names
2022-07-28 12:46:28 -07:00
Leonardo de Moura
ee6e2036dd
feat: allow relations in Type at Trans
...
It addresses issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Calc.20mode/near/291214574
2022-07-28 10:13:01 -07:00
Leonardo de Moura
d0d5effcbc
doc: update doc string
2022-07-28 09:48:46 -07:00
Sebastian Ullrich
556358e84c
chore: Nix: better solution for filtering test output
2022-07-28 17:12:17 +02:00
Wojciech Nawrocki
e7f91d2d01
feat: forward all args to server
2022-07-28 15:58:32 +02:00
Wojciech Nawrocki
2744f94ff5
fix: forward memory and stack sizes to server
2022-07-28 15:58:32 +02:00
Leonardo de Moura
10c49d0007
fix: preserve user-facing names and BinderInfo when lifting let-rec declarations
...
closes #1377
2022-07-28 06:36:45 -07:00
Siddharth
a9e22a5119
doc: src/Lean/Declaration.lean ( #1330 )
...
* doc: Add explanations to MetavarContext
The explanations were taken from Leo's talk at the ICERM
Mathlib porting hackathon.
* doc: Add documentation for Declaration
This is explanations taken from Leo's talk given
at the post ICERM Mathlib porting hackathon.
* Update src/Lean/Declaration.lean
Co-authored-by: Scott Morrison <scott@tqft.net>
* Update src/Lean/Declaration.lean
Co-authored-by: Scott Morrison <scott@tqft.net>
* Update src/Lean/MetavarContext.lean
Co-authored-by: Scott Morrison <scott@tqft.net>
* fix depth comment
Co-authored-by: Scott Morrison <scott@tqft.net>
2022-07-27 19:46:11 -07:00
Leonardo de Moura
b5ad9bd4e2
chore: update stage0
2022-07-27 19:38:19 -07:00
Leonardo de Moura
6db01d8e48
perf: simpler isDefEq caching
...
We don't try to reuse the cache contents between different `isDefEq`
calls. Thus, we can cache more results and ignore whether the state of
the metavariable context affects them or not.
Closes #1102
2022-07-27 19:35:45 -07:00
Leonardo de Moura
654a4b0478
fix: add term info at trailing parsers
2022-07-27 18:10:46 -07:00
Leonardo de Moura
388163e023
doc: add some doc strings
2022-07-27 18:02:47 -07:00