- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 26f0eaf5-71f0-4c42-81d1-3cb72d945591
    creation_time: 2025-03-21T01:25:47Z
    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'' ''64bit'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-crafted/LexIndexValue-Array-1.c'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-crafted/LexIndexValue-Array-1.c
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-crafted/LexIndexValue-Array-1.c: d69e4513fb8989bf305d8f9ce21862e8623f2a3d0c8146e8e7fb7e8c658a7eff
      data_model: LP64
      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/termination-crafted/LexIndexValue-Array-1.c
        line: 14
        column: 3
        function: main
      value: 0 == k
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-crafted/LexIndexValue-Array-1.c
        line: 14
        column: 3
        function: main
      value: k == 0
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-crafted/LexIndexValue-Array-1.c
        line: 14
        column: 3
        function: main
      value: ((((((((4 <= i && i <= 1048) && (-4LL + (long long )i) + (long long )k
        >= 0LL) && (1048LL - (long long )i) + (long long )k >= 0LL) && (-4LL + (long
        long )i) - (long long )k >= 0LL) && (1048LL - (long long )i) - (long long
        )k >= 0LL) || (((((-3LL + (long long )i) + (long long )k >= 0LL && (3LL -
        (long long )i) + (long long )k >= 0LL) && (-3LL + (long long )i) - (long long
        )k >= 0LL) && (3LL - (long long )i) - (long long )k >= 0LL) && i == 3)) ||
        (((((-2LL + (long long )i) + (long long )k >= 0LL && (2LL - (long long )i)
        + (long long )k >= 0LL) && (-2LL + (long long )i) - (long long )k >= 0LL)
        && (2LL - (long long )i) - (long long )k >= 0LL) && i == 2)) || (((((-1LL
        + (long long )i) + (long long )k >= 0LL && (1LL - (long long )i) + (long long
        )k >= 0LL) && (-1LL + (long long )i) - (long long )k >= 0LL) && (1LL - (long
        long )i) - (long long )k >= 0LL) && i == 1)) || (((((((0LL - (long long )i)
        + (long long )k >= 0LL && (long long )i + (long long )k >= 0LL) && (0LL -
        (long long )i) - (long long )k >= 0LL) && (long long )i - (long long )k >=
        0LL) && 0 == i) && k == i) && i == 0)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-crafted/LexIndexValue-Array-1.c
        line: 18
        column: 2
        function: main
      value: (-1048LL + (long long )i) + (long long )k >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-crafted/LexIndexValue-Array-1.c
        line: 18
        column: 2
        function: main
      value: (1048LL - (long long )i) + (long long )k >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-crafted/LexIndexValue-Array-1.c
        line: 18
        column: 2
        function: main
      value: i == 1048
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-crafted/LexIndexValue-Array-1.c
        line: 18
        column: 2
        function: main
      value: ((0 <= k && ((((k <= 1048 && (2096LL - (long long )i) - (long long )k
        >= 0LL) && (long long )i - (long long )k >= 0LL) || ((k <= 3 && (-1045LL +
        (long long )i) - (long long )k >= 0LL) && (1051LL - (long long )i) - (long
        long )k >= 0LL)) || ((k <= 2 && (-1046LL + (long long )i) - (long long )k
        >= 0LL) && (1050LL - (long long )i) - (long long )k >= 0LL))) || (((-1047LL
        + (long long )i) - (long long )k >= 0LL && (1049LL - (long long )i) - (long
        long )k >= 0LL) && (k == 0 || k == 1))) || ((((-1048LL + (long long )i) -
        (long long )k >= 0LL && (1048LL - (long long )i) - (long long )k >= 0LL) &&
        0 == k) && k == 0)
      format: c_expression
