Metric-affine geometry

Connections, torsion, curvature and non-metricity, Ricci and Einstein tensors, the Bianchi identities, the Cartan structure equations and the Koszul formula, on the tangent bundle and on an algebroid. Here Metric and metric are the package’s metric context, not the metric atom exported by jacopy. The names below form the public facade jacopy.packages.metric_affine (its __all__); the facade is public but still evolving.

jacopy.packages.metric_affine.AdmissibilityDeclaration(...)

The admissibility axiom [ADM Def 3.4], applied in the COLLECTION direction: a same-signed transposed bracket pair ±(c·[a,b] … c·[b,a]) inside a sum is replaced by ±c·(Σ_s L(e^s,∇_{e_s}a,b) + Σ_s L(e^s,∇_{e_s}b,a)), and the equal-slot summand c·[u,u] by half of it.

jacopy.packages.metric_affine.anomaly_direction(...)

(1−𝒫)Λ(a,b) as a section — the recurring anomaly.

jacopy.packages.metric_affine.as_metric_context(g)

COERCE a metric object into this package's context (the compatibility bridge).

jacopy.packages.metric_affine.CoframeRecombinationDefinition(alg, fr)

Σ_s ρ(e_s)(f)·E(e^s) → E(Df) — coframe completeness in the collection direction (the sole direction; the decomposition inverse would ping-pong).

jacopy.packages.metric_affine.ComponentInput(fr, *)

A bundle of user-supplied component data on a frame.

jacopy.packages.metric_affine.connection_coefficient(...)

Γ^a_{bc} of the connection on the frame.

jacopy.packages.metric_affine.connection_form(...)

ω^a_b of the connection on the frame.

jacopy.packages.metric_affine.ConnectionCoefficient(...)

Γ^a_{bc} — a connection coefficient on a frame; a genuine function on the base (degree 0, not constant).

jacopy.packages.metric_affine.ConnectionDirectionLinearityDefinition([...])

∇_{fX + Y} T → f·∇_X T + ∇_Y T (definitional: a connection is C^∞-linear in the direction).

jacopy.packages.metric_affine.ConnectionForm(...)

ω^a_b — the connection 1-form on a frame (degree 1), defined by its evaluation ω^a_b(X) := ⟨e^a, ∇_X e_b⟩.

jacopy.packages.metric_affine.ConnectionFormEvaluationDefinition(...)

⟨ω^a_b, X⟩ → ⟨e^a, ∇_X e_b⟩ — the defining evaluation of the connection 1-form (constructed per connection/frame pair so the rewrite can rebuild ∇ and the coframe).

jacopy.packages.metric_affine.covariant_curvature_derivative(...)

(∇_X R)(Y, Z)W written out.

jacopy.packages.metric_affine.covariant_jacobi_theorems(...)

The Jacobi combination inside the connection's DIRECTION slot: Σ ±∇_{[·,[·,·]]} W = 0 — the instance theorem Bianchi II consumes.

jacopy.packages.metric_affine.covariant_modified_torsion_derivative(...)

(∇_u ᴸT)(v, w) written out.

jacopy.packages.metric_affine.covariant_torsion_derivative(...)

(∇_X T)(Y, Z) written out.

jacopy.packages.metric_affine.Curvature(...)

R(X, Y)Z — the curvature of a connection applied to Z, itself a section (degree-0 atom, wedge degree 1).

jacopy.packages.metric_affine.curvature(...)

R(X, Y)Z of the given connection.

jacopy.packages.metric_affine.curvature_component_formula(...)

jacopy.packages.metric_affine.CurvatureExpansionDefinition()

R(X, Y)Z → ∇_X ∇_Y Z − ∇_Y ∇_X Z − ∇_{[X,Y]} Z (canonical definition).

jacopy.packages.metric_affine.d_derived(...)

d(∇) ω (or d̂(∇) ω) — inert node, Palais-expanded by the derived engine.

jacopy.packages.metric_affine.derived_algebroid(base, *)

The derived context E^∇ (or E^∇̂) on the base's bundle.

jacopy.packages.metric_affine.derived_engine(...)

The base metric-affine engine + the derived context's Cartan rules (IntrinsicD/L of calc_{E^∇}) + the two bridges.

jacopy.packages.metric_affine.derived_is_projected(...)

True for E^∇̂, False for E^∇ (the contexts derived_algebroid() builds on base); anything else is refused — the bridge a derived context gets must be its own.

jacopy.packages.metric_affine.e_cartan_engine(...)

The derived-algebroid engine plus the frame layer of the Cartan equations.

jacopy.packages.metric_affine.e_cartan_first_sides(...)

(lhs, rhs, derived) of the first equation on (e_b, e_c): ⟨e^a, ᴸT(e_b,e_c)⟩ and d(∇)e^a(e_b,e_c) + (Σ_s ω^a_s ∧ e^s)(e_b,e_c) (projected_d=True puts d̂(∇) in — a WRONG statement, kept for the honest-failure test).

jacopy.packages.metric_affine.e_cartan_second_sides(...)

(lhs, rhs, derived) of the second equation on (e_c, e_d): ⟨e^a, ᴸ̂R(e_c,e_d)e_b⟩ and d̂(∇)ω^a_b(e_c,e_d) + (Σ_s ω^a_s ∧ ω^s_b)(e_c,e_d) (projected_d=False puts d(∇) in — WRONG, for the honest-failure test).

jacopy.packages.metric_affine.e_connection(alg)

A linear E-connection context on the algebroid's bundle [MC Def 3.2].

jacopy.packages.metric_affine.e_connection_engine(alg, *)

The algebroid engine extended with the E-connection layer: the connection structure rules plus the anchored scalar action and the E-torsion/E-curvature expansions.

jacopy.packages.metric_affine.e_nonmetricity(...)

Q(∇,g)(u,v,w) := ρ(u)(g(v,w)) − g(∇_u v, w) − g(v, ∇_u w) — the E-nonmetricity, as an explicit expression.

jacopy.packages.metric_affine.EConnectionScalarActionDefinition(alg)

∇_u f → ρ(u)(f) — the anchored scalar action of an E-connection (the algebroid counterpart of the tangent rule ∇_X f = X(f)).

jacopy.packages.metric_affine.ECurvatureExpansionDefinition(alg)

R⁽⁰⁾(u,v)w → ∇_u∇_v w − ∇_v∇_u w − ∇_{[u,v]_E} w — the E-curvature definition.

jacopy.packages.metric_affine.einstein_component(...)

G_{bd} := Ric_{bd} − ½·R·g(e_b, e_d) — the Einstein tensor components (canonical definition; trace identities like G^a_a = (1 − n/2)·R need the symbolic dimension n and are deliberately out of scope here).

jacopy.packages.metric_affine.EKoszulDeclaration(...)

∇ DECLARED E-Koszul [MC Def 3.14]: every metric-wrapped covariant derivative is solved through the modified Koszul formula,

jacopy.packages.metric_affine.ETorsionExpansionDefinition(alg)

T⁽⁰⁾(u,v) → ∇_u v − ∇_v u − [u,v]_E — the E-torsion definition (the algebroid bracket in the correction slot).

jacopy.packages.metric_affine.FrameConnectionCoefficientDefinition()

⟨e^a, ∇_{e_b} e_c⟩ → Γ^a_{bc} — the definition of the connection coefficient (the frame extraction pattern).

jacopy.packages.metric_affine.FramePairingSplitDefinition()

⟨e^a, Σ tᵢ⟩ → Σ ⟨e^a, tᵢ⟩ — GUARDED: only when a summand is extraction-eligible (frame field, frame bracket, or frame covariant derivative).

jacopy.packages.metric_affine.fundamental_theorem_components(...)

The two sides of the lowered-index (3.44) on the E-frame (X_a): with Γ(∇)_{dbc} := g(∇_{X_b} X_c, X_d),

jacopy.packages.metric_affine.generalized_ricci_anomaly(...)

Σ_s [∇_{L(e^s,∇_{e_s}u,v)}w − ∇_{𝒫L(e^s,∇_{e_s}u,v)}w] — the (1−𝒫)-anomaly of the generalized Ricci identity [ADM eq (3.36)].

jacopy.packages.metric_affine.inverse_metric_component(g, ...)

g^{ab} of the metric g (canonical index order); the metric's bundle travels into the component's identity.

jacopy.packages.metric_affine.inverse_metric_component_named(...)

g^{ab} in canonical (sorted) index order — the symmetry of the inverse metric as a canonical form.

jacopy.packages.metric_affine.InverseMetricComponent(...)

g^{ab} — a component of the inverse metric on a frame; a scalar function.

jacopy.packages.metric_affine.koszul_correction(...)

K(∇,g,L)(u,v,w) [MC eq (3.36)].

jacopy.packages.metric_affine.lie_derived(...)

ℒ^∇_u — the derived Lie derivative operator.

jacopy.packages.metric_affine.Metric([name, ...])

g — a (pseudo-)Riemannian metric context on TM (symmetric, non-degenerate (0,2)-tensor BY DEFINITION).

jacopy.packages.metric_affine.metric([name, ...])

Create a metric context (default bundle: TM).

jacopy.packages.metric_affine.metric_affine_engine(*)

The TM engine extended with the package rules.

jacopy.packages.metric_affine.MetricCompatibilityDefinition(conn, g)

Declared ∇g = 0: X(g(Y,Z)) → g(∇_X Y, Z) + g(Y, ∇_X Z) for the declared (∇, g) pair (the tangent analogue of the algebroid C1).

jacopy.packages.metric_affine.MetricInverseContractionDefinition()

Σ_s g^{as}·g(e_s, e_c)·rest → δ^a_c·rest — the defining contraction of the inverse metric (rest must be free of the bound index).

jacopy.packages.metric_affine.MetricValue(...)

g(X, Y) — a metric evaluation, a scalar C^∞ function (degree-0 atom, NOT a derivation; slot protocol on X, Y).

jacopy.packages.metric_affine.MetricValueBilinearityDefinition([...])

C^∞-bilinearity of g (a (0,2)-tensor by definition).

jacopy.packages.metric_affine.MetricValueSymmetryDefinition()

g(Y, X) → g(X, Y) — canonical slot order (symmetric by definition; canonical-form family).

jacopy.packages.metric_affine.modified_bracket(...)

[u,v]^∇ := [u,v]_E − Σ_s L(e^s, ∇_{e_s}u, v) [ADM eq (3.12) with the canonical representative].

jacopy.packages.metric_affine.modified_torsion(...)

ᴸT(u,v) := T⁽⁰⁾(u,v) + Σ_s L(e^s, ∇_{e_s}u, v) [MC Def 3.7 with the canonical representative].

jacopy.packages.metric_affine.ModifiedTorsionFreeDeclaration(...)

ᴸT(∇) = 0 declared, solved for the bracket in the expansion direction:

jacopy.packages.metric_affine.NonMetricity(...)

Q(X, Y, Z) — the non-metricity of (∇, g), a scalar C^∞ function (canonical definition Q(X,Y,Z) := X(g(Y,Z)) − g(∇_X Y, Z) − g(Y, ∇_X Z)).

jacopy.packages.metric_affine.nonmetricity(...)

Q(X, Y, Z) of the pair (∇, g).

jacopy.packages.metric_affine.nonmetricity_form(...)

Q_ab(∇, g) of the connection and metric on the frame.

jacopy.packages.metric_affine.nonmetricity_form_component_formula(...)

e_c(g_ab) − Σ_s Γ^s_ca g_sb − Σ_s Γ^s_cb g_as [ADM (2.5), (2.13)].

jacopy.packages.metric_affine.NonMetricityExpansionDefinition()

Q(X,Y,Z) → X(g(Y,Z)) − g(∇_X Y, Z) − g(Y, ∇_X Z) (canonical definition).

jacopy.packages.metric_affine.NonMetricityForm(...)

Q_ab(∇, g) — the non-metricity 1-form on a frame (degree 1), defined by its evaluation Q_ab(v) := Q(∇,g)(v, e_a, e_b) [ADM (2.12)].

jacopy.packages.metric_affine.NonMetricityFormEvaluationDefinition(...)

⟨Q_ab, v⟩ → Q(∇,g)(v, e_a, e_b) — the defining evaluation of the non-metricity 1-form [ADM (2.12)] (per connection/metric/ frame triple, so the rewrite can rebuild the frame legs).

jacopy.packages.metric_affine.projected_curvature(...)

ᴸ̂R(u,v,w) := R⁽⁰⁾(u,v)w + Σ_s ∇_{𝒫(L(e^s, ∇_{e_s}u, v))} w [MC Def 3.11 / Cor 3.3].

jacopy.packages.metric_affine.projected_modified_bracket(...)

b̂(p,q) := [p,q]_E − Λ̂(p,q) — the projected modified bracket, on arbitrary section expressions.

jacopy.packages.metric_affine.prove_admissible_implies_metric_compatible(...)

[ADM Prop 3.5, ⟹ direction — completes the equivalence]: on an almost-Courant algebroid, an ADMISSIBLE connection is metric-compatible on the frame directions:

jacopy.packages.metric_affine.prove_bianchi_first(...)

The torsionful first Bianchi identity 𝔖 R(X,Y)Z = 𝔖 [ T(T(X,Y),Z) + (∇_X T)(Y,Z) ].

jacopy.packages.metric_affine.prove_bianchi_second(...)

The torsionful second Bianchi identity 𝔖 [ (∇_X R)(Y,Z)W + R(T(X,Y), Z)W ] = 0.

jacopy.packages.metric_affine.prove_cartan_first_evaluated(...)

The first Cartan structure equation, frame-evaluated:

jacopy.packages.metric_affine.prove_cartan_first_structure(...)

The first Cartan structure equation with the GENUINE indexed wedge sum, evaluated on frame arguments:

jacopy.packages.metric_affine.prove_cartan_second_structure(...)

The second Cartan structure equation, frame-evaluated with the genuine indexed wedge sum:

jacopy.packages.metric_affine.prove_connection_difference_tensorial(...)

Δ(∇,∇')(X,Y) := ∇_X Y − ∇'_X Y is C^∞-bilinear: the direction slot by connection linearity, the argument slot because the two Leibniz terms X(f)·Y cancel between the connections [MC Prop 3.1 pattern].

jacopy.packages.metric_affine.prove_connection_form_on_frame(...)

ω^a_b(e_c) = Γ^a_{cb} — the connection form evaluated on the frame yields the coefficients.

jacopy.packages.metric_affine.prove_courant_locality_generator(...)

[MC Prop 4.1 / B (4.8)]: the almost-Courant symmetric part S(u,v) := g⁻¹(D g(u,v)) satisfies the local consistency condition with the metric-generated locality operator:

jacopy.packages.metric_affine.prove_curvature_antisymmetry(...)

R(X, Y)Z = −R(Y, X)Z.

jacopy.packages.metric_affine.prove_curvature_components(...)

⟨e^a, R(e_c, e_d) e_b⟩ = the classical component formula — requires the frame-decomposition axioms (the ΓΓ terms come from decomposing the inner covariant derivative).

jacopy.packages.metric_affine.prove_curvature_tensorial(...)

R(fX,Y)Z = R(X,fY)Z = R(X,Y)(fZ) = f·R(X,Y)Z — slot by slot.

jacopy.packages.metric_affine.prove_derived_magic_on_forms(...)

Cartan magic for the derived calculus on a p-FORM, evaluated against the given section slots (len(slots) == p):

jacopy.packages.metric_affine.prove_derived_magic_on_functions(...)

Cartan magic on functions for the derived calculus, ℒ^∇_u f = (d(∇) ι_u + ι_u d(∇)) f — declaration-free (the generic Cartan magic, inherited through the bridges).

jacopy.packages.metric_affine.prove_e_bianchi_first_identity(...)

E-Bianchi I (see module docstring).

jacopy.packages.metric_affine.prove_e_bianchi_second_identity(...)

jacopy.packages.metric_affine.prove_e_cartan_first(...)

[ADM Prop 3.9, first of (3.48)], frame-evaluated:

jacopy.packages.metric_affine.prove_e_cartan_second(...)

[ADM Prop 3.9, second of (3.48)], frame-evaluated:

jacopy.packages.metric_affine.prove_e_connection_anchored_leibniz(...)

∇_u(f·v) = ρ(u)(f)·v + f·∇_u v — the anchored Leibniz rule, inherited from product_rule + the anchored scalar action (no new axiom).

jacopy.packages.metric_affine.prove_e_curvature_last_slot_conditional(...)

[MC (3.19) + Proposition 3.3] R⁽⁰⁾(u,v)(f·w) = f·R⁽⁰⁾(u,v)w — holds exactly when the anchor is a bracket morphism: the obstruction is (ρ(u)ρ(v) − ρ(v)ρ(u) − ρ([u,v]))(f)·w.

jacopy.packages.metric_affine.prove_e_generalized_koszul(...)

The E-generalized Koszul identity (see module docstring) — ARBITRARY connection, no declarations; the Q- and ᴸT-blocks carry the whole defect.

jacopy.packages.metric_affine.prove_e_koszul_admissible_implies_compatible(...)

[ADM Prop 3.12, ⟸ half 1]: a connection that is E-Koszul (declared) and admissible (declared, metric-wrapped) is metric-compatible — Q(∇,g)(u,v,w) = 0.

jacopy.packages.metric_affine.prove_e_koszul_admissible_implies_torsion_free(...)

[ADM Prop 3.12, ⟸ half 2]: an E-Koszul admissible connection is modified-torsion-free.

jacopy.packages.metric_affine.prove_e_koszul_formula(...)

The clean modified Koszul formula [MC Prop 3.7-3.8 / Def 3.14] under the DECLARED ᴸT = 0 + Q = 0:

jacopy.packages.metric_affine.prove_e_koszul_unique_under_null_locality(...)

[MC Thm 3.2, abstract half]: with a NULL locality operator the E-Koszul connection is UNIQUE — two Koszul-declared connections satisfy g(∇¹_u v − ∇²_u v, w) = 0 mechanically (the K-corrections vanish with L = 0, both sides collapse to the same Koszul right-hand side), and non-degeneracy (the explicitly labeled stripping step) gives ∇¹_u v = ∇²_u v.

jacopy.packages.metric_affine.prove_e_torsion_second_slot_tensorial(...)

T⁽⁰⁾(u, f·v) = f·T⁽⁰⁾(u, v) — the second slot IS tensorial (the anchored Leibniz cancels against the declared right-Leibniz of the bracket).

jacopy.packages.metric_affine.prove_fundamental_theorem_components(...)

[MC Thm 3.2, component half — eq (3.44)] on a local almost-Leibniz algebroid with a NULL locality operator: the components of an ARBITRARY E-connection ∇ decompose as the components of the unique E-Koszul connection K∇ (declared E-Koszul) plus the non-metricity and pseudo-torsion blocks of ∇ — the lowered-index form of (3.44), obtained by pairing with X_d instead of contracting with g^{ad}:

jacopy.packages.metric_affine.prove_generalized_koszul(...)

The generalized Koszul identity — NO declarations needed: every Q and T expands definitionally and the derivative terms cancel.

jacopy.packages.metric_affine.prove_generalized_ricci_identity(...)

[ADM Prop 3.8]: the generalized Ricci identity on a local algebroid, for an ARBITRARY E-connection (purely definitional — no declarations):

jacopy.packages.metric_affine.prove_koszul_formula(...)

The classical Koszul formula — closes under the declared metric-compatible (∇, g) + torsion-free ∇ rules; fails honestly without them.

jacopy.packages.metric_affine.prove_koszul_reference_decomposition(...)

[ADM Prop 3.13, identity form]: the deviation of an ARBITRARY connection ∇ from an E-Koszul reference ∇̄ (declared) is pure defect data:

jacopy.packages.metric_affine.prove_levi_civita_unique(...)

Uniqueness of the Levi-Civita connection: two metric-compatible torsion-free connections agree.

jacopy.packages.metric_affine.prove_metric_compatible_implies_admissible(...)

[ADM Prop 3.5, ⟸ direction]: on an almost-Courant algebroid (locality = ᵍL), a METRIC-COMPATIBLE connection satisfies the admissibility equation:

jacopy.packages.metric_affine.prove_metric_lie_derivative_identity(...)

jacopy.packages.metric_affine.prove_modified_bracket_left_leibniz(...)

[ADM Prop 3.2, dull part]: for ANY linear E-connection,

jacopy.packages.metric_affine.prove_modified_torsion_symmetric_part_vanishes(...)

[ADM Cor 3.2] in symmetric-part form: ᴸT(u,v) + ᴸT(v,u) = 0 for an ADMISSIBLE connection (the declaration collects the transposed bracket pair).

jacopy.packages.metric_affine.prove_modified_torsion_tensorial(...)

ᴸT(f·u, v) = f·ᴸT(u, v) AND ᴸT(u, f·v) = f·ᴸT(u, v) — the modified torsion is a genuine tensor on a local algebroid [MC Corollary 3.2 / Definition 3.7]: the recombined L(Df,u,v) cancels the pseudo defect.

jacopy.packages.metric_affine.prove_nonmetricity_form_cartan(...)

Q_ab(e_c) = e_c(g_ab) − Σ_s ω^s_a(e_c) g_sb − Σ_s ω^s_b(e_c) g_as — the non-metricity forms in terms of the connection 1-forms (Q_ab = dg_ab − ω_ba − ω_ab with ω_ab := g_as ω^s_b, evaluated on the frame).

jacopy.packages.metric_affine.prove_nonmetricity_form_components(...)

Q_ab(e_c) = e_c(g_ab) − Σ_s Γ^s_ca g_sb − Σ_s Γ^s_cb g_as [ADM (2.5), (2.13)] — needs the frame-decomposition declaration for (∇, frame).

jacopy.packages.metric_affine.prove_nonmetricity_form_symmetric(...)

Q_ab(X) = Q_ba(X) for an ARBITRARY vector X — the non-metricity forms are symmetric in the frame indices (g is symmetric); declaration-free.

jacopy.packages.metric_affine.prove_nonmetricity_form_tensorial(...)

Q_ab(f·X) = f·Q_ab(X) — Q_ab is a genuine 1-form (C^∞(M)-linear in its argument); declaration-free.

jacopy.packages.metric_affine.prove_projected_curvature_first_slot(...)

ᴸ̂R(f·u, v, w) = f·ᴸ̂R(u, v, w) [MC Cor 3.3, first slot]: the recombined ∇_{𝒫(L(Df,u,v))}w meets the projector's absorption rule (L̂ ∈ [L̃]) and cancels the pseudo defect.

jacopy.packages.metric_affine.prove_projected_curvature_last_slot(...)

ᴸ̂R(u, v, f·w) = f·ᴸ̂R(u, v, w) [MC Prop 3.3-3.4 composed]: the R⁽⁰⁾ part needs the anchor morphism, the correction's Leibniz term dies by the projector's KERNEL rule (ρ(𝒫(L(…))) = 0 — im(L̂) ⊂ ker ρ).

jacopy.packages.metric_affine.prove_projected_d_squared_associator(...)

[ADM eqs (3.44)-(3.45)]: on E-1-forms the projected d̂² does NOT vanish — it measures the ASSOCIATOR (Jacobiator combination, in the calculus orientation) of the projected modified bracket:

jacopy.packages.metric_affine.prove_projected_d_squared_on_functions(...)

[ADM eq (3.43)]: (d̂(∇)² f)(u, v) = 0 — the projected modified bracket's anchor image equals the base bracket's (kernel rule ρ(𝒫L) = 0), so the base anchor-morphism declaration closes the function-level d².

jacopy.packages.metric_affine.prove_projectors_agree_on_coboundary_values(...)

[MC Prop 4.2, mechanizable fragment]: ANY two locality projectors agree on coboundary locality values — 𝒫₁(L(Df,u,v)) − 𝒫₂(L(Df,u,v)) = 0 (both absorption rules fire).

jacopy.packages.metric_affine.prove_pseudo_torsion_first_slot_defect(...)

T⁽⁰⁾(f·u, v) = f·T⁽⁰⁾(u, v) − L(Df, u, v) — the PSEUDO tensor's first-slot defect on a local algebroid: the bracket's left-Leibniz locality term survives.

jacopy.packages.metric_affine.prove_ricci_components(...)

Ric_{bd} = Σ_s [ e_s(Γ^s_bd) − e_b(Γ^s_sd) + Σ_t Γ^s_st Γ^t_bd − Σ_t Γ^s_bt Γ^t_sd − Σ_t Γ^s_td γ^t_sb ] — the trace of the component formula (nested sums; shadowing and capture handled by the α-machinery).

jacopy.packages.metric_affine.prove_ricci_identity_on_functions(...)

∇_X ∇_Y f − ∇_Y ∇_X f − ∇_{[X,Y]} f = 0 — the curvature operator kills scalars (purely definitional: ∇f = Xf and the bracket's commutator definition).

jacopy.packages.metric_affine.prove_ricci_scalar_components(...)

The Ricci scalar unfolds to the Γ-component form: R = Σ_s Σ_t g^{st} · Σ_u [component-formula trace] — the triple-sum computation, mechanical end to end.

jacopy.packages.metric_affine.prove_torsion_antisymmetry(...)

T(X, Y) = −T(Y, X).

jacopy.packages.metric_affine.prove_torsion_components(...)

⟨e^a, T(e_b, e_c)⟩ = Γ^a_{bc} − Γ^a_{cb} − γ^a_{bc} — the torsion components on the frame.

jacopy.packages.metric_affine.prove_torsion_free_implies_admissible(...)

[ADM Prop 3.3]: under the declared ᴸT(∇) = 0 the admissibility equation [u,v] + [v,u] = ΣL(e^s,∇u,v) + ΣL(e^s,∇v,u) closes mechanically (the ∇ terms cancel pairwise).

jacopy.packages.metric_affine.prove_torsion_tensorial(...)

T(fX, Y) = f·T(X,Y) and T(X, fY) = f·T(X,Y) — the Leibniz terms of ∇ cancel against the bracket's module structure (both derived, not assumed).

jacopy.packages.metric_affine.ricci_component(...)

Ric_{bd} := Σ_s ⟨e^s, R(e_s, e_b) e_d⟩ — the trace of the curvature over its first slot (the canonical definition).

jacopy.packages.metric_affine.ricci_scalar(...)

R := Σ_s Σ_t g^{st} · Ric_{st} — the Ricci scalar as its canonical contraction (bounds: the three bound names — outer two for the metric contraction, inner one for the Ricci trace).

jacopy.packages.metric_affine.Torsion(...[, ...])

T(X, Y) — the torsion of a connection, itself a section (degree-0 atom, wedge degree 1; slot protocol on X, Y).

jacopy.packages.metric_affine.torsion(conn, X, Y)

T(X, Y) of the given connection.

jacopy.packages.metric_affine.TorsionExpansionDefinition()

T(X, Y) → ∇_X Y − ∇_Y X − [X, Y] (canonical definition — the TANGENT case: the bracket emitted is the Lie bracket, so the rule guards on the tangent bundle; algebroid torsion expands via ETorsionExpansionDefinition with the algebroid bracket).

jacopy.packages.metric_affine.TorsionFreeDefinition(conn)

Declared T(∇) = 0: [X, Y] → ∇_X Y − ∇_Y X (the bracket expressed through the declared torsion-free connection).