Encyclopedia Foundation Foundation Jcost Geometry Jcost Unit Curvature
ARTICLE 3 claims 2 theorems 1 model
Foundation Jcost Geometry Jcost Unit Curvature
A small theorem shows that the cost of a tiny mismatch is a parabola with a bounded error term, a fact that anchors the framework's geometry.
The curvature of cost
The cost function J(x) = ½(x + x⁻¹) − 1 measures the price of a ratio x between two quantities. When x is exactly 1, the cost is 0. The theorem jcost_unit_curvature examines what happens near that perfect match. Write x = 1 + ε, where ε is a small displacement. The theorem states that for |ε| ≤ 1/2, the cost equals ε²/2 plus a correction term c·ε³, with the constant c bounded by 2 in absolute value. In plain language, near the optimum the cost rises like a parabola, and the cubic correction is controlled.
This is a local statement, not a global one. It does not say the cost is exactly a parabola everywhere; it gives a precise bound on how much the true curve can deviate from the parabola within a fixed window. The bound |c| ≤ 2 is what makes the statement useful: it turns a vague approximation into a rigorous inequality. The theorem is proved in the machine-checked library of formal theorems, and it is a direct consequence of the algebraic identity J(1+ε) = ε²/(2(1+ε)), which itself follows from the closed form of J.
In Recognition Science, this curvature fact is the seed of a geometric picture. The cost function is not just a formula; it has a shape. Near its minimum, that shape is quadratic, which is the same local behavior as the energy of a stretched spring. The bounded cubic term says the spring is not perfectly harmonic, but the deviation is small and controlled. This is the sense in which the framework claims a natural geometry for cost: the local curvature is fixed, and the anharmonicity is bounded.
The theorem does not claim that the cost function is globally quadratic, nor that the bound c ≤ 2 is sharp. It also does not identify what the constant c is; it only asserts that some such c exists within the bound. The statement is conditional on the displacement ε lying in the interval [−1/2, 1/2]; outside that window, the theorem says nothing. These limitations are part of the theorem's content, not omissions.
THEOREM jcost_unit_curvature · IndisputableMonolith/Foundation/JCostGeometry.lean
/-- **F1.1.6**: J(1) = 0 and the second derivative at 1 gives unit curvature.
We state this via the quadratic approximation. -/
theorem jcost_unit_curvature (ε : ℝ) (hε : |ε| ≤ 1/2) :
∃ c : ℝ, Jcost (1 + ε) = ε ^ 2 / 2 + c * ε ^ 3 ∧ |c| ≤ 2 :=
Jcost_one_plus_eps_quadratic ε hε
MODEL jcost_reciprocal · IndisputableMonolith/Foundation/JCostGeometry.lean
/-- **F1.1.4**: J(x) = J(1/x) for x > 0 -/
theorem jcost_reciprocal {x : ℝ} (hx : 0 < x) : Jcost x = Jcost x⁻¹ :=
Jcost_symm hx
THEOREM jcost_at_one · IndisputableMonolith/Foundation/JCostGeometry.lean
/-- **F1.1.2**: J(1) = 0 -/
theorem jcost_at_one : Jcost 1 = 0 := Jcost_unit0
What this page does not claim
The cost function is globally quadratic; the theorem only covers a small neighborhood of x = 1. The constant c in the cubic term is identified; the theorem only asserts its existence with a bound. The curvature statement applies outside the interval |ε| ≤ 1/2.
Verify this page
Every tagged claim above names its theorem. To check one yourself rather than trust this page, elaborate the source module with Lean 4 and audit its axiom basis:
$ lake env lean IndisputableMonolith/Foundation/JCostGeometry.lean
expected axiom basis: [propext, Classical.choice, Quot.sound] (the Lean kernel's standard three; no RS-specific axioms)
A page whose claims cannot be reproduced this way does not ship. In production, every anchor links to the exact declaration in the public source release, and this block carries the build receipt for the page itself.
Derived articles
This page is generated by a question-recursion engine: the questions its answers raise become the next pages. The current agenda, with open targets marked red:
- What global properties of the cost function follow from its local quadratic behavior near the minimum?
- How does the bounded cubic correction term affect descent algorithms that use the cost gradient?
- Does the curvature fact generalize to cost functions defined on higher-dimensional ratio spaces?
- What is the significance of the specific bound |c| ≤ 2 for the framework's geometric interpretation?
MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND
THEOREM jcost_unit_curvature · IndisputableMonolith/Foundation/JCostGeometry.lean
/-- **F1.1.6**: J(1) = 0 and the second derivative at 1 gives unit curvature. We state this via the quadratic approximation. -/ theorem jcost_unit_curvature (ε : ℝ) (hε : |ε| ≤ 1/2) : ∃ c : ℝ, Jcost (1 + ε) = ε ^ 2 / 2 + c * ε ^ 3 ∧ |c| ≤ 2 := Jcost_one_plus_eps_quadratic ε hεThe theorem jcost_unit_curvature states that for |ε| ≤ 1/2, the cost J(1+ε) equals ε²/2 plus a correction term c·ε³, with the constant c bounded by 2 in absolute value. jcost_unit_curvature · IndisputableMonolith/Foundation/JCostGeometry.leanMODEL jcost_reciprocal · IndisputableMonolith/Foundation/JCostGeometry.lean
/-- **F1.1.4**: J(x) = J(1/x) for x > 0 -/ theorem jcost_reciprocal {x : ℝ} (hx : 0 < x) : Jcost x = Jcost x⁻¹ := Jcost_symm hxThe cost function J(x) = ½(x + x⁻¹) − 1 measures the price of a ratio x between two quantities. jcost_reciprocal · IndisputableMonolith/Foundation/JCostGeometry.leanTHEOREM jcost_at_one · IndisputableMonolith/Foundation/JCostGeometry.lean
/-- **F1.1.2**: J(1) = 0 -/ theorem jcost_at_one : Jcost 1 = 0 := Jcost_unit0When x is exactly 1, the cost is 0. jcost_at_one · IndisputableMonolith/Foundation/JCostGeometry.lean