Skip to content

Commit d7d370e

Browse files
committed
deprecations
1 parent 2401996 commit d7d370e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Std/Tactic/BVDecide/LRAT/Internal/Formula/RatAddSound.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,10 +453,10 @@ theorem existsRatHint_of_ratHintsExhaustive {n : Nat} (f : DefaultFormula n)
453453
have i_eq_range_i : i = (Array.range f.clauses.size)[i]'i_in_bounds := by
454454
rw [Array.getElem_range]
455455
rw [i_eq_range_i]
456-
rw [Array.mem_toList]
456+
rw [Array.mem_toList_iff]
457457
rw [Array.mem_filter]
458458
constructor
459-
· rw [← Array.mem_toList]
459+
· rw [← Array.mem_toList_iff]
460460
apply Array.getElem_mem_toList
461461
· rw [Array.getElem_toList] at c'_in_f
462462
simp only [Array.getElem_range, getElem!_def, i_lt_f_clauses_size, Array.getElem?_eq_getElem,

src/Std/Tactic/BVDecide/LRAT/Internal/Formula/RupAddResult.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ theorem nodup_derivedLits {n : Nat} (f : DefaultFormula n)
11091109
intro li_eq_lj
11101110
let li := derivedLits_arr[i]
11111111
have li_in_derivedLits : li ∈ derivedLits := by
1112-
rw [Array.mem_toList, ← derivedLits_arr_def]
1112+
rw [Array.mem_toList_iff, ← derivedLits_arr_def]
11131113
simp [li, Array.getElem_mem]
11141114
have i_in_bounds : i.1 < derivedLits.length := by
11151115
have i_property := i.2

0 commit comments

Comments
 (0)