- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 3c5d5e84-4168-48ae-902b-747123ff8235
    creation_time: 2025-03-20T23:30:39Z
    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/array-memsafety/add_last_unsafe.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/add_last_unsafe.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/add_last_unsafe.i: 48fd0d3fe19d1deb0a082df55a1274a55060d743a98a6889cf18bd32ae5a67a0
      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/array-memsafety/add_last_unsafe.i
        line: 520
        column: 2
        function: main
      value: arr == a
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/add_last_unsafe.i
        line: 520
        column: 2
        function: main
      value: ((0LL - (long long )k) + (long long )length >= 0LL && (((((((4 <= length
        && 4 <= k) && (-8LL + (long long )k) + (long long )length >= 0LL) && (2147483643LL
        + (long long )k) - (long long )length >= 0LL) && (4294967294LL - (long long
        )k) - (long long )length >= 0LL) || ((((3 <= length && (-6LL + (long long
        )k) + (long long )length >= 0LL) && (2147483644LL + (long long )k) - (long
        long )length >= 0LL) && (2147483650LL - (long long )k) - (long long )length
        >= 0LL) && k == 3)) || ((((2 <= length && (-4LL + (long long )k) + (long long
        )length >= 0LL) && (2147483645LL + (long long )k) - (long long )length >=
        0LL) && (2147483649LL - (long long )k) - (long long )length >= 0LL) && k ==
        2)) || ((((1 <= length && (-2LL + (long long )k) + (long long )length >= 0LL)
        && (2147483646LL + (long long )k) - (long long )length >= 0LL) && (2147483648LL
        - (long long )k) - (long long )length >= 0LL) && k == 1))) || ((((((1 <= length
        && (-1LL + (long long )k) + (long long )length >= 0LL) && (-1LL - (long long
        )k) + (long long )length >= 0LL) && (2147483647LL + (long long )k) - (long
        long )length >= 0LL) && (2147483647LL - (long long )k) - (long long )length
        >= 0LL) && 0 == k) && k == 0)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/add_last_unsafe.i
        line: 525
        column: 3
        function: main
      value: 1 <= length
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/add_last_unsafe.i
        line: 525
        column: 3
        function: main
      value: 1 <= k
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/add_last_unsafe.i
        line: 525
        column: 3
        function: main
      value: (-2LL + (long long )k) + (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/add_last_unsafe.i
        line: 525
        column: 3
        function: main
      value: (0LL - (long long )k) + (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/add_last_unsafe.i
        line: 525
        column: 3
        function: main
      value: (4294967294LL - (long long )k) - (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/add_last_unsafe.i
        line: 525
        column: 3
        function: main
      value: (long long )k - (long long )length >= 0LL
      format: c_expression
