Leonardo de Moura
|
e81d96ffc1
|
feat(build): add build option for jemalloc
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 13:44:47 -07:00 |
|
Leonardo de Moura
|
368c94ccc5
|
feat(util/rb_tree): use memory_pool at rb_tree, 5% performance improvement when using multiple threads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 10:53:07 -07:00 |
|
Leonardo de Moura
|
fd7e20f11c
|
fix(util/thread): thread_specific_ptr finalization
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 10:50:44 -07:00 |
|
Leonardo de Moura
|
a7c6c3e840
|
fix(kernel/expr): memory corruption in dealloc method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 10:16:44 -07:00 |
|
Leonardo de Moura
|
b522ea6f2d
|
refactor(library/standard): rename bit to bool
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 09:49:54 -07:00 |
|
Leonardo de Moura
|
5eaf04518b
|
refactor(*): rename Bool to Prop
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 09:43:18 -07:00 |
|
Leonardo de Moura
|
4c6ebdeaf9
|
perf(util/memory_pool): use memory_pool for hierarchical names and justification objects we get a 8% performance improvement when using multiple threads
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 09:18:26 -07:00 |
|
Leonardo de Moura
|
c8b6f0c7fb
|
refactor(util): rename fixed_size_allocator to memory_pool
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-22 07:49:40 -07:00 |
|
Leonardo de Moura
|
725f370e59
|
fix(build): number of core detection on OSX
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-21 20:07:11 -07:00 |
|
Leonardo de Moura
|
77537d43a3
|
fix(util): add missing file
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-21 18:58:24 -07:00 |
|
Leonardo de Moura
|
79ea7c5910
|
perf(kernel/expr): minimize access to system memory allocator by recycling expr_cells
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-21 18:46:47 -07:00 |
|
Leonardo de Moura
|
e3d4b2490d
|
perf(kernel/type_checker): improve infer_app peformance
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-21 17:11:47 -07:00 |
|
Leonardo de Moura
|
ad87c0b3e1
|
fix(frontends/lean): race condition
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-21 09:32:13 -07:00 |
|
Leonardo de Moura
|
de657e8df0
|
fix(util/rc): reference counter memory_order flags
See discussion at
http://www.chaoticmind.net/~hcb/projects/boost.atomic/doc/atomic/usage_examples.html#boost_atomic.usage_examples.example_reference_counters
http://stackoverflow.com/questions/10268737/c11-atomics-and-intrusive-shared-pointer-reference-count
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-21 08:23:01 -07:00 |
|
Leonardo de Moura
|
c02629c76d
|
feat(util/lean_path): allow 'import dirname' as shorthand for 'import dirname.default'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 19:59:13 -07:00 |
|
Leonardo de Moura
|
9c499e723f
|
perf(build): use make -j option when invoking external makefile for compiling Lean libraries
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 19:38:46 -07:00 |
|
Leonardo de Moura
|
cff6bf8c6d
|
fix(library/module): sign error is circular module dependency is detected
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 19:21:54 -07:00 |
|
Leonardo de Moura
|
ba9dd8b686
|
fix(library/choice): style
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-21 01:36:53 +01:00 |
|
Leonardo de Moura
|
9ef4d44a86
|
chore(frontends/lean): add 'replace' auxiliary funcs
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 01:10:49 +01:00 |
|
Leonardo de Moura
|
438a42d010
|
feat(library/unifier): improve error message when metavar assignment is type incorrect
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 00:19:32 +01:00 |
|
Leonardo de Moura
|
e39a6e732a
|
refactor(kernel/error_msgs): move pp_type_mismatch to error_msgs module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 00:19:31 +01:00 |
|
Leonardo de Moura
|
55db3aaaa1
|
fix(library/module): module index assignment
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 00:19:31 +01:00 |
|
Leonardo de Moura
|
bef64305cf
|
feat(kernel/constraint): add 'print' function for debugging purposes
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 00:19:31 +01:00 |
|
Leonardo de Moura
|
c1b7d7bf7e
|
fix(library/choice): we should be able to store 'choice' operators in .olean files, this can happen because of notation decls
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-20 00:19:31 +01:00 |
|
Leonardo de Moura
|
d69db172a1
|
chore(kernel/replace_fn): add syntax sugar for replace function
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-19 12:53:37 +01:00 |
|
Leonardo de Moura
|
6b60db7b93
|
fix(frontends/lean/elaborator): bug when mixing implicit arguments and sections
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-19 09:55:34 +01:00 |
|
Leonardo de Moura
|
66ba3c8a0b
|
fix(frontends/lean/elaborator): bug in the elaborator reported by Jeremy
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-18 23:48:27 +01:00 |
|
Soonho Kong
|
5118ee7a83
|
chore(CMakeLists.txt): mark gmp and mpfr as required packages
|
2014-07-18 08:29:51 -04:00 |
|
Leonardo de Moura
|
4c98686d4f
|
fix(emacs): syntax highlight bug
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-17 20:48:06 +01:00 |
|
Leonardo de Moura
|
661e681ac9
|
feat(frontends/lean/decl_cmds): allow parameters with different types to be declared using the same 'parameters' command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-17 20:47:33 +01:00 |
|
Leonardo de Moura
|
120d3b5c1a
|
fix(kernel/type_checker): error message
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-17 19:38:20 +01:00 |
|
Leonardo de Moura
|
9289717169
|
perf(kernel/expr): inline get_free_var_range, and cache its value for local and metavars
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-17 08:51:46 +01:00 |
|
Leonardo de Moura
|
9fcb31bd5e
|
perf(kernel/instantiate): add custom instantiate for 'easy' cases
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-17 08:29:04 +01:00 |
|
Leonardo de Moura
|
a78fb8f013
|
perf(library/unifier): minimize the number of constraints generated in the flex_rigid 'imitation' step
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-17 06:32:21 +01:00 |
|
Leonardo de Moura
|
8798fa4419
|
fix(kernel/replace): make sure 'replace' is reentrant
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-17 04:37:27 +01:00 |
|
Leonardo de Moura
|
aae40f07e2
|
perf(kernel/expr): use thread local deletion buffer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-16 08:39:03 +01:00 |
|
Leonardo de Moura
|
a748e8f858
|
perf(kernel/type_checker): improve infer_lambda performance
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-16 07:52:53 +01:00 |
|
Leonardo de Moura
|
c97b4c7725
|
perf(kernel/converter): improve is_def_eq_binding
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-16 07:33:45 +01:00 |
|
Leonardo de Moura
|
6ddba9c276
|
fix(library/unifier): bug in process_delta
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-16 04:55:09 +01:00 |
|
Leonardo de Moura
|
c8849d42e9
|
fix(library/unifier): tolerate exceptions in the type_checker::infer method. This can happen since when we try projections we don't check whether they are type correct
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-16 03:05:19 +01:00 |
|
Leonardo de Moura
|
f7317a7139
|
feat(build): compile HoTT library when building
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-15 21:56:36 +01:00 |
|
Leonardo de Moura
|
359bfe93d5
|
feat(library/hott): add basic HoTT definitions and theorems
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-15 21:46:33 +01:00 |
|
Leonardo de Moura
|
999782d89d
|
refactor(kernel/replace_fn): use thread local cache
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-15 05:34:45 +01:00 |
|
Leonardo de Moura
|
bd0cc5c365
|
fix(library/expr_pair): typo
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-15 04:11:27 +01:00 |
|
Leonardo de Moura
|
a18cf94d09
|
perf(library/unifier): minimize the use of instantiate_metavars
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-15 03:55:27 +01:00 |
|
Leonardo de Moura
|
29c7eeaa99
|
refactor(library/unifier): improve occurs_context_check
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-15 02:08:16 +01:00 |
|
Leonardo de Moura
|
46005b4ffe
|
perf(kernel/metavar): improve occurs_expr method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-15 01:57:17 +01:00 |
|
Leonardo de Moura
|
0f44e3c9f4
|
fix(frontends/lean): calc configuration commands, add check_constant_next auxiliary method
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-15 01:19:47 +01:00 |
|
Leonardo de Moura
|
ffdb43da02
|
perf(kernel/type_checker): improve infer_pi performance
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-14 22:56:38 +01:00 |
|
Leonardo de Moura
|
b72105efff
|
perf(kernel/type_checker): improve infer_lambda performance
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-14 22:39:45 +01:00 |
|