Skip to content

Commit

Permalink
remove 112
Browse files Browse the repository at this point in the history
  • Loading branch information
alex28sh committed Sep 2, 2024
1 parent 5be9281 commit db15db6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions WIP/087-get_row.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def get_row(lst : List[List[int]], x : int) -> List[Tuple[int, int]]:
Invariant(Forall(int, lambda j:
(Implies(j >= 0 and j < len(pos), 0 <= pos[j][0] and pos[j][0] < len(lst) and
0 <= pos[j][1] and pos[j][1] < len(lst[pos[j][0]]) and
lst[pos[j][0]][pos[j][1]] == x), [[]])))
lst[pos[j][0]][pos[j][1]] == x))))
# Invariant(Forall(int, lambda i1:
# Implies(i1 >= 0 and i1 < i,
# Forall(int, lambda j1:
Expand All @@ -48,7 +48,7 @@ def get_row(lst : List[List[int]], x : int) -> List[Tuple[int, int]]:
Invariant(Forall(int, lambda j:
(Implies(j >= 0 and j < len(pos), 0 <= pos[j][0] and pos[j][0] < len(lst) and
0 <= pos[j][1] and pos[j][1] < len(lst[pos[j][0]]) and
lst[pos[j][0]][pos[j][1]] == x), [[]])))
lst[pos[j][0]][pos[j][1]] == x))))
# Invariant(Forall(int, lambda i1:
# Implies(i1 >= 0 and i1 < i,
# Forall(int, lambda j1:
Expand Down
1 change: 0 additions & 1 deletion Bench/112-reverse_delete.py → WIP/122-reverse_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ def is__palindrome__pred(s : List[int]) -> bool :
Requires(Acc(list_pred(s), 1/2))
return Forall(int, lambda d_10_k_:
(not (((0) <= (d_10_k_)) and ((d_10_k_) < (len(s)))) or (((s)[d_10_k_]) == ((s)[((len(s)) - (1)) - (d_10_k_)]))))

0 comments on commit db15db6

Please sign in to comment.