Polynomials over the padics only implement an incorrect (x)gcd, see #13439. The attached patch provides a correct implementation for polynomials over fixed modulus rings.
Depends on #13629
Depends on #13442
Depends on #13539
Depends on #13626
Depends on #13627
Component: padics
Keywords: days71, sd87
Author: Julian Rueth
Branch/Commit: u/saraedum/ticket/13630 @ 183f87d
Reviewer: Aly Deines
Issue created by migration from https://trac.sagemath.org/ticket/13630