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

Improvements to root systems #15384

Closed
tscrim opened this issue Nov 8, 2013 · 59 comments
Closed

Improvements to root systems #15384

tscrim opened this issue Nov 8, 2013 · 59 comments

Comments

@tscrim
Copy link
Collaborator

tscrim commented Nov 8, 2013

Implement various things for affine root systems:

  • The symmetric form ( | ).
  • Methods for checking the short/long/imaginary roots.
  • Modelling the positive roots roots in affine types.
  • Basic untwisted types (so type A2n(2) would give A2n).
  • (Dual) Coxeter numbers for finite types.

CC: @sagetrac-sage-combinat @anneschilling @nthiery @darijgr @bsalisbury1 @dwbump

Component: combinatorics

Keywords: root systems, days54

Author: Travis Scrimshaw

Branch/Commit: 7285940

Reviewer: Daniel Bump

Issue created by migration from https://trac.sagemath.org/ticket/15384

@tscrim
Copy link
Collaborator Author

tscrim commented Nov 8, 2013

New commits:

[0fa598a](https://github.com/sagemath/sagetrac-mirror/commit/0fa598a)imported patch root_system_data-ts.patch
[870837f](https://github.com/sagemath/sagetrac-mirror/commit/870837f)imported patch root_systems-ts.patch

@tscrim
Copy link
Collaborator Author

tscrim commented Nov 8, 2013

Commit: 0fa598a

@tscrim
Copy link
Collaborator Author

tscrim commented Nov 8, 2013

@tscrim
Copy link
Collaborator Author

tscrim commented Nov 9, 2013

Changed keywords from root systems to root systems, days54

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 15, 2013

Changed commit from 0fa598a to e40f892

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 15, 2013

Branch pushed to git repo; I updated commit sha1. New commits:

[e40f892](https://github.com/sagemath/sagetrac-mirror/commit/e40f892)Changed horizontal to basic_untwisted.
[930782b](https://github.com/sagemath/sagetrac-mirror/commit/930782b)Fixed indentation error.
[f87789d](https://github.com/sagemath/sagetrac-mirror/commit/f87789d)Merge branch 'master' into public/combinat/root_systems/improvements-15384

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 18, 2013

Branch pushed to git repo; I updated commit sha1. New commits:

[b4c7865](https://github.com/sagemath/sagetrac-mirror/commit/b4c7865)Merge branch 'master' into public/combinat/root_systems/improvements-15384

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 18, 2013

Changed commit from e40f892 to b4c7865

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 4, 2014

Changed commit from b4c7865 to dd976c7

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 4, 2014

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

6100a4bMerge branch 'public/combinat/root_systems/improvements-15384' of trac.sagemath.org:sage into public/combinat/root_systems/improvements-15384
a5a6b1cMerge branch 'develop' into public/combinat/root_systems/improvements-15384
f802ae1Merge branch 'develop' into public/combinat/root_systems/improvements-15384
d83982cMerge branch 'develop' into public/combinat/root_systems/improvements-15384
ecf8f76Merge branch 'develop' into public/combinat/root_systems/improvements-15384
c52545cMerge branch 'develop' into public/combinat/root_systems/improvements-15384
14c367eMerge branch 'develop' into public/combinat/root_systems/improvements-15384
fe68bf6Merge branch 'develop' into public/combinat/root_systems/improvements-15384
896e682Merge branch 'develop' into public/combinat/root_systems/improvements-15384
dd976c7Merge branch 'develop' into public/combinat/root_systems/improvements-15384

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 13, 2014

Changed commit from dd976c7 to 2c7f793

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 13, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

2c7f793Merge branch 'develop' into public/combinat/root_systems/improvements-15384

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2014

Changed commit from 2c7f793 to 122ca6e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 15, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

ea1641fMerge branch 'develop' into public/combinat/root_systems/improvements-15384
054b37cMerge branch 'develop' into public/combinat/root_systems/improvements-15384
30de9e8Merge branch 'develop' into public/combinat/root_systems/improvements-15384
122ca6eMerge branch 'develop' into public/combinat/root_systems/improvements-15384

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 6, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

87cf9edMerge branch 'public/combinat/root_systems/improvements-15384' of trac.sagemath.org:sage into public/combinat/root_systems/improvements-15384
c5f9747Added placeholder for symmetric_form in WLR.
64ac7a5Fixed doctests.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 6, 2014

Changed commit from 122ca6e to 64ac7a5

@dwbump
Copy link
Mannequin

dwbump mannequin commented May 6, 2014

Reviewer: bump

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 7, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

1817877Almost there.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 7, 2014

Changed commit from 64ac7a5 to 1817877

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 7, 2014

Changed commit from 1817877 to 18fd094

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 7, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

18fd094Fixed affine weight lattice symmetric form.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 10, 2014

Changed commit from eab1afe to 66f5674

@tscrim
Copy link
Collaborator Author

tscrim commented May 10, 2014

comment:27

That was an error. Fixed now.

@dwbump
Copy link
Mannequin

dwbump mannequin commented May 10, 2014

comment:28

What about this?

sage: RootSystem(['D',4,2]).root_lattice().positive_roots()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-11-ea364fc7aada> in <module>()
----> 1 RootSystem(['D',Integer(4),Integer(2)]).root_lattice().positive_roots()

-snip -

AttributeError: 'NoneType' object has no attribute 'dual'

BTW Sage reports this root system as Root lattice of the Root system of type ['C', 3, 1]^*

If I have my facts straight Macdonald introduced a classification of affine root systems in his
paper "Affine root systems and the Dedekind eta function" Inventiones 1972 but
Kac didn't follow Macdonald. He introduced his own classification. So we are
entering root systems in Kac' notation and they are getting converted automatically
to Macdonald's notation. Of course that policy was not introduced by this patch but
I mention that I've personally found it a little confusing.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 10, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

e17ce53Merge branch 'develop' into public/combinat/root_systems/improvements-15384
7e83910Fixes for other twisted root systems.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 10, 2014

Changed commit from 66f5674 to 7e83910

@tscrim
Copy link
Collaborator Author

tscrim commented May 10, 2014

comment:30

Another (stupid) error on my part. Fixed.

Also if you want to display in Kac's notation, you can do the following (it's somewhat hidden at the bottom of CatanType?):

sage: CartanType.global_options(notation='Kac')
sage: CartanType(['D',4,2])
['D', 4, 2]

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 21, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

c91754dMerge branch 'develop' into public/combinat/root_systems/improvements-15384
82c6257Fixed doctest.
1ffb4bbFixed doctest and for the weight lattice.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 21, 2014

Changed commit from 7e83910 to 1ffb4bb

@dwbump
Copy link
Mannequin

dwbump mannequin commented May 23, 2014

comment:32

The following returns an error:

sage: sr=RootSystem(['A',6,2]).weight_lattice().simple_roots()
sage: sr[0].symmetric_form(sr[1])
...
TypeError: no conversion of this rational to integer

There is no error if we use the root_lattice.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 26, 2014

Changed commit from 1ffb4bb to bccea25

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 26, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

bccea25Worked around a minor coercion issue and added doctests.

@tscrim
Copy link
Collaborator Author

tscrim commented May 26, 2014

comment:34

Hey Dan,

I've fixed the issue; the matrix stack() command doesn't coerce (well, it's more of I've worked around it and is now #16399). I've added some more doctests about this. I'll merge in the latest beta later tonight.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 26, 2014

Changed commit from bccea25 to f4cee52

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 26, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

f4cee52Merge branch 'develop' into public/combinat/root_systems/improvements-15384

@dwbump
Copy link
Mannequin

dwbump mannequin commented May 29, 2014

Changed reviewer from Dan Bump to Daniel Bump

@dwbump
Copy link
Mannequin

dwbump mannequin commented May 29, 2014

comment:36

This patch implements some important things from Chapter 6 of Kac' book for both twisted and untwisted affine Lie algebras, as methods of the root_lattice_realization or the weight_lattice_realization. These include a method of enumerating the positive roots (both real and imaginary), the invariant bilinear form, and a few other things. I tested with Kac' book in front of me, and all the problems I found have been addressed.

@tscrim
Copy link
Collaborator Author

tscrim commented May 29, 2014

comment:37

Thank you for doing the review Dan.

@vbraun
Copy link
Member

vbraun commented May 29, 2014

comment:38

Doctests fail

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 29, 2014

Changed commit from f4cee52 to 7285940

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 29, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

7285940Fixed bad merging in simple_roots_tilde.

@tscrim
Copy link
Collaborator Author

tscrim commented May 29, 2014

comment:40

Bad merging on my part; ended up overwriting simple_roots_tilde().

@vbraun
Copy link
Member

vbraun commented May 30, 2014

Changed branch from public/combinat/root_systems/improvements-15384 to 7285940

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants