Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of Kähler algebras as a category #39168

Merged
merged 46 commits into from
Jan 18, 2025

Conversation

25shriya
Copy link
Contributor

@25shriya 25shriya commented Dec 19, 2024

This PR adds Kähler algebras as a category KahlerAlgebras as defined in Theorem 2.28 of this paper. It changes the category of Chow rings to KahlerAlgebras() & CommutativeRings().Quotients(). A method, lefschetz_element() is also implemented for Chow rings which returns a Lefschetz element as provided in Corollary 2.30 of the paper above, which is used for the Hodge-Riemann relations computation.

@tscrim

📝 Checklist

  • The title is concise and informative.
  • 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 and checked the documentation preview.

⌛ Dependencies

Copy link

github-actions bot commented Dec 19, 2024

Documentation preview for this PR (built with commit 78dfd70; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

src/sage/categories/kahler_algebras.py Show resolved Hide resolved
src/sage/categories/kahler_algebras.py Outdated Show resolved Hide resolved
src/sage/categories/kahler_algebras.py Outdated Show resolved Hide resolved
src/sage/categories/kahler_algebras.py Outdated Show resolved Hide resolved
src/sage/categories/kahler_algebras.py Outdated Show resolved Hide resolved
src/sage/matroids/chow_ring.py Outdated Show resolved Hide resolved
src/sage/matroids/chow_ring.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

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

LGTM.

@tscrim
Copy link
Collaborator

tscrim commented Jan 9, 2025

Once the bot comes back green, you can set a positive review.

@tscrim
Copy link
Collaborator

tscrim commented Jan 9, 2025

One new (annoying) thing I think needs to be done is adding new files to the meson.build list file in the categories folder. Some modularity or porting thing that we have to explicitly maintain with extra work for something like this. I don't really understand it, but I think we now have to do it. :/

@tscrim
Copy link
Collaborator

tscrim commented Jan 12, 2025

Thank you. Looks good now.

@25shriya
Copy link
Contributor Author

Why is sage_categories-check still failing?

@tscrim
Copy link
Collaborator

tscrim commented Jan 12, 2025

I've seen it failing on many PRs. It contains no information about what is going on, nor can I find any info about it. Thus I completely ignore it.

vbraun pushed a commit to vbraun/sage that referenced this pull request Jan 12, 2025
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

This PR adds Kähler algebras as a category `KahlerAlgebras` as defined
in Theorem 2.28 of [this paper](https://arxiv.org/abs/2309.14312). It
changes the category of Chow rings to `KahlerAlgebras() &
CommutativeRings().Quotients()`. A method, `lefschetz_element()` is also
implemented for Chow rings which returns a Lefschetz element as provided
in Corollary 2.30 of the paper above, which is used for the Hodge-
Riemann relations computation.

@tscrim

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [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 and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#39168
Reported by: 25shriya
Reviewer(s): 25shriya, Travis Scrimshaw
vbraun pushed a commit to vbraun/sage that referenced this pull request Jan 16, 2025
    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

This PR adds Kähler algebras as a category `KahlerAlgebras` as defined
in Theorem 2.28 of [this paper](https://arxiv.org/abs/2309.14312). It
changes the category of Chow rings to `KahlerAlgebras() &
CommutativeRings().Quotients()`. A method, `lefschetz_element()` is also
implemented for Chow rings which returns a Lefschetz element as provided
in Corollary 2.30 of the paper above, which is used for the Hodge-
Riemann relations computation.

@tscrim

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [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 and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#39168
Reported by: 25shriya
Reviewer(s): 25shriya, Travis Scrimshaw
@vbraun vbraun merged commit 07455c0 into sagemath:develop Jan 18, 2025
20 of 22 checks passed
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.

3 participants