File: test.mm.ref

package info (click to toggle)
kf6-syntax-highlighting 6.18.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 49,060 kB
  • sloc: xml: 203,100; cpp: 12,878; python: 3,055; sh: 965; perl: 814; ruby: 494; pascal: 393; javascript: 161; php: 150; jsp: 132; lisp: 131; haskell: 124; ada: 119; ansic: 107; makefile: 96; f90: 94; ml: 85; cobol: 81; yacc: 71; csh: 62; exp: 61; erlang: 54; sql: 51; java: 47; sed: 45; objc: 37; tcl: 36; awk: 31; asm: 30; fortran: 18; cs: 10
file content (42 lines) | stat: -rw-r--r-- 3,671 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<Comment>$( Modified version of demo0.mm from 1-Jan-04 $)</Comment><br/>
<Normal></Normal><br/>
<Comment>$(</Comment><br/>
<Comment>                      PUBLIC DOMAIN DEDICATION</Comment><br/>
<Comment></Comment><br/>
<Comment>This file is placed in the public domain per the Creative Commons Public</Comment><br/>
<Comment>Domain Dedication. http://creativecommons.org/licenses/publicdomain/</Comment><br/>
<Comment></Comment><br/>
<Comment>Norman Megill - email: nm at alum.mit.edu</Comment><br/>
<Comment>$)</Comment><br/>
<Normal></Normal><br/>
<Keyword>$c</Keyword><Constant> 0 + = -> ( ) term wff |- </Constant><Keyword>$.</Keyword><br/>
<Normal></Normal><br/>
<Keyword>$v</Keyword><Variable> t r s P Q </Variable><Keyword>$.</Keyword><br/>
<Normal></Normal><br/>
<Label>tt</Label><Normal> </Normal><Keyword>$f</Keyword><Normal> </Normal><Constant>term</Constant><Variable> t </Variable><Keyword>$.</Keyword><br/>
<Label>tr</Label><Normal> </Normal><Keyword>$f</Keyword><Normal> </Normal><Constant>term</Constant><Variable> r </Variable><Keyword>$.</Keyword><br/>
<Label>ts</Label><Normal> </Normal><Keyword>$f</Keyword><Normal> </Normal><Constant>term</Constant><Variable> s </Variable><Keyword>$.</Keyword><br/>
<Label>wp</Label><Normal> </Normal><Keyword>$f</Keyword><Normal> </Normal><Constant>wff</Constant><Variable> P </Variable><Keyword>$.</Keyword><br/>
<Label>wq</Label><Normal> </Normal><Keyword>$f</Keyword><Normal> </Normal><Constant>wff</Constant><Variable> Q </Variable><Keyword>$.</Keyword><br/>
<Normal></Normal><br/>
<Label>tze</Label><Normal> </Normal><Keyword>$a</Keyword><Normal> </Normal><Constant>term</Constant><Variable> 0 </Variable><Keyword>$.</Keyword><br/>
<Label>tpl</Label><Normal> </Normal><Keyword>$a</Keyword><Normal> </Normal><Constant>term</Constant><Variable> ( t + r ) </Variable><Keyword>$.</Keyword><br/>
<Normal></Normal><br/>
<Label>weq</Label><Normal> </Normal><Keyword>$a</Keyword><Normal> </Normal><Constant>wff</Constant><Variable> t = r </Variable><Keyword>$.</Keyword><br/>
<Label>wim</Label><Normal> </Normal><Keyword>$a</Keyword><Normal> </Normal><Constant>wff</Constant><Variable> ( P -> Q ) </Variable><Keyword>$.</Keyword><br/>
<Normal></Normal><br/>
<Label>a1</Label><Normal> </Normal><Keyword>$a</Keyword><Normal> </Normal><Constant>|-</Constant><Variable> ( t = r -> ( t = s -> r = s ) ) </Variable><Keyword>$.</Keyword><br/>
<Label>a2</Label><Normal> </Normal><Keyword>$a</Keyword><Normal> </Normal><Constant>|-</Constant><Variable> ( t + 0 ) = t </Variable><Keyword>$.</Keyword><br/>
<Keyword>${</Keyword><br/>
<Normal>    </Normal><Comment>$( Define the modus ponens inference rule $)</Comment><br/>
<Normal>    </Normal><Label>min</Label><Normal> </Normal><Keyword>$e</Keyword><Normal> </Normal><Constant>|-</Constant><Variable> P </Variable><Keyword>$.</Keyword><br/>
<Normal>    </Normal><Label>maj</Label><Normal> </Normal><Keyword>$e</Keyword><Normal> </Normal><Constant>|-</Constant><Variable> ( P -> Q ) </Variable><Keyword>$.</Keyword><br/>
<Normal>    </Normal><Label>mp</Label><Normal>  </Normal><Keyword>$a</Keyword><Normal> </Normal><Constant>|-</Constant><Variable> Q </Variable><Keyword>$.</Keyword><br/>
<Keyword>$}</Keyword><br/>
<Normal></Normal><br/>
<Label>th1</Label><Normal> </Normal><Keyword>$p</Keyword><Normal> </Normal><Constant>|-</Constant><Variable> t = t </Variable><Keyword>$=</Keyword><br/>
<Label>    </Label><Comment>$( Here is its proof: $)</Comment><br/>
<Label>    tt tze tpl tt weq tt tt weq tt a2 tt tze tpl</Label><br/>
<Label>    tt weq tt tze tpl tt weq tt tt weq wim tt a2</Label><br/>
<Label>    tt tze tpl tt tt a1 mp mp</Label><br/>
<Keyword>$.</Keyword><br/>