- content:
  - invariant:
      format: acsl_expression
      location:
        file_name: null
        function: main
        line: 44
      type: loop_invariant
      value: ((((((((A == r) && (p == 2)) && (d == 2)) && (q == 0)) && (B == 1)) ||
        (((((A == ((long long) r + 1)) && (d == 1)) && (B == 1)) && (q == 1)) && (p
        == 1))) || (((((A == r) && (d == 1)) && (q == 0)) && (B == 1)) && (p == 1))))
  - invariant:
      format: acsl_expression
      location:
        file_name: null
        function: main
        line: 34
      type: loop_invariant
      value: (((((((((0 <= A) && (A == r)) && (p == 2)) && (A <= 1)) && (d == 2))
        && (q == 0)) && (B == 1)) || (((((((0 <= A) && (A == r)) && (A <= 1)) && (d
        == 1)) && (q == 0)) && (B == 1)) && (p == 1))))
  - invariant:
      ensures: ((cond != 0))
      format: acsl_expression
      location:
        file_name: null
        function: assume_abort_if_not
        line: 11
      requires: (1)
      type: function_contract
  - invariant:
      ensures: ((cond != 0)) && (1)
      format: acsl_expression
      location:
        file_name: null
        function: __VERIFIER_assert
        line: 14
      requires: ((cond != 0)) && (cond != 0)
      type: function_contract
  entry_type: invariant_set
  metadata:
    format_version: '3.0'
