tydeu
2ac782c315
test: lake: add env & dep cfg benchmarks + cleanup
2023-09-22 20:31:48 -04:00
Sebastian Ullrich
c3fd34f933
chore: disable "lake build lean" benchmark for now
2023-09-22 20:05:20 +02:00
Mac Malone
57fb580a71
doc: fix Inundation README typo
...
Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
2023-09-22 20:05:20 +02:00
tydeu
00efb7eaca
test: add reconfigure benchmark
2023-09-22 20:05:20 +02:00
tydeu
5b2e3e2b0a
test: make compatible with olean caching
2023-09-22 20:05:20 +02:00
tydeu
8dba187910
chore: inundation for configure benchmark
2023-09-22 20:05:20 +02:00
tydeu
7c2ca92661
doc: improve inundation README
2023-09-22 20:05:20 +02:00
tydeu
1d51492139
test: lake: add build Init/Lean/Lake benchmark
2023-09-22 20:05:20 +02:00
tydeu
9a0e57c721
test: add lake benchmarks
2023-09-22 20:05:20 +02:00
Arthur Adjedj
325fab1c1d
fix: don't try to generate below for nested predicates. ( #2390 )
...
* fix: don't try to generate `below` for nested predicates.
* doc : document test #2389
* doc : document `mkBelow`
* test: extend `2389.lean`
* style: fix comments in `IndPredBelow.lean` and `2389.lean`
2023-09-21 14:24:37 +10:00
thorimur
e79370a1e6
fix: only return new mvars from refine, elabTermWithHoles, and withCollectingNewGoalsFrom ( #2502 )
...
* fix: `withCollectingNewGoalsFrom`
do not collect old goals
* fix: update occurs check
* test: fix test `run/492.lean`
* docs: add docstring to `elabTermWithHoles`
* test: `refineFiltersOldMVars`
* test: fix `expected.out` name
* test: fix `expected.out` filename and line numbers
* docs: use long ascii dash instead of em dash
Co-authored-by: Scott Morrison <scott@tqft.net>
* docs: fix long line, mention lean4#2502
* docs: a couple more long lines
* test: fix line numbers
---------
Co-authored-by: Scott Morrison <scott@tqft.net>
2023-09-21 14:23:27 +10:00
Sebastian Ullrich
dc60150b5a
chore: update domain
2023-09-20 15:13:27 -07:00
Joachim Breitner
b2d668c340
perf: Use flat ByteArrays in Trie ( #2529 )
2023-09-20 13:22:37 +02:00
Mario Carneiro
f0af71a57b
fix: use MoveFileEx for rename on win
2023-09-19 20:24:37 +02:00
Sebastian Ullrich
3e755dc0e1
fix: enforce linebreak between calc steps
2023-09-18 05:39:41 -04:00
Scott Morrison
c318d5817d
feat: allow configuring occs in rw
2023-09-13 12:03:18 -07:00
Sebastian Ullrich
c67686132a
feat: include unexpected token in error message
2023-09-12 11:42:24 +02:00
Sebastian Ullrich
e580c903e6
feat: adjust message range on unexpected token error
2023-09-12 11:42:24 +02:00
Jannis Limperg
13ca443f05
fix: simp: include class projections in UsedSimps ( #2489 )
...
* fix: simp: include class projections in UsedSimps
Fixes #2488
2023-09-07 08:54:00 +10:00
Mario Carneiro
2037094f8c
doc: document all parser aliases ( #2499 )
2023-09-06 09:02:25 +00:00
Jannis Limperg
9a262d7cef
fix: simpGoal reports incomplete UsedSimps ( #2487 )
2023-09-01 10:20:49 +10:00
tydeu
926663505e
chore: split up & simplify importModules
2023-08-31 15:37:33 -04:00
Scott Morrison
a7efe5b60e
Revert "fix: make sure refine preserves pre-existing natural mvars ( #2435 )" ( #2485 )
...
This reverts commit 0b64c1e330 .
2023-08-30 08:00:30 +00:00
Scott Morrison
4a41e7eb53
chore: basic tests exercising rw
2023-08-29 08:07:58 +01:00
thorimur
0b64c1e330
fix: make sure refine preserves pre-existing natural mvars ( #2435 )
...
* fix: `withCollectingNewGoals`
* don't exclude pre-existing natural mvars
* test: ensure pre-existing natural mvars are preserved
* docs: update comment and include issue number
* test: expected.out
* docs: add module docstrings to test
* also deleted superfluous `add_synthetic_goal`
* test: fix expected.out line numbers
* Update tests/lean/refinePreservesNaturalMVars.lean
Co-authored-by: Scott Morrison <scott@tqft.net>
* docs: clarify comment
---------
Co-authored-by: Scott Morrison <scott@tqft.net>
2023-08-25 19:25:54 -07:00
Scott Morrison
f1412ddb45
feat: enable failIfUnchanged by default in simp
2023-08-16 10:14:23 -07:00
Scott Morrison
58d19b80b9
test: compiling from the interpreter, with common imports
...
hacky fix to windows test
Include test from #2407 as well
2023-08-16 10:11:50 -07:00
Siddharth Bhat
146296b5fa
feat: enable LLVM in stage1+ compiler
2023-08-14 13:33:46 +02:00
Scott Morrison
61fea57e73
feat: add failIfUnchanged flag to simp
2023-08-13 09:49:25 -07:00
Sebastian Ullrich
bb738796ae
test: update parser benchmark, add to speedcenter suite
2023-08-08 18:40:19 +02:00
Sebastian Ullrich
8fc1af650a
fix: symmetry in orelse antiquotation parsing
2023-07-28 08:36:33 -07:00
Sebastian Ullrich
aeb60764c1
feat: auto-complete declaration names in arbitrary namespaces
2023-07-28 07:50:09 -07:00
Sebastian Ullrich
e84ce2e1f1
test: make completion tests less dependent on core
2023-07-28 07:50:09 -07:00
Sebastian Ullrich
b15d6d41b8
fix: missing mkCIdents in Lean.Elab.Deriving.Util
2023-07-28 07:48:34 -07:00
Sebastian Ullrich
d991f5efe0
fix: ship libLake.a
2023-07-21 09:19:19 +02:00
Sebastian Ullrich
d62fca4e9c
chore: safer bench script
2023-07-19 08:31:39 +02:00
Floris van Doorn
1a6663a41b
chore: write "|-" as "|" noWs "-" ( #2299 )
...
* remove |- as an alias for ⊢
* revert false positive |->
* fix docstring
* undo previous changes
* [unchecked] use suggestion
* next attempt
* add test
2023-07-14 09:48:20 -07:00
Scott Morrison
0d5c5e0191
feat: relax test in checkLocalInstanceParameters to allow instance implicits
2023-07-13 10:54:06 -07:00
Leonardo de Moura
fd0549feb5
chore: improve test
2023-07-11 19:19:42 -07:00
Leonardo de Moura
6d857a93b5
perf: pointer set for traversing DAGs
2023-07-11 19:19:42 -07:00
Leonardo de Moura
5402c3cf76
chore: fix test file names
2023-07-01 06:20:36 -07:00
Mario Carneiro
f1b2a8acce
fix: lazy_binop + coercion bug
...
fixes #2300
2023-07-01 06:05:25 -07:00
Leonardo de Moura
94d4a427e2
fix: fixes #2115
2023-06-30 19:54:38 -07:00
Leonardo de Moura
a002ce6d0d
fix: fixes #2077
2023-06-30 19:26:00 -07:00
Leonardo de Moura
ec42581d1f
perf: use Core.transform instead of Meta.transform at betaReduceLetRecApps
...
Observed big performance improvement on files containing big proofs
generated using tactics.
2023-06-28 12:29:12 -07:00
Leonardo de Moura
eece499da9
fix: fixes #2282
2023-06-27 16:46:38 -07:00
Leonardo de Moura
2b8e55c2f1
fix: Nat literal bug at DiscrTree.lean
2023-06-21 20:28:17 -07:00
Scott Morrison
a44dd71ad6
feat: add flag for apply to defer failed typeclass syntheses as goals
2023-06-19 20:07:07 -07:00
Scott Morrison
82196b5b94
feat: allow upper case single character identifiers when relaxedAutoImplicit false ( #2277 )
...
* feat: allow upper case single character identifiers when relaxedAutoImplicit false
* update tests
* fix tests
* fix another test
---------
Co-authored-by: Scott Morrison <scott.morrison@anu.edu.au>
2023-06-19 20:04:09 -07:00
Gabriel Ebner
bff612e59e
fix: simp: synthesize non-inst-implicit tc args
...
Fixes #2265 .
2023-06-09 16:32:02 -07:00