tydeu
b9beeff3ad
chore: fix wording
2022-07-01 14:45:44 -04:00
tydeu
a81994871a
feat: add build types (e.g., debug, release)
2022-07-01 14:45:19 -04:00
tydeu
2e43c1b6cf
fix: keyName regression caused by refactor
2022-07-01 11:18:59 -04:00
Leonardo de Moura
a639eb185c
fix: dsimp zeta issue
2022-07-01 06:42:09 -07:00
Leonardo de Moura
5294a39ec4
feat: add Float.ceil, Float.floor, and Float.round
2022-07-01 06:27:30 -07:00
tydeu
2f9eefd35a
feat: inductive BuildKey + proper custom targets
2022-07-01 04:52:50 -04:00
tydeu
989b5666c9
refactor: remove unnecesssary build key subtypes
2022-07-01 02:54:08 -04:00
tydeu
72f555dd5b
fix: properly trace module imports
2022-07-01 02:45:24 -04:00
tydeu
48d595b722
feat: preliminary custom package facets
2022-07-01 00:11:53 -04:00
tydeu
2ccd41ac82
feat: preliminary custom targets
2022-07-01 00:11:44 -04:00
Leonardo de Moura
d9be3e0017
doc: add new bullet
2022-06-30 19:17:29 -07:00
Leonardo de Moura
0b27d26c99
doc: add quick tour video
2022-06-30 19:16:25 -07:00
Leonardo de Moura
d1f966fa6d
doc: docstrings for src/Lean/Elab/Term.lean
2022-06-30 19:01:34 -07:00
Leonardo de Moura
14260f454b
feat: improve is_def_eq for projections
...
It implements in the kernel the optimization in the previous commit.
This commit addresses the following issue raised on Zulip.
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/unfold.20essentially.20loops/near/288083209
2022-06-30 17:50:44 -07:00
Leonardo de Moura
dba1f79170
feat: improve isDefEq for projections
...
When solving `a.i =?= b.i`, we first reduce `a` and `b` without using
delta reduction. If at least one become a structure, we reduce the
projection. Otherwise, we try to solve `a =?= b`, only reduce `a.i`
and `b.i` if it fails.
2022-06-30 17:00:43 -07:00
Leonardo de Moura
f3bb0be045
feat: add flag to control projection reduction at whnfCore
2022-06-30 16:48:00 -07:00
tydeu
24fd2e37e1
chore: update Lean version + adapt to TSyntax
2022-06-30 19:24:18 -04:00
Leonardo de Moura
2c152dae7d
chore: remove unnecessary partial
2022-06-30 15:47:31 -07:00
Leonardo de Moura
e9e75af834
doc: Lean/Meta/Basic.lean
...
Add some docstrings
2022-06-30 13:32:19 -07:00
tydeu
74f3e963ff
feat: use nativeFacets in exe's recBuild
2022-06-30 01:30:14 -04:00
tydeu
6035ed56ea
fix: make root module "private" to the package
2022-06-30 01:26:01 -04:00
tydeu
5dd9042a2c
fix: dummy git identity in test to make runner happy
2022-06-29 22:56:19 -04:00
tydeu
e33b5a2095
fix: properly update git packages specified by branch
...
closes leanprover/lake#84
2022-06-29 22:31:25 -04:00
tydeu
7955d0f73c
refactor: typify git repos + log stdout/stderr on git failures
...
c.f. leanprover/lake#67
2022-06-29 21:58:11 -04:00
Leonardo de Moura
f6b6b36f47
chore: indentation
2022-06-29 16:45:59 -07:00
Leonardo de Moura
467ac9d98a
feat: add support for CommandElabM at #eval
...
Note that it does not use `MetaEval` to execute the term of type
`CommandEval`. Thus, we can now use `#eval` to execute simple commands.
see #1256
2022-06-29 16:34:49 -07:00
Leonardo de Moura
d83a11bac5
chore: expose exprToSyntax
2022-06-29 16:02:01 -07:00
Leonardo de Moura
66711a9974
chore: update stage0
2022-06-29 15:40:57 -07:00
Leonardo de Moura
d4eed2e490
test: test for #1267
2022-06-29 15:40:13 -07:00
Leonardo de Moura
e8891986f2
chore: update stage0
2022-06-29 15:37:30 -07:00
Leonardo de Moura
95efa3dcd2
fix: withPosition case at MacroArgUtil
...
fixes #1267 after update stage0
2022-06-29 15:35:34 -07:00
Leonardo de Moura
1b7fab4497
chore: add binder types
2022-06-29 15:31:10 -07:00
tydeu
c6f7a0d654
fix: build o files again to enable incremental rebuilds
...
This reverts commit 182a5787aabd8924823f2232a518911c81b2b2cd.
2022-06-29 18:05:53 -04:00
tydeu
49384a69bf
fix: precompile imports of precompiled imports
2022-06-29 17:06:24 -04:00
Leonardo de Moura
e968dfb68c
feat: elaborate do notation even when expected type is not available
...
see issue #1256
2022-06-29 13:30:06 -07:00
Leonardo de Moura
598898a087
fix: fixes #1265
2022-06-29 12:41:14 -07:00
Leonardo de Moura
15e2a7d5b4
feat: report errors an unassigned metavars at #eval
...
See #1256
2022-06-29 11:53:33 -07:00
tydeu
17a36f89aa
fix: use Lake install's olean files over LEAN_PATH
2022-06-29 12:56:49 -04:00
Sebastian Ullrich
3ed910a043
refactor: rename AsyncList.asyncTail to delayed
...
I often found the terminology confusing as it is inconsistent with
`List.tail`
2022-06-29 17:08:15 +02:00
Sebastian Ullrich
ae683af9c2
refactor: merge AsyncList.updateFinishedPrefix/finishedPrefix
...
We only ever use both of them together, and forgetting to call the first
one first could lead to subtle bugs.
2022-06-29 17:08:15 +02:00
Sebastian Ullrich
c8fb72195b
feat: print panic backtraces on Linux
2022-06-29 16:29:35 +02:00
Leonardo de Moura
a888b21bce
fix: compiler bug at And.casesOn
...
Fixes issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/.28libc.2B.2Babi.29.20lean.3A.3Aexception.3A.20incomplete.20case/near/287839995
2022-06-29 06:56:17 -07:00
Sebastian Ullrich
10b0eca41f
chore: CI: minor
2022-06-29 12:43:01 +02:00
tydeu
7ea0ea3393
fix: use library, not package, for lean root dir
2022-06-29 04:05:35 -04:00
tydeu
f62b017654
feat: user-specified native module facets for libraries
2022-06-29 03:36:05 -04:00
tydeu
85f6d1a402
feat: preliminary custom module facets
2022-06-28 23:39:47 -04:00
Leonardo de Moura
98b8e300e1
feat: add evalTerm and Meta.evalExpr
...
These functions were in Mathlib 4.
2022-06-28 19:14:40 -07:00
Leonardo de Moura
fc7c1d1053
chore: remove unnecessary set_option
2022-06-28 17:37:10 -07:00
Leonardo de Moura
87a72e4bbe
chore: update stage0
2022-06-28 16:57:11 -07:00
Sebastian Ullrich
80217cfa90
fix: asynchronous head snapshot fallout
2022-06-28 16:54:29 -07:00