New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here


by: Kathleen Cartwright


Kathleen Cartwright
GPA 3.73


Almost Ready


These notes were just uploaded, and will be ready to view shortly.

Purchase these notes here, or revisit this page.

Either way, we'll remind you when they're ready :)

Preview These Notes for FREE

Get a free preview of these Notes, just enter your email below.

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

Class Notes
25 ?




Popular in Course

Popular in Computer Information Technology

This 11 page Class Notes was uploaded by Kathleen Cartwright on Monday September 28, 2015. The Class Notes belongs to CIS500 at University of Pennsylvania taught by B.Pierce in Fall. Since its upload, it has received 29 views. For similar materials see /class/215371/cis500-university-of-pennsylvania in Computer Information Technology at University of Pennsylvania.

Similar to CIS500 at Penn

Popular in Computer Information Technology




Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 09/28/15
900 Jaqoloo 98 009 SID 9008 1191 009 SID K 9005 19q0100 95 N suowepuno 1 01910qu J 900 Jaqowo 98 009 SID snmopeQ wepqumq paXmXIdUIIS Last time Last time we talked about proving type soundness for the simply typed lambda calculus with booleans This involved showing 6 Canonical Forms 6 Inversion Lemmas 9 Progress Theorem 9 Preservation Theorem C18 500 26 October7 2005 3 Preservation Theorem Ifl t T and t gt t39 then I t39 T We got to the point Where we needed a substitution lemma to show the preservation theorem IfXStTandI sSthen XI gtstT C18 500 26 October 2005 Typing rules T I true Bool T TRUE F I false Bool T FALSE FI t11BOOl FI tziT FI t3iT T IF F I if t1 then t2 else t3 T XT E F T VAR F IX T F XT1 I tz ITZ T ABS F I AXT1t2 1T1 gtT2 FI t1IT11 gtT12 FI tz 1T1 T APP F PM 62 T12 C18 500 26 October 2005 5 Strengthened induction hypothesis Lemma Types are preserved under substitition IfT XStTandFI sSthenF XI gtstT C18 500 26 October 2005 6 Lemmas about the context Lemma Permutation If F I t T and A is a permutation of F then A I t T Lemma Weakening If F I t T and X 93 domU then T X S I t T k C18 500 26 October 2005 7 Important points about type soundness for ST LC 9 Typing rules need a context to deal with variables 6 Progress lemma must have an empty context to be true 6 Preservation lemma need not see TAPL 6 Application case of preservation lemma needs substitution lemma 6 Substitution lemma must be strenthened to non empty contexts 6 Substitution lemma cannot be proved by induction on typing derivation C18 500 26 October7 2005 8 900 Jaqowo 98 009 SID 39SQEBBHEBUBI Buymmm md 991 09 UO unit unit Unit N ew typing rules The Unit type F I unit Unit terms constant unit values constant um t types unit type C18 500 26 October 2005


Buy Material

Are you sure you want to buy this material for

25 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Bentley McCaw University of Florida

"I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"

Janice Dongeun University of Washington

"I used the money I made selling my notes & study guides to pay for spring break in Olympia, Washington...which was Sweet!"

Jim McGreen Ohio University

"Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."


"Their 'Elite Notetakers' are making over $1,200/month in sales by creating high quality content that helps their classmates in a time of need."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.