- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: ee278ccb-1e9d-4a98-a95f-80a2a66a93ff
    creation_time: 2024-09-27T13:52:42Z
    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'' ''--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/safe029_power.oepc_pso.oepc_rmo.oepc.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe029_power.oepc_pso.oepc_rmo.oepc.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe029_power.oepc_pso.oepc_rmo.oepc.i: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
      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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 791
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: ea84e352-b889-4302-a0b5-8231aca3ac40
    creation_time: 2024-09-27T13:52:42Z
    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'' ''--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/safe029_power.oepc_pso.oepc_rmo.oepc.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe029_power.oepc_pso.oepc_rmo.oepc.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe029_power.oepc_pso.oepc_rmo.oepc.i: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
      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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        column: 3
        function: main
      value: '! multithreaded || ((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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        column: 3
        function: main
      value: '! multithreaded || ((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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        column: 3
        function: main
      value: '! multithreaded || (((((((((((((((((((((((((((1LL + (long long )y$r_buff0_thd1)
        - (long long )y$w_buff0 >= 0LL && (1LL + (long long )y$r_buff1_thd1) - (long
        long )y$w_buff1 >= 0LL) && (0LL - (long long )y$flush_delayed) - (long long
        )y$w_buff1_used >= 0LL) && (0LL - (long long )y$r_buff0_thd0) - (long long
        )y$w_buff1_used >= 0LL) && (0LL - (long long )y$r_buff0_thd2) - (long long
        )y$w_buff1_used >= 0LL) && (0LL - (long long )y$r_buff1_thd0) - (long long
        )y$w_buff1_used >= 0LL) && (0LL - (long long )y$r_buff1_thd2) - (long long
        )y$w_buff1_used >= 0LL) && (0LL - (long long )y$read_delayed) - (long long
        )y$w_buff1_used >= 0LL) && (1LL - (long long )y$r_buff0_thd1) - (long long
        )y$w_buff1_used >= 0LL) && (1LL - (long long )y$w_buff0_used) - (long long
        )y$w_buff1_used >= 0LL) && (2LL - (long long )y$w_buff0) - (long long )y$w_buff1_used
        >= 0LL) && (long long )__unbuffered_cnt - (long long )y$w_buff1_used >= 0LL)
        && (long long )main$tmp_guard1 - (long long )y$w_buff1_used >= 0LL) && (long
        long )x - (long long )y$w_buff1_used >= 0LL) && (long long )y - (long long
        )y$w_buff1_used >= 0LL) && (long long )y$flush_delayed - (long long )y$w_buff1_used
        >= 0LL) && (long long )y$mem_tmp - (long long )y$w_buff1_used >= 0LL) && (long
        long )y$r_buff0_thd0 - (long long )y$w_buff1_used >= 0LL) && (long long )y$r_buff0_thd1
        - (long long )y$w_buff0_used >= 0LL) && (long long )y$r_buff0_thd2 - (long
        long )y$w_buff1_used >= 0LL) && (long long )y$r_buff1_thd0 - (long long )y$w_buff1_used
        >= 0LL) && (long long )y$r_buff1_thd1 - (long long )y$w_buff1_used >= 0LL)
        && (long long )y$r_buff1_thd2 - (long long )y$w_buff1_used >= 0LL) && (long
        long )y$read_delayed - (long long )y$w_buff1_used >= 0LL) && (long long )y$w_buff1
        - (long long )y$w_buff1_used >= 0LL) && (long long )weak$$choice0 - (long
        long )y$w_buff1_used >= 0LL) && (long long )weak$$choice2 - (long long )y$w_buff1_used
        >= 0LL)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        column: 3
        function: main
      value: '! multithreaded || (((((((((((((((((((((((((((1LL + (long long )y$r_buff0_thd1)
        - (long long )y$w_buff0 >= 0LL && (1LL + (long long )y$r_buff1_thd1) - (long
        long )y$w_buff1 >= 0LL) && (0LL - (long long )y$flush_delayed) - (long long
        )y$w_buff1_used >= 0LL) && (0LL - (long long )y$r_buff0_thd0) - (long long
        )y$w_buff1_used >= 0LL) && (0LL - (long long )y$r_buff0_thd2) - (long long
        )y$w_buff1_used >= 0LL) && (0LL - (long long )y$r_buff1_thd0) - (long long
        )y$w_buff1_used >= 0LL) && (0LL - (long long )y$r_buff1_thd2) - (long long
        )y$w_buff1_used >= 0LL) && (0LL - (long long )y$read_delayed) - (long long
        )y$w_buff1_used >= 0LL) && (1LL - (long long )y$r_buff0_thd1) - (long long
        )y$w_buff1_used >= 0LL) && (1LL - (long long )y$w_buff0_used) - (long long
        )y$w_buff1_used >= 0LL) && (2LL - (long long )y$w_buff0) - (long long )y$w_buff1_used
        >= 0LL) && (long long )__unbuffered_cnt - (long long )y$w_buff1_used >= 0LL)
        && (long long )main$tmp_guard1 - (long long )y$w_buff1_used >= 0LL) && (long
        long )x - (long long )y$w_buff1_used >= 0LL) && (long long )y - (long long
        )y$w_buff1_used >= 0LL) && (long long )y$flush_delayed - (long long )y$w_buff1_used
        >= 0LL) && (long long )y$mem_tmp - (long long )y$w_buff1_used >= 0LL) && (long
        long )y$r_buff0_thd0 - (long long )y$w_buff1_used >= 0LL) && (long long )y$r_buff0_thd1
        - (long long )y$w_buff0_used >= 0LL) && (long long )y$r_buff0_thd2 - (long
        long )y$w_buff1_used >= 0LL) && (long long )y$r_buff1_thd0 - (long long )y$w_buff1_used
        >= 0LL) && (long long )y$r_buff1_thd1 - (long long )y$w_buff1_used >= 0LL)
        && (long long )y$r_buff1_thd2 - (long long )y$w_buff1_used >= 0LL) && (long
        long )y$read_delayed - (long long )y$w_buff1_used >= 0LL) && (long long )y$w_buff1
        - (long long )y$w_buff1_used >= 0LL) && (long long )weak$$choice0 - (long
        long )y$w_buff1_used >= 0LL) && (long long )weak$$choice2 - (long long )y$w_buff1_used
        >= 0LL)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 793
        column: 3
        function: main
      value: '! multithreaded || ((((((((((((0 <= __unbuffered_cnt && y$flush_delayed
        == (_Bool)0) && y$r_buff0_thd0 == (_Bool)0) && y$r_buff0_thd2 == (_Bool)0)
        && y$r_buff1_thd0 == (_Bool)0) && y$r_buff1_thd2 == (_Bool)0) && y$read_delayed
        == (_Bool)0) && y$read_delayed_var == 0) && (y$w_buff0 == 0 || y$w_buff0 ==
        2)) && (y$w_buff1 == 0 || y$w_buff1 == 2)) && ((x == 0 || x == 1) || x ==
        2)) && ((y == 0 || y == 1) || y == 2)) && ((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/safe029_power.oepc_pso.oepc_rmo.oepc.i
        file_hash: 7db5da573de5a20455a36e013b1614f5d7f4dede9c4027ebf8a62a657a5ca5e2
        line: 794
        column: 3
        function: main
      value: '! multithreaded || ((((((((((((0 <= __unbuffered_cnt && y$flush_delayed
        == (_Bool)0) && y$r_buff0_thd0 == (_Bool)0) && y$r_buff0_thd2 == (_Bool)0)
        && y$r_buff1_thd0 == (_Bool)0) && y$r_buff1_thd2 == (_Bool)0) && y$read_delayed
        == (_Bool)0) && y$read_delayed_var == 0) && (y$w_buff0 == 0 || y$w_buff0 ==
        2)) && (y$w_buff1 == 0 || y$w_buff1 == 2)) && ((x == 0 || x == 1) || x ==
        2)) && ((y == 0 || y == 1) || y == 2)) && ((y$mem_tmp == 0 || y$mem_tmp ==
        1) || y$mem_tmp == 2))'
      format: c_expression
