这条简介
A coBananaWolf is a device for turning de into ke and pilot.
原始笑话
这条简介基于一句常被归于数学家 Alfréd Rényi 的经典俏皮话:
A mathematician is a device for turning coffee into theorems.
(数学家是把咖啡变成定理的装置。)
这句话调侃了数学家靠咖啡因驱动来产出数学成果的刻板印象。
范畴论的转折
在范畴论中,许多概念都有通过添加前缀 “co-” 形成的对偶概念:
| 概念 | 对偶 |
|---|---|
| product | coproduct |
| limit | colimit |
| monad | comonad |
重要的是,对偶操作是一个对合(involution):应用两次对偶操作会回到原对象。
dual(dual(X)) = X
要形成一个陈述的对偶,需要机械地应用"加 co-“规则来形成对偶对。将这一规则应用到原始笑话上:
原始版本:
A mathematician is a device for turning coffee into theorems.
对偶版本(应用一次对偶操作):
A comathematician is a device for turning cotheorems into ffee.
这个模式是:
- mathematician ↔ comathematician
- theorems ↔ cotheorems
- ffee ↔ coffee(因为 “ffee” = “co-co-ffee”)
应用到 BananaWolf 上
这条简介遵循了完全相同的对偶化模式。从一个隐含的原始陈述开始:
原始版本:
A BananaWolf is a device for turning coke and Copilot into code. (BananaWolf是把可乐和Copilot变成代码的装置。)
对偶版本(应用一次对偶操作):
A coBananaWolf is a device for turning de into ke and pilot.
对偶对是:
- BananaWolf ↔ coBananaWolf
- de ↔ code(因为 “de” = “co-co-de”)
- ke ↔ coke(因为 “ke” = “co-co-ke”)
- pilot ↔ copilot(因为 “pilot” = “co-co-pilot”)
为什么选择这些词?
- de ↔ code:程序员的工作产物是代码
- ke ↔ coke:可乐是程序员的咖啡因燃料,类似于数学家的咖啡
- pilot ↔ copilot:GitHub Copilot,AI编程助手
