- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: fdcee703-e743-4014-906f-0463a04ac00f
    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_longer.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longer.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longer.i: f58af1aa15d4bec1241042c84c595fb9585ff7c461dd0b44f9fde0638838779a
      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_longer.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_longer.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_longer.i
        line: 1011
        column: 5
        function: t1
      value: queue.head <= 400
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longer.i
        line: 1011
        column: 5
        function: t1
      value: queue.tail <= 400
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longer.i
        line: 1011
        column: 5
        function: t1
      value: ((QType *)arg)->head <= 400
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longer.i
        line: 1011
        column: 5
        function: t1
      value: ((QType *)arg)->tail <= 400
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longer.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_longer.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_longer.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
        <= 400) && (2147483644LL + (long long )i) + (long long )value >= 0LL) && (2147484048LL
        - (long long )i) + (long long )value >= 0LL) && (2147483643LL + (long long
        )i) - (long long )value >= 0LL) && (2147484047LL - (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
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longer.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_longer.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_longer.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_longer.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_longer.i
        line: 1029
        column: 5
        function: t2
      value: queue.head <= 400
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longer.i
        line: 1029
        column: 5
        function: t2
      value: queue.tail <= 400
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longer.i
        line: 1029
        column: 5
        function: t2
      value: ((QType *)arg)->head <= 400
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longer.i
        line: 1029
        column: 5
        function: t2
      value: ((QType *)arg)->tail <= 400
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_ok_longer.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_longer.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_longer.i
        line: 1029
        column: 5
        function: t2
      value: (((i == 1 || (0 == i && i == 0)) || (4 <= i && i <= 400)) || i == 3)
        || i == 2
      format: c_expression
