I understand that the laws of physics (as we know them) cannot be violated, but what I would like to know is what I'm missing, because I know there is some explanation that I'm not accounting for.
Imagine we had a room temperature superconducting material (no energy needs to be expended in cooling it to the point of superconductivity). We could then create a lamp out of this material, which we could turn on once, and it would run indefinitely. We could then point this lamp at a solar panel, which would, in the long run, create much more energy than was used turning the lamp on. In fact, it seems it could create an unlimited amount of energy.
This (apparently) violates the laws of thermodynamics, but why is the logic wrong?