Theorem: homology'.hom_to_ext
File: Mathlib/CategoryTheory/Abelian/Homology.lean

tactic: dsimp [ι] at h
state_before: A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h : a ≫ ι f g w = b ≫ ι f g w
⊢ a = b
state_after: A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
⊢ a = b

tactic: apply_fun fun e => e ≫ (homology'IsoKernelDesc f g w).hom
state_before: A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
⊢ a = b
state_after: A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
⊢ (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) a = (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) b

case inj
A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
⊢ Function.Injective fun e => e ≫ (homology'IsoKernelDesc f g w).hom

tactic: swap
state_before: A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
⊢ (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) a = (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) b

case inj
A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
⊢ Function.Injective fun e => e ≫ (homology'IsoKernelDesc f g w).hom
state_after: case inj
A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
⊢ Function.Injective fun e => e ≫ (homology'IsoKernelDesc f g w).hom

A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
⊢ (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) a = (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) b

tactic: simp only [← Category.assoc] at h
state_before: A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
⊢ (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) a = (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) b
state_after: A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  (a ≫ (homology'IsoKernelDesc f g w).hom) ≫ kernel.ι (cokernel.desc f g w) =
    (b ≫ (homology'IsoKernelDesc f g w).hom) ≫ kernel.ι (cokernel.desc f g w)
⊢ (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) a = (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) b

tactic: exact equalizer.hom_ext h
state_before: A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  (a ≫ (homology'IsoKernelDesc f g w).hom) ≫ kernel.ι (cokernel.desc f g w) =
    (b ≫ (homology'IsoKernelDesc f g w).hom) ≫ kernel.ι (cokernel.desc f g w)
⊢ (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) a = (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) b
state_after: no goals

tactic: intro i j hh
state_before: case inj
A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
⊢ Function.Injective fun e => e ≫ (homology'IsoKernelDesc f g w).hom
state_after: case inj
A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
i j : W ⟶ homology' f g w
hh : (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) i = (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) j
⊢ i = j

tactic: apply_fun fun e => e ≫ (homology'IsoKernelDesc f g w).inv at hh
state_before: case inj
A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
i j : W ⟶ homology' f g w
hh : (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) i = (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) j
⊢ i = j
state_after: case inj
A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
i j : W ⟶ homology' f g w
hh :
  (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) i ≫ (homology'IsoKernelDesc f g w).inv =
    (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) j ≫ (homology'IsoKernelDesc f g w).inv
⊢ i = j

tactic: simpa using hh
state_before: case inj
A : Type u
inst✝¹ : Category.{v, u} A
inst✝ : Abelian A
X Y Z : A
f : X ⟶ Y
g : Y ⟶ Z
w : f ≫ g = 0
W : A
a b : W ⟶ homology' f g w
h :
  a ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w) =
    b ≫ (homology'IsoKernelDesc f g w).hom ≫ kernel.ι (cokernel.desc f g w)
i j : W ⟶ homology' f g w
hh :
  (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) i ≫ (homology'IsoKernelDesc f g w).inv =
    (fun e => e ≫ (homology'IsoKernelDesc f g w).hom) j ≫ (homology'IsoKernelDesc f g w).inv
⊢ i = j
state_after: no goals