Skip to content

Commit 9d8924c

Browse files
committed
More unified All_local_env, cleaned up {PCUIC,}Typing
1 parent 5ee800e commit 9d8924c

35 files changed

+479
-733
lines changed

common/theories/BasicAst.v

+4
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@ End Contexts.
244244

245245
Arguments context_decl : clear implicits.
246246

247+
Definition judgment_of_decl {term universe} d : judgment_ term universe :=
248+
TermoptTyp (decl_body d) (decl_type d).
249+
250+
247251
Definition map_decl {term term'} (f : term -> term') (d : context_decl term) : context_decl term' :=
248252
{| decl_name := d.(decl_name);
249253
decl_body := option_map f d.(decl_body);

0 commit comments

Comments
 (0)