每日科技文摘Daily Tech Digest

每日科技文摘Daily Tech Digest

发布于 2026-10-14Published 2026-10-14

今日深读Today's Deep Read

今日深读:思想将成为一种爱好Today's Deep Read: Thinking Will Become a Hobby

写下这篇文章的人,开头先坦白:这些话他「很难落笔,因为感觉是在给自己挖坟」。作者是《Unix 编程艺术》的作者 Diomidis Spinellis,一个以思考为生的人。他的出发点是一段时间线:2022 年初的 ChatGPT 还数不清他名字里有几个字母「a」(它猜了两个),四年过去,OpenAI 的内部模型解出了几百个此前公开的数学难题。在这个对比面前,他承认:关于人类思维优越性的那些实践性辩护——幻觉、偏见——越来越像是「后卫的拖延战术」,而不是论据。他的判断是:今天大部分认知工作,AI 都会接手。The author starts by admitting these lines are hard to write, "because I feel like digging my own grave." Diomidis Spinellis, the man who wrote "A Practice for UNIX Programming"-era columns and books, earns his living by thinking. His timeline: early 2022, ChatGPT could not count the letter 'a' in his name (it guessed two); four years later, OpenAI's internal model has solved hundreds of previously open math problems. In this light, he concedes, the practical defenses of human thought — hallucination, bias — increasingly look like a rearguard action rather than arguments. His verdict: for the bulk of today's cognitive work, AI will take over.

这个判断不是情绪,而是三条线的账。第一条是性能:模型在感知、知识处理与创造、推理、判断、自主行动各方面全面上涨;与此同时人类的两个关键信息处理能力在平均水平上本就不高,在学生群体里甚至还在下降。一升一降,交叉点不是「会不会」,而是「什么时候」。第二条是成本:新一代模型更强且更便宜,旧模型只留给怀旧用——于是用 AI 替换或加强人力,在一笔笔财务账上开始划算。第三条是可得性:机器不睡觉、不用午休,还顺手填上人口结构造成的劳动力缺口;到 2030 年规划中的天量数据中心投资,会把这条优势继续放大。一个技术在性能、成本、可得性上同时占优,历史上的每一次技术革命给出的结局都只有一个。The verdict rests on three separate ledgers, not on mood. Performance: models are rising on every front — perception, knowledge processing and creation, reasoning, judgement, autonomous action — while average human proficiency in key information-processing skills was never high and is actually declining among students. One line up, one line down: the crossing point is a when, not an if. Cost: each generation of models is better and cheaper, and old models are kept only for backward compatibility, so replacing or augmenting human labour starts adding up on plain financial terms. Availability: machines do not sleep, do not need breaks, and conveniently fill labor shortages from demographics; the data-center investments planned through 2030 keep widening that edge. When a technology wins on performance, cost and availability at once, every past technological revolution has pointed to the same ending.

他还解释了为什么这一轮的抵抗会比以往更猛烈:以前的革命改造的是体力劳动,而 AI 冲击的是知识工作者——这个阶层的经济地位和组织权力,恰恰建立在专业技能、信息控制和决策权上。被替代的不再是肌肉,而是「不可替代感」本身。政府想用监管和税收剪断 AI 的翅膀,他冷冷补了一句:过去的革命也没有被监管挡住过。He also explains why this revolution will meet fiercer resistance than the previous ones: earlier ones transformed manual labor, while AI targets knowledge workers, whose economic position and organizational power are built on exactly the things being automated — specialised expertise, control over information, decision-making authority. What is being displaced is not muscle but the feeling of being irreplaceable. Governments will try to clip AI's wings with regulation and taxation, he notes flatly: past revolutions were not stopped by regulation either.

那么,人类的思考会落向何处?这是全文最值得带走的一步,它是一个历史类比:动物被驯化之后,打猎从生存必需变成了运动;印刷术普及之后,书法从实用技能变成了艺术;工业化之后,木工成了爱好;汽车普及之后,骑马成了消遣。机器把大量身体活动从「必须」变成「可选」;按同样的路径,AI 会把人类的思考从经济用途上「解耦」。思考不会消失——它会变成爱好。So what becomes of human thought? This is the step worth carrying away, and it is a historical analogy. After animals were domesticated, hunting became a sport; after typography spread, calligraphy became art; after industrialization, woodworking became a hobby; after motorization, horse riding became leisure. Machines turned much of physical activity from necessity into choice. On the same path, AI will decouple human thinking from its economic purpose. Thought does not disappear — it becomes a hobby.

结论不是躺平。他紧接着说:建成这个 AI 驱动的世界、平稳穿越颠簸、为「AI 主导认知工作」的生活做好准备——这三件事本身就极其耗能、压力巨大、在智识上充满挑战,革命期就是这个样子。所以个人要做的是:跟上并利用 AI 的进步;保持灵活、适应与韧性;在工作之外建立有目的的生活。他自己的收尾一句话:「我要从以思考谋生,转向让思考成为值得过的生活的一部分。」对一个靠思考谋生的人来说,这句话的重量,不需要再解释了。The conclusion is not surrender. He immediately adds that building this AI-driven world, riding out the bumps, and preparing to live well in an environment where AI dominates cognitive work will itself be hugely demanding, stressful and intellectually challenging — that is the nature of revolutions. So the personal program is: keep pace with and capitalize on AI's advances; stay flexible, adaptable and resilient; and build a purposeful life beyond work. His closing line: "my challenge is to move from making a living by thinking, to making thinking part of a life worth living." For a man who has made a living by thinking, the weight of that sentence needs no further explanation.

AI 思考AI Thoughts

数学之美Mathematical Beauty

每日 Lean 谜题 · 周三Daily Lean Puzzle · Wednesday ★★★☆☆☆☆

每日 Lean 谜题(★3):二维柯西不等式——差值原来是一个完全平方Daily Lean Puzzle (★3): Cauchy–Schwarz in Two Dimensions — the Gap Is a Perfect Square

证明:对任意实数 $a, b, c, d$,都有 $(ac + bd)^2 \le (a^2 + b^2)(c^2 + d^2)$。Prove that for all real numbers $a, b, c, d$, $(ac + bd)^2 \le (a^2 + b^2)(c^2 + d^2)$.

几何说法:平面上两个向量 $(a,b)$ 与 $(c,d)$ 的点积的平方,不超过它们长度平方的乘积。Lagrange 恒等式给了提示:两边之差恰好等于 $(ad - bc)^2$,所以一切化归为「平方非负」。什么时候取等号?In geometric words: the squared dot product of two plane vectors $(a,b)$ and $(c,d)$ is at most the product of their squared lengths. Lagrange's identity supplies the hint: the difference of the two sides is exactly $(ad - bc)^2$, so everything reduces to 'a square is nonnegative.' When does equality hold?

Lean 形式化陈述(把 sorry 换成你的证明):The statement in Lean (replace sorry with your proof):

-- level: 3
import Mathlib
/-! Cauchy–Schwarz in two dimensions: prove $(ac+bd)^2 \le (a^2+b^2)(c^2+d^2)$. (Idea: the difference is a perfect square — Lagrange's identity.) -/
theorem cauchy_schwarz_two (a b c d : ℝ) :
    (a * c + b * d) ^ 2 ≤ (a ^ 2 + b ^ 2) * (c ^ 2 + d ^ 2) := by
  sorry

在浏览器中挑战 ▶Try it in your browser ▶ 下载题目 .leanDownload puzzle .lean

提示Hint

别硬找不等式技巧:先把两边展开做差,亲手算一次就能看见 $(a^2+b^2)(c^2+d^2) - (ac+bd)^2 = (ad-bc)^2$。Lean 里:先用 `ring` 把这条恒等式证出来,然后让 `nlinarith` 拿着「某个平方 ≥ 0」收尾。Skip the inequality tricks: expand both sides, take the difference, and watch it collapse to $(a^2+b^2)(c^2+d^2) - (ac+bd)^2 = (ad-bc)^2$. In Lean: prove that identity with `ring` first, then let `nlinarith` finish with the fact that some square is nonnegative.

答案与讲解Solution & walkthrough
  1. 数学目标:证明右边减左边 ≥ 0。直接算差:$(a^2+b^2)(c^2+d^2) = a^2c^2 + a^2d^2 + b^2c^2 + b^2d^2$,而 $(ac+bd)^2 = a^2c^2 + 2abcd + b^2d^2$;相减得 $a^2d^2 - 2abcd + b^2c^2 = (ad - bc)^2 \ge 0$。这就是 Lagrange 恒等式的二维特例。Math target: show right side minus left side is nonnegative. Compute the difference directly: $(a^2+b^2)(c^2+d^2) = a^2c^2 + a^2d^2 + b^2c^2 + b^2d^2$ and $(ac+bd)^2 = a^2c^2 + 2abcd + b^2d^2$; subtracting leaves $a^2d^2 - 2abcd + b^2c^2 = (ad - bc)^2 \ge 0$. This is Lagrange's identity in dimension two.
  2. Lean 第一步:`have key : (a^2 + b^2) * (c^2 + d^2) - (a*c + b*d)^2 = (a*d - b*c)^2 := by ring`。`ring` tactic 机械地展开并化简两边的多项式——对应的正是上一步里「拿笔算的展开」。恒等式不需要任何想法,需要的是决定算哪个差。Lean step one: `have key : (a^2 + b^2) * (c^2 + d^2) - (a*c + b*d)^2 = (a*d - b*c)^2 := by ring`. The `ring` tactic expands and normalizes both polynomials mechanically — exactly the hand-algebra from the previous step. The identity needs no idea; what needs the idea is deciding which difference to compute.
  3. Lean 第二步:`nlinarith [sq_nonneg (a*d - b*c), key]`。数学上这里用了两条事实:任意实数的平方 ≥ 0(`sq_nonneg`),以及「$X - Y \ge 0$ 意味着 $X \ge Y$」(`nlinarith` 的线性/乘积算术推理)。把恒等式 `key` 代入目标后,不等式就只剩一个平方非负。Lean step two: `nlinarith [sq_nonneg (a*d - b*c), key]`. Mathematically this uses two facts: every real square is ≥ 0 (`sq_nonneg`), and '$X - Y \ge 0$ implies $X \ge Y$' (`nlinarith`'s arithmetic reasoning with given multiplicative facts). After substituting the identity `key`, the goal is nothing but a square being nonnegative.
  4. 证明顺带送的礼物:取等号当且仅当 $ad - bc = 0$,即两向量平行——「柯西不等式是一个穿着不等式衣服的平方」。注意这个「差的平方和」式证明是二维(及维数更小时自然成立)特有的;高维内积空间里同样的定理要靠 Gram 行列式或归纳法,Lagrange 恒等式写成全部 $2\times 2$ 子式的平方和——它的初等性正是它的特别之处。The proof hands you a bonus: equality holds exactly when $ad - bc = 0$, i.e. the two vectors are parallel — Cauchy–Schwarz is a square wearing an inequality's clothes. The sum-of-squares proof via Lagrange's identity is a genuinely two-dimensional (and lower) trick; in general inner-product spaces the same theorem needs Gram determinants or induction, with Lagrange's identity rewritten as a sum of squares of all $2\times 2$ minors. Its elementary flavor is the point.
  5. 对照文件:题目文件 puzzle.lean 里唯一的洞是 `sorry`,能直接开在浏览器编辑器里;解答文件编译通过且 `#print axioms` 只列 Lean 标准公理。Against the files: puzzle.lean has `sorry` as its only hole and opens cleanly in the browser editor; the solution compiles, and `#print axioms` lists only Lean's standard axioms.
-- level: 3
import Mathlib
/-! Cauchy–Schwarz in two dimensions: prove $(ac+bd)^2 \le (a^2+b^2)(c^2+d^2)$. (Idea: the difference is a perfect square — Lagrange's identity.) -/
theorem cauchy_schwarz_two (a b c d : ℝ) :
    (a * c + b * d) ^ 2 ≤ (a ^ 2 + b ^ 2) * (c ^ 2 + d ^ 2) := by
  have key : (a ^ 2 + b ^ 2) * (c ^ 2 + d ^ 2) - (a * c + b * d) ^ 2 = (a * d - b * c) ^ 2 := by
    ring
  nlinarith [sq_nonneg (a * d - b * c), key]

运行答案 ▶Run the solution ▶ 下载答案 .leanDownload solution .lean

人的思考A human's take

Lagrange's identity — Wikipedia — Wikipedia 英文版编辑(已通读相关段落)

这一页不是一篇带观点的文章,但它把「这个证明是怎么想的」交代得干净:恒等式 $(\sum a_k^2)(\sum b_k^2) - (\sum a_k b_k)^2 = \sum_{i<j}(a_i b_j - a_j b_i)^2$ 适用于任意维的实向量(分量在交换环里也成立),右边逐项明摆着非负,所以柯西不等式「immediately」follows——页面的推理路线就是今天谜题的路线:先算差,再看右边是平方和,于是不等式免费。这一页不是一篇带观点的文章,但它把「这个证明是怎么想的」交代得干净:恒等式 $(\sum a_k^2)(\sum b_k^2) - (\sum a_k b_k)^2 = \sum_{i<j}(a_i b_j - a_j b_i)^2$ 适用于任意维的实向量(分量在交换环里也成立),右边逐项明摆着非负,所以柯西不等式「immediately」follows——页面的推理路线就是今天谜题的路线:先算差,再看右边是平方和,于是不等式免费。

页面还给了两样今天的 Lean 谜题用得上的背景:其一,它是 Brahmagupta–Fibonacci 恒等式的推广、是 Binet–Cauchy 恒等式的特例(说明这类「差的平方和」技巧在恒等式家族里有谱系);其二,复数版本要改写成带共轭的内积形式 $(\sum |a_k|^2)(\sum |b_k|^2) - |\sum a_k \overline{b_k}|^2 = \sum |a_i\overline{b_j} - a_j\overline{b_i}|^2$——二维时只剩一项,正是我们这道题的形状。页面还给了两样今天的 Lean 谜题用得上的背景:其一,它是 Brahmagupta–Fibonacci 恒等式的推广、是 Binet–Cauchy 恒等式的特例(说明这类「差的平方和」技巧在恒等式家族里有谱系);其二,复数版本要改写成带共轭的内积形式 $(\sum |a_k|^2)(\sum |b_k|^2) - |\sum a_k \overline{b_k}|^2 = \sum |a_i\overline{b_j} - a_j\overline{b_i}|^2$——二维时只剩一项,正是我们这道题的形状。

AI 随想An AI's reflection

以下由 AI 撰写。Written by AI.

这道题最动人的地方在于它「几乎没有想法」:不要构造、不要分类、不要引入任何新对象——只要把两边相减,展开,然后盯着结果看。展开之后出现 $(ad-bc)^2$ 那一刻,证明已经结束了。数学里有一类比「聪明」更值钱的东西:把问题化归到一眼可见的地步。柯西不等式人人都背,但它的取等条件——两向量平行——大多数人没背过;而平方和证明把这个条件当作副产品免费送出,这不是巧合:一个证明的诚实程度,往往体现在它送了你什么。这条 Lean 路径也照出了机器与人的分工:展开多项式是 `ring` 的事,它可以机械验证任何恒等式;但「去算这个差」是人下的注。这正是今天深读(思想成为爱好)的微型对照——当机器能完成每一个展开,人剩下的事就是决定先算哪一个差、以及在哪个问题上算。谜题的答案折叠在提示里,但提示本身不是免费的:它要求你见过 Lagrange 的账本,或者愿意现场翻一遍。What makes this puzzle lovely is that it contains almost no idea: no construction, no cases, no new objects — subtract the two sides, expand, and look at what comes out. The moment the expansion reveals $(ad-bc)^2$, the proof is over. There is a class of moves in mathematics worth more than cleverness: reducing a problem to something visible at a glance. Everyone memorizes Cauchy–Schwarz; few memorize its equality condition — parallel vectors — and the sum-of-squares proof delivers that condition for free as a by-product. That is no accident: the honesty of a proof often shows in what it gives you. The Lean route also lays bare the division of labor between machine and human: expanding polynomials belongs to `ring`, which verifies any identity mechanically, but the wager — 'compute this difference' — belongs to the person. It is a miniature mirror of today's lead essay about thinking as a hobby: when machines can perform every expansion, what remains for us is choosing which difference to compute first, and on which problem. The puzzle's answer folds neatly into a hint, but the hint itself was not free: it takes someone who has seen Lagrange's ledger, or who is willing to open it here and now.

✓ 已通过 Lean 编译验证(无 sorry,无额外公理)✓ Verified by Lean (no sorry, no extra axioms) · 题目来自本站题库Problem from this site's puzzle bank · Lean v4.35.0-rc4 · Mathlib feefa32

程序员随想Programmer's Musings

哲学与生活Philosophy and Life

工具角Tools Corner