Explanation of metricEntry in IndisputableMonolith.Cost.Ndim.Metric
(1) What the declaration says in plain English
The definition metricEntry computes a single entry of a metric tensor derived from the Hessian of the J-cost function (JlogN) expressed in logarithmic coordinates. For an n-dimensional space, it takes two vectors α and t (each of length n), plus indices i and j, and returns the real number given by the corresponding Hessian entry at those points.
(2) Why it matters in Recognition Science
This construction supports analysis of cost geometry in multi-dimensional recognition models. By deriving a metric from the Hessian, it enables study of local curvature and equilibrium behavior of the J-cost landscape, which is central to the cost-based forcing in RS.
(3) How to read the formal statement
The Lean declaration is:
noncomputable def metricEntry {n : ℕ} (α t : Vec n) (i j : Fin n) : ℝ :=
hessianEntry α t i j
noncomputableindicates the definition may rely on non-constructive real-number operations.{n : ℕ}makes the dimension implicit and generic.α t : Vec nare the input vectors (Vec is a type alias for functions from Fin n to ℝ).i j : Fin nare bounded indices.- The body delegates directly to
hessianEntry.
Supporting theorems in the same module:
- metricEntry_zero states that when t is the zero vector, the entry simplifies to the product α i * α j.
- metric_at_equilibrium_eq_hessian states that at equilibrium (t = 0), the entire metricEntry function equals hessianMatrix α.
(4) Visible dependencies or certificates in the supplied source
The module imports IndisputableMonolith.Cost.Ndim.Hessian and references hessianEntry and hessianMatrix. Certificates visible in the slice are the @[simp] theorem metricEntry_zero (proved via unfolding dot and simp) and the theorem metric_at_equilibrium_eq_hessian (proved via funext and simp). No other certificates appear in this module.
(5) What this declaration does not prove
It defines the entry and shows its zero-vector and equilibrium special cases but does not establish that the resulting object is a Riemannian metric, positive definite, or symmetric in general. It provides no connection to physical constants, forcing chains, or higher-level RS structures. The definitions of hessianEntry and hessianMatrix lie outside this source slice.