Theorem: CategoryTheory.List.joinF.unitorRight_lax_oplax (Moncalc/CategoryTheory/List/Monad.lean)

State before:
α : Type u
inst✝ : Category α
as : List α
⊢ joinF.unitorRightLax as ≫ joinF.unitorRightOplax as = 𝟙 as
Tactic:
induction as
State after:
case nil
α : Type u
inst✝ : Category α
⊢ joinF.unitorRightLax [] ≫ joinF.unitorRightOplax [] = 𝟙 []

case cons
α : Type u
inst✝ : Category α
head✝ : α
tail✝ : List α
tail_ih✝ : joinF.unitorRightLax tail✝ ≫ joinF.unitorRightOplax tail✝ = 𝟙 tail✝
⊢ joinF.unitorRightLax (head✝ :: tail✝) ≫ joinF.unitorRightOplax (head✝ :: tail✝) = 𝟙 (head✝ :: tail✝)

State before:
α : Type u
inst✝ : Category α
⊢ joinF.unitorRightLax [] ≫ joinF.unitorRightOplax [] = 𝟙 []
Tactic:
case nil => rfl
State after:
no goals

State before:
α : Type u
inst✝ : Category α
a : α
as : List α
h_ind : joinF.unitorRightLax as ≫ joinF.unitorRightOplax as = 𝟙 as
⊢ joinF.unitorRightLax (a :: as) ≫ joinF.unitorRightOplax (a :: as) = 𝟙 (a :: as)
Tactic:
case cons a as h_ind =>
  dsimp [joinF.unitorRightLax, joinF.unitorRightOplax]
  rw [Category.id_comp, h_ind]
State after:
no goals

State before:
α : Type u
inst✝ : Category α
⊢ joinF.unitorRightLax [] ≫ joinF.unitorRightOplax [] = 𝟙 []
Tactic:
rfl
State after:
no goals

State before:
α : Type u
inst✝ : Category α
a : α
as : List α
h_ind : joinF.unitorRightLax as ≫ joinF.unitorRightOplax as = 𝟙 as
⊢ joinF.unitorRightLax (a :: as) ≫ joinF.unitorRightOplax (a :: as) = 𝟙 (a :: as)
Tactic:
dsimp [joinF.unitorRightLax, joinF.unitorRightOplax]
State after:
α : Type u
inst✝ : Category α
a : α
as : List α
h_ind : joinF.unitorRightLax as ≫ joinF.unitorRightOplax as = 𝟙 as
⊢ DVect2.cons (𝟙 a ≫ 𝟙 a) (joinF.unitorRightLax as ≫ joinF.unitorRightOplax as) = DVect2.cons (𝟙 a) (𝟙 as)

State before:
α : Type u
inst✝ : Category α
a : α
as : List α
h_ind : joinF.unitorRightLax as ≫ joinF.unitorRightOplax as = 𝟙 as
⊢ DVect2.cons (𝟙 a ≫ 𝟙 a) (joinF.unitorRightLax as ≫ joinF.unitorRightOplax as) = DVect2.cons (𝟙 a) (𝟙 as)
Tactic:
rw [Category.id_comp, h_ind]
State after:
no goals