Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #23443: More Schubert polynomial shenanigans
Title stolen from Stanley, but this is, alas, a bug, not a determinant conjecture: {{{ sage: X = SchubertPolynomialRing(ZZ) sage: X([]).expand() 1 sage: X([1]).expand() 1 sage: X([]) == X([1]) False }}} Normally, `X(perm)` reduces the permutation `perm` by removing all fixed points attached to its right end (i.e., if a permutation in `S_n` sends `n` to `n`, then it reduces it to a permutation in `S_{n-1}` and so on, until this reduction is no longer possible). And rightfully so, since the Schubert basis is indexed by reduced permutations. {{{ sage: X = SchubertPolynomialRing(ZZ) sage: X([1]) X[1] sage: X([1,2]) X[1] sage: X([1,2,3]) X[1] }}} However, it fails to reduce `[1]` to `[]` due to the behavior of `Permutation.remove_extra_fixed_points`. Can we just fix it, or does symmetrica break on contact with the empty list? In the latter case, should we reduce `[]` to `[1]` instead? Related: #23403. URL: https://trac.sagemath.org/23443 Reported by: darij Ticket author(s): Darij Grinberg Reviewer(s): Travis Scrimshaw
- Loading branch information