Tag TODOs
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
b92a3e482d
commit
2c68117adf
3 changed files with 4 additions and 4 deletions
|
@ -268,7 +268,7 @@ class parser::imp {
|
||||||
}
|
}
|
||||||
|
|
||||||
[[ noreturn ]] void not_implemented_yet() {
|
[[ noreturn ]] void not_implemented_yet() {
|
||||||
// TODO
|
// TODO(Leo)
|
||||||
throw parser_error("not implemented yet", pos());
|
throw parser_error("not implemented yet", pos());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -901,7 +901,7 @@ class parser::imp {
|
||||||
}
|
}
|
||||||
|
|
||||||
expr parse_string() {
|
expr parse_string() {
|
||||||
// TODO
|
// TODO(Leo)
|
||||||
not_implemented_yet();
|
not_implemented_yet();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -321,7 +321,7 @@ class pp_fn {
|
||||||
head = is_forall ? g_forall_fmt : g_exists_fmt;
|
head = is_forall ? g_forall_fmt : g_exists_fmt;
|
||||||
format sep = comma();
|
format sep = comma();
|
||||||
expr domain0 = nested[0].second;
|
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; })) {
|
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
|
// Domain of all binders is the same
|
||||||
format names = pp_bnames(nested.begin(), nested.end(), false);
|
format names = pp_bnames(nested.begin(), nested.end(), false);
|
||||||
|
|
|
@ -203,7 +203,7 @@ void import_basic(environment & env) {
|
||||||
|
|
||||||
// forall : Pi (A : Type u), (A -> Bool) -> Bool
|
// 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))));
|
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)))))));
|
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
|
// homogeneous equality
|
||||||
|
|
Loading…
Reference in a new issue