Skip to main content

Computation of congruence normality for hyperplane arrangements

Project description

https://travis-ci.com/sophiasage/cn_hyperarr.svg?branch=master https://travis-ci.org/sophiasage/cn_hyperarr.svg?branch=master

This package is a SageMath package for computing congruence normality of rank-three, simplicial hyperplane arrangements.

This package includes a database of known rank-three simplicial hyperplane arrangements. It also includes modules for creating vector configurations and the three infinite families of simplicial rank-three arrangements. A vector configuration can be seen as the set of normals to a hyperplane arrangement. A simplicial hyperplane arrangement has a lattice of regions associated to each chamber. This lattice is congruence normal if it is obtainable through a sequence of doublings of convex sets. A hyperplane arrangement can be always or sometimes or never congruence normal, depending on whether its lattices of regions are congruence normal.

Here are examples of arrangements that are always, sometimes, and never congruence normal. First we load the normals of the three arrangements from the database. The entries of the database are labeled in the same way as in [CEL]:

sage: from cn_hyperarr import *
sage: always_normals = db_normals_CEL[(6,24,1)]
sage: somet_normals = db_normals_CEL[(10,60,3)]
sage: never_normals = db_normals_CEL[(22,288,1)]

Now we make them into vector configurations::

sage: always_vc = VectorConfiguration([vector(x) for x in always_normals])
sage: somet_vc = VectorConfiguration([vector(x) for x in somet_normals])
sage: never_vc = VectorConfiguration([vector(x) for x in never_normals])

To test congruence normality, use the function `RegionsCongruenceNormal`::

sage: always_check = RegionsCongruenceNormality(always_vc)
sage: always_vals_list = list(always_check.values())
sage: [always_vals_list.count(True), always_vals_list.count(False)]
[24,0]
sage: somet_check = RegionsCongruenceNormality(somet_vc)
sage: somet_vals_list = list(somet_check.values())
sage: [somet_vals_list.count(True), somet_vals_list.count(False)]
[40,20]
sage: never_check = RegionsCongruenceNormality(never_vc)
sage: never_vals_list = list(never_check.values())
sage: [never_vals_list.count(True), never_vals_list.count(False)]
[0,288]

The full documentation for the package can be found at https://sophiasage.github.io/cn_hyperarr/doc/html/

Notebooks

You can experience this package on a binder notebook (click on the binder image):

https://mybinder.org/badge.svg

References

[CEL]

Michael Cuntz, Sophia Elia, and Jean-Philippe Labbé. Congruence normality of simplicial hyperplane arrangements via oriented matroids, 2020. arXiv:2009.14152.

[Gru]

Branko Grunbaum. A catalogue of simplicial arrangements in the real projective plane, 2009. Ars Math. Contemp. 2, no. 1, 1-25.

Installation

Local install from source

Download the source from the git repository:

$ git clone https://github.com/sophiasage/cn_hyperarr.git

Change to the root directory and run:

$ sage -pip install --upgrade --no-index -v .

For convenience this package contains a [makefile](makefile) with this and other often used commands. Should you wish too, you can use the shorthand:

$ make install

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

cn_hyperarr-0.0.1.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

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

cn_hyperarr-0.0.1-py3.7.egg (94.8 kB view details)

Uploaded Egg

File details

Details for the file cn_hyperarr-0.0.1.tar.gz.

File metadata

  • Download URL: cn_hyperarr-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.1

File hashes

Hashes for cn_hyperarr-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f083ad6ed7922c4b05ce6de8bba28d34b7cd3f1888616a8ecaea9647f3c8d334
MD5 74d606657116c7be44fefa6b94eae670
BLAKE2b-256 fdbd7cd66492af0f1632d4bd6e329b9a3e74b82d5b98b4af7ba93def8be89bdf

See more details on using hashes here.

File details

Details for the file cn_hyperarr-0.0.1-py3.7.egg.

File metadata

  • Download URL: cn_hyperarr-0.0.1-py3.7.egg
  • Upload date:
  • Size: 94.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.1

File hashes

Hashes for cn_hyperarr-0.0.1-py3.7.egg
Algorithm Hash digest
SHA256 cd5de77f3ebb0cbecac306542d319cdf9151eaf7dbe46479297ef7881bee9d7c
MD5 51ccc0fd784ed59378a00810d7b65603
BLAKE2b-256 273e934af49d87a0f3d7f57399bc6d22611eac1e54030a9cdd2716015736a84f

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