lean2/src
Leonardo de Moura 9eb4dc4a81 feat(kernel, library/elaborator, frontends/lean): improve how elaborator_exceptions are displayed in the Lean frontend
This commit affects different modules.
I used the following approach:
1- I store the metavariable environment at unification_failure_justifications. The idea is to capture the set of instantiated metavariables at the time of failure.
2- I added a remove_detail function. It removes propagation steps from the justification tree object. I also remove the backtracking search space associated with higher-order unificiation. I keep only the search related to case-splits due to coercions and overloads.

3- I use the metavariable environment captured at step 1 when pretty printing the justification of an elaborator_exception.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-03 17:18:23 -08:00
..
builtin doc(doc/lean/calc.md): calculational proof documentation 2014-01-03 11:52:21 -08:00
cmake fix(build): githash generation 2013-12-29 14:41:28 -08:00
frontends feat(kernel, library/elaborator, frontends/lean): improve how elaborator_exceptions are displayed in the Lean frontend 2014-01-03 17:18:23 -08:00
kernel feat(kernel, library/elaborator, frontends/lean): improve how elaborator_exceptions are displayed in the Lean frontend 2014-01-03 17:18:23 -08:00
library feat(kernel, library/elaborator, frontends/lean): improve how elaborator_exceptions are displayed in the Lean frontend 2014-01-03 17:18:23 -08:00
shell refactor(kernel): move printer to library, cleanup io_state interface 2014-01-02 13:37:50 -08:00
tests feat(kernel/expr): maximize sharing before serializing 2014-01-02 20:03:42 -08:00
util feat(frontends/lean/parser): namespaces 2014-01-01 12:28:18 -08:00
CMakeLists.txt fix(build): problem with reading LEAN_PATH on cygwin 2013-12-30 15:12:31 -08:00
CTestConfig.cmake chore(ctest): fix typo in CTEST_DROP_LOCATION 2013-11-25 03:14:35 -05:00
CTestCustom.cmake.in Exclude 'style_check' from MemCheck list 2013-09-13 20:27:35 -07:00
Doxyfile Add EXCLUDE_PATTERNS to src/Doxyfile 2013-09-15 20:31:15 -07:00
githash.h.in fix(build): githash generation 2013-12-29 14:41:28 -08:00
memcheck.supp chore(memcheck.supp): another suppression for awk 2013-12-25 13:56:50 -08:00
version.h.in feat(kernel): export/import (.olean) binary files 2013-12-28 17:31:35 -08:00