Machine-checked formalization for the ILC project