15-317 Constructive Logic


Instructions for running the Andrew installation are at the end of Homework 9.

You can also run IRIS online; click 'online demo'.


We are using GNU Prolog.

Instructions for running the Andrew installation are at the end of Homework 6.

To run Prolog inside of emacs, use Prolog mode. Download the file, save it somewhere, and add the following to your .emacs file:

(load-file "~/whereveryouputit/prolog.el")
(autoload 'run-prolog "prolog" "Start a Prolog sub-process." t)
(autoload 'prolog-mode "prolog" "Major mode for editing Prolog programs." t)
(setq prolog-system 'gnu)
(setq auto-mode-alist (append '(("\\.pl$" . prolog-mode)
                                 ("\\.m$" . mercury-mode))


In the first part of this course you will be using a proof checker called Tutch (short for Tutorial Proof Checker). As the name indicates, it checks the validity of formal proofs that users provide.

The current version of course software Tutch is 0.52 beta, October 24, 2002. The distribution is available from the course software directory, or directly from the Tutch home page.

On Andrew, Tutch is installed in /afs/andrew/course/15/317/bin. The executable files are tutch, submit and status; they should work under linux.andrew.cmu.edu and directly on the machines in the cluster with Linux. The easiest way to run them is with

  $ /afs/andrew/course/15/317/bin/tutch filename.tut

where filename.tut contains your proof or proofs. See the documentation for further information on running Tutch.

See the Recitation 2 notes and Tutch Overview for an introduction to using the Tutch proof checker. The examples from the overview are available here.

The section on Requirements and Submission contains information on how to submit your homework.

[ Home | Schedule | Assignments | Handouts | Software ]

Frank Pfenning