Suppose $A$ does not imply $B$ and that $B$ implies $C.$ Does it follow that $A$ does not imply $C$? I think this is false.
The argument $$\Big(\lnot (A\to B)\land(B\to C)\Big)\to\lnot(A\to C)\tag1$$ is not valid, because, as explained by Dan, it is a logical contingency, because its truth value varies according to what $A,B$ and $C$ stand for.
I was doing an Analysis exercise:
$$\text{If a function is differentiable then it is not necessarily continuously differentiable.} \\\text{If a function is continuously differentiable then it is continuous.}$$
Putting them together:
$$\text{If a function is differentiable then it is not necessarily continuous.}$$
However, sentence $(1)$ does not actually capture your Analysis argument, which is
$$\Big(\lnot\forall f\: \big(D(f)\to CD(f)\big)\land\forall f\:\big(CD(f)\to C(f)\big)\Big)\to\lnot\forall f\: \big(D(f)\to C(f)\big)$$ instead, which is logically equivalent to $$\color{red}{∀f\,∃g\,∃h\,}\bigg(\Big(¬\big(D(\color\red f)→P(\color\red f)\big)∧\big(P(\color\red g)→C(\color\red g)\big)\Big)→¬\big(D(\color\red h)→C(\color\red h)\big)\bigg);$$ this argument is satisfiable but again invalid.