- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 60aa364f-f48f-4843-9919-3c4ef66927db
    creation_time: 2024-09-27T14:34:22Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''mutex-meet'' ''--set'' ''ana.activated[+]'' ''apron''
        ''--set'' ''ana.autotune.activated[-]'' ''octagon'' ''--set'' ''witness.yaml.entry-types''
        ''["invariant_set"]'' ''--set'' ''witness.yaml.invariant-types'' ''["location_invariant"]''
        ''--disable'' ''witness.invariant.loop-head'' ''--disable'' ''witness.invariant.other''
        ''--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-atomic/peterson.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
      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-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 708
        column: 5
        function: thr1
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 708
        column: 5
        function: thr1
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 708
        column: 5
        function: thr1
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 714
        column: 5
        function: thr1
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 714
        column: 5
        function: thr1
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 714
        column: 5
        function: thr1
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 705
        column: 5
        function: thr1
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 705
        column: 5
        function: thr1
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 705
        column: 5
        function: thr1
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 749
        column: 9
        function: thr2
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 749
        column: 9
        function: thr2
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 749
        column: 9
        function: thr2
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 718
        column: 9
        function: thr1
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 718
        column: 9
        function: thr1
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 718
        column: 9
        function: thr1
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 733
        column: 5
        function: thr2
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 733
        column: 5
        function: thr2
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 733
        column: 5
        function: thr2
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 721
        column: 9
        function: thr1
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 721
        column: 9
        function: thr1
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 721
        column: 9
        function: thr1
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 739
        column: 5
        function: thr2
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 739
        column: 5
        function: thr2
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 739
        column: 5
        function: thr2
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 711
        column: 5
        function: thr1
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 711
        column: 5
        function: thr1
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 711
        column: 5
        function: thr1
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 746
        column: 9
        function: thr2
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 746
        column: 9
        function: thr2
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 746
        column: 9
        function: thr2
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 742
        column: 5
        function: thr2
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 742
        column: 5
        function: thr2
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 742
        column: 5
        function: thr2
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 755
        column: 5
        function: thr2
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 755
        column: 5
        function: thr2
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 755
        column: 5
        function: thr2
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 736
        column: 5
        function: thr2
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 736
        column: 5
        function: thr2
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 736
        column: 5
        function: thr2
      value: turn == 0 || turn == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 727
        column: 5
        function: thr1
      value: flag1 == 0 || flag1 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 727
        column: 5
        function: thr1
      value: flag2 == 0 || flag2 == 1
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        file_hash: ee3d1a41e169e13d6fb9bc974b1d8f7c8de5421cb2dfbc7e3d9a400662188398
        line: 727
        column: 5
        function: thr1
      value: turn == 0 || turn == 1
      format: c_expression
