lean4-htt/src/library/tactic
Leonardo de Moura 7772c16033 refactor(kernel): add unfold_opaque flag to normalizer, modify how type checker uses the opaque flag, remove hidden_defs, and mark most builtin definitions as opaque
After this commit, in the type checker, when checking convertability, we first compute a normal form without expanding opaque terms.
If the terms are convertible, then we are done, and saved a lot of time by not expanding unnecessary definitions.
If they are not, instead of throwing an error, we try again expanding the opaque terms.
This seems to be the best of both worlds.
The opaque flag is a hint for the type checker, but it would never prevent us from type checking  a valid term.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-20 12:47:47 -08:00
..
apply_tactic.cpp refactor(kernel/metavar_env): use the same approach used in the class environment in the class metavar_env 2013-12-13 18:59:15 -08:00
apply_tactic.h feat(library/tactic): add apply_tactic 2013-12-05 03:22:12 -08:00
assignment.h refactor(kernel/metavar_env): use the same approach used in the class environment in the class metavar_env 2013-12-13 18:59:15 -08:00
boolean_tactics.cpp refactor(kernel/environment): add ro_environment 2013-12-12 16:48:34 -08:00
boolean_tactics.h refactor(library/tactic): rename boolean.* to boolean_tactics.* 2013-12-05 05:03:18 -08:00
cex_builder.cpp chore(util/rc): remove unnecessary argument from LEAN_COPY_REF and LEAN_MOVE_REF macros 2013-12-13 15:01:24 -08:00
cex_builder.h feat(library/tactic): add focus tactical 2013-11-30 11:28:38 -08:00
CMakeLists.txt refactor(library/tactic): rename boolean.* to boolean_tactics.* 2013-12-05 05:03:18 -08:00
goal.cpp refactor(kernel/environment): add ro_environment 2013-12-12 16:48:34 -08:00
goal.h refactor(kernel/environment): add ro_environment 2013-12-12 16:48:34 -08:00
proof_builder.cpp refactor(util/splay_tree): replace find with splay_find 2013-12-12 17:27:30 -08:00
proof_builder.h chore(util/rc): remove unnecessary argument from LEAN_COPY_REF and LEAN_MOVE_REF macros 2013-12-13 15:01:24 -08:00
proof_state.cpp refactor(kernel/metavar_env): use the same approach used in the class environment in the class metavar_env 2013-12-13 18:59:15 -08:00
proof_state.h refactor(kernel/metavar_env): use the same approach used in the class environment in the class metavar_env 2013-12-13 18:59:15 -08:00
register_module.h refactor(library/tactic): rename boolean.* to boolean_tactics.* 2013-12-05 05:03:18 -08:00
tactic.cpp refactor(kernel): add unfold_opaque flag to normalizer, modify how type checker uses the opaque flag, remove hidden_defs, and mark most builtin definitions as opaque 2013-12-20 12:47:47 -08:00
tactic.h refactor(kernel): add unfold_opaque flag to normalizer, modify how type checker uses the opaque flag, remove hidden_defs, and mark most builtin definitions as opaque 2013-12-20 12:47:47 -08:00