- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 5a4f1b35-6a41-4e53-bd96-9b3de64ffd23
    creation_time: 2025-03-22T10:13:34Z
    producer:
      name: Goblint
      version: heads/master-0-g66dff5a90-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp.json'' ''--disable'' ''witness.graphml.enabled''
        ''--sets'' ''ana.specification'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/properties/valid-memsafety.prp''
        ''--sets'' ''exp.architecture'' ''32bit'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i: 0e9bc4a9a6dcd238ac18925269a0bd7c8c54c2dafb57744151e37b58cf6eab8d
      data_model: ILP32
      language: C
      specification: 'CHECK( init(main()), LTL(G valid-free) )

        CHECK( init(main()), LTL(G valid-deref) )

        CHECK( init(main()), LTL(G valid-memtrack) )'
  content:
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1029
        column: 5
        function: t2
      value: 0 <= queue.head
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1029
        column: 5
        function: t2
      value: 0 <= queue.tail
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1029
        column: 5
        function: t2
      value: 0 <= ((QType *)arg)->head
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1029
        column: 5
        function: t2
      value: 0 <= ((QType *)arg)->tail
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1029
        column: 5
        function: t2
      value: queue.head <= 800
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1029
        column: 5
        function: t2
      value: queue.tail <= 800
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1029
        column: 5
        function: t2
      value: ((QType *)arg)->head <= 800
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1029
        column: 5
        function: t2
      value: ((QType *)arg)->tail <= 800
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1029
        column: 5
        function: t2
      value: dequeue_flag == (_Bool)1
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1029
        column: 5
        function: t2
      value: arg == (void *)(& queue)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1029
        column: 5
        function: t2
      value: (((i == 1 || (0 == i && i == 0)) || (4 <= i && i <= 800)) || i == 3)
        || i == 2
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1011
        column: 5
        function: t1
      value: 0 <= queue.head
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1011
        column: 5
        function: t1
      value: 0 <= ((QType *)arg)->head
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1011
        column: 5
        function: t1
      value: queue.head <= 800
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1011
        column: 5
        function: t1
      value: queue.tail <= 800
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1011
        column: 5
        function: t1
      value: ((QType *)arg)->head <= 800
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1011
        column: 5
        function: t1
      value: ((QType *)arg)->tail <= 800
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1011
        column: 5
        function: t1
      value: enqueue_flag == (_Bool)1
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1011
        column: 5
        function: t1
      value: arg == (void *)(& queue)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longest.i
        line: 1011
        column: 5
        function: t1
      value: ((1 <= queue.tail && 1 <= ((QType *)arg)->tail) && ((((((((((-2147483644
        <= queue.amount && -2147483644 <= ((QType *)arg)->amount) && 4 <= i) && i
        <= 800) && (2147483644LL + (long long )i) + (long long )value >= 0LL) && (2147484448LL
        - (long long )i) + (long long )value >= 0LL) && (2147483643LL + (long long
        )i) - (long long )value >= 0LL) && (2147484447LL - (long long )i) - (long
        long )value >= 0LL) || ((((((-2147483645 <= queue.amount && -2147483645 <=
        ((QType *)arg)->amount) && (2147483645LL + (long long )i) + (long long )value
        >= 0LL) && (2147483651LL - (long long )i) + (long long )value >= 0LL) && (2147483644LL
        + (long long )i) - (long long )value >= 0LL) && (2147483650LL - (long long
        )i) - (long long )value >= 0LL) && i == 3)) || ((((((-2147483646 <= queue.amount
        && -2147483646 <= ((QType *)arg)->amount) && (2147483646LL + (long long )i)
        + (long long )value >= 0LL) && (2147483650LL - (long long )i) + (long long
        )value >= 0LL) && (2147483645LL + (long long )i) - (long long )value >= 0LL)
        && (2147483649LL - (long long )i) - (long long )value >= 0LL) && i == 2))
        || ((((((-2147483647 <= queue.amount && -2147483647 <= ((QType *)arg)->amount)
        && (2147483647LL + (long long )i) + (long long )value >= 0LL) && (2147483649LL
        - (long long )i) + (long long )value >= 0LL) && (2147483646LL + (long long
        )i) - (long long )value >= 0LL) && (2147483648LL - (long long )i) - (long
        long )value >= 0LL) && i == 1))) || (((((((0 <= queue.tail && 0 <= ((QType
        *)arg)->tail) && (2147483648LL + (long long )i) + (long long )value >= 0LL)
        && (2147483648LL - (long long )i) + (long long )value >= 0LL) && (2147483647LL
        + (long long )i) - (long long )value >= 0LL) && (2147483647LL - (long long
        )i) - (long long )value >= 0LL) && 0 == i) && i == 0)
      format: c_expression
