The proof uses the definition of exactness and the First Isomorphism Theorem. From exactness at Z, im(i)=ker(p). From exactness at Y (due to Y→0), im(p)=Y. Applying the First Isomorphism Theorem to p:Z→Y gives Z/ker(p)≃im(p). Substituting the exactness relations yields Z/im(i)≃Y, which is coker(i)≃Y by definition.
Conditions
XiZpY→0 is an exact sequence of R-modules.
R is a commutative ring.
Reasoning, step by step
Start with the exact sequence XiZpY→0.
Use exactness at Z to establish im(i)=ker(p).
Use exactness at Y (from Y→0) to establish im(p)=Y.
Apply the First Isomorphism Theorem to the map p:Z→Y, yielding Z/ker(p)≃im(p).
Substitute im(p)=Y into the isomorphism to get Z/ker(p)≃Y.
Substitute ker(p)=im(i) into the denominator to get Z/im(i)≃Y.
Recognize Z/im(i) as coker(i) by definition.
Conclude coker(i)≃Y.
The video explicitly walks through these substitution steps on the whiteboard.
Example
The video states: 'The board successively writes imi=kerp, X/keri≃imi, Z/kerp≃imp, imp=Y, and Z/imi≃Y. ... Finally, replace kerp by imi using the earlier exactness relation imi=kerp. The quotient becomes Z/imi≃Y. By the definition written at the start, Z/imi is exactly coker(i), so the desired conclusion coker(i)≃Y follows.'
Common misconceptions
Forgetting to use the exactness at Y to conclude im(p)=Y.
Confusing the First Isomorphism Theorem with the definition of cokernel.
Assuming the proof requires the map i to be injective (which is not given in this part of the lemma).