pith. machine review for the scientific record. sign in

Explain the Lean theorem `ricci_scalar_equiv` in module `IndisputableMonolith.Cost.Ndim.RicciScalar`. Write for an educated reader who knows science and programming but may not know Lean. Cover: (1) what the declaration says in plain English, (2) why it matters in Recognition Science, (3) how to read the formal statement, (4) visible dependencies or certificates in the supplied source, and (5) what this declaration does not prove. Cite only declarations present in the supplied Recognition source.

Big AI job. Grok 4.3 reads the canon and writes a Lean-grounded derivation; usually 20 seconds to 2 minutes. The page will refresh to your answer when it’s ready.
confidence: high in recognition cached

1. What the declaration says in plain English

The theorem ricci_scalar_equiv establishes the algebraic equivalence of two different formulas for the same curvature quantity. Specifically, it proves that an expression using hyperbolic functions (ricciQ) evaluates to the exact same real number as an expression using exponential functions (ricciZexp), given any real parameters $a$ and $b$, and any coordinate $q$, provided $q$ is not zero and a specific denominator does not vanish.

2. Why it matters in Recognition Science

In Recognition Science, the cost function $J$ induces a "Hessian metric" defining the geometry of multidimensional cost spaces (MODEL). The curvature of this space—measured by the Ricci scalar—governs underlying structural properties. This theorem guarantees that calculating the Ricci scalar in the transformed hyperbolic $q$-coordinates is perfectly consistent with calculating it in the rational $Z$-coordinates. It provides a formal algebraic consistency check for the formulas used in the Multidimensional Cost Geometry calculations.

3. How to read the formal statement

theorem ricci_scalar_equiv (a b q : ℝ)
    (hq : q ≠ 0)
    (hLC : (a + b) * Real.cosh q - Real.sinh q ≠ 0) :
    ricciQ a b q = ricciZexp a b q
  • (a b q : ℝ): The variables $a$, $b$, and $q$ are real numbers.
  • (hq : q ≠ 0): A required premise that $q$ is non-zero.
  • (hLC : ... ≠ 0): A structural premise ensuring that the denominator from the Levi-Civita connection does not evaluate to zero, preventing undefined division.
  • ricciQ a b q = ricciZexp a b q: The conclusion, stating that the $q$-form definition equals the $Z$-form definition.

4. Visible dependencies in the source

The proof operates by triangulating both expressions through a third canonical rational form, ricciW, formulated in terms of $w = e^q$.

  • It relies on ricciZexp_eq_ricciW, proving the $Z$-form equals the $w$-form.
  • It relies on ricciQ_eq_ricciW, proving the $q$-form also equals the $w$-form (utilizing the non-vanishing conditions). By showing both equal ricciW a b (Real.exp q), the theorem bridges them by transitivity.

5. What this declaration does not prove

This theorem strictly proves an algebraic identity between two explicitly written formulas. It does not prove the differential geometry steps that generated these formulas. The computation of the metric tensor from the Hessian, the derivation of the Christoffel symbols, and the tensor contractions that yield the Ricci scalar are mathematically upstream of this equivalence and are not mechanically certified by this specific Lean theorem.

cited recognition theorems

outside recognition

Aspects Recognition does not yet address:

  • The formal differential geometry derivations showing how the Hessian metric tensor contracts to these exact Ricci scalar formulas.

recognition modules consulted

The Recognition library is at github.com/jonwashburn/shape-of-logic. The model is restricted to the supplied Lean source and instructed not to invent theorem names. Treat output as a starting point, not a verified proof.