- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: acb1e34c-b902-44c1-a36a-c177b77d2cfc
    creation_time: 2025-03-22T11:33:23Z
    producer:
      name: Goblint
      version: heads/master-0-g66dff5a90-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp.json'' ''--disable'' ''witness.graphml.enabled''
        ''--sets'' ''ana.specification'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/properties/valid-memsafety.prp''
        ''--sets'' ''exp.architecture'' ''32bit'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i: 29016034e4102bf62d4fcba069301a54da1d77dfd5739e4cf52e395ddaa22e38
      data_model: ILP32
      language: C
      specification: 'CHECK( init(main()), LTL(G valid-free) )

        CHECK( init(main()), LTL(G valid-deref) )

        CHECK( init(main()), LTL(G valid-memtrack) )'
  content:
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i
        line: 892
        column: 3
        function: thread2
      value: (unsigned int )arg == 0U
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i
        line: 892
        column: 3
        function: thread2
      value: (((j == 4 || (0 == j && j == 0)) || j == 3) || j == 2) || j == 1
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i
        line: 894
        column: 5
        function: thread2
      value: (unsigned int )arg == 0U
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i
        line: 894
        column: 5
        function: thread2
      value: num == 0 || num == 1
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i
        line: 894
        column: 5
        function: thread2
      value: ((((((((((((((((((((((((0LL - (long long )j) + (long long )num >= 0LL
        && (long long )j + (long long )num >= 0LL) && (1LL + (long long )j) - (long
        long )num >= 0LL) && (1LL - (long long )j) - (long long )num >= 0LL) && 0
        == j) && j == 0) || (((((-3LL + (long long )j) + (long long )num >= 0LL &&
        (3LL - (long long )j) + (long long )num >= 0LL) && (-2LL + (long long )j)
        - (long long )num >= 0LL) && (4LL - (long long )j) - (long long )num >= 0LL)
        && j == 3)) || ((((((0LL - (long long )j) + (long long )num >= 0LL && (long
        long )j + (long long )num >= 0LL) && (1LL + (long long )j) - (long long )num
        >= 0LL) && (1LL - (long long )j) - (long long )num >= 0LL) && 0 == j) && j
        == 0)) || (((((-3LL + (long long )j) + (long long )num >= 0LL && (3LL - (long
        long )j) + (long long )num >= 0LL) && (-2LL + (long long )j) - (long long
        )num >= 0LL) && (4LL - (long long )j) - (long long )num >= 0LL) && j == 3))
        || ((((((0LL - (long long )j) + (long long )num >= 0LL && (long long )j +
        (long long )num >= 0LL) && (1LL + (long long )j) - (long long )num >= 0LL)
        && (1LL - (long long )j) - (long long )num >= 0LL) && 0 == j) && j == 0))
        || (((((-3LL + (long long )j) + (long long )num >= 0LL && (3LL - (long long
        )j) + (long long )num >= 0LL) && (-2LL + (long long )j) - (long long )num
        >= 0LL) && (4LL - (long long )j) - (long long )num >= 0LL) && j == 3)) ||
        ((((((0LL - (long long )j) + (long long )num >= 0LL && (long long )j + (long
        long )num >= 0LL) && (1LL + (long long )j) - (long long )num >= 0LL) && (1LL
        - (long long )j) - (long long )num >= 0LL) && 0 == j) && j == 0)) || ((((((0LL
        - (long long )j) + (long long )num >= 0LL && (long long )j + (long long )num
        >= 0LL) && (1LL + (long long )j) - (long long )num >= 0LL) && (1LL - (long
        long )j) - (long long )num >= 0LL) && 0 == j) && j == 0)) || (((((-3LL + (long
        long )j) + (long long )num >= 0LL && (3LL - (long long )j) + (long long )num
        >= 0LL) && (-2LL + (long long )j) - (long long )num >= 0LL) && (4LL - (long
        long )j) - (long long )num >= 0LL) && j == 3)) || (((((-3LL + (long long )j)
        + (long long )num >= 0LL && (3LL - (long long )j) + (long long )num >= 0LL)
        && (-2LL + (long long )j) - (long long )num >= 0LL) && (4LL - (long long )j)
        - (long long )num >= 0LL) && j == 3)) || (((((-2LL + (long long )j) + (long
        long )num >= 0LL && (2LL - (long long )j) + (long long )num >= 0LL) && (-1LL
        + (long long )j) - (long long )num >= 0LL) && (3LL - (long long )j) - (long
        long )num >= 0LL) && j == 2)) || (((((-2LL + (long long )j) + (long long )num
        >= 0LL && (2LL - (long long )j) + (long long )num >= 0LL) && (-1LL + (long
        long )j) - (long long )num >= 0LL) && (3LL - (long long )j) - (long long )num
        >= 0LL) && j == 2)) || (((((-2LL + (long long )j) + (long long )num >= 0LL
        && (2LL - (long long )j) + (long long )num >= 0LL) && (-1LL + (long long )j)
        - (long long )num >= 0LL) && (3LL - (long long )j) - (long long )num >= 0LL)
        && j == 2)) || (((((-2LL + (long long )j) + (long long )num >= 0LL && (2LL
        - (long long )j) + (long long )num >= 0LL) && (-1LL + (long long )j) - (long
        long )num >= 0LL) && (3LL - (long long )j) - (long long )num >= 0LL) && j
        == 2)) || (((((-2LL + (long long )j) + (long long )num >= 0LL && (2LL - (long
        long )j) + (long long )num >= 0LL) && (-1LL + (long long )j) - (long long
        )num >= 0LL) && (3LL - (long long )j) - (long long )num >= 0LL) && j == 2))
        || (((((-1LL + (long long )j) + (long long )num >= 0LL && (1LL - (long long
        )j) + (long long )num >= 0LL) && (2LL - (long long )j) - (long long )num >=
        0LL) && (long long )j - (long long )num >= 0LL) && j == 1)) || (((((-1LL +
        (long long )j) + (long long )num >= 0LL && (1LL - (long long )j) + (long long
        )num >= 0LL) && (2LL - (long long )j) - (long long )num >= 0LL) && (long long
        )j - (long long )num >= 0LL) && j == 1)) || (((((-1LL + (long long )j) + (long
        long )num >= 0LL && (1LL - (long long )j) + (long long )num >= 0LL) && (2LL
        - (long long )j) - (long long )num >= 0LL) && (long long )j - (long long )num
        >= 0LL) && j == 1)) || (((((-1LL + (long long )j) + (long long )num >= 0LL
        && (1LL - (long long )j) + (long long )num >= 0LL) && (2LL - (long long )j)
        - (long long )num >= 0LL) && (long long )j - (long long )num >= 0LL) && j
        == 1)) || (((((-1LL + (long long )j) + (long long )num >= 0LL && (1LL - (long
        long )j) + (long long )num >= 0LL) && (2LL - (long long )j) - (long long )num
        >= 0LL) && (long long )j - (long long )num >= 0LL) && j == 1)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i
        line: 880
        column: 5
        function: thread1
      value: (unsigned int )arg == 0U
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i
        line: 880
        column: 5
        function: thread1
      value: num == 0 || num == 1
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i
        line: 880
        column: 5
        function: thread1
      value: (((((((((((((((((((-2LL + (long long )i) + (long long )num >= 0LL &&
        (2LL - (long long )i) + (long long )num >= 0LL) && (-1LL + (long long )i)
        - (long long )num >= 0LL) && (3LL - (long long )i) - (long long )num >= 0LL)
        && i == 2) || (((((-1LL + (long long )i) + (long long )num >= 0LL && (1LL
        - (long long )i) + (long long )num >= 0LL) && (2LL - (long long )i) - (long
        long )num >= 0LL) && (long long )i - (long long )num >= 0LL) && i == 1)) ||
        (((((-1LL + (long long )i) + (long long )num >= 0LL && (1LL - (long long )i)
        + (long long )num >= 0LL) && (2LL - (long long )i) - (long long )num >= 0LL)
        && (long long )i - (long long )num >= 0LL) && i == 1)) || (((((-1LL + (long
        long )i) + (long long )num >= 0LL && (1LL - (long long )i) + (long long )num
        >= 0LL) && (2LL - (long long )i) - (long long )num >= 0LL) && (long long )i
        - (long long )num >= 0LL) && i == 1)) || (((((-1LL + (long long )i) + (long
        long )num >= 0LL && (1LL - (long long )i) + (long long )num >= 0LL) && (2LL
        - (long long )i) - (long long )num >= 0LL) && (long long )i - (long long )num
        >= 0LL) && i == 1)) || (((((-1LL + (long long )i) + (long long )num >= 0LL
        && (1LL - (long long )i) + (long long )num >= 0LL) && (2LL - (long long )i)
        - (long long )num >= 0LL) && (long long )i - (long long )num >= 0LL) && i
        == 1)) || ((((((0LL - (long long )i) + (long long )num >= 0LL && (long long
        )i + (long long )num >= 0LL) && (1LL + (long long )i) - (long long )num >=
        0LL) && (1LL - (long long )i) - (long long )num >= 0LL) && 0 == i) && i ==
        0)) || (((((-3LL + (long long )i) + (long long )num >= 0LL && (3LL - (long
        long )i) + (long long )num >= 0LL) && (-2LL + (long long )i) - (long long
        )num >= 0LL) && (4LL - (long long )i) - (long long )num >= 0LL) && i == 3))
        || ((((((0LL - (long long )i) + (long long )num >= 0LL && (long long )i +
        (long long )num >= 0LL) && (1LL + (long long )i) - (long long )num >= 0LL)
        && (1LL - (long long )i) - (long long )num >= 0LL) && 0 == i) && i == 0))
        || ((((((0LL - (long long )i) + (long long )num >= 0LL && (long long )i +
        (long long )num >= 0LL) && (1LL + (long long )i) - (long long )num >= 0LL)
        && (1LL - (long long )i) - (long long )num >= 0LL) && 0 == i) && i == 0))
        || (((((-3LL + (long long )i) + (long long )num >= 0LL && (3LL - (long long
        )i) + (long long )num >= 0LL) && (-2LL + (long long )i) - (long long )num
        >= 0LL) && (4LL - (long long )i) - (long long )num >= 0LL) && i == 3)) ||
        ((((((0LL - (long long )i) + (long long )num >= 0LL && (long long )i + (long
        long )num >= 0LL) && (1LL + (long long )i) - (long long )num >= 0LL) && (1LL
        - (long long )i) - (long long )num >= 0LL) && 0 == i) && i == 0)) || (((((-3LL
        + (long long )i) + (long long )num >= 0LL && (3LL - (long long )i) + (long
        long )num >= 0LL) && (-2LL + (long long )i) - (long long )num >= 0LL) && (4LL
        - (long long )i) - (long long )num >= 0LL) && i == 3)) || ((((((0LL - (long
        long )i) + (long long )num >= 0LL && (long long )i + (long long )num >= 0LL)
        && (1LL + (long long )i) - (long long )num >= 0LL) && (1LL - (long long )i)
        - (long long )num >= 0LL) && 0 == i) && i == 0)) || (((((-3LL + (long long
        )i) + (long long )num >= 0LL && (3LL - (long long )i) + (long long )num >=
        0LL) && (-2LL + (long long )i) - (long long )num >= 0LL) && (4LL - (long long
        )i) - (long long )num >= 0LL) && i == 3)) || (((((-3LL + (long long )i) +
        (long long )num >= 0LL && (3LL - (long long )i) + (long long )num >= 0LL)
        && (-2LL + (long long )i) - (long long )num >= 0LL) && (4LL - (long long )i)
        - (long long )num >= 0LL) && i == 3)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i
        line: 878
        column: 3
        function: thread1
      value: (unsigned int )arg == 0U
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/arithmetic_prog_ok.i
        line: 878
        column: 3
        function: thread1
      value: (((i == 3 || i == 2) || i == 1) || i == 4) || (0 == i && i == 0)
      format: c_expression
