- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 37bbe3f7-b9bb-4430-abc1-4d9eef322aa3
    creation_time: 2025-03-22T10:13:30Z
    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_longer.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longer.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longer.i: 9f874a9872f93f025fac23ebed37f94a1f3b80bd0133ea4d7e298577c4fec427
      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_longer.i
        line: 1018
        column: 3
        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_longer.i
        line: 1018
        column: 3
        function: t1
      value: 0 <= ((QType *)arg)->tail
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longer.i
        line: 1018
        column: 3
        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_longer.i
        line: 1018
        column: 3
        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_longer.i
        line: 1018
        column: 3
        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_longer.i
        line: 1018
        column: 3
        function: t1
      value: ((((((((4 <= i && i <= 399) && (2147483644LL + (long long )i) + (long
        long )value >= 0LL) && (2147484047LL - (long long )i) + (long long )value
        >= 0LL) && (2147483643LL + (long long )i) - (long long )value >= 0LL) && (2147484046LL
        - (long long )i) - (long long )value >= 0LL) || (((((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)) || (((((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)) || (((((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))
        || ((((((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_longer.i
        line: 1037
        column: 3
        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_longer.i
        line: 1037
        column: 3
        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_longer.i
        line: 1037
        column: 3
        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_longer.i
        line: 1037
        column: 3
        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_longer.i
        line: 1037
        column: 3
        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_longer.i
        line: 1037
        column: 3
        function: t2
      value: ((((4 <= i && i <= 400) || i == 3) || i == 2) || i == 1) || (0 == i &&
        i == 0)
      format: c_expression
