Skip to content

Conversation

tscrim
Copy link
Collaborator

@tscrim tscrim commented Sep 1, 2023

We provide an implementation of two classes of representations of Lie algebras: the trivial representation and those defined by explicitly giving the matrices.

📝 Checklist

  • The title is concise, informative, and self-explanatory.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation accordingly.

⌛ Dependencies

@tscrim tscrim requested a review from fchapoton September 1, 2023 05:39
@tscrim
Copy link
Collaborator Author

tscrim commented Sep 1, 2023

@adityadwarkesh This will be used for the Chevalley-Eilenberg complex in#36049.

@fchapoton
Copy link
Contributor

incomplete sentence:

Return whether self is a left or right.

@tscrim
Copy link
Collaborator Author

tscrim commented Sep 5, 2023

incomplete sentence:

Return whether self is a left or right.

Good catch; fixed. I made a few other small tweaks too to make the doc reflect the behavior.

@tscrim tscrim force-pushed the lie_algebras/basic_reprs branch from b1213e5 to 7063baf Compare November 23, 2023 07:58
@fchapoton
Copy link
Contributor

some raise statements needs corresponding doctests, as asked by CodeCoverage

@tscrim
Copy link
Collaborator Author

tscrim commented Nov 27, 2023

I added the tests. Although I realized I could easily extend this code to work for finite dimensional representations of any Lie algebra (not just finite dimensional with a basis).

@fchapoton
Copy link
Contributor

it seems that codecov still complains somehow about lines 236 and 238..

@tscrim
Copy link
Collaborator Author

tscrim commented Dec 20, 2023

Okay, added the more tests. Although I am still not 100% convinced all of these tests that the safety checkers are raising an error is useful as we are indirectly testing it by the code not falling into it and it is bad user input.

@fchapoton
Copy link
Contributor

ok, let's move this in

Copy link
Contributor

@fchapoton fchapoton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, good to go

@tscrim
Copy link
Collaborator Author

tscrim commented Dec 21, 2023

Thank you!

Copy link

Documentation preview for this PR (built with commit 2aea063; changes) is ready! 🎉

vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 22, 2023
sagemathgh-36169: Implementation of representations of Lie algebras
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->

We provide an implementation of two classes of representations of Lie
algebras: the trivial representation and those defined by explicitly
giving the matrices.

<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36169
Reported by: Travis Scrimshaw
Reviewer(s): Frédéric Chapoton, Travis Scrimshaw
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 23, 2023
sagemathgh-36169: Implementation of representations of Lie algebras
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->

We provide an implementation of two classes of representations of Lie
algebras: the trivial representation and those defined by explicitly
giving the matrices.

<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36169
Reported by: Travis Scrimshaw
Reviewer(s): Frédéric Chapoton, Travis Scrimshaw
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 24, 2023
sagemathgh-36169: Implementation of representations of Lie algebras
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->

We provide an implementation of two classes of representations of Lie
algebras: the trivial representation and those defined by explicitly
giving the matrices.

<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36169
Reported by: Travis Scrimshaw
Reviewer(s): Frédéric Chapoton, Travis Scrimshaw
@vbraun vbraun merged commit ae9be4f into sagemath:develop Dec 26, 2023
@tscrim tscrim deleted the lie_algebras/basic_reprs branch December 28, 2023 05:12
vbraun pushed a commit to vbraun/sage that referenced this pull request Feb 7, 2024
sagemathgh-36171: Implement Chevalley-Eilenberg complexes with module coefficients
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->

We implement the Chevalley-Eilenberg complex of a Lie algebra `L` with
coefficients in a general `L` representation.

<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

- sagemath#36169 uses the representations of Lie algebras

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36171
Reported by: Travis Scrimshaw
Reviewer(s): adityadwarkesh
vbraun pushed a commit to vbraun/sage that referenced this pull request Feb 11, 2024
sagemathgh-36171: Implement Chevalley-Eilenberg complexes with module coefficients
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->

We implement the Chevalley-Eilenberg complex of a Lie algebra `L` with
coefficients in a general `L` representation.

<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

- sagemath#36169 uses the representations of Lie algebras

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36171
Reported by: Travis Scrimshaw
Reviewer(s): adityadwarkesh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants