feat(library/noncomputable): sorts are computable
i.e. constant io.real_world : Type
This commit is contained in:
parent
6e3a6ff40f
commit
a02fd7fb4c
1 changed files with 2 additions and 1 deletions
|
|
@ -77,7 +77,8 @@ static bool is_noncomputable(old_type_checker & tc, noncomputable_ext const & ex
|
|||
if (d.is_meta()) {
|
||||
return false; /* ignore nontrusted definitions */
|
||||
} else if (d.is_axiom()) {
|
||||
return !env.is_builtin(d.get_name()) && !tc.is_prop(d.get_type()) && !is_builtin_extra(d.get_name());
|
||||
return !env.is_builtin(d.get_name()) && !tc.is_prop(d.get_type()) && !is_sort(d.get_type()) &&
|
||||
!is_builtin_extra(d.get_name());
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue