Commit graph

26262 commits

Author SHA1 Message Date
Sebastian Ullrich
14fdb793f7 chore: update stage0 2021-10-21 22:11:27 +02:00
Gabriel Ebner
ee2804d278 fix: use unsigned char in hash_str
char has different signedness on various architectures (signed on amd64,
unsigned on aarch64).  oleans are then not architecture-independent
since they contain hashes (e.g. in mkStr).
2021-10-21 22:08:49 +02:00
Leonardo de Moura
b4a6b4f882 fix: do not consume pretty print hints at isDefEq
TODO: improve the solution. It is too hackish.

The issue was reported here https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/.E2.9C.94.20MData.20and.20unification/near/258352713
2021-10-20 15:58:56 -07:00
Leonardo de Moura
58430704e5 refactor: move inaccessible? to Expr.lean 2021-10-20 15:54:18 -07:00
Leonardo de Moura
f01a124f18 fix: builtin attribute initialization
The failure was triggered if a module declared (only) builtin
attributes that do not have any persistent extension associated with
them.

Fixes #726
2021-10-20 13:55:54 -07:00
Leonardo de Moura
b281295190 chore: cleanup 2021-10-20 13:55:54 -07:00
Sebastian Ullrich
2e36e362cb chore: bench: apparently make doesn't like writing to /dev/null anymore? 2021-10-20 12:44:30 +02:00
Leonardo de Moura
68469c2487 chore: update Lake 2021-10-19 07:19:07 -07:00
Leonardo de Moura
1bd78590e6 test: for Lean 3 nocomputable issue
Issue reported at
https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/noncomputable.20tainting/near/258174927
2021-10-19 07:15:55 -07:00
Leonardo de Moura
b7ff5d3352 fix: make sure unused 'let'-declarations are preserved in WF 2021-10-19 06:51:54 -07:00
Leonardo de Moura
1d372ed7e3 test: well-founded recursion for unary function 2021-10-19 06:47:59 -07:00
Leonardo de Moura
a2bcb1c4c1 fix: typo 2021-10-19 06:47:14 -07:00
Leonardo de Moura
b5e640a423 fix: avoid getMVarType' at cleanup tactic
`getMVarType'` applies `whnf`
2021-10-19 06:43:07 -07:00
Leonardo de Moura
4e70a20292 feat: add more Nat "re-packing" simp theorems 2021-10-19 06:43:07 -07:00
Leonardo de Moura
e494329fb3 fix: addNonRecPreDefs at WF/Main.lean 2021-10-19 06:43:07 -07:00
Sebastian Ullrich
51a41705cb feat: allow more atoms starting with "`" 2021-10-19 14:10:31 +02:00
Gabriel Ebner
d379cd6853 fix: out-of-bounds array access 2021-10-19 12:13:17 +02:00
Sebastian Ullrich
b3c8ee2923 fix: add Lake to built-in search path 2021-10-19 10:57:13 +02:00
Sebastian Ullrich
6a90b30875 fix: prefer user-given search paths 2021-10-19 10:57:13 +02:00
Leonardo de Moura
67c8e76b08 fix: preserve unused let declarations
This commit fixes reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/unused.20let.20disappears/near/257528105
2021-10-18 17:40:15 -07:00
Leonardo de Moura
c425397b45 feat: Hashable instances for UInt8 and UInt16 2021-10-18 17:19:39 -07:00
Leonardo de Moura
e336ff5f93 feat: indentation sensitiviy for macro and elab commands
This commit fixes issue reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Command.20terminator/near/257674790
2021-10-18 17:16:09 -07:00
Leonardo de Moura
284177a80a feat: missing instances and getOp for byte/float arrays 2021-10-18 16:54:56 -07:00
Leonardo de Moura
2fd024c26f feat: add support for foldlM, foldl, ForIn instances for byte/float arrays 2021-10-18 16:54:56 -07:00
Leonardo de Moura
d03aaec944 feat: expose new float/byte array primitives 2021-10-18 16:54:56 -07:00
Leonardo de Moura
998bec0dd3 feat: new byte/float array primitives 2021-10-18 16:54:56 -07:00
Sebastian Ullrich
675f477f38 chore: disable macOS Nix CI until I get around to updating it 2021-10-19 00:07:27 +02:00
Leonardo de Moura
499449b66f chore: add ignore = untracked 2021-10-18 14:39:43 -07:00
Leonardo de Moura
6b2303b243 fix: bug at tryLemmaCore when numExtraArgs > 1
Fixes bug reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Simp.20bug.20-.20produces.60application.20type.20mismatch.60/near/257711901
2021-10-18 13:59:19 -07:00
Leonardo de Moura
30be5801e2 chore: update stage0 2021-10-18 07:35:49 -07:00
Leonardo de Moura
ab3861ff62 chore: remove unnecessary "c"
and avoid compilation warning messages.
2021-10-18 07:34:17 -07:00
Leonardo de Moura
aa0387e070 chore: update stage0 2021-10-18 07:25:25 -07:00
Siddharth
da4ad465d0
feat: un-inline float intrinsics into runtime. (#694)
* outline all intrinsics into the runtime.

This is necessary to support backends such as LLVM which do not emit C.

* fix style
2021-10-18 07:20:04 -07:00
Sebastian Ullrich
4cc9072ec3 chore: update stage0 2021-10-18 13:11:04 +02:00
Sebastian Ullrich
d3cf0b8098 fix: deriving Ord on parameterized types
Fixes #732
2021-10-18 10:08:13 +02:00
Wojciech Nawrocki
e843fb7ca5 fix: widget messages 2021-10-17 10:01:23 +02:00
tydeu
b1bd3fc304 chore: update Lake 2021-10-15 17:12:29 +02:00
Siddharth Bhat
3374806d0f refactor: eliminate unused ExtractMonadResult.hasBindInst 2021-10-15 06:57:24 -07:00
Sebastian Ullrich
c2c418b651 chore: update Lake 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
08dbf239a6 chore: server: redundant let 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
7fdc208c1f chore: update Lake 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
7372e2f6cd chore: update Lake 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
7a91c494b9 chore: submodule hints 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
74b813fbcd doc: restructure make/index.md
debug builds are not very interesting currently given the state of
debugging Lean code
2021-10-15 06:56:02 -07:00
Sebastian Ullrich
6296151034 chore: update Lake 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
e67e096086 fix: patch bin/lake 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
674e473c84 feat: server: support LAKE env var 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
e422ce4917 chore: update Lake 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
6a1897302b chore: server: use exit code to communicate absence of package 2021-10-15 06:56:02 -07:00
Sebastian Ullrich
765ed37409 feat: server: support Lake 2021-10-15 06:56:02 -07:00