Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 12a86a4

Browse files
committed
Some fixes in the documentation of vector bundles
1 parent 078b13f commit 12a86a4

File tree

11 files changed

+110
-64
lines changed

11 files changed

+110
-64
lines changed

src/doc/en/reference/categories/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ Individual Categories
181181
sage/categories/triangular_kac_moody_algebras
182182
sage/categories/unique_factorization_domains
183183
sage/categories/unital_algebras
184+
sage/categories/vector_bundles
184185
sage/categories/vector_spaces
185186
sage/categories/weyl_groups
186187

src/doc/en/reference/manifolds/vector_bundle.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Topological Vector Bundles
66

77
sage/manifolds/vector_bundle
88

9+
sage/manifolds/vector_bundle_fiber
10+
11+
sage/manifolds/vector_bundle_fiber_element
12+
913
sage/manifolds/trivialization
1014

1115
sage/manifolds/local_frame

src/sage/manifolds/differentiable/manifold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ class as the manifold.
10601060
- ``name`` -- name given to the total space
10611061
- ``field`` -- (default: ``'real'``) topological field giving the
10621062
vector space structure to the fibers
1063-
- ``latex_name`` -- optional latex name for the total space
1063+
- ``latex_name`` -- optional LaTeX name for the total space
10641064
10651065
OUTPUT:
10661066

src/sage/manifolds/differentiable/vector_bundle.py

Lines changed: 47 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class DifferentiableVectorBundle(TopologicalVectorBundle):
4444
INPUT:
4545
4646
- ``rank`` -- positive integer; rank of the vector bundle
47-
- ``name```-- string representation given to the total space
47+
- ``name`` -- string representation given to the total space
4848
- ``base_space`` -- the base space (differentiable manifold) `M` over which
4949
the vector bundle is defined
5050
- ``field`` -- field `K` which gives the fibers the structure of a
@@ -59,11 +59,10 @@ class DifferentiableVectorBundle(TopologicalVectorBundle):
5959
:class:`~sage.categories.topological_spaces.TopologicalSpaces`)
6060
for other types of topological fields
6161
62-
- ``latex_name`` -- (default: ``None``) latex representation given to the
62+
- ``latex_name`` -- (default: ``None``) LaTeX representation given to the
6363
total space
6464
- ``category`` -- (default: ``None``) to specify the category; if
65-
``None``, ``VectorBundles(base_space, c_field).Differentiable()`` (or
66-
``Manifolds(field).Smooth()`` if ``diff_degree`` = ``infinity``)`` is
65+
``None``, ``VectorBundles(base_space, c_field).Differentiable()`` is
6766
assumed (see the category
6867
:class:`~sage.categories.vector_bundles.VectorBundles`)
6968
@@ -140,7 +139,7 @@ def diff_degree(self):
140139
Return the vector bundle's degree of differentiability.
141140
142141
The degree of differentiability is the integer `k` (possibly
143-
`k=\infty`) such that the vector bundle is of class `C^k`-manifold over
142+
`k=\infty`) such that the vector bundle is of class `C^k` over
144143
its base field. The degree always corresponds to the degree of
145144
differentiability of it's base space.
146145
@@ -390,9 +389,15 @@ def fiber(self, point):
390389
r"""
391390
Return the tensor bundle fiber at ``point``.
392391
393-
.. SEEALSO::
392+
INPUT:
393+
394+
- ``point`` -- :class:`~sage.manifolds.point.ManifoldPoint`;
395+
point `p` at which the fiber is defined
394396
395-
:meth:`~sage.manifolds.differentiable.manifold.Manifold.tangent_space`.
397+
OUPUT:
398+
399+
- an instance of :class:`~sage.tensor.modules.finite_rank_free_module.FiniteRankFreeModule`
400+
representing the tensor bundle fiber
396401
397402
EXAMPLES::
398403
@@ -405,6 +410,19 @@ def fiber(self, point):
405410
sage: TM.fiber(p)
406411
Tangent space at Point p on the 3-dimensional differentiable
407412
manifold M
413+
sage: TM.fiber(p) is M.tangent_space(p)
414+
True
415+
416+
::
417+
418+
sage: T11M = M.tensor_bundle(1,1); T11M
419+
Tensor bundle T^(1,1)M over the 3-dimensional differentiable
420+
manifold M
421+
sage: T11M.fiber(p)
422+
Free module of type-(1,1) tensors on the Tangent space at Point p
423+
on the 3-dimensional differentiable manifold M
424+
sage: T11M.fiber(p) is M.tangent_space(p).tensor_module(1,1)
425+
True
408426
409427
"""
410428
amb_point = self._dest_map(point)
@@ -417,7 +435,10 @@ def atlas(self):
417435
418436
.. SEEALSO::
419437
420-
This method invokes :meth:`~sage.manifolds.manifold.Manifold.atlas`.
438+
This method invokes
439+
:meth:`~sage.manifolds.manifold.TopologicalManifold.atlas`
440+
of class
441+
:class:`~sage.manifolds.manifold.TopologicalManifold`
421442
422443
EXAMPLES::
423444
@@ -439,7 +460,7 @@ def section_module(self, domain=None):
439460
.. SEEALSO::
440461
441462
This method invokes
442-
:meth:`~sage.manifolds.differentiable.manifold.Manifold.tensor_field_module`.
463+
:meth:`~sage.manifolds.differentiable.manifold.DifferentiableManifold.tensor_field_module`.
443464
444465
INPUT:
445466
@@ -483,7 +504,7 @@ def section(self, *args, **kwargs):
483504
.. SEEALSO::
484505
485506
This method invokes
486-
:meth:`~sage.manifolds.differentiable.manifold.Manifold.tensor_field`.
507+
:meth:`~sage.manifolds.differentiable.manifold.DifferentiableManifold.tensor_field`.
487508
488509
INPUT:
489510
@@ -560,7 +581,7 @@ def set_change_of_frame(self, frame1, frame2, change_of_frame,
560581
.. SEEALSO::
561582
562583
This method invokes
563-
:meth:`~sage.manifolds.differentiable.manifold.Manifold.set_change_of_frame`.
584+
:meth:`~sage.manifolds.differentiable.manifold.DifferentiableManifold.set_change_of_frame`.
564585
565586
INPUT:
566587
@@ -611,7 +632,8 @@ def change_of_frame(self, frame1, frame2):
611632
.. SEEALSO::
612633
613634
This method invokes
614-
:meth:`~sage.manifolds.differentiable.manifold.Manifold.change_of_frame`.
635+
:meth:`~sage.manifolds.differentiable.manifold.DifferentiableManifold.change_of_frame`
636+
of class :class:`~sage.manifolds.differentiable.manifold.DifferentiableManifold`.
615637
616638
INPUT:
617639
@@ -659,7 +681,8 @@ def changes_of_frame(self):
659681
.. SEEALSO::
660682
661683
This method invokes
662-
:meth:`~sage.manifolds.differentiable.manifold.Manifold.changes_of_frame`.
684+
:meth:`~sage.manifolds.differentiable.manifold.DifferentiableManifold.changes_of_frame`
685+
of class :class:`~sage.manifolds.differentiable.manifold.DifferentiableManifold`.
663686
664687
OUTPUT:
665688
@@ -717,7 +740,9 @@ def frames(self):
717740
.. SEEALSO::
718741
719742
This method invokes
720-
:meth:`~sage.manifolds.differentiable.manifold.Manifold.frames`.
743+
:meth:`~sage.manifolds.differentiable.manifold.DifferentiableManifold.frames`
744+
of class
745+
:class:`~sage.manifolds.differentiable.manifold.DifferentiableManifold`.
721746
722747
OUTPUT:
723748
@@ -764,7 +789,9 @@ def coframes(self):
764789
.. SEEALSO::
765790
766791
This method invokes
767-
:meth:`~sage.manifolds.differentiable.manifold.Manifold.coframes`.
792+
:meth:`~sage.manifolds.differentiable.manifold.DifferentiableManifold.coframes`
793+
of class
794+
:class:`~sage.manifolds.differentiable.manifold.DifferentiableManifold`.
768795
769796
OUTPUT:
770797
@@ -816,7 +843,7 @@ def trivialization(self, coordinates='', names=None, calc_method=None):
816843
.. SEEALSO::
817844
818845
This method invokes
819-
:meth:`~sage.manifolds.manifold.Manifold.chart`.
846+
:meth:`~sage.manifolds.manifold.TopologicalManifold.chart`.
820847
821848
INPUT:
822849
@@ -864,7 +891,7 @@ def trivialization(self, coordinates='', names=None, calc_method=None):
864891
examples below). If no interval range, no period and no LaTeX spelling
865892
is to be set for any coordinate, the argument ``coordinates`` can be
866893
omitted when the shortcut operator ``<,>`` is used to declare the
867-
chart (see examples below).
894+
trivialization.
868895
869896
OUTPUT:
870897
@@ -900,7 +927,7 @@ def transitions(self):
900927
.. SEEALSO::
901928
902929
This method invokes
903-
:meth:`~sage.manifolds.manifold.Manifold.coord_changes`.
930+
:meth:`~sage.manifolds.manifold.TopologicalManifold.coord_changes`.
904931
905932
EXAMPLES:
906933
@@ -954,7 +981,7 @@ def transition(self, chart1, chart2):
954981
.. SEEALSO::
955982
956983
This method invokes
957-
:meth:`~sage.manifolds.manifold.Manifold.coord_change`.
984+
:meth:`~sage.manifolds.manifold.TopologicalManifold.coord_change`.
958985
959986
INPUT:
960987
@@ -992,7 +1019,7 @@ def is_manifestly_trivial(self):
9921019
9931020
EXAMPLES:
9941021
995-
A just created manifold has no a priori manifestly trivial tensor
1022+
A just created manifold has a priori no manifestly trivial tangent
9961023
bundle::
9971024
9981025
sage: M = Manifold(2, 'M')

src/sage/manifolds/local_frame.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Local Frames
33
44
The class :class:`LocalFrame` implements local frames on vector bundles
5-
(see :class:`sage.manifolds.vector_bundle.TopologicalVectorBundle` or
6-
:class:`sage.manifolds.differentiable.vector_bundle.DifferentiableVectorBundle`).
5+
(see :class:`~sage.manifolds.vector_bundle.TopologicalVectorBundle` or
6+
:class:`~sage.manifolds.differentiable.vector_bundle.DifferentiableVectorBundle`).
77
88
For `k=0,1,\dots`, a *local frame* on a vector bundle `E \to M` of class `C^k`
99
and rank `n` is a local section `(e_1,\dots,e_n):U \to E^n` of class `C^k`
@@ -1510,4 +1510,4 @@ def trivialization(self):
15101510
True
15111511
15121512
"""
1513-
return self._trivialization
1513+
return self._trivialization

src/sage/manifolds/manifold.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1571,7 +1571,7 @@ def vector_bundle(self, rank, name, field='real', latex_name=None):
15711571
- ``name`` -- name given to the total space
15721572
- ``field`` -- (default: ``'real'``) topological field giving the
15731573
vector space structure to the fibers
1574-
- ``latex_name`` -- optional latex name for the total space
1574+
- ``latex_name`` -- optional LaTeX name for the total space
15751575
15761576
OUTPUT:
15771577

src/sage/manifolds/section.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Section(ModuleElement):
6262
6363
EXAMPLES:
6464
65-
A section on a non-trivial 2-rank vector bundle over a non-trivial
65+
A section on a non-trivial rank 2 vector bundle over a non-trivial
6666
2-manifold::
6767
6868
sage: M = Manifold(2, 'M', structure='top')
@@ -110,8 +110,9 @@ class Section(ModuleElement):
110110
111111
sage: s.add_comp_by_continuation(fV, W, chart=c_uv)
112112
113-
At this stage, `s` is fully defined, having components in frames fU and fV
114-
and the union of the domains of fU and fV being the whole manifold::
113+
At this stage, `s` is fully defined, having components in frames ``fU``
114+
and ``fV`` and the union of the domains of ``fU`` and ``fV`` being the
115+
whole manifold::
115116
116117
sage: s.display(fV)
117118
s = (-1/4*u^2 + 1/4*v^2 + 1/2*u + 1/2*v) (phi_V^*e_1)
@@ -576,7 +577,7 @@ def restrict(self, subdomain):
576577
577578
EXAMPLES:
578579
579-
Restrictions of a section on a 2-rank vector bundle over the 2-sphere::
580+
Restrictions of a section on a rank 2 vector bundle over the 2-sphere::
580581
581582
sage: S2 = Manifold(2, 'S^2', structure='top', start_index=1)
582583
sage: U = S2.open_subset('U') ; V = S2.open_subset('V') # complement of the North and South pole, respectively
@@ -1092,7 +1093,7 @@ def display(self, frame=None, chart=None):
10921093
10931094
EXAMPLES:
10941095
1095-
Display of section on a 2-rank vector bundle over the 2-sphere::
1096+
Display of section on a rank 2 vector bundle over the 2-sphere::
10961097
10971098
sage: S2 = Manifold(2, 'S^2', structure='top', start_index=1)
10981099
sage: U = S2.open_subset('U') ; V = S2.open_subset('V') # complement of the North and South pole, respectively
@@ -1254,7 +1255,7 @@ def at(self, point):
12541255
12551256
EXAMPLES:
12561257
1257-
Vector on a 2-rank vector bundle fiber over a non-parallelizable
1258+
Vector on a rank 2 vector bundle fiber over a non-parallelizable
12581259
2-dimensional manifold::
12591260
12601261
sage: M = Manifold(2, 'M', structure='top')
@@ -1953,7 +1954,7 @@ def _rmul_(self, scalar):
19531954
for dom, rst in self._restrictions.items():
19541955
resu._restrictions[dom] = scalar.restrict(dom) * rst
19551956
resu_name = format_mul_txt(scalar._name, '*', self._name)
1956-
resu_latex = format_mul_latex(scalar._latex_name, ' \cdot ',
1957+
resu_latex = format_mul_latex(scalar._latex_name, r' \cdot ',
19571958
self._latex_name)
19581959
resu.set_name(name=resu_name, latex_name=resu_latex)
19591960
return resu
@@ -2010,7 +2011,7 @@ class TrivialSection(FiniteRankFreeModuleElement, Section):
20102011
20112012
EXAMPLES:
20122013
2013-
A section on a trivial 3-rank vector bundle over the 3-sphere::
2014+
A section on a trivial rank 3 vector bundle over the 3-sphere::
20142015
20152016
sage: M = Manifold(3, 'S^3', structure='top')
20162017
sage: U = M.open_subset('U') ; V = M.open_subset('V') # complement of the North and South pole, respectively
@@ -2649,4 +2650,4 @@ def at(self, point):
26492650
comp_resu = resu.add_comp(frame.at(point))
26502651
for ind, val in comp._comp.items():
26512652
comp_resu._comp[ind] = val(point)
2652-
return resu
2653+
return resu

src/sage/manifolds/section_module.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
r"""
23
Section Modules
34
@@ -55,6 +56,9 @@ class SectionModule(UniqueRepresentation, Parent):
5556
5657
where `E_p` is the vector bundle fiber of `E` at the point `p`.
5758
59+
`C^k(U;E)` is a module over `C^k(U)`, the algebra of `C^k` scalar fields on
60+
`U`.
61+
5862
INPUT:
5963
6064
- ``vbundle`` -- vector bundle `E` on which the sections takes its values
@@ -63,7 +67,7 @@ class SectionModule(UniqueRepresentation, Parent):
6367
6468
EXAMPLES:
6569
66-
Module of sections on the Moebius bundle::
70+
Module of sections on the Möbius bundle::
6771
6872
sage: M = Manifold(1, 'S^1', structure='top', start_index=1)
6973
sage: U = M.open_subset('U') # the complement of one point
@@ -85,7 +89,7 @@ class SectionModule(UniqueRepresentation, Parent):
8589
Module C^0(S^1;E) of sections on the 1-dimensional topological manifold
8690
S^1 with values in the real vector bundle E of rank 1
8791
88-
`C^0(S^1;E)` is a module over the algebra `C^0(M)`::
92+
`C^0(S^1;E)` is a module over the algebra `C^0(S^1)`::
8993
9094
sage: C0.category()
9195
Category of modules over Algebra of scalar fields on the 1-dimensional
@@ -98,7 +102,7 @@ class SectionModule(UniqueRepresentation, Parent):
98102
sage: isinstance(C0, FiniteRankFreeModule)
99103
False
100104
101-
since the Moebius bundle is not trivial::
105+
since the Möbius bundle is not trivial::
102106
103107
sage: E.is_manifestly_trivial()
104108
False
@@ -455,7 +459,7 @@ def set_default_frame(self, basis):
455459
sage: e is C0.default_frame()
456460
True
457461
458-
Notice, that the local frame is defined on a subset and not part of
462+
Notice, that the local frame is defined on a subset and is not part of
459463
the section module `C^k(M;E)`::
460464
461465
sage: C0.default_frame().domain()
@@ -524,7 +528,7 @@ class SectionFreeModule(FiniteRankFreeModule):
524528
sage: C0.base_ring() is M.scalar_field_algebra()
525529
True
526530
527-
The vector bundle admits a global frame and is therefore trivial:
531+
The vector bundle admits a global frame and is therefore trivial::
528532
529533
sage: E.is_manifestly_trivial()
530534
True
@@ -557,7 +561,7 @@ class SectionFreeModule(FiniteRankFreeModule):
557561
sage: C0.bases()
558562
[Local frame (E|_R^2, (e_0,e_1))]
559563
560-
The test suite is passed aswell::
564+
The test suite is passed as well::
561565
562566
sage: TestSuite(C0).run()
563567

0 commit comments

Comments
 (0)