Import of code from J Slaney web-page.

url: http://users.cecs.anu.edu.au/~jks/software/magic.2.2.1.tar.gz
This commit is contained in:
arran 2017-10-20 22:21:43 +08:00
commit e2efc4b8cd
57 changed files with 12700 additions and 0 deletions

19
dat/BTW.show Normal file
View file

@ -0,0 +1,19 @@
B Axioms 1 - 8 as for FD.
9. ((A -> B) & (A -> C)) -> (A -> (B & C))
10. ((A -> C) & (B -> C)) -> ((A v B) -> C)
Rules 1 - 2, 8 - 12 as for FD.
Rules 6 and 7 replaced by the above axioms.
Rules 3 - 5 replaced by:
4'. A -> B ==> (C -> A) -> (C -> B)
5'. A -> B ==> (B -> C) -> (A -> C)
DW is B with rule 8 replaced by the axiom form:
Axiom 11. (A -> ~B) -> (B -> ~A)
TW is DW with rules 4' and 5' replaced by the axiom forms:
Axiom 12. (A -> B) -> ((C -> A) -> (C -> B))
13. (A -> B) -> ((B -> C) -> (A -> C))

15
dat/CUT.show Normal file
View file

@ -0,0 +1,15 @@
A user-defined connective may optionally be marked with a "cut".
This serves to control backtracking much as in Prolog. MaGIC will
not generate two models whose most significant difference is in
a connective with a cut.
Thus for example, where `A' is a primitive 0-adic connective and
a rule
A v ~A /
has been added, MaGIC will normally generate failures of the law
of the excluded middle. However, if `A' has been marked with a cut
then MaGIC will generate models in which that law fails: if it
fails for more than one element of a model, only the smallest such
element will be reported.

21
dat/FDL.show Normal file
View file

@ -0,0 +1,21 @@
FD Axioms: 1. A -> A
2. (A & B) -> A
3. (A & B) -> B
4. A -> (A v B)
5. B -> (A v B)
6. ~~A -> A
7. F -> A
8. A -> T
Rules: 1. A -> B, A ==> B
2. A, B ==> A & B
3. A -> B, B -> C ==> A -> C
4. A -> B, B -> A ==> (C -> A) -> (C -> B)
5. A -> B, B -> A ==> (B -> C) -> (A -> C)
6. A -> B, A -> C ==> A -> (B & C)
7. A -> C, B -> C ==> (A v B) -> C
8. A -> ~B ==> B -> ~A
9. A ==> t -> A
10. t -> A ==> A
11. A -> (B -> C) ==> (A o B) -> C
12. (A o B) -> C ==> A -> (B -> C)

21
dat/LOG.show Normal file
View file

@ -0,0 +1,21 @@
Axioms for the stronger logics are as follows:
EW is TW plus ((A -> A) -> B) -> B
C is TW plus A -> ((A -> B) -> B)
T is TW plus (A -> (A -> B)) -> (A -> B)
and (A -> ~A) -> ~A
E is T plus ((A -> A) -> B) -> B
R is C plus (A -> (A -> B)) -> (A -> B)
CK is C plus A -> (B -> A)
S4 is E plus A -> (B -> B)
Axiomatisations of fragments of these logics result by
selecting the axioms and rules which explicitly mention
the appropriate connectives.

41
dat/MEN.show Normal file
View file

@ -0,0 +1,41 @@
Menu options:
a: Add a pre- or user-defined axiom or rule to the logic.
b: Specify a formula to fail in the matrices found.
c: Define a connective. E.g. + defined ~a -> b.
d: Delete either an axiom, a user-defined connective or the bad guy.
e: Exit from MAGIC.
f: Choose the fragment (pre-defined connectives).
g: Search for matrices.
h: Display this page.
i: Change the output formats.
j: Set a condition on which to jump out of the search.
k: Re-initialise everything.
l: Change your mind about your favourite logic.
m: Display information about MaGIC (version number etc).
n: Change number of processes (parallel version only).
o: Re-order dyadic connectives for scope or significance purposes.
p: Select which tables to print when matrices are found.
q: Quit MaGIC (equivalent to e).
r: Read a job specification from a named file.
s: Write the current job specification to a named file.

22
dat/OUT.show Normal file
View file

@ -0,0 +1,22 @@
Output formats are as follows:
"Pretty": Matrices are printed in human-readable form.
This is the default for tty output. Each
matrix is followed by an assignment of values
falsifying the "bad guy" if there is one.
"Ugly": Matrices are printed in a standard machine-
readable form with -1 as break character.
No headings, comments, etc. are included.
"Summary": Only the numbers of matrices are printed.
This is useful for checking the size of a
job before getting a printout of matrices.
It runs slightly faster than "pretty" or
"ugly".
"None": No matrices are printed, although the final
statistics are still sent to the tty. This
is the default for file output.

22
dat/WFF.show Normal file
View file

@ -0,0 +1,22 @@
The following conventions govern typing of formulas.
(a) Variables are any (upper or lower case) letters other
than those (such as 'o' and 'v') used as connectives.
't', 'f', 'T' and 'F' are sentential constants.
(b) Parentheses are as normal, with the features that
connectives of smaller scope bind more tightly than
those of larger scope, and that except as scope and
parentheses dictate, association is to the left.
Unary connectives have minimal scope. The binary ones
in order of increasing scope are o & v -> followed
by user-defined ones. The scope order may be changed.
A period may replace a left parenthesis whose right
mate is as far to the right as is reasonable.
(c) Spaces are ignored. RETURN terminates the formula.

BIN
dat/ba.16 Normal file

Binary file not shown.

BIN
dat/dl.10 Normal file

Binary file not shown.

BIN
dat/dln.14 Normal file

Binary file not shown.

1
dat/l.8 Normal file
View file

@ -0,0 +1 @@
/¿“ïý{Žütúv<C3BA>Æ¡ï×qèß}úŸÇ!¤A¿ÒÕd4è׺ ý\—£A¿Óõd4è÷ºž<EFBFBD>†ƒ~çëÉx8èg¿úݯ§ãá ßÿz<ô?ÝOý_÷³ÑpÐÿw? úßï§ÃAÿÿý|<ä"]è/®LŒ ô—IWF†úÓ¤K#ƒý-Òµ‰<E280B0>þ6éÚÌÈÐà@Ëtmrdp ¿Åº6164Пj]èoµ®M<C2AE> ôÇZ§†úÛ­kcCƒýñÖŹ±¡Á<C2A1>þzéêÈÐ@®uyjhp ?ߺ<7648Пs]žèï®OŒ ô÷I×gF†ú{¬ëcCƒý½Öõ©±¡Á<C2A1>þ~ëúÜØÐà@Ïu}rlhp ¿Ç»>1>4Ðßë]Ÿèïÿ®<C3BF> ôÇìúkö«“£ƒýuûÕÑáÁ<C3A1>þ¼ýòèà@<>~}btp ¿g¿>9:8Ðß·_Ÿèïñ¯OŒô÷ü×'LJúsÿËÃý½ÿõéñáÁ<C3A1>þþÿúøðà@ÿ<>tb ÿOº?324Ðÿ/ÝŸèÿµîO ôÿ[÷çÆ†ú®û“Cý¿×ý鱡Á<C2A1>þÿéþüÈ@ÿÿu~lhp ÿÿ»??>4Ðÿ³ßŸèÿÛïÏŽôÿï÷çGúÿûÓÃýÿÿýùñáÁ<C3A1>üúF è_ŒHWŒ2 2"]2bЀþMˆtÍ„ú7#Ò53F 4 “"]3iÄ <C384>ú7aÒ5Æ Ð?)“.2h@ÿ¦Lºfʘô<>ʤ¦ 4p@ÿæLºfÌ<66>AúGgÒEsÆ 4p@ÿ0MºpÈ€þÕ‰tÕˆ!ôÏʤ˦ 4p@ÿìLºlΘ蟥I—M2p@ÿ,Nºlâ˜èß…H×M1 7"]7cÄ<63><C384>úw1ÒuG п “®0fÈ ý»2éº)c† 8 w&]7gÌ<67>AôïÒ¤ë&<26>2hà€þ]œtÝÄ1C Ð?.1 7#]7sÄ<73><C384>úg1Óe Ð?›™.9rÈÀý»péº ã† èß•K×M7dÐÀý»wéºqCè¾KÎ7dà€þQªuÑ <C391>úW©ÖU“F 8 ˜j]8iÐÀý«UëªQà Ð?[µ.5hà€þáªuá¬Qà Ð?Œµ.4 j]7aÔ ý»TëºI£ п[µ®5jØ <C398>úw±ÖuG 8 n]7aܰAúwéÖu“Æ 4p@ÿ¬ÝºlØ <C398>úwíÖuÓÆ 4p@ÿ°ÝºpÚ°AôïÞ­ëÆ 4p@ÿðݺpÞ¸èÆ[Ž6hà€þåŠuå¬Ã п|±®œ7bØ <C398>ú—-ו# 蟶I—Ž2h@ÿôMºtÞ˜èß¾I׎2h@ÿô]ºtÞ¸è§ZO4p@ÿxÕºxÖ¨aƒèÇZO5hà€þñ«uñ¼Qƒè·[O6hà€þñ»uñ¼qà Ð?Ž·.ž8nØ <C398>ú×#ÖÕ3F пN±®ž4bЀþu´Ã è_§ZWO5hà€þõªuõ¬Qà пnµ®ž6jØ <C398>ú×±ÖÕG 4p@ÿúÕºzÞ¨aƒè_§\WO9hà€þuËuõ´Ã пž¹®ž9rØ <C398>ú÷!ÒõF èß<C3A8>H×Ï1d@ÿ>Lº~˜!ƒôïˤ만2h@ÿþLº~Θ!ƒôïÓ¤ë'<27>2hà€þ}¸tý„qCèß—K×O7dÐÀýûwéúyㆠп<C390>—®Ÿ8nÈÀýóvëòià Ð?·.Ÿ7nØ <C398>ú÷¡ÖõF 8 Ÿj]?iÔ <C394>ú÷«Öõ³F 4p@ÿ>Öº~â¨Aôïíë'Œ6hà€þ}ºuý¤qà пo·®Ÿ6nØ <C398>ú÷ïÖõóÆ 4p@ÿ>Þº~â¸è߇\×O9h@ÿ>åº~ÒÈaƒèß·\×O9lÐÀýãzéâ!úש×Õ“F8 Ýz]=mô°Aô¯c¯«'Ž4 ½{]=zØ <C398>ú÷¡×õF4p@ÿ>õº~Òèaƒèß·^×O=lÐÀýûØëú‰£‡ 8 ¿{]?{ô°Aôïçë'Œ2 _>]?eü<65>Aú÷ÿÓõ㇠è߇_×O?lÐÀýûôëúI㇠8 ß~]?mü°Aôïã¯ë'Ž6hà€þýÿuýøaƒè߇×O?|Ѐþ}úwý¤ñà Ð?ïÿ.>h@ÿ¾ÿ»~úøáƒôïÿ¿ëÇ4 ³_8p@ÿ2f¿râÈ<C3A2>ú—3û•#‡Ð?<3F>Ù/9xà€þmÌ~íÄ‘ôogökgŽ:xà€þmÎ~í䑃è߯í×N;tà€þiÝ~éÐÁôoëök§Ž:xà€þqÝ~ñÔ¡ƒèßÞí׎:xà€þñÝ~ñܱCп¾Ù¯9tà€þyÝ~ùÔ¡ƒèŸßí—Ï;tðÀýó¼ýòÉCè߇ì×O9p@ÿ>f¿~âÈ<C3A2>ú÷3ûõ3G8 ¶_?aìÐÁôïãöë'Ž:xà€þ}Ý~ýÔ±Cп¿Û¯Ÿ;vèà<C3A8>ú÷yûõ“Ç<p@ÿ>|¿~Âø¡ôïã÷ë'Ž:p@ÿ¾~¿~êø¡ƒèßÿï×<C3AF>:p@ÿ8÷¿xðÀýëÜÿêÉ£пÞý¯=|ðÀýóÝÿòуè߇þ×O=xà€þ}ìýÄуèßçþ×O=xà€þýîýìÑÃпÿ¯Ÿ0~øà<C3B8>ú÷ñÿõÇ<p@ÿ>ÿ¿~òøáƒèŸ÷ÿ—<p@ÿ¾ÿ¿~úøáƒèßÿÿ×<C3BF>>xà€þˆtÿ„ýÿéþ#† èÿŸH÷Ï1h@ÿ¿LºÊ<7F>AúÿgÒýsÆ 4 ÿŸ&Ý?iÈÀýÿ6éþic† 8 ÿÿ"Ý?oÄÀýÿ7éþyc† 8 ÿß2Ý?mä<6D><C3A4>úÿïÒýóÆ 8 ÿŸjÝ?iÐÀýÿUëþY£† 8 ÿkÝ?qÔ <C394>úÿ¯ÖýóF 8 ÿßnÝ?mØ <C398>úÿïÖýóÆ 4p@ÿ?Þºâ¸èÿ×K÷O2h@ÿ?׺ò¨Aôÿó­û'<27>6hà€þÿŽuÿìà èÿïZ÷Ï5lÐÀýÿœëþÉ# èÿïÏ9lÐÀýÿéþù#ôÿÿ¤ûç<C3BB>2h@ÿÿ_ºþ¸!ôÿû­û§<C3BB>6hà€þÿ¯uÿüQƒèÿÿ[÷Ï7lÐÀýÿŸëþù# èÿï^÷Ï=lÐÀýÿßëþù£‡ 8 ÿÿ?Ý?ü<7F>ýÿÿëþù㇠8 ÿßÿÝ?}ø ýÿÿïþùã‡Ðÿ<C390>ÙïŸ8p@ÿf¿æÈ¡ôÿoöûçŽ<p@ÿ¿n¿êÐÁôÿïöûçŽ:xà€þÞ~ÿä¡ôÿûöû§<C3BB>:xà€þÿÏ~ÿü‘ôÿÿöûç<C3BB>:xà€þÿÿ~ÿüñCèÿçþ÷O<p@ÿ÷¿öèáƒèÿÿþ÷Ï=xà€þÿÿôáƒèÿÿÿ÷Ï?|ðÀ

BIN
dat/ln.10 Normal file

Binary file not shown.

BIN
dat/po.6 Normal file

Binary file not shown.

BIN
dat/pon.7 Normal file

Binary file not shown.

BIN
dat/pont.8 Normal file

Binary file not shown.

BIN
dat/pot.8 Normal file

Binary file not shown.

BIN
dat/tn.16 Normal file

Binary file not shown.

BIN
dat/to.16 Normal file

Binary file not shown.