{
  "input": {
    "check_livelocks": true,
    "initial": {
      "phase": "idle",
      "tries": 0
    },
    "initial_states": null,
    "reachability": null,
    "terminal_condition": {
      "op": "in",
      "values": [
        "acked",
        "failed"
      ],
      "var": "phase"
    },
    "transitions": [
      {
        "guard": {
          "op": "eq",
          "value": "idle",
          "var": "phase"
        },
        "name": "send",
        "updates": {
          "phase": {
            "op": "const",
            "value": "sending"
          }
        }
      },
      {
        "guard": {
          "args": [
            {
              "op": "eq",
              "value": "sending",
              "var": "phase"
            },
            {
              "op": "lt",
              "value": 2,
              "var": "tries"
            }
          ],
          "op": "and"
        },
        "name": "retry",
        "updates": {
          "tries": {
            "left": {
              "op": "var",
              "var": "tries"
            },
            "op": "add",
            "right": {
              "op": "const",
              "value": 1
            }
          }
        }
      },
      {
        "guard": {
          "op": "eq",
          "value": "sending",
          "var": "phase"
        },
        "name": "ack",
        "updates": {
          "phase": {
            "op": "const",
            "value": "acked"
          }
        }
      },
      {
        "guard": {
          "args": [
            {
              "op": "eq",
              "value": "sending",
              "var": "phase"
            },
            {
              "op": "eq",
              "value": 2,
              "var": "tries"
            }
          ],
          "op": "and"
        },
        "name": "give_up",
        "updates": {
          "phase": {
            "op": "const",
            "value": "failed"
          }
        }
      }
    ],
    "variables": [
      {
        "name": "phase",
        "type": "enum",
        "values": [
          "idle",
          "sending",
          "acked",
          "failed"
        ]
      },
      {
        "max": 2,
        "min": 0,
        "name": "tries",
        "type": "int"
      }
    ]
  },
  "output": {
    "deadlock": {
      "found": false,
      "trace": null
    },
    "domain_violations": [],
    "exhaustive": true,
    "invariant_violations": [],
    "livelock": {
      "found": false,
      "loop_start": null,
      "trace": null
    },
    "reachability": [],
    "states_explored": 8,
    "stats": {
      "elapsed_ms": 0,
      "timed_out": false
    },
    "status": "verified_safe",
    "transitions_fired": 7,
    "unreachable_transitions": [],
    "verified": true
  },
  "slug": "fsm-bounded-retry-progress",
  "tool": "verify_state_machine"
}
