Homework # 6
due October 14

Reading

Please read Chapter 9 in the textbook.

Discussion

In class, we discussed several dubious type rules. In particular, we discussed something similar the following system: \begin{mathpar}
\inferrule[T-VarA]{ }{x : T}
\par
\inferrule[T-AbsA]{t : T}{\lam...
...ar
\textrm{\ldots additional rules for booleans and \lq\lq if'' \ldots}
\end{mathpar} Suppose we try to prove progress and preservation (for closed terms) with this ``type system.'' Can we do it? Explain! Give concrete examples.

If we changed the rules to \begin{mathpar}
\inferrule[T-VarB]{ }{x : \texttt{Bool}}
\par
\inferrule[T-AbsB]...
...ar
\textrm{\ldots additional rules for booleans and \lq\lq if'' \ldots}
\end{mathpar} Can we prove progress and preservation? Discuss!

Proofs

Read Exercise 9.2.3 and prove that if \( \Gamma \vdash t\, t : T \) then we have a contradiction. Do the proof of preservation (Theorem 9.3.9). You will need to use the substitution lemma (Lemma 9.3.8).

About this document



John Tang Boyland 2008-10-07