Leonardo de Moura
7b6732a137
refactor: ExprDefEq.lean and LevelDefEq.lean are now implementation only files
...
We use the export/extern idiom to define `isLevelDefEqAux`, and then
define the `isDefEq` user facing functions at `Meta/Basic.lean`.
2021-12-06 09:57:00 -08:00
Sebastian Ullrich
f0fa6dcbc5
refactor: remove unnecessary Lean.Elab.Term imports
2021-12-06 09:28:56 -08:00
Leonardo de Moura
7de749a23c
refactor: move setElabConfig to Elab directory
...
see #849
2021-12-06 08:12:59 -08:00
Severen Redwood
af944e69c0
doc: fix typo in documentation for sorry tactic
2021-12-06 17:12:31 +01:00
Sebastian Ullrich
80c3d88e3e
refactor: optimize critical import path
2021-12-06 08:05:24 -08:00
Sebastian Ullrich
458dc64fcb
refactor: Lean.Meta should not depend on Lean.Elab
2021-12-06 08:05:24 -08:00
tydeu
1210589771
feat: build package and deps simultanously
2021-12-05 18:45:58 -05:00
tydeu
5edbd6cf59
refactor: use workspace olean dirs in module targets and print-paths
2021-12-04 16:24:30 -05:00
tydeu
50fa9a0b53
feat: resolve deps immediately and store them in workspace
2021-12-04 16:24:19 -05:00
tydeu
8e728b1159
refactor: split Package and Workspace
2021-12-04 12:58:00 -05:00
tydeu
052d6623f0
refactor: move misc utilities to Util.Extra
2021-12-04 11:27:38 -05:00
Sebastian Ullrich
45917f2f90
chore: Nix: simplify package instructions
2021-12-04 12:14:47 +01:00
Lorenz Leutgeb
171624d7a7
chore: nix flake update
...
• Updated input 'flake-utils':
'github:numtide/flake-utils/f7e004a55b120c02ecb6219596820fcd32ca8772' (2021-06-16)
→ 'github:numtide/flake-utils/74f7e4319258e287b0f9cb95426c9853b282730b' (2021-11-28)
• Updated input 'mdBook':
'github:leanprover/mdBook/d97081c547e96b41a9a16197882127e7e8917a3d' (2021-09-30)
→ 'github:leanprover/mdBook/45de7509526f09915b19e4eaeec99c8c2031f1ce' (2021-11-19)
• Updated input 'nix':
'github:NixOS/nix/9c766a40cbbd3a350a9582d0fd8201e3361a63b2' (2021-09-27)
→ 'github:NixOS/nix/2ff71b021379a2c9bbdcb789a93cdc585b3520ca' (2021-12-02)
• Updated input 'nix/lowdown-src':
'github:kristapsdz/lowdown/0b85e777f3cdacf4210f0d624a0ceec8df612e05' (2021-09-23)
→ 'github:kristapsdz/lowdown/d2c2b44ff6c27b936ec27358a2653caaef8f73b8' (2021-10-06)
• Updated input 'nix/nixpkgs':
'github:NixOS/nixpkgs/f6551e1efa261568c82b76c3a582b2c2ceb1f53f' (2021-08-11)
→ 'github:NixOS/nixpkgs/82891b5e2c2359d7e58d08849e4c89511ab94234' (2021-09-28)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ee084c02040e864eeeb4cf4f8538d92f7c675671' (2021-10-04)
→ 'github:NixOS/nixpkgs/391f93a83c3a486475d60eb4a569bb6afbf306ad' (2021-12-01)
• Updated input 'temci':
'github:parttimenerd/temci/fe4f47173a27cf75f734502fcb88d3d0a3860dca' (2021-07-21)
→ 'github:parttimenerd/temci/a8d78cb52c248f1ae3f2469bbd0916b14ac9ea84' (2021-11-29)
2021-12-03 14:44:19 +01:00
Sebastian Ullrich
2e47a8d5ca
test: actually register new benchmark
2021-12-03 09:25:53 +01:00
tydeu
b996117482
doc: mention options for a package's Git revision in README
...
closes leanprover/lake#37
2021-12-02 21:37:10 -05:00
tydeu
fcc3e3d93e
chore: cleanup
2021-12-02 21:29:16 -05:00
tydeu
a7a980c12d
refactor: remove unused branch parameter from Source.git
2021-12-02 21:25:53 -05:00
Leonardo de Moura
b2d88f7bcc
fix: bug at saveEqn
2021-12-02 17:38:39 -08:00
Leonardo de Moura
bf3a1e94a9
feat: add LocalContext.foldrM
2021-12-02 17:19:30 -08:00
Leonardo de Moura
bb768b06cd
feat: add PersistentArray.foldrM
2021-12-02 17:17:55 -08:00
Leonardo de Moura
01615f175c
chore: cleanup
2021-12-02 15:02:57 -08:00
Gabriel Ebner
c7565c446a
fix: casts on big-endian
2021-12-02 09:57:58 -08:00
Sebastian Ullrich
5869283694
test: new linear solver benchmark by Marc
2021-12-02 17:03:35 +01:00
Sebastian Ullrich
b6d5cd8155
fix: forward USE_GMP to stage 0
2021-12-02 15:52:48 +01:00
Sebastian Ullrich
1ade96cfab
fix: assertion with USE_GMP=OFF
2021-12-02 15:11:47 +01:00
Leonardo de Moura
c42196440f
fix: give preference to non-indices at findRecArg
...
fixes #837
2021-12-01 16:45:19 -08:00
Leonardo de Moura
5d73f0eb01
chore: fix typo
2021-12-01 15:08:41 -08:00
Leonardo de Moura
c54caa1a1f
chore: update stage0
2021-12-01 13:48:10 -08:00
Leonardo de Moura
5e9ebf044a
fix: insert_mpz
2021-12-01 13:47:05 -08:00
Leonardo de Moura
f0c946aa02
chore: update stage0
2021-12-01 13:38:20 -08:00
Leonardo de Moura
92a5f8f18e
fix: insert_mpz
2021-12-01 13:38:20 -08:00
Leonardo de Moura
988b316e3f
feat: check "LEAN_ABORT_ON_PANIC" environment variable at lean_internal_panic
2021-12-01 13:38:20 -08:00
Leonardo de Moura
375de32bfb
fix: fix_mpz
2021-12-01 13:38:19 -08:00
Chris Lovett
10649baf8d
fix: potential buffer override on command line args ( #839 )
2021-12-01 12:14:48 -08:00
Leonardo de Moura
5c39ddbad1
chore: update stage0
2021-11-30 17:57:59 -08:00
Leonardo de Moura
e9e40789c1
fix: mpz::power for USE_GMP=OFF
2021-11-30 17:57:33 -08:00
Leonardo de Moura
7185f99822
chore: update stage0
2021-11-30 17:47:42 -08:00
Leonardo de Moura
83d6eb1c72
fix: mpz::mul2k for USE_GMP=OFF
2021-11-30 17:19:16 -08:00
Leonardo de Moura
e1f0733a1c
chore: update stage0
2021-11-30 16:49:34 -08:00
Leonardo de Moura
9a81ae556a
feat: add support for USE_GMP=OFF at compact.cpp
2021-11-30 16:46:53 -08:00
Leonardo de Moura
8aca088752
feat: mpz missing methods for USE_GMP=OFF
2021-11-30 16:46:53 -08:00
Leonardo de Moura
c6f5c3717c
chore: use size_t at buffer
...
Add `buffer::ensure_capacity`.
2021-11-30 16:46:53 -08:00
Sebastian Ullrich
4aab42f9aa
fix: segfault when passing scalar object to dbgTraceIfShared
2021-11-30 19:07:46 +01:00
tydeu
1284616296
refactor: revamp Async API
2021-11-30 11:56:35 -05:00
Gabriel Ebner
4964f5eb05
chore: add test
2021-11-30 15:34:54 +01:00
Gabriel Ebner
70ad1deb00
fix: catch error in msgToInteractiveDiagnostic
...
Otherwise, any error while pretty-printing would kill the server (file
worker).
2021-11-30 15:34:54 +01:00
Gabriel Ebner
21f0b8c397
chore: update stage0
2021-11-30 15:34:54 +01:00
Gabriel Ebner
9a2140b3db
refactor: auto-generate (builtin)Parenthesizer attribute
...
We already generated `(builtin)Parenthesizer` (and `*Formatter`)
attributes for definitions tagged with `(builtin)*Parser`. This commit
extends this support to all Parser-definitions, as long as we can
determine the syntax node kind syntactically (i.e., the parser
definition contains a leadingNode/node/trailingNode/nodeWithAntiquot
call).
2021-11-30 15:34:54 +01:00
Leonardo de Moura
e5b3b180dc
feat: some mpz methods for LEAN_USE_GMP=OFF
2021-11-29 17:55:04 -08:00
Leonardo de Moura
ec6932fbb7
feat: some mpz methods for LEAN_USE_GMP=OFF
2021-11-29 16:01:07 -08:00