Encyclopedia Foundation Foundation Primitive Recognition Calculus Prime Axis Coherence
ARTICLE 5 claims 5 theorems
Foundation Primitive Recognition Calculus Prime Axis Coherence
Prime axis coherence is a theorem about when independent prime-number scales lock into one common power law.
Prime axis coherence
The prime numbers are the atoms of multiplication: every positive whole number is a unique product of primes. A recognition ledger, a discrete record of events, can assign each prime a real-number weight, and then extend that assignment to every whole number by adding weights across the prime factorization. This extension is called a log-character. The framework's library proves that any assignment of prime weights extends to a multiplicative character: the log-character of a product is the sum of the log-characters of its factors, for nonzero naturals.
Before any coherence condition is imposed, the prime axes are independent. Two log-characters that agree on all whole numbers must agree on every prime weight, a theorem the library proves, so distinct weights give distinct characters. This is the freedom stage: nothing forces a relation among the primes.
The central theorem, prime axis coherence, states the collapse of that freedom. A character obeys a single global power law against a fixed reference scale if and only if its prime weights are all aligned to that reference scale. In symbols, there exists an exponent c such that logChar a n = c * logChar w n for every nonzero n if and only if there exists c with a p = c * w p for every prime p. The condition that forces a global power law is exactly the condition that synchronizes the independent prime axes into one common scale.
With the canonical reference weights w(p) = log p, the log-character becomes exactly the real logarithm. The library proves logChar (fun p => Real.log p) n = Real.log n for nonzero n. Under this reference, an aligned character with exponent c is exactly the power map n ↦ n^c, so Real.exp (logChar a n) = (n : ℝ) ^ c. The independent prime axes, once locked to one scale, produce a single global power law on the positive rationals.
In Recognition Science, this establishes the structural bridge between the discrete prime axes and a continuous power law. It proves that coherence, the synchronization of independent prime axes into one scale, is equivalent to the existence of a global power law. The result is a theorem in the framework's machine-checked library of formal theorems, with no framework-specific axioms.
THEOREM logChar_mul · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.lean
/-- **Freedom.** Every weight assignment extends to a multiplicative character:
the log-character is additive on products of nonzero naturals. The prime axes
are independent; no relation among them is forced before coherence enters. -/
theorem logChar_mul (a : ℕ → ℝ) {m n : ℕ} (hm : m ≠ 0) (hn : n ≠ 0) :
logChar a (m * n) = logChar a m + logChar a n := by
unfold logChar
rw [Nat.factorization_mul hm hn]
rw [Finsupp.sum_add_index']
· intro p; simp
· intro p k1 k2; push_cast; ring
THEOREM faithful · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.lean
/-- **Independence of the axes.** Two log-characters that agree on all naturals
agree on every prime weight. The prime weights are genuine independent
coordinates of the character. -/
theorem faithful {a b : ℕ → ℝ} (h : ∀ n, logChar a n = logChar b n)
{p : ℕ} (hp : p.Prime) : a p = b p := by
have := h p
rwa [logChar_prime a hp, logChar_prime b hp] at this
THEOREM powerLaw_iff_aligned · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.lean
/-- **Prime-Axis Coherence Theorem.** A character obeys a single global power law
against the reference scale `w` if and only if its prime weights are all aligned
to `w`. The continuum/order condition that forces a global power law is exactly
the condition that synchronizes the independent prime axes into one common scale. -/
theorem powerLaw_iff_aligned (a w : ℕ → ℝ) : IsPowerLaw a w ↔ WeightsAligned a w := by
constructor
· rintro ⟨c, hc⟩
refine ⟨c, ?_⟩
intro p hp
have h := hc p hp.ne_zero
rwa [logChar_prime a hp, logChar_prime w hp] at h
· rintro ⟨c, hc⟩
refine ⟨c, ?_⟩
intro n hn
unfold logChar
rw [Finsupp.sum, Finsupp.sum, Finset.mul_sum]
apply Finset.sum_congr rfl
intro p hp
have hpp : p.Prime := by
rw [Nat.support_factorization] at hp
exact Nat.prime_of_mem_primeFactors hp
rw [hc p hpp]
ring
THEOREM logChar_log · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.lean
/-- With the reference weights `w(p) = log p`, the log-character is exactly the
real logarithm. This is the scale that the order/continuum condition selects. -/
theorem logChar_log (n : ℕ) (hn : n ≠ 0) :
logChar (fun p => Real.log p) n = Real.log n := by
unfold logChar
rw [Finsupp.sum]
have hself : n.factorization.prod (fun p k => p ^ k) = n :=
Nat.factorization_prod_pow_eq_self hn
have hcast : (n : ℝ) = ∏ p ∈ n.factorization.support, ((p : ℝ) ^ (n.factorization p)) := by
conv_lhs => rw [← hself, Finsupp.prod]
push_cast
rfl
rw [hcast, Real.log_prod]
· apply Finset.sum_congr rfl
intro p hp
rw [Real.log_pow]
· intro p hp
have hpp : p.Prime := by
rw [Nat.support_factorization] at hp
exact Nat.prime_of_mem_primeFactors hp
have : (0 : ℝ) < (p : ℝ) ^ (n.factorization p) := by
apply pow_pos
exact_mod_cast hpp.pos
exact ne_of_gt this
THEOREM character_is_rpow · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.lean
/-- **The synchronized character is a power map.** Under the log reference scale,
an aligned character with exponent `c` is exactly `n ↦ n^c`. The independent
prime axes, once locked to one scale, produce a single global power law on the
positive rationals. -/
theorem character_is_rpow {a : ℕ → ℝ} {c : ℝ}
(haligned : ∀ p : ℕ, p.Prime → a p = c * Real.log p)
(n : ℕ) (hn : n ≠ 0) :
Real.exp (logChar a n) = (n : ℝ) ^ c := by
have hpl : logChar a n = c * Real.log n := by
have hdirect : logChar a n = c * logChar (fun p => Real.log p) n := by
unfold logChar
rw [Finsupp.sum, Finsupp.sum, Finset.mul_sum]
apply Finset.sum_congr rfl
intro p hp
have hpp : p.Prime := by
rw [Nat.support_factorization] at hp
exact Nat.prime_of_mem_primeFactors hp
rw [haligned p hpp]; ring
rw [hdirect, logChar_log n hn]
rw [hpl]
have hnpos : (0 : ℝ) < n := by exact_mod_cast Nat.pos_of_ne_zero hn
rw [Real.rpow_def_of_pos hnpos]
congr 1
ring
What this page does not claim
This module does not derive the fine-structure constant or any specific physical coupling. It does not prove that the log reference scale is the only possible scale; it proves that a global power law is equivalent to alignment with whatever fixed reference scale is chosen. The theorem concerns formal characters on natural numbers, not a physical recognition process; the bridge to physics is not established here.
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/PrimeAxisCoherence.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 process selects the log reference scale w(p) = log p over any other?
- How does prime axis coherence connect to the framework's forcing chain that derives the golden ratio and three spatial dimensions?
- Does the theorem extend to characters on the positive rationals, and what does that extension imply for recognition events?
- What is the order or continuum condition that the docstring says selects the log reference scale?
MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND
THEOREM logChar_mul · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.lean
/-- **Freedom.** Every weight assignment extends to a multiplicative character: the log-character is additive on products of nonzero naturals. The prime axes are independent; no relation among them is forced before coherence enters. -/ theorem logChar_mul (a : ℕ → ℝ) {m n : ℕ} (hm : m ≠ 0) (hn : n ≠ 0) : logChar a (m * n) = logChar a m + logChar a n := by unfold logChar rw [Nat.factorization_mul hm hn] rw [Finsupp.sum_add_index'] · intro p; simp · intro p k1 k2; push_cast; ringThe log-character of a product is the sum of the log-characters of its factors, for nonzero naturals. logChar_mul · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.leanTHEOREM faithful · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.lean
/-- **Independence of the axes.** Two log-characters that agree on all naturals agree on every prime weight. The prime weights are genuine independent coordinates of the character. -/ theorem faithful {a b : ℕ → ℝ} (h : ∀ n, logChar a n = logChar b n) {p : ℕ} (hp : p.Prime) : a p = b p := by have := h p rwa [logChar_prime a hp, logChar_prime b hp] at thisTwo log-characters that agree on all whole numbers must agree on every prime weight. faithful · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.leanTHEOREM powerLaw_iff_aligned · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.lean
/-- **Prime-Axis Coherence Theorem.** A character obeys a single global power law against the reference scale `w` if and only if its prime weights are all aligned to `w`. The continuum/order condition that forces a global power law is exactly the condition that synchronizes the independent prime axes into one common scale. -/ theorem powerLaw_iff_aligned (a w : ℕ → ℝ) : IsPowerLaw a w ↔ WeightsAligned a w := by constructor · rintro ⟨c, hc⟩ refine ⟨c, ?_⟩ intro p hp have h := hc p hp.ne_zero rwa [logChar_prime a hp, logChar_prime w hp] at h · rintro ⟨c, hc⟩ refine ⟨c, ?_⟩ intro n hn unfold logChar rw [Finsupp.sum, Finsupp.sum, Finset.mul_sum] apply Finset.sum_congr rfl intro p hp have hpp : p.Prime := by rw [Nat.support_factorization] at hp exact Nat.prime_of_mem_primeFactors hp rw [hc p hpp] ringA character obeys a single global power law against a fixed reference scale if and only if its prime weights are all aligned to that reference scale. powerLaw_iff_aligned · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.leanTHEOREM logChar_log · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.lean
/-- With the reference weights `w(p) = log p`, the log-character is exactly the real logarithm. This is the scale that the order/continuum condition selects. -/ theorem logChar_log (n : ℕ) (hn : n ≠ 0) : logChar (fun p => Real.log p) n = Real.log n := by unfold logChar rw [Finsupp.sum] have hself : n.factorization.prod (fun p k => p ^ k) = n := Nat.factorization_prod_pow_eq_self hn have hcast : (n : ℝ) = ∏ p ∈ n.factorization.support, ((p : ℝ) ^ (n.factorization p)) := by conv_lhs => rw [← hself, Finsupp.prod] push_cast rfl rw [hcast, Real.log_prod] · apply Finset.sum_congr rfl intro p hp rw [Real.log_pow] · intro p hp have hpp : p.Prime := by rw [Nat.support_factorization] at hp exact Nat.prime_of_mem_primeFactors hp have : (0 : ℝ) < (p : ℝ) ^ (n.factorization p) := by apply pow_pos exact_mod_cast hpp.pos exact ne_of_gt thisWith the canonical reference weights w(p) = log p, the log-character becomes exactly the real logarithm. logChar_log · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.leanTHEOREM character_is_rpow · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.lean
/-- **The synchronized character is a power map.** Under the log reference scale, an aligned character with exponent `c` is exactly `n ↦ n^c`. The independent prime axes, once locked to one scale, produce a single global power law on the positive rationals. -/ theorem character_is_rpow {a : ℕ → ℝ} {c : ℝ} (haligned : ∀ p : ℕ, p.Prime → a p = c * Real.log p) (n : ℕ) (hn : n ≠ 0) : Real.exp (logChar a n) = (n : ℝ) ^ c := by have hpl : logChar a n = c * Real.log n := by have hdirect : logChar a n = c * logChar (fun p => Real.log p) n := by unfold logChar rw [Finsupp.sum, Finsupp.sum, Finset.mul_sum] apply Finset.sum_congr rfl intro p hp have hpp : p.Prime := by rw [Nat.support_factorization] at hp exact Nat.prime_of_mem_primeFactors hp rw [haligned p hpp]; ring rw [hdirect, logChar_log n hn] rw [hpl] have hnpos : (0 : ℝ) < n := by exact_mod_cast Nat.pos_of_ne_zero hn rw [Real.rpow_def_of_pos hnpos] congr 1 ringUnder the log reference scale, an aligned character with exponent c is exactly the power map n ↦ n^c. character_is_rpow · IndisputableMonolith/Foundation/PrimitiveRecognitionCalculus/PrimeAxisCoherence.lean