Skip to content

Improve Euler characteristic implementation for moment-angle complexes #36217

@OP5642

Description

@OP5642

Problem Description

The current implementation of the Euler characteristic just computes it as an alternating sum of Betti numbers (which is the most natural way to compute it), but this is possibly easier to do for moment-angle complexes.

Proposed Solution

We can see from the Corollary 4.6.3 in the book given below that the Euler characteristic of a moment-angle complex is 0, if the associated simplicial complex is not a simplex. This means that we can avoid using the Betti numbers (and consequently the homology() method), and just simply check whether the associated simplicial complex is a simplex (in the negative case, the Euler characteristic is 1, which is not hard to see).

Alternatives Considered

This method is not inefficient as it is, and perhaps the better approach is to leave it as is, because that's the way it is defined mathematically. But, the proposed approach allows us to compute it very efficiently, even for large simplicial complexes associated with the moment-angle complex.

Additional Information

The Corollary mentioned above can be found in this book.
This issue is regarding the PR #35875, and, consequently, is a part of #35640 (GSoC2023).

Is there an existing issue for this?

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions