- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: c0d4f003-ad1c-457a-9418-365b48b00a1a
    creation_time: 2025-05-28T12:16:10Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection-read'' ''--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/mix010.opt.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i: 371e0ad4620d67bc913500e97f289ec14c56f7c02bd7df3fa28779e14d33459a
      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/mix010.opt.i
        line: 854
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 5d2cef54-e4f7-4402-a272-321ac107b5cf
    creation_time: 2025-05-28T12:16:10Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection-read'' ''--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/mix010.opt.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i: 371e0ad4620d67bc913500e97f289ec14c56f7c02bd7df3fa28779e14d33459a
      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/mix010.opt.i
        line: 856
        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/mix010.opt.i
        line: 858
        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/mix010.opt.i
        line: 859
        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/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || z$r_buff0_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || z$r_buff0_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || z$r_buff0_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || z$read_delayed_var == 0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || z$read_delayed_var == 0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || z$read_delayed_var == 0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p1_EBX == 0 || __unbuffered_p1_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p1_EBX == 0 || __unbuffered_p1_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p1_EBX == 0 || __unbuffered_p1_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p2_EBX == 0 || __unbuffered_p2_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p2_EBX == 0 || __unbuffered_p2_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p2_EBX == 0 || __unbuffered_p2_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || (z$mem_tmp == 0 || z$mem_tmp == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || (z$mem_tmp == 0 || z$mem_tmp == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || (z$mem_tmp == 0 || z$mem_tmp == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        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/mix010.opt.i
        line: 858
        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/mix010.opt.i
        line: 859
        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/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || z$r_buff0_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || z$r_buff0_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || z$r_buff0_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || (a == 0 || a == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || (a == 0 || a == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || (a == 0 || a == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || z$r_buff1_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || z$r_buff1_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || z$r_buff1_thd2 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || z$r_buff1_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || z$r_buff1_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || z$r_buff1_thd1 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || z$r_buff0_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || z$r_buff0_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || z$r_buff0_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || (z$w_buff1 == 0 || z$w_buff1 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || (z$w_buff1 == 0 || z$w_buff1 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || (z$w_buff1 == 0 || z$w_buff1 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        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/mix010.opt.i
        line: 858
        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/mix010.opt.i
        line: 859
        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/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || z$flush_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || z$flush_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || z$flush_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        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/mix010.opt.i
        line: 858
        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/mix010.opt.i
        line: 859
        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/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || (z$w_buff0 == 0 || z$w_buff0 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || (z$w_buff0 == 0 || z$w_buff0 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || (z$w_buff0 == 0 || z$w_buff0 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || z$r_buff1_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || z$r_buff1_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || z$r_buff1_thd0 == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        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/mix010.opt.i
        line: 858
        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/mix010.opt.i
        line: 859
        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/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || z$read_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || z$read_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || z$read_delayed == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p1_EAX == 0 || __unbuffered_p1_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 858
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p1_EAX == 0 || __unbuffered_p1_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p1_EAX == 0 || __unbuffered_p1_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/mix010.opt.i
        line: 856
        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/mix010.opt.i
        line: 858
        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/mix010.opt.i
        line: 859
        column: 3
        function: main
      value: '! multithreaded || (z == 0 || z == 1)'
      format: c_expression
