Validate Your CM Invariants with Maple: Open Source Code Available for Testing

  • Context: Maple 
  • Thread starter Thread starter bcrowell
  • Start date Start date
  • Tags Tags
    Maple
Click For Summary
SUMMARY

The discussion centers on validating the Carminati-McLenaghan (CM) invariants using open-source code implemented in Maxima, as the original Maple package is proprietary. The CM invariants consist of 16 polynomial curvature invariants, and the author seeks assistance from users with access to Maple to verify the results generated by their Maxima implementation. Specific examples, such as the invariant ##W_1## for Schwarzschild spacetime, are provided to illustrate the need for validation against known results. The author has created a test suite available on GitHub to facilitate this verification process.

PREREQUISITES
  • Understanding of Carminati-McLenaghan invariants
  • Familiarity with the Maxima computer algebra system
  • Basic knowledge of spacetime metrics, particularly Schwarzschild spacetime
  • Experience with polynomial curvature invariants
NEXT STEPS
  • Explore the implementation of Carminati-McLenaghan invariants in Maple
  • Learn how to use the Maxima computer algebra system for testing mathematical invariants
  • Investigate the properties of polynomial curvature invariants in general relativity
  • Review the test suite provided in the GitHub repository for CM invariants
USEFUL FOR

This discussion is beneficial for researchers in general relativity, developers working with computer algebra systems, and anyone interested in validating mathematical invariants in spacetime metrics.

bcrowell
Staff Emeritus
Science Advisor
Insights Author
Messages
6,723
Reaction score
431
There is a set of 16 polynomial curvature invariants called the Carminati-McLenaghan invariants, described here: https://en.wikipedia.org/wiki/Carminati–McLenaghan_invariants . They've been implemented (I think by Carminati and McLenaghan themselves) in a free Maple package described here: http://grtensor.phy.queensu.ca/Griihelp/cmscalar.help . Maple itself, however, is proprietary. I've implemented the CM invariants as open-source code https://github.com/bcrowell/cm_invariants that works in the open-source computer algebra system Maxima. I've written up a bunch of tests, e.g., calculating the invariants in spacetimes where I know that they should vanish, or spacetimes where I know that some of them should diverge at a curvature singularity. However, I haven't found any tabulations online of what the CM invariants are *supposed* to be in cases where they're finite. For example, there is an invariant called ##W_1##, and for the Schwarzschild spacetime I get ##W_1=6m^2/r^6##, but although this seems reasonable, I don't have any way to check whether it's right (e.g., whether the numerical coefficient should really be 6).

Would anyone who has a copy of Maple be willing to run the Maple implementation of the CM invariants and tell me some results that I could use to check whether my code is calculating correct output? The spacetimes that I have used so far for tests are in this test suite: https://github.com/bcrowell/cm_invariants/tree/master/tests .

Any help would be much appreciated!
 
Physics news on Phys.org
Unfortunately, I don't own Maple. If I can help with some Mathematica package, let me know.
 
In another thread, I saw that @Ray Vickson uses Maple. He may be willing to help you.
 
  • Like
Likes   Reactions: bcrowell

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K