Commit fbbdf101 authored by Adam Chlipala's avatar Adam Chlipala

Automated CcExp_correct

parent da65fbab
...@@ -1044,20 +1044,18 @@ Section wf. ...@@ -1044,20 +1044,18 @@ Section wf.
-> wfExp fvs e1. -> wfExp fvs e1.
Hint Extern 3 (Some _ = Some _) => elimtype False; eapply lookup_bound_contra; eauto. Hint Extern 3 (Some _ = Some _) => elimtype False; eapply lookup_bound_contra; eauto.
induction 1; crush. induction 1; crush; eauto;
eapply H0. match goal with
eauto. | [ H : _, envT : list Source.type |- _ ] =>
apply H with (length envT); my_crush; eauto
apply H0 with (length envT). end.
my_crush.
eauto.
Qed. Qed.
Theorem Exp_wf : forall t (E : Source.Exp t), Theorem Exp_wf : forall t (E : Source.Exp t),
wfExp (envT := nil) tt (E _). wfExp (envT := nil) tt (E _).
intros; eapply Exp_wf'; Hint Resolve Exp_equiv.
[apply Exp_equiv
| crush]. intros; eapply Exp_wf'; crush.
Qed. Qed.
End wf. End wf.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment