how_to_get typos
[lambda.git] / index.mdwn
1 Philosophy COURSENUMBER and Linguistics COURSENUMBER
2 SHORT COURSE TITLE?
3
4 or: **What Philosophers and Linguists Can Learn From Theoretical Computer Science But Didn't Know To Ask**
5
6 ## Announcements ##
7
8 The course meets starting on XXX, at ZZZ, in room YYY.
9
10
11 ## Overview ##
12
13 The goal of this seminar is to introduce concepts and techniques from
14 theoretical computer science and show how they can provide insight
15 into established philosophical and linguistic problems.
16
17 This is not a seminar about any particular technology or software.
18 Rather, it's about a variety of conceptual/logical ideas that have been
19 developed in computer science and that linguists and philosophers ought to
20 know, or may already be unknowingly trying to reinvent.
21
22 Philosphers and linguists tend to reuse the same familiar tools in
23 ever more (sometime spectacularly) creative ways.  But when your only
24 hammer is classical logic, every problem looks like modus ponens.  In
25 contrast, computer scientists have invested considerable ingenuity in
26 studying tool design, and have made remarkable progress.
27
28 "Why shouldn't I reinvent some idea X for myself? It's intellectually
29 rewarding!" Yes it is, but it also takes time you might have better
30 spent elsewhere. After all, you can get anywhere you want to go by walking, but you can
31 accomplish more with a combination of walking and strategic subway
32 rides.
33
34 More importantly, the idiosyncrasies of your particular
35 implementation may obscure what's fundamental to the idea you're
36 working with. Your implementation may be buggy in corner cases you
37 didn't think of; it may be incomplete and not trivial to generalize; its
38 connection to existing literature and neighboring issues may go
39 unnoticed. For all these reasons you're better off understanding the
40 state of the art.
41
42 The theoretical tools we'll be introducing aren't very familiar to
43 everyday programmers, but they are prominent in academic computer science,
44 especially in the fields of functional programming and type theory.
45
46 Of necessity, this course will lay a lot of logical groundwork. But throughout
47 we'll be aiming to mix that groundwork with real cases
48 in our home subjects where these tools play central roles. Our aim for the
49 course is to enable you to make these tools your own; to have enough
50 understanding of them to recognize them in use, use them yourself at least
51 in simple ways, and to be able to read more about them when appropriate.
52
53 Once we get up and running, the central focii of the course will be
54 **continuations**, **types**, and **monads**. One of the on-going themes will
55 concern evaluation order and issues about how computations (inferences,
56 derivations) unfold in (for instance) time.  The key analytic technique is to
57 form a static, order-independent model of a dynamic process. We'll be
58 discussing this in much more detail as the course proceeds.
59
60 The logical systems we'll be looking at include:
61
62 *       the pure/untyped lambda calculus
63 *       combinatorial logic
64 *       the simply-typed lambda calculus
65 *       polymorphic types with System F
66 *       some discussion of dependent types
67 *       if time permits, "indeterministic" or "preemptively parallel" computation and linear logic
68
69
70 <!--
71 Other keywords:
72         recursion using the Y-combinator
73         evaluation-order stratgies
74         normalizing properties
75         the Curry-Howard isomorphism(s)
76         monads in category theory and computation
77 -->
78         
79 ## Who Can Participate? ##
80
81 The course will not presume previous experience with programming.  We
82 will, however, discuss concepts embodied in specific programming
83 languages, and we will encourage experimentation with running,
84 modifying, and writing computer programs.
85
86 The course will not presume lots of mathematical or logical background, either.
87 However, it will demand a certain amount of comfort working with such material.
88 And it wouldn't be especially well-suited to be a first graduate-level course
89 in formal semantics or philosophy of language. If you have concerns about your
90 background, come discuss them with us.
91
92 It hasn't yet been decided whether this course counts for satisfying the logic requirement for 
93 Philosophy PhD students.
94
95 Faculty and students from outside of NYU Linguistics and Philosophy are wlecome
96 to audit, to the extent that this coheres well with the needs of our local
97 students.
98
99
100 ## Recommended Software ##
101
102 During the course, we'll be encouraging you to try out various things in Scheme and Caml, which are prominent *functional programming languages*. We'll explain what that means during the course.
103
104 *       **Scheme** is one of two major dialects of *Lisp*, which is a large family of programming languages. The other dialect is called "CommonLisp." Scheme is the more clean and minimalistic dialect, and is what's mostly used in academic circles.
105
106 Scheme itself has umpteen different "implementations", which share most of
107 their fundamentals, but have slightly different extensions and interact with
108 the operating system differently. One major implementation used to be called
109 PLT Scheme, and has just in the past few weeks changed their name to Racket.
110 This is what we recommend you use. (If you're already using or comfortable with
111 another Scheme implementation, though, there's no compelling reason to switch.)
112
113 *       **Caml** is one of two major dialects of *ML*, which is another large family of programming languages. The other dialect is called "SML" and has several implementations. But Caml has only one active implementation, OCaml, developed by the INRIA academic group in France.
114
115 *       Those of your with some programming background may have encountered a third prominent functional programming language, **Haskell**. This is also used a lot in the academic contexts we'll be working through. Its surface syntax differs from OCaml, and there are various important things one can do in each of Haskell and Ocaml that one can't (or can't as easily) do in the other. But these languages also have a lot in common, and if you're familiar with one of them, it's not difficult to move between it and the other.
116
117 [[How to get the programming languages running on your computer]]
118         
119 ## Recommended Readings ##
120
121 *       *An Introduction to Lambda Calculi for Computer Scientists*, by Chris Hankin...
122
123 *   *The Little Schemer, Fourth Edition*, by Daniel P. Friedman and Matthias Felleisen, currently $23 on [Amazon](http://www.amazon.com/exec/obidos/ASIN/0262560992/ref=pd_sim_books/103-5471398-9229403#reader_0262560992).
124 This is a classic text introducing the gentle art of programming, using the functional programming language Scheme.
125 Many people love this book, but it has an unusual dialog format that is not to everybody's taste.
126 **Of particular interest for this course** is the explanation of the Y combinator, available as a free sample chapter 
127 [at the MIT Press web page for the book](http://www.ccs.neu.edu/home/matthias/BTLS/).
128
129 *       *The Seasoned Schemer*", also by Daniel P. Friedman and Matthias Felleisen...
130
131 *       *The Little MLer*, by Matthias Felleisen and Daniel P. Friedman... This covers some of the same introductory ground as The Little Schemer, but this time in ML. The dialect of ML used is SML, not OCaml, but there are only superficial syntactic differences between these languages.
132         
133
134
135 ## Schedule of Topics ##
136
137 To be added.
138
139 ----
140
141 All wikis are supposed to have a [[SandBox]], so this one does too.
142
143 This wiki is powered by [[ikiwiki]].