Hi,
What are the SymPy.jl analogues for as_dict and gens? See below for a minimal piece of code I would like to translate from SymPy to SymPy.jl. This is part of a larger project I am translating from Python to Julia which involves sum of squares of polynomials. Thanks in advance for any help!

The Poly class in SymPy is different than a symbolic expression, that happens to represent a polynomial. You’ll need the constructor. The typeof will be the same (Sym objects), but they aren’t identical.