- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 03154adf-c9cb-4ac0-afa5-d13bf839f754
    creation_time: 2025-03-21T00:44:34Z
    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/ldv-memsafety/ArraysOfVariableLength_-write.c'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysOfVariableLength_-write.c
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysOfVariableLength_-write.c: eec160cf4b60485a1055f4c0493c31fb16faea97df24f3bbd4c282065dca8c74
      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/ldv-memsafety/ArraysOfVariableLength_-write.c
        line: 14
        column: 5
        function: foo
      value: n <= 99
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysOfVariableLength_-write.c
        line: 14
        column: 5
        function: foo
      value: size <= 100
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysOfVariableLength_-write.c
        line: 14
        column: 5
        function: foo
      value: (-1LL - (long long )n) + (long long )size >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysOfVariableLength_-write.c
        line: 14
        column: 5
        function: foo
      value: (1LL + (long long )n) - (long long )size >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysOfVariableLength_-write.c
        line: 14
        column: 5
        function: foo
      value: (199LL - (long long )n) - (long long )size >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysOfVariableLength_-write.c
        line: 14
        column: 5
        function: foo
      value: (((0LL - (long long )i) + (long long )size >= 0LL && (1LL - (long long
        )i) + (long long )n >= 0LL) && (((((((((((((3 <= n && 4 <= size) && 4 <= i)
        && i <= 100) && (-8LL + (long long )i) + (long long )size >= 0LL) && (-7LL
        + (long long )n) + (long long )size >= 0LL) && (-7LL + (long long )i) + (long
        long )n >= 0LL) && (95LL + (long long )i) - (long long )n >= 0LL) && (96LL
        + (long long )i) - (long long )size >= 0LL) && (199LL - (long long )i) - (long
        long )n >= 0LL) && (200LL - (long long )i) - (long long )size >= 0LL) || (((((((((2
        <= n && 3 <= size) && (-6LL + (long long )i) + (long long )size >= 0LL) &&
        (-5LL + (long long )n) + (long long )size >= 0LL) && (-5LL + (long long )i)
        + (long long )n >= 0LL) && (96LL + (long long )i) - (long long )n >= 0LL)
        && (97LL + (long long )i) - (long long )size >= 0LL) && (102LL - (long long
        )i) - (long long )n >= 0LL) && (103LL - (long long )i) - (long long )size
        >= 0LL) && i == 3)) || (((((((((1 <= n && 2 <= size) && (-4LL + (long long
        )i) + (long long )size >= 0LL) && (-3LL + (long long )n) + (long long )size
        >= 0LL) && (-3LL + (long long )i) + (long long )n >= 0LL) && (97LL + (long
        long )i) - (long long )n >= 0LL) && (98LL + (long long )i) - (long long )size
        >= 0LL) && (101LL - (long long )i) - (long long )n >= 0LL) && (102LL - (long
        long )i) - (long long )size >= 0LL) && i == 2)) || (((((((((0 <= n && 1 <=
        size) && (-2LL + (long long )i) + (long long )size >= 0LL) && (-1LL + (long
        long )n) + (long long )size >= 0LL) && (-1LL + (long long )i) + (long long
        )n >= 0LL) && (98LL + (long long )i) - (long long )n >= 0LL) && (99LL + (long
        long )i) - (long long )size >= 0LL) && (100LL - (long long )i) - (long long
        )n >= 0LL) && (101LL - (long long )i) - (long long )size >= 0LL) && i == 1)))
        || (((((((((((0 <= n && 1 <= size) && (-1LL + (long long )n) + (long long
        )size >= 0LL) && (-1LL + (long long )i) + (long long )size >= 0LL) && (-1LL
        - (long long )i) + (long long )size >= 0LL) && (0LL - (long long )i) + (long
        long )n >= 0LL) && (long long )i + (long long )n >= 0LL) && (99LL + (long
        long )i) - (long long )n >= 0LL) && (100LL + (long long )i) - (long long )size
        >= 0LL) && (99LL - (long long )i) - (long long )n >= 0LL) && (100LL - (long
        long )i) - (long long )size >= 0LL) && i == 0)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysOfVariableLength_-write.c
        line: 25
        column: 2
        function: main
      value: ((((4 <= i && i <= 100) || 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/ldv-memsafety/ArraysOfVariableLength_-write.c
        line: 22
        column: 2
        function: main
      value: ((((4 <= i && i <= 100) || i == 3) || i == 2) || i == 1) || (0 == i &&
        i == 0)
      format: c_expression
