#9053: Sage's new generic HNF doesn't quite work right wrt the free modules code
-------------------------------+--------------------------------------------
Reporter: was | Owner: jason, was
Type: defect | Status: positive_review
Priority: major | Milestone: sage-4.7
Component: linear algebra | Keywords:
Author: Moritz Minzlaff | Upstream: N/A
Reviewer: Keshav Kini | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Old description:
> The last output below should obviously be True, but it is False.
>
> {{{
> sage: R.<x> = GF(7)[]
> sage: A = R^3
> sage: L = A.span([x*A.0 + (x^3 + 1)*A.1, x*A.2]); L
> Free module of degree 3 and rank 2 over Univariate Polynomial Ring in x
> over Finite Field of size 7
> Echelon basis matrix:
> [ x x^3 + 1 0]
> [ 0 0 x]
> sage: M = A.span([x*L.0]); M
> Free module of degree 3 and rank 1 over Univariate Polynomial Ring in x
> over Finite Field of size 7
> Echelon basis matrix:
> [ x^2 x^4 + x 0]
> sage: M.0 in L
> False
> }}}
New description:
The last output below should obviously be True, but it is False.
{{{
sage: R.<x> = GF(7)[]
sage: A = R^3
sage: L = A.span([x*A.0 + (x^3 + 1)*A.1, x*A.2]); L
Free module of degree 3 and rank 2 over Univariate Polynomial Ring in x
over Finite Field of size 7
Echelon basis matrix:
[ x x^3 + 1 0]
[ 0 0 x]
sage: M = A.span([x*L.0]); M
Free module of degree 3 and rank 1 over Univariate Polynomial Ring in x
over Finite Field of size 7
Echelon basis matrix:
[ x^2 x^4 + x 0]
sage: M.0 in L
False
}}}
Apply trac_9053_fixes_pivots.v2.patch
--
Comment(by kini):
(for patchbot...)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9053#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.