- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: 372cf9a6-58df-4cad-a9f6-af2684ca9f5f
    creation_time: 2025-05-28T12:14:47Z
    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/safe031_power.opt_pso.opt_rmo.opt.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i: 740668a6bdee7f1177df0d0d81e76f2a2521fb58ce5f63a4942f3d36e11f9dad
      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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 816
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 0c62a831-e9e8-4d1e-9583-482bd39c77ff
    creation_time: 2025-05-28T12:14:47Z
    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/safe031_power.opt_pso.opt_rmo.opt.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i: 740668a6bdee7f1177df0d0d81e76f2a2521fb58ce5f63a4942f3d36e11f9dad
      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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || y$r_buff1_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || y$r_buff1_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || y$r_buff1_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || ((z == 0 || z == 1) || z == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || ((z == 0 || z == 1) || z == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || ((z == 0 || z == 1) || z == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || y$r_buff0_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || y$r_buff0_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || y$r_buff0_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || y$flush_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || y$flush_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || y$flush_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || y$read_delayed_var == 0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || y$read_delayed_var == 0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || y$read_delayed_var == 0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || y$r_buff1_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || y$r_buff1_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || y$r_buff1_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || y$r_buff0_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || y$r_buff0_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || y$r_buff0_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || ((y$mem_tmp == 0 || y$mem_tmp == 1) || y$mem_tmp
        == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || ((y$mem_tmp == 0 || y$mem_tmp == 1) || y$mem_tmp
        == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || ((y$mem_tmp == 0 || y$mem_tmp == 1) || y$mem_tmp
        == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || (y$w_buff1 == 0 || y$w_buff1 == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || (y$w_buff1 == 0 || y$w_buff1 == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || (y$w_buff1 == 0 || y$w_buff1 == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || ((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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || ((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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || ((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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || y$r_buff1_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || y$r_buff1_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || y$r_buff1_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || (y$w_buff0 == 0 || y$w_buff0 == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || (y$w_buff0 == 0 || y$w_buff0 == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || (y$w_buff0 == 0 || y$w_buff0 == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        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/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || y$r_buff0_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || y$r_buff0_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || y$r_buff0_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 818
        column: 3
        function: main
      value: '! multithreaded || y$read_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 820
        column: 3
        function: main
      value: '! multithreaded || y$read_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe031_power.opt_pso.opt_rmo.opt.i
        line: 821
        column: 3
        function: main
      value: '! multithreaded || y$read_delayed == (_Bool)0'
      format: c_expression
