- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: a1a20d4b-11ae-417b-ad96-5a2c9861075f
    creation_time: 2025-05-28T12:14:27Z
    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/butterfly.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i: 09af681f1eafc093cc175698e1c11da4bfd74a552772eb695e0956765376568c
      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/butterfly.i
        line: 792
        column: 5
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: cffb61f8-6f2f-46ee-b631-d776820bbebd
    creation_time: 2025-05-28T12:14:27Z
    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/butterfly.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i: 09af681f1eafc093cc175698e1c11da4bfd74a552772eb695e0956765376568c
      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/butterfly.i
        line: 793
        column: 5
        function: main
      value: '! multithreaded || (((int )w == 0 || (int )w == 1) || (int )w == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 794
        column: 5
        function: main
      value: '! multithreaded || (((int )w == 0 || (int )w == 1) || (int )w == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 795
        column: 5
        function: main
      value: '! multithreaded || (((int )w == 0 || (int )w == 1) || (int )w == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 796
        column: 5
        function: main
      value: '! multithreaded || (((int )w == 0 || (int )w == 1) || (int )w == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 797
        column: 5
        function: main
      value: '! multithreaded || (((int )w == 0 || (int )w == 1) || (int )w == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 798
        column: 5
        function: main
      value: '! multithreaded || (((int )w == 0 || (int )w == 1) || (int )w == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 793
        column: 5
        function: main
      value: '! multithreaded || (((int )x == 0 || (int )x == 1) || (int )x == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 794
        column: 5
        function: main
      value: '! multithreaded || (((int )x == 0 || (int )x == 1) || (int )x == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 795
        column: 5
        function: main
      value: '! multithreaded || (((int )x == 0 || (int )x == 1) || (int )x == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 796
        column: 5
        function: main
      value: '! multithreaded || (((int )x == 0 || (int )x == 1) || (int )x == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 797
        column: 5
        function: main
      value: '! multithreaded || (((int )x == 0 || (int )x == 1) || (int )x == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 798
        column: 5
        function: main
      value: '! multithreaded || (((int )x == 0 || (int )x == 1) || (int )x == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 793
        column: 5
        function: main
      value: '! multithreaded || (((int )m == 0 || (int )m == 1) || (int )m == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 794
        column: 5
        function: main
      value: '! multithreaded || (((int )m == 0 || (int )m == 1) || (int )m == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 795
        column: 5
        function: main
      value: '! multithreaded || (((int )m == 0 || (int )m == 1) || (int )m == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 796
        column: 5
        function: main
      value: '! multithreaded || (((int )m == 0 || (int )m == 1) || (int )m == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 797
        column: 5
        function: main
      value: '! multithreaded || (((int )m == 0 || (int )m == 1) || (int )m == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 798
        column: 5
        function: main
      value: '! multithreaded || (((int )m == 0 || (int )m == 1) || (int )m == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 793
        column: 5
        function: main
      value: '! multithreaded || (((int )n == 0 || (int )n == 1) || (int )n == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 794
        column: 5
        function: main
      value: '! multithreaded || (((int )n == 0 || (int )n == 1) || (int )n == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 795
        column: 5
        function: main
      value: '! multithreaded || (((int )n == 0 || (int )n == 1) || (int )n == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 796
        column: 5
        function: main
      value: '! multithreaded || (((int )n == 0 || (int )n == 1) || (int )n == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 797
        column: 5
        function: main
      value: '! multithreaded || (((int )n == 0 || (int )n == 1) || (int )n == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 798
        column: 5
        function: main
      value: '! multithreaded || (((int )n == 0 || (int )n == 1) || (int )n == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 793
        column: 5
        function: main
      value: '! multithreaded || 0 <= (int )success'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 794
        column: 5
        function: main
      value: '! multithreaded || 0 <= (int )success'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 795
        column: 5
        function: main
      value: '! multithreaded || 0 <= (int )success'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 796
        column: 5
        function: main
      value: '! multithreaded || 0 <= (int )success'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 797
        column: 5
        function: main
      value: '! multithreaded || 0 <= (int )success'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 798
        column: 5
        function: main
      value: '! multithreaded || 0 <= (int )success'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 793
        column: 5
        function: main
      value: '! multithreaded || (((int )y == 0 || (int )y == 1) || (int )y == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 794
        column: 5
        function: main
      value: '! multithreaded || (((int )y == 0 || (int )y == 1) || (int )y == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 795
        column: 5
        function: main
      value: '! multithreaded || (((int )y == 0 || (int )y == 1) || (int )y == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 796
        column: 5
        function: main
      value: '! multithreaded || (((int )y == 0 || (int )y == 1) || (int )y == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 797
        column: 5
        function: main
      value: '! multithreaded || (((int )y == 0 || (int )y == 1) || (int )y == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/butterfly.i
        line: 798
        column: 5
        function: main
      value: '! multithreaded || (((int )y == 0 || (int )y == 1) || (int )y == 2)'
      format: c_expression
