Skip to content

Commit

Permalink
Add TODO about duplicate precondition_loop_invariant entries
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Feb 29, 2024
1 parent 61f94d0 commit 786affd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/regression/56-witness/05-prec-problem.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
[Info][Witness] witness generation summary:
total generation entries: 6

TODO: Don't generate duplicate entries from each context: should have generated just 3.

Witness shouldn't contain two unsound precondition_loop_invariant-s with precondition `*ptr1 == 5 && *ptr2 == 5`,
and separately invariants `result == 0` and `result == 1`.
The sound invariant is `result == 1 || result == 0`.
Expand Down

0 comments on commit 786affd

Please sign in to comment.