依据Evidencetrureturing
LEAN ✓有符号素数账本与正有理数:从有限支撑的有符号素数指数账本 Nat.Primes →₀ ℤ 到正有理数(看作加法群)的典范等价 primeExponentEquivPositiveRational(由正整数的素因子账本经局部化延拓而来)是双射:Signed prime ledgers and positive rationals: the canonical equivalence primeExponentEquivPositiveRational from the finitely supported signed prime-exponent ledgers Nat.Primes →₀ ℤ to the positive rationals (as an additive group), extended by localization from the prime-factor ledgers of the positive integers, is bijective: signed_prime_ledger_equiv_positive_rationals
LEAN ✓账本的方向与群化:对每个有符号素数账本 z,z 是某个自然数账本(Nat.Primes →₀ ℕ)的像,当且仅当对一切素数 p 有 z(p) ≥ 0;并且存在自然数账本 forward、inverse,使 z = forward − inverse(两者都看作有符号账本):Direction and groupification of ledgers: for every signed prime ledger z, z is the image of a natural ledger (Nat.Primes →₀ ℕ) if and only if z(p) ≥ 0 for every prime p; and there are natural ledgers forward and inverse with z = forward − inverse (both read as signed ledgers): prime_ledger_direction_and_groupification
LEAN ✓正整数是素数上的自由交换幺半群:素因子多重集映射 primeFactorMulEquiv : ℕ+ ≃* Multiplicative (Multiset Nat.Primes) 是双射,并且 primeFactorMulEquiv(m · n) = primeFactorMulEquiv(m) · primeFactorMulEquiv(n);对每个交换幺半群 M 与每个映射 f : Nat.Primes → M,恰有一个幺半群同态 g : Multiplicative (Multiset Nat.Primes) →* M,使一切素数 p 满足 g({p}) = f(p);对一切 m、n ∈ ℕ+ 与自然数 p,m·n 的因子分解在 p 处的指数等于 m 与 n 的指数之和:The positive integers are the free commutative monoid on the primes: the prime-factor multiset map primeFactorMulEquiv : ℕ+ ≃* Multiplicative (Multiset Nat.Primes) is bijective and primeFactorMulEquiv(m · n) = primeFactorMulEquiv(m) · primeFactorMulEquiv(n); for every commutative monoid M and every map f : Nat.Primes → M there is exactly one monoid homomorphism g : Multiplicative (Multiset Nat.Primes) →* M with g({p}) = f(p) for every prime p; and for all m, n ∈ ℕ+ and every natural number p the exponent of p in the factorization of m·n is the sum of those of m and n: pnat_free_comm_monoid_on_primes
LEAN ✓符号与有限赋值决定有理数:对非零有理数 x、y,若对一切素数 p 有 padicValRat p x = padicValRat p y(有限赋值轮廓相同),且 x 与 y 的符号相同,则 x = y:Sign and finite valuations determine a rational: for nonzero rationals x and y with padicValRat p x = padicValRat p y for every prime p (the same finite valuation profile) and the same sign, x = y: rational_recovered_from_sign_and_finite_valuations
LEAN ✓有理数的乘积公式:对每个有理数 x ≠ 0,|x| · ∏p padicNormp(x) = 1,p 取遍全部素数(有限积 ∏ᶠ):The product formula of the rationals: for every rational x ≠ 0, |x| · ∏p padicNormp(x) = 1, where p runs over all primes (the finite product ∏ᶠ): rational_padic_product_formula
LEAN ✓素数对数的有理线性无关:全部素数 p 的实对数 log p 在 ℚ 上线性无关:Rational independence of prime logarithms: the real logarithms log p of all primes p are linearly independent over ℚ: prime_log_rational_independence
LEAN ✓素数表总要逃出去:对任意有限素数集 S,∏p∈S p + 1 模每个 p ∈ S 同余于 1,并且存在不属于 S 的素数 q 整除 ∏p∈S p + 1:A finite list of primes is always escaped: for any finite set S of primes, ∏p∈S p + 1 is congruent to 1 modulo every p ∈ S, and there is a prime q not in S that divides ∏p∈S p + 1: prime_axis_escape
LEAN ✓精确素数整除没有有限自动机:设 p 是素数,a > 0;寄存器从 1 出发读两字母的字,true 乘以 p,false 在 p 整除当前值时除以 p、否则无定义。则对任意有限状态集 S,以 S 为状态集、输出布尔值的确定自动机(DFAO)都不能在每个处处有定义的字上正确回答“pa 是否整除寄存器到达的整数”:Exact prime division has no finite automaton: let p be a prime and a > 0; a register starts at 1 and reads a word over two letters, true multiplying by p, false dividing by p when p divides the present value and undefined otherwise. Then for every finite set S no deterministic automaton with Boolean output (DFAO) on the states S answers correctly, on every word defined at every step, whether pa divides the integer the register reaches: no_finite_dfao_for_exact_prime_division
LEAN ✓精确除法机的步数:对自然数 w、a、d,若 a < 2w 且 0 < d < 2w,则除法机 divMachine 从初始格局(a 的 w 位二进制倒序,d 与 0 的 w + 1 位二进制)出发,恰好走 divPositiveRunTime w = 2(w + 1) + 3 + w(6(w + 1) + 10) + 1 步,到达结束格局:d 与 a mod d 的 w + 1 位二进制,a / d 的 w 位二进制:The step count of an exact division machine: for natural numbers w, a and d with a < 2w and 0 < d < 2w, the machine divMachine started at its initial configuration (the w-bit binary word of a reversed, the (w + 1)-bit words of d and of 0) reaches after exactly divPositiveRunTime w = 2(w + 1) + 3 + w(6(w + 1) + 10) + 1 steps its finishing configuration: the (w + 1)-bit words of d and of a mod d and the w-bit word of a / d: divMachine_positive_correct
LEAN ✓何时能把运行降到多重集上:对任意类型 Prime、State 与更新 update : Prime → State → State,存在 descended : Multiset Prime → State → State,使每个字(列表)word 都满足 descended(word 的多重集) = runWord update word(字母从左到右逐个施加),当且仅当对一切 p、q,update p 与 update q 交换:When a run descends to multisets: for all types Prime and State and every update : Prime → State → State, there is descended : Multiset Prime → State → State with descended(multiset of word) = runWord update word (the letters applied from left to right) for every list word, if and only if update p and update q commute for all p and q: order_descent_criterion
LEAN ✓素数的历史读不回来:不存在映射 recover : Multiset Nat.Primes → List Nat.Primes,使每个素数列表 word 都满足 recover(word 的多重集) = word:The history of primes cannot be read back from the multiset: there is no map recover : Multiset Nat.Primes → List Nat.Primes with recover(multiset of word) = word for every list word of primes: no_prime_history_reconstruction
LEAN ✓两字编码的单射判据:对任意类型 α 上的列表 a、b,把布尔串的每个 true 换成 b、每个 false 换成 a 再依次拼接的映射 List Bool → List α 是单射,当且仅当 a ++ b ≠ b ++ a:The injectivity criterion of a two-word code: for lists a and b over any type α, the map List Bool → List α that replaces each true of a Boolean string by b and each false by a and concatenates is injective if and only if a ++ b ≠ b ++ a: injective_iff_noncommuting
LEAN ✓三元比较的单位四元数实现:设 C 是集合 M 上的三元比较(转移 tri,读数 κ),不交换(有 x、y、z 使 tri(x, y, z) ≠ tri(z, y, x))、链连通(对每个 ε > 0,任意两点由相邻读数都大于 1 − ε 的有限链相连)、读数可任意接近 0、特征秩为 5(κ 是某个映射 M → ℝ⁵ 的内积)且读取完备(相互读数趋于 1 的序列总有一点,序列与它的读数趋于 1)。则对每个 o ∈ M 存在双射 u : M ≃ 单位四元数,u(o) = 1,且对一切 x、y、z ∈ M,u(tri(x, y, z)) = u(x) u(y)⁻¹ u(z),κ(x, y) = (1 + ⟨u(x), u(y)⟩)/2:The unit-quaternion realization of a ternary comparison: let C be a ternary comparison on a set M (transfer tri, reading κ) that is noncommutative (tri(x, y, z) ≠ tri(z, y, x) for some x, y, z), chain connected (for every ε > 0 any two points are joined by a finite chain whose consecutive readings exceed 1 − ε), touches zero (readings come arbitrarily close to 0), has feature rank 5 (κ is the inner product of some map M → ℝ⁵) and is reading complete (a sequence whose mutual readings tend to 1 has a point with which its readings tend to 1). Then for every o ∈ M there is a bijection u : M ≃ unit quaternions with u(o) = 1 and, for all x, y, z ∈ M, u(tri(x, y, z)) = u(x) u(y)⁻¹ u(z) and κ(x, y) = (1 + ⟨u(x), u(y)⟩)/2: exists_unitQuaternion_equiv
LEAN ✓单位四元数模型不交换:在单位四元数上取转移 tri(x, y, z) = x y⁻¹ z 与读数 κ(x, y) = (1 + ⟨x, y⟩)/2 所得的三元比较不交换,即存在 x、y、z 使 tri(x, y, z) ≠ tri(z, y, x):The unit-quaternion model is noncommutative: the ternary comparison on the unit quaternions with transfer tri(x, y, z) = x y⁻¹ z and reading κ(x, y) = (1 + ⟨x, y⟩)/2 is noncommutative, that is, tri(x, y, z) ≠ tri(z, y, x) for some x, y, z: quaternionModel_noncommutative
LEAN ✓程序码的不动点:对每个可计算的 F : Code → Code(Code 是部分递归函数的程序码 Nat.Partrec.Code),存在程序码 e 使 eval e = eval (F e):A fixed point of program codes: for every computable F : Code → Code (Code the codes Nat.Partrec.Code of partial recursive functions) there is a code e with eval e = eval (F e): code_fixed_point
LEAN ✓有限记录捏合幂等:设 n、κ 是有限指标型,P : κ → n × n 复矩阵是记录测量(每个 Pk 自伴且幂等,k ≠ l 时 PkPl = 0,Σk Pk = 1),未读捏合 unreadState P 把 ρ 送到 Σk Pk ρ Pk。则 unreadState P ∘ unreadState P = unreadState P:The pinching of a finite record is idempotent: let n and κ be finite index types and P : κ → complex n × n matrices a record measurement (every Pk self-adjoint and idempotent, PkPl = 0 for k ≠ l, Σk Pk = 1), and let the unread pinching unreadState P send ρ to Σk Pk ρ Pk. Then unreadState P ∘ unreadState P = unreadState P: finite_record_pinching_idempotent
ARGUED文献结果,未在本书形式化:FRACTRAN 与它的乘法器、PRIMEGAME 见 Conway(1987);计数器机(两个计数器即可模拟图灵机)见 Minsky(1961);赫维茨整四元数的唯一分解见 Hurwitz(1896),模方为 n 的 ℤ⁴ 整四元数(利普希茨整四元数,奇数 n ≥ 1)个数 8σ(n) 见雅可比四平方定理,n = 1 时是 ℤ⁴ 的 8 个单位,不是赫维茨环的 24 个单位;p + 1 个模方为 p 的生成元给出的拉马努金图及其特征值界 2√p 见 Lubotzky、Phillips 与 Sarnak(1988),其中用到 Deligne(1974)的权界。
手工推导:N·a/b ∈ ℤ 当且仅当账本 e(N) + e(a) − e(b) 处处 ≥ 0,所以守卫 b | N 就是“分母的每根柱都够高”;3/2 每拍把一块从 2 柱搬到 3 柱,2a3b 在 a 拍后停在 3a+b;(1 + 2i)(1 + 2j) = (1, 2, 2, 4),(1 + 2j)(1 + 2i) = (1, 2, 2, −4);π π̄ = 5,所以 Ψ · π̄/5 ∈ ℤ⁴ 恰好是 π 从右边整除 Ψ。Literature results, not formalized in this book: FRACTRAN, its multiplier and PRIMEGAME, Conway (1987); counter machines (two counters simulate a Turing machine), Minsky (1961); unique factorization of Hurwitz integral quaternions, Hurwitz (1896), and the count 8σ(n) of Lipschitz quadruples in ℤ⁴ of squared norm n (odd n ≥ 1), Jacobi’s four-square theorem, which for n = 1 gives the 8 units of ℤ⁴, not the 24 units of the Hurwitz ring; the Ramanujan graphs of the p + 1 generators of squared norm p and their eigenvalue bound 2√p, Lubotzky, Phillips and Sarnak (1988), using the bounds of Deligne (1974).
Derived by hand: N·a/b ∈ ℤ if and only if the ledger e(N) + e(a) − e(b) is ≥ 0 everywhere, so the guard b | N says that every pillar of the denominator is tall enough; 3/2 moves one block from the pillar of 2 to the pillar of 3 per beat, so 2a3b stops at 3a+b after a beats; (1 + 2i)(1 + 2j) = (1, 2, 2, 4) and (1 + 2j)(1 + 2i) = (1, 2, 2, −4); π π̄ = 5, so Ψ · π̄/5 ∈ ℤ⁴ says exactly that π divides Ψ on the right.
MODEL本书的读法与画法:“观察者有理指令集”、分数门的 0 · 1/2 · 1 三段(守卫读过去、注意力挑一条、闭合写整数)、εself 停机与三种指令集的对照都是读法,不是定理。画法:每个素数一根柱,柱高是指数,柱子排在一圈上只是摆放,不表示角度;中央紫色回声柱的高是 ln N,按各素数的 ep ln p 分段;分母比柱高还大的那一截画在地面以下,是品红的撕裂。旋子画在 S³(1) 从 −1 出发的球极投影里:1 在球心,赤道 w = 0 是紫色球面,球内是 w > 0 的半边(30 个字长 = 2 的约化字里只画这半边的 24 个,连同 1 与 6 个生成元共 31 点),测地线画成圆弧;Q = π̄/5 的整除检查用整数做,球面位置用了浮点的平方根。引理 A 把一拍带旗标、下一拍乘回无旗标的两拍并成一步,引理 B 把连续重复的同一步并成一步;这两种折叠是本页的定义。覆盖写的寄存器是独热的六位字,比较的是“次序存放在哪里”,三条轨道做的不是同一件事。Readings and drawing conventions of this book: the observer rational ISA, the three parts 0 · 1/2 · 1 of a fraction gate (the guard reads the past, attention picks one rule, closure writes an integer), the halt εself and the comparison of three instruction sets are readings, not theorems. Drawing: one pillar per prime, its height the exponent; the pillars stand on a ring only to stand apart, the ring does not mean an angle; the violet echo column in the middle has the height ln N, banded by ep ln p for every prime; the part of a denominator taller than its pillar is drawn below the floor as a magenta tear. The rotors are drawn in the stereographic projection of S³(1) from −1: 1 is the centre, the equator w = 0 is the violet sphere and the ball holds the half w > 0 (of the 30 reduced words of length 2, only the 24 in this half are drawn, alongside 1 and the 6 generators: 31 points in all), geodesics are circular arcs; divisibility by Q = π̄/5 is checked in integers, the places on the sphere use floating-point roots. Lemma A merges two beats, one with a flag and the next that multiplies it away, into one step; lemma B merges repeats of one step into one; both foldings are definitions of this page. The overwritten register holds a one-hot six-bit word; the comparison is about where the order is kept, and the three lanes do not do the same task.
NUM——