- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: 535a15e3-ac7b-43c5-9387-a8f0bdb11bbb
    creation_time: 2025-05-28T12:14:44Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection'' ''--set'' ''ana.autotune.activated[-]''
        ''octagon'' ''--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/safe012_pso.oepc_pso.opt_rmo.opt.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i: 40c07d8b0b9ace0eb5e8218a2dd6fad770e2c982688ab22c161b74af49a1b102
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content:
    ghost_variables:
    - name: multithreaded
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 832
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 3f1d9f4a-5c3b-453f-9ac8-bb6c1b42da87
    creation_time: 2025-05-28T12:14:44Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection'' ''--set'' ''ana.autotune.activated[-]''
        ''octagon'' ''--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/safe012_pso.oepc_pso.opt_rmo.opt.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i: 40c07d8b0b9ace0eb5e8218a2dd6fad770e2c982688ab22c161b74af49a1b102
      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/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || x$r_buff0_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || x$r_buff0_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || x$r_buff0_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || x$read_delayed_var == 0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || x$read_delayed_var == 0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || x$read_delayed_var == 0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || (z == 0 || z == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || (z == 0 || z == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || (z == 0 || z == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || (x == 0 || x == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || (x == 0 || x == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || (x == 0 || x == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || (y == 0 || y == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || (y == 0 || y == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || (y == 0 || y == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || x$r_buff1_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || x$r_buff1_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || x$r_buff1_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || x$read_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || x$read_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || x$read_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || (x$w_buff1 == 0 || x$w_buff1 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || (x$w_buff1 == 0 || x$w_buff1 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || (x$w_buff1 == 0 || x$w_buff1 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || 0 <= __unbuffered_cnt'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || 0 <= __unbuffered_cnt'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || 0 <= __unbuffered_cnt'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || x$r_buff1_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || x$r_buff1_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || x$r_buff1_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || x$r_buff0_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || x$r_buff0_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || x$r_buff0_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || x$r_buff1_thd3 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || x$r_buff1_thd3 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || x$r_buff1_thd3 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || x$flush_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || x$flush_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || x$flush_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || (x$mem_tmp == 0 || x$mem_tmp == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || (x$mem_tmp == 0 || x$mem_tmp == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || (x$mem_tmp == 0 || x$mem_tmp == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || (x$w_buff0 == 0 || x$w_buff0 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || (x$w_buff0 == 0 || x$w_buff0 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || (x$w_buff0 == 0 || x$w_buff0 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 834
        column: 3
        function: main
      value: '! multithreaded || x$r_buff0_thd3 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 836
        column: 3
        function: main
      value: '! multithreaded || x$r_buff0_thd3 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe012_pso.oepc_pso.opt_rmo.opt.i
        line: 837
        column: 3
        function: main
      value: '! multithreaded || x$r_buff0_thd3 == (_Bool)0'
      format: c_expression
