{
  "input": {
    "constraints": [
      {
        "target_var": "a",
        "type": "abs",
        "var": "x"
      },
      {
        "op": "min",
        "target_var": "lo",
        "type": "min_max",
        "vars": [
          "x",
          "y"
        ]
      },
      {
        "op": "max",
        "target_var": "hi",
        "type": "min_max",
        "vars": [
          "x",
          "y"
        ]
      },
      {
        "if_all": [
          {
            "op": "<",
            "rhs": 0,
            "terms": [
              {
                "coeff": 1,
                "var": "x"
              }
            ],
            "type": "linear"
          },
          {
            "op": ">",
            "rhs": 0,
            "terms": [
              {
                "coeff": 1,
                "var": "y"
              }
            ],
            "type": "linear"
          }
        ],
        "then": {
          "op": ">=",
          "rhs": 3,
          "terms": [
            {
              "coeff": 1,
              "var": "a"
            }
          ],
          "type": "linear"
        },
        "type": "implication"
      }
    ],
    "objective": null,
    "timeout_ms": null,
    "variables": [
      {
        "max": -3,
        "min": -3,
        "name": "x"
      },
      {
        "max": 2,
        "min": 2,
        "name": "y"
      },
      {
        "max": 4,
        "min": 0,
        "name": "a"
      },
      {
        "max": 4,
        "min": -4,
        "name": "lo"
      },
      {
        "max": 4,
        "min": -4,
        "name": "hi"
      }
    ]
  },
  "output": {
    "best_bound": null,
    "objective_value": null,
    "solution": {
      "a": 3,
      "hi": 2,
      "lo": -3,
      "x": -3,
      "y": 2
    },
    "stats": {
      "elapsed_ms": 0,
      "timed_out": false
    },
    "unsat_core": null,
    "verdict": "feasible",
    "verified": true
  },
  "slug": "cpsat-min-max-abs",
  "tool": "solve_cpsat"
}
