Skip to content

CakeML/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Verified compilation into Conway's Game of Life

The following inspired this work:

To build the project:

  • Install HOL
  • Run Holmake from the project directory

Points of interest:

It should take about 2-5 minutes to compile the project.

Some pretty pictures that couldn't all fit in the paper

  • The mega-cell: The mega-cell

  • Propagation of values through the mega-cell: Propagation of values through the mega-cell

  • Symbolic evaluation of an AND gate: Symbolic evaluation of an AND gate

  • Symbolic evaluation of a crossover: Symbolic evaluation of a crossover

  • Symbolic evaluation of a half-adder: Symbolic evaluation of a half-adder

  • Composition of gates: Composition of gates

  • Spaceship evolution: Spaceship evolution

The tools for creating these images are in gol_svgScript.sml, so you can modify them to e.g. see images of the rest of the gates or show other patterns, etc.

There is also a simulator at ts/gol.html which you can use to see the symbolic computation in action. Hover over the pixels to see the values assigned at each point.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •