Skip to content

Commit

Permalink
fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
quangvdao committed Dec 3, 2024
1 parent 84b4d68 commit 5339692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Batteries/Data/Fin/Fold.lean
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ theorem dfoldrM_loop [Monad m] [LawfulMonad m] {n : Nat} {α : Fin (n+2) → Typ
| zero =>
rw [dfoldrM_loop_zero, dfoldrM_loop_succ, pure_bind]
conv => rhs; rw [←bind_pure (f 0 x)]
congr; funext; exact dfoldrM_loop_zero ..
congr
| succ i ih =>
rw [dfoldrM_loop_succ _ h, dfoldrM_loop_succ _ (Nat.succ_lt_succ_iff.mp h), bind_assoc]
congr; funext; exact ih ..
Expand Down

0 comments on commit 5339692

Please sign in to comment.