实时读数Live readoutsNUM
- 本卡守住的读数What the card keeps
- T · r · m · n = r + mT · 分解T · r · m · n = r + mT · factors
- k · Mk · φ(Mk) · 视界 · 新素数 · 误差k · Mk · φ(Mk) · horizon · new primes · errors
- MΩ · 寄存器 · Kmax · 积 · 候选 · 账本之积MΩ · registers · Kmax · product · candidate · ledger product
- K · H · 状态数 · 盒最小值 · 满支撑见证 · ΔκK · H · states · box minimum · full-support witness · Δκ
- 程序 · 拍 · N · 峰值 · 引理捷径program · beat · N · peak · lemma shortcut
- K · PK# · 7 与 37 · gcd(77, PK#) · Mmem / 7KK · PK# · 7 and 37 · gcd(77, PK#) · Mmem / 7K
依据Evidencetrureturing
LEAN ✓裴蜀恒等式(仅 Omega · 依赖 propext):对一切自然数 a、b,存在整数 x、y,使 a·x + b·y = gcd(a, b),gcd 是 OmegaMath 的扩展欧几里得算法给出的最大公约数:The Bézout identity (Omega only · depends on propext): for all natural numbers a and b there are integers x and y with a·x + b·y = gcd(a, b), the greatest common divisor computed by the extended Euclidean algorithm of OmegaMath: bezout_identity
LEAN ✓欧几里得素数逃逸(仅 Omega · 依赖 propext):对每个乘积为正的自然数有限表 s,存在素数 p,它整除 s 的乘积加 1,且不在 s 中:The prime escape of Euclid (Omega only · depends on propext): for every finite list s of natural numbers with a positive product there is a prime p that divides the product of s plus 1 and is not in s: euclid_prime_escape
LEAN ✓渐近分数已约到最简(仅 Omega · 依赖 propext):对每个系数表 coeffs 与自然数 d,若 d 同时整除 convergentPair(coeffs) 当前渐近分数的分子与分母,则 d = 1:Convergents are in lowest terms (Omega only · depends on propext): for every coefficient list coeffs and natural number d, if d divides both the numerator and the denominator of the current convergent of convergentPair(coeffs), then d = 1: cf_convergent_coprime
LEAN ✓渐近分数的行列式(仅 Omega · 依赖 propext):对每个系数表 coeffs,末两个连分数续项的叉积 pnqn−1 − pn−1qn(determinant)等于 alternatingSign(coefficientCount coeffs) = (−1)n,n 是系数的个数:The determinant of convergents (Omega only · depends on propext): for every coefficient list coeffs, the cross product pnqn−1 − pn−1qn of the last two continuants (determinant) equals alternatingSign(coefficientCount coeffs) = (−1)n, where n is the number of coefficients: cf_convergent_determinant
LEAN ✓FRACTRAN 一步的两种写法一致(仅 Omega · 零公理):对每个程序 prog 与自然数 n、m,可计算的一步 step(prog, n) = some m 当且仅当关系 Step(prog, n, m) 成立;Step 按程序次序触发第一条分母整除 n 的规则:Two forms of one FRACTRAN step agree (Omega only · zero axioms): for every program prog and natural numbers n and m, the computable step(prog, n) = some m if and only if the relation Step(prog, n, m) holds; Step fires the first rule in program order whose denominator divides n: fractran_step_iff
LEAN ✓FRACTRAN 的一步是确定的(仅 Omega · 零公理):对每个程序 prog 与自然数 n、m1、m2,若 Step(prog, n, m1) 且 Step(prog, n, m2),则 m1 = m2:A FRACTRAN step is deterministic (Omega only · zero axioms): for every program prog and natural numbers n, m1 and m2, if Step(prog, n, m1) and Step(prog, n, m2), then m1 = m2: fractran_deterministic
LEAN ✓FRACTRAN 保持正数(仅 Omega · 依赖 propext):对每个程序 prog、自然数 k 与 n,若 0 < n,则 0 < run(prog, k, n);run 走 k 步,无规则可用时停在原处:FRACTRAN keeps numbers positive (Omega only · depends on propext): for every program prog and natural numbers k and n, if 0 < n, then 0 < run(prog, k, n); run takes k steps and stays put when no rule applies: fractran_positive
LEAN ✓FRACTRAN 停机后不再变(仅 Omega · 零公理):对每个程序 prog 与自然数 k、n,若程序在 run(prog, k, n) 处停机(没有一条规则的分母整除它),则对每个 extra,run(prog, k + extra, n) = run(prog, k, n):FRACTRAN stays put after it halts (Omega only · zero axioms): for every program prog and natural numbers k and n, if the program halts at run(prog, k, n) (no denominator of a rule divides it), then run(prog, k + extra, n) = run(prog, k, n) for every extra: fractran_stable
LEAN ✓无平方因子数的欧拉函数:对每个无平方因子的自然数 d,φ(d) = ∏p (p − 1),p 取遍 d 的素因子:The totient of a squarefree number: for every squarefree natural number d, φ(d) = ∏p (p − 1), over the prime factors p of d: totient_eq_prod_sub_one_of_squarefree
LEAN ✓中国剩余定理:对互素的自然数 m、n,自然的环同态 ℤ/(m·n) → ℤ/m × ℤ/n(ZMod.castHom)是双射:The Chinese remainder theorem: for coprime natural numbers m and n, the natural ring homomorphism ℤ/(m·n) → ℤ/m × ℤ/n (ZMod.castHom) is bijective: chinese_remainder_bijective
LEAN ✓余数读出的单射范围:对一切自然数 N、r,x ↦ (x mod p1, …, x mod pr) 在 {0, …, N} 上单射,当且仅当 N 小于前 r 个素数之积 primePrefixProduct r = Pr#(r = 0 时积为 1):The range of an injective residue reading: for all natural numbers N and r, x ↦ (x mod p1, …, x mod pr) is injective on {0, …, N} if and only if N is less than the product primePrefixProduct r = Pr# of the first r primes (1 for r = 0): residue_reading_injOn_iff_primorial_gt
LEAN ✓素数阶乘见证界:对整数 x ≠ y 与自然数 r,若 |x − y| < Pr#,则 horizontalWitnessComplexity(x, y) ≤ r;这个复杂度是不整除 x − y 的第一个素数的序号,所以前 r 个素数里有一个把 x 与 y 分开:The primorial witness bound: for integers x ≠ y and a natural number r, if |x − y| < Pr#, then horizontalWitnessComplexity(x, y) ≤ r; this complexity is the index of the first prime that does not divide x − y, so one of the first r primes tells x and y apart: primorial_witness_bound
LEAN ✓有理数的乘积公式:对每个非零有理数 x,|x| · ∏p |x|p = 1;乘积 ∏ᶠ 取遍全体素数 p,只有有限个因子不为 1,|x|p 是 p 进范数:The product formula for rationals: for every nonzero rational x, |x| · ∏p |x|p = 1; the product ∏ᶠ runs over all primes p with only finitely many factors other than 1, and |x|p is the p-adic norm: rational_padic_product_formula
LEAN ✓带符号素数账本就是正有理数:从有限支撑的带符号指数账本 Nat.Primes →₀ ℤ 到正有理数乘法群的典范映射 primeExponentEquivPositiveRational 是双射(一个群同构):Signed prime ledgers are the positive rationals: the canonical map primeExponentEquivPositiveRational from finitely supported signed exponent ledgers Nat.Primes →₀ ℤ to the multiplicative group of positive rationals is bijective (a group isomorphism): signed_prime_ledger_equiv_positive_rationals
LEAN ✓素数的对数在 ℚ 上线性无关:族 p ↦ log p(p 取遍素数)在 ℚ 上线性无关:The logarithms of the primes are linearly independent over ℚ: the family p ↦ log p, over the primes, is linearly independent over ℚ: prime_log_rational_independence
LEAN ✓有限自动机读不出精确整除:设 p 是素数、a > 0;寄存器从 1 出发,读到 1 时乘 p,读到 0 时若 p 整除当前值就除以 p,否则无定义。则对任何有限状态集 S 上的确定性有限自动输出机 M,M 都不能在寄存器有定义的全部输入串上正确判定 pa 是否整除寄存器的值:No finite automaton reads exact division: let p be prime and a > 0; a register starts at 1, multiplies by p on reading 1, and on reading 0 divides by p when p divides its value and is undefined otherwise. Then no deterministic finite automaton with output M on a finite state set S decides correctly, on every input word where the register is defined, whether pa divides the value of the register: no_finite_dfao_for_exact_prime_division
ARGUED文献结果,未在本书形式化:合数 n 必有不超过 √n 的素因子(埃拉托斯特尼筛法的依据,经典结果);FRACTRAN 与 PRIMEGAME 见 Conway(1987,《Open Problems in Communication and Computation》,Springer,4–26,doi:10.1007/978-1-4612-4808-8_2);两个计数器即可模拟图灵机、代价是步数的指数膨胀,见 Minsky(1967,《Computation: Finite and Infinite Machines》,第 14 章);只用有限个素数作因子的超特殊比 (n + 1)/n 只有有限个,见 Størmer(1897);素数对数线性型的有效下界见 Baker(1966,Mathematika 13,204)。
手工推导:r > 1 时 r + rT = r(1 + T);r = 1 时 1 + (T + 2)T = (T + 1)²,所以固定周期 T 上的任何余数轨都会撞上合数。若 1 < n < pk+1² 且 gcd(n, Mk) = 1,n 的每个素因子都 ≥ pk+1,两个这样的因子之积已 ≥ pk+1²,所以 n 是素数;pk+1² 本身与 Mk 互素,是第一个漏网的合数。比 r = a/b 在射影圆上的读数 κ = b²/(a² + b²),所以 Δκ = 1/2 − κ = (a² − b²)/(2(a² + b²)),r = 10648/10647 时为 21295/453477026。|37 − 7| = 30 = P3#,所以模 2、3、5 读不出差别,第四个素数 7 把它们分开。Literature results, not formalized in this book: a composite n has a prime factor at most √n (the basis of the sieve of Eratosthenes, classical); FRACTRAN and PRIMEGAME, Conway (1987, Open Problems in Communication and Computation, Springer, 4–26, doi:10.1007/978-1-4612-4808-8_2); two counters simulate a Turing machine at an exponential cost in steps, Minsky (1967, Computation: Finite and Infinite Machines, chapter 14); there are only finitely many superparticular ratios (n + 1)/n built from a finite set of primes, Størmer (1897); effective lower bounds for linear forms in logarithms of primes, Baker (1966, Mathematika 13, 204).
Derived by hand: for r > 1, r + rT = r(1 + T); for r = 1, 1 + (T + 2)T = (T + 1)², so every residue rail of a fixed period T meets a composite. If 1 < n < pk+1² and gcd(n, Mk) = 1, every prime factor of n is at least pk+1, and two such factors already multiply to at least pk+1², so n is prime; pk+1² itself is coprime to Mk and is the first composite that slips through. A ratio r = a/b reads κ = b²/(a² + b²) on the projective circle, so Δκ = 1/2 − κ = (a² − b²)/(2(a² + b²)), which is 21295/453477026 for r = 10648/10647. |37 − 7| = 30 = P3#, so the residues mod 2, 3 and 5 cannot tell them apart and the fourth prime 7 does.
MODEL本书的读法与画法:把固定周期的余数轨读作每 T 拍精确重播、舒尔创新度 ΔISchur = 0 的死锁,把 εself = 1/MΩ 读作观察者的停机门、把 Kmax 读作一生可激活的寄存器上限,把三元球 [1 : 0 : 0 : 0] 读作零槽位的 q⁰ = 1,把未唤醒的高素数读作暗态、把 8 格滑动记忆读作防死锁的刷新,把串行 FRACTRAN 读作低秩的幂塔绕行、把引理寄存器读作一拍直达,都是本书的读法;第二透镜里的 ℵ₀ 纸带与固定周期回路是对照用的模型。画法:棱柱每圈 T 个整数;筛轮线圈每圈 30 个整数(k ≤ 3 时 Mk 整除 30,开放余数恰是整条辐条;k ≥ 4 时与 Mk 互素的整数仍画在 30 的辐条上,被 7、11 去掉的点变暗);游标球上点的高度是 2κ − 1,方位角是指数向量的素数相位,为画面选定,只有高度带数学含义;串行轨迹的半径随 log N 变化、绕圈数为画面选定;轨道的倾角、记忆槽与纸带的位置都是为画面选定的。页面的脚本只在有限个实例上核对。Readings and drawing conventions of this book: reading a residue rail of a fixed period as an exact replay every T beats, a deadlock with Schur innovation ΔISchur = 0; reading εself = 1/MΩ as the halting gate of an observer and Kmax as the cap on the registers of a lifetime; reading the ternion sphere [1 : 0 : 0 : 0] as the zero-slot q⁰ = 1; reading the unawakened high primes as a dark sector and the 8-slot sliding memory as the refresh that prevents deadlock; reading serial FRACTRAN as a low-rank winding power tower and the lemma register as a one-beat jump: all are readings of this book, and the ℵ₀ tape and the fixed-period loop of the second lens are models shown for contrast. Drawing: the prism holds T integers a turn; the coil of the wheel holds 30 a turn (for k ≤ 3, Mk divides 30 and the open residues are whole spokes; for k ≥ 4 the integers coprime to Mk still sit on the spokes of 30, and the points removed by 7 and 11 are dimmed); on the Vernier sphere the height of a point is 2κ − 1 and its azimuth a prime phase of its exponent vector, chosen for the picture, so only the height carries mathematics; the radius of the serial path follows log N and its number of turns is chosen for the picture; the tilts of the rings and the places of the memory slots and of the tape are chosen for the picture. The script checks finitely many instances only.
NUM——