Skip to main content
QUICK REVIEW

[Paper Review] CYTools: A Software Package for Analyzing Calabi-Yau Manifolds

Mehmet Demirtaş, Andres Rios‐Tascon|arXiv (Cornell University)|Nov 7, 2022
Algebraic Geometry and Number TheoryMathematics5 citations
TL;DR

CYTools is a high-performance Python software package designed to efficiently compute topological invariants of Calabi-Yau hypersurfaces in toric varieties, leveraging optimized algorithms for polytope triangulation and intersection theory. It enables rapid analysis of large reflexive polytopes from the Kreuzer-Skarke database, achieving sub-second performance even for the largest 4D polytopes, thus overcoming prior computational bottlenecks in F-theory and string compactification studies.

ABSTRACT

We provide a user's guide to version 1.0 of the software package CYTools, which we designed to compute the topological data of Calabi-Yau hypersurfaces in toric varieties. CYTools has strong capabilities in analyzing and triangulating polytopes, and can easily handle even the largest polytopes in the Kreuzer-Skarke list. We explain the main functions and the options that can be used to optimize them, including example computations that illustrate efficient handling of large numbers of polytopes. The software, installation instructions, and a Jupyter notebook tutorial can be found at https://cy.tools.

Motivation & Objective

  • To overcome computational bottlenecks in analyzing Calabi-Yau threefolds with high Hodge numbers, which are infeasible with general-purpose tools.
  • To provide a user-friendly, high-performance software stack for physicists and mathematicians to compute topological invariants of Calabi-Yau hypersurfaces in toric varieties.
  • To enable efficient computation of key invariants such as Hodge numbers, triple intersection numbers, Mori cone, and effective cone for large reflexive polytopes.
  • To offer a scalable, Docker-based installation and Jupyter notebook integration for both beginners and experts in algebraic geometry and string theory.
  • To support future research in F-theory compactifications and mirror symmetry by providing a reliable computational foundation.

Proposed method

  • The software uses a Python-based interface that wraps optimized C++ and external tools (e.g., PALP) for lattice point and face computation.
  • It implements custom algorithms for polytope triangulation, including efficient handling of 4D reflexive polytopes from the Kreuzer-Skarke list.
  • Core computations—such as Hodge number extraction, triple intersection numbers, and Mori cone generation—are accelerated using combinatorial optimization and data structure refinement.
  • The package exposes intuitive Python classes (e.g., `Polytope`, `Triangulation`) that encapsulate geometric and topological data with consistent conventions.
  • It supports batch processing of polytopes via the `fetch_polytopes` function, filtering by Hodge numbers, number of vertices, or lattice type.
  • All functionality is accessible via Jupyter notebooks, enabling interactive exploration and reproducible research.

Experimental results

Research questions

  • RQ1How can the computational complexity of analyzing Calabi-Yau threefolds with high Hodge numbers be reduced?
  • RQ2What algorithmic optimizations are required to handle the largest reflexive polytopes in the Kreuzer-Skarke list efficiently?
  • RQ3Can a unified, user-friendly software package be built to streamline the entire pipeline from polytope to Calabi-Yau manifold invariants?
  • RQ4How can performance be improved for key operations like lattice point enumeration and face computation in high-dimensional polytopes?
  • RQ5To what extent can CYTools enable scalable, reproducible studies of F-theory compactifications and mirror symmetry?

Key findings

  • CYTools achieves sub-second performance for all core computations on the largest 4D reflexive polytopes in the Kreuzer-Skarke list, even when Hodge numbers exceed 100.
  • The package reduces computation time for lattice point enumeration and face detection by orders of magnitude compared to prior open-source tools like PALP.
  • The `fetch_polytopes` function enables efficient filtering of polytopes by Hodge numbers, such as retrieving 100 polytopes with h^{1,1} = 27 in a single call.
  • Triangulation and intersection number computation are optimized to take only milliseconds per polytope, even for complex cases with many vertices.
  • The software supports full integration with Jupyter notebooks, enabling interactive exploration and reproducible workflows for both novice and expert users.
  • The package provides reliable, consistent data structures that enforce correct conventions across all geometric and topological operations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.