α : Type u_1
β : Type ?u.48141
l✝ l₁ l₂ l₃ : List α
a b : α
m n : ℕ
l : List α
⊢ map reverse (reverse (map reverse (inits (reverse l)))) = reverse (inits (reverse l))
α : Type u_1
β : Type ?u.48141
l✝ l₁ l₂ l₃ : List α
a b : α
m n : ℕ
l : List α
⊢ map reverse (tails l) = reverse (inits (reverse l))
rw [tails_eq_inits l]
no goals
α : Type u_1
β : Type ?u.48141
l✝ l₁ l₂ l₃ : List α
a b : α
m n : ℕ
l : List α
⊢ map reverse (reverse (map reverse (inits (reverse l)))) = reverse (inits (reverse l))
simp [reverse_involutive.comp_self, reverse_map]