Commit graph

8058 commits

Author SHA1 Message Date
Leonardo de Moura
6d5272a404 fix: new compiler type checker 2022-08-11 18:57:06 -07:00
Leonardo de Moura
2eab711308 chore: add trace.Compiler.step 2022-08-11 18:40:13 -07:00
Leonardo de Moura
5dbb907b56 feat: new toLCNF 2022-08-11 18:40:13 -07:00
Leonardo de Moura
3d79581f6b feat: basic LCNF conversion 2022-08-11 18:40:13 -07:00
Mario Carneiro
d8c6c827fe fix: use saturating casts in lean_float_to_uint8 to avoid UB 2022-08-11 13:30:22 -07:00
E.W.Ayers
9ac4cf927d test: add negative number case 2022-08-11 13:27:37 -07:00
Wojciech Nawrocki
42fec60b01 fix: printing of integral JsonNumbers 2022-08-11 13:27:37 -07:00
Mario Carneiro
7cc8f7c4c4 feat: go to definition for antiquot kinds 2022-08-11 17:46:36 +02:00
pcpthm
cbe9adbe9e fix: ac_rfl in subgoal
Closes #1202
2022-08-11 07:16:38 -07:00
Leonardo de Moura
dda1fd27c4 chore: fix test 2022-08-10 20:31:48 -07:00
Leonardo de Moura
d61b8fc68d test: for LCNF types 2022-08-10 11:07:13 -07:00
Gabriel Ebner
e9545a426f refactor: RpcEncodable 2022-08-10 06:31:46 -07:00
Gabriel Ebner
067f8e6449 feat: Std.TypeName and Std.Dynamic 2022-08-10 06:31:46 -07:00
Mario Carneiro
0c3383c0b0 feat: support let mut x := e | alt 2022-08-10 06:29:49 -07:00
Leonardo de Moura
18ccc01cf1 feat: add inferType for LCNF 2022-08-09 17:33:24 -07:00
Leonardo de Moura
9e00cbd6d8 feat: add LCNFTypes.lean 2022-08-09 15:47:58 -07:00
Mario Carneiro
a28c19c161 doc: improve typeclass ops documentation 2022-08-09 14:25:44 -07:00
Mario Carneiro
6026894f9f doc: finish Init.Prelude docs 2022-08-09 14:25:44 -07:00
Leonardo de Moura
fbb858a32c chore: missing case 2022-08-08 23:40:44 -07:00
Leonardo de Moura
1952633a75 chore: compiler simple type experiment 2022-08-08 20:18:46 -07:00
Leonardo de Moura
3c6c395e44 feat: add TerminalCases.lean 2022-08-07 22:05:19 -07:00
Leonardo de Moura
7dbfaf9b75 fix: bug at mkSizeOfSpecLemmaInstance
closes #1441
2022-08-07 09:24:18 -07:00
Mario Carneiro
0b92f625ae feat: MissingDocs doesn't lint on struct redecl 2022-08-07 08:48:42 -07:00
Leonardo de Moura
413db56b89 refactor: simplify runTermElabM and liftTermElabM 2022-08-07 07:35:02 -07:00
Leonardo de Moura
ee70805c35 feat: add LCNF missing cases 2022-08-06 20:23:29 -07:00
Mario Carneiro
37d3479e7c doc: add more docs to Init.Prelude 2022-08-06 09:32:16 -07:00
Sebastian Ullrich
3ee9ab855e fix: logging of linter warnings 2022-08-06 09:25:09 -07:00
Leonardo de Moura
4167b2466a fix: improve heuristic for issue #1419
The fix #1419 generated two regressions on Mathlib.

Fixes #1435
Fixes #1436
2022-08-06 09:00:16 -07:00
Leonardo de Moura
386b0a75bc fix: bug at lean_nat_mod
fixes at #1433
2022-08-06 08:07:25 -07:00
Leonardo de Moura
bf59ad0efc feat: add new compiler entry point function 2022-08-06 08:05:07 -07:00
Mario Carneiro
59b32da2d9 feat: go to def on parser aliases 2022-08-06 12:44:14 +02:00
tydeu
a5e0ae7331 chore: fix test 2022-08-06 10:20:54 +02:00
Leonardo de Moura
9a16d4afce feat: add CompilerM.lean and LCNF.lean 2022-08-05 21:14:39 -07:00
Leonardo de Moura
ddeea5e14f chore: fix test output 2022-08-05 13:01:02 -07:00
Leonardo de Moura
deafc315c7 fix: make forall_congr more robust at conv intro
closes #1426
2022-08-05 12:38:49 -07:00
Leonardo de Moura
50cecdbb62 chore: add Inhabited MProd and Inhabited PProd instances
closes #1420
2022-08-05 11:21:27 -07:00
Leonardo de Moura
7f9be4198b fix: Induction.lean after binderIdent normalization 2022-08-04 21:28:12 -07:00
Leonardo de Moura
55bb8e905a chore: binderIdent normalization
fixes #1411
2022-08-04 21:10:02 -07:00
Leonardo de Moura
659300597d doc: some doc strings for Prelude.lean 2022-08-04 20:55:13 -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
Leonardo de Moura
f0272d9309 feat: multiple namespaces in mutual declarations 2022-08-04 19:18:49 -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
Sebastian Ullrich
2f0b65fad3 fix: do not show inaccessible variable in hover 2022-08-04 11:28:46 -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
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
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
fbef8a32e1 feat: add support for stuck class projection function applications at getStuckMVar?
closes #1408
2022-08-02 16:01:06 -07:00