Commit graph

36377 commits

Author SHA1 Message Date
Sebastian Ullrich
18a4b277fc test: more fair qsort.ml benchmark 2022-10-12 20:22:55 +02:00
Mario Carneiro
c06cffa54f refactor: rename isExitCommand -> isTerminalCommand 2022-10-12 11:11:31 -07:00
Mario Carneiro
8dfae9eb38 feat: import command stub 2022-10-12 11:11:31 -07:00
Leonardo de Moura
aa845dee98 feat: cache lambda lifted functions 2022-10-11 21:28:03 -07:00
Leonardo de Moura
767bda2c28 chore: preparing to change the semantics of @[inline] instance
In the new code generator, we are going to lambda lift the instance
methods before saving the code at the end of the base phase. The goal is to make instance
ligth weight and cheap to inline. The anotation `@[inline]` is going
to be an annotation for the lambda lifted methods.
2022-10-11 20:35:56 -07:00
Gabriel Ebner
1de142a20b chore: update release notes 2022-10-11 17:24:35 -07:00
Gabriel Ebner
f58b26b4b0 chore: update LeanInk 2022-10-11 17:24:35 -07:00
Gabriel Ebner
15d7744cca chore: fix tests 2022-10-11 17:24:35 -07:00
Gabriel Ebner
c8bb2ea3cf chore: post-bootstrap cleanup 2022-10-11 17:24:35 -07:00
Gabriel Ebner
2649b4facd chore: update stage0 2022-10-11 17:24:35 -07:00
Gabriel Ebner
6593bd98b3 chore: add test for 1692 2022-10-11 17:24:35 -07:00
Gabriel Ebner
ba57ad3480 feat: add implementation-detail hypotheses 2022-10-11 17:24:35 -07:00
Gabriel Ebner
45c4f2faa0 refactor: remove _aux_discr 2022-10-11 17:24:35 -07:00
Gabriel Ebner
0d3d05bd3a feat: clear% 2022-10-11 17:24:35 -07:00
Mario Carneiro
f4b04216eb feat: go to duplicate definition 2022-10-11 10:07:49 +02:00
Chris Lovett
664e62e8c5
doc: add question mark to LEAN_IDENT_RE (#1713) 2022-10-11 10:04:56 +02:00
Leonardo de Moura
02a3dcb1dd feat: hash for LCNF.Code 2022-10-10 20:34:12 -07:00
Leonardo de Moura
525b4f761c chore: fix tests 2022-10-10 17:48:32 -07:00
Leonardo de Moura
1b4cfbe94b chore: update stage0 2022-10-10 17:23:01 -07:00
Leonardo de Moura
3f24ce71ab feat: add another floatLetIn pass at mono phase 2022-10-10 17:19:40 -07:00
Leonardo de Moura
a153519992 chore: update stage0 2022-10-10 17:09:23 -07:00
Gabriel Ebner
1742c79afe chore: remove auxDecl binder info 2022-10-10 16:30:16 -07:00
Henrik Böving
dd3c0f77f1 feat: FloatLetIn compiler pass 2022-10-10 23:56:20 +02:00
Henrik Böving
d132551829 feat: extend FVarUtil framework 2022-10-10 23:32:36 +02:00
Henrik Böving
e15e6bfaee chore: address PR comments 2022-10-10 23:32:36 +02:00
Leonardo de Moura
7b3709e28a chore: simplify proof in test for #1711
TODO: improve support for instance implicit arguments at `congr`
2022-10-10 07:29:53 -07:00
Leonardo de Moura
0041de5d1d fix: congr tactic should not try to synthesize instance implicit arguments that have been inferred when applying congr theorem
see #1711
2022-10-10 07:24:27 -07:00
Leonardo de Moura
fb4200e633 chore: fix tests 2022-10-09 21:51:51 -07:00
Leonardo de Moura
b20e208867 chore: pretty print LCNF cases result type 2022-10-09 20:13:17 -07:00
Leonardo de Moura
3313500056 chore: update stage0 2022-10-09 18:38:57 -07:00
Leonardo de Moura
6f023a44ad fix: let _x.i := _x.j simplification at LCNF simp 2022-10-09 18:38:28 -07:00
Leonardo de Moura
72d3840f0c feat: add simpCast? 2022-10-09 18:29:12 -07:00
Leonardo de Moura
6c5475725e feat: (lcCast _ _ g) a_1 ... a_n => g a_1 ... a_n if type correct 2022-10-09 17:45:15 -07:00
Leonardo de Moura
30bd019a7f chore: simplify SimpValue.lean 2022-10-09 17:35:13 -07:00
Leonardo de Moura
e4b97e1698 chore: update stage0 2022-10-09 16:48:20 -07:00
Leonardo de Moura
54944819a0 feat: add simpCastCast? 2022-10-09 16:43:33 -07:00
Leonardo de Moura
cd303cd8e5 fix: do not apply simpAppApp? over cast 2022-10-09 16:43:10 -07:00
Leonardo de Moura
cf313d2101 chore: improve eqvTypes 2022-10-09 16:42:55 -07:00
Leonardo de Moura
43fe67c41a chore: helper pass for debugging purposes 2022-10-09 16:41:54 -07:00
Leonardo de Moura
b87838115f chore: update stage0 2022-10-09 15:35:54 -07:00
Leonardo de Moura
9feb4d8ab7 fix: do not generate code for [extern] functions 2022-10-09 15:35:29 -07:00
Leonardo de Moura
2e09ac16b1 chore: update stage0 2022-10-09 13:01:42 -07:00
Leonardo de Moura
11fcdb7bf4 feat: add cast at exit points if necessary when inlining code 2022-10-09 13:01:10 -07:00
Leonardo de Moura
ef2d17120c chore: fix note 2022-10-09 12:25:45 -07:00
Leonardo de Moura
2d3c17cd53 chore: update stage0 2022-10-09 12:12:40 -07:00
Leonardo de Moura
cc09afc5e1 fix: type error introducing when inlining LCNF functions
This issue has been reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Annoying.20LCNF.20errors/near/303142516
2022-10-09 12:10:11 -07:00
Leonardo de Moura
f61ec4929f chore: add low-level normExprCore 2022-10-09 12:10:11 -07:00
Leonardo de Moura
263be54dcf chore: fix tests 2022-10-09 12:10:11 -07:00
Leonardo de Moura
e81673366a chore: remove leftover 2022-10-09 12:10:11 -07:00
Leonardo de Moura
613c8027d7 fix: missing instantiateParamsLevelParams 2022-10-09 12:10:11 -07:00