Nokia has announced to phase out its Symbian operating system. For this reason, I have re-written the Truth Tables Program for my new favourite, Android. The Android Truth Tables program is not a simple port, but a completely new application, offering much more features than its Symbian counterpart, most notably support for several systems of non-classic logic, and, optionally, showing intermediate results, too.
The sole purpose of this program is generating, and displaying, truth tables under Symbian. It will work with a number of fairly recent Nokia mobile phones, especially (but not restricted to) those with a touch-pad. Trying out the program on a Symbian phone of your choice won't do any harm; if it proves not to work with the respective phone, just uninstall it, and, optionally, hope for a future version.
The program supports all usual connectives of classical logic, that is negation, conjunction, (inclusive) disjunction, conditional (material implication), biconditional (material equivalence), exclusive disjuncton (XOR), the Peirce operator (NOR), the Sheffer operator (NAND), as well as the constants 1 and 0 denoting truth and falsehood, respectively.
For purposes of testing the program (and for solving simple tasks), there is a free light version restricted to propositions containing only the two propositional constants P, and Q. This suffices for solving several kinds of homework. The full version, completely devoid of this restriction, costs less than one Euro, anyway.
The program has been tested running e.g. on the following Nokia devices: 5230, 5630 XpressMusic, 5800 XpressMusic, 6220 classic, 6700, 6710 Navigator, E51, E52, E63, N86, N97, N97 mini, X6
The following Nokia devices are known to run this program with the single exception that they do not show the "Input" and "Examples" menus, meaning that you have to enter your propositions using the keyboard: N78, N81, N96
The following Nokia devices are known not to run this program: 5700, 6110, 6120 classic, E61, N73, N80, N93
Infix notation | Polish notation |
---|---|
P->(Q->P) | CpCqp |
(P->Q)->P | CCpqp |
~P v Q | ANpq |
(P & Q) v (P & R) | AKpqKpr |
(P & (Q v P)) & R | KKpAqpr |
((P>(Q>R))>((P>Q)>(P>R))) | CCpCqrCCpqCpr |
P!P | NApp |
(P!Q)!(P!Q) | NANApqNApq |
(P!P)!(Q!Q) | NANAppNAqq |
The main component of the user interface is the text field where the user may enter a single proposition, be it in infix notation (the somewhat standard way of writing down propositions), or in Polish notation (the cool prefix notation developed by Lukasiewicz in the 1920s).
When finished entering, a truth table will be generated from the proposition when you either select the green touch-button (mentioned above), or when you select the respective item from the "Options" menu.
Note: Your browser may be unable to properly display some of the logical connectives used below. Of course this restriction will not apply to the program when installed and running on your personal computing device.
Propositions in Polish notation are restricted to Lukasiewicz's own connectives N, K, A, C, and E. You have to user lower-case letters as propositional constants, but not the letter "v", since it denotes infix disjunction (see above). If you want to use connectives other than Lukasiewicz's, you can easily build them up from Lukasiewicz's, by e.g. using NA for the Peirce function (NOR), NK for the Sheffer function (NAND), or NE for the exclusive disjunction (XOR).
Your feedback, questions, and support will be most welcome. Please direct your verbal feedback to gottschall@gmx.de.
2012-09-07 09:58:02
gottschall@gmx.de