EUV tools work in part because their software works. ASML uses predictive maintenance algorithms to guess when components need to be replaced before they break, for example. It also uses software for a process called computational lithography to print patterns more exactly.