Tag TODOs

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-09-13 12:25:21 -07:00
parent b92a3e482d
commit 2c68117adf
3 changed files with 4 additions and 4 deletions

View file

@ -268,7 +268,7 @@ class parser::imp {
}
[[ noreturn ]] void not_implemented_yet() {
// TODO
// TODO(Leo)
throw parser_error("not implemented yet", pos());
}
@ -901,7 +901,7 @@ class parser::imp {
}
expr parse_string() {
// TODO
// TODO(Leo)
not_implemented_yet();
}

View file

@ -321,7 +321,7 @@ class pp_fn {
head = is_forall ? g_forall_fmt : g_exists_fmt;
format sep = comma();
expr domain0 = nested[0].second;
// TODO: the following code is very similar to pp_abstraction
// TODO(Leo): the following code is very similar to pp_abstraction
if (std::all_of(nested.begin() + 1, nested.end(), [&](std::pair<name, expr> const & p) { return p.second == domain0; })) {
// Domain of all binders is the same
format names = pp_bnames(nested.begin(), nested.end(), false);

View file

@ -203,7 +203,7 @@ void import_basic(environment & env) {
// forall : Pi (A : Type u), (A -> Bool) -> Bool
env.add_definition(forall_fn_name, q_type, Fun({{A, TypeU}, {P, A_pred}}, Eq(P, Fun({x, A}, True))));
// TODO: introduce epsilon
// TODO(Leo): introduce epsilon
env.add_definition(exists_fn_name, q_type, Fun({{A,TypeU}, {P, A_pred}}, Not(Forall(A, Fun({x, A}, Not(P(x)))))));
// homogeneous equality