Commit graph

22734 commits

Author SHA1 Message Date
Leonardo de Moura
f4eb6a4e27 test: heterogeneous + and * 2020-11-30 17:05:57 -08:00
Leonardo de Moura
085c7e59ba feat: apply default instances using priorities 2020-11-30 16:43:12 -08:00
Leonardo de Moura
a7563a0ec2 feat: forIn for RBTree and RBMap 2020-11-30 16:42:47 -08:00
Leonardo de Moura
8c712cd145 chore: update stage0 2020-11-30 15:58:29 -08:00
Leonardo de Moura
b437cfd9a3 feat: add [defaultInstance] priorities 2020-11-30 15:57:40 -08:00
Leonardo de Moura
b6f242434d fix: fixes #229 2020-11-30 11:51:13 -08:00
Sebastian Ullrich
6d9fcd1d07 fix: renamed references 2020-11-30 14:41:10 +01:00
Sebastian Ullrich
f6816a0ffa refactor: move & split Lean.Delaborator 2020-11-30 13:52:46 +01:00
Sebastian Ullrich
816185373a chore: update stage0 2020-11-30 13:41:17 +01:00
Sebastian Ullrich
6cef5f17b7 chore: prepare moving Lean.Delaborator into Lean.PrettyPrinter 2020-11-30 13:39:18 +01:00
Sebastian Ullrich
78379de8e6 chore: go back to LLVM 10
3% slower on stdlib: http://speedcenter.informatik.kit.edu/velcom/run-detail/9012094e-6524-4e99-8397-1b17b6a10ae5
failure on macOS: https://hydra.nixos.org/build/130586121
2020-11-30 12:32:53 +01:00
Sebastian Ullrich
f850354ee1 chore: turn LLVM up to 11 2020-11-30 11:46:32 +01:00
Sebastian Ullrich
039955a4c5 chore: update nixpkgs 2020-11-30 11:46:32 +01:00
Leonardo de Moura
cde53c67e6 chore: fix docs 2020-11-29 20:09:32 -08:00
Leonardo de Moura
4ef7d83445 test: bundled structures 2020-11-29 18:58:42 -08:00
Leonardo de Moura
b66dd397f8 test: CommGroup example 2020-11-29 18:21:59 -08:00
Leonardo de Moura
51e0d88e38 chore: update stage0 2020-11-29 18:17:53 -08:00
Leonardo de Moura
72215c7144 feat: add TransparencyMode.instances 2020-11-29 18:12:33 -08:00
Leonardo de Moura
482f44deda test: basic algebra classes 2020-11-29 17:26:30 -08:00
Leonardo de Moura
384ba49d8e chore: fix tests 2020-11-29 17:05:43 -08:00
Leonardo de Moura
d734a2605b chore: adjust stdlib 2020-11-29 17:01:56 -08:00
Leonardo de Moura
9561ec8ece chore: update stage0 2020-11-29 16:54:09 -08:00
Leonardo de Moura
40e51270f5 feat: add withReducible <tacticSeq>
Use `try (withReducible rfl)` after `rw` and `erw`
2020-11-29 16:52:30 -08:00
Leonardo de Moura
62639da58c chore: update stage0 2020-11-29 16:24:37 -08:00
Leonardo de Moura
390eea3750 feat: use One and Zero classes when expanding numeric literals 2020-11-29 16:23:52 -08:00
Leonardo de Moura
89961a608e fix: missing withDeclName 2020-11-29 16:22:11 -08:00
Leonardo de Moura
da15bc27c6 feat: add Zero and One classes 2020-11-29 16:02:34 -08:00
Leonardo de Moura
e562959682 feat: add support for auto bound implicits to the structure command 2020-11-29 14:39:51 -08:00
Leonardo de Moura
95736128aa chore: fix doc/ 2020-11-29 14:00:17 -08:00
Sebastian Ullrich
6f8d039c1b doc: Nix: make binary cache setup compatible with Nix 2.3 2020-11-29 22:56:48 +01:00
Leonardo de Moura
7a622b2a85 chore: typo 2020-11-29 13:40:49 -08:00
Leonardo de Moura
dfd1f23030 fix: avoid unnecessary page allocation
When import objects deleted by other threads, we may add elements to
`p` free list.
2020-11-29 13:33:59 -08:00
Leonardo de Moura
6dd3616298 fix: import pending objects *before* moving segments
@Kha I stopped getting the assertion violation after this fix.
There is another unrelated issue that I will fix in a separate commit.
2020-11-29 13:26:10 -08:00
Leonardo de Moura
707ff44066 doc: Thunk
TODO: `Task` and support for threads
2020-11-29 10:19:27 -08:00
Sebastian Ullrich
a22d234e93 fix: Thunk.get: mark result as MT before storing it in the task object 2020-11-29 18:59:39 +01:00
Sebastian Ullrich
65c1bc8952 fix: gen_constants_cpp.py: mark constants as persistent 2020-11-29 18:59:39 +01:00
Sebastian Ullrich
ad5f8f021d feat: Nix: thread-sanitized build 2020-11-29 18:59:39 +01:00
Sebastian Ullrich
967c9c7d00 doc: Nix: debugging tip 2020-11-29 18:59:39 +01:00
Sebastian Ullrich
9527058df9 feat: Nix: support overriding stage 0 for chaining builds with different configurations/source trees 2020-11-29 18:59:39 +01:00
Leonardo de Moura
cb3a2f7947 test: add coercion pullback example from "Hints in Unification" 2020-11-29 08:46:45 -08:00
Leonardo de Moura
9e860672ad chore: helper trace message 2020-11-29 08:46:34 -08:00
Leonardo de Moura
df665eb8fc fix: notation 2020-11-29 08:28:01 -08:00
Leonardo de Moura
e9069b6965 feat: expand optional priority at notation and mixfix commands 2020-11-29 08:22:47 -08:00
Leonardo de Moura
c96c677095 chore: update stage0 2020-11-29 08:05:27 -08:00
Leonardo de Moura
ee5679c77c chore: prepare to add optional priorities to the notation and mixfix commands 2020-11-29 08:05:26 -08:00
Leonardo de Moura
05fc1e8bbf feat: optional name for unification hints 2020-11-29 08:05:26 -08:00
Sebastian Ullrich
f649f24014 fix: compilation on Windows 2020-11-29 14:08:53 +01:00
Sebastian Ullrich
c0f94c902e fix: memory leak in interpreter 2020-11-29 14:08:53 +01:00
Sebastian Ullrich
03acc5ea1f feat: Nix: sanitized build 2020-11-29 14:08:53 +01:00
Leonardo de Moura
2ffd929227 feat: improve unification hints
The constraints don't need to be in the same universe anymore.
The new test demonstrates why this is useful.
2020-11-28 19:03:21 -08:00