Top Banner
Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth Annual MIT PRIMES Conference May 17, 2014 Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid
29

Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Oct 04, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

Cellular Automata on a Hexagonal Grid

Eric Nie and Alok PuranikMentor: Dr. Tanya Khovanova

Fourth Annual MIT PRIMES Conference

May 17, 2014

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 2: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesSquare Grid StructureSquare Grid Results

Table of Contents

1 Prior ResearchRulesSquare Grid StructureSquare Grid Results

2 New ResearchRulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 3: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesSquare Grid StructureSquare Grid Results

Cellular Automaton Rule

Rule: A cell is born if it is adjacent to exactly one live cell. A livecell never dies.Initial conditions: A single live cell at the origin.

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 4: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesSquare Grid StructureSquare Grid Results

Growth on Square Grid

Figure: First Six generations

(a) Generation 0 (b) Generation 1 (c) Generation 2

(d) Generation 3 (e) Generation 4 (f) Generation 5

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 5: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesSquare Grid StructureSquare Grid Results

Growth on Square Grid (continued)

Figure: Growth after 13 generations

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 6: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesSquare Grid StructureSquare Grid Results

Square Grid Questions

Two major questions:

Which cells are born?

In what generation are they born?

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 7: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesSquare Grid StructureSquare Grid Results

Square Grid Questions

Two major questions:

Which cells are born?

In what generation are they born?

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 8: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesSquare Grid StructureSquare Grid Results

Square Grid Questions

Two major questions:

Which cells are born?

In what generation are they born?

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 9: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesSquare Grid StructureSquare Grid Results

Square Grid Answers

Theorem

A point (x , y) is born if and only if the highest power of 2 dividingx is not equal to the highest power of 2 dividing y .

Theorem

For a point (x , y), let 2k be the largest power of 2 less than|x |+ |y |. Then we can recursively define f (x , y), the generation inwhich (x , y) is born, as

f (x , y) =

2k + f (max(|x |, |y |)− 2k ,min(|x |, |y |)) |x | 6= |y |∞ |x | = |y | 6= 0

0 |x | = |y | = 0.

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 10: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesSquare Grid StructureSquare Grid Results

Square Grid Answers

Theorem

A point (x , y) is born if and only if the highest power of 2 dividingx is not equal to the highest power of 2 dividing y .

Theorem

For a point (x , y), let 2k be the largest power of 2 less than|x |+ |y |. Then we can recursively define f (x , y), the generation inwhich (x , y) is born, as

f (x , y) =

2k + f (max(|x |, |y |)− 2k ,min(|x |, |y |)) |x | 6= |y |∞ |x | = |y | 6= 0

0 |x | = |y | = 0.

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 11: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Table of Contents

1 Prior ResearchRulesSquare Grid StructureSquare Grid Results

2 New ResearchRulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 12: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Hexagonal Grid Rules

Rule: A cell is born if it is adjacent to exactly one live cell. A livecell never dies.Initial conditions: A single live cell at the origin.

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 13: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Golly Software

Figure: Golly simulation software

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 14: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Growth on Hexagonal Grid

(a) Generation 0 (b) Generation 1 (c) Generation 2

(d) Generation 3 (e) Generation 4 (f) Generation 5

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 15: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Growth on Hexagonal Grid

Figure: Growth after 10 generations

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 16: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Growth on Hexagonal Grid

Figure: Growth after 31 generations

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 17: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Symmetries

Symmetries

y = x

Rotational about origin

Figure: Growth after 31 generations

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 18: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Lineage

Definition

Parent: the live cell which caused another cell to be born by beingadjacent to it.

Definition

Lineage: the sequence of live cells from the origin to any live cellsuch that each cell is the parent of the next one.

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 19: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Pioneers

Definition

Pioneer: a point (x , y) which is born in generation x + y .

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 20: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Sierpinski Sieve

Lemma

The set of all pioneers is equal to the Sierpinski sieve

This gives pioneers a simple, recursive structure

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 21: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Sierpinski Sieve

Figure: Overlay of Sierpinski Sieve on Hexagonal Grid

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 22: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Complete Generations

All the points (x , y) with x + y = 2n − 1 are born

(a) Generation 14 (b) Generation 15

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 23: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Recursive Formula

Theorem

Given a point (x , y), there exists some k ∈ N such that2k ≤ x + y < 2k+1. Assume without loss of generality that x ≥ y .The generation in which a cell (x , y) is born is given by:

f (x , y) =

{f (x − 2k , y) + 2k x ≥ 2k

f (x + y − 2k − 1, 2k − x) + 2k + 1 x < 2k .

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 24: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Recursive Structure

Figure: Case 1: f (x , y) = f (x − 2k , y) + 2k

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 25: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Recursive Structure cont’d

Figure: Case 2: f (x , y) = f (x + y − 2k − 1, 2k − x) + 2k + 1

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 26: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Overlay of Square and Hexagonal Grid

Figure: XOR of Square and Hexagonal Grid

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 27: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Difference of Grids

Difference is much sparser than individual grids

Red points have a much simpler structure than blue points

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 28: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Future Research

Goals:

Closed formula to determine whether a point is born

Complete proof of recursive formula

Determine population at any time

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid

Page 29: Cellular Automata on a Hexagonal Grid - Mathematics...Prior Research New Research Cellular Automata on a Hexagonal Grid Eric Nie and Alok Puranik Mentor: Dr. Tanya Khovanova Fourth

Prior ResearchNew Research

RulesHexagonal Grid StructureLineage and PioneersHexagonal Grid Results

Acknowledgements

We would like to acknowledge the following:

Dr. Richard Stanley

Our mentor Tanya Khovanova

The MIT PRIMES Program

Our parents

Eric Nie and Alok Puranik Cellular Automata on a Hexagonal Grid