Encyclopedia Gravity Gravity Seven Gaps Hinge Stationarity Core Sourced Ratio Cubic Error
ARTICLE 5 claims 4 theorems 1 model
Gravity Seven Gaps Hinge Stationarity Core Sourced Ratio Cubic Error
A machine-checked theorem bounds how closely a minimal recognition cost approximates a simple linear relation, and states exactly where an unproved assumption enters.
The sourced ratio error
The declaration sourced_ratio_cubic_error is a theorem in the framework's machine-checked library of formal theorems. It concerns a quantity called the recognition ratio, which in this context is a number derived from a ledger: a discrete record of events, here the strain ratios across a hinge in a discrete geometry. The theorem states that when a certain action, a sum of costs, is minimized, the logarithm of the ratio differs from a linear term by an error bounded by the cube of that term, divided by six times the square of the number of cells.
In symbols, for any positive integer n and real number c, the theorem proves |n * arsinh(c/n) - c| ≤ |c|³ / (6 n²). The function arsinh is the inverse hyperbolic sine. The bound is sharp in the sense that the constant 1/6 is achieved, not merely a loose upper estimate. This is a precise statement about how the minimal cost solution behaves for small arguments: the linear term dominates, and the cubic correction is controlled. The proof is kernel-checked, meaning it is verified by a computer proof assistant with no gaps and no framework-specific axioms.
The theorem is part of a larger investigation into whether a bridge relation, log x_sigma = kappa_sigma * delta_sigma + O(h³), can be derived from cost stationarity alone. The library also records two negative results that shaped this positive one. A raw Stokes route, summing coboundary strains around a closed cycle, provably telescopes to zero and cannot source a nonzero hinge deficit. A naive budget formulation, imposing the holonomy sum as a hypothesis, is circular: the budget hypothesis already is the conclusion, and stationarity contributes nothing.
What the theorem does not claim is as important as what it proves. The action being minimized includes an explicit coupling term, -(kappa*delta/n) * sum_i t_i, which is a constitutive model choice, not derived from the bare ledger. The theorem does not derive this coupling from first principles. It also does not establish that the curvature hypothesis, |deficit| ≤ C_K h², holds; that is a separate input. The admissibility predicate is a uniform small-h family condition, with constants quantified outside the mesh scale, and the theorem carries content exactly when the scale h0 is positive.
The practical consequence is a clean division of labor. The framework proves, with machine certainty, that if you accept a specific deficit-source coupling and a curvature bound, then the ratio obeys the cubic error law with an explicit constant. The framework does not prove the coupling itself, and it does not prove the curvature bound. This separation is the honest core of the result: what is forced by stationarity, and what is assumed by the model.
THEOREM sourced_ratio_cubic_error · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.lean
/-- **THEOREM (item 4, cubic error of the sourced ratio, constant 1/6).**
|n * arsinh(c/n) - c| <= |c|^3 / (6 n^2) for n >= 1. This is the honest
form of the bridge expansion: the sourced stationary log ratio
n * arsinh(c/n) equals the deficit source c = kappa*delta up to an
explicitly bounded cubic error. -/
theorem sourced_ratio_cubic_error (n : ℕ) (hn : 1 ≤ n) (c : ℝ) :
|(n : ℝ) * Real.arsinh (c / n) - c|
≤ |c| ^ 3 / (6 * (n : ℝ) ^ 2) := by
have hn0 : (0 : ℝ) < n := by exact_mod_cast hn
have hne : (n : ℝ) ≠ 0 := ne_of_gt hn0
have hkey : (n : ℝ) * Real.arsinh (c / n) - c
= (n : ℝ) * (Real.arsinh (c / n) - c / n) := by
field_simp
rw [hkey, abs_mul, abs_of_pos hn0]
have hcn : |c / (n : ℝ)| ^ 3 = |c| ^ 3 / (n : ℝ) ^ 3 := by
rw [abs_div, abs_of_pos hn0, div_pow]
calc (n : ℝ) * |Real.arsinh (c / n) - c / n|
≤ (n : ℝ) * (|c / (n : ℝ)| ^ 3 / 6) :=
mul_le_mul_of_nonneg_left (abs_arsinh_sub_self_le (c / n)) hn0.le
_ = |c| ^ 3 / (6 * (n : ℝ) ^ 2) := by
rw [hcn]
field_simp
THEOREM abs_arsinh_sub_self_le · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.lean
/-- **THEOREM (cubic error of arsinh, constant 1/6).**
|arsinh y - y| <= |y|^3 / 6 for ALL y (nonnegative branch from the two
bounds above, negative branch by oddness of arsinh). -/
theorem abs_arsinh_sub_self_le (y : ℝ) :
|Real.arsinh y - y| ≤ |y| ^ 3 / 6 := by
rcases le_or_gt 0 y with hy | hy
· have h1 := arsinh_le_self_of_nonneg hy
have h2 := self_sub_cube_le_arsinh hy
rw [abs_of_nonneg hy,
abs_of_nonpos (by linarith : Real.arsinh y - y ≤ 0)]
linarith
· have hy' : 0 ≤ -y := by linarith
have h1 := arsinh_le_self_of_nonneg hy'
have h2 := self_sub_cube_le_arsinh hy'
rw [Real.arsinh_neg] at h1 h2
have hcube : (-y) ^ 3 = -(y ^ 3) := by ring
rw [hcube] at h2
rw [abs_of_neg hy,
abs_of_nonneg (by linarith : 0 ≤ Real.arsinh y - y)]
have hgoal : (-y) ^ 3 = -(y ^ 3) := by ring
rw [hgoal]
linarith
THEOREM closedCycle_coboundary_sum_eq_zero · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.lean
/-- **THEOREM (kill record C6, the raw Stokes route).** For a coboundary
strain s i j = f i - f j and any cyclic chain of cells v 0, v 1, ..., v m
with v m = v 0, the sum of strains around the cycle telescopes to zero.
Exact/coboundary substrate strains can NEVER sum to a nonzero deficit
around a closed hinge link: the raw Stokes route to the bridge relation is
dead, kernel-checked. -/
theorem closedCycle_coboundary_sum_eq_zero {Λ : Type*} {s : Λ → Λ → ℝ}
(hs : IsCoboundary s) (v : ℕ → Λ) (m : ℕ) (hcycle : v m = v 0) :
∑ k ∈ Finset.range m, s (v k) (v (k + 1)) = 0 := by
obtain ⟨f, hf⟩ := hs
calc ∑ k ∈ Finset.range m, s (v k) (v (k + 1))
= ∑ k ∈ Finset.range m,
((fun j => f (v j)) k - (fun j => f (v j)) (k + 1)) :=
Finset.sum_congr rfl fun k _ => hf (v k) (v (k + 1))
_ = f (v 0) - f (v m) := Finset.sum_range_sub' (fun j => f (v j)) m
_ = 0 := by rw [hcycle]; ring
THEOREM budget_implies_ratio_without_stationarity · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.lean
/-- **THEOREM (kill record raw 1b, the budget circularity).** If the
holonomy budget sum_i t_i = kappa*delta is IMPOSED, then the "conclusion"
log ratio = kappa*delta holds with NO optimization used: the proof term is
the budget hypothesis itself. This records, kernel-checked, that the naive
1b formulation (impose budget, minimize, conclude ratio) is CIRCULAR: the
budget already contains the conclusion; stationarity added nothing. -/
theorem budget_implies_ratio_without_stationarity {n : ℕ} (t : Fin n → ℝ)
(kappa delta : ℝ) (hbudget : ∑ i, t i = kappa * delta) :
naiveLogRatio n t = kappa * delta := hbudget
MODEL sourcedAction · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.lean
/-- The sourced action Phi(t) = sum_i (cosh t_i - 1) - (c/n) * sum_i t_i:
the J-cost of the per-tick strains (via J(exp t) = cosh t - 1,
`Cost.Jcost_exp_cosh`) plus an explicit deficit-source coupling of total
strength c = kappa*delta, split evenly across the n ticks. The coupling
term is the MODEL input; see the module header. -/
noncomputable def sourcedAction (n : ℕ) (c : ℝ) (t : Fin n → ℝ) : ℝ :=
(∑ i, (Real.cosh (t i) - 1)) - c / n * ∑ i, t i
What this page does not claim
The theorem does not derive the deficit-source coupling term from the bare RecognitionLedger. The theorem does not prove the curvature hypothesis |deficit| ≤ C_K h²; that is an input assumption. The theorem does not establish the bridge relation log x_sigma = kappa_sigma * delta_sigma + O(h³) without the coupling model.
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/Gravity/SevenGaps/HingeStationarityCore.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 physical interpretation does the deficit-source coupling term carry in a discrete gravity setting?
- Can the curvature bound |deficit| ≤ C_K h² be derived from a more primitive ledger condition, or must it always be assumed?
- How does the cubic error bound behave when the number of cells n grows, and does it improve the approximation in a physically relevant limit?
- What distinguishes the achieved constant 1/6 from the optional cosh(r)/24 constant mentioned in the specification?
MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND
THEOREM sourced_ratio_cubic_error · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.lean
/-- **THEOREM (item 4, cubic error of the sourced ratio, constant 1/6).** |n * arsinh(c/n) - c| <= |c|^3 / (6 n^2) for n >= 1. This is the honest form of the bridge expansion: the sourced stationary log ratio n * arsinh(c/n) equals the deficit source c = kappa*delta up to an explicitly bounded cubic error. -/ theorem sourced_ratio_cubic_error (n : ℕ) (hn : 1 ≤ n) (c : ℝ) : |(n : ℝ) * Real.arsinh (c / n) - c| ≤ |c| ^ 3 / (6 * (n : ℝ) ^ 2) := by have hn0 : (0 : ℝ) < n := by exact_mod_cast hn have hne : (n : ℝ) ≠ 0 := ne_of_gt hn0 have hkey : (n : ℝ) * Real.arsinh (c / n) - c = (n : ℝ) * (Real.arsinh (c / n) - c / n) := by field_simp rw [hkey, abs_mul, abs_of_pos hn0] have hcn : |c / (n : ℝ)| ^ 3 = |c| ^ 3 / (n : ℝ) ^ 3 := by rw [abs_div, abs_of_pos hn0, div_pow] calc (n : ℝ) * |Real.arsinh (c / n) - c / n| ≤ (n : ℝ) * (|c / (n : ℝ)| ^ 3 / 6) := mul_le_mul_of_nonneg_left (abs_arsinh_sub_self_le (c / n)) hn0.le _ = |c| ^ 3 / (6 * (n : ℝ) ^ 2) := by rw [hcn] field_simpThe theorem proves |n * arsinh(c/n) - c| ≤ |c|³ / (6 n²). sourced_ratio_cubic_error · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.leanTHEOREM abs_arsinh_sub_self_le · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.lean
/-- **THEOREM (cubic error of arsinh, constant 1/6).** |arsinh y - y| <= |y|^3 / 6 for ALL y (nonnegative branch from the two bounds above, negative branch by oddness of arsinh). -/ theorem abs_arsinh_sub_self_le (y : ℝ) : |Real.arsinh y - y| ≤ |y| ^ 3 / 6 := by rcases le_or_gt 0 y with hy | hy · have h1 := arsinh_le_self_of_nonneg hy have h2 := self_sub_cube_le_arsinh hy rw [abs_of_nonneg hy, abs_of_nonpos (by linarith : Real.arsinh y - y ≤ 0)] linarith · have hy' : 0 ≤ -y := by linarith have h1 := arsinh_le_self_of_nonneg hy' have h2 := self_sub_cube_le_arsinh hy' rw [Real.arsinh_neg] at h1 h2 have hcube : (-y) ^ 3 = -(y ^ 3) := by ring rw [hcube] at h2 rw [abs_of_neg hy, abs_of_nonneg (by linarith : 0 ≤ Real.arsinh y - y)] have hgoal : (-y) ^ 3 = -(y ^ 3) := by ring rw [hgoal] linarithThe constant 1/6 in the error bound is achieved, not merely a loose upper estimate. abs_arsinh_sub_self_le · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.leanTHEOREM closedCycle_coboundary_sum_eq_zero · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.lean
/-- **THEOREM (kill record C6, the raw Stokes route).** For a coboundary strain s i j = f i - f j and any cyclic chain of cells v 0, v 1, ..., v m with v m = v 0, the sum of strains around the cycle telescopes to zero. Exact/coboundary substrate strains can NEVER sum to a nonzero deficit around a closed hinge link: the raw Stokes route to the bridge relation is dead, kernel-checked. -/ theorem closedCycle_coboundary_sum_eq_zero {Λ : Type*} {s : Λ → Λ → ℝ} (hs : IsCoboundary s) (v : ℕ → Λ) (m : ℕ) (hcycle : v m = v 0) : ∑ k ∈ Finset.range m, s (v k) (v (k + 1)) = 0 := by obtain ⟨f, hf⟩ := hs calc ∑ k ∈ Finset.range m, s (v k) (v (k + 1)) = ∑ k ∈ Finset.range m, ((fun j => f (v j)) k - (fun j => f (v j)) (k + 1)) := Finset.sum_congr rfl fun k _ => hf (v k) (v (k + 1)) _ = f (v 0) - f (v m) := Finset.sum_range_sub' (fun j => f (v j)) m _ = 0 := by rw [hcycle]; ringA raw Stokes route, summing coboundary strains around a closed cycle, provably telescopes to zero. closedCycle_coboundary_sum_eq_zero · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.leanTHEOREM budget_implies_ratio_without_stationarity · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.lean
/-- **THEOREM (kill record raw 1b, the budget circularity).** If the holonomy budget sum_i t_i = kappa*delta is IMPOSED, then the "conclusion" log ratio = kappa*delta holds with NO optimization used: the proof term is the budget hypothesis itself. This records, kernel-checked, that the naive 1b formulation (impose budget, minimize, conclude ratio) is CIRCULAR: the budget already contains the conclusion; stationarity added nothing. -/ theorem budget_implies_ratio_without_stationarity {n : ℕ} (t : Fin n → ℝ) (kappa delta : ℝ) (hbudget : ∑ i, t i = kappa * delta) : naiveLogRatio n t = kappa * delta := hbudgetA naive budget formulation, imposing the holonomy sum as a hypothesis, is circular. budget_implies_ratio_without_stationarity · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.leanMODEL sourcedAction · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.lean
/-- The sourced action Phi(t) = sum_i (cosh t_i - 1) - (c/n) * sum_i t_i: the J-cost of the per-tick strains (via J(exp t) = cosh t - 1, `Cost.Jcost_exp_cosh`) plus an explicit deficit-source coupling of total strength c = kappa*delta, split evenly across the n ticks. The coupling term is the MODEL input; see the module header. -/ noncomputable def sourcedAction (n : ℕ) (c : ℝ) (t : Fin n → ℝ) : ℝ := (∑ i, (Real.cosh (t i) - 1)) - c / n * ∑ i, t iThe action being minimized includes an explicit coupling term that is a constitutive model choice, not derived from the bare ledger. sourcedAction · IndisputableMonolith/Gravity/SevenGaps/HingeStationarityCore.lean