Commit graph

36377 commits

Author SHA1 Message Date
Leonardo de Moura
0e7afae1da chore: update stage0
Make sure we can use recent improvements for developing Lean itself.
2022-10-18 10:41:24 -07:00
Leonardo de Moura
084a173a47 feat: disable info tree while creating WF auxiliary definitions 2022-10-18 07:44:39 -07:00
Leonardo de Moura
1d6d61af89 feat: disable info tree while creating _unsafe_rec 2022-10-18 07:05:19 -07:00
Leonardo de Moura
4d51cdd1b7 feat: disable info tree while creating sunfold definitions
see #1750
2022-10-18 06:57:46 -07:00
Mario Carneiro
faa612e7b7 chore: remove #resolve_name 2022-10-17 14:53:51 -07:00
Mario Carneiro
8fc6a2a856 fix: dbg_trace tactic 2022-10-17 14:48:23 -07:00
Gabriel Ebner
7da0dd2fcf fix: remove ` (funBinder|`` 2022-10-17 14:07:16 -07:00
Sebastian Ullrich
ce673e3bb8 chore: add Update changelog action 2022-10-17 18:31:20 +02:00
Sebastian Ullrich
4a99df2d8c
chore: CI: exclude "full program" tests from debug/sanitized builds (#1732) 2022-10-17 10:36:01 +02:00
Leonardo de Moura
7b49156270 chore: update stage0 2022-10-16 16:22:05 -07:00
Leonardo de Moura
641fa77738 chore: minimize the number of red-black insert specializations 2022-10-16 16:20:46 -07:00
Leonardo de Moura
ec59bbe15c chore: ensure LCNF pretty printer result supports Format.group 2022-10-16 16:06:08 -07:00
Leonardo de Moura
72c576f62a feat: complete reduceArity pass 2022-10-16 16:00:33 -07:00
Leonardo de Moura
1a02c326e5 chore: fix test 2022-10-16 14:54:07 -07:00
Leonardo de Moura
774a555d3e chore: update stage0 2022-10-16 14:49:55 -07:00
Leonardo de Moura
9244a7a8a5 fix: ensure old and new compiler auxiliary declaration names do not collide 2022-10-16 14:49:55 -07:00
Leonardo de Moura
ab262abdaa chore: update stage0 2022-10-16 14:49:55 -07:00
Leonardo de Moura
40f2247c61 perf: zero cost IR extension startup cost 2022-10-16 14:49:50 -07:00
Leonardo de Moura
defd544d5d feat: add collectUsedParams 2022-10-16 14:20:32 -07:00
Leonardo de Moura
79ed382492 chore: fix test 2022-10-16 09:00:25 -07:00
Leonardo de Moura
4eaf22118a feat: add cse pass at mono phase 2022-10-16 08:58:06 -07:00
Leonardo de Moura
fd46ef01e8 chore: add another floatLetIn pass
See `elabAppFn` for a function that benefits from this extra pass.
2022-10-16 08:51:13 -07:00
Leonardo de Moura
ae627e9a58 chore: remove leftover from old frontend 2022-10-16 08:41:03 -07:00
Leonardo de Moura
c20febff31 feat: add helper Syntax.node* functions 2022-10-16 08:40:01 -07:00
Leonardo de Moura
729fd63b29 fix: incorrect initial array size 2022-10-16 07:48:30 -07:00
Leonardo de Moura
bebce084fa fix: bug at toLCNF.visitMData 2022-10-16 07:38:40 -07:00
Leonardo de Moura
8a81dfb876 feat: add Probe.sortedBySize, Probe.tail, and Probe.head 2022-10-15 20:12:53 -07:00
Leonardo de Moura
4b018cdc72 chore: missing annotations 2022-10-15 19:51:56 -07:00
Leonardo de Moura
9a41680ec9 feat: add Probe.getJps 2022-10-15 19:28:59 -07:00
Leonardo de Moura
dac4e6f214 fix: probing functions were not visiting FunDecl.value 2022-10-15 17:50:18 -07:00
Leonardo de Moura
f9acb7fc9f chore: update stage0 2022-10-15 15:48:09 -07:00
Leonardo de Moura
b4d850502d fix: avoid join point that takes closure at seqToCode 2022-10-15 15:48:02 -07:00
Leonardo de Moura
61813d60c6 test: for join point taking closure as parameter 2022-10-15 12:05:53 -07:00
Leonardo de Moura
3df13bb7b4 chore: update stage0 2022-10-15 11:59:28 -07:00
Leonardo de Moura
4d9483d1fa fix: if inlined code returns a function and has more than one exit point, create an auxiliary function instead of a join point that takes a closure as argument 2022-10-15 11:56:52 -07:00
Leonardo de Moura
53b995386d fix: avoid [anonymous] at LCNF binder names 2022-10-15 11:56:52 -07:00
Henrik Böving
741fac924a chore: inline control primitives 2022-10-15 10:48:47 -07:00
Leonardo de Moura
34e5ac3013 chore: update stage0 2022-10-15 08:55:15 -07:00
Leonardo de Moura
376c541e9a feat: do not generate code for declarations that will be specialized 2022-10-15 08:54:46 -07:00
Leonardo de Moura
359dc77664 refactor: move isTemplateLike to LCNF/Basic.lean 2022-10-15 08:51:20 -07:00
Leonardo de Moura
3505b60a22 feat: probing helper functions 2022-10-15 08:51:20 -07:00
Siddharth
48b6fee467
chore: remove stray STATIC in src/shell (#1736) 2022-10-15 14:27:13 +02:00
Leonardo de Moura
1eda0fd734 chore: missing annotation 2022-10-14 20:38:06 -07:00
Leonardo de Moura
6378283fa8 feat: add Probe.toString 2022-10-14 19:21:56 -07:00
Henrik Böving
38788a72be feat: basic compiler probing framework with examples 2022-10-14 19:09:35 -07:00
Gabriel Ebner
05694a11f3 chore: update stage0 2022-10-14 13:39:26 -07:00
Sebastian Ullrich
1ddfb72106 chore: Nix: handle huge packages 2022-10-14 22:21:08 +02:00
Sebastian Ullrich
616d562d73 feat: lean --deps-json --stdin 2022-10-14 22:20:44 +02:00
Gabriel Ebner
045a71ab33 hack: ignore maxCoeSize for monad coercions 2022-10-14 12:08:10 -07:00
Gabriel Ebner
1c561c39a8 feat: function coercions with unification 2022-10-14 12:08:10 -07:00