Skip to content

Commit

Permalink
More unified All_local_env, cleaned up {PCUIC,}Typing
Browse files Browse the repository at this point in the history
  • Loading branch information
yannl35133 committed Nov 7, 2023
1 parent 5ee800e commit 9d8924c
Show file tree
Hide file tree
Showing 35 changed files with 479 additions and 733 deletions.
4 changes: 4 additions & 0 deletions common/theories/BasicAst.v
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,10 @@ End Contexts.

Arguments context_decl : clear implicits.

Definition judgment_of_decl {term universe} d : judgment_ term universe :=
TermoptTyp (decl_body d) (decl_type d).


Definition map_decl {term term'} (f : term -> term') (d : context_decl term) : context_decl term' :=
{| decl_name := d.(decl_name);
decl_body := option_map f d.(decl_body);
Expand Down
Loading

0 comments on commit 9d8924c

Please sign in to comment.