Physics-informed online intelligent discharge state identification for high-energy electrical discharge milling: Theory and methods