The double spending thing is not new to me, I have a certain idea but one thing I read has made me think and look for information about it:
Is there anyone who has ever lost Bitcoins to a double spend attack after 1 confirmation? Personally, I have never come across such a case.
With this thread I would like to raise doubts as well as expose what I think I understand because explaining also helps to learn.
The first type of double spending I believe has little to do with what the quote raises, as it does not involve any miners. It is simply someone who sends a transaction with RBF enabled as payment for a product or service but receives such product or service before the transaction is confirmed and what they do is send that amount of Bitcoin to another address with a higher fee.
Now let's move on to the hypothetical double spending that already involves some miner, in my opinion. I have searched a bit to see if there have been any cases of double spending after a confirmation and I haven't found anything either.
I don't quite understand how this could happen. In theory a miner should somehow mine an invalid block in which there would be a transaction or transactions that we could not consider valid as such?
It is clear to me that as more blocks are mined and in turn the previous blocks are reconfirmed, the probability of invalidation of the previous blocks increases, up to 6 confirmations, which are considered safe, leaving only the hypothetical case of the 51% attack as a threat, quite unlikely with Bitcoin.
Can you help me understand what a double spend transaction that has already been confirmed once would look like?