Cases where scientific knowledge was in fact lost and then rediscovered provide especially strong evidence about the discovery counterfactauls, e.g. Hero's eolipile and al-Kindi's development of relative frequency analysis for decoding messages. Probably we underestimate how common such cases are, because the knowledge of the lost discovery is itself lost — e.g. we might easily have simply not rediscovered the Antikythera mechanism.
Hero's eolipile was an invention that had no practical use. The stream engine that did have practical use relied on high quality brass that wasn't available at Hero's time and only available in the late 1600s.
Darwinian natural selection is sometimes pointed to as a late development, given that it could have been inferred by anyone who understood that certain traits are heritable. However, the fact that two people figured it out more or less independently at approximately the same time makes me think that it came at about the right time.
General relativity is an obvious candidate. While special relativity was hanging in the air, and so was quantum mechanics, there was no urgency to improve on the Newtonian gravity at the time. There were a few small discrepancies, like the perihelion of Mercury, but not until the discovery of expanding universe a decade later it was obvious that a new theory was needed.
Actually, general relativity seems to have been discovered by Hilbert at almost exactly the same time that Einstein did.
https://en.wikipedia.org/wiki/Relativity_priority_dispute#General_relativity_2
Possibly Antonie van Leeuwenhoek's study of microorganisms; he made microscopes that were much better than anyone else's at the time, and he kept his methods secret and they weren't properly reverse engineered until the 1950s. (Conventional lens making techniques did catch up, and people like Robert Hooke had been investigating biology on micro scales, but he was probably a generation or so ahead of everyone else.)
Scientific progress is not at all continuous and not systematically forward. There have been many periods of scientific regress. The most famous is the Dark Ages between Antiquity and Modernity, hence Luke's example of Hero.
But regress is all over the place, even in well-known examples of progress, like the Italian Renaissance. People often say that Renaissance art began with Giotto or maybe even so specifically with his invention of perspective. But, actually, most accounts of Renaissance art skip ahead a century from Giotto's death in 1337. In particular, perspective regressed and was reinvented in 1413 by Brunelleschi. And this wasn't even an independent discovery: Brunelleschi could see Giotto's work and knew that better was possible. *
Going back to Hero, "ancient Greece" is a bad category. Hero isn't the pinnacle of ancient Greek science, but a figure of a Roman era of rebirth after a dark age 150 BC – 50 AD during which we know the names of no scientists. In fact, almost everything Hero writes about he attributes to Ctesibius (d. 222 BC). If he is truthful about his sources, then there was a either a 250 year pause in pneumatics or there was more progress that was lost in the interim. In general, a controversial question is whether the rebirth in Roman Alexandria reconstructed and surpassed Hellenistic Alexandria or whether it was only able to understand a few books.
* Lorenzetti (d. 1348) seems to have been pretty good at single buildings, but bad at putting them together. Compare the only city I can find by Giotto.
There are plenty of accidental discoveries that we might imagine happening much later - but I don't feel like this should be enough, because it's not that they were surprisingly early, they were just drawn out of a very broad probability distribution.
I'm more satisfied with disoveries that not only could have happened later, but happened when they did for sensible local reasons. Example: Onnes' discovery of superconductivity. Not just because superconductivity was discovered very rapidly (3 years) after the necessary liquefaction of helium, when it conceivably could have taken a lot longer to properly measure the resistance of mercury or lead at low temperatures. But because Onnes' lab in Leiden was the first place to ever make liquid helium to cool superconductors with, and it took 15 years for anyone else in the world (in this case, Toronto) to start liquefying helium!
In short, to my mind being ahead of your time is the opposite of multiple discovery - we push back the luck one step by asking not for a lucky break, but for a sensible and straightforward discovery that could only have happened in a very unusual place.
For clarification, when you say "ahead of its time" do you mean the biggest jump forward from what was known at that time, or the furthest behind when we expect to have benefited from it?
I ask because if you shift from theories and equations to things like inventions or processes, it is totally routine to encounter things that were actually invented 50-100 years ago but that never saw the light of day because the materials were impossibly expensive or the market wasn't around yet.
In assessing the question don't we also need to look at other, probably failed and perhaps even "quackish discoveries" to get much meaning from the identification? What I'm wondering about here is, are we fully identifying what was really a good scientific insight or merely the winner of a bunch if creative theories/ideas from the time?
I think it would also be interesting to consider cases where ideas were initially too at odds with the existing state of knowledge and largely ignored but later rediscovered and found to have been insights that did lead to advances in knowledge -- theoretical and applied.
That would be the companion volume to the one about "wrong theories and scientific facts we used to accept as true."
Anyone know of such a book?
Looking into the history of science, I've been struck by how continuous scientific progress seems. Although there are many examples of great intellectual breakthroughs, most of them build heavily on existing ideas which were floating around immediately beforehand - and quite a few were discovered independently at roughly the same time (see https://en.m.wikipedia.org/wiki/List_of_multiple_discoveries).
So the question is: which scientific advances were most ahead of their time, in the sense that if they hadn't been made by their particular discoverer, they wouldn't have been found for a long time afterwards? (Ideally taking into account the overall rate of scientific progress: speeding things up by a decade in the 20th century seems about as impressive a feat as speeding things up by half a century in ancient Greece).