Geometry of the round sphere
Before this lesson: Compute the geometry of the round three-sphere.
How can a computer distinguish a negative sphere-curvature convention from a wrong connection? Reproduce the connection from its defining equations, keep the tensor indices in a declared order, and compare with an experiment that does not use the same formula. Here that experiment is parallel transport: a tangent vector returns rotated after traveling around a closed curve.
Prepare with the geometry of the round three-sphere. That lesson supplies the analytic derivation. This laboratory implements it, deliberately breaks one sign, and tests finite transport using the sphere’s embedding in four-dimensional Euclidean space.
Specify the geometry and the output
Section titled “Specify the geometry and the output”The manifold is the round, positive-definite three-sphere of physical radius . Its dimensionless ambient coordinates satisfy , and its metric is the restriction of to tangent vectors. This is a geometric calculation: no gauge field, matter theory or supersymmetry-preserving background has been specified. A sphere metric alone does not determine preserved supercharges.
Use the orientation and the global coframe
The three frame indices run over ; the four ambient indices run over . The code uses zero-based indices for both. Before differentiating anything, it verifies the polynomial identities
On these show that the coframe has rank three everywhere and reproduces the tangent metric. Testing them at a few nonsingular points would not establish global rank. The code verifies the polynomials before restricting to the sphere, so the check also covers points where an angular chart degenerates.
The target output is
Here defines our connection, and . The last two expressions use the target paper’s Ricci convention, which we will contract explicitly. The curvature two-form is not itself a scalar curvature.
Derive rather than insert the connection
Section titled “Derive rather than insert the connection”Let be the dual tangent vectors. Differentiate the coefficients of (LAB03.1) in the ambient space and evaluate on . The result is
The factor two is essential: . In the compact expression , both ordered pairs are summed.
Write . Metric compatibility means , leaving nine unknown coefficients at each point. The torsion equation gives nine linear equations,
The script solves this system and obtains . Constancy of these coefficients is a result of the calculation; it does not mean that the connection is flat. The basis one-forms still have nonzero exterior derivatives.
For example, calculate the curvature entry:
Their sum has coefficient , not . The implementation evaluates every entry with
F[a, b, c, d] = sum( omega[a, b, f] * de[f, c, d] + omega[a, f, c] * omega[f, b, d] - omega[a, f, d] * omega[f, b, c] for f in range(3))Thus F[a,b,c,d] means . No extra factor belongs in this evaluated component: the appears when reconstructing a two-form from an ordered-pair sum.
Contract the indices in the paper’s order
Section titled “Contract the indices in the paper’s order”The paper writes its connection with the input frame index first: . Its commutator tensor and Ricci contraction are consequently
These are the definitions in Appendix A.2, (A.8)–(A.9) and the following paragraph. Inserting the computed curvature gives
Each fixed in the sum is one. The final scalar is . A common GR convention reverses the first two indices in this Ricci contraction and gives for the same connection and geometry. That legitimate convention change leaves torsion zero. Negating the connection while keeping the coframe fixed is a different operation.
The script also starts afresh from the coordinate metric
with both angular coordinates of period . Direct Christoffel differentiation gives . Integrating its volume density yields . This second calculation uses neither the solved frame connection nor its structure coefficients. The coordinate chart is local; global coverage came from (LAB03.1).
Run the editable calculation
Section titled “Run the editable calculation”Save these three files together:
Download the complete lab (ZIP) with the program, pinned dependencies, reference output and run instructions.
- sphere_geometry.py, the complete calculation;
- requirements.txt, the exact dependency versions;
- expected-output.json, the complete default output.
The tested environment is Python 3.13.7, SymPy 1.13.3 and mpmath 1.3.0 in an isolated environment. From the download directory, create and activate a virtual environment using your platform’s usual commands, then run:
python -m pip install -r requirements.txtpython sphere_geometry.pypython sphere_geometry.py --wrong-connection-signNo repository checkout, network request during execution or external data file is needed. To inspect just the symbolic result interactively, this complete small entry point uses the downloaded module:
from sphere_geometry import exact_geometry
result = exact_geometry()print(result["paper_Ricci_diagonal"])print(result["paper_scalar"])print(result["volume"])It prints ['-2/ell**2', '-2/ell**2', '-2/ell**2'], -6/ell**2, and 2*pi**2*ell**3. The default run passes 163 grouped exact assertions, covering the global frame, structure equations, solved connection, curvature, coordinate comparison and spin lift. Some assertions compare whole matrices and many curvature components vanish; this count is not 163 independent physical results.
| Mathematical object | Code representation |
|---|---|
| Global coframe coefficients | M, a symbolic matrix |
de[a,b,c] | |
omega[a,b,c], solved pointwise | |
F[a,b,c,d] | |
| Paper Ricci contraction | paper_ricci(F) |
| Three transported ambient vectors | V, a numerical matrix |
The deliberate-failure mode exits successfully only after detecting the specified wrong result. Its output includes torsion component 4/ell and scalar 18/ell**2. It does not label this as an alternative sphere convention.
Check finite transport without the connection formula
Section titled “Check finite transport without the connection formula”Choose a closed latitude inside the great two-sphere :
Here is an angular parameter, not physical arclength. A transported vector is an ambient four-vector tangent to the sphere, not a three-column of coefficients in the global frame. Intrinsic parallel transport means that its ambient derivative is normal to the sphere. Differentiating then fixes the normal component:
This equation follows directly from the induced metric; it contains no , or Ricci tensor. The factor cancels when the physical embedding is used. Transport therefore depends on the angular path, not its overall scale.
An exact comparison comes from a second, local tangent basis along this curve:
Projecting their derivatives onto the tangent space gives and . For , parallel transport requires , . Consequently, a vector starting at returns as
The third vector is fixed. The oriented rotation is , equivalently modulo . The latter is the northern cap area divided by , since its area is . This is ordinary sphere focusing, compatible with the paper’s negative Ricci contraction. It is not negative geometric Gaussian curvature.
The code integrates all three initial tangent vectors using fourth-order Runge–Kutta, without projecting or renormalizing after each step. Tangency and norm drift therefore remain useful error diagnostics. At the default , the exact rotation is modulo :
| Equal steps around the circle | Largest ambient-component error | Largest inner-product error |
|---|---|---|
| 64 | ||
| 128 | ||
| 256 |
These are actual errors against (LAB03.7), computed with 50 decimal digits of arithmetic. The component-error ratios are approximately and , approaching the fourth-order expectation . Using 70 digits at the same step count leaves the reported errors unchanged to twelve significant digits: integration error dominates roundoff. Neither the working precision nor the exact symbolic result makes the finite-step transport exact.
Try python sphere_geometry.py --cos-latitude 1/3 --steps 64 128 256 --digits 70. The rotation changes, but the sphere curvature does not. The diagnostic compares with the new exact rotation rather than with the old numerical answer.
Exercises
Section titled “Exercises”1. Interpret the deliberately wrong sign
Section titled “1. Interpret the deliberately wrong sign”Keep fixed and replace by . Derive the torsion and curvature returned by the failure mode. Why does the scalar rule out interpreting this as just the opposite Ricci convention?
First hint
The exterior derivative term changes sign; the quadratic connection term does not.
Second hint
For the original connection, has coefficient , while has coefficient .
Complete solution
Originally . The new torsion is therefore , so . It is not the Levi-Civita connection of the specified coframe.
The new curvature entry is , and the other entries follow cyclically. Taking the same paper contraction multiplies its original Ricci tensor by , giving and . Merely reversing the Ricci contraction would give with zero torsion. The factor three and nonzero torsion diagnose a different connection, not a notation translation.
2. Hold the path or hold its physical size
Section titled “2. Hold the path or hold its physical size”Double while holding the angular curve (LAB03.5) fixed. What happens to curvature and holonomy? Then instead hold a small physical circumference fixed and choose the northern latitude . Find its holonomy as a function of and its large-radius limit. Explain the difference between the two experiments.
First hint
The circumference is . A fixed angular path is not a fixed-size path.
Second hint
Insert the positive square root for into , then expand for small .
Complete solution
At fixed , the scalar becomes one-quarter as large, , while (LAB03.6) and its holonomy are unchanged. The cap area has grown by four, compensating the curvature scale.
At fixed , with and , the small-cap rotation is
Thus it tends to zero in the locally flat limit. The leading area is the planar disk value , multiplied by . Holding the loop’s angular size fixed instead makes its physical size grow with , so that experiment does not approach a fixed local flat-space loop. No change of supersymmetric background is involved in either comparison.
3. Repair a constant-matrix curvature calculation
Section titled “3. Repair a constant-matrix curvature calculation”The spin lift of the solved connection is , where . A program identifies spin curvature with . Compute its answer and repair it using the actual frame bracket. Does a zero derivative of the matrix entries imply zero curvature?
First hint
For noncommuting frame vectors, the curvature is .
Second hint
Use . The subtraction removes the vector differentiation and also leaves a connection contribution.
Complete solution
The naive matrix commutator is . Restoring the bracket term gives
The last expression is the spin lift of the vector curvature in (LAB03.2), in agreement with the paper’s (A.11)–(A.12). The missing term changes the sign. Constant coefficients in a noncoordinate frame neither imply zero curvature nor permit dropping the frame bracket. The downloaded script retains this correction in every spin-curvature component.
What the calculation establishes
Section titled “What the calculation establishes”You have a globally nonsingular coframe, a connection derived from compatibility and torsion, an explicitly translated Ricci trace, and a finite-transport test with a measured discretization error. The symbolic checks concern exact geometry; the numerical transport concerns a specified closed curve. Neither establishes a Killing-spinor solution, action invariance or a quantum result. Those require their own background data and calculations. Return to the canonical sphere calculation whenever a field-theory curvature coupling needs this sign.