- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: c203aecb-b4da-46e2-a8c1-af497005ee96
    creation_time: 2025-03-22T10:13:31Z
    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_longest.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
      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_longest.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_longest.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_longest.i
        line: 1018
        column: 3
        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_longest.i
        line: 1018
        column: 3
        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_longest.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_longest.i
        line: 1018
        column: 3
        function: t1
      value: ((((((((4 <= i && i <= 799) && (2147483644LL + (long long )i) + (long
        long )value >= 0LL) && (2147484447LL - (long long )i) + (long long )value
        >= 0LL) && (2147483643LL + (long long )i) - (long long )value >= 0LL) && (2147484446LL
        - (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_longest.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_longest.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_longest.i
        line: 1037
        column: 3
        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_longest.i
        line: 1037
        column: 3
        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_longest.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_longest.i
        line: 1037
        column: 3
        function: t2
      value: ((((4 <= i && i <= 800) || i == 3) || i == 2) || i == 1) || (0 == i &&
        i == 0)
      format: c_expression
