Additivity of a truncated Euler characteristic
Let $F$ be a field and $$0\longrightarrow A^\bullet\xrightarrow{f}B^\bullet\xrightarrow{g}C^\bullet\longrightarrow0$$ a degreewise short exact sequence of cochain complexes of $F$-vector spaces in nonnegative degrees. Assume every cohomology space of each complex is finite-dimensional. If $N\ge0$ and $H^{N+1}(A^\bullet)=0$, then $$\sum_{n=0}^{N}(-1)^n\dim_FH^n(B^\bullet)=\sum_{n=0}^{N}(-1)^n\dim_FH^n(A^\bullet)+\sum_{n=0}^{N}(-1)^n\dim_FH^n(C^\bullet).$$
Each complex may be given as subspaces of ambient vector spaces, with differentials preserving those subspaces and squaring to zero there. Exactness and the cochain-map identities are imposed on the subspaces.