Opened 12 years ago

Closed 11 years ago

## #10961 closed enhancement (fixed)

# Add Lie bracket operation in Rings()

Reported by: | Nicolas M. Thiéry | Owned by: | Alex Ghitza |
---|---|---|---|

Priority: | major | Milestone: | sage-4.7.1 |

Component: | algebra | Keywords: | |

Cc: | Merged in: | sage-4.7.1.alpha0 | |

Authors: | Nicolas M. Thiéry | Reviewers: | Anne Schilling |

Report Upstream: | N/A | Work issues: | |

Branch: | Commit: | ||

Dependencies: | Stopgaps: |

### Description (last modified by )

From the documentation:

sage: F = AlgebrasWithBasis(QQ).example(); F An example of an algebra with basis: the free algebra on the generators ('a', 'b', 'c') over Rational Field sage: a,b,c = F.algebra_generators() sage: F.bracket(a,b) B[word: ab] - B[word: ba]

Apply trac_10961-lie_bracket_in_rings-nt.patch

### Attachments (2)

### Change History (10)

### comment:1 follow-up: 2 Changed 12 years ago by

Reviewers: | → Anne Schilling |
---|---|

Status: | new → needs_work |

### comment:2 Changed 12 years ago by

Status: | needs_work → needs_review |
---|---|

Summary: | Add Lie bracket operation in Rings → Add Lie bracket operation in Rings() |

Replying to aschilling:

The patch implements the Lie bracket and it would be good to merge it into sage soon. However, the tests in /categories/rings.py line 70 do not pass due to the misprint {{

sage: a,b,c = FF.algebra_generators()

}} should be {{

sage: a,b,c = F.algebra_generators()

}}

Shoot; I had noticed this, and got distracted. Thanks for the reminder! Fixed!

### comment:3 Changed 12 years ago by

Description: | modified (diff) |
---|

### comment:6 Changed 12 years ago by

Description: | modified (diff) |
---|

### comment:7 Changed 11 years ago by

Milestone: | sage-4.7 → sage-4.7.1 |
---|

### comment:8 Changed 11 years ago by

Merged in: | → sage-4.7.1.alpha0 |
---|---|

Resolution: | → fixed |

Status: | positive_review → closed |

**Note:**See TracTickets for help on using tickets.

The patch implements the Lie bracket and it would be good to merge it into sage soon. However, the tests in /categories/rings.py line 70 do not pass due to the misprint {{

}} should be {{

}}