- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 1fb5039b-8d71-47f2-aef5-257fd78a6bc8
    creation_time: 2025-03-22T11:32:31Z
    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/weaver/popl20-more-array-sum.wvr.c'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c: e4a4a131c0d4df2db1bf018027395318bc112945cbb20d5c862562c48934e5a1
      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/weaver/popl20-more-array-sum.wvr.c
        line: 64
        column: 3
        function: thread3
      value: (unsigned int )_argptr == 0U
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 64
        column: 3
        function: thread3
      value: (((i <= 1073741823 && (-2147483645 <= i || -2147483646 <= i)) || (-2147483647
        <= i && i <= 2147483646)) || (-2147483643 <= i && i <= 1073741823)) || (-2147483644
        <= i && i <= 1073741823)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 47
        column: 3
        function: thread1
      value: (unsigned int )_argptr == 0U
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 47
        column: 3
        function: thread1
      value: ((((4 <= i && i <= 1073741823) || i == 3) || i == 2) || i == 1) || (0
        == i && i == 0)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 102
        column: 3
        function: create_fresh_int_array
      value: size <= 1073741823
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 102
        column: 3
        function: create_fresh_int_array
      value: (0LL - (long long )i) + (long long )size >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 102
        column: 3
        function: create_fresh_int_array
      value: (3221225471LL + (long long )M) - (long long )size >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 102
        column: 3
        function: create_fresh_int_array
      value: (3221225470LL - (long long )M) - (long long )size >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 102
        column: 3
        function: create_fresh_int_array
      value: B == 0
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 102
        column: 3
        function: create_fresh_int_array
      value: res1 == 0
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 102
        column: 3
        function: create_fresh_int_array
      value: (int )res2 == 0
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 102
        column: 3
        function: create_fresh_int_array
      value: (((((((((((((((4 <= size && 4 <= i) && i <= 1073741823) && (-8LL + (long
        long )i) + (long long )size >= 0LL) && (2147483644LL + (long long )M) + (long
        long )size >= 0LL) && (2147483644LL + (long long )M) + (long long )i >= 0LL)
        && (2147483643LL - (long long )M) + (long long )size >= 0LL) && (2147483643LL
        - (long long )M) + (long long )i >= 0LL) && (1073741819LL + (long long )i)
        - (long long )size >= 0LL) && (3221225471LL + (long long )M) - (long long
        )i >= 0LL) && (2147483646LL - (long long )i) - (long long )size >= 0LL) &&
        (3221225470LL - (long long )M) - (long long )i >= 0LL) && ((((((((((((((2147483644LL
        + (long long )N) + (long long )size >= 0LL && (2147483644LL + (long long )N)
        + (long long )i >= 0LL) && (4294967296LL + (long long )M) + (long long )N
        >= 0LL) && (2147483643LL - (long long )N) + (long long )size >= 0LL) && (2147483643LL
        - (long long )N) + (long long )i >= 0LL) && (4294967295LL - (long long )M)
        + (long long )N >= 0LL) && (3221225471LL + (long long )N) - (long long )size
        >= 0LL) && (3221225471LL + (long long )N) - (long long )i >= 0LL) && (4294967295LL
        + (long long )M) - (long long )N >= 0LL) && (3221225470LL - (long long )N)
        - (long long )size >= 0LL) && (3221225470LL - (long long )N) - (long long
        )i >= 0LL) && (4294967294LL - (long long )M) - (long long )N >= 0LL) && A
        == 0) || ((((((((((((-4LL + (long long )N) + (long long )size >= 0LL && (-4LL
        + (long long )N) + (long long )i >= 0LL) && (2147483648LL + (long long )M)
        + (long long )N >= 0LL) && (1073741819LL - (long long )N) + (long long )size
        >= 0LL) && (1073741819LL - (long long )N) + (long long )i >= 0LL) && (2147483647LL
        - (long long )M) + (long long )N >= 0LL) && (1073741823LL + (long long )N)
        - (long long )size >= 0LL) && (1073741823LL + (long long )N) - (long long
        )i >= 0LL) && (3221225471LL + (long long )M) - (long long )N >= 0LL) && (2147483646LL
        - (long long )N) - (long long )size >= 0LL) && (2147483646LL - (long long
        )N) - (long long )i >= 0LL) && (3221225470LL - (long long )M) - (long long
        )N >= 0LL))) || (((((((((((3 <= size && (-6LL + (long long )i) + (long long
        )size >= 0LL) && (2147483645LL + (long long )M) + (long long )size >= 0LL)
        && (2147483645LL + (long long )M) + (long long )i >= 0LL) && (2147483644LL
        - (long long )M) + (long long )size >= 0LL) && (2147483644LL - (long long
        )M) + (long long )i >= 0LL) && (1073741820LL + (long long )i) - (long long
        )size >= 0LL) && (2147483651LL + (long long )M) - (long long )i >= 0LL) &&
        (1073741826LL - (long long )i) - (long long )size >= 0LL) && (2147483650LL
        - (long long )M) - (long long )i >= 0LL) && i == 3) && ((((((((((((((2147483645LL
        + (long long )N) + (long long )size >= 0LL && (2147483645LL + (long long )N)
        + (long long )i >= 0LL) && (4294967296LL + (long long )M) + (long long )N
        >= 0LL) && (2147483644LL - (long long )N) + (long long )size >= 0LL) && (2147483644LL
        - (long long )N) + (long long )i >= 0LL) && (4294967295LL - (long long )M)
        + (long long )N >= 0LL) && (2147483651LL + (long long )N) - (long long )i
        >= 0LL) && (3221225471LL + (long long )N) - (long long )size >= 0LL) && (4294967295LL
        + (long long )M) - (long long )N >= 0LL) && (2147483650LL - (long long )N)
        - (long long )i >= 0LL) && (3221225470LL - (long long )N) - (long long )size
        >= 0LL) && (4294967294LL - (long long )M) - (long long )N >= 0LL) && A ==
        0) || ((((((((((((-3LL + (long long )N) + (long long )size >= 0LL && (-3LL
        + (long long )N) + (long long )i >= 0LL) && (2147483648LL + (long long )M)
        + (long long )N >= 0LL) && (1073741820LL - (long long )N) + (long long )size
        >= 0LL) && (1073741820LL - (long long )N) + (long long )i >= 0LL) && (2147483647LL
        - (long long )M) + (long long )N >= 0LL) && (3LL + (long long )N) - (long
        long )i >= 0LL) && (1073741823LL + (long long )N) - (long long )size >= 0LL)
        && (3221225471LL + (long long )M) - (long long )N >= 0LL) && (1073741826LL
        - (long long )N) - (long long )i >= 0LL) && (2147483646LL - (long long )N)
        - (long long )size >= 0LL) && (3221225470LL - (long long )M) - (long long
        )N >= 0LL)))) || (((((((((((2 <= size && (-4LL + (long long )i) + (long long
        )size >= 0LL) && (2147483646LL + (long long )M) + (long long )size >= 0LL)
        && (2147483646LL + (long long )M) + (long long )i >= 0LL) && (2147483645LL
        - (long long )M) + (long long )size >= 0LL) && (2147483645LL - (long long
        )M) + (long long )i >= 0LL) && (1073741821LL + (long long )i) - (long long
        )size >= 0LL) && (2147483650LL + (long long )M) - (long long )i >= 0LL) &&
        (1073741825LL - (long long )i) - (long long )size >= 0LL) && (2147483649LL
        - (long long )M) - (long long )i >= 0LL) && i == 2) && ((((((((((((((2147483646LL
        + (long long )N) + (long long )size >= 0LL && (2147483646LL + (long long )N)
        + (long long )i >= 0LL) && (4294967296LL + (long long )M) + (long long )N
        >= 0LL) && (2147483645LL - (long long )N) + (long long )size >= 0LL) && (2147483645LL
        - (long long )N) + (long long )i >= 0LL) && (4294967295LL - (long long )M)
        + (long long )N >= 0LL) && (2147483650LL + (long long )N) - (long long )i
        >= 0LL) && (3221225471LL + (long long )N) - (long long )size >= 0LL) && (4294967295LL
        + (long long )M) - (long long )N >= 0LL) && (2147483649LL - (long long )N)
        - (long long )i >= 0LL) && (3221225470LL - (long long )N) - (long long )size
        >= 0LL) && (4294967294LL - (long long )M) - (long long )N >= 0LL) && A ==
        0) || ((((((((((((-2LL + (long long )N) + (long long )size >= 0LL && (-2LL
        + (long long )N) + (long long )i >= 0LL) && (2147483648LL + (long long )M)
        + (long long )N >= 0LL) && (1073741821LL - (long long )N) + (long long )size
        >= 0LL) && (1073741821LL - (long long )N) + (long long )i >= 0LL) && (2147483647LL
        - (long long )M) + (long long )N >= 0LL) && (2LL + (long long )N) - (long
        long )i >= 0LL) && (1073741823LL + (long long )N) - (long long )size >= 0LL)
        && (3221225471LL + (long long )M) - (long long )N >= 0LL) && (1073741825LL
        - (long long )N) - (long long )i >= 0LL) && (2147483646LL - (long long )N)
        - (long long )size >= 0LL) && (3221225470LL - (long long )M) - (long long
        )N >= 0LL)))) || (((((((((((1 <= size && (-2LL + (long long )i) + (long long
        )size >= 0LL) && (2147483647LL + (long long )M) + (long long )size >= 0LL)
        && (2147483647LL + (long long )M) + (long long )i >= 0LL) && (2147483646LL
        - (long long )M) + (long long )size >= 0LL) && (2147483646LL - (long long
        )M) + (long long )i >= 0LL) && (1073741822LL + (long long )i) - (long long
        )size >= 0LL) && (2147483649LL + (long long )M) - (long long )i >= 0LL) &&
        (1073741824LL - (long long )i) - (long long )size >= 0LL) && (2147483648LL
        - (long long )M) - (long long )i >= 0LL) && i == 1) && ((((((((((((((2147483647LL
        + (long long )N) + (long long )size >= 0LL && (2147483647LL + (long long )N)
        + (long long )i >= 0LL) && (4294967296LL + (long long )M) + (long long )N
        >= 0LL) && (2147483646LL - (long long )N) + (long long )size >= 0LL) && (2147483646LL
        - (long long )N) + (long long )i >= 0LL) && (4294967295LL - (long long )M)
        + (long long )N >= 0LL) && (2147483649LL + (long long )N) - (long long )i
        >= 0LL) && (3221225471LL + (long long )N) - (long long )size >= 0LL) && (4294967295LL
        + (long long )M) - (long long )N >= 0LL) && (2147483648LL - (long long )N)
        - (long long )i >= 0LL) && (3221225470LL - (long long )N) - (long long )size
        >= 0LL) && (4294967294LL - (long long )M) - (long long )N >= 0LL) && A ==
        0) || ((((((((((((-1LL + (long long )N) + (long long )size >= 0LL && (-1LL
        + (long long )N) + (long long )i >= 0LL) && (2147483648LL + (long long )M)
        + (long long )N >= 0LL) && (1073741822LL - (long long )N) + (long long )size
        >= 0LL) && (1073741822LL - (long long )N) + (long long )i >= 0LL) && (2147483647LL
        - (long long )M) + (long long )N >= 0LL) && (1LL + (long long )N) - (long
        long )i >= 0LL) && (1073741823LL + (long long )N) - (long long )size >= 0LL)
        && (3221225471LL + (long long )M) - (long long )N >= 0LL) && (1073741824LL
        - (long long )N) - (long long )i >= 0LL) && (2147483646LL - (long long )N)
        - (long long )size >= 0LL) && (3221225470LL - (long long )M) - (long long
        )N >= 0LL)))) || ((((((((((((0 <= size && (2147483648LL + (long long )M) +
        (long long )size >= 0LL) && (2147483648LL + (long long )M) + (long long )i
        >= 0LL) && (2147483647LL - (long long )M) + (long long )size >= 0LL) && (2147483647LL
        - (long long )M) + (long long )i >= 0LL) && (long long )i + (long long )size
        >= 0LL) && (1073741823LL + (long long )i) - (long long )size >= 0LL) && (2147483648LL
        + (long long )M) - (long long )i >= 0LL) && (1073741823LL - (long long )i)
        - (long long )size >= 0LL) && (2147483647LL - (long long )M) - (long long
        )i >= 0LL) && 0 == i) && i == 0) && ((((((((((((((2147483648LL + (long long
        )N) + (long long )size >= 0LL && (2147483648LL + (long long )N) + (long long
        )i >= 0LL) && (4294967296LL + (long long )M) + (long long )N >= 0LL) && (2147483647LL
        - (long long )N) + (long long )size >= 0LL) && (2147483647LL - (long long
        )N) + (long long )i >= 0LL) && (4294967295LL - (long long )M) + (long long
        )N >= 0LL) && (2147483648LL + (long long )N) - (long long )i >= 0LL) && (3221225471LL
        + (long long )N) - (long long )size >= 0LL) && (4294967295LL + (long long
        )M) - (long long )N >= 0LL) && (2147483647LL - (long long )N) - (long long
        )i >= 0LL) && (3221225470LL - (long long )N) - (long long )size >= 0LL) &&
        (4294967294LL - (long long )M) - (long long )N >= 0LL) && A == 0) || ((((((((((((2147483648LL
        + (long long )M) + (long long )N >= 0LL && (1073741823LL - (long long )N)
        + (long long )size >= 0LL) && (1073741823LL - (long long )N) + (long long
        )i >= 0LL) && (2147483647LL - (long long )M) + (long long )N >= 0LL) && (long
        long )N + (long long )size >= 0LL) && (long long )N + (long long )i >= 0LL)
        && (1073741823LL + (long long )N) - (long long )size >= 0LL) && (3221225471LL
        + (long long )M) - (long long )N >= 0LL) && (1073741823LL - (long long )N)
        - (long long )i >= 0LL) && (2147483646LL - (long long )N) - (long long )size
        >= 0LL) && (3221225470LL - (long long )M) - (long long )N >= 0LL) && (long
        long )N - (long long )i >= 0LL)))
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 55
        column: 3
        function: thread2
      value: (unsigned int )_argptr == 0U
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum.wvr.c
        line: 55
        column: 3
        function: thread2
      value: ((((4 <= i && i <= 2147483646) || i == 3) || i == 2) || i == 1) || (0
        == i && i == 0)
      format: c_expression
