{
  "schemaVersion": 1,
  "kind": "constructed finite illustration",
  "initial": {
    "x": 0,
    "y": 0
  },
  "programs": {
    "A": [
      "write x=1",
      "read y"
    ],
    "B": [
      "write y=1",
      "read x"
    ]
  },
  "events": {
    "Ax": "A writes x=1",
    "Ay": "A reads y",
    "By": "B writes y=1",
    "Bx": "B reads x"
  },
  "assumptions": [
    "Completed operations only",
    "One common order preserves both client orders",
    "A read returns the latest preceding write to its key, or the initial zero",
    "No other writes, synchronization, crashes, retries or timing distribution"
  ],
  "schedules": [
    {
      "order": [
        "Ax",
        "Ay",
        "By",
        "Bx"
      ],
      "readA": 0,
      "readB": 1
    },
    {
      "order": [
        "Ax",
        "By",
        "Ay",
        "Bx"
      ],
      "readA": 1,
      "readB": 1
    },
    {
      "order": [
        "Ax",
        "By",
        "Bx",
        "Ay"
      ],
      "readA": 1,
      "readB": 1
    },
    {
      "order": [
        "By",
        "Ax",
        "Ay",
        "Bx"
      ],
      "readA": 1,
      "readB": 1
    },
    {
      "order": [
        "By",
        "Ax",
        "Bx",
        "Ay"
      ],
      "readA": 1,
      "readB": 1
    },
    {
      "order": [
        "By",
        "Bx",
        "Ax",
        "Ay"
      ],
      "readA": 1,
      "readB": 0
    }
  ],
  "bothZero": {
    "admitted": false,
    "requiredCycle": [
      "Ax",
      "Ay",
      "By",
      "Bx",
      "Ax"
    ],
    "perObjectWitnesses": {
      "x": [
        "Bx",
        "Ax"
      ],
      "y": [
        "Ay",
        "By"
      ]
    }
  },
  "limits": "Six schedules are not probabilities; this is not a storage benchmark or a general history checker.",
  "sourceSha256": "8c10583181c067918485e49d1a8eb108ab052ba349706b21531c33be30abd52e"
}
