Renamed vector subspace complement to othrogonal_complement and changed the complement function #3462
Annotations
10 errors and 13 warnings
Test:
src/sage/combinat/specht_module.py#L823
Failed example:: Got: doctest:warning
File "<doctest sage.combinat.specht_module.SpechtModuleTableauxBasis.maximal_submodule[2]>", line 1, in <module>
U = SM.maximal_submodule()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/combinat/specht_module.py", line 827, in maximal_submodule
return MaximalSpechtSubmodule(self)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/structure/unique_representation.py", line 1113, in __classcall__
return super().__classcall__(cls, *args, **options)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/structure/unique_representation.py", line 597, in __classcall__
instance = typecall(cls, *args, **options)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/combinat/specht_module.py", line 1009, in __init__
basis = (SV & SV.complement()).basis()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/free_module.py", line 5000, in complement
deprecation(31487, "The functionality of the complement() function"
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 99, in deprecation
warning(issue_number, message, DeprecationWarning, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 180, in warning
warn(message, warning_class, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/warnings.py", line 112, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
DeprecationWarning: The functionality of the complement() function of a vector space is being updated. The original functionality is being moved to the orthogonal_complement() function. This function will instead return a complementary subspace
See https://github.com/sagemath/sage/issues/31487 for details.
|
Test:
src/sage/combinat/specht_module.py#L1048
Failed example:: Got: doctest:warning
File "<doctest sage.combinat.specht_module.SimpleModule[2]>", line 1, in <module>
D = SM.simple_module()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/combinat/specht_module.py", line 852, in simple_module
return SimpleModule(self)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/structure/unique_representation.py", line 1113, in __classcall__
return super().__classcall__(cls, *args, **options)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/structure/unique_representation.py", line 597, in __classcall__
instance = typecall(cls, *args, **options)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/combinat/specht_module.py", line 1108, in __init__
QuotientModuleWithBasis.__init__(self, specht_module.maximal_submodule(), cat, prefix='D')
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/combinat/specht_module.py", line 827, in maximal_submodule
return MaximalSpechtSubmodule(self)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/structure/unique_representation.py", line 1113, in __classcall__
return super().__classcall__(cls, *args, **options)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/structure/unique_representation.py", line 597, in __classcall__
instance = typecall(cls, *args, **options)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/combinat/specht_module.py", line 1009, in __init__
basis = (SV & SV.complement()).basis()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/free_module.py", line 5000, in complement
deprecation(31487, "The functionality of the complement() function"
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 99, in deprecation
warning(issue_number, message, DeprecationWarning, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 180, in warning
warn(message, warning_class, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/warnings.py", line 112, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
DeprecationWarning: The functionality of the complement() function of a vector space is being updated. The original functionality is being moved to the orthogonal_complement() function. This function will instead return a complementary subspace
See https://github.com/sagemath/sage/issues/31487 for details.
|
Test:
src/sage/combinat/symmetric_group_algebra.py#L1759
Failed example:: Got: doctest:warning
File "<doctest sage.combinat.symmetric_group_algebra.SymmetricGroupAlgebra_n.simple_module[1]>", line 1, in <module>
D = SGA.simple_module(Partition([Integer(3),Integer(1),Integer(1)]))
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/combinat/symmetric_group_algebra.py", line 1766, in simple_module
return SpechtModule(self, la).simple_module()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/combinat/specht_module.py", line 852, in simple_module
return SimpleModule(self)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/structure/unique_representation.py", line 1113, in __classcall__
return super().__classcall__(cls, *args, **options)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/structure/unique_representation.py", line 597, in __classcall__
instance = typecall(cls, *args, **options)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/combinat/specht_module.py", line 1108, in __init__
QuotientModuleWithBasis.__init__(self, specht_module.maximal_submodule(), cat, prefix='D')
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/combinat/specht_module.py", line 827, in maximal_submodule
return MaximalSpechtSubmodule(self)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/structure/unique_representation.py", line 1113, in __classcall__
return super().__classcall__(cls, *args, **options)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/structure/unique_representation.py", line 597, in __classcall__
instance = typecall(cls, *args, **options)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/combinat/specht_module.py", line 1009, in __init__
basis = (SV & SV.complement()).basis()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/free_module.py", line 5000, in complement
deprecation(31487, "The functionality of the complement() function"
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 99, in deprecation
warning(issue_number, message, DeprecationWarning, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 180, in warning
warn(message, warning_class, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/warnings.py", line 112, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
DeprecationWarning: The functionality of the complement() function of a vector space is being updated. The original functionality is being moved to the orthogonal_complement() function. This function will instead return a complementary subspace
See https://github.com/sagemath/sage/issues/31487 for details.
|
Test:
src/sage/geometry/cone_catalog.py#L506
Failed example:: Got: doctest:warning
File "<doctest sage.geometry.cone_catalog.rearrangement[4]>", line 1, in <module>
all( cones.rearrangement(p, ambient_dim).lyapunov_rank()
File "<doctest sage.geometry.cone_catalog.rearrangement[4]>", line 1, in <genexpr>
all( cones.rearrangement(p, ambient_dim).lyapunov_rank()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/geometry/cone.py", line 5238, in lyapunov_rank
return len(K_SP.lyapunov_like_basis()) + l*m + (n - m)*n
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/geometry/cone.py", line 5019, in lyapunov_like_basis
LL_vectors = W.span(perp_vectors).complement()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/free_module.py", line 5000, in complement
deprecation(31487, "The functionality of the complement() function"
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 99, in deprecation
warning(issue_number, message, DeprecationWarning, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 180, in warning
warn(message, warning_class, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/warnings.py", line 112, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
DeprecationWarning: The functionality of the complement() function of a vector space is being updated. The original functionality is being moved to the orthogonal_complement() function. This function will instead return a complementary subspace
See https://github.com/sagemath/sage/issues/31487 for details.
True
|
Test:
src/sage/geometry/cone.py#L3370
Failed example:: Got: doctest:warning
File "<doctest sage.geometry.cone.ConvexRationalPolyhedralCone.linear_subspace[3]>", line 1, in <module>
expected = K.dual().span().vector_space().complement()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/free_module.py", line 5000, in complement
deprecation(31487, "The functionality of the complement() function"
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 99, in deprecation
warning(issue_number, message, DeprecationWarning, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 180, in warning
warn(message, warning_class, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/warnings.py", line 112, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
DeprecationWarning: The functionality of the complement() function of a vector space is being updated. The original functionality is being moved to the orthogonal_complement() function. This function will instead return a complementary subspace
See https://github.com/sagemath/sage/issues/31487 for details.
|
Test:
src/sage/geometry/cone.py#L4907
Failed example:: Got: doctest:warning
File "<doctest sage.geometry.cone.ConvexRationalPolyhedralCone.lyapunov_like_basis[2]>", line 1, in <module>
list(M.basis()) == K.lyapunov_like_basis()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/geometry/cone.py", line 5019, in lyapunov_like_basis
LL_vectors = W.span(perp_vectors).complement()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/free_module.py", line 5000, in complement
deprecation(31487, "The functionality of the complement() function"
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 99, in deprecation
warning(issue_number, message, DeprecationWarning, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 180, in warning
warn(message, warning_class, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/warnings.py", line 112, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
DeprecationWarning: The functionality of the complement() function of a vector space is being updated. The original functionality is being moved to the orthogonal_complement() function. This function will instead return a complementary subspace
See https://github.com/sagemath/sage/issues/31487 for details.
True
|
Test:
src/sage/geometry/hyperplane_arrangement/affine_subspace.py#L358
Failed example:: Got: doctest:warning
File "<doctest sage.geometry.hyperplane_arrangement.affine_subspace.AffineSubspace.intersection[9]>", line 1, in <module>
C = AffineSubspace((Integer(7),Integer(8),Integer(9)), U.complement())
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/free_module.py", line 5000, in complement
deprecation(31487, "The functionality of the complement() function"
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 99, in deprecation
warning(issue_number, message, DeprecationWarning, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 180, in warning
warn(message, warning_class, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/warnings.py", line 112, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
DeprecationWarning: The functionality of the complement() function of a vector space is being updated. The original functionality is being moved to the orthogonal_complement() function. This function will instead return a complementary subspace
See https://github.com/sagemath/sage/issues/31487 for details.
|
Test:
src/sage/modules/filtered_vector_space.py#L312
Failed example:: Got: doctest:warning
File "<doctest sage.modules.filtered_vector_space.construct_from_generators[2]>", line 1, in <module>
construct_from_generators({Integer(1):[r]}, QQ, True)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/filtered_vector_space.py", line 331, in construct_from_generators
return construct_from_generators_indices(generators, normalized, base_ring, check)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/filtered_vector_space.py", line 377, in construct_from_generators_indices
complement = ambient.span(generators).complement()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/free_module.py", line 5000, in complement
deprecation(31487, "The functionality of the complement() function"
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 99, in deprecation
warning(issue_number, message, DeprecationWarning, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 180, in warning
warn(message, warning_class, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/warnings.py", line 112, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
DeprecationWarning: The functionality of the complement() function of a vector space is being updated. The original functionality is being moved to the orthogonal_complement() function. This function will instead return a complementary subspace
See https://github.com/sagemath/sage/issues/31487 for details.
QQ^1 >= 0 in QQ^2
|
Test:
src/sage/modules/filtered_vector_space.py#L1195
Failed example:: Got: doctest:warning
File "<doctest sage.modules.filtered_vector_space.FilteredVectorSpace_class.dual[3]>", line 1, in <module>
F.dual()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/filtered_vector_space.py", line 1203, in dual
filtration[-prev_deg] = V.complement().echelonized_basis()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/free_module.py", line 5000, in complement
deprecation(31487, "The functionality of the complement() function"
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 99, in deprecation
warning(issue_number, message, DeprecationWarning, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 180, in warning
warn(message, warning_class, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/warnings.py", line 112, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
DeprecationWarning: The functionality of the complement() function of a vector space is being updated. The original functionality is being moved to the orthogonal_complement() function. This function will instead return a complementary subspace
See https://github.com/sagemath/sage/issues/31487 for details.
QQ^3 >= QQ^2 >= QQ^2 >= 0
|
Test:
src/sage/modules/multi_filtered_vector_space.py#L651
Failed example:: Got: doctest:warning
File "<doctest sage.modules.multi_filtered_vector_space.MultiFilteredVectorSpace_class.dual[3]>", line 1, in <module>
V.dual()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/multi_filtered_vector_space.py", line 656, in dual
filtrations = {key: value.dual()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/filtered_vector_space.py", line 1203, in dual
filtration[-prev_deg] = V.complement().echelonized_basis()
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/modules/free_module.py", line 5000, in complement
deprecation(31487, "The functionality of the complement() function"
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 99, in deprecation
warning(issue_number, message, DeprecationWarning, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/site-packages/sage/misc/superseded.py", line 180, in warning
warn(message, warning_class, stacklevel)
File "/home/runner/miniconda3/envs/sage-dev/lib/python3.12/warnings.py", line 112, in _showwarnmsg
sw(msg.message, msg.category, msg.filename, msg.lineno,
:
DeprecationWarning: The functionality of the complement() function of a vector space is being updated. The original functionality is being moved to the orthogonal_complement() function. This function will instead return a complementary subspace
See https://github.com/sagemath/sage/issues/31487 for details.
Filtrations
a: QQ^2 >= QQ^2 >= QQ^2 >= 0 >= 0
b: QQ^2 >= QQ^1 >= QQ^1 >= QQ^1 >= 0
|
Post Run actions/checkout@v4
The process '/usr/bin/git' failed with exit code 128
|
Setup Conda environment
/home/runner/miniconda3/lib/python3.12/site-packages/conda/base/context.py:201: FutureWarning: Adding 'defaults' to channel list implicitly is deprecated and will be removed in 25.3.
To remove this warning, please choose a default channel explicitly with conda's regular configuration system, e.g. by adding 'defaults' to the list of channels:
conda config --add channels defaults
For more information see https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/use-condarc.html
deprecated.topic(
|
Setup Conda environment
The 'defaults' channel might have been added implicitly. If this is intentional, add 'defaults' to the 'channels' list. Otherwise, consider setting 'conda-remove-defaults' to 'true'.
|
|
|
Test:
src/sage/combinat/symmetric_group_algebra.py#L1304
slow doctest:
|
Test:
src/sage/doctest/forker.py#L2196
slow doctest:
|
Test:
src/sage/doctest/forker.py#L2323
slow doctest:
|
Test:
src/sage/doctest/forker.py#L2359
slow doctest:
|
Test:
src/sage/doctest/forker.py#L2391
slow doctest:
|
|
Test:
src/sage/interacts/test_jupyter.rst#L208
slow doctest:
|
Test:
src/sage/interacts/test_jupyter.rst#L221
slow doctest:
|
Loading