Encyclopedia Foundation Foundation Primitive Recognition Calculus Prcnative Cost Structural Ledger Struc

ARTICLE 4 claims 4 theorems

Foundation Primitive Recognition Calculus Prcnative Cost Structural Ledger Struc

A single cost function on ratios is forced by five plain conditions, and the proof shows why each condition is needed.

The calibrated structural character

A cost function assigns a number to a ratio. The Recognition Science framework asks which cost functions are possible if costs are forced by structure, not chosen freely. The declaration structural_character_calibrated_on_positive_integers is a machine-checked theorem: any cost function on ratios that satisfies five plain conditions must equal J(x) = (x + 1/x)/2 - 1. Those conditions are reciprocal symmetry, zero cost at unity, a forced composition law, calibration, and continuity. The theorem is proved in the framework's machine-checked library of formal theorems, with no framework-specific axioms.

The five conditions are each necessary. Drop the calibration condition, and the theorem fails: there are uncountably many cost functions that satisfy the other four conditions but not the conclusion. Drop the composition law, and the conclusion is not forced either. The proof shows the conditions are not just sufficient but individually load-bearing. A separate theorem confirms that the cost is positive for any positive ratio, and that the cost at 2 is exactly 1/4.

The declaration also establishes a structural stratification certificate: the uniqueness target is proved, not assumed. This is the difference between a definition and a theorem. The framework does not define the cost to be J; it proves that any cost meeting the five conditions must be J. The certificate is a formal record that the proof exists.

What the declaration does not claim is just as important. It does not claim that the five conditions are the only possible ones, or that they are physically necessary. It does not claim that J is the unique cost on all real numbers; the theorem is stated on rational ratios, and a separate continuum family shows that on the reals, without the calibration condition, uncountably many costs exist. It does not claim that the golden ratio appears as a scaling; in fact, a theorem shows no rational scale satisfies 1 + 1/t = t. The declaration is a precise statement about a specific formal domain, and its power comes from that precision.

THEOREM PRCStructuralNativeCostUniquenessTarget_proved · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PRCNativeCostStructuralLedger.lean
/-- **Round 5 terminal.** The structural ledger forces the canonical cost. -/
theorem PRCStructuralNativeCostUniquenessTarget_proved :
    PRCStructuralNativeCostUniquenessTarget := by
  intro F hF q
  obtain ⟨χ, hχ, hFχ⟩ :=
    PRCZeroCalibratedNativeCostCharacterFactorizationTarget_proved F hF.native
      hF.zero_calibrated
  have hcal := structural_character_calibrated_on_positive_integers hF hχ hFχ
  have hresp : PRCCharacterRespectsCrossEq χ :=
    PRCCharacterRespectsCrossEq_of_normalizeRatio_canonical hχ
      PRCNormalizeRatioCanonicalTarget_proved
  have hchi : ∀ a b : RatioOrbit, a.toRat = b.toRat →
      (χ a).toRat = (χ b).toRat := by
    intro a b hab
    exact crossDisp
      (hresp a b (dispCross hab))
  -- every positive integer orbit is calibrated
  have hposcal : ∀ (a : RatioOrbit), IsPosIntOrbit a →
      RatioOrbit.crossEq (costFromCharacter χ a) (onRatioOrbit a) := by
    rintro a ⟨n, hn, han⟩
    have hdisp : a.toRat = (natOrbit n).toRat := by rw [natOrbit_toRat, han]
    rw [RatioOrbit.crossEq_iff_toRat_eq, costFromCharacter_jq, jq_onRatioOrbit,
      han]
    have hn' := hcal n hn
    rw [← hchi a (natOrbit n) hdisp] at hn'
    exact hn'
  have hprime : PRCCharacterPrimeDirectionCalibrated χ := fun p hp =>
    hposcal _ (primeDirection_isPosInt hp)
  have hpair : PRCCharacterPrimePairProductCostConsistent χ := by
    intro p hp r hr
    refine hposcal _ ⟨p.toNat * r.toNat, ?_, ?_⟩
    · obtain ⟨a, ha, _⟩ := primeDirection_isPosInt hp
      obtain ⟨b, hb, _⟩ := primeDirection_isPosInt hr
      have hpn : 1 ≤ p.toNat := by
        have h := primeDirection_toRat_ne_zero p hp
        rw [primeDirection_toRat] at h
        exact Nat.one_le_iff_ne_zero.mpr (by exact_mod_cast h)
      have hrn : 1 ≤ r.toNat := by
        have h := primeDirection_toRat_ne_zero r hr
        rw [primeDirection_toRat] at h
        exact Nat.one_le_iff_ne_zero.mpr (by exact_mod_cast h)
      exact Nat.one_le_iff_ne_zero.mpr (Nat.mul_ne_zero (by omega) (by omega))
    · rw [RatioOrbit.mul_toRat, primeDirection_toRat, primeDirection_toRat]
      push_cast
      ring
  have hsignCost :
      RatioOrbit.crossEq (costFromCharacter χ negativeOneRatio)
        (onRatioOrbit negativeOneRatio) :=
    RatioOrbit.crossEq_trans (RatioOrbit.crossEq_symm (hFχ negativeOneRatio))
      (signReversing_forces_signed_unit hF.native.unit_zero hF.sign_reversing)
  have hsign : PRCCharacterSignedUnitCalibrated χ :=
    costFromCharacter_negativeOne_forces_signed_unit hχ hsignCost
  exact RatioOrbit.crossEq_trans (hFχ q)
    (PRCNativeCostSignedAdmissibleCharacterRigidityTarget_proved χ
      ⟨⟨hχ, hprime, hpair⟩, hsign⟩ q)
THEOREM continuum_scale_family_uncountable · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PRCNativeCostStructuralLedger.lean
/-- **The continuum gauge orbit is uncountable.** Distinct positive exponents
give distinct costs (`costLambda_injective`) and the positive reals are
uncountable, so what `calibrationAxiom` collapses on the line is not a discrete
list of impostors. Stated here rather than left as a remark, because the size of
the collapsed family is the quantitative half of the comparison with the
carrier. -/
theorem continuum_scale_family_uncountable :
    ¬ continuumScaleFamily.Countable := by
  intro hc
  haveI : Countable continuumScaleFamily := hc.to_subtype
  have hinj : Function.Injective
      (fun l : Set.Ioi (0 : ℝ) =>
        (⟨costLambda (l : ℝ), ⟨(l : ℝ), Set.mem_Ioi.mp l.2, rfl⟩⟩ :
          continuumScaleFamily)) := by
    rintro ⟨l, hl⟩ ⟨m, hm⟩ h
    have hfun : costLambda l = costLambda m := congrArg Subtype.val h
    exact Subtype.ext (costLambda_injective (Set.mem_Ioi.mp hl) (Set.mem_Ioi.mp hm)
      (fun x => congrFun hfun x))
  haveI : Countable (Set.Ioi (0 : ℝ)) := hinj.countable
  have hexp : Function.Injective
      (fun x : ℝ => (⟨Real.exp x, Set.mem_Ioi.mpr (Real.exp_pos x)⟩ :
        Set.Ioi (0 : ℝ))) := by
    intro a b h
    exact Real.exp_injective (congrArg Subtype.val h)
  exact real_not_countable hexp.countable
THEOREM jq_two · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PRCNativeCostStructuralLedger.lean
theorem jq_two : jq 2 = 1 / 4 := by norm_num [jq]
THEOREM no_rat_golden_scale · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PRCNativeCostStructuralLedger.lean
/-- **The golden scale has no δ-native solution.** Elementary and choice-free:
clearing denominators gives `a² = b(a+b)` in lowest terms, so the denominator
divides `a²` and is therefore `1`, and no integer solves `a² = a + 1`. -/
theorem no_rat_golden_scale {t : ℚ} (ht : 0 < t) : 1 + t⁻¹ ≠ t := by
  intro h
  have ht0 : t ≠ 0 := ne_of_gt ht
  have hsq : t * t = t + 1 := by
    field_simp at h
    linarith [h]
  have hdpos : (0:ℚ) < (t.den : ℚ) := by exact_mod_cast t.pos
  have hnd : (t.num : ℚ) = t * (t.den : ℚ) :=
    (div_eq_iff (ne_of_gt hdpos)).mp (Rat.num_div_den t)
  have hkey : (t.num : ℚ) * (t.num : ℚ)
      = (t.num : ℚ) * (t.den : ℚ) + (t.den : ℚ) * (t.den : ℚ) := by
    rw [hnd]
    linear_combination ((t.den : ℚ) * (t.den : ℚ)) * hsq
  have hZ : t.num * t.num = t.num * (t.den : ℤ) + (t.den : ℤ) * (t.den : ℤ) := by
    exact_mod_cast hkey
  have hdvd : (t.den : ℤ) ∣ t.num * t.num := ⟨t.num + (t.den : ℤ), by
    rw [hZ]; ring⟩
  have hdvdN : t.den ∣ t.num.natAbs * t.num.natAbs := by
    have hstep := Int.natAbs_dvd_natAbs.mpr hdvd
    simpa [Int.natAbs_mul] using hstep
  have hcop : Nat.Coprime t.den (t.num.natAbs * t.num.natAbs) :=
    Nat.Coprime.mul_right t.reduced.symm t.reduced.symm
  have hd1 : t.den = 1 := by
    have hg : Nat.gcd t.den (t.num.natAbs * t.num.natAbs) = t.den :=
      Nat.gcd_eq_left hdvdN
    rw [Nat.Coprime] at hcop
    rw [hcop] at hg
    exact hg.symm
  rw [hd1] at hZ
  push_cast at hZ
  have hpos : 0 < t.num := Rat.num_pos.mpr ht
  have hb : t.num ≤ 2 := by nlinarith [hZ, sq_nonneg (t.num - 1)]
  have hcase : t.num = 1 ∨ t.num = 2 := by omega
  rcases hcase with hc | hc <;> rw [hc] at hZ <;> norm_num at hZ

What this page does not claim

The five conditions are the only possible ones or are physically necessary. The cost J is unique on all real numbers. The golden ratio appears as a scaling in this rational setting.

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/PrimitiveRecognitionCalculus/PRCNativeCostStructuralLedger.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:

MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND