• No results found

Users Guide GFnotation.tex (version 2.9, 29.03.2015)

N/A
N/A
Protected

Academic year: 2021

Share "Users Guide GFnotation.tex (version 2.9, 29.03.2015)"

Copied!
14
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

Users Guide

GFnotation.tex (version 2.9, 29.03.2015)

1. Description

This package implements macros to typeset formulas and inferences in Gottlob Frege’s notation in the style of his “Begriffsschrift, eine der arithmetischen nachgebildete Formelsprache des reinen Denkens” (see [1]) or in the style of his main work “Grundgesetze der Arithmetik” (see [2]). Here is an example of a single formula: A

a

⌣ f (a)

. And this is a complete inference:

A B B

A .

The package has two input formats, the so-called “symbolic representation” and the “short form.” The short form outputs the formulas either in the style of Frege’s Begriffsschrift or in the style that is used in his Grundgesetze. The above formulas are in the style of the Begriffsschrift ; here is the first one in the style of the Grundgesetze: A

a

⌣ f (a) .

Note: This users guide shows how to work with the package. It does not explain the constructions and symbols in Frege’s notation.

2. Elements of Frege’s notation

a) Letters. Frege used lowercase roman letters, a, b, c, . . . , uppercase Greek letters A, B, Γ , . . . , lowercase Greek letters α, β, γ, . . . , and Fraktur letters a, e, F, . . . .

b) Formulas (Begriffsschrift). The following notation is used by Frege to build formulas: Content stroke: A. Judgment : A.

Negation: A. Affirmation: A. Condition: B

A

. Generality: ⌣ Φ(a).a

Condition stroke: . Definition: ((A) ≡ B). Substitution: a f (a).

c) Inferences (Begriffsschrift). For inferences two types of lines are used: Single line: . Double lines: . Separator between inference chains:

d) Terminal symbols (Begriffsschrift). Four special constructions appear in the Begriffsschrift : δ | α  x(α) f (δ, α) , γe βf (xγ, yβ), γ e βf (xγ, zβ), δ I ǫf (δ, ǫ).

e) Formulas (Grundgesetze). The following notation is used by Frege to build formulas: Content stroke: A. Judgment : A.

Negation: A. Affirmation: A. Condition: B

A

. Generality: a

(2)

f ) Inferences (Grundgesetze). For inferences eight types are used: Single line: . Double lines: . Dashed line: . Dashed double lines: . Single/double line: . Dot/dashed line: · · . Contraposition:  . Quantification: | }. Separator : .

g) Special symbols (Grundgesetze). Several special characters appear in the Grundgesetze: symbols: fff.0\ 1\ ⌣⌣

unary operators: \\ ’α I i ´_ ´` ∗ ðγf γp U

n

last two from the fge fonts: U ”

binary operators: ⌢ ;−a −` \ −a l rotated : ¯ y

֒e ֒c F ß

3. How to load the package

The package requires characters that come with AMS-TEX (see [3]); the following statement must be given before the package is loaded: \input amssym.def. Then the package is loaded with the statement \input GFnotation.

The package has two styles: the one that is used in the Begriffsschrift and the one that is used in the Grundgesetze. If you want to work with the style of the Grundgesetze several external flags are available.

First, if only inferences without substitutions are needed the line \let\nosubst=t should be entered before GFnotation is loaded. This avoids typesetting errors and saves some TEX registers. Second, the flag \let\showrotation=t can be set to output some terminal symbols of the Grundgesetze rotated. Then \input rotate(see [4]) must be stated too. Otherwise the symbols are not shown as rotated symbols (some DVI screen drivers can’t do PS-rotation). The affected symbols are shown in Section 2g. Third, the flag \let\fgefontsknown=tcan be set to indicate that the fge-fonts by J. J. Green (see [5]) are available. Then some symbols of these fonts are used in the output. The affected symbols are shown in Section 2g.

After the package has been loaded two flags can be set (independent of the style).

1. \gfbslognotationtrue writes all formulas, which are given in the short form, in their symbolic repre-sentation into the log file of the TEX run.

2. \gfbszeigestatstrue writes a TEX message for each formula in short form if its number of lines is a new maximum.

By default the package activates the style that is used in the Begriffsschrift. To switch to the style of the Grundgesetze the global acting command \toggleGGstyle shall be given.

Therefore a typical start is coded in the following way if the style of the Begriffschrift is required: \input amssym.def

\input GFnotation

\gfbslognotationtrue % log short form formulas in symbolic representation

\gfbszeigestatstrue % inform about maximum number of lines of short form formulas Otherwise, the style of the Grundgesetze is started with

\input amssym.def %%% external flags:

\let\nosubst=t % substitutions aren’t needed

\let\showrotation=t \input rotate % activate this line if PS-rotation works %\let\fgefontsknown=t % activate this line if the fge-fonts are available \input GFnotation

%%% internal flags:

\gfbslognotationtrue % log short form formulas in symbolic representation

\gfbszeigestatstrue % inform about maximum number of lines of short form formulas %%% define the style of the output:

(3)

4. Shortcuts for letters

The characters that Frege used (except the roman letters) are coded with two letter shortcuts. The first letter indicates how the second letter is output. Uppercase Greek letters are introduced by ‘g’, lowercase Greek letters by ‘k’, and the Fraktur letters by ‘d’: $\gA$ outputs A, $\ka$ outputs α, and $\da$ outputs a.

Here is the list of the uppercase Greek letters; the coding follows [6].

$\gA$: A $\gB$: B $\gG$: Γ $\gD$: ∆ $\gE$: E $\gZ$: Z $\gH$: H $\gJ$: Θ $\gI$: I $\gK$: K $\gL$: Λ $\gM$: M $\gN$: N $\gX$: Ξ $\gO$: O $\gP$: Π $\gR$: P $\gS$: Σ $\gT$: T $\gU$: Υ $\gF$: Φ $\gQ$: X $\gY$: Ψ $\gW$: Ω

For the Fraktur letters only a subset of the alphabets is provided; these are the letters that appear in the Begriffsschrift or in part 1 of Vol. 1 of the Grundgesetze:

$\da$: a $\dc$: c $\dd$: d $\de$: e $\df$: f $\dg$: g $\dm$: m $\dn$: n $\ddo$: o $\ddp$: p $\dq$: q $\dr$: r $\dt$: t $\du$: u $\dF$: F

Note: Commands like \dp or \do shouldn’t change their plain TEX meaning. Therefore the commands for the letters ‘o’ and ‘p’ are build with two ‘d’s.

You can add more letters using a simple \def. For example, to add s declare \def\ds{{\frak s}}.

5. Input of formulas using the “symbolic representation” (Begriffsschrift)

This input format gives complete control over the output of the formulas. But it requires some amount of typing. All formulas are built from symbols and three of them are grouped into the argument of a control symbol. The control symbol is the \*. (The original meaning as discretionary multiplication is kept in the new control word \discretionarytimes.)

In total there are 35 symbols. In the following list the parentheses contain the sequence \*"#" if symbol ‘#’ is explained. The first collection lists the important symbols that are used for hand-coding the formulas in Frege’s notation.

_ ( ) is the empty space;

- ( ) is a horizontal line for the content stroke and the inference rule; ~ ( ) is a horizontal line with centered negation;

+ ( ) is a horizontal line with two centered negation indicators (affirmation); : ( ) is the then-part of the condition;

’ ( ) is the if-part of the condition;

! ( ) is a vertical line for the condition stroke;

[ ( ) is a vertical line placed left and starts a horizontal line; | ( ) is the vertical line for the substitution;

3 ( ) are two vertical lines used for definitions; = ( ) are two horizontal lines.

The following symbols extend the basic list and can be used to fine-tune the output. " () is a skip, that is, no output at all;

( ( ) negation but the indication of negation is moved to the left; ) ( ) negation with the indicator moved to the right;

(4)

/ ( ) affirmation with indicators moved to the right;

] ( ) is a vertical line placed right, that is, only the judgment stroke is printed.

For the generality a letter must be given. Therefore the parentheses contain the sequence \*#a. (\*@a" for @). Instead of the letter ‘a’ any other letter can be used that is available in the Fraktur font (see Section 4). A triple for the generality must be started with one of the following symbols .,‘;@. If it is not the @ then the symbol after the letter must be one of .,‘; .

. ( a

⌣ ) is a short vertical line; , ( a

⌣ ) is a short vertical line with a centered negation indicator; ‘ ( a

⌣ ) represents negation but the indicator is moved to the left; ; ( a

⌣ ) is a short vertical line with affirmation; @ (a

⌣) signals (without any output) that a letter for the generality follows.

Note: The letter ‘ß’ is special. It uses the content of the token register \dsz. For example, with the default \dsz={\xi} \*.ß. outputs ⌣ . Of course, ß must be a letter so for plain TEX the commandξ \catcode‘\ß=11must be entered before \input GFnotation is done.

Example 1. The formula A

a

⌣ f (a)

of Section 1 can be coded in the

following way: \vtop{%

\hbox{\strut\*[-:\*--- $\gA$} \hbox{\strut\*__’\*.a. $f(\da)$}}

The last list contains symbols that are used by the short form. The symbols do not try to have a mnemonic representation for their output. Most of these symbols can “change” and stand for one of two symbols from the above lists.

0 negation either moved to the left or the right: 0=() 1 affirmation: 1=^/

2 again affirmation: 2=^+

4 not required content strokes: 4=-" 5 not required empty space: 5=_" 6 judgment strokes: 6=[]

7 negated generality: 7=‘, 8 again negation: 8=<~

9 represents a content stroke that has only one third of its usual length;

* is a skip whose length is multiplied by 5/3 to get back into alignment after a 9;

$ is used only with a generality and represents either a short content stroke or an empty space.

6. Input for inference chains in the “symbolic representation” (Begriffsschrift)

In order to typeset complete inferences several formulas must be positioned in a chain and the rule for the inference has to be entered. The construction of Example 1 with \vtop, \hbox, and \strut is shortened to a single command \nlp. The terminal symbols become an argument of a second command \ce.

(5)

Example 2. This is the implementation of the inference in Section 1, that is A B B A : \nlp4\*_[-\*-:-\ce{$\gA$} \nlp4\*___\*_’-\ce{$\gB$} \nlp4\*_[-\*---\ce{$\gB$} \nlp4\*---\*---\*---\nlp4\*_[-\*---\ce{$\gA$} .

For complete inferences with substitutions more commands are required:

3. \ci{<s>} is like \ce but must be used in the line and spaces that follow are ignored; 4. \nlpc<n>{<s>} acts like \nlp<n> and sets the string <s> to the left in the white space; 5. \fono{<m>} outputs <m> as the number of the formula at the right end of the previous line; 6. \rep<n><f> repeats the \*-formula <f> <n> times;

7. \bcc<n>/<p><m>:<c><f>\ecc typesets an inference rule. <n> is the position to the right, <m> is a formula number used in the inference, and <f> is the rule itself. The parameter <p> is either ‘l’, ’m’, or ‘r’ to position the formula number to the left, in the middle, or to the right. And <c> is either ‘.’ or ‘:’ to output one or two colons after the formula number.

Example 3. The following code

\nlp4\ci{\hss\thinspace58\hss}\rep3\*___\*_[-\*-:-\*---\*-:-\ce{$f(b)$} \nlpc4{$f(A)$}\*_|_\*-:-\ci{$f(A)$}\rep2\*___\*_!_\*___\*_’-\ce{$g(b)$} \nlp4\*_|_\*_’-\ci{$g(A)$}\rep2\*___\*_’-\*.a.\*-:-\ce{$f(\da)$} \nlpc4{$c$}\*_|_\ci{$b$} \rep3\*___\*___\*___\*_’-\ce{$g(\da)$} \bcc4/m30:.\rep3\*___\null \rep6\*---\ecc \nlpc4{$a$}\*_|_\ci{$f(b)$} \rep2\*___\*_[-\*-:-\*-:-\*,a.\*-:-\ce{$f(\da)$} \nlpc4{$c$}\*_|_\ci{$g(b)$} \rep2\*___\*___\*_!_\*_!_\*___\*_’-\ce{$g(\da)$} \nlpc4{$b$}\*_|_\*.a.\*-:-\ci{$f(\da)$} \*___\*_!_\*_’-\*---\*--(\ce{$f(b)$} \nlp4\*_|_\*___\*_’-\ci{$g(\da)$} \*___\*_’-\*---\*---\*---\ce{$g(b)$} \fono{59}

outputs formula 59 of the Begriffsschrift:

58 f (b) f (A) f (A) g(b) g(A) a ⌣ f (a) c b g(a) (30) : a f (b) a ⌣ f (a) c g(b) g(a) b ⌣a f (a) f (b) g(a) g(b) (59.

One more command is required for collections of inferences:

(6)

Example 4. Here are some inferences of the Begriffsschrift : 1 a b a (8) : d a a a b (26. 26 a b a a b a a b a (1) : : a a (27.

The command \decollator4 appears after formula 26.

7. Input of formulas using the “short form”

This input format reduces the amount of typing compared to the symbolic representation. It follows given rules and produces as an intermediate step the code of the symbolic representation.

The input is recursively entered using four constructions:

1. =<sign>{<formula>} to add a signed content stroke in front of a formula;

2. <sign><sign>{<formula>}<sign>{<formula>} to build a signed condition from two signed formulas; 3. *<sign><character><sign>{<formula>} to add a signed concavity in front of a signed formula; 4. !\<nameofdef><arguments> to insert a previously defined subformula.

Here <formula> is either a valid formula constructed with the four rules or a terminal string (both are typeset in math mode) and <sign> is one of the following symbols:

. represents no sign; - represents the negation; + represents the affirmation.

In rule 4 <nameofdef> is together with the preceding backslash a defined control word that has at most three arguments given in <arguments>. The control word must define a part of a formula. This rule implements macro expansion to avoid retyping of often used parts in formulas.

Most formulas are created by rules 2 and 3; rule 1 is only needed to type a single line.

Important note: The braces around <formula> can be omitted if the formula is a terminal string that consists of a single token. Double curly braces are required around terminal strings that have more than five tokens. But single braces must always be used for formulas in rules 1–3, which are not terminal strings. (In Example 5 below case i shows that a single token needs no braces. The cases ii and iii show the use of single and double curly braces.)

Formulas that are created by the above rules must be given to the following commands:

(7)

Example 5. Here are a few examples for all four rules: i) \frege|{=-\gA} outputs A.

ii) \frege.{-.\gA-{{g(\ka,\kb)}}} outputs A g(α, β)

.

iii) \frege.{*-a+{f(\da)}} outputs a

⌣ f (a).

iv) \def\0#1{*.a.{#1(\da)}} together with \frege|{-.\gA-{!\0f}} outputs A

a

⌣ f (a) .

The output of iv) is nearly the formula of Section 1 ( A

a

⌣ f (a)

); it can be

coded (without \0) as \frege|{..\gA.{*.a.{f(\da)}}}.

Of course, a formula in Frege’s notation that has several lines is not easy to read in a sequential form. The periods and braces do not help to make the structure of that formula easy to recognize. I suggest to copy a Frege formula from left to right and from bottom to top and to use more than one line for the sequential coding.

Example 6. This example shows how to construct in a structured manner the short form of a given formula, which is written in Frege’s notation. The formula

is A B a ⌣ Γ ∆ .

Step 1: The formula is a judgment and starts at the left with a condition, whose upper line contains a negation indicator. So the coding starts with

\frege|{.-{}.{}}

Or write it in two lines to make the structure visible: \frege|{.-{}

.{}}

Step 2: The bottom part starts with a concavity, so the input becomes \frege|{.-{}

.{*.a.{}}}

Step 3: A simple condition comes after the concavity \frege|{.-{}

.{*.a.{..\gG-\gD}}}

And the final step is to add the condition in the upper part: \frege|{.-{..\gA.\gB}

.{*.a.{..\gG-\gD}}} Note: The input

\frege|{..{-.\gA.\gB} .{*.a.{..\gG-\gD}}} outputs A B a ⌣ Γ ∆

, which looks very similar to the given formula but, of

(8)

8. Inferences of the Begriffsschrift in the “short form”

Five commands are available to typeset inferences with the short form:

1. \outof p<n>,<o>"<m>"with<r>\thatis starts the inference chain. The parameter <n> is the number of units the output is moved to the right, <m> is a number of a formula, <o> is an offset to position the number <m> <o> lines lower, and <r> is either empty or a space separated list of pairs v:F to indicate the substitution of v by the formula F.

2. \use p<n>"<m>" is a shortcut of \outof if the parameters <o> and <r> are not needed; <o> is set 0 and <r>is empty.

3. \followswith p<n>"<m>"a<c>p<N>s<l> draws the inference rule and can be expressed in the \bcc macro of Section 6, no 7, as \bcc{<n>}/m{<m>}:<c>\rep(<N>-<n>)\*___\rep{<l>}\*---\ecc. 4. \substituting p<n> <r>\whichgives has the usual position parameter <n> and a list of substitutions

<r>in the above described form v:F.

5. \named "<m>" outputs the number <m> as the number of the previous formula. An inference chain is typically typed with the sequence:

\outof ... with ... \thatis \formula ...

\followswith ...

\substituting ... \whichgives \formula ...

\named ...

or if no substitution in the first formula is required, the \outof line is replaced by the simpler \use.

Example 7. The formula of Example 3

58 f (b) f (A) f (A) g(b) g(A) a ⌣ f (a) c b g(a) (30) : a f (b) ⌣a f (a) c g(b) g(a) b a ⌣ f (a) f (b) g(a) g(b) (59.

has this coding:

(9)

9. Terminal symbols of the Begriffsschrift

In part 3 of the Begriffsschrift four symbols are defined. They are available as TEX commands. The commands get more flexibility than the Begriffsschrift requires as all possible content can be addressed by parameters.

1. \gfvererbe with four parameters: $\gfvererbe\kd\ka{x(\ka)}{f(\kd,\ka)}$ outputs δ | α  x(α) f (δ, α) .

2. \gffolgt with three parameters: $\gffolgt\kg\kb{f(x_\kg,y_\kb)}$ outputs γe

βf (xγ, yβ). 3. \gfgehoertan with three parameters: $\gfgehoertan\kg\kb{f(x_\kg,z_\kb)}$ outputs γe

βf (xγ, zβ).

4. \gfeindeutig with three parameters: $\gfeindeutig\kd\ke{f(\kd,\ke)}$ outputsδI ǫf (δ, ǫ).

I use shortcuts for these special terminal symbols and reduce the number of parameters to the amount that is used in the text; see Example 11 below.

10. Output style of the Grundgesetze

Frege made changes to the notation in his main work. A command and several flags are defined to switch from the style of the Begriffsschrift to the style of the Grundgesetze.

1. \toggleGGstyle switches the styles; the default is the style of the Begriffsschrift. Several of the changes are global so even if the switch is made inside a group it shall be called a second time to switch it back. This happens when it is called for the first time:

a) \gfbsuseGGstyletrue is set. Together with a call to \gfbsneuestriche the thickness of the lines is changed.

b) \gfbskompakttrue is set. This reduces the width of the formulas that are input with the short form.

c) \gfggschlussweisetrue is set. This activates more symbols to express the eight inferences of the Grundgesetze (see Section 12).

d) \gfbsfonoohnepunkttrue is set. No period after the number of a formula is set in \fono or \named. e) \gfbsnegdirekttrue is set. The negation indicator touches the content stroke.

2. The flags can be set individually, for example, to get a compact output but keep the line thicknesses etc. of the Begriffsschrift.

3. To control the compact output of the generality when the flag \gfbskompakttrue is set more flags are available. Examples are given to show how these flags influences the output.

α) The output is not compact if \gfbskeinekompaktehoehlungtrue is set. At the left the flag is false and at the right true; the source code is \frege|{..{*-a.{\gY(\da)}}.{*.e.{\gF(\de)}}}:

a ⌣ Ψ (a) e ⌣ Φ(e) a ⌣ Ψ (a) e ⌣ Φ(e) .

β) The output of the short form rule 1 (with the =) can have no effect except if the flag named \gfbsaussagesichtbartrueis set. At the left the flag is false and at the right true; the line reads \frege.{=.a} vs \frege.{=.{=.a}}: a vs a a vs a

(10)

Example 8. Here is the example of Sections 1 and 5; it is coded in the short form as \frege|{..\gA.{*.a.{f(\da)}}}: A

a

⌣ f (a) .

11. Setting formulas in parentheses and brackets (Grundgesetze)

In the Grundgesetze some formulas must be placed in parentheses or brackets. A few commands are provided to make this an easy task.

1. \pfrege<x><j>{<f>} acts like \frege<j>{<f>} and adds parentheses around this formula. The result is stored in a box with the number <x>. In total there are four boxes for this task.

2. \bfrege<y><j>{<f>} is like \pfrege but the formula is placed between brackets. The pool of boxes is independent from the \pfrege boxes and there are four boxes.

3. \pparens<x><M> places the math <M> with parentheses in the box numbered <x>. The boxes are taken from the pool that is available for \pfrege.

4. \bparens<y><M> acts like \pparens but it uses brackets and the pool of boxes of \bfrege. 5. \pfbox<x> outputs box number <x> from the \pfrege pool.

6. \bfbox<y> outputs the box <y> from the pool used by \bfrege.

Example 9. The following formula appears on page 115 of the Grundgesetze, vol. 1. ’ǫ ǫ = m ǫ⌢’ǫ ǫ = b ǫ⌢u  ! " ǫ = n ǫ⌢’ǫ ǫ = c ǫ⌢v  #i ’α ’ǫ" ǫ⌢(α⌢q) ǫ = b α = c #! b⌢’ǫ ǫ = m ǫ⌢ ’ǫ ǫ = b ǫ⌢u  ! c⌢’ǫ ǫ = n ǫ⌢’ǫ ǫ = c ǫ⌢v  ! ’ǫ ǫ = m ǫ⌢’ǫ ǫ = b ǫ⌢u  !⌢ ’ǫ" ǫ = n ǫ⌢’ǫ ǫ = c ǫ⌢v  #i q! And here is the source:

(11)

12. Inferences of the Grundgesetze

The list entry 1c of Section 10 needs some explanation as it extends the list of available symbols for inferences. Two of the symbols have no output (? and >). In the following list the text in parentheses contains the sequence \*?#" or \*?># for the symbol ‘#’.

? (must be the first in the triple) signals that the next two symbols build an inference line in the style of the Grundgesetze. Such symbols use 50% more space than ordinary symbols.

- ( ) is a single horizontal stroke; . ( · ) is a single (centered) period; = ( ) is a double stroke;

* ( ) is a single stroke in the height of the upper line of the double stroke; _ ( ) is an empty space;

" () is a skip;

> has no output; the next symbol must be a transition-sign: x (  ) it must follow a >;

u (| }) it must follow a >.

Inferences of the Grundgesetze are separated by a new type of line: 1. \separator outputs a thick line with a centered dot.

Example 10. Here is an inference chain from the Grundgesetze:

III f ⌣ f(a) f(a) a = a   a = a f ⌣ f(a) f(a) (α • I f (a) f (a) | } f ⌣ f(a) f(a) (β (α): a = a (IIIe

(12)

13. Terminal symbols of the Grundgesetze

The Grundgesetze has not such complex constructions as the Begriffsschrift (see Section 9). But it contains a lot of special symbols.

1. \G!: \\ξ. 16. \Gfm: u− q.a

2. \kasl: ’αΦ(α). 17. \Gsm: p− q.`

3. \G^: a⌢b. 18. \G<: p\q.

4. \GI: Ip. 19. \Gy: p ¯ y q. 5. \G>: i p. 20. \Ge: p ֒e q. 6. \GU:Up (or Up). 21. \Gc: p ֒c q.

7. \Gn:

n

⌣u (or ”u). 22. \Gmf: p−aq. 8. \G0: 0\. 23. \G*: ∗ t. 9. \G1: 1\. 24. \G6: ðs. 10. \Gbf or \Gff: fff.. 25. \Gf: γf s. 11. \G-: ´_ q. 26. \GF: s F u. 12. \G~: ´` q. 27. \Gl: s l u. 13. \G_: p q. 28. \Gp: γp s. 14. \Guu: ⌣⌣

. 29. \Gss or \Gsz: s ß p. 15. \G;: o ; a.

The symbols are constructed with the Computer Modern and AMS-TEX fonts. But with the external flag \fgefontsknownthe second symbol in numbers 6 and 7 is selected (see Section 3).

Several symbols are rotated and this requires the package rotate.tex. The output of unrotated symbols is activated by default; the external flag \let\showrotation=t must be given to activate rotation (see Section 3).

14. Typesetting definitions

The following command is provided to typeset definitions:

1. \gfdefinition p<n><J> <j>{<f>}=<e> outputs the formula \frege<j>{<f>} in parentheses and sets it equal to the new symbol <e> if the parameter <J> is either | to type a judgment or . for a definition. In the style of the Grundgesetze the parameter <J> can also be :. In this case write <j><f> and this is interpreted as a math formula and not as a formula created by \frege. The parameter <n> is the position parameter to move the output the given amount of units to the right.

The output of a definition depends on the style.

Example 11. The definition in formula 69 of the Begriffsschrift is:                 d ⌣ ⌣a F (a) f (d, a) F (d)        ≡ δ | α  F (α) f (δ, α)         In the style of the Grundgesetze the output is:

d ⌣ ⌣a F (a) f (d, a) F (d) = δ | α  F (α) f (δ, α)

And here is the source (note that \1 is a normal macro and needs no macro expansion):

\def\1#1{{\gfvererbe\kd\ka{#1(\ka)}{f(\kd,\ka)}}} \gfdefinition p4. .{*.d.{..{*.a.{..{F(\da)}

(13)

Example 12. Here is an example of the Grundgesetze, in which the <J> is a colon.

’ǫ(o⌢(a⌢ǫ)) = o ; a (Ξ

And this is the source:

\gfdefinition p4: \kesl(o\G^(a\G^\ke))={o\G;a} \named "$\gX$"

15. Commands to improve page breaks

The formulas are never broken. A page or column break must appear at a decollator, separator, or after an inference rule. To gain some space the formulas can be typeset in a smaller height and depth. (\offinter-lineskipshould be set.)

1. \gfbssetzeabstand<h><d> sets the height and depth between the lines to <h> pt and <d> pt, resp.; 2. \gfbsreduziereabstandum<nn> reduces the height and depth each by <nn>% (<nn> is a two-digit

number);

3. \gfbsabstandzuruecksetzen sets height and depth to the values of \strutbox.

Example 13. The right formula uses \gfbsreduziereabstandum20: a c e a c e And this is the code:

\offinterlineskip \setbox0=\hbox to .3\hsize{\vtop to 30pt{% \nlp4\*_[-\*-:-\*---\ce{$a$} \nlp4\*___\*_’-\*-:-\ce{$c$} \nlp4\*___\*___\*_’-\ce{$e$}\vss}\hss} \setbox1=\hbox to .3\hsize{\vtop to 30pt{% \nlp1\*_[-\*-:-\*---\ce{$a$} \gfbsreduziereabstandum20 \nlp1\*___\*_’-\*-:-\ce{$c$} \nlp1\*___\*___\*_’-\ce{$e$}\vss}\hss} \centerline{\box0 \box1 } \gfbsabstandzuruecksetzen 16. List of parameters

Nearly all aspects of the lines that build the structure of Frege’s notation is controlled by parameters. They can be changed to fit better with a certain type of font. But note that a couple of tests have been made with these values to guarantee, for example, that the affirmation can be placed in front of a quantification. Here is the list of registers that make up the style of the Begriffsschrift.

1. \gfbsvolleeinheit = 0.57 em; width of one \* triple 2. \gfbsraise = 0.5 ex; height of the horizontal line 3. \gfbsneg = 0.25 ex; height of the negation indicator 4. \gfbsstrichdicke = 0.5 pt; thickness of the horizontal line 5. \gfbsurteildicke = 1 pt; thickness of the judgment stroke 6. \gfbsuht = 1.5 ex; height of the judgment stroke

(14)

8. \gfbsersetzungdicke = 0.8 pt; thickness of the substitution line 9. \gfbsdefdicke = 0.75 pt; thickness of the definition strokes

10. \gfbsschlussabstand = 2.5 pt; distance of double lines in an inference 11. \gfbsschlussdicke = 0.8 pt; thickness of the second line in an inference 12. \gfbsdpabstand = 0.2 em; distance between colons in front of an inference

13. \gfbsmaxanzahlzeilen = 25; the maximal amount of lines in a single formula of the short form (the package declares for each line one or two token and skip registers; two registers of each kind are needed if substitutions are allowed);

14. \gfbsnegpct = 70; when \ifgfbsnegdirect is set to false the negation indicator has only a height of this percentage so that a gap occurs.

And this is the list of additional dimen parameters for the style of the Grundgesetze. 15. \gfggstrichdicke = 0.58 pt; common line thickness

16. \gfggraise = 0.14 ex; height of horizontal line 17. \gfggneg = 0.47 ex; height of negation indicator 18. \gfgguht = 1.4 ex; height of the judgment stroke 19. \gfggudp = 0.9 ex; depth of the judgment stroke

20. \gfggdpabstand = 0.06 em; distance between colons in front of an inference

17. Related work

Other people have worked on the problem to typeset Frege’s notation in TEX too. J. Parsons has developed a package begriff.sty for LATEX (see [7]). Later the package was improved by Q. Pamp ([8]). A team that

translated the Grundgesetze created its own package from begriff.sty and called it grundgesetze.sty (see [9]). It uses the fonts [5] that J. J. Green has developed for the special terminal symbols in the Grundgesetze.

18. References

[1] Gottlob Frege, Begriffsschrift, eine der arithmetischen nachgebildete Formelsprache des reinen Denkens(Halle an der Saale: Louis Nebert, 1879)

“Begriffsschrift, a formula language, modeled upon that of arthmetic, for pure thought,” in: Jean van Heijenoort (ed.), From Frege to G¨odel: A Sourcebook in Mathematical Logic, 1879–1931,

(Cambridge, MA: Harvard University Press, 1967), 1–82; translation by S. Bauer-Mengelberg [2] Gottlob Frege, Grundgesetze der Arithmetik — begriffsschriftlich abgeleitet (Jena: Hermann Pohle,

Volume 1 1893, Volume 2 1903)

Basic Laws of Arithmetic (Oxford: Oxford Univ. Press, 2013); translation by Philip A. Ebert, Marcus Rossberg, Crispin Wright

[3] American Mathematical Society, amstex, http://www.ams.org/publications/authors/tex/tex or http://www.ctan.org/tex-archive/macros/amstex(accessed: 2014-11-29)

[4] rotate, http://www.ctan.org/tex-archive/macros/plain/contrib/misc (accessed: 2014-11-29) [5] J. J. Green, fge, http://www.ctan.org/tex-archive/fonts/fge (accessed: 2014-11-29)

[6] Silvio Levy, “Using Greek fonts with TEX,” TUGboat 9,1 (1988), 20–24

[7] Josh Parsons, begriff.sty, http://www.ctan.org/tex-archive/macros/latex/contrib/begriff (accessed: 2014-11-29)

[8] Quirin Pamp, frege.sty, http://www.ctan.org/tex-archive/macros/latex/contrib/frege (ac-cessed: 2014-11-29)

Referenties

GERELATEERDE DOCUMENTEN

Sara Plessers: „Vluchtelingen hebben dan weer vaak geen geld voor voorbehoedmiddelen, noch voor de opvoeding van een kind.”..

Replicative senescence that occurs in hepatocytes in culture and in liver cirrhosis is associated with lack of telomerase activity and results in telomere shortening..

SW-480 and HT-29 (human colon adenocarcinoma) cells, both expressing the lncRNA CCAT1 sequence and SK-Mel-2 melanoma cell line that does not express the lncRNA CCAT1, were

With the introduction of Lucas (1978) one can now formalize Fisher's statement with a time-dynamic optimization of the consumer's problem. In this study, we do just that and derive

The empirical evidence indicate that balance budget rules, their formal enforcement procedures, and expenditure rules contribute to the effectiveness of FD in achieving

The self-alignment and bundling characteristics of these electrospun fibers were attributed to the unique molecular architecture of the conjugated polymer; PP-g-PS/PCL, and its

Using higher DCM/acetone ratio resulted in bead-free fibers from less concentrated polymer solutions due to the high viscosity of the solutions, in addition, more porous CA fibers

Here, gold nanoparticles (Au-NPs) were directly obtained in the poly (vinylpyrolidone) (PVP) polymer solution by using laser ablation and then, the PVP/Au-NP solution was