Wednesday, 7 March 2018

Proving Principia Axioms

Proving Principia Axioms

Principia Mathematica tried to construct the whole mathematics using calculus of proposition as its basic tool. The calculus itself is based on five simple axioms: tautology, addition, permutation, Association ad Summation. 




Based on this calculus, the whole Boolean algebra c
an be constructed. However, Boolean algebra can also be built on the base three axioms of Sheffer Hasil carian imej untuk ‪sheffer logic‬‏  which used only one logical NAND operation.

In the appendix of his book Laws of Form, George Spencer-Brown 
Hasil carian imej untuk ‪spencer brown logic‬‏ has proven that the three Sheffer axioms can be proven as consequences of his two simple axioms: position and transposition.

This means that the five axioms of the Principia's calculus of proposition can be derived from the two axioms of brownian algebra that can be simulated by the game of things as it is shown in my last blog.

In this blog we will represent the Principia axioms into a configuration of boxes and colored balls and challenge you to transform them to a single box representing TRUE. If you can do it, then you already proved they are  the consequences of Brownian algebra.



  









My proof is using the following first three consequences of Brownian algebra considered as rules of transformations in the Brownian game of things



Tautology can be proved by using generation twice ended by doing integration.
Addition, permutation and association can be proved in a similar manner.
Summation can be proved firstly by removing the red ball within the box, then removing the contents of the first box using generation ended by doing integration.



Friday, 26 January 2018

Gamifying Laws of Form

Gamifying Laws of Form
Armahedi Mahzar (c) 2018

When I finally understood primary algebra in the book entitled  Laws of Form Image result for Laws of form, I thought the calculus of indication is a notational and axiomatic simplification of the calculus of proposition as it is formulated by Russel and Whitehead in their book Principia Mathematica.

However, later, I realized that the primary algebra is essentially a pure algebra, not a logical algebra, so it is not really a notational simplification of Boolean algebra. It uses only purely algebraic inference rules: the substitution and replacement rule.

The Primary Algebra only becomes a Boolean algebra if we define AND and IF operations using LoF VOID operation which is interpreted as OR or AND operation. So, augmented Primary Algebra or augmented calculus of indication is isomorphic to the Principia calculus of proposition which used Modus Ponens as its only rule of inference. 

Consequently, the augmented calculus of indication which is not using logical inference rule is equivalent to a calculus of proposition using logical rule modus ponens.

For me, it is an amazing fact how the foundation of logic (calculus of proposition) and and the foundation of mathematics (calculus of indication) is actually similar.

Lately, I found out that the primary algebra can be proven, by Louis Kauffman, as  a system based on a single axiom, Huntington axiom, using only algebraic rules of inference.

I also found out the Boolean logic has been proven, by Charles Sanders Peirce, as a system based on a single axiom (TRUE symbolized as VOID in Existential Graph System) and five implicational logical rules who are not equal to modus ponens.


Fortunately, if we replace the single axiom to Consistency (p->p) the five rules can be reduced to just one rule ( generation (pq)q=(p)q or the third consequence C3 of the primary algebra. https://issuu.com/armahedimahzar/docs/the_simple_existential_graph_system  ) 

As the consequence, both foundations of logic or mathematics is just a game of symbols with formation rules (definitions and axioms) and transformation rules (equational or implicational rules).

However, when the symbols are represented by things the game of symbols becomes the Game of Things.So the foundation of logic and math is becoming just a game of things.

(The 3D gamification of LoF is discussed in my blog https://integralisme.wordpress.com/2013/06/21/528/  . The 2D gamification of LoF is discussed in my book 
  )

This finding astonished me. How can the abstract logic and math is equivalent to a concrete game? Why? What is the philosophical implication of this astonishing fact?

Wednesday, 6 December 2017

Combinatoric Logic Game of Marbles

Combinatoric Logic Game of Marbles
Armahedi Mahzar (c) 2015

In my previous blog it has been shown that the combination and disposal of parallel colorful sticks with two orientations can prove any valid syllogism tabulated by Leibniz by the lineal combinatoric of Ploucquet. The combinatoric verification process can also be simulated by the game of arranging and disposing colored marbles and pieces of paper.

In the following it will be shown that we can simulate logical proof with the game arranging and disposing  the colorful marbles and pieces of paper. The secret is the fact that we can replace the changing the line length to represent the opposite concept with the changing of the marble’s ground.

Fundamental Categorical Proposition of Aristotle

If the subject a is represented by a red marble   and predicate b represented by green marble  , then NOT a is represented by red marble placed upon small white paper  .
Furthermore, the fundamental categorical statement of Aristotle is represented by pairs of marbles as it is shown in the following table

The premises and conclusion of a syllogism form is one of four such statements.

Proof of the Validity of Syllogism

The game playing that simulate the proving of the validity of a syllogism includes the following steps
  1. juxtaposing the marble pairs which represent both premises of a syllogism
  2. disposing the pair of same colored marble with different ground
  3. putting the marble which represent the subject of the second premise as the marble that represent the subject of the syllogism conclusion.
With a game like this, we can do the proving of valid syllogisms with ease, because the end result of the game is a representation of the syllogism conclusion. The table below is the Leibniz table of the premises of valid syllogisms.

 

End notes

1. Apparently, the game is very simple using colored marbles  can be taught to kindergartners. The game can also be seen as a simulation of Sommersian arithmologic.
2. Unfortunately, this game can only be played with the help of additional pieces of paper,  however, with a set of colored cards without  the help of other pieces of paper, we can simulate the proving of the syllogism validity with a simpler game as I have found it. Hopefully, that will be presented in my next blog.

Combinatoric Logic Game of Sticks

Combinatoric Logic Game of Sticks
Armahedi Mahzar (c) 2015

In my previous blog it has been shown that the combination and disposal of parallel colorful lines with two size can prove any valid syllogism tabulated by Leibniz by the lineal combinatoric of Ploucquet. The combinatoric verification process can be simulated by the game of arranging and disposing colored lines of two lengths.

In the following it will be shown that we can also make the game loading and stacking the colorful sticks with only one size. The secret is the fact that we can replace the changing the line length to represent the opposite concept with the changing of the stick orientation.

Fundamental Categorical Proposition of Aristotle

If the subject is represented by a red upright stick and predicate b represented by green upright stick, then the fundamental categorical statement of Aristotle is represented by pairs of rods as it is shown in the following table

Stick Categorical Proposition
The premises or the conclusion of a syllogism is one of four such statements.

Proof of the Validity of Syllogism

The game playing that simulate the proving of the validity of a syllogism includes the following steps
  1.   juxtaposing the stick pairs which represent both premises of a syllogism
  2.   disposing the pair of same colored sticks with different orientation
  3.   putting the stick which represent the subject of the second premise as the stick that represent the subject of the syllogism conclusion.
With a game like this, we can do the proving of valid syllogisms with ease, because the end result of the game is a representation of the syllogism conclusion that we can be compared to Leibniz's conclusions in the table below:

End notes

1. Apparently, the game is very simple using colored sticks that it can be taught to kindergartners. The game can also be seen as a Sommersian arithmologic game.

2. Unfortunately, this game can only be played with elongated objects such as a stick, but not to objects of arbitrary shapes.

3. God willing, with the help of pieces of paper, the proving of the syllogism validity can also be simulated by a game  on arbritrary things as I find it. Hopefully, that will be presented in my next blog.

Lineal Combinatoric of Ploucquet

Lineal Combinatoric of Ploucquet
Armahedi Mahzar (c) 2015
https://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Gottfried_Ploucquet_1777.jpg/220px-Gottfried_Ploucquet_1777.jpg 

 In the last blog it has been shown that the literal combinatoric of Ploucquet can be used as a tool to seek the conclusion of a valid syllogism, simpler than the Boolean, Peircean or Sommersian arithmologic. The secret is that we replace the arithmetic operations with combinatoric operations, while elimination of the oppositely signed variables is replaced by the deletion of capital lower-case letters. Literal combinatoric method of  Ploucquet is indeed simple, but if writing letters are replaced with drawings colored lines, then the syllogism becomes more visual and the method can be easily taught in a pre-schooler who can not read letters. 

Therefore, in a method visualizing the literal combinatoric of  Ploucquet we can:
  • Replacing the lowercase letters with short lines
  • Replacing the capital letters with long lines
  • Changing the names of the letters with the colors of the lines
Thus, in this method of lineal combinatoric
  • variables are represented by short lines
  • negation of variables are represented  by long lines
  • conjunction is expressed by the juxtaposition 

Fundamental Categorical Propositions of Aristotle

If a = and b = , then the fundamental categorical propositions of Aristotle is described as follows 


The premises and conclusion of a syllogism are one of these four statements.

Proving the vadity of syllogism

With line images in this notation we can prove the validity of syllogism. For example, proving the validity of the syllogism Barbara in the lineal combinatoric methods color line is as follows
Abc AND Aab =


= Aac
 

Proving the validity of the other syllogism can be seen in the Leibniz table below


Leibniz-Ploucquet table of valid Syllogism

Concluding Remarks

1. Actually, the colored lines in the above method is a simplification of the following line method of Ploucquet 
 

where universality replaced with negativity and the two-dimensional arrangement (from the bottom to the top / from left to right) is replaced with a one-dimensional linear array (from left to right) of upright lines.

2. Game of colored lines with different length as a simulation logical deduction can be simplified by playing a one-sized colored sticks with different orientations. This game of logic is what we will be discussed in the next blog.

Literal Combinatoric of Plouquet

Literal Combinatoric of Plouquet

 Armahedi Mahzar (c) 2015
 
Gottfried Ploucquet
(1716-1790)
In previous blog, I pointed out that there are three kinds of arithmologic (Boole, Peirce and Sommers) but all three are structurally similar to each other. Essentially any arthmological statement is expressed as string of letters and symbols of mathematical operations. \
In this blog I will present a simpler literal combinatoric method which is inspired by Ploucquet nethod in the 18th century, before Boole introduced the algebraic symbolism for logic in the 19th century. The method is presented as combinatoric literalization of Sommersian arithmologic.

Arithmologic

The following are the arithmological symbols
+===============================================+
|                 Concept TRUE     FALSE     NOT       OR       AND      |

+——————————————————————————--+

| Boole        letter         1                 0           1-           +          -1+        |

| Peirce       letter         0                 1           1/           +                        |

| Sommers  letter                                        –             +            +         |

+——————————————————————————--+

Similarity of of the formulas can be shown by the following table of syllogism
+===========================================+
| Syllogism IF p AND q THEN r                                              |

|                              = NOT (p AND q) OR r                             |

+————————————————————————–+

| Boole                      1-(p-1+ q)+r = 1-p+1-q+r                        |

| Peirce                      1/(pq/r)    = 1/p 1/q r                               |

| Sommers                  -((p+q)-r)  = -p -q+r                              |
+——————————————————————--—–+

Proving its validity has also a similar procedure, namely:
the annihilation of pairs of oppositely signed variables.
Seeing the structural and procedural similarities, we can expect that there is a simpler symbolic formulation. The following is one of its simplification. For simplicity, I will use the Sommersian arithmologic as a reference, because it is the simplest.

Combinatoric Simplification of Arithmologic

To simplify the Sommersian arithmologic, we can use the following literalization conventions:
– Write the + sign with no spaces or symbols at all
– Write -x as the uppercase X.

Categorical statement of Aristotle

By shortening convention, we can write Aristotle fundamental categorical statement as follows:
(1) Universal affirmative
Aab = ‘all A is B’
can be written as Ab
(2) Universal negative
Eab = ‘no a is b’
can be written as AB
(3) Particular Affirmative
Iab = ‘some a are b’
can be written as ab
(4) Particular Negative denial
OAB = ‘some a are not b’
can be written as aB.

Validity proof of syllogism

In this notation the verification algorithm of the validity of 24 syllogism Leibnitz in the following table

,
becomes very simple:
Step 1: write a joint symbol for premises
Step 2: delete the upper/lower case pair of letters.

The algorithm is becoming more concise and easier than the arithmologic.
Even elementary school children can do
We will make the proofs of all valid syllogism in column 1 in the Leibniz table now.
Barbara proof is
Abc AND Aab = Ab Bc = Ac = Aac
Celarent proof is as follows
Ebc AND Aab = Ab BC = AC = Eac
and Darii proof is like this
Abc AND Iab = ab Bc = ac = Iac
Similarly, the proof of Ferio is
EBC AND Iab = ab BC = aC = ​​Oac
To prove the existential syllogism proof is also simple.
Barbari proof is as follows
Eaa AND Aab AND Abc = aa Ab Bc = ac = Iac
and the Celaront proof islike this
Eaa AND Aab AND EBbc = aa Ab BC = aC = ​​Oac.
Syllogisms in the other columns also can be proven in the same way. Just use the Leibniz-Ploucquet table below
https://integralisme.files.wordpress.com/2015/09/6f893-tabelleibnizploucquet.jpg?w=645

Well, this is very easy expression. The formula, with no signs of any math, is a mere string of small and capital letters. While the algorithm is not arithmetical but purely combinatorical.
Thus the method becomes very easy as well: merge premises and delete letter pairs.

End notes

Because this method is similar to the letter method Plouquet, I shall call it as Ploucquet logical method of literal combinatoric. The notation for the negative is similar to the notation of Ploucquet for universality.

However, Ploucquet also have a more visual method, namely the method of lineal combinatorics that, I think, is easier than the method of literal combinatoric. Hopefully, I will show a simplification of the literal Ploucquet method with the pictorial.