#19473: FiniteDimensionalAlgebra.is_unitary is not sufficient
-------------------------+-------------------------------------------------
   Reporter:  darij      |            Owner:
       Type:  defect     |           Status:  new
   Priority:  major      |        Milestone:  sage-6.10
  Component:  algebra    |         Keywords:  finite-dimensional algebra,
  Merged in:             |  linear algebra
  Reviewers:             |          Authors:
Work issues:             |  Report Upstream:  N/A
     Commit:             |           Branch:
   Stopgaps:             |     Dependencies:
-------------------------+-------------------------------------------------
 Here is the semigroup algebra (over `QQ`) of the semigroup with two
 elements whose product is given by `x*y == y`:

 {{{
 sage: A = FiniteDimensionalAlgebra(QQ, [Matrix([[1,0],[1,0]]),
 Matrix([[0,1],[0,1]])])
 sage: for x in A.basis():
     for y in A.basis():
         print x*y == y
 ....:
 True
 True
 True
 True
 }}}

 Sage claims that it is unitary:
 {{{
 sage: A.is_unitary()
 True
 }}}
 based on the following wrong concept:
 {{{
         .. NOTE::

             If a finite-dimensional algebra over a field admits a left
 identity,
             then this is the unique left identity, and it is also a
             right identity.
 }}}

 On a slightly related note, the `table` method on
 `FiniteDimensionalAlgebra` returns mutable matrices, and mutating them
 corrupts the algebra.

--
Ticket URL: <http://trac.sagemath.org/ticket/19473>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to