The deadline for this problem set is Friday, December 4 at 9pm.
Submit your work on Gradescope at Problem Set 11.
Please note the special Friday deadline for this last problem set.
The deadline for this problem set is Friday, December 4 at 9pm.
Submit your work on Gradescope at Problem Set 11.
Please note the special Friday deadline for this last problem set.
Please fill out a survey about the time you spent on Problem Set 10.
pset11_definitions.dfypset11.dfypset11_validator.dfypset11_helpers.dfy ← but don’t read yetpset11_hints.dfyThe structure here follows that of previous psets: read pset11_definitions.dfy to see our supporting definitions on edit distances between strings, complete pset11.dfy with the annotations needed for the provided method, and use pset11_validator.dfy to confirm you’re done.
As on the previous problem set, you may not change the executable behavior of the method (nor may you add any preconditions).
In this problem set we’re proving a classic algorithm for computing edit distances between strings. The proof entails a bunch of casework that we have provided in the “helpers” file! After you read pset11_definitions.dfy and the method code in pset11.dfy, think about how you might approach the proof. Then:
If you would like to use our lemmas, read pset11_helpers.dfy. It is already included and imported in the problem set file.
If you would like to try the proof on your own, comment out the include and import lines for the helpers :)
Consult pset11_hints.dfy for suggestions if you get stuck: it has the lemma specifications but not their proofs.