Skip to main content

Add your description here

Project description

khive-crystal

lint test generate_pdoc

This repository contains the experimetns code for our paper Algorithms for crystal structure on K-hives of type A.

Documentation

Overview

Let $\mathfrak{g}$ be a Lie algebra of type $A_{n-1}$. Let $P^+$ be a set of dominant integral weights of $\mathfrak{g}$. For $\lambda \in P^+$, let $\mathbb{H}(\lambda)$ be a set of K-hives which right edge labels is determied by $\lambda$. khive-crystal compute the crystal structure on $\mathbb{H}(\lambda)$.

Getting started

Install

pip install git+https://github.com/snrsw/khive-crystal@master

Usage

For more information, see https://snrsw.github.io/khive-crystal/

K-hive

>>> from khive_crystal import khive
>>> khive(alpha=[2, 1, 0], beta=[2, 1, 0], gamma=[0, 0, 0], Uij=[[0, 0], [0]])
KHive(alpha=[2, 1, 0], beta=[2, 1, 0], gamma=[0, 0, 0], Uij=[[0, 0], [0]])
>>> from khive_crystal import khive, view
>>> view(khive(alpha=[2, 1, 0], beta=[2, 1, 0], gamma=[0, 0, 0], Uij=[[0, 0], [0]]))

Crystal structure

$\mathbb{H}(\Lambda_k)$

For $k = 1, 2, \dots, n-1$, let $\Lambda_k$ be the fundamental weight of $\mathfrak{g}$. The crystal structure on $\mathbb{H}(\Lambda_k)$ is computed as follows.

>>> from khive_crystal.khive import KHive
>>> from khive_crystal import khive, view, f, phi, e, epsilon
>>> H: KHive = khive(
...     n=3,
...     alpha=[1, 1, 0],
...     beta=[1, 1, 0],
...     gamma=[0, 0, 0],
...     Uij=[[0, 0], [0]]
... ) # alpha = \Lambda_2
>>> phi(i=2)(H)
1
>>> f(i=2)(H)
KHive(alpha=[1, 1, 0], beta=[1, 0, 1], gamma=[0, 0, 0], Uij=[[0, 0], [1]])
>>> epsilon(i=2)(H)
0
>>> e(i=2)(H)
# None

$\mathbb{H}(\lambda)$

Let $\lambda \in P^+$. The crystal structure on $\mathbb{H}(\lambda)$ is computed in two ways.

As a submodule of tensor products of $\mathbb{H}(\Lambda_k)$

The crystal structure on $\mathbb{H}(\lambda)$ is determined such that the map $\Psi \colon \mathbb{H}(\lambda) \to \bigotimes_{k} \mathbb{H}(\Lambda_k)$ is a crystal embedding.

>>> from khive_crystal.khive import KHive
>>> from khive_crystal import khive, view, f, phi, e, epsilon, psi, psi_lambda, psi_inv
>>> H: KHive = khive(n=3, alpha=[3, 1, 0], beta=[2, 2, 0], gamma=[0, 0, 0], Uij=[[1, 0], [0]])
>>> psi_lambda(H=H)
[KHive(alpha=[2, 0, 0], beta=[1, 1, 0], gamma=[0, 0, 0], Uij=[[1, 0], [0]]), KHive(alpha=[1, 1, 0], beta=[1, 1, 0], gamma=[0, 0, 0], Uij=[[0, 0], [0]])]
>>> psi(H=H)
[KHive(alpha=[1, 0, 0], beta=[0, 1, 0], gamma=[0, 0, 0], Uij=[[1, 0], [0]]), KHive(alpha=[1, 0, 0], beta=[1, 0, 0], gamma=[0, 0, 0], Uij=[[0, 0], [0]]), KHive(alpha=[1, 1, 0], beta=[1, 1, 0], gamma=[0, 0, 0], Uij=[[0, 0], [0]])]
>>> psi_inv(
...     H=f(i=1)(
...         psi(
...             H=H
...         )
...     )
... )
KHive(alpha=[3, 1, 0], beta=[1, 3, 0], gamma=[0, 0, 0], Uij=[[2, 0], [0]])
Explicit method
>>> from khive_crystal import khive, view, f, phi, e, epsilon
>>> H: KHive = khive(n=3, alpha=[3, 1, 0], beta=[2, 2, 0], gamma=[0, 0, 0], Uij=[[1, 0], [0]])
>>> f(i=2)(H)
KHive(alpha=[3, 1, 0], beta=[1, 3, 0], gamma=[0, 0, 0], Uij=[[2, 0], [0]])

Crystal graph

>>> from khive_crystal import khives, crystal_graph
>>> crystal_graph(khives(n=3, alpha=[2, 1, 0]))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

khive_crystal-0.1.0.tar.gz (139.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

khive_crystal-0.1.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file khive_crystal-0.1.0.tar.gz.

File metadata

  • Download URL: khive_crystal-0.1.0.tar.gz
  • Upload date:
  • Size: 139.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.28

File hashes

Hashes for khive_crystal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 74173c1de8346895bdce8758e547bb3c4d40b995ae8d6a46aab77585768b40c3
MD5 f17ab5dbaa324a2b27da5d6dd78a3109
BLAKE2b-256 71f445f3f599156dd2491abb727847be3dbf44a42a296570e1432e0e20198aad

See more details on using hashes here.

File details

Details for the file khive_crystal-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for khive_crystal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8dca16d796dedfacbd89aa1f895c07686c0ca049fc940da55f528f8474b4cf7b
MD5 9797dad3e377c94d7e304c7e10e1850e
BLAKE2b-256 6cfb84ffa06cb760a3c04f7fcfe7f00717c9af706e285aee236ccfc492fea793

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page