Skip to content

Commit b29cf96

Browse files
keeganperry7awalterschulze
authored andcommitted
Simplify proof
1 parent a426303 commit b29cf96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Katydid/Std/Lists.lean

+2-2
Original file line numberDiff line numberDiff line change
@@ -821,9 +821,9 @@ theorem list_drop_app (n: Nat) (xs ys: List α):
821821
| cons x xs ih =>
822822
cases n with
823823
| zero => simp
824-
| succ n =>
824+
| succ n =>
825825
simp
826-
rw [ih]
826+
exact ih n
827827

828828
theorem list_take_length_prefix_is_prefix (xs ys: List α):
829829
take (length xs) (xs ++ ys) = xs := by

0 commit comments

Comments
 (0)