Giter Site home page Giter Site logo

turing1936's Introduction

Turing1936

Turing machines implemented directly from Turing's 1936 paper titled ON COMPUTABLE NUMBERS, WITH AN APPLICATION TO THE ENTSCHEIDUNGSPROBLEM.

The intention is to provide an implementation that's as close to the original as possible, in order to make it easy to verify that they really are Turing machines and not second hand representations. Conventions specific to the implementation language are some times sacrificed for this obejctive.

The source used is a digital reprint of the paper found in The Turing Digital Archive: https://turingarchive.kings.cam.ac.uk/publications-lectures-and-talks-amtb/amt-b-12

Original machine examples

Turing's first example machine looks like this in the paper: Turing's original first example machine

It looks something like this in code:

  [
    (๐”Ÿ, (==none), [    _P0    ],  ๐”Ÿ),
    (๐”Ÿ, (=='0' ), [_R, _R, _P1],  ๐”Ÿ),
    (๐”Ÿ, (=='1' ), [_R, _R, _P0],  ๐”Ÿ)
  ]

His second example looks like this in the paper: Turing's original second example machine

It looks something like this in code:

  [
    (๐”Ÿ, (\x -> True), [_Pำ™, _R, _Pำ™, _R, _P0, _R, _R, _P0, _L, _L  ], ๐”ฌ),
    (๐”ฌ, (=='1' ),     [             _R, _Px, _L, _L, _L            ], ๐”ฌ),
    (๐”ฌ, (=='0' ),     [                                            ], ๐”ฎ),
    (๐”ฎ, (`elem` "01"),[                    _R, _R                  ], ๐”ฎ),
    (๐”ฎ, (==none),     [                   _P1, _L                  ], ๐”ญ),
    (๐”ญ, (=='x'),      [                    _E, _R                  ], ๐”ฎ),
    (๐”ญ, (=='ำ™'),      [                      _R                    ], ๐”ฃ),
    (๐”ญ, (==none),     [                    _L, _L                  ], ๐”ญ),
    (๐”ฃ, (/= none),    [                    _R, _R                  ], ๐”ฃ),
    (๐”ฃ, (==none),     [                   _P0,_L,_L                ], ๐”ฌ)
  ]

The paper itself and reprints provided below are copyright protected: Copyright ยฉ London Mathematical Society 1937

I have applied to the copyright holder for the right to reproduce pictures of the example machines above, approval pending.

turing1936's People

Contributors

alfreb avatar ingve avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ingve

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.