PL Seminar: Twelf & LFOverview | In this course, we will study LF and Twelf using Pfenning's notes, Computation and Deduction. |
| Meeting | M 9-11am, Tech L170 WF 9-10am, Tech M128 |
| Mailing list | subscribe / info |
| Twelf Installation | If you have questions about any of this, post on the mailing list.- Install SML/nj 110.53
- Download twelf-1-5R1.tar.gz
- unpack, and cd into the twelf/ directory
- edit the Makefile to define the sml variable (near the top)
- startup sml (from the first step) and enter the following expressions
- CM.make "server.cm";
- SMLofNJ.exportFn ("bin/.heap/twelf-server", Server.server); (the hyphen is the sml prompt). The first one should take a while and the second one should exit SML. - At the shell prompt, type make twelf-server this should create bin/twelf-server. Run it and you should see this output:
Twelf 1.5R1, Mar 8, 2005 (tabling)
%% OK %% (type control-d to exit) - Then, type make twelf-emacs and follow the instructions, updating your ~/.emacs file.
Docs for twelf: twelf.pdf |
| Syllabus | Date | Readings (before class) | Exercises (during class) |
---|
9/22 & 9/24 | 1.1-1.3, 2.1-2.5, pages 1-24 | 2.1-2.4 | 9/27 | no class | 9/29 | no class | 10/1 | 2.6, 2.7 | 2.8, 2.14, 2.17 | 10/4 | | continue with 2.14 | 10/6 | | continue with 2.14 | 10/8 | 3.1, 3.2 | | 10/11 | 3.1, 3.2 | | 10/13 | 3.1, 3.2 | start proof of thm 3.1 | 10/15 | 3.1, 3.2 | redefine canonical judgment to avoid ellipses | 10/18 | no class | 10/20 | no class | 10/22 | 3.3-3.9 | 3.4, 3.6, 3.3 | 10/25 | 3.6 | representing various evaluations & HOAS | 10/27 | 3.6 | representing various evaluations & HOAS | 10/29 | 3.7 | | 11/1 | 4 & 5 | | 11/3 | 4 & 5 | | 11/5 | 4 & 5 | | 11/8 | 5.5, 5.6 | | 11/10 | 5.5, 5.6 | | 11/12 | Proving metatheorems with Twelf | ditto | 11/15 | Proving metatheorems with Twelf | | 11/17 | | proof of commutativity of plus | 11/19 | | proof of commutativity of plus | 11/22 | | proof of type preservation for miniml | 11/24 | | proof of type preservation for miniml | 11/29 | | proof of type preservation for miniml | 12/1 | | evaluation contexts | 12/3 | | evaluation contexts |
|
| | Robby Findler |
|