- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 4d9c5bb6-3889-4780-98e9-79e62b822a69
    creation_time: 2024-03-01T08:46:15Z
    producer:
      name: Goblint
      version: heads/fix-locations-pred-0-g0bf0407c6-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp.json'' ''--disable'' ''witness.graphml.enabled''
        ''--set'' ''witness.yaml.invariant-types[+]'' ''location_invariant'' ''--enable''
        ''witness.invariant.after-lock'' ''--enable'' ''witness.invariant.other''
        ''--enable'' ''witness.invariant.accessed'' ''--disable'' ''witness.invariant.all-locals''
        ''--sets'' ''ana.specification'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/properties/unreach-call.prp''
        ''--sets'' ''exp.architecture'' ''32bit'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content:
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 731
        column: 2
        function: P0
      value: 0 <= __unbuffered_cnt
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 785
        column: 2
        function: main
      value: main$tmp_guard0 == (_Bool)0 || main$tmp_guard0 == (_Bool)1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 784
        column: 2
        function: main
      value: main$tmp_guard0 == (_Bool)0 || main$tmp_guard0 == (_Bool)1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 727
        column: 2
        function: P0
      value: x == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 739
        column: 2
        function: P1
      value: x == 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 783
        column: 2
        function: main
      value: 0 <= __unbuffered_cnt
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 18
        column: 41
        function: __VERIFIER_assert
      value: 0 <= expression
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 18
        column: 41
        function: __VERIFIER_assert
      value: expression <= 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 18
        column: 41
        function: __VERIFIER_assert
      value: expression == 0 || expression == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 791
        column: 2
        function: main
      value: main$tmp_guard1 == (_Bool)0 || main$tmp_guard1 == (_Bool)1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 724
        column: 2
        function: P0
      value: y == 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 761
        column: 2
        function: P2
      value: 0 <= __unbuffered_cnt
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 757
        column: 2
        function: P2
      value: 0 <= __unbuffered_p2_EBX
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 757
        column: 2
        function: P2
      value: __unbuffered_p2_EBX <= 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 757
        column: 2
        function: P2
      value: __unbuffered_p2_EBX <= 127
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 757
        column: 2
        function: P2
      value: (__unbuffered_p2_EBX == 0 || __unbuffered_p2_EBX == 1) || __unbuffered_p2_EBX
        == 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: 0 <= __unbuffered_p2_EAX
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: 0 <= __unbuffered_p2_EBX
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: 0 <= x
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: 0 <= y
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: __unbuffered_p2_EAX <= 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: __unbuffered_p2_EAX <= 127
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: __unbuffered_p2_EBX <= 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: __unbuffered_p2_EBX <= 127
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: x <= 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: x <= 127
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: y <= 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: y <= 127
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX == 1) || __unbuffered_p2_EAX
        == 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: (__unbuffered_p2_EBX == 0 || __unbuffered_p2_EBX == 1) || __unbuffered_p2_EBX
        == 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: (x == 0 || x == 1) || x == 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 789
        column: 2
        function: main
      value: (y == 0 || y == 1) || y == 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 732
        column: 2
        function: P0
      value: 1 <= __unbuffered_cnt
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 747
        column: 2
        function: P1
      value: 1 <= __unbuffered_cnt
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 790
        column: 2
        function: main
      value: main$tmp_guard1 == (_Bool)0 || main$tmp_guard1 == (_Bool)1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 746
        column: 2
        function: P1
      value: 0 <= __unbuffered_cnt
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 756
        column: 2
        function: P2
      value: 0 <= y
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 756
        column: 2
        function: P2
      value: y <= 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 756
        column: 2
        function: P2
      value: y <= 127
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 756
        column: 2
        function: P2
      value: (y == 0 || y == 1) || y == 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 753
        column: 2
        function: P2
      value: 0 <= y
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 753
        column: 2
        function: P2
      value: y <= 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 753
        column: 2
        function: P2
      value: y <= 127
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 753
        column: 2
        function: P2
      value: (y == 0 || y == 1) || y == 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 742
        column: 2
        function: P1
      value: y == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 754
        column: 2
        function: P2
      value: 0 <= __unbuffered_p2_EAX
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 754
        column: 2
        function: P2
      value: __unbuffered_p2_EAX <= 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 754
        column: 2
        function: P2
      value: __unbuffered_p2_EAX <= 127
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 754
        column: 2
        function: P2
      value: (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX == 1) || __unbuffered_p2_EAX
        == 2
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe004_tso.i
        file_hash: 28abced7878c2be916ea5a54f12b603c21b6525f16f4a0aadbf776b589e0bc49
        line: 762
        column: 2
        function: P2
      value: 1 <= __unbuffered_cnt
      format: c_expression
