LPL Software Manual
LPL Software Manual
CSLI Publications
Copyright
1999,
c 2000, 2005, 2007, 2008, 2009, 2011, 2013, 2015,
2017
CSLI Publications
Center for the Study of Language and Information
Stanford University
Contents
1 Introduction 1
1.1 System requirements . . . . . . . . . . . . . . . . . . 2
1.2 Obtaining the applications . . . . . . . . . . . . . . . 2
1.3 Installing the applications . . . . . . . . . . . . . . . 3
1.4 Getting Help . . . . . . . . . . . . . . . . . . . . . . 4
2 Using Submit 5
2.1 Getting started . . . . . . . . . . . . . . . . . . . . . 5
2.2 Choosing files to submit . . . . . . . . . . . . . . . . 7
2.3 How you know your files were received . . . . . . . . 9
2.4 Preferences and User Data . . . . . . . . . . . . . . . 10
2.4.1 Proxy Server Settings . . . . . . . . . . . . . 11
2.4.2 Preferred Host Settings . . . . . . . . . . . . 11
2.4.3 Timeout settings . . . . . . . . . . . . . . . . 12
2.4.4 Personality . . . . . . . . . . . . . . . . . . . 12
2.4.5 Check for Updates . . . . . . . . . . . . . . . 12
2.4.6 Use Native File Chooser . . . . . . . . . . . . 12
4 Using Fitch 29
4.1 Getting started . . . . . . . . . . . . . . . . . . . . . 29
4.1.1 The menus . . . . . . . . . . . . . . . . . . . 29
4.1.2 The proof toolbar . . . . . . . . . . . . . . . 31
4.1.3 The FOL toolbar . . . . . . . . . . . . . . . . 31
4.1.4 The proof window . . . . . . . . . . . . . . . 31
4.2 Creating and editing proofs . . . . . . . . . . . . . . 32
4.2.1 Step numbers . . . . . . . . . . . . . . . . . . 33
4.2.2 The current focus . . . . . . . . . . . . . . . . 33
4.2.3 Moving the focus . . . . . . . . . . . . . . . . 33
4.2.4 Adding new steps . . . . . . . . . . . . . . . . 34
4.2.5 Entering sentences into steps . . . . . . . . . 34
4.2.6 Deleting steps . . . . . . . . . . . . . . . . . . 34
4.2.7 Specifying a step’s rule . . . . . . . . . . . . . 35
4.2.8 The Lemma Rule . . . . . . . . . . . . . . . . 36
Contents / vii
5 Using Boole 46
5.1 Getting started . . . . . . . . . . . . . . . . . . . . . 46
5.1.1 The menus . . . . . . . . . . . . . . . . . . . 46
5.1.2 The toolbars . . . . . . . . . . . . . . . . . . 47
5.1.3 The assessment panel . . . . . . . . . . . . . 48
5.1.4 The table panel . . . . . . . . . . . . . . . . . 48
5.1.5 Adjusting the table panel . . . . . . . . . . . 49
5.2 Writing and editing tables . . . . . . . . . . . . . . . 49
5.2.1 Entering target sentences . . . . . . . . . . . 49
5.2.2 Creating reference columns . . . . . . . . . . 50
5.2.3 Filling in truth values . . . . . . . . . . . . . 50
5.2.4 Using the Column Ordering Panel . . . . . . 51
5.3 Specifying your assessment . . . . . . . . . . . . . . 52
5.4 Verifying your table . . . . . . . . . . . . . . . . . . 52
5.5 Saving or printing your table . . . . . . . . . . . . . 53
5.6 Preferences . . . . . . . . . . . . . . . . . . . . . . . 53
6 Languages 55
6.1 Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . 55
viii / LPL Software Manual
6.2 Pets . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
6.3 Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.4 Arith . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Index 58
Chapter 1
Introduction
Windows back to 98 and MacOS back to 8.5 but we no longer support these
configurations. The software may run on other flavors of Linux, but again we
do not support these configurations. You can obtain these older versions from
our web site.
Introduction / 3
Once you are registered, you can log into this account to down-
load an installer appropriate for your computer. You may down-
load any installer, as many times as you would like, and can install
the software on as many different computers as you like, provided
they all belong to you.
Using Submit
5
6 / LPL Software Manual
3. Your name and full email address. The name you enter
should be sufficient for your instructor to identify you. You
must use the same email address throughout the course, so
make sure you choose the right one and enter it correctly.
Launching Submit
To launch Submit double-click on the application. Its icon shows
a cogged wheel with a gold G in the middle.1 After a moment,
Submit’s main window will appear on your screen. You’ll know it
by the spinning cog.
Your goal is simply to fill in the various parts of this window
by typing in the information requested and specifying the list of
files to be submitted. Once that is done, you will simply press the
Submit Files button in the lower right of the window.
Start by filling in the information requested (Book ID, your
name, etc.). Read about this information above if you haven’t
already. Remember to use your full email address and to spell
it correctly. Once you have submitted files, your Book ID will
be associated with the email address you type in, so that no one
can use your Book ID to submit bogus homework in your name.
In later submissions, you will have to use the exact same email
address with your Book ID, so if you have more than one email
address, remember which one you used.
the program from the Start menu by choosing All Programs/LPL Soft-
ware/Submit.
8 / LPL Software Manual
side the folder whose contents you are viewing, choose those folder
names from the list and click Open, or simply double-click on
the folder names. Using these two techniques, you will be able to
find any file located on your computer’s hard disk or on any disk
inserted into one of the computer’s drives.
Once you have found the file(s) you want to submit, select the
file name in the lefthand list and click the Add>>> button to add
the name to the righthand list. If you want to add all files in a
folder, just select the folder and use the Add>>> button. Keep
doing this until the righthand list contains all the files you want
to submit. If any of the files are of the wrong type or have names
of the wrong form, Submit will let you know before putting them
on the list. It will give you a chance to correct the names of files
that are of the right type, but not named correctly. (This does not
change the names of the files on your computer, only the name sent
to the Grade Grinder.) You will also be able to skip files that are
not appropriate for submission. When you are finished choosing
files, click the Done button under the righthand file list.
Another way to specify files to submit is by choosing Choose
File to Submit. . . from the File menu while you are at the main
Submit window. This gives you the standard file open dialog box.
If you choose a file of an appropriate type (e.g., a Fitch file), it will
be added directly to the list of files to submit. This takes longer if
you have more than one file to submit.
The fastest way to specify the files to submit is to drag the files
(or a folder containing them) to the Submit application icon. This
will launch Submit (if it is not already running) and put the file
names directly onto the list of files to submit.
2.4.4 Personality
The Grade Grinder generates congratulatory messages in the grade
report when you get an exercise completely correct. By default,
the “classic” behavior, these are randomly selected. You can con-
trol the exclamations that are generated by using the Personality
setting, or switching all exclamations off using the setting “None”
if you prefer.
contains only the numeral “1” inside. This is where sentences are
entered and evaluated to see whether they are true or false in the
world represented in the world panel. Feel free to type something
in the sentence panel, say, “I’d rather be in Philadelphia.” Immedi-
ately above the sentence panel is a tab which contains the name of
the collection of sentences. Initially this is Untitled Sentences.
The fol toolbar above the sentence panel is used to enter sen-
tences of first-order logic. Feel free to play around by clicking on
the buttons in the fol toolbar.
you wish to open. You will have to navigate to the right folder to
find the prepackaged files, which are in TW Exercise Files. Find this
folder, select it, and then click Open, or simply double-click on the
name. Feel free to open one of the files you see, say, Ackermann’s
World, but if you make any changes to the world, don’t save them.
When you open a file, a new tab will be created above the new
sentence or world panel.1 This tab will contain the name of the file
that you opened. To return to viewing any other world or sentence
file, just click on its tab, and it will reappear.
one of the “Untitled” tabs that has not been changed. In this case the old tab
will be replaced by the new one.
16 / LPL Software Manual
should also make sure you are saving the file where you want it.
Check the directory name at the top of the save dialog box. If
you’re not in the folder where you want to save the file, navigate
to the right one by clicking on this name.
You may have noticed that there is another save command on
the File menu. depending on which panel is active, this reads Save
Sentences or Save World, and is equivalent to the corresponding
item on the Save menu. This item also has a shortcut.
Once a file has been saved, the name of the file appears in the
corresponding tab. If you are working on a named file, the Save
and Save As. . . commands behave differently. The first will save
a new version of the file under the same name, and the old version
will be gone. The second gives you a chance to create a new file,
with a new name, and keeps the old file, with its name. For this
reason, Save As. . . is the safer of the two options.
You can also access the save commands by right-clicking or
control-clicking (Macintosh) on the corresponding tab to get the
tab popup menu.
All files created by Tarski’s World can be read by either the
Macintosh or Windows version of the application.
3.1.6 Printing
To print your sentences or world, choose the appropriate Export
HTML command from the File menu, or from the tab popup
menu. This will export the sentences and/or world to a new tab
in your default browser. From there you can print. Note that you
should print with background colors and images turned on.
If you hold down the Option key, the up arrow takes you to the
first sentence of the list, the down arrow takes you the last sentence
of the list, and the left and right arrows take you to the beginning
and the end of the current word. Holding down the command key
while using the left and right arrow keys will move to the beginning
or end of the current sentence.
are guaranteed to win. But Tarski’s World does not simply give up.
At those points in the game when it needs to make choices, it will
make them more or less randomly, hoping that you will blunder
somewhere along the line. If you do, it will seize the opportunity
and win the game. But, as we have noted, you can always renege
by backing up.
3.6 Preferences
Some aspects of the behavior of Tarski’s World can be controlled
using the preferences dialog. This can be accessed by choosing
the Preferences. . . command from the application menu (Edit
Menu on Windows). The preferences dialog is shown in figure 3.2.
The preferences allow you to control various aspects of the ap-
plications. The FOL Editor Preferences are shared by Fitch,
Tarski’s World, and Boole and control the style of the text you
type such as bold/italic, size, and whether parentheses give hints
28 / LPL Software Manual
on how they are paired. Use Native File Chooser (only visible
in MacOS) is also shared; in almost all cases you should leave it
checked. Automatic Updates is also a global preference which
controls whether the applications check for updates when they are
launched. If this box is checked, the application will determine if
an update is available, and ask if you want to download and install
it.
Preferences specific to Tarski’s World include the Open panel.
With it you can opt to create a random world instead of an empty
one when a new world is created by selecting the Open with ran-
dom world checkbox. You can view an animation as the world is
opened or created by selecting the Open with flythrough check-
box, and you can opt to always open worlds in 2-D by selecting
Open in 2D. The Window Layout panel determines whether the
world and sentence sections are side by side (landscape or horizon-
tal, the default) or world section above sentence section (portrait
or vertical).
You can control the speed of animations, or switch all anima-
tions off using the Animation panel. The speed of animations is
controlled by a slider. When the slider is set to the Fast end of the
scale, the animations will have fewer frames, resulting in a more
jerky animation which takes less time. The Smooth end of the
scale will result in smoother, but longer, animations. You might
like to play with this setting to get the effect that is just right for
your computer. If nothing seems right, then you can switch all
animation off.
You can choose a different effect for how new blocks are created
with the Block Creation Effect panel, varying from dropping
from the sky, materializing or growing in place. We think that the
effects are pretty nifty. You might like to try them out.
You can determine the size and shape of the block that is cre-
ated when the New Block button is pressed with the Initial
Block Choice panel. You have the option of allowing Tarski’s
World to choose a size and shape for you, having a dialog, or al-
ways creating the same kind of block.
Chapter 4
Using Fitch
◦ File: This menu lets you start new proof files, open existing
proofs, save proofs, and export proofs for printing.
29
30 / LPL Software Manual
If, when you end a subproof, the last step of the subproof is
empty, then that step will just be moved out of the subproof. This
means you can end two embedded subproofs by choosing End
Subproof twice. The first time, you will end the innermost sub-
proof and get a new step in the outer subproof. The second time,
the new step will be shifted out of that subproof as well.
4.3 Goals
The goals for a problem are represented by sentences that appear
in the goal strip at the bottom of the proof window. These are the
sentences that are to be proven in your proof. If the goal strip is
not visible and you would like it to be, choose Show Goal Strip
from the Goal menu. If the goal strip is visible but you would like
more room for the proof, choose Hide Goal Strip from the Goal
menu.
When you are working on a problem and think that you have
satisfied one or more of the goals, choose Verify Proof from the
Proof menu. Either a check or an X will appear to the right of
each goal. If an X appears, focus on the goal by clicking on it, and
read the error message that will appear in the status line.
4.7 Preferences
Some aspects of the behavior of Fitch can be controlled using the
preferences dialog. This can be accessed by choosing the Prefer-
ences. . . command from the application menu (Edit Menu on
Windows). The preferences dialog is shown in figure 4.4.
The preferences allow you to control various aspects of the ap-
plications. The FOL Editor Preferences are shared by Fitch,
Tarski’s World, and Boole and control the style of the text you
type such as bold/italic and whether parentheses give hints on
how they are paired. Use Native File Chooser (only visible
Using Fitch / 45
Using Boole
for your table. You should use this feature only if the exer-
cise says that you can, since otherwise the Grade Grinder will
complain that you did not create your own reference columns.
Learning how to create reference columns is part of what you
must master when learning to build truth tables.
the truth value columns. A thick vertical line divides the reference
columns from the body of the table. When the insertion point is
in the heading area, you can enter target sentences on the right or
reference sentences on the left.
New sentence columns are added using the “plus” buttons in
the heading area. These buttons add a new column at the end of
the existing columns, nearest to the button. If you hold the Alt key
down when you click, the new column is added at the end furthest
from the button. You can also use the commands Add Column
After or Add Column Before from the Table menu. These add
new columns to the left (right, respectively) of the column that is
currently in focus. Once sentences are entered, truth values can be
entered in the appropriate places under those sentences.
for each sentence on the right hand side of the table. If you
are going to give a column ordering for any of the sentences,
then you must give one for all of them, or the missing ones
will be marked incorrect.
2. Each of the rows is checked next. If all of the references
columns are present and the values filled in under the target
sentence are correct, a checkmark will appear to the left of
the row on the target side of the table.
3. Next, Boole checks whether the table has exactly the required
rows that it needs. If a row is missing, or if there are extra
rows, then this check will fail.
4. Finally Boole checks to see whether your assessment is cor-
rect. Before it can do this, you must specify an assessment,
as described above. The checkmark for this will appear in
the assessment area.
5.6 Preferences
Some aspects of the behavior of Boole can be controlled using the
preferences dialog. This can be accessed by choosing the Pref-
erences... command from the application menu (Edit Menu on
Windows). The preferences dialog is shown in figure 5.3.
The preferences allow you to control various aspects of the ap-
plications. The FOL Editor Preferences are shared by Fitch,
Tarski’s World, and Boole and control the style of the text you type
such as bold/italic, font size, and whether parentheses give hints
on how they are paired. Use Native File Chooser (only visible
54 / LPL Software Manual
Languages
Fitch, Tarski’s World, and Boole all share a common fol toolbar
and one part of that are shortcuts for various languages used in
the three programs though the Blocks language is the most used
and is shown by default.
6.1 Blocks
Predicates
Tet(a) a is a tetrahedron
Cube(a) a is a cube
Dodec(a) a is a dodecahedron
SameShape(a, b) a is the same shape as b
Small(a) a is small
Medium(a) a is medium
Large(a) a is large
SameSize(a, b) a is the same size as b
LeftOf(a, b) a is located nearer to the left edge of the grid
than b
RightOf(a, b) a is located nearer to the right edge of the grid
than b
FrontOf(a, b) a is located nearer to the front of the grid than b
BackOf(a, b) a is located nearer to the back of the grid than b
55
56 / LPL Software Manual
6.2 Pets
Predicates
Pet(x) x is a pet
Person(x) x is a person
Student(x) x is a student
Home(x) x is at home
Happy(x) x is happy
Angry(x, t) x was angry at time t
Hungry(x, t) x was hungry at time t
Fed(x, y, t) x fed y at time t
Owned(x, y, t) x owned y at time t
Gave(x, y, z, t) x gave y to z at t
t < t0 t is earlier than t0 (for times)
Names
max, claire Max, Claire (people)
pris, scruffy Pris, Scruffy (cats)
folly, carl Folly, Carl (dogs)
2:00, 2:05, 3:00 2:00pm, 2:05pm, 3:00pm, Jan 2, 2011 (times)
Languages / 57
6.3 Sets
Predicates
a ∈ b a is an element of b
a ⊂ b a is a subset of b
6.4 Arith
Functions
s(a) the successor of a
a × b a multiplied by b
a + b a added to b
Predicates
a < b a is less than b
The only name is 0 (zero).
Index
add hiding labels, 19
Boole in Game, 25, 26
Column After, 49 moving, 18
Column Before, 49 naming, 18
Fitch pasting, 19
goal, 43 preferences, 28
premise, 43 selecting, 17
Step After, 34 sizing or shaping, 18
Step Before, 34 Book ID, Submit, 1, 6, 7, 10
Submit By Row, Boole, 51
files to list, 8
Tarski check mark, Fitch, 37, 38
blocks, 17 Check Step, Fitch, 37
Sentence After, 21 Choose Files, Submit, 7–8
Sentence Before, 21 Closing tabs, Tarski, 16
animation, Tarski, 28 column order, Boole, 47, 51–52
arrow keys columns, Boole, see reference columns
Fitch, 33 and target columns
Tarski, 21 Con menu, Fitch, 35
assessment, Boole constant box, Fitch, 33
button, 48 copy
panel, 48, 52 Boole, sentences, 46
asterisk, Fitch, 37 Fitch
author mode, Fitch, 42 goals, 41
sentences, 40–41
blocks, Tarski steps, 41–42
2-D view, 19, 20 Tarski
add, 17 blocks, 19
copying, 19 sentences, 23
cutting, 19 current focus, Fitch, 33
delete, 19 cut
58
Index / 59
verify
Boole, 48
assessment, 53
column ordering, 52
rows, 53
table, 53
Fitch
proof, 37, 40
Tarski
all, 23
all sentences, 23
vertical divider, Boole, 49
view
Tarski
2-D, 19
3-D, 20
web page, 4
Window menu
Fitch, 31
windows layout, Tarski’s World,
28
world panel
Tarski, 13
writing wffs
Boole
using keyboard, 49
using toolbar, 49
Fitch
using keyboard, 34