braids, cables, and cells i: an interesting intersection of mathematics, computer science, and art

39
Braids, Cables, and Cells: An Interesting Intersection of Mathematics, Computer Science, and Art Joshua Holden Rose-Hulman Institute of Technology http://www.rose-hulman.edu/~holden Joshua Holden (RHIT) Braids, Cables, and Cells 1 / 33

Upload: joshua-holden

Post on 18-Dec-2014

1.993 views

Category:

Education


1 download

DESCRIPTION

The mathematical study of braids combines aspects of topology and group theory to study mathematical representations of one-dimensional strands in three-dimensional space. These strands are also sometimes viewed as representing the movement through a time dimension of points in two-dimensional space. On the other hand, the study of cellular automata usually involves a one- or two-dimensional grid of cells which evolve through a time dimension according to specified rules. This time dimension is often represented as an extra spacial dimension. Therefore, it seems reasonable to ask whether rules for cellular automata can be written in order to produce depictions of braids. The ideas of representing both strands in space and cellular automata have also been explored in many artistic media, including drawing, sculpture, knitting, crochet, and macramé, and we will touch on some of these.

TRANSCRIPT

Page 1: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids, Cables, and Cells:An Interesting Intersection of Mathematics,

Computer Science, and Art

Joshua Holden

Rose-Hulman Institute of Technologyhttp://www.rose-hulman.edu/~holden

Joshua Holden (RHIT) Braids, Cables, and Cells 1 / 33

Page 2: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and Cables Graphic Arts

“Knotwork” in graphic arts

Figure: Left: by A. Reed Mihaloew, Right: by Christian Mercat

Joshua Holden (RHIT) Braids, Cables, and Cells 2 / 33

Page 3: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and Cables Graphic Arts

“Knotwork” in historical manuscripts

Figure: Details from the “Book of Kells”, c. 800 CE

Joshua Holden (RHIT) Braids, Cables, and Cells 3 / 33

Page 4: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and Cables Fiber Arts

“Cables” in knitting

Figure: Left: Design by Barbara McIntire, knitted by Lana Holden

Figure: Right: Design by Betty Salpekar, knitted by Lana Holden

Joshua Holden (RHIT) Braids, Cables, and Cells 4 / 33

Page 5: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and Cables Fiber Arts

“Cables” in crochet

Figure: Both: Designed and crocheted by Jodi Euchner

Joshua Holden (RHIT) Braids, Cables, and Cells 5 / 33

Page 6: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and Cables Fiber Arts

“Traveling eyelets” in knitted lace

Figure: From Barbara Walker’s Charted Knitting Designs

Joshua Holden (RHIT) Braids, Cables, and Cells 6 / 33

Page 7: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and Cables Fiber Arts

Weaving patterns

Figure: Left: 2/2 twill weave, woven by Sarah, a.k.a. Aranel

Figure: “Noonday Sun” pattern, woven by Peggy Brennan (Cherokee Nation)

Joshua Holden (RHIT) Braids, Cables, and Cells 7 / 33

Page 8: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and Cables Group Theory

“Braids” in group theory

Two braids which are the same except for “pulling the strands” areconsidered equalAll strands are required to move from bottom to top

Figure: Two equal braids (Wikipedia)

Joshua Holden (RHIT) Braids, Cables, and Cells 8 / 33

Page 9: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and Cables Group Theory

Multiplying braids

You can multiply two braids by stacking them and then simplifying

× =

Figure: Multiplying braids (Wikipedia)

Joshua Holden (RHIT) Braids, Cables, and Cells 9 / 33

Page 10: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Rules and Examples

Cellular automata

Finite number of cells in a regular gridFinite number of states that a cell can be inEach cell has a well-defined finite neighborhoodTime moves in discrete stepsState of each cell at time t is determined by the states of itsneighbors at time t − 1Each cell uses the same rule

Joshua Holden (RHIT) Braids, Cables, and Cells 10 / 33

Page 11: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Rules and Examples

“The Game of Life”

Invented by John ConwayGrid is two-dimensionalTwo states, “live” and “dead”Neighborhood is the eight cells which are directly horizontally,vertically, or diagonally adjacentAny live cell with two or three live neighbors stays live.

Any other live cell dies.Any dead cell with exactly three live neighbors becomes a live cell.

Any other dead cell stays dead.

Joshua Holden (RHIT) Braids, Cables, and Cells 11 / 33

Page 12: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Rules and Examples

Example: A “Pulsar”

Joshua Holden (RHIT) Braids, Cables, and Cells 12 / 33

Page 13: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Rules and Examples

Example: A “Pulsar”

Joshua Holden (RHIT) Braids, Cables, and Cells 12 / 33

Page 14: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Rules and Examples

Example: A “Pulsar”

Joshua Holden (RHIT) Braids, Cables, and Cells 12 / 33

Page 15: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Rules and Examples

Example: A “Pulsar”

Joshua Holden (RHIT) Braids, Cables, and Cells 12 / 33

Page 16: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Rules and Examples

Example: A “Pulsar”

Joshua Holden (RHIT) Braids, Cables, and Cells 12 / 33

Page 17: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Rules and Examples

Example: A “Pulsar”

Joshua Holden (RHIT) Braids, Cables, and Cells 12 / 33

Page 18: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Rules and Examples

Example: A “Pulsar”

Joshua Holden (RHIT) Braids, Cables, and Cells 12 / 33

Page 19: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Rules and Examples

“Elementary” Cellular Automata

Popularized by Stephen Wolfram (A New Kind of Science)Grid is one-dimensionalTwo states, “white” and “black”Neighborhood includes self and one cell on each sideExample: “Rule 30”

Joshua Holden (RHIT) Braids, Cables, and Cells 13 / 33

Page 20: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Rules and Examples

Example: “Rule 90”

Second dimension is used for “time”Produces the Sierpinski triangle fractal

Joshua Holden (RHIT) Braids, Cables, and Cells 14 / 33

Page 21: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Complex behavior

Aperiodic behavior

Conjecture (Wolfram, 1984)The sequence of colors produced by the cell at the center of Rule 30 isaperiodic.

This sequence is used by the pseudorandom number generator inthe program Mathematica.The center and right portions of Rule 30 appear to have some ofthe characteristics of “chaotic” systems.

Theorem (Jen, 1986 and 1990)(a) At most one cell of Rule 30 produces a periodic sequence of

colors.(b) The sequence of color pairs produced by any two adjacent cells of

Rule 30 is aperiodic.

Joshua Holden (RHIT) Braids, Cables, and Cells 15 / 33

Page 22: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Complex behavior

Rule 30

Joshua Holden (RHIT) Braids, Cables, and Cells 16 / 33

Page 23: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Complex behavior

Universality

Theorem (Cook, 1994+)Rule 110 can be used to simulate any Turing machine.

This is important because of the widely accepted:

Church-Turing ThesisAnything that can be computed by an algorithm can be computed bysome Turing machine.

And for complexity geeks:

Theorem (Neary and Woods, 2006)Rule 110 can be used to simulate any polynomial time Turing machinein polynomial time. (I.e., it is “P-complete”.)

Joshua Holden (RHIT) Braids, Cables, and Cells 17 / 33

Page 24: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Complex behavior

Rule 110 on a Single Cell Input

Joshua Holden (RHIT) Braids, Cables, and Cells 18 / 33

Page 25: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Complex behavior

How Is This Possible?

1 Use Rule 110 to simulate a “cyclic tag system”.

A cyclic tag system has:

A data stringA cyclic list of “production rules”

To perform a computation:If the first data symbol is 1, add the production rule to the end ofthe data string. If the first data symbol is 0 do nothing.Delete the first data symbol.Move to the next production rule.Repeat until the data string is empty.

2 Show that any Turing machine can be simulated by a cyclic tagsystem.

Joshua Holden (RHIT) Braids, Cables, and Cells 19 / 33

Page 26: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Complex behavior

Cyclic Tag System Example

Production rules Data string

010 11001000 10010101111 001010000010 01010000000 10100001111 010000000010 10000000

.... . .

Joshua Holden (RHIT) Braids, Cables, and Cells 20 / 33

Page 27: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Complex behavior

Simulating a Cyclic Tag System with Rule 110

To simulate a cyclic tag system with Rule 110, you need:a representation of the data string (stationary)a representation of the production rules (left-moving)“clock pulses” (right-moving)

Joshua Holden (RHIT) Braids, Cables, and Cells 21 / 33

Page 28: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Cellular Automata Complex behavior

Rule 110 Performing (Part of) a Computation

Joshua Holden (RHIT) Braids, Cables, and Cells 22 / 33

Page 29: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and CAs Motivation

CAs and Fiber Arts

Figure: Left: Designed and crocheted by Jake Wildstrom

Figure: Right: Knitted by Pamela Upright, after Debbie New

Joshua Holden (RHIT) Braids, Cables, and Cells 23 / 33

Page 30: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and CAs Model

Representing braids using CAs

Five types of cells:Neighborhood only cells on either sideRestricted rule set:

Must “follow lines”Only choice is direction of crossings29 different rules possible

Edge conditions?

Infinite?Special kind of state for edge cells?Cylindrical?Reflection around edge of cells?Reflection around center of cells?

Joshua Holden (RHIT) Braids, Cables, and Cells 24 / 33

Page 31: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and CAs Examples

Example of a braid CA

“Rule 47” (bottom-up, like knitting)

Joshua Holden (RHIT) Braids, Cables, and Cells 25 / 33

Page 32: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and CAs Examples

Cables

Figure: Left: Rule 0, Right: Rule 47

Joshua Holden (RHIT) Braids, Cables, and Cells 26 / 33

Page 33: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and CAs Examples

Knotwork

Figure: Left: Rule 0, Right: Rule 511

Joshua Holden (RHIT) Braids, Cables, and Cells 27 / 33

Page 34: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and CAs Examples

More knotwork

Figure: Left: Rule 47, Right: Rule 448

Joshua Holden (RHIT) Braids, Cables, and Cells 28 / 33

Page 35: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and CAs Questions and Results

Repeats: Upper bound

Since the width is finite, the pattern must eventually repeat.

Question For a given width, how long can a repeat be?

Proposition

For a given (even) width n, no repeat can be longer than n 2n2−1 rows.

Proof.After n rows, all of the strands have returned to their original positions.The only question is which strand of each crossing is on top. If thereare n

2 crossings the maximum repeat is ≤ 2n2 rows, but if there are

n2 − 1 crossings, the maximum repeat might reach n 2

n2−1 rows.

Joshua Holden (RHIT) Braids, Cables, and Cells 29 / 33

Page 36: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and CAs Questions and Results

Repeats: Lower bound

Proposition

For a given (even) n ≥ 2k , the maximum repeat is at least lcm(2k ,n)rows long.

Proof.Consider the starting row with one single strand and n − 1 crosses,

e.g.: . Rule 100 acts on this with arepeat (modulo cyclic shift) which is a multiple of 2k if n > 2k .

RemarkFor n ≤ 10, this is sharp.

For large n, neither this upper bound nor this lower bound seemsespecially likely to be sharp.

Joshua Holden (RHIT) Braids, Cables, and Cells 30 / 33

Page 37: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and CAs Questions and Results

Example of the proof

Figure: Rule 100 making a large repeat

Joshua Holden (RHIT) Braids, Cables, and Cells 31 / 33

Page 38: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and CAs Questions and Results

Future work

More work on repeats“Properly” implement reflectionTopology which changes over timeAdd cell itself to neighborhood?Add curved strands

7 (or 8?) types of cells“A few” more different rules

Add vertical “strands”16 types of cellsMany more different rules

Which braids can be represented? (In the sense of braid groups)Which rules are “reversible”?Two-dimensional grids with time as the third dimension

Joshua Holden (RHIT) Braids, Cables, and Cells 32 / 33

Page 39: Braids, Cables, and Cells I: An Interesting Intersection of Mathematics, Computer Science, and Art

Braids and CAs Questions and Results

Thanks for listening!

Figure: Design by Ada Fenick, knitted by Lana Holden

Joshua Holden (RHIT) Braids, Cables, and Cells 33 / 33