Formalizing Factorization on Euclidean Domains and Abstract Euclidean Algorithms | Synapse