From 8943fce98349b24c6abc6a82380da26052ec8db3 Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Mon, 18 Nov 2024 15:03:54 +0000 Subject: [PATCH] Update Lemmas.lean --- src/Init/Data/List/Lemmas.lean | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Init/Data/List/Lemmas.lean b/src/Init/Data/List/Lemmas.lean index 2c117ad79fba..8c5776da71ff 100644 --- a/src/Init/Data/List/Lemmas.lean +++ b/src/Init/Data/List/Lemmas.lean @@ -2395,7 +2395,7 @@ theorem forall_mem_replicate {p : α → Prop} {a : α} {n} : @[simp] theorem getElem_replicate (a : α) {n : Nat} {m} (h : m < (replicate n a).length) : (replicate n a)[m] = a := - eq_of_mem_replicate (get_mem _ _ _) + eq_of_mem_replicate (getElem_mem _) @[deprecated getElem_replicate (since := "2024-06-12")] theorem get_replicate (a : α) {n : Nat} (m : Fin _) : (replicate n a).get m = a := by