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