Checking the identity is simple arithmetic. What's not so simple is discovering it. Surprisingly, this is very easy using formal power series. For $\rm\ a = A':=A^{-1},\,\ b = B',\ $ your identity is
$\rm(1)\quad\ \ a'-b'\ \ \, =\, \ \ a + a(b-a)'a,\ $ so right-multiplying by $\rm\ a'\ $ yields
$\rm(2)\quad{(a'-b')'a'} = 1 + a\color{#90f}{(b-a)'}.\ $ Moving terms in and out of the inverses yields
$\begin{align}\rm(3)\quad (a'-b')'a'&\rm = (a(a'-b'))'\, =\, (1-ab')'\\[.2em]
\rm\, \color{#90f}{(b-a)'} &\rm = (b(1-b'a))' = \color{#90f}{(1-b'a)'b'} \end{align}\,\ $ so the above becomes
$\rm(4)\quad (1-ab')' = 1+ a\color{#90f}{(1-b'a)b'}\ $ with proof below, via geometric formal power series
$\begin{align}\rm \rm(5)\quad\! (1-ab')' &\rm= (1-ab')^{-1}\\
&=\ \:\!\rm 1+ \color{#c00}a\color{#0a0}{b'}\! + \color{#c00}a{b'a}\color{#0a0}{b'}\! +\! \color{#c00}a{b'ab'a}\color{#0a0}{b'} +\,\cdots\\
&=\ \:\!\rm 1+ \color{#c00}a (1\, +\, \color{c00}{b'a}\ \ +\ \ \color{0a0}{b'ab'a} +\,\cdots)\color{#0a0}{b'}\\
&=\ \:\!\rm 1+ \color{#c00}a (1\,-\,b'a)'\color{#0a0}{b'}\quad {\bf\small QED}\end{align}$
One can check that this formula works, i.e. if $\rm\:(1-b'a)'$ exists then $\rm\:(1-ab')'\:$ exists and has the above value. But the "proof" is far from rigorous. As Halmos wrote in [1]
Why does it all this work? What goes on here? Why does it seem that the formula for the sum of an infinite geometric series is true even for an abstract ring in which convergence is meaningless? What general truth does the formula embody? I don't know the answer, but I note that the formula is applicable in other situations where it ought not to be, and I wonder whether it deserves to be called one of the (computational) elements of mathematics.
It turns out that there is a way to explain why this works. Due to work by Schutzenberger, Krob and others, one can show that the rational identites that hold true in a ring are all trivial, in the sense that they are consequence of the formula for a geometric power series. For references see the comments to this MO question.
[1] Halmos, P.R. $ $ Does mathematics have elements?
Math. Intelligencer 3 (1980/81), no. 4, 147-153