sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.47k stars 487 forks source link

SageManifolds metaticket 1 #18528

Closed egourgoulhon closed 2 years ago

egourgoulhon commented 9 years ago

This is the implementation of manifolds resulting from the SageManifolds project, developed by the following authors.

This metaticket covers the implementation up to Sage 9.2. See the metaticket #30525 for Sage >= 9.3.

Algebraic part

Topological and differential part

Bug fixes and performance improvements

Depends on #18175

CC: @sagetrac-mbejger @man74cio @tscrim @sagetrac-bpillet @LBrunswic @mjungmath @honglizhaobob

Component: geometry

Keywords: tensor, differential geometry

Issue created by migration from https://trac.sagemath.org/ticket/18528

egourgoulhon commented 9 years ago

Description changed:

--- 
+++ 
@@ -8,7 +8,7 @@
 ## Topological and differential part

 - **topological manifolds:** 
-  - basics (charts, subsets): *ticket not set yet*
+  - basics (charts, subsets): #18529
   - scalar fields (continuous functions to the base field): *ticket not set yet*
   - morphisms (continuous maps): *ticket not set yet*
 - **smooth manifolds:**
egourgoulhon commented 9 years ago

Description changed:

--- 
+++ 
@@ -9,7 +9,7 @@

 - **topological manifolds:** 
   - basics (charts, subsets): #18529
-  - scalar fields (continuous functions to the base field): *ticket not set yet*
+  - scalar fields (continuous functions to the base field): #18640
   - morphisms (continuous maps): *ticket not set yet*
 - **smooth manifolds:**
   - basics (charts, subsets): *ticket not set yet*
egourgoulhon commented 9 years ago

Description changed:

--- 
+++ 
@@ -10,12 +10,12 @@
 - **topological manifolds:** 
   - basics (charts, subsets): #18529
   - scalar fields (continuous functions to the base field): #18640
-  - morphisms (continuous maps): *ticket not set yet*
-- **smooth manifolds:**
+  - morphisms (continuous maps between manifolds): #18725
+- **differentiable manifolds:**
   - basics (charts, subsets): *ticket not set yet*
-  - scalar fields (smooth real-valued functions): *ticket not set yet*
+  - scalar fields (differentiable functions to the base field): *ticket not set yet*
   - tangent spaces: *ticket not set yet*
-  - morphisms (smooth maps): *ticket not set yet*
+  - morphisms (differentiable maps): *ticket not set yet*
   - submanifolds: *ticket not set yet*
   - tensor fields: *ticket not set yet*
   - differential forms: *ticket not set yet*
egourgoulhon commented 9 years ago

Description changed:

--- 
+++ 
@@ -12,13 +12,11 @@
   - scalar fields (continuous functions to the base field): #18640
   - morphisms (continuous maps between manifolds): #18725
 - **differentiable manifolds:**
-  - basics (charts, subsets): *ticket not set yet*
-  - scalar fields (differentiable functions to the base field): *ticket not set yet*
+  - basics (charts, transition maps, scalar fields, morphisms): #18783
+  - tensor fields: *ticket not set yet*
   - tangent spaces: *ticket not set yet*
-  - morphisms (differentiable maps): *ticket not set yet*
+  - differential forms: *ticket not set yet*  
   - submanifolds: *ticket not set yet*
-  - tensor fields: *ticket not set yet*
-  - differential forms: *ticket not set yet*
   - affine connections: *ticket not set yet*
 - **pseudo-riemannian manifolds:** 
   - pseudo-riemannian metrics: *ticket not set yet*
egourgoulhon commented 9 years ago

Description changed:

--- 
+++ 
@@ -1,4 +1,4 @@
-This is the implementation of manifolds (mostly smooth manifolds at the moment) resulting from the [SageManifolds project](http://sagemanifolds.obspm.fr/).
+This is the implementation of manifolds resulting from the [SageManifolds project](http://sagemanifolds.obspm.fr/).

 ## Algebraic part

@@ -13,9 +13,9 @@
   - morphisms (continuous maps between manifolds): #18725
 - **differentiable manifolds:**
   - basics (charts, transition maps, scalar fields, morphisms): #18783
-  - tensor fields: *ticket not set yet*
+  - vector fields, tensor fields and p-forms: #18843
   - tangent spaces: *ticket not set yet*
-  - differential forms: *ticket not set yet*  
+  - curves: *ticket not set yet*
   - submanifolds: *ticket not set yet*
   - affine connections: *ticket not set yet*
 - **pseudo-riemannian manifolds:** 
egourgoulhon commented 9 years ago

Description changed:

--- 
+++ 
@@ -14,7 +14,7 @@
 - **differentiable manifolds:**
   - basics (charts, transition maps, scalar fields, morphisms): #18783
   - vector fields, tensor fields and p-forms: #18843
-  - tangent spaces: *ticket not set yet*
+  - tangent spaces: #19092
   - curves: *ticket not set yet*
   - submanifolds: *ticket not set yet*
   - affine connections: *ticket not set yet*
egourgoulhon commented 9 years ago

Description changed:

--- 
+++ 
@@ -7,18 +7,20 @@

 ## Topological and differential part

-- **topological manifolds:** 
+- **Topological manifolds** (over **R**, **C** or a topological field K):
   - basics (charts, subsets): #18529
   - scalar fields (continuous functions to the base field): #18640
   - morphisms (continuous maps between manifolds): #18725
-- **differentiable manifolds:**
+- **Differentiable manifolds** (over **R**, **C** or a non-discrete topological field K):
   - basics (charts, transition maps, scalar fields, morphisms): #18783
   - vector fields, tensor fields and p-forms: #18843
   - tangent spaces: #19092
   - curves: *ticket not set yet*
   - submanifolds: *ticket not set yet*
   - affine connections: *ticket not set yet*
-- **pseudo-riemannian manifolds:** 
+- **Complex and almost complex manifolds:** 
+  - almost complex structures through Hodge structures: #18786
+- **Pseudo-riemannian manifolds:** 
   - pseudo-riemannian metrics: *ticket not set yet*
egourgoulhon commented 9 years ago

Description changed:

--- 
+++ 
@@ -15,7 +15,7 @@
   - basics (charts, transition maps, scalar fields, morphisms): #18783
   - vector fields, tensor fields and p-forms: #18843
   - tangent spaces: #19092
-  - curves: *ticket not set yet*
+  - curves: #19124
   - submanifolds: *ticket not set yet*
   - affine connections: *ticket not set yet*
 - **Complex and almost complex manifolds:** 
egourgoulhon commented 9 years ago

Changed keywords from tensors, differential geometry to tensor, differential geometry

egourgoulhon commented 9 years ago

Description changed:

--- 
+++ 
@@ -16,8 +16,7 @@
   - vector fields, tensor fields and p-forms: #18843
   - tangent spaces: #19092
   - curves: #19124
-  - submanifolds: *ticket not set yet*
-  - affine connections: *ticket not set yet*
+  - affine connections: #19147
 - **Complex and almost complex manifolds:** 
   - almost complex structures through Hodge structures: #18786
 - **Pseudo-riemannian manifolds:** 
egourgoulhon commented 9 years ago

Description changed:

--- 
+++ 
@@ -20,7 +20,7 @@
 - **Complex and almost complex manifolds:** 
   - almost complex structures through Hodge structures: #18786
 - **Pseudo-riemannian manifolds:** 
-  - pseudo-riemannian metrics: *ticket not set yet*
+  - pseudo-riemannian metrics: #19209
egourgoulhon commented 9 years ago
comment:12

All the tickets, except for #18786, are now ready for review.

egourgoulhon commented 9 years ago
comment:13

All the tickets are now based on the category ticket #18175, so that the manifold categories are

tscrim commented 9 years ago
comment:14

Something I would like to see once the basics are done is a catalog of examples and common interesting manifolds:

I understand that some of these could be considered more wishlist than others. Some other wishlist items:

egourgoulhon commented 9 years ago
comment:15

Replying to @tscrim:

Something I would like to see once the basics are done is a catalog of examples and common interesting manifolds:

Thanks for these suggestions. For sure, one should have a catalog of standard manifolds. For the time being, there are only examples available as worksheets at http://sagemanifolds.obspm.fr/examples.html, for instance

I understand that some of these could be considered more wishlist than others. Some other wishlist items:

  • Morse theory to compute homology of manifolds.
  • Manifolds with boundary
  • Cartesian products of manifolds (or more generally, fiber bundles)
  • DeRham cohomology (see, e.g., lecture notes above)

All the above seem indeed desirable extensions. Even if they are not implemented yet, we should have them in mind when setting the basics.

egourgoulhon commented 9 years ago
comment:16

PS: could you point to some existing catalog in Sage, in order to have some example?

tscrim commented 9 years ago
comment:17
egourgoulhon commented 9 years ago
comment:18

Thanks!

egourgoulhon commented 8 years ago

Description changed:

--- 
+++ 
@@ -21,6 +21,7 @@
   - almost complex structures through Hodge structures: #18786
 - **Pseudo-riemannian manifolds:** 
   - pseudo-riemannian metrics: #19209
+  - Schouten, Cotton, and Cotton-York tensors: #19823
egourgoulhon commented 8 years ago

Description changed:

--- 
+++ 
@@ -22,6 +22,7 @@
 - **Pseudo-riemannian manifolds:** 
   - pseudo-riemannian metrics: #19209
   - Schouten, Cotton, and Cotton-York tensors: #19823
+  - Euclidean spaces: #19978
egourgoulhon commented 8 years ago

Description changed:

--- 
+++ 
@@ -2,13 +2,13 @@

 ## Algebraic part

-- tensors on free modules of finite rank: #15916 (integrated in Sage 6.6)
-- parallelization of tensor computations on free modules of finite rank: #18100
+- tensors on free modules of finite rank: #15916 (merged in Sage 6.6)
+- parallelization of tensor computations on free modules of finite rank: #18100 (merged in Sage 6.10)

 ## Topological and differential part

 - **Topological manifolds** (over **R**, **C** or a topological field K):
-  - basics (charts, subsets): #18529
+  - basics (charts, subsets): #18529 (merged in Sage 7.1.beta1)
   - scalar fields (continuous functions to the base field): #18640
   - morphisms (continuous maps between manifolds): #18725
 - **Differentiable manifolds** (over **R**, **C** or a non-discrete topological field K):
egourgoulhon commented 8 years ago

Description changed:

--- 
+++ 
@@ -9,8 +9,8 @@

 - **Topological manifolds** (over **R**, **C** or a topological field K):
   - basics (charts, subsets): #18529 (merged in Sage 7.1.beta1)
-  - scalar fields (continuous functions to the base field): #18640
-  - morphisms (continuous maps between manifolds): #18725
+  - scalar fields (continuous functions to the base field): #18640 (merged in Sage 7.3.beta0)
+  - morphisms (continuous maps between manifolds): #18725 (merged in Sage 7.3.beta0)
 - **Differentiable manifolds** (over **R**, **C** or a non-discrete topological field K):
   - basics (charts, transition maps, scalar fields, morphisms): #18783
   - vector fields, tensor fields and p-forms: #18843
egourgoulhon commented 8 years ago

Description changed:

--- 
+++ 
@@ -12,7 +12,7 @@
   - scalar fields (continuous functions to the base field): #18640 (merged in Sage 7.3.beta0)
   - morphisms (continuous maps between manifolds): #18725 (merged in Sage 7.3.beta0)
 - **Differentiable manifolds** (over **R**, **C** or a non-discrete topological field K):
-  - basics (charts, transition maps, scalar fields, morphisms): #18783
+  - basics (charts, transition maps, scalar fields, morphisms): #18783 (merged in Sage 7.3.beta2)
   - vector fields, tensor fields and p-forms: #18843
   - tangent spaces: #19092
   - curves: #19124
tscrim commented 8 years ago

Description changed:

--- 
+++ 
@@ -17,6 +17,7 @@
   - tangent spaces: #19092
   - curves: #19124
   - affine connections: #19147
+  - Lie algebras: #20771
 - **Complex and almost complex manifolds:** 
   - almost complex structures through Hodge structures: #18786
 - **Pseudo-riemannian manifolds:** 
egourgoulhon commented 8 years ago

Description changed:

--- 
+++ 
@@ -2,8 +2,9 @@

 ## Algebraic part

-- tensors on free modules of finite rank: #15916 (merged in Sage 6.6)
-- parallelization of tensor computations on free modules of finite rank: #18100 (merged in Sage 6.10)
+- Tensors on free modules of finite rank: #15916 (merged in Sage 6.6)
+- Parallelization of tensor computations on free modules of finite rank: #18100 (merged in Sage 6.10)
+- Improve category for finite rank free modules and provide list functionality for basis: #20770 (merged in Sage 7.3.beta3)

 ## Topological and differential part
egourgoulhon commented 8 years ago

Description changed:

--- 
+++ 
@@ -16,10 +16,10 @@
   - basics (charts, transition maps, scalar fields, morphisms): #18783 (merged in Sage 7.3.beta2)
   - vector fields, tensor fields and p-forms: #18843
   - tangent spaces: #19092
+  - sets of vector fields as Lie algebroid: #20771
   - curves: #19124
   - affine connections: #19147
-  - Lie algebras: #20771
-- **Complex and almost complex manifolds:** 
+  - **Complex and almost complex manifolds:** 
   - almost complex structures through Hodge structures: #18786
 - **Pseudo-riemannian manifolds:** 
   - pseudo-riemannian metrics: #19209
egourgoulhon commented 8 years ago

Description changed:

--- 
+++ 
@@ -14,7 +14,7 @@
   - morphisms (continuous maps between manifolds): #18725 (merged in Sage 7.3.beta0)
 - **Differentiable manifolds** (over **R**, **C** or a non-discrete topological field K):
   - basics (charts, transition maps, scalar fields, morphisms): #18783 (merged in Sage 7.3.beta2)
-  - vector fields, tensor fields and p-forms: #18843
+  - vector fields, tensor fields and p-forms: #18843 (merged in Sage 7.5.beta1)
   - tangent spaces: #19092
   - sets of vector fields as Lie algebroid: #20771
   - curves: #19124
egourgoulhon commented 8 years ago

Description changed:

--- 
+++ 
@@ -2,22 +2,22 @@

 ## Algebraic part

-- Tensors on free modules of finite rank: #15916 (merged in Sage 6.6)
-- Parallelization of tensor computations on free modules of finite rank: #18100 (merged in Sage 6.10)
-- Improve category for finite rank free modules and provide list functionality for basis: #20770 (merged in Sage 7.3.beta3)
+- Tensors on free modules of finite rank: #15916 *(merged in Sage 6.6)*
+- Parallelization of tensor computations on free modules of finite rank: #18100 *(merged in Sage 6.10)*
+- Improve category for finite rank free modules and provide list functionality for basis: #20770 *(merged in Sage 7.3.beta3)*

 ## Topological and differential part

 - **Topological manifolds** (over **R**, **C** or a topological field K):
-  - basics (charts, subsets): #18529 (merged in Sage 7.1.beta1)
-  - scalar fields (continuous functions to the base field): #18640 (merged in Sage 7.3.beta0)
-  - morphisms (continuous maps between manifolds): #18725 (merged in Sage 7.3.beta0)
+  - basics (charts, subsets): #18529 *(merged in Sage 7.1.beta1)*
+  - scalar fields (continuous functions to the base field): #18640 *(merged in Sage 7.3.beta0)*
+  - morphisms (continuous maps between manifolds): #18725 *(merged in Sage 7.3.beta0)*
 - **Differentiable manifolds** (over **R**, **C** or a non-discrete topological field K):
-  - basics (charts, transition maps, scalar fields, morphisms): #18783 (merged in Sage 7.3.beta2)
-  - vector fields, tensor fields and p-forms: #18843 (merged in Sage 7.5.beta1)
-  - tangent spaces: #19092
-  - sets of vector fields as Lie algebroid: #20771
-  - curves: #19124
+  - basics (charts, transition maps, scalar fields, morphisms): #18783 *(merged in Sage 7.3.beta2)*
+  - vector fields, tensor fields and p-forms: #18843 *(merged in Sage 7.5.beta1)*
+  - tangent spaces: #19092 *(merged in Sage 7.5.beta3)*
+  - sets of vector fields as Lie algebroid: #20771 *(merged in Sage 7.5.beta3)*
+  - curves: #19124 *(merged in Sage 7.5.beta3)*
   - affine connections: #19147
   - **Complex and almost complex manifolds:** 
   - almost complex structures through Hodge structures: #18786
egourgoulhon commented 8 years ago

Description changed:

--- 
+++ 
@@ -18,12 +18,12 @@
   - tangent spaces: #19092 *(merged in Sage 7.5.beta3)*
   - sets of vector fields as Lie algebroid: #20771 *(merged in Sage 7.5.beta3)*
   - curves: #19124 *(merged in Sage 7.5.beta3)*
-  - affine connections: #19147
+  - affine connections: #19147 *(merged in Sage 7.5.beta4)*
   - **Complex and almost complex manifolds:** 
   - almost complex structures through Hodge structures: #18786
 - **Pseudo-riemannian manifolds:** 
-  - pseudo-riemannian metrics: #19209
-  - Schouten, Cotton, and Cotton-York tensors: #19823
+  - pseudo-riemannian metrics: #19209 *(merged in Sage 7.5.beta4)*
+  - Schouten, Cotton, and Cotton-York tensors: #19823 *(merged in Sage 7.5.beta4)*
   - Euclidean spaces: #19978
egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -19,7 +19,8 @@
   - sets of vector fields as Lie algebroid: #20771 *(merged in Sage 7.5.beta3)*
   - curves: #19124 *(merged in Sage 7.5.beta3)*
   - affine connections: #19147 *(merged in Sage 7.5.beta4)*
-  - **Complex and almost complex manifolds:** 
+  - parallelization of Lie derivative computations: #22200
+- **Complex and almost complex manifolds:** 
   - almost complex structures through Hodge structures: #18786
 - **Pseudo-riemannian manifolds:** 
   - pseudo-riemannian metrics: #19209 *(merged in Sage 7.5.beta4)*
tscrim commented 7 years ago
comment:33

Would there be any interest in Kontsevich graphs, which are related to Poisson structures on manifolds from what I saw? In particular, in https://arxiv.org/abs/1702.00681, there is reference to a C++ package https://github.com/rburing/kontsevich_graph_series-cpp (with the MIT license).

egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -12,6 +12,7 @@
   - basics (charts, subsets): #18529 *(merged in Sage 7.1.beta1)*
   - scalar fields (continuous functions to the base field): #18640 *(merged in Sage 7.3.beta0)*
   - morphisms (continuous maps between manifolds): #18725 *(merged in Sage 7.3.beta0)*
+  - fix bug with symbolic derivatives in simplification of coordinate functions: #22503
 - **Differentiable manifolds** (over **R**, **C** or a non-discrete topological field K):
   - basics (charts, transition maps, scalar fields, morphisms): #18783 *(merged in Sage 7.3.beta2)*
   - vector fields, tensor fields and p-forms: #18843 *(merged in Sage 7.5.beta1)*
@@ -19,7 +20,7 @@
   - sets of vector fields as Lie algebroid: #20771 *(merged in Sage 7.5.beta3)*
   - curves: #19124 *(merged in Sage 7.5.beta3)*
   - affine connections: #19147 *(merged in Sage 7.5.beta4)*
-  - parallelization of Lie derivative computations: #22200
+  - parallelization of Lie derivative computations: #22200 *(merged in Sage 7.6.beta3)*
 - **Complex and almost complex manifolds:** 
   - almost complex structures through Hodge structures: #18786
 - **Pseudo-riemannian manifolds:** 
egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -5,6 +5,7 @@
 - Tensors on free modules of finite rank: #15916 *(merged in Sage 6.6)*
 - Parallelization of tensor computations on free modules of finite rank: #18100 *(merged in Sage 6.10)*
 - Improve category for finite rank free modules and provide list functionality for basis: #20770 *(merged in Sage 7.3.beta3)*
+- Fix bug in list functionality of free module bases: #22518

 ## Topological and differential part
egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -6,6 +6,7 @@
 - Parallelization of tensor computations on free modules of finite rank: #18100 *(merged in Sage 6.10)*
 - Improve category for finite rank free modules and provide list functionality for basis: #20770 *(merged in Sage 7.3.beta3)*
 - Fix bug in list functionality of free module bases: #22518
+- Fix display of tensors on free modules of finite rank: #22520

 ## Topological and differential part
egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -14,6 +14,7 @@
   - basics (charts, subsets): #18529 *(merged in Sage 7.1.beta1)*
   - scalar fields (continuous functions to the base field): #18640 *(merged in Sage 7.3.beta0)*
   - morphisms (continuous maps between manifolds): #18725 *(merged in Sage 7.3.beta0)*
+  - fix bug in checking validity of coordinate values on a chart: #22535
   - fix bug with symbolic derivatives in simplification of coordinate functions: #22503
 - **Differentiable manifolds** (over **R**, **C** or a non-discrete topological field K):
   - basics (charts, transition maps, scalar fields, morphisms): #18783 *(merged in Sage 7.3.beta2)*
egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -5,8 +5,6 @@
 - Tensors on free modules of finite rank: #15916 *(merged in Sage 6.6)*
 - Parallelization of tensor computations on free modules of finite rank: #18100 *(merged in Sage 6.10)*
 - Improve category for finite rank free modules and provide list functionality for basis: #20770 *(merged in Sage 7.3.beta3)*
-- Fix bug in list functionality of free module bases: #22518
-- Fix display of tensors on free modules of finite rank: #22520

 ## Topological and differential part

@@ -14,8 +12,6 @@
   - basics (charts, subsets): #18529 *(merged in Sage 7.1.beta1)*
   - scalar fields (continuous functions to the base field): #18640 *(merged in Sage 7.3.beta0)*
   - morphisms (continuous maps between manifolds): #18725 *(merged in Sage 7.3.beta0)*
-  - fix bug in checking validity of coordinate values on a chart: #22535
-  - fix bug with symbolic derivatives in simplification of coordinate functions: #22503
 - **Differentiable manifolds** (over **R**, **C** or a non-discrete topological field K):
   - basics (charts, transition maps, scalar fields, morphisms): #18783 *(merged in Sage 7.3.beta2)*
   - vector fields, tensor fields and p-forms: #18843 *(merged in Sage 7.5.beta1)*
@@ -31,5 +27,11 @@
   - Schouten, Cotton, and Cotton-York tensors: #19823 *(merged in Sage 7.5.beta4)*
   - Euclidean spaces: #19978

+## Bug fixes

+- List functionality of free module bases: #22518
+- Display of tensors on free modules of finite rank: #22520
+- Checking validity of coordinate values on a chart: #22535
+- Symbolic derivatives in simplification of coordinate functions: #22503
+- Pullback on parallelizable manifolds: #22563
egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -29,9 +29,9 @@

 ## Bug fixes

-- List functionality of free module bases: #22518
-- Display of tensors on free modules of finite rank: #22520
-- Checking validity of coordinate values on a chart: #22535
-- Symbolic derivatives in simplification of coordinate functions: #22503
+- List functionality of free module bases: #22518 *(merged in Sage 7.6.rc0)*
+- Display of tensors on free modules of finite rank: #22520 *(merged in Sage 7.6.rc0)*
+- Checking validity of coordinate values on a chart: #22535 *(merged in Sage 7.6.rc0)*
+- Symbolic derivatives in simplification of coordinate functions: #22503 *(merged in Sage 7.6.rc0)*
 - Pullback on parallelizable manifolds: #22563
egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -34,4 +34,6 @@
 - Checking validity of coordinate values on a chart: #22535 *(merged in Sage 7.6.rc0)*
 - Symbolic derivatives in simplification of coordinate functions: #22503 *(merged in Sage 7.6.rc0)*
 - Pullback on parallelizable manifolds: #22563
+- Tensor field restrictions on parallelizable manifolds: #22637
+- Inverse metric on parallelizable manifolds: #22667
9f678f49-4130-412f-9e80-9b4753f727fc commented 7 years ago
comment:41

Replying to @tscrim:

Would there be any interest in Kontsevich graphs, which are related to Poisson structures on manifolds from what I saw? In particular, in https://arxiv.org/abs/1702.00681, there is reference to a C++ package https://github.com/rburing/kontsevich_graph_series-cpp (with the MIT license).

With collaborators (independent from the above) we have developed a Sage package for calculations with Kontsevich graphs, Poisson brackets and deformation quantizations; the preliminary version will be released later this year. We certainly would like to interface our code with SageManifolds.

The main thing we would need is a SageManifolds implementation of the algebra of multivector fields (exterior algebra of the tangent bundle) and its Schouten bracket https://en.wikipedia.org/wiki/Schouten%E2%80%93Nijenhuis_bracket. Are there any plans in this direction?

egourgoulhon commented 7 years ago
comment:42

Replying to @sagetrac-bpym:

With collaborators (independent from the above) we have developed a Sage package for calculations with Kontsevich graphs, Poisson brackets and deformation quantizations; the preliminary version will be released later this year. We certainly would like to interface our code with SageManifolds.

Very good!

The main thing we would need is a SageManifolds implementation of the algebra of multivector fields (exterior algebra of the tangent bundle) and its Schouten bracket https://en.wikipedia.org/wiki/Schouten%E2%80%93Nijenhuis_bracket. Are there any plans in this direction?

It would certainly be easy to implement multivector fields at the level of a sequence of modules over the ring of scalar fields, in the same footing as what has been done for differential forms, cf. http://doc.sagemath.org/html/en/reference/manifolds/sage/manifolds/differentiable/diff_form_module.html Each module, Vp(M) say, will be the set of multivector fields with a fixed degree p, i.e. the set of p-vectors. Implementing the Schouten bracket atop of this as an exterior operator Vp(M) x Vq(M) --> Vp+q-1(M) should not be too difficult either. But in such a setting, we do not introduce explicitely the algebra of multivector fields, which is the direct sum of all the modules Vp(M). Would this be an issue for you?

9f678f49-4130-412f-9e80-9b4753f727fc commented 7 years ago
comment:43

Replying to @egourgoulhon:

It would certainly be easy to implement multivector fields at the level of a sequence of modules over the ring of scalar fields, in the same footing as what has been done for differential forms ...

Great! This is indeed the sort of implementation I was imagining. One would like the operations of wedge product Vp x Vq -> Vp+q and Schouten bracket Vp x Vq -> Vp+q-1. One would also like to have interior contractions with forms Omegap x Vq -> Vq-p and Vp x Omegaq -> Omegaq-p, defined when q >= p.

But in such a setting, we do not introduce explicitely the algebra of multivector fields, which is the direct sum of all the modules Vp(M). Would this be an issue for you?

I don't foresee any issue.

egourgoulhon commented 7 years ago
comment:44

Replying to @sagetrac-bpym:

Replying to @egourgoulhon:

It would certainly be easy to implement multivector fields at the level of a sequence of modules over the ring of scalar fields, in the same footing as what has been done for differential forms ...

Great! This is indeed the sort of implementation I was imagining. One would like the operations of wedge product Vp x Vq -> Vp+q and Schouten bracket Vp x Vq -> Vp+q-1. One would also like to have interior contractions with forms Omegap x Vq -> Vq-p and Vp x Omegaq -> Omegaq-p, defined when q >= p.

This seems quite straightforward to implement. Only a matter of finding time to do it...

But in such a setting, we do not introduce explicitely the algebra of multivector fields, which is the direct sum of all the modules Vp(M). Would this be an issue for you?

I don't foresee any issue.

Very good!

The question is then: what is your time scale? i.e. when would you like these features to be available?

egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -33,7 +33,7 @@
 - Display of tensors on free modules of finite rank: #22520 *(merged in Sage 7.6.rc0)*
 - Checking validity of coordinate values on a chart: #22535 *(merged in Sage 7.6.rc0)*
 - Symbolic derivatives in simplification of coordinate functions: #22503 *(merged in Sage 7.6.rc0)*
-- Pullback on parallelizable manifolds: #22563
+- Pullback on parallelizable manifolds: #22563 *(merged in Sage 8.0.beta0)*
 - Tensor field restrictions on parallelizable manifolds: #22637
 - Inverse metric on parallelizable manifolds: #22667
egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -20,6 +20,7 @@
   - curves: #19124 *(merged in Sage 7.5.beta3)*
   - affine connections: #19147 *(merged in Sage 7.5.beta4)*
   - parallelization of Lie derivative computations: #22200 *(merged in Sage 7.6.beta3)*
+  - improvements in Jacobian determinants of transition maps: #22789
 - **Complex and almost complex manifolds:** 
   - almost complex structures through Hodge structures: #18786
 - **Pseudo-riemannian manifolds:** 
@@ -34,6 +35,6 @@
 - Checking validity of coordinate values on a chart: #22535 *(merged in Sage 7.6.rc0)*
 - Symbolic derivatives in simplification of coordinate functions: #22503 *(merged in Sage 7.6.rc0)*
 - Pullback on parallelizable manifolds: #22563 *(merged in Sage 8.0.beta0)*
-- Tensor field restrictions on parallelizable manifolds: #22637
-- Inverse metric on parallelizable manifolds: #22667
+- Tensor field restrictions on parallelizable manifolds: #22637 *(merged in Sage 8.0.beta1)*
+- Inverse metric on parallelizable manifolds: #22667 *(merged in Sage 8.0.beta1)*
egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -20,7 +20,6 @@
   - curves: #19124 *(merged in Sage 7.5.beta3)*
   - affine connections: #19147 *(merged in Sage 7.5.beta4)*
   - parallelization of Lie derivative computations: #22200 *(merged in Sage 7.6.beta3)*
-  - improvements in Jacobian determinants of transition maps: #22789
 - **Complex and almost complex manifolds:** 
   - almost complex structures through Hodge structures: #18786
 - **Pseudo-riemannian manifolds:** 
@@ -28,7 +27,7 @@
   - Schouten, Cotton, and Cotton-York tensors: #19823 *(merged in Sage 7.5.beta4)*
   - Euclidean spaces: #19978

-## Bug fixes
+## Bug fixes and performance improvements

 - List functionality of free module bases: #22518 *(merged in Sage 7.6.rc0)*
 - Display of tensors on free modules of finite rank: #22520 *(merged in Sage 7.6.rc0)*
@@ -37,4 +36,6 @@
 - Pullback on parallelizable manifolds: #22563 *(merged in Sage 8.0.beta0)*
 - Tensor field restrictions on parallelizable manifolds: #22637 *(merged in Sage 8.0.beta1)*
 - Inverse metric on parallelizable manifolds: #22667 *(merged in Sage 8.0.beta1)*
+- Improvements in Jacobian determinants of transition maps: #22789 *(merged in Sage 8.0.beta2)* 
+- Arithmetics of coordinate functions and scalar fields without zero check of the result: #22859 
85b4f6d6-bdf3-41b2-8f5a-eb6008de1f91 commented 7 years ago

Description changed:

--- 
+++ 
@@ -18,6 +18,7 @@
   - tangent spaces: #19092 *(merged in Sage 7.5.beta3)*
   - sets of vector fields as Lie algebroid: #20771 *(merged in Sage 7.5.beta3)*
   - curves: #19124 *(merged in Sage 7.5.beta3)*
+  - integrated curves and geodesics: #22951
   - affine connections: #19147 *(merged in Sage 7.5.beta4)*
   - parallelization of Lie derivative computations: #22200 *(merged in Sage 7.6.beta3)*
 - **Complex and almost complex manifolds:** 
egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -38,5 +38,5 @@
 - Tensor field restrictions on parallelizable manifolds: #22637 *(merged in Sage 8.0.beta1)*
 - Inverse metric on parallelizable manifolds: #22667 *(merged in Sage 8.0.beta1)*
 - Improvements in Jacobian determinants of transition maps: #22789 *(merged in Sage 8.0.beta2)* 
-- Arithmetics of coordinate functions and scalar fields without zero check of the result: #22859 
+- Arithmetics of coordinate functions and scalar fields without zero check of the result: #22859 *(merged in Sage 8.0.beta5)*
egourgoulhon commented 7 years ago

Description changed:

--- 
+++ 
@@ -5,6 +5,7 @@
 - Tensors on free modules of finite rank: #15916 *(merged in Sage 6.6)*
 - Parallelization of tensor computations on free modules of finite rank: #18100 *(merged in Sage 6.10)*
 - Improve category for finite rank free modules and provide list functionality for basis: #20770 *(merged in Sage 7.3.beta3)*
+- Exterior powers of free modules of finite rank: #23207

 ## Topological and differential part

@@ -12,6 +13,7 @@
   - basics (charts, subsets): #18529 *(merged in Sage 7.1.beta1)*
   - scalar fields (continuous functions to the base field): #18640 *(merged in Sage 7.3.beta0)*
   - morphisms (continuous maps between manifolds): #18725 *(merged in Sage 7.3.beta0)*
+  - SymPy as an alternative to SR for symbolic calculus on manifolds: #22801
 - **Differentiable manifolds** (over **R**, **C** or a non-discrete topological field K):
   - basics (charts, transition maps, scalar fields, morphisms): #18783 *(merged in Sage 7.3.beta2)*
   - vector fields, tensor fields and p-forms: #18843 *(merged in Sage 7.5.beta1)*
egourgoulhon commented 7 years ago
comment:51

Replying to @egourgoulhon:

Replying to @sagetrac-bpym:

Great! This is indeed the sort of implementation I was imagining. One would like the operations of wedge product Vp x Vq -> Vp+q and Schouten bracket Vp x Vq -> Vp+q-1. One would also like to have interior contractions with forms Omegap x Vq -> Vq-p and Vp x Omegaq -> Omegaq-p, defined when q >= p.

This seems quite straightforward to implement. Only a matter of finding time to do it...

The pure algebraic part of this has been implemented, including the interior products, see #23207. There remains to implement the differential part, in particular the Schouten bracket. On the Wikipedia page, there is some warning: "There are two different versions, both rather confusingly called by the same name." Do we agree that the thing to implement is the bracket given by the second formula in that page?

9f678f49-4130-412f-9e80-9b4753f727fc commented 7 years ago
comment:52

Replying to @egourgoulhon:

The pure algebraic part of this has been implemented, including the interior products, see #23207.

Great, thank you!

There remains to implement the differential part, in particular the Schouten bracket. On the Wikipedia page, there is some warning: "There are two different versions, both rather confusingly called by the same name." Do we agree that the thing to implement is the bracket given by the second formula in that page?

Yes, we agree.