We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efd379e commit e2aa6ccCopy full SHA for e2aa6cc
src/Init/Data/List/Nat/InsertIdx.lean
@@ -120,6 +120,9 @@ theorem eraseIdx_insertIdx_self {i : Nat} {l : List α} (a : α) : (l.insertIdx
120
rw [eraseIdx_eq_modifyTailIdx, insertIdx, modifyTailIdx_modifyTailIdx_self]
121
exact modifyTailIdx_id _ _
122
123
+@[deprecated eraseIdx_insertIdx_self (since := "2025-06-18")]
124
+abbrev eraseIdx_insertIdx := @eraseIdx_insertIdx_self
125
+
126
@[simp]
127
theorem insertIdx_length_self {l : List α} {x : α} : l.insertIdx l.length x = l ++ [x] := by
128
induction l with
0 commit comments