Birational toggles and birational rowmotion on finite posets
Some docstring reviewer changes.
final fixes
Merge branch 'develop' into rowmotion
Merge branch 'develop' into rowmotion
Implement RealSet - finite unions of open/closed/semi-closed subsets of the real line.
Further improvements to RealSet
Trac #13125: reviewer's patch: fix typos, add module to set refman
Changed unit to one in Stanley symmetric functions
Merge branch 'develop' into rowmotion
Merge branch 'rowmotion' into rowmow_new
making sphinx happy
Trac #15592: Birational rowmotion

This is a heavily refactored version of the code Tom and I used in
studying birational rowmotion and showed around in Bures-sur-Yvette. It
is missing some of the hacky research-related methods but the main
features are there.

URL: http://trac.sagemath.org/15592
Reported by: darij
Ticket author(s): Darij Grinberg
Reviewer(s): Travis Scrimshaw
Trac #15884: Fix in Stanley symmetric functions

Currently, Stanley symmetric functions use unit instead of one which
makes the following fail:
{{{
sage: A = AffinePermutationGroup(['A',4,1])
sage: a = A([-2,0,1,4,12])
sage: a.stanley_symmetric_function()
------------------------------------------------------------------------
---
AttributeError                            Traceback (most recent call
last)
<ipython-input-3-21372b62dff6> in <module>()
----> 1 a.stanley_symmetric_function()

/Applications/sage/local/lib/python2.7/site-
packages/sage/categories/weyl_groups.pyc in
stanley_symmetric_function(self)
    355             import sage.combinat.sf
    356             m =
sage.combinat.sf.sf.SymmetricFunctions(QQ).monomial()
--> 357             return
m.from_polynomial_exp(self.stanley_symmetric_function_as_polynomial())
    358
    359         @cached_in_parent_method

/Applications/sage/local/lib/python2.7/site-
packages/sage/misc/cachefunc.so in
sage.misc.cachefunc.CachedMethodCaller.__call__
(sage/misc/cachefunc.c:8248)()

/Applications/sage/local/lib/python2.7/site-
packages/sage/misc/cachefunc.so in
sage.misc.cachefunc.CachedMethod._instance_call
(sage/misc/cachefunc.c:10738)()

/Applications/sage/local/lib/python2.7/site-
packages/sage/categories/weyl_groups.pyc in
stanley_symmetric_function_as_polynomial(self, max_length)
    308
    309             return
R(sum(2**(pieri_factors.stanley_symm_poly_weight(u))*x[u.length()-1] *
v.stanley_symmetric_function_as_polynomial(max_length = u.length())
--> 310                            for (u,v) in
self.left_pieri_factorizations(max_length)
    311                            if u != W.unit()))
    312

/Applications/sage/local/lib/python2.7/site-
packages/sage/categories/weyl_groups.pyc in <genexpr>((u, v))
    309             return
R(sum(2**(pieri_factors.stanley_symm_poly_weight(u))*x[u.length()-1] *
v.stanley_symmetric_function_as_polynomial(max_length = u.length())
    310                            for (u,v) in
self.left_pieri_factorizations(max_length)
--> 311                            if u != W.unit()))
    312
    313

/Applications/sage/local/lib/python2.7/site-
packages/sage/structure/parent.so in
sage.structure.parent.Parent.__getattr__
(sage/structure/parent.c:6997)()

/Applications/sage/local/lib/python2.7/site-
packages/sage/structure/misc.so in
sage.structure.misc.getattr_from_other_class
(sage/structure/misc.c:1606)()

AttributeError: 'AffinePermutationGroupTypeA_with_category' object has
no attribute 'unit'
}}}

URL: http://trac.sagemath.org/15884
Reported by: aschilling
Ticket author(s): Anne Schilling
Reviewer(s): Travis Scrimshaw
Trac #13125: Reals sets consisting of intervals and isolated points

Finite unions of open/closed/semi-closed subsets of the real line

For example
{{{
    sage: RealSet(0,2) + RealSet.unbounded_above_closed(10)
    (0, 2) + [10, +Infinity)
}}}

Apply
  * [attachment:trac_13125_real_set.patch]
  * [attachment:trac_13125_misc.patch]

URL: http://trac.sagemath.org/13125
Reported by: ares
Ticket author(s): Volker Braun , Jordi Saludes , Ares Ribó
Reviewer(s): Ralf Stephan