Commit graph

29801 commits

Author SHA1 Message Date
Leonardo de Moura
076d40f51c feat: use implies_congr at congr tactic, and cleanup 2022-08-02 02:24:50 -07:00
Chris Lovett
272c6ebdf1
chore: CI: remove TPIL trigger
now a cronjob
2022-08-02 09:08:23 +00:00
Leonardo de Moura
99413a18ff feat: add congr tactic 2022-08-01 18:44:07 -07:00
Leonardo de Moura
cdd2a624fc fix: mkHCongr 2022-08-01 18:44:07 -07:00
Leonardo de Moura
815bc95c47 refactor: remove duplication MVarId.applyRefl => MVarId.refl
and mark `MVarId.applyRefl` as deprecated.
2022-08-01 18:44:07 -07:00
Leonardo de Moura
a5a70a0543 chore: cleanup 2022-08-01 18:44:07 -07:00
Mario Carneiro
5f39370d94 chore: rename skip conv to rfl and add no-op skip 2022-08-01 13:54:36 -07:00
Leonardo de Moura
8781203372 chore: rename misleading function
`charToHex` is an auxiliary function used at `Char.quoteCore` for
converting ASCII control characters into `\x` notation.
Its name was misleading.

Closes #1404
2022-08-01 13:21:03 -07:00
Leonardo de Moura
e39eebabd9 fix: move doc string to parser that sets the SyntaxNodeKind for the { tac } notation
see #1403

This fixes the hover for `{ tac }`
2022-08-01 13:01:37 -07:00
Leonardo de Moura
c95acef20e fix: ignore syntax nodes with nullKind at hoverableInfoAt?
It fixes one of the problems reported at #1403
2022-08-01 12:18:36 -07:00
Leonardo de Moura
2af7bf1b54 chore: fix link at src/Lean/Server/README.md
cc @digama0
2022-08-01 11:12:19 -07:00
Leonardo de Moura
5a8ee410b1 chore: remove infoTree.lean test
Motivation: it is not very useful anymore, and more importantly it
breaks all the time because it is affected by how many internal ids
are created by Lean.
2022-08-01 10:02:24 -07:00
Leonardo de Moura
0156b59ef1 chore: enforce naming convention 2022-08-01 09:58:11 -07:00
Mario Carneiro
f235cd8537 doc: document all the convs 2022-08-01 09:28:30 -07:00
Mario Carneiro
5ed3e580ef fix: allow {} as conv 2022-08-01 08:47:51 -07:00
Mario Carneiro
25aea1b723 doc: document all the tactics 2022-08-01 08:08:03 -07:00
Sebastian Ullrich
de029566d1 fix: unused variables false positive with match 2022-08-01 07:09:08 -07:00
Mario Carneiro
df85fee62c chore: rename ac_refl to ac_rfl 2022-08-01 06:53:08 -07:00
Mario Carneiro
d92948bc20 chore: prune ancient keywords 2022-08-01 13:32:56 +02:00
Wojciech Nawrocki
161ef7a67c doc: fix link 2022-08-01 13:03:54 +02:00
Mario Carneiro
114cd3e5cd doc: add ParserCategory docs 2022-08-01 11:23:09 +02:00
Mario Carneiro
ecb787529a refactor: rename ref to declName 2022-08-01 11:23:09 +02:00
Mario Carneiro
76eddb06a5 chore: update stage0 2022-08-01 11:23:09 +02:00
Mario Carneiro
711532f5c6 feat: add ref field to ParserCategory 2022-08-01 11:23:09 +02:00
Mario Carneiro
65e2b8a932 feat: track parser names by category 2022-08-01 11:23:09 +02:00
Leonardo de Moura
c76fa06816 chore: update release notes 2022-07-31 18:25:48 -07:00
Mario Carneiro
c952c69690 feat: add missingDocs linter 2022-07-31 18:18:21 -07:00
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
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