Skip to content

Bug in equivalence_decomposition ? #109

@swewers

Description

@swewers
sage: R.<x> = QQ[]
sage: v_7 = QQ.valuation(7)
sage: v0 = GaussValuation(R, v_7)
sage: v1 = v0.augmentation(x, 3/2)
sage: v2 = v1.augmentation(x^2-686, 7/2)
sage: f = x^4 - 8001504*x^2 - 592815428352
sage: v2.equivalence_decomposition(f)

leads to an assertion error:

AssertionError                            Traceback (most recent call last)
ivalence_decomposition(self, f, assume_not_equivalence_unit, coefficients, valuations, compute_unit, degree_
bound)
   1328
   1329         if compute_unit:
-> 1330             assert self.is_equivalent(ret.prod(), f) # this might fail because of leading zeros in i
nexact rings
   1331             assert self.is_equivalence_unit(ret.unit())
   1332
AssertionError:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions