1 of 12
The First Layer of Reality by Ian Beardsley copyright © 2016 by Ian Beardsley
2 of 12
The first layer of reality is constructed with branching, looping, and iteration. The second layer of reality is constructed with the above and arrays. 
3 of 12 A curious quirk of the nature of the substances that gave rise to life lead to their description in simple source code. Also the structure of those elements at the heart of artificial intelligence (AI), give rise to their description in simple code, as well. If one can put the structure of nature into a few lines of simple code, even better, describe something complex with something simple, then they have written a Universal Law of Nature. 
4 of 12 A journey of a thousand li begins with the first step 
5 of 12 The programming language Python is particularly conducive to The Pyramid of Life: print("The basic substances from which life formed on early earth are: ") print("CH4 (Methane), NH3 (Ammonia), H2O (water), H2 (hydrogen gas)") print("The idea of Wolfram is if we can describe something complex,...") print("with a few short lines of source code, then ") print("this can be an alternative to using mathematics ") print("to describe Nature. ") print("Because these substances from which life are made of, ") print("elements 6 (C), 7 (N). 8(O) of the period table and H, ") print("a simple loop can be written, because the C, N, and O, ") print("progress in increments of one, while the H decrements. ") print("as such we write code to make the pyramid of life.") k=4; x=1; z=4; while (x!=k): x=x+1 z=z-1 print(x*"H"+z*"C"); print("Where we say HH=H2, HHH=H3, HHHH=H4, and,...") print("CCC = O, CC = N, and C = C.") Running this produces: HHCCC HHHCC HHHHC  
6 of 12
Cellular Automata For Artificial Intelligence
7 of 12 The Code For The Structure In AI print("i1=Boron") print("j =Silicon") print("i2=Gallium") print("k1=Nitrogen") print("k2=Arsenic") print(" ") x=0 while (x!=3): x=x+1 if (x==1 or x==3): print("i"+" "+"k") if (x==3): break; print(" "+"j"+" ") Running this produces: i k j i k 
8 of 12 The Cellular Automata of Electrical Wiring While aluminum (Al) is used for wires in electronics, the most used is copper (Cu). It is highly conductive and is in the same group in the periodic table of elements as silver (Ag), and Gold (Au). Gold and silver are used for electrical wire as as they are conductive and ductile as well. Gold, in fact, is the most conductive at extreme temperatures, and silver is the most conductive at room temperature. As such, Copper, Silver, and Gold are at the core of electrical engineering where wiring is concerned. Aluminum is mostly use for encasing circuitry. I find great beauty in the fact that these three elements, Copper, Silver, and Gold are in the same group (Group 11), and occur one after they other in this group starting with copper, proceeding to the next heaviest, silver, and concluding with heaviest, gold. The are, respectively, elements 29, 47, and 79. We have already outlined the basic cellular automata for the category of semiconductors, the semi-metals and doping agents of AI components, and the basic cellular automata for biological life, leaving this category as the next to consider. It is perhaps the easiest for which to find a loop, as there is nothing more tricky for it than to arrange 1(Cu), 2(Ag), and 3(Au), in a vertical column. Our ultimate goal is to cover the cellular automata of the entire periodic table, which will take us into the biological functions of the elements and their compounds just as much as the the functions of the elements in compounds in electrical engineering. Ultimately, we seek to find the connection between biological life and AI, a connection I have already establish via another avenue, in my work: Nature’s AI Cookbook. Code For Ductile Conductors print("Cellular Automata For The Ductile Conducting Wires") print("Cu=1, Ag=2, Au=3") x=0 while (x!=3): x=x+1 print(str(x)) Running this produces: Cu=1, Ag=2, Au=3 1 2 3 
9 of 12 Cellular Automata For The Regular Tessellators print("The regular tessellators are the regular geometries that can") print("cover a surface without leaving gaps.") print(" ") print("regular hexagon:") x=0 while (x!=3): x=x+1 if (x==1 or x==3): print(2*" "+"***"+" ") if (x==3): break; print("*"+5*" "+"*") print("regular triangle (equilateral triangle):") z=0 print(3*" "+"*"+2*" ") while (z!=2): z=z+1 print(3*" ") print("*"+5*" "+"*") print("regular parallelagram (square):") y=0 while (y!=3): y=y+1 if (y==1 or y==3): print("*"+3*" "+"*") if (y==3): break; print(4*" ") Running this produces: regular hexagon: *** * * * * *** regular triangle (equilateral triangle) * * * square (regular parallelogram): * * *
* 
10 of 12 The Tetractys print("Pythagoras thought the tetractys was the key to the universe") print("It is the triangle such that: 1, 1+1=2, 2+1=3, 3+1=4") print("which is 1+2+3+4=10") print(" ") y=4 x=0 while (x!=4): x=x+1 y=y-1 print(y*" "+x*"* “) Running this produces: * * * * * * * * * * 
11 of 12
12 of 12 The Author