{
  "format": "automata-studio/workspace",
  "schema": 1,
  "app": "dev",
  "machine": "LBA",
  "config": {
    "sym": {
      "eps": "ε",
      "any": "Σ",
      "blank": "⊔",
      "leftMarker": "⊢",
      "rightMarker": "⊣",
      "stackBottom": "Z",
      "lambda": "λ"
    }
  },
  "sigma": [
    "a",
    "b",
    "c"
  ],
  "stackAlpha": [
    "a",
    "b",
    "c",
    "⊢",
    "⊣",
    "x",
    "y",
    "z",
    "⊔"
  ],
  "outputAlpha": [],
  "tapeCount": 1,
  "states": [
    {
      "id": "s1",
      "x": 140,
      "y": 255,
      "name": "f0"
    },
    {
      "id": "s2",
      "x": 319,
      "y": 255,
      "name": "f1"
    },
    {
      "id": "s3",
      "x": 498,
      "y": 160,
      "name": "f2"
    },
    {
      "id": "s4",
      "x": 498,
      "y": 350,
      "name": "f3"
    },
    {
      "id": "s5",
      "x": 498,
      "y": 255,
      "name": "rw"
    },
    {
      "id": "s6",
      "x": 677,
      "y": 255,
      "name": "round"
    },
    {
      "id": "s7",
      "x": 856,
      "y": 255,
      "name": "findB"
    },
    {
      "id": "s8",
      "x": 856,
      "y": 160,
      "name": "tail"
    },
    {
      "id": "s9",
      "x": 856,
      "y": 350,
      "name": "acc"
    },
    {
      "id": "s10",
      "x": 1035,
      "y": 255,
      "name": "findC"
    },
    {
      "id": "s11",
      "x": 1214,
      "y": 255,
      "name": "ret"
    }
  ],
  "transitions": [
    {
      "id": "t1",
      "from": "s1",
      "to": "s2",
      "symbol": "⊢",
      "write": "⊢",
      "dir": "R"
    },
    {
      "id": "t2",
      "from": "s2",
      "to": "s2",
      "symbol": "a",
      "write": "a",
      "dir": "R"
    },
    {
      "id": "t3",
      "from": "s2",
      "to": "s3",
      "symbol": "b",
      "write": "b",
      "dir": "R"
    },
    {
      "id": "t4",
      "from": "s2",
      "to": "s4",
      "symbol": "c",
      "write": "c",
      "dir": "R"
    },
    {
      "id": "t5",
      "from": "s2",
      "to": "s5",
      "symbol": "⊣",
      "write": "⊣",
      "dir": "L"
    },
    {
      "id": "t6",
      "from": "s3",
      "to": "s3",
      "symbol": "b",
      "write": "b",
      "dir": "R"
    },
    {
      "id": "t7",
      "from": "s3",
      "to": "s4",
      "symbol": "c",
      "write": "c",
      "dir": "R"
    },
    {
      "id": "t8",
      "from": "s3",
      "to": "s5",
      "symbol": "⊣",
      "write": "⊣",
      "dir": "L"
    },
    {
      "id": "t9",
      "from": "s4",
      "to": "s4",
      "symbol": "c",
      "write": "c",
      "dir": "R"
    },
    {
      "id": "t10",
      "from": "s4",
      "to": "s5",
      "symbol": "⊣",
      "write": "⊣",
      "dir": "L"
    },
    {
      "id": "t11",
      "from": "s5",
      "to": "s5",
      "symbol": "a",
      "write": "a",
      "dir": "L"
    },
    {
      "id": "t12",
      "from": "s5",
      "to": "s5",
      "symbol": "b",
      "write": "b",
      "dir": "L"
    },
    {
      "id": "t13",
      "from": "s5",
      "to": "s5",
      "symbol": "c",
      "write": "c",
      "dir": "L"
    },
    {
      "id": "t14",
      "from": "s5",
      "to": "s6",
      "symbol": "⊢",
      "write": "⊢",
      "dir": "R"
    },
    {
      "id": "t15",
      "from": "s6",
      "to": "s6",
      "symbol": "x",
      "write": "x",
      "dir": "R"
    },
    {
      "id": "t16",
      "from": "s6",
      "to": "s7",
      "symbol": "a",
      "write": "x",
      "dir": "R"
    },
    {
      "id": "t17",
      "from": "s6",
      "to": "s8",
      "symbol": "y",
      "write": "y",
      "dir": "R"
    },
    {
      "id": "t18",
      "from": "s6",
      "to": "s9",
      "symbol": "⊣",
      "write": "⊣",
      "dir": "S"
    },
    {
      "id": "t19",
      "from": "s7",
      "to": "s7",
      "symbol": "a",
      "write": "a",
      "dir": "R"
    },
    {
      "id": "t20",
      "from": "s7",
      "to": "s7",
      "symbol": "y",
      "write": "y",
      "dir": "R"
    },
    {
      "id": "t21",
      "from": "s7",
      "to": "s10",
      "symbol": "b",
      "write": "y",
      "dir": "R"
    },
    {
      "id": "t22",
      "from": "s10",
      "to": "s10",
      "symbol": "b",
      "write": "b",
      "dir": "R"
    },
    {
      "id": "t23",
      "from": "s10",
      "to": "s10",
      "symbol": "z",
      "write": "z",
      "dir": "R"
    },
    {
      "id": "t24",
      "from": "s10",
      "to": "s11",
      "symbol": "c",
      "write": "z",
      "dir": "L"
    },
    {
      "id": "t25",
      "from": "s11",
      "to": "s11",
      "symbol": "a",
      "write": "a",
      "dir": "L"
    },
    {
      "id": "t26",
      "from": "s11",
      "to": "s11",
      "symbol": "b",
      "write": "b",
      "dir": "L"
    },
    {
      "id": "t27",
      "from": "s11",
      "to": "s11",
      "symbol": "c",
      "write": "c",
      "dir": "L"
    },
    {
      "id": "t28",
      "from": "s11",
      "to": "s11",
      "symbol": "x",
      "write": "x",
      "dir": "L"
    },
    {
      "id": "t29",
      "from": "s11",
      "to": "s11",
      "symbol": "y",
      "write": "y",
      "dir": "L"
    },
    {
      "id": "t30",
      "from": "s11",
      "to": "s11",
      "symbol": "z",
      "write": "z",
      "dir": "L"
    },
    {
      "id": "t31",
      "from": "s11",
      "to": "s6",
      "symbol": "⊢",
      "write": "⊢",
      "dir": "R"
    },
    {
      "id": "t32",
      "from": "s8",
      "to": "s8",
      "symbol": "y",
      "write": "y",
      "dir": "R"
    },
    {
      "id": "t33",
      "from": "s8",
      "to": "s8",
      "symbol": "z",
      "write": "z",
      "dir": "R"
    },
    {
      "id": "t34",
      "from": "s8",
      "to": "s9",
      "symbol": "⊣",
      "write": "⊣",
      "dir": "S"
    }
  ],
  "startId": "s1",
  "accepts": [
    "s9"
  ],
  "notes": [],
  "dividers": [],
  "blocks": [],
  "meta": {
    "title": "aⁿbⁿcⁿ in the space of its input",
    "blurb": "The standard context-sensitive language, decided without a single extra cell: check the shape a*b*c*, then cross off one a, one b and one c per pass. A linear bounded automaton is exactly this — a Turing machine that may not leave its input.",
    "inputs": [
      {
        "w": "",
        "expect": "accept"
      },
      {
        "w": "abc",
        "expect": "accept"
      },
      {
        "w": "aabbcc",
        "expect": "accept"
      },
      {
        "w": "aaaabbbbcccc",
        "expect": "accept"
      },
      {
        "w": "a",
        "expect": "reject"
      },
      {
        "w": "bbc",
        "expect": "reject"
      },
      {
        "w": "babbcc",
        "expect": "reject"
      },
      {
        "w": "baaabbbbcccc",
        "expect": "reject"
      }
    ],
    "library": {
      "author": {
        "login": "thethinkmachine"
      },
      "license": "CC-BY-4.0",
      "tags": [
        "context-sensitive",
        "crossing-off",
        "canonical"
      ],
      "difficulty": "intro"
    }
  }
}
