Proof (Lefschetz number on chains)

Recall from linear algebra that if a linear endomorphism $f: V\to V$ preserves a subspace $W$ of $V$, then $f$ induces linear maps $W\to W$ and $V/W\to V/W$, and by expressing in basis, we see $\tr(V\to V) = \tr(W \to W) + \tr(V/W\to V/W)$.

Now note $$ \begin{align*} H_n(K; \Q) ={}& Z_n(K; \Q)/B_n(K; \Q), \\ B_n(K; \Q) \stackrel{d_{n+1}}\isom{}& C_{n+1}(K; \Q) / Z_{n+1}(K; \Q). \end{align*} $$ Write $f_n^C := f_n$, $f_n^Z$, $f_n^B$, $f_n^H$ be the maps induced by $f_\bullet$ on chains, cycles, boundaries and homologies respectively. Then $$ \begin{align*} L(f) ={}& \sum_{n\geq 0} (-1)^n \tr f_n^H \\ ={}& \sum_{n\geq 0} (-1)^n (\tr f_n^Z - \tr f_n^B) \\ ={}& \sum_{n\geq 0} (-1)^n (\tr f_{n}^C - \tr f_{n-1}^B - \tr f_n^B) \\ ={}& \sum_{n\geq 0} (-1)^n \tr f_n^C. \end{align*} $$