Opened 19 months ago

Last modified 5 months ago

#31241 new enhancement

Forgetful Functors for Manifolds — at Version 2

Reported by: gh-mjungmath Owned by:
Priority: major Milestone: sage-9.7
Component: manifolds Keywords:
Cc: tscrim, egourgoulhon, mkoeppe Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by gh-mjungmath)

It would be nice to allow forgetful functors for manifolds. In particular:

  • differentiable manifold -> topological manifold
  • (Pseudo-)Riemannian manifold -> differentiable manifold
  • topological manifold -> sets (?)

and probably even more. The last point, if working, might also be useful in terms of #30832.

At the moment, we have the following behavior (which could be seen as a bug):

sage: from sage.categories.functor import ForgetfulFunctor
sage: from sage.categories.manifolds import Manifolds
sage: F = ForgetfulFunctor(Manifolds(RR).Differentiable(), Manifolds(RR).Topological())
sage: M = Manifold(2, 'M')
sage: F(M)
2-dimensional differentiable manifold M

Change History (2)

comment:1 Changed 19 months ago by gh-mjungmath

  • Description modified (diff)

comment:2 Changed 19 months ago by gh-mjungmath

  • Description modified (diff)
Note: See TracTickets for help on using tickets.