I've often thought we could have had integrated circuits shortly after the invention of photography. 150 years earlier! It would make an interesting steampunk world with steam and hydraulics and CPUs.
Remember, 'integrated' meant initially just 'more than one component'. It would start with poster-sized wiring diagrams, switch elements, photosensitive spots etc. As it got smaller and more circuit elements were added the math may have progressed with it.
It's more than the math. It requires modern understanding of electromagnetism and material science accounting for semiconductors. From that things like practical electric motors/generators and plethora other technologies become essentially a corollary.
Well, integrated circuits started as just 'more than one component' on the same device. So a sensor and a switch perhaps. Or a resistor network. Etc. Start there and you rapidly improve (just like it happened later)