Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to coq PR #17991 which lets "simpl" refolds partial applications of fixpoints #975

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions template-coq/theories/Typing.v
Original file line number Diff line number Diff line change
Expand Up @@ -1410,10 +1410,11 @@ Proof.
typing_size Hty <
S
((typing_spine_size
(fun x (x0 : context) (x1 x2 : term) (x3 : x;;; x0 |- x1 : x2) =>
typing_size x3) Σ Γ t_ty l t' t0)) ->
(@typing_size cf) Σ Γ t_ty l t' t0)) ->
on_global_env cumul_gen (lift_typing P) Σ.1 * P Σ Γ0 t1 T). {
intros. unshelve eapply X14; eauto. lia. }
intros. unshelve eapply X14; eauto.
change (fun x x0 x1 x2 x3 => typing_size x3) with (@typing_size cf). (* Needed with old versions of "simpl" in "simpl in X14" *)
lia. }
clear X14. simpl in pΓ. clear n e H pΓ.
induction t0; constructor.
unshelve eapply X; clear X; simpl; auto with arith.
Expand Down
Loading