# Small detail about the super diode circuit that bugs me

I was going over the super diode circuit and I was trying to solve it for a particular case as shown simulate this circuit – Schematic created using CircuitLab

I understand that we must assume initially assume that the op amp is closed loop gain, because of the diodes. V1=0, so there is a current coming from the voltage source. I know that all the current is going through the D2 diode, because if it went through the R1 resistor to Vo, the D1 diode would be in reverse bias and wouldn't allow any current to Va which would contradict our initial assumption that the op amp is in a closed loop.

My question is where does the current go?there is 1mA current going through D2.Since we now know that D1 is off, and there is no ground, my only other guess is to the output terminal. It might seem like a dumb question that I should already know how to answer, but from how I understood it up until now, since no current goes through the input terminal, it has to go through the loop, but now that I think about it, it doesn't really make sense because the op amp is the one that is supposed to produce the current in the first place, isn't it?

An op amp can source or sink current (it can go in or come out).

A good op amp is supposed to have high differential gain (it is supposed to amplify the difference in voltage between the two input terminals).