answered 4 years ago
This is (highly) nonytivial. This non-answer is here only to point to a sage-devel ongoing discussion.
sage-devel