Pith. sign in

Explain the Lean def `multiplicativeQuadratic` in module `IndisputableMonolith.Cost.Ndim.Bridge`. 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. Your answer will appear below.
confidence: high in recognition cached

Explanation of multiplicativeQuadratic in IndisputableMonolith.Cost.Ndim.Bridge

(1) What the declaration says in plain English

The definition introduces a real-valued function that takes a dimension n, two vectors α and ε of that dimension, and returns half the square of their dot product. It is a quadratic form that captures a multiplicative interaction between the vectors rather than summing independent squared components.

(2) Why it matters in Recognition Science

This declaration belongs to the additive-multiplicative quadratic bridge in the N-dimensional cost module. It supplies one side of the decomposition that relates additive quadratic approximations (sum of squared entries) to multiplicative ones (square of the weighted dot product). The bridge supports modeling recognition costs in vector spaces, where the compensatory term quantifies the difference; related results in the module bound the multiplicative form by the additive form when the weight vector satisfies ‖α‖² ≤ 1.

(3) How to read the formal statement

noncomputable def multiplicativeQuadratic {n : ℕ} (α ε : Vec n) : ℝ :=
  (1 / 2 : ℝ) * (dot α ε) ^ 2
  • noncomputable indicates the definition relies on real arithmetic that Lean does not treat as executable.
  • {n : ℕ} is an implicit parameter (curly braces).
  • Vec n is the vector type imported from Core.
  • dot α ε is the dot-product operation on those vectors.
  • The body is ordinary real arithmetic: scale the squared dot product by 1/2.

(4) Visible dependencies or certificates in the supplied source

The module imports IndisputableMonolith.Cost.Ndim.Core (supplying Vec and dot). The same file defines the companion functions additiveQuadratic and compensatoryQuadratic. Key certificates include:

(5) What this declaration does not prove

It is a local definitional bridge only; it does not derive the one-dimensional J-cost functional equation, connect to φ or any RS constant, establish uniqueness of the cost law, or participate in the forcing chain. The supplied source contains no theorems linking this quadratic form to physical predictions or the broader Recognition Science ledger.

cited recognition theorems

outside recognition

Aspects Recognition does not yet address:

  • Definition of Vec and dot (imported from Core, not present in supplied slice)
  • Any connection to the one-dimensional J-cost law or forcing theorems
  • Physical interpretation or empirical predictions

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.