(A, B)
return all(a <= b for a, b in zip(A, B))
Does there exist a monomial X such that XA == B?

    >>> from sympy.polys.monomials import monomial_divides
    >>> monomial_divides((1, 2), (3, 4))
    True
    >>> monomial_divides((1, 2), (0, 2))
    False
Does there exist a monomial X such that XA == B?
Does there exist a monomial X such that XA == B?
def monomial_divides(A, B):
    """
    Does there exist a monomial X such that XA == B?

    >>> from sympy.polys.monomials import monomial_divides
    >>> monomial_divides((1, 2), (3, 4))
    True
    >>> monomial_divides((1, 2), (0, 2))
    False
    """
    return all(a <= b for a, b in zip(A, B))
def monomial_divides ( A , B ) : return all ( a <= b for a , b in zip ( A , B ) )