Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

r""" 

Lie Groups 

""" 

#***************************************************************************** 

# Copyright (C) 2015 Travis Scrimshaw <tscrim at ucdavis.edu> 

# 

# Distributed under the terms of the GNU General Public License (GPL) 

# http://www.gnu.org/licenses/ 

#****************************************************************************** 

 

#from sage.misc.abstract_method import abstract_method 

from sage.misc.cachefunc import cached_method 

from sage.categories.category_types import Category_over_base_ring 

from sage.categories.groups import Groups 

from sage.categories.manifolds import Manifolds 

 

class LieGroups(Category_over_base_ring): 

r""" 

The category of Lie groups. 

 

A Lie group is a topological group with a smooth manifold structure. 

 

EXAMPLES:: 

 

sage: from sage.categories.lie_groups import LieGroups 

sage: C = LieGroups(QQ); C 

Category of Lie groups over Rational Field 

 

TESTS:: 

 

sage: TestSuite(C).run(skip="_test_category_over_bases") 

""" 

@cached_method 

def super_categories(self): 

""" 

EXAMPLES:: 

 

sage: from sage.categories.lie_groups import LieGroups 

sage: LieGroups(QQ).super_categories() 

[Category of topological groups, 

Category of smooth manifolds over Rational Field] 

""" 

return [Groups().Topological(), Manifolds(self.base()).Smooth()] 

 

def additional_structure(self): 

r""" 

Return ``None``. 

 

Indeed, the category of Lie groups defines no new 

structure: a morphism of topological spaces and of smooth 

manifolds is a morphism as Lie groups. 

 

.. SEEALSO:: :meth:`Category.additional_structure` 

 

EXAMPLES:: 

 

sage: from sage.categories.lie_groups import LieGroups 

sage: LieGroups(QQ).additional_structure() 

""" 

return None 

 

# Because Lie is a name that deserves to be capitalized 

def _repr_object_names(self): 

""" 

EXAMPLES:: 

 

sage: from sage.categories.lie_groups import LieGroups 

sage: LieGroups(QQ) # indirect doctest 

Category of Lie groups over Rational Field 

""" 

return "Lie groups over {}".format(self.base_ring())