- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 2b2a4407-a7de-47e9-a3f8-597e4e5e7212
    creation_time: 2025-03-22T10:14:03Z
    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-ext/26_stack_cas_longer-2.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/26_stack_cas_longer-2.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/26_stack_cas_longer-2.i: f6a420ba5144c69cefe02db203552770c4018653c510d9792e57ffedc3dfc64e
      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-ext/26_stack_cas_longer-2.i
        line: 749
        column: 3
        function: push
      value: 1 <= newTop
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/26_stack_cas_longer-2.i
        line: 749
        column: 3
        function: push
      value: (4294967296LL + (long long )d) + (long long )newTop >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/26_stack_cas_longer-2.i
        line: 749
        column: 3
        function: push
      value: (4294967295LL - (long long )d) + (long long )newTop >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/26_stack_cas_longer-2.i
        line: 749
        column: 3
        function: push
      value: (4294967295LL + (long long )d) - (long long )newTop >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/26_stack_cas_longer-2.i
        line: 749
        column: 3
        function: push
      value: (4294967294LL - (long long )d) - (long long )newTop >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/26_stack_cas_longer-2.i
        line: 749
        column: 3
        function: push
      value: (((((((((((((((((((((0 <= oldTop && (2147483648LL + (long long )casret)
        + (long long )d >= 0LL) && (2147483648LL + (long long )casret) + (long long
        )oldTop >= 0LL) && (2147483648LL + (long long )casret) + (long long )newTop
        >= 0LL) && (4294967296LL + (long long )d) + (long long )oldTop >= 0LL) &&
        (4294967296LL + (long long )newTop) + (long long )oldTop >= 0LL) && (2147483648LL
        - (long long )casret) + (long long )d >= 0LL) && (2147483648LL - (long long
        )casret) + (long long )oldTop >= 0LL) && (2147483648LL - (long long )casret)
        + (long long )newTop >= 0LL) && (4294967295LL - (long long )d) + (long long
        )oldTop >= 0LL) && (4294967295LL - (long long )newTop) + (long long )oldTop
        >= 0LL) && (2147483647LL + (long long )casret) - (long long )d >= 0LL) &&
        (2147483647LL + (long long )casret) - (long long )oldTop >= 0LL) && (2147483647LL
        + (long long )casret) - (long long )newTop >= 0LL) && (4294967295LL + (long
        long )d) - (long long )oldTop >= 0LL) && (4294967295LL + (long long )newTop)
        - (long long )oldTop >= 0LL) && (2147483647LL - (long long )casret) - (long
        long )d >= 0LL) && (2147483647LL - (long long )casret) - (long long )oldTop
        >= 0LL) && (2147483647LL - (long long )casret) - (long long )newTop >= 0LL)
        && (4294967294LL - (long long )d) - (long long )oldTop >= 0LL) && (4294967294LL
        - (long long )newTop) - (long long )oldTop >= 0LL) && casret == 0) || (((((((((((((((((((((((((2LL
        + (long long )casret) + (long long )oldTop >= 0LL && (2147483649LL + (long
        long )d) + (long long )oldTop >= 0LL) && (2147483649LL + (long long )newTop)
        + (long long )oldTop >= 0LL) && (2147483649LL + (long long )casret) + (long
        long )d >= 0LL) && (2147483649LL + (long long )casret) + (long long )newTop
        >= 0LL) && (0LL - (long long )casret) + (long long )oldTop >= 0LL) && (2147483647LL
        - (long long )casret) + (long long )d >= 0LL) && (2147483647LL - (long long
        )casret) + (long long )newTop >= 0LL) && (2147483648LL - (long long )d) +
        (long long )oldTop >= 0LL) && (2147483648LL - (long long )newTop) + (long
        long )oldTop >= 0LL) && (2147483647LL + (long long )d) - (long long )oldTop
        >= 0LL) && (2147483647LL + (long long )newTop) - (long long )oldTop >= 0LL)
        && (2147483648LL + (long long )casret) - (long long )d >= 0LL) && (2147483648LL
        + (long long )casret) - (long long )newTop >= 0LL) && (-2LL - (long long )casret)
        - (long long )oldTop >= 0LL) && (2147483646LL - (long long )d) - (long long
        )oldTop >= 0LL) && (2147483646LL - (long long )newTop) - (long long )oldTop
        >= 0LL) && (2147483646LL - (long long )casret) - (long long )d >= 0LL) &&
        (2147483646LL - (long long )casret) - (long long )newTop >= 0LL) && (long
        long )casret - (long long )oldTop >= 0LL) && -1 == oldTop) && -1 == casret)
        && oldTop == -1) && oldTop == casret) && casret == -1)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/26_stack_cas_longer-2.i
        line: 768
        column: 2
        function: push_loop
      value: (((((2147483648LL + (long long )arg) + (long long )r >= 0LL && (2147483647LL
        - (long long )arg) + (long long )r >= 0LL) && (2147483649LL + (long long )arg)
        - (long long )r >= 0LL) && (2147483648LL - (long long )arg) - (long long )r
        >= 0LL) && (r == 0 || r == 1)) || ((((((2147483649LL + (long long )arg) +
        (long long )r >= 0LL && (2147483648LL - (long long )arg) + (long long )r >=
        0LL) && (2147483647LL + (long long )arg) - (long long )r >= 0LL) && (2147483646LL
        - (long long )arg) - (long long )r >= 0LL) && -1 == r) && r == -1)
      format: c_expression
