Decomposing abelian varieties into simple factors: algorithms and applications | Synapse